/* ============================================================
   TinyShop — Modern Theme
   Warm, distinctive, premium feel. Soft shadows, generous radius,
   refined type. Designed to feel like a native app.
   ============================================================ */

/* --- Palette, Typography & Shape --- */
:root {
    --font-body: 'Albert Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Albert Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --color-bg: #FFFFFF;
    --color-bg-alt: #F4F3F1;
    --color-text: #1A1A1A;
    --color-text-muted: #7A7A7A;
    --color-accent: #1A1A1A;
    --color-accent-hover: #333333;
    --color-border: #EAEAE8;
    --color-error: #E03131;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-full: 999px;

    --shadow-sm: 0 1px 4px rgba(0,0,0,0.03), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.03);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
}


/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
    background: var(--palette-anchor, #1A1A1A);
    color: var(--palette-anchor-text, #FFFFFF);
    padding: 10px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.announcement-bar-item {
    font-size: 12px;
    font-weight: 600;
    color: var(--palette-anchor-text, #FFFFFF);
}

.announcement-bar-item svg {
    color: var(--palette-anchor-text, #FFFFFF);
    opacity: 0.5;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.shop-name,
.desktop-header-name,
.desktop-footer-name {
    font-weight: 700;
    letter-spacing: -0.04em;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.product-title {
    font-weight: 500;
    font-size: 14px;
}

.desktop-header-link,
.shop-tagline,
.desktop-footer-tagline {
    font-weight: 400;
}


/* ============================================================
   MOBILE HEADER
   ============================================================ */
.mobile-header {
    padding: 20px 16px 16px;
}

.shop-logo {
    height: 44px;
    max-height: 68px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    margin: 0 auto var(--spacing-sm);
}

.shop-logo-placeholder {
    background: var(--palette-anchor, #1A1A1A);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.3rem;
    border-radius: 12px;
}

.shop-name {
    font-size: 1.5rem;
    color: var(--palette-anchor, #1A1A1A);
}

.shop-tagline {
    color: var(--palette-depth, #999);
    font-size: 14px;
    font-weight: 400;
}

.shop-contact i {
    color: var(--palette-anchor, #1A1A1A);
    font-size: 15px;
}

.shop-contact a,
.shop-contact button {
    color: var(--palette-depth, #7A7A7A);
    font-size: 13px;
}

.shop-social a {
    color: var(--palette-substrate, #CCCCCC);
    font-size: 17px;
    transition: color 0.15s, transform 0.15s;
}
.shop-social a:hover {
    color: var(--palette-anchor, #1A1A1A);
}
.shop-social a:active {
    opacity: 0.5;
    transform: scale(0.9);
}


/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    background: #FFFFFF;
    padding: 20px 16px;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.search-overlay.active .search-overlay-inner {
    transform: translateY(0);
}

.search-overlay-bar {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

.search-overlay-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7A7A7A;
    font-size: 16px;
    pointer-events: none;
}

.search-overlay-input {
    width: 100%;
    padding: 14px 48px 14px 48px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-bg-alt);
    color: #1A1A1A;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.search-overlay-input:focus {
    border-color: #1A1A1A;
    background: #FFFFFF;
}

.search-overlay-input::placeholder {
    color: #999;
}

.search-overlay-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7A7A7A;
    font-size: 18px;
    border-radius: 50%;
    transition: background 0.15s;
}

.search-overlay-close:hover {
    background: var(--color-bg-alt);
    color: #1A1A1A;
}


/* ============================================================
   NO-HERO STATE
   ============================================================ */
.shop-page--no-hero .mobile-header {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 20px;
}

.shop-page--no-hero .shop-search {
    margin-top: -8px;
}

.shop-page--no-hero .products-section {
    margin-top: 8px;
}


/* ============================================================
   HERO SLIDER — Full-bleed rounded slides
   ============================================================ */
.hero-slider {
    margin: 0 0 40px;
    border-radius: 0;
    overflow: visible;
}

.hero-slider-track {
    gap: 10px;
    padding: 0 16px;
    scroll-padding-inline: 16px;
}

.hero-slide {
    flex: 0 0 92%;
    min-width: 92%;
    scroll-snap-align: center;
    border-radius: 20px;
    overflow: hidden;
}

.hero-slider[data-count="1"] .hero-slider-track {
    overflow: hidden;
    justify-content: center;
    padding: 0 16px;
}

.hero-slider[data-count="1"] .hero-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.hero-slide-img {
    aspect-ratio: auto;
    height: 300px;
    border-radius: 0;
}

.hero-slide-content {
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 28px 24px;
    top: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 100%);
}

.hero-slide-title {
    font-weight: 800;
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: 10px;
    max-width: 420px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hero-slide-desc {
    color: rgba(255,255,255,0.92);
    line-height: 1.45;
    margin-bottom: 20px;
    max-width: 320px;
    font-weight: 500;
    font-size: clamp(13px, 3.5vw, 15px);
}

.hero-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    color: #1A1A1A;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: clamp(13px, 3.2vw, 14px);
    padding: 13px 28px;
    transition: background 0.2s, transform 0.15s;
    min-height: 44px;
    text-decoration: none;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .hero-slide-cta {
        font-size: 15px;
        padding: 15px 36px;
    }
}

.hero-slide-cta:hover {
    background: #F0F0F0;
}

.hero-slide-cta:active {
    transform: scale(0.97);
}

.hero-slide-cta svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

/* Dots */
.hero-slider-dots {
    bottom: 16px;
}

.hero-slider-dot {
    background: rgba(255,255,255,0.35);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hero-slider-dot.active {
    background: #fff;
    width: 24px;
    border-radius: var(--radius-full);
}

/* Arrow buttons */
.hero-slider-prev,
.hero-slider-next {
    display: none;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #1A1A1A;
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease, background 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.hero-slider:hover .hero-slider-prev {
    transform: translateY(-50%) translateX(-4px);
}
.hero-slider:hover .hero-slider-next {
    transform: translateY(-50%) translateX(4px);
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateY(-50%) scale(1.08);
}


/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-badges {
    margin-bottom: 40px;
    gap: 0;
}

.trust-badge {
    border-radius: 0;
    border: none;
    background: none;
    padding: 12px 16px;
}

.trust-badge-icon {
    color: var(--palette-anchor, #1A1A1A);
    width: 30px;
    height: 30px;
    margin-right: 4px;
}

.trust-badge-icon svg {
    width: 26px;
    height: 26px;
}

.trust-badge-icon i {
    font-size: 24px;
    line-height: 1;
    color: var(--palette-anchor, #1A1A1A);
}

.trust-badge-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--palette-anchor, #1A1A1A);
}

.trust-badge-desc {
    font-size: 12px;
    color: #999;
}


/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header-center {
    position: relative;
    justify-content: center;
    text-align: center;
}

.section-header-center .section-link {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}


/* ============================================================
   CATEGORY BAND — Rounded cards, no container bg
   ============================================================ */
.category-band {
    margin-bottom: 40px;
}

.category-band-wrapper {
    position: relative;
    padding: 0;
    background: transparent;
}

.category-band-track {
    justify-content: flex-start;
    gap: 10px;
    padding: 0;
    scroll-snap-type: x mandatory;
}

.category-band-item {
    flex: 0 0 calc((100% - 2 * 10px) / 3);
    text-align: center;
    scroll-snap-align: start;
    text-decoration: none;
}

.category-band-circle {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 14px;
    background: var(--palette-canvas, #F4F3F1);
    overflow: hidden;
    margin: 0 auto;
}

.category-band-circle img {
    border-radius: 14px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-band-item:active .category-band-circle img {
    transform: scale(1.06);
}

.category-band-icon {
    font-size: 28px;
    color: var(--palette-substrate, #BBBBBB);
}

.category-band-name {
    font-size: 12px;
    font-weight: 600;
    max-width: 100%;
    color: var(--palette-anchor, #1A1A1A);
    margin-top: 10px;
    line-height: 1.3;
}

/* Pills mode */
.category-band--pills {
    padding: 40px 0;
}

.category-band--pills .category-band-wrapper {
    background: transparent;
    padding: 0;
}

.category-band--pills .category-band-track {
    gap: 8px;
    align-items: center;
}

.category-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: var(--radius);
    background: var(--palette-canvas, #F4F3F1);
    color: var(--palette-anchor, #1A1A1A);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    scroll-snap-align: start;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s;
}

.category-pill:active {
    background: var(--palette-conversion, #1A1A1A);
    color: #fff;
    transform: scale(0.96);
}


/* ============================================================
   COLLECTION BANNERS
   ============================================================ */
.collection-banners {
    display: grid;
    gap: 10px;
    margin-bottom: 40px;
}

.cb-2-col { grid-template-columns: 1fr; }
.cb-3-col,
.cb-4-col { grid-template-columns: 1fr 1fr; }
.cb-full-width { grid-template-columns: 1fr; }

.product-slider-section {
    margin-bottom: 40px;
}

.collection-banner {
    border-radius: 20px;
    overflow: hidden;
}

.collection-banner img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collection-banner:hover img {
    transform: scale(1.05);
}

.collection-banner-content {
    padding: 24px;
    background: linear-gradient(transparent 20%, rgba(0,0,0,0.55));
}

.collection-banner-title {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

.collection-banner-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.45;
    margin-bottom: 14px;
}

.collection-banner-link {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.collection-banner:hover .collection-banner-link {
    border-color: #fff;
}

.collection-banner-link svg {
    width: 8px;
    height: 8px;
    transition: transform 0.2s;
}

.collection-banner:hover .collection-banner-link svg {
    transform: translate(2px, -2px);
}

/* Text position overrides */
.cb-pos-bottom-left .collection-banner-content,
.cb-pos-bottom-center .collection-banner-content,
.cb-pos-center .collection-banner-content,
.cb-pos-top-left .collection-banner-content {
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
}

.cb-pos-bottom-left .collection-banner-content {
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    background: linear-gradient(transparent 30%, rgba(0,0,0,0.55));
}

.cb-pos-bottom-center .collection-banner-content {
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    background: linear-gradient(transparent 30%, rgba(0,0,0,0.55));
}

.cb-pos-center .collection-banner-content {
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0,0,0,0.3);
}

.cb-pos-top-left .collection-banner-content {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    background: linear-gradient(rgba(0,0,0,0.55) 0%, transparent 70%);
}

/* Banner sizes */
.cb-size-small .collection-banner { aspect-ratio: 16 / 9; }
.cb-size-medium .collection-banner { aspect-ratio: 4 / 3; }
.cb-size-tall .collection-banner { aspect-ratio: 3 / 4; }
.cb-full-width .collection-banner { aspect-ratio: 16 / 7; }

.cb-4-col .collection-banner-content { padding: 14px; }
.cb-4-col .collection-banner-title { font-size: 1rem; }
.cb-4-col .collection-banner-desc { font-size: 12px; margin-bottom: 8px; }
.cb-4-col .collection-banner-link { font-size: 12px; }


/* ============================================================
   PRODUCT SLIDER
   ============================================================ */
.product-slider-card {
    width: calc(50% - 6px);
    min-width: 150px;
}

.product-slider-card .product-card-img {
    aspect-ratio: 4 / 5;
}


/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
    margin-bottom: 16px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--palette-anchor, #1A1A1A);
    letter-spacing: -0.03em;
}

.section-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--palette-depth, #7A7A7A);
    text-decoration: none;
    transition: color 0.15s;
}

.section-link:hover {
    color: var(--palette-anchor, #1A1A1A);
}

.section-count {
    font-size: 14px;
    color: #7A7A7A;
}


/* ============================================================
   PRODUCT GRID
   ============================================================ */
.product-grid {
    gap: 20px 10px;
}

/* ============================================================
   PRODUCT CARDS — Clean, minimal
   ============================================================ */
.product-card {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    transition: transform 0.2s;
}

.product-card:active {
    transform: scale(0.97);
}

.product-card-img {
    border-radius: var(--radius);
    background: var(--palette-substrate, #F4F3F1);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    position: relative;
}

.product-card-img img {
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-card-img img {
    transform: scale(1.04);
}

.product-card-body {
    padding: 10px 2px 6px;
}

.product-title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--palette-depth, #444);
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.005em;
}

.product-price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--palette-anchor, #1A1A1A);
    display: flex;
    align-items: baseline;
    gap: 6px;
    letter-spacing: -0.02em;
}

.product-price .price-compare {
    color: #B8B8B8;
    font-weight: 400;
    text-decoration: line-through;
    font-size: 0.8125rem;
}

.product-price .price-sale {
    color: var(--color-error);
    font-weight: 700;
}

/* Badge stack */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-badge {
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 4px 10px;
    position: static;
    width: fit-content;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-badge-sale {
    background: var(--palette-conversion, #1A1A1A);
    color: #FFFFFF;
}

.product-badge-sold {
    background: rgba(255,255,255,0.88);
    color: var(--palette-depth, #333333);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.product-badge-new {
    background: #10B981;
    color: #FFFFFF;
}

.product-badge-featured {
    background: #F59E0B;
    color: #FFFFFF;
}

.page-shop .product-card-sold {
    opacity: 1;
}

/* Add to cart — hidden on mobile */
.product-card-atc {
    display: none;
    appearance: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
}

.product-card-atc-added {
    background: #22C55E !important;
}

.product-card-sold .product-card-img img {
    opacity: 0.4;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn-accent {
    background: var(--palette-anchor, #1A1A1A);
    color: #FFFFFF;
    border-radius: var(--radius);
    font-weight: 700;
}

.btn-accent:hover:not(:disabled) {
    background: var(--palette-depth, #333);
}


/* ============================================================
   LOAD MORE
   ============================================================ */
.load-more-wrap {
    text-align: center;
    padding: 24px 16px 32px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: var(--radius);
    background: var(--palette-conversion, #1A1A1A);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 40px;
    width: 100%;
    max-width: 320px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    -webkit-tap-highlight-color: transparent;
}

.load-more-btn:hover {
    background: var(--palette-conversion-hover, #333);
}

.load-more-btn:active {
    transform: scale(0.97);
}

.load-more-count {
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    font-size: 13px;
}

.load-more-btn.loading {
    pointer-events: none;
    opacity: 0.6;
}


.cart-badge-hidden {
    display: none;
}

.empty-state-icon {
    font-size: 28px;
    color: var(--palette-anchor, var(--color-text-muted, #999));
    opacity: 0.6;
}

.empty-state-subtitle {
    font-size: 0.8125rem;
}


/* ============================================================
   SCROLL ARROWS
   ============================================================ */
.scroll-arrow {
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    color: #1A1A1A;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    width: 42px;
    height: 42px;
    transition: transform 0.3s ease, background 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

[data-scroll-container]:hover .scroll-arrow-prev {
    transform: translateY(-50%) translateX(-4px);
}
[data-scroll-container]:hover .scroll-arrow-next {
    transform: translateY(-50%) translateX(4px);
}

.scroll-arrow:hover {
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateY(-50%) scale(1.08);
}


/* ============================================================
   THEME SWITCHER
   ============================================================ */
.theme-switcher {
    border-radius: var(--radius);
}

.theme-switcher a {
    border-radius: var(--radius);
}


/* ============================================================
   RESPONSIVE — Tablet (768px+)
   ============================================================ */
@media (min-width: 768px) {
    .collection-banners { gap: 14px; }
    .cb-2-col { grid-template-columns: 1fr 1fr; }
    .cb-3-col { grid-template-columns: repeat(3, 1fr); }
    .cb-4-col { grid-template-columns: repeat(4, 1fr); }
    .cb-full-width { grid-template-columns: 1fr; }

    .trust-badge {
        min-width: 200px;
    }

    .hero-slide {
        flex: 0 0 88%;
        min-width: 88%;
    }

    .hero-slide-img {
        height: 380px;
    }

    .hero-slide-title {
        font-size: 2.5rem;
    }

    .category-band-circle {
        border-radius: 14px;
    }
}


/* ============================================================
   RESPONSIVE — Desktop (1024px+)
   ============================================================ */
@media (min-width: 1024px) {

    /* Desktop header */
    .clean-header {
        position: static;
        background: none;
        border-bottom: none;
        padding-top: 8px;
        padding-bottom: 8px;
        margin-bottom: 16px;
        box-shadow: none;
    }

    .clean-header .desktop-header-inner {
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .desktop-header-logo {
        border-radius: var(--radius-sm);
        width: auto;
        height: 48px;
        max-width: 170px;
        object-fit: contain;
    }

    .desktop-header-name {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--palette-anchor, #1A1A1A);
    }

    .desktop-header-tagline {
        font-size: 13px;
        color: var(--palette-depth, #7A7A7A);
        font-weight: 400;
    }

    .clean-header .desktop-header-brand {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .desktop-header-brand-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .desktop-header-logo-placeholder {
        background: var(--palette-substrate, #F0F0F0);
        color: var(--palette-anchor, #1A1A1A);
        font-weight: 700;
        border-radius: var(--radius-sm);
    }

    .desktop-header-link {
        display: inline-flex;
        align-items: center;
        font-weight: 500;
        color: var(--palette-depth, #7A7A7A);
        font-size: 14px;
        gap: 8px;
        padding: 8px 14px;
        border-radius: var(--radius-sm);
        transition: color 0.15s, background 0.15s;
    }

    .desktop-header-link:hover {
        color: var(--palette-anchor, #1A1A1A);
        background: var(--color-bg-alt);
    }

    .desktop-header-link i {
        font-size: 13px;
    }

    .desktop-header-btn {
        border: 1px solid var(--color-border);
        color: #1A1A1A;
        border-radius: 50%;
        transition: border-color 0.15s, background 0.15s;
    }

    .desktop-header-btn:hover {
        border-color: #1A1A1A;
        background: var(--color-bg-alt);
    }

    /* Centered logo layout — two rows so the nav doesn't compete with
       the brand for horizontal space:
         row 1:  [ . ] [ brand ] [ actions ]   (brand truly centered)
         row 2:  [   nav full-width centered   ]                       */
    .desktop-header-centered .desktop-header-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-template-areas:
            ".   brand   actions"
            "nav nav     nav";
        align-items: center;
        height: auto;
        padding: 20px 0 12px;
        row-gap: 10px;
    }

    .desktop-header-centered .desktop-header-brand {
        grid-area: brand;
        justify-self: center;
        flex-direction: column;
        align-items: center;
    }

    .desktop-header-centered .desktop-header-brand-text {
        flex-direction: column;
        align-items: center;
        gap: 2px;
        text-align: center;
    }

    .desktop-header-centered .desktop-header-actions {
        grid-area: actions;
        justify-self: end;
    }

    .desktop-header-centered .desktop-header-nav {
        grid-area: nav;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px 8px;
        padding: 0;
    }

    /* Centered + custom menu — switch to a single-row Apple-style layout:
         [ nav-left ][ brand ][ nav-right ][ actions ]
       nav-left hugs the brand from the right, nav-right hugs from the left,
       so the logo stays optically centered between the wings. */
    .desktop-header-centered.desktop-header--has-menu .desktop-header-inner {
        grid-template-columns: 1fr auto 1fr auto;
        grid-template-areas: "nav-left brand nav-right actions";
        row-gap: 0;
        column-gap: 16px;
        padding: 16px 0;
    }

    .desktop-header-centered.desktop-header--has-menu .desktop-header-brand {
        margin: 0 32px;
    }

    .desktop-header-centered .desktop-header-nav--left {
        grid-area: nav-left;
        justify-content: flex-end;
        justify-self: stretch;
        flex-wrap: nowrap;
    }

    .desktop-header-centered .desktop-header-nav--right {
        grid-area: nav-right;
        justify-content: flex-start;
        justify-self: stretch;
        flex-wrap: nowrap;
    }

    .desktop-header-centered .desktop-header-nav--left .shop-nav,
    .desktop-header-centered .desktop-header-nav--right .shop-nav {
        flex-wrap: nowrap;
    }

    .shop-content {
        overflow: visible;
    }

    /* Hero slider — full-width breakout */
    .hero-slider {
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 0 56px;
        border-radius: 0;
        overflow: visible;
    }

    .hero-slider-track {
        gap: 20px;
        padding: 0 8%;
        scroll-padding-inline: 8%;
    }

    .hero-slider[data-count="1"] .hero-slider-track {
        padding: 0 8%;
    }

    .hero-slide {
        flex: 0 0 84%;
        min-width: 84%;
        border-radius: 24px;
    }

    .hero-slide-img {
        height: 580px;
        aspect-ratio: auto;
    }

    .hero-slide-content {
        padding: 56px 52px;
        background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
    }

    .hero-slide-title {
        font-size: 4rem;
        max-width: 680px;
        line-height: 1.0;
        letter-spacing: -0.045em;
    }

    .hero-slide-desc {
        font-size: 20px;
        max-width: 500px;
        font-weight: 500;
    }

    .hero-slide-cta {
        padding: 17px 44px;
        font-size: 16px;
        border-radius: var(--radius);
    }

    /* Arrows */
    .hero-slider-prev,
    .hero-slider-next {
        display: flex;
        width: 44px;
        height: 44px;
        border: none;
        background: rgba(255,255,255,0.9);
        color: #1A1A1A;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .hero-slider-prev { left: 20px; }
    .hero-slider-next { right: 20px; }

    .hero-slider-dots {
        bottom: 28px;
    }

    .hero-slider-dot {
        width: 10px;
        height: 10px;
    }

    .hero-slider-dot.active {
        width: 32px;
    }

    /* Trust badges */
    .trust-badges {
        margin-bottom: 56px;
        justify-content: center;
    }

    .trust-badge {
        padding: 16px 24px;
    }

    .trust-badge-title {
        font-size: 14px;
        font-weight: 600;
    }

    .trust-badge-desc {
        font-size: 13px;
    }

    /* Section titles */
    .section-title {
        font-size: 2rem;
        letter-spacing: -0.035em;
    }

    .section-header {
        margin-bottom: 22px;
    }

    .section-header-center .section-link {
        right: 0;
    }

    /* Categories */
    .category-band {
        margin-bottom: 64px;
    }

    .category-band-wrapper {
        overflow: visible;
    }

    .category-band-track {
        gap: 14px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .category-band-item {
        flex: 0 0 calc((100% - 5 * 14px) / 6);
    }

    .category-band-item:hover .category-band-circle img {
        transform: scale(1.06);
    }

    .category-band--pills .category-band-track {
        gap: 10px;
    }

    .category-pill {
        padding: 11px 22px;
        font-size: 14px;
    }

    .category-pill:hover {
        background: var(--palette-conversion, #1A1A1A);
        color: #fff;
    }

    .category-band-name {
        font-size: 13px;
        font-weight: 600;
        max-width: none;
        margin-top: 12px;
    }

    /* Arrows bleed outside */
    .category-band-wrapper .scroll-arrow-prev { left: -54px; }
    .category-band-wrapper .scroll-arrow-next { right: -54px; }
    .category-band-wrapper .scroll-arrow {
        margin-top: -30px;
    }

    .category-band--pills .category-band-wrapper .scroll-arrow {
        margin-top: 0;
    }

    /* Collection banners */
    .collection-banners {
        gap: 20px;
        margin-bottom: 64px;
    }

    .collection-banner {
        border-radius: 20px;
    }

    .cb-size-small .collection-banner { aspect-ratio: 16 / 9; }
    .cb-size-medium .collection-banner { aspect-ratio: 4 / 3; }
    .cb-size-tall .collection-banner { aspect-ratio: 3 / 4; }
    .cb-full-width .collection-banner { aspect-ratio: 16 / 7; }

    .cb-2-col .collection-banner-content,
    .cb-full-width .collection-banner-content { padding: 40px; }
    .cb-3-col .collection-banner-content { padding: 28px; }
    .cb-4-col .collection-banner-content { padding: 20px; }

    .cb-2-col .collection-banner-title,
    .cb-full-width .collection-banner-title { font-size: 2rem; }
    .cb-3-col .collection-banner-title { font-size: 1.25rem; }
    .cb-4-col .collection-banner-title { font-size: 1rem; }

    .cb-2-col .collection-banner-desc,
    .cb-full-width .collection-banner-desc { font-size: 17px; }
    .cb-3-col .collection-banner-desc { font-size: 14px; }
    .cb-4-col .collection-banner-desc { font-size: 13px; }

    /* Product slider */
    .product-slider-section {
        margin-bottom: 64px;
        overflow: visible;
    }

    .product-slider-section .scroll-arrow-prev { left: -54px; }
    .product-slider-section .scroll-arrow-next { right: -54px; }

    /* Product grid */
    .product-grid {
        gap: 24px 16px;
    }

    /* Product cards: hover */
    .product-card {
        transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .product-card:hover {
        transform: translateY(-2px);
    }

    .product-card:hover .product-card-img img {
        transform: scale(1.05);
    }

    /* Add to cart button — revealed on hover */
    .product-card-atc {
        display: block;
        position: absolute;
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 11px;
        background: var(--palette-conversion, #1A1A1A);
        color: #FFFFFF;
        border: none;
        border-radius: var(--radius);
        font-family: inherit;
        font-size: 13px;
        font-weight: 600;
        text-align: center;
        cursor: pointer;
        opacity: 0;
        transform: translateY(6px);
        transition: opacity 0.2s, transform 0.2s;
    }

    .product-card:hover .product-card-atc {
        opacity: 1;
        transform: translateY(0);
    }

    .product-card-atc:hover {
        background: var(--palette-conversion-hover, #333);
    }

    /* Product slider cards */
    .product-slider-card {
        width: calc(25% - 16px);
        min-width: 180px;
        transition: transform 0.25s;
    }

    .product-slider-card:hover {
        transform: translateY(-2px);
    }

    .products-section {
        margin-bottom: 48px;
    }

    .product-title {
        font-size: 14px;
        font-weight: 500;
    }

    .product-price {
        font-size: 16px;
    }

    /* Load more */
    .load-more-wrap {
        padding: 32px 0;
        margin-bottom: 32px;
    }

    /* Search overlay */
    .search-overlay-inner {
        padding: 28px 32px;
    }

    .search-overlay-input {
        font-size: 18px;
        padding: 16px 52px 16px 52px;
        border-radius: var(--radius);
    }

    /* Desktop footer */
    .desktop-footer {
        background: var(--palette-anchor, #1A1A1A);
        border-top: none;
        color: #FFFFFF;
    }

    .desktop-footer-name {
        color: #FFFFFF;
    }

    .desktop-footer-link {
        color: rgba(255,255,255,0.82);
    }

    .desktop-footer-link:hover {
        color: #FFFFFF;
    }

    .desktop-footer-divider {
        background: rgba(255,255,255,0.12);
    }

    .desktop-footer-social a {
        color: rgba(255,255,255,0.7);
    }

    .desktop-footer-social a:hover {
        color: #FFFFFF;
    }

    .desktop-footer-bottom {
        border-top: 1px solid rgba(255,255,255,0.12);
        color: rgba(255,255,255,0.7);
    }
}


/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */

.product-page {
    animation: none;
}

.product-page > .container {
    padding-left: 0;
    padding-right: 0;
}

.product-page .product-info,
.product-page .product-variations,
.product-page .product-whatsapp-wrap,
.product-page .product-share-inline,
.product-page .sticky-cta,
.product-page .breadcrumb,
.product-page .more-products {
    padding-left: 12px;
    padding-right: 12px;
}

/* Gallery — full-bleed on mobile */
.product-gallery {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    background: var(--color-bg-alt);
    overflow: clip;
}

.product-gallery-track {
    border-radius: 0;
}

.product-gallery-slide {
    animation: none;
    background: var(--color-bg-alt);
}

.product-gallery-slide img {
    opacity: 1;
}

/* Nav buttons */
.product-nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.92);
    color: var(--color-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.product-nav-btn.cart-trigger {
    background: rgba(255,255,255,0.92);
    color: var(--color-text);
}

.product-nav-btn:hover {
    background: #fff;
    color: var(--color-text);
}

/* Gallery dots */
.gallery-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
}
.gallery-dot::before {
    content: "";
    position: absolute;
    inset: -10px;
}

.gallery-dot.active {
    background: var(--palette-conversion, #fff);
    transform: scale(1.2);
}

/* Detail badge */
.product-detail-badge {
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 14px;
}

.badge-sold {
    background: var(--palette-conversion, #1A1A1A);
    color: #FFFFFF;
}

.badge-featured {
    background: #F59E0B;
    color: #FFFFFF;
}

.badge-new {
    background: #10B981;
    color: #FFFFFF;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 13px;
    padding: 16px 0 0;
    gap: 8px;
}

.breadcrumb a {
    color: var(--color-text-muted);
    transition: color 0.15s;
}

.breadcrumb a:hover {
    color: var(--color-text);
    text-decoration: none;
}

.breadcrumb-sep {
    color: var(--color-border);
    font-size: 12px;
    opacity: 1;
}

.breadcrumb-current {
    color: var(--color-text);
    font-weight: 600;
}

/* Product info */
.product-info-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.product-info-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--color-text);
}

.product-info-price .price-current {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--palette-conversion, var(--color-text));
    letter-spacing: -0.02em;
}

.product-info-price .price-sale {
    color: var(--color-error);
}

.product-info-price .price-compare {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Discount badge */
.price-discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: var(--palette-conversion, #1A1A1A);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    letter-spacing: 0.02em;
}

/* Savings */
.savings-message {
    font-size: 13px;
    font-weight: 600;
    color: #059669;
}

/* Stock badge */
.stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #f0fdf4;
    color: #059669;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.stock-badge-low {
    background: #fef3c7;
    color: #d97706;
}

/* Full Description */
.product-full-desc-toggle {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    padding: 20px 8px;
}

.product-full-desc-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
}

.product-full-desc-body table {
    font-size: 14px;
}

.product-full-desc-body th {
    background: var(--palette-substrate, #f9f9f9);
}

/* Variations */
.product-variation-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-variation-option {
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border: 1.5px solid var(--color-border);
    transition: all 0.15s;
}

.product-variation-option.selected {
    border-color: var(--palette-conversion, #1A1A1A);
    background: var(--palette-conversion, #1A1A1A);
    color: #fff;
}

/* WhatsApp CTA */
a.product-whatsapp-cta {
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 24px;
}

/* Share buttons */
.product-share-label {
    font-size: 0.9375rem;
    font-weight: 600;
}

.product-share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    font-size: 1.05rem;
    transition: all 0.15s;
}

.product-share-btn:hover {
    background: var(--color-border);
    color: var(--color-text);
}

/* Sticky CTA */
.sticky-cta {
    background: var(--color-bg);
    box-shadow: 0 -1px 8px rgba(0,0,0,0.06);
}

.sticky-cta .btn {
    border-radius: var(--radius);
    background: var(--palette-conversion, #1A1A1A);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 24px;
}

.sticky-cta .btn:hover {
    background: var(--palette-conversion-hover, #333);
}

/* More products */
.more-products {
    border-top: 1px solid var(--color-border);
}

.more-products-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.more-products-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 16px;
}

.more-product-card {
    flex: 0 0 160px;
    scroll-snap-align: start;
}

.more-product-card .product-card-img {
    aspect-ratio: 4 / 5;
}

/* --- Product page: Desktop (1024px+) --- */
@media (min-width: 1024px) {
    .product-page {
        max-width: var(--max-width);
        margin: 0 auto;
        padding-left: 32px;
        padding-right: 32px;
        padding-bottom: 48px;
    }

    .product-page > .container {
        padding-left: 0;
        padding-right: 0;
    }

    .product-page .product-info,
    .product-page .product-variations,
    .product-page .product-whatsapp-wrap,
    .product-page .product-share-inline,
    .product-page .sticky-cta,
    .product-page .breadcrumb,
    .product-page .more-products {
        padding-left: 0;
        padding-right: 0;
    }

    .product-page .product-gallery {
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
        background: transparent;
    }

    .product-page .product-gallery-track {
        border-radius: 20px;
        background: var(--color-bg-alt);
    }

    .product-page .product-gallery-slide {
        aspect-ratio: 1/1;
    }

    .gallery-thumb {
        border-radius: var(--radius);
    }

    .gallery-thumb.active {
        border-color: var(--palette-conversion, #1A1A1A);
    }

    .product-info-name {
        font-size: 1.75rem;
    }

    .product-info-price .price-current {
        font-size: 1.5rem;
    }

    .product-info-price .price-compare {
        font-size: 15px;
    }

    .more-products-title {
        font-size: 2rem;
    }

    .more-products-scroll {
        gap: 18px;
    }

    .more-product-card {
        flex: 0 0 calc(25% - 14px);
    }

    .product-share-btn {
        width: 34px;
        height: 34px;
        background: none;
        opacity: 0.5;
    }

    .product-share-btn:hover {
        background: none;
        color: var(--color-text);
        opacity: 1;
    }
}


/* ============================================================
   SEARCH PAGE
   ============================================================ */

.search-page-header {
    padding: 24px 16px 40px;
}

.search-page-form {
    max-width: 640px;
    margin: 0 auto 12px;
}

.search-page-bar {
    position: relative;
}

.search-page-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7A7A7A;
    font-size: 16px;
    pointer-events: none;
}

.search-page-input {
    width: 100%;
    padding: 14px 48px 14px 48px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-bg-alt);
    color: #1A1A1A;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.search-page-input:focus {
    border-color: #1A1A1A;
    background: #FFFFFF;
}

.search-page-input::placeholder {
    color: #999;
}

.search-page-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7A7A7A;
    font-size: 18px;
    border-radius: 50%;
    transition: background 0.15s;
}

.search-page-clear:hover {
    background: var(--color-bg-alt);
    color: #1A1A1A;
}

.search-page-count {
    text-align: center;
    color: #7A7A7A;
    font-size: 0.875rem;
}

/* Search skeleton */
@keyframes search-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.search-skeleton {
    pointer-events: none;
}

.search-skeleton-img {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    background: linear-gradient(90deg, #F0F0F0 25%, #E4E4E4 50%, #F0F0F0 75%);
    background-size: 200% 100%;
    animation: search-shimmer 1.4s ease infinite;
}

.search-skeleton-body {
    padding: 10px 0 0;
}

.search-skeleton-line {
    border-radius: 6px;
    background: linear-gradient(90deg, #F0F0F0 25%, #E4E4E4 50%, #F0F0F0 75%);
    background-size: 200% 100%;
    animation: search-shimmer 1.4s ease infinite;
}

.search-skeleton-title {
    height: 14px;
    width: 75%;
    margin-bottom: 8px;
}

.search-skeleton-price {
    height: 16px;
    width: 45%;
}


/* ============================================================
   COLLECTIONS PAGE
   ============================================================ */

.page-shop .floating-contact-cta .btn {
    color: #FFFFFF;
}

.collections-header {
    padding: 24px 16px 8px;
}

.collections-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--palette-anchor, #1A1A1A);
}

/* Collection list */
.collection-list {
    padding: 0 16px 40px;
}

.collection-list > * {
    border-bottom: 1px solid #F0F0F0;
}

.collection-list > *:first-child {
    border-top: 1px solid #F0F0F0;
}

.collection-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 0;
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.12s;
}

.collection-item:hover,
.collection-item:active {
    color: inherit;
    text-decoration: none;
}

.collection-item:active {
    background: var(--color-bg-alt);
}

.collection-item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--palette-anchor, #1A1A1A);
}

.collection-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.collection-item-count {
    font-size: 13px;
    color: #999;
}

.collection-item-arrow {
    color: #CCC;
    flex-shrink: 0;
    transition: transform 0.15s;
}

.collection-item:hover .collection-item-arrow {
    transform: translateX(2px);
    color: #999;
}

.collection-children {
    padding-left: 20px;
}

.collection-item--child {
    min-height: 40px;
    padding: 8px 0;
}

.collection-item--child .collection-item-name {
    font-weight: 500;
    color: var(--palette-depth, #555);
    font-size: 14px;
}

/* Browse collections — search page */
.browse-collections {
    padding: 0 16px 40px;
}

.browse-collections-title {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.browse-collections .collection-list {
    padding: 0;
}

.collections-empty {
    text-align: center;
    padding: 48px 16px;
    color: #7A7A7A;
}

/* --- Desktop (1024px+) --- */
@media (min-width: 1024px) {
    .collections-header {
        padding: 40px 0 16px;
    }

    .collections-title {
        font-size: 2rem;
    }

    .collection-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 0 64px;
    }

    .collection-list > * {
        background: var(--color-bg-alt);
        border-radius: var(--radius);
        border: none;
        padding: 4px 0;
    }

    .collection-item {
        padding: 10px 16px;
        border-radius: var(--radius-sm);
    }

    .collection-item:hover {
        background: #ECECEC;
    }

    .collection-children {
        padding-left: 16px;
    }

    .collection-item--child {
        padding: 8px 16px;
    }

    .browse-collections .collection-list {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================================
   ACCOUNT PAGE
   ============================================================ */

.account-header {
    padding: 24px 16px 8px;
}

.account-greeting {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.account-greeting-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A1A1A;
}

.account-owner-signin {
    margin-top: 4px;
    font-size: 13px;
    color: #999;
}
.account-owner-signin i {
    margin-right: 2px;
}

.account-logout-btn {
    background: none;
    border: 1px solid #DDD;
    border-radius: var(--radius);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.account-logout-btn:active {
    background: var(--color-bg-alt);
}

.account-section {
    padding: 0 16px 24px;
}

.account-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.account-section-title {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.account-section-header .account-section-title {
    margin-bottom: 0;
}

.account-edit-toggle {
    background: none;
    border: none;
    padding: 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--palette-conversion, #1A1A1A);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.account-profile-view {
    background: #fff;
    border: 1px solid #EBEBEB;
    border-radius: var(--radius);
    overflow: hidden;
}

.account-profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
}

.account-profile-row + .account-profile-row {
    border-top: 1px solid #EBEBEB;
}

.account-profile-label {
    font-size: 14px;
    color: #999;
}

.account-profile-value {
    font-size: 15px;
    font-weight: 500;
    color: #1A1A1A;
    text-align: right;
    word-break: break-all;
}

/* Profile edit form */
.account-profile-form {
    padding: 12px 0 0;
}

.account-profile-form .account-field {
    margin-bottom: 12px;
}

.account-profile-form .account-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #999;
}

.account-profile-form .account-field input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #DDD;
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    color: #1A1A1A;
    background: #fff;
    transition: border-color 0.15s;
    -webkit-appearance: none;
}

.account-profile-form .account-field input:focus {
    outline: none;
    border-color: var(--palette-conversion, #1A1A1A);
}

.account-profile-form .account-field input::placeholder {
    color: #BBB;
}

.account-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.account-cancel-btn {
    flex: 1;
    padding: 14px;
    border: 1.5px solid #DDD;
    border-radius: var(--radius);
    background: #fff;
    color: #555;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
}

.account-cancel-btn:active {
    background: var(--color-bg-alt);
}

.account-profile-form .account-submit {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    background: var(--palette-conversion, #1A1A1A);
    color: var(--palette-canvas, #fff);
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.1s;
}

.account-profile-form .account-submit:active {
    transform: scale(0.97);
}

.account-profile-form .account-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    margin-bottom: 12px;
    padding-top: 16px;
    border-top: 1px solid #F0F0F0;
}

/* Order cards */
.account-orders {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-order-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    padding: 16px;
}

.account-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.account-order-number {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
}

.account-order-status {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
}

.account-order-status--pending {
    background: #FEF3C7;
    color: #92400E;
}

.account-order-status--paid {
    background: #D1FAE5;
    color: #065F46;
}

.account-order-status--cancelled,
.account-order-status--refunded {
    background: #FEE2E2;
    color: #991B1B;
}

.account-order-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.account-order-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.account-order-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-order-item-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: #eee;
}

.account-order-item-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.account-order-item-meta {
    font-size: 12px;
    color: #999;
}

.account-order-total {
    font-size: 15px;
    font-weight: 700;
    color: #1A1A1A;
    padding-top: 8px;
    border-top: 1px solid #EDEDED;
}

.account-empty {
    text-align: center;
    padding: 32px 16px;
    color: #999;
    font-size: 14px;
}

/* ---- Auth state ---- */
.account-auth-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 20px;
}

.account-auth-card {
    width: 100%;
    max-width: 400px;
}

.account-auth-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #1A1A1A;
    text-align: center;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.account-auth-sub {
    text-align: center;
    font-size: 15px;
    color: #7A7A7A;
    margin-bottom: 28px;
}

.account-form {
    padding: 0;
}

.account-form .account-field {
    margin-bottom: 14px;
}

.account-form .account-field input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid transparent;
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    color: #1A1A1A;
    background: var(--color-bg-alt);
    transition: border-color 0.15s, background 0.15s;
    -webkit-appearance: none;
}

.account-form .account-field input:focus {
    outline: none;
    background: #fff;
    border-color: #1A1A1A;
}

.account-form .account-field input::placeholder {
    color: #7A7A7A;
}

/* Password field */
.account-password-field {
    position: relative;
}

.account-password-field input {
    padding-right: 48px;
}

.account-password-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #7A7A7A;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.account-password-toggle:active {
    color: #1A1A1A;
}

/* Auth submit */
.account-form .account-submit {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    background: var(--palette-conversion, #1A1A1A);
    color: var(--palette-canvas, #fff);
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    min-height: 50px;
    margin-top: 20px;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.1s;
}

.account-form .account-submit:active {
    transform: scale(0.97);
}

.account-form .account-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Auth footer link */
.account-auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #7A7A7A;
}

.account-auth-link {
    background: none;
    border: none;
    color: #1A1A1A;
    font-weight: 600;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    -webkit-tap-highlight-color: transparent;
}

/* Error/success */
.account-error {
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: var(--radius-sm);
    background: #FEF2F2;
    color: #DC2626;
    font-size: 14px;
    display: none;
}

.account-success {
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: var(--radius-sm);
    background: #F0FDF4;
    color: #16A34A;
    font-size: 14px;
    display: none;
}

.shop-content {
    min-height: 80vh;
}

@media (max-width: 1023px) {
    .account-section:last-child { padding-bottom: 80px; }
}

/* Desktop */
@media (min-width: 1024px) {
    .page-account .shop-content {
        max-width: 720px;
        margin: 0 auto;
    }

    .account-header {
        padding: 40px 0 16px;
    }

    .account-greeting-name {
        font-size: 2rem;
    }

    .account-logout-btn:hover {
        background: var(--color-bg-alt);
    }

    .account-auth-wrapper {
        min-height: 50vh;
        padding: 60px 20px;
    }

    .account-auth-title {
        font-size: 1.75rem;
    }

    .account-auth-card {
        max-width: 420px;
    }

    .account-section {
        padding: 0 0 28px;
    }

    .account-profile-view {
        max-width: 420px;
    }

    .account-profile-form {
        max-width: 420px;
    }

    .account-edit-toggle:hover {
        text-decoration: underline;
    }

    .account-orders {
        max-width: 600px;
    }

    .account-order-card {
        padding: 20px;
    }
}


/* ============================================================
   SINGLE COLLECTION PAGE
   ============================================================ */

.collection-hero {
    padding: 24px 16px 0;
}

.collections-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--palette-depth, #7A7A7A);
}

.collections-breadcrumb a {
    color: var(--palette-depth, #7A7A7A);
    transition: color 0.15s;
}

.collections-breadcrumb a:hover {
    color: var(--palette-anchor, #1A1A1A);
}

.collections-breadcrumb svg {
    color: var(--palette-substrate, #CCCCCC);
    flex-shrink: 0;
}

.collections-breadcrumb span {
    color: var(--palette-anchor, #1A1A1A);
    font-weight: 500;
}

.collection-hero .collections-breadcrumb {
    margin-bottom: 20px;
}

/* Banner */
.collection-hero-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 7;
}

.collection-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collection-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.collection-hero-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.03em;
}

.collection-hero-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-top: 4px;
}

.collection-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    margin-bottom: 12px;
    padding: 0 16px;
}
.collection-hero-count {
    font-size: 14px;
    font-weight: 600;
    color: #7A7A7A;
    margin: 0;
}
.collection-sort {
    appearance: none;
    -webkit-appearance: none;
    padding: 8px 32px 8px 14px;
    border-radius: var(--radius);
    border: 1.5px solid var(--color-border);
    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='%237A7A7A'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 12px center;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    min-height: 36px;
}
.collection-sort:focus {
    outline: none;
    border-color: #1A1A1A;
}

/* Subcategory filter chips */
.collection-filters {
    display: flex;
    gap: 8px;
    padding: 16px 16px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
}

.collection-filter {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: var(--radius);
    border: 1.5px solid var(--color-border);
    background: var(--palette-canvas, #FFFFFF);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--palette-depth, #7A7A7A);
    cursor: pointer;
    transition: all 0.15s;
}

.collection-filter:active {
    transform: scale(0.96);
}

.collection-filter.active {
    background: var(--palette-anchor, #1A1A1A);
    border-color: var(--palette-anchor, #1A1A1A);
    color: #FFFFFF;
}

/* Tablet */
@media (min-width: 768px) {
    .collection-hero-title {
        font-size: 2.25rem;
    }

    .collection-hero-overlay {
        padding: 28px;
    }

    .collection-hero-banner {
        aspect-ratio: 16 / 5;
    }

    .collection-filter {
        font-size: 15px;
        padding: 9px 22px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .collection-hero {
        padding: 40px 0 0;
    }

    .collection-hero-banner {
        aspect-ratio: 16 / 5;
        border-radius: 20px;
    }

    .collection-hero-overlay {
        padding: 40px;
    }

    .collection-hero-title {
        font-size: 3rem;
    }

    .collection-hero-desc {
        font-size: 16px;
        margin-top: 6px;
    }

    .collection-toolbar {
        margin-top: 20px;
        padding: 0;
    }

    .collection-hero-count {
        font-size: 15px;
    }

    .collection-filters {
        padding: 20px 0 0;
        gap: 10px;
        overflow-x: visible;
        flex-wrap: wrap;
        margin-bottom: 8px;
    }

    .collection-filter {
        font-size: 15px;
        padding: 10px 24px;
    }

    .collection-filter:hover:not(.active) {
        border-color: var(--palette-anchor, #1A1A1A);
        color: var(--palette-anchor, #1A1A1A);
    }
}

/* ============================================================
   BOTTOM NAV
   ============================================================ */
.bottom-nav {
    background: #fff;
    border-color: rgba(0,0,0,0.06);
}
.bottom-nav-tab {
    color: #AAA;
}
.bottom-nav-tab.active {
    color: var(--palette-conversion, #1A1A1A);
}
.bottom-nav-tab .cart-badge {
    background: var(--palette-conversion, #e53935);
}

/* ============================================================
   CONTACT SHEET
   ============================================================ */
.contact-sheet {
    background: var(--palette-canvas, #fff);
}
.contact-sheet-title {
    color: var(--palette-depth, #1a1a1a);
}
.contact-sheet-item {
    color: var(--palette-depth, #1a1a1a);
}
.contact-sheet-icon {
    background: var(--palette-substrate, #f5f5f5);
    color: var(--palette-depth, #1a1a1a);
}
.contact-sheet-social-link {
    background: var(--palette-substrate, #f5f5f5);
    color: var(--palette-depth, #1a1a1a);
}


/* ─── Shop custom Pages (About / FAQ / etc.) ─── */
.shop-page-content {
    padding: 24px 0 64px;
}

.shop-page-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Blog index widens the reading column so the 3-column card grid has
   room to breathe; post detail keeps the narrow 760px reading column. */
.page-shop-blog .shop-page-container {
    max-width: 1200px;
}

.shop-page-header {
    margin: 24px 0 28px;
}

.shop-page-title {
    margin: 0;
    font-family: var(--font-heading, inherit);
    font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.shop-page-body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text);
}

.shop-page-body > * + * { margin-top: 1.4em; }
.shop-page-body p { margin: 0; }
.shop-page-body h2 {
    font-family: var(--font-heading, inherit);
    font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 2em 0 0.6em;
    color: var(--color-text);
}
.shop-page-body h3 {
    font-family: var(--font-heading, inherit);
    font-size: 1.1875rem;
    font-weight: 700;
    margin: 1.6em 0 0.5em;
    color: var(--color-text);
}
.shop-page-body a {
    color: var(--palette-anchor, #1A1A1A);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s;
}
.shop-page-body a:hover { color: var(--palette-conversion, #FF6B35); }
.shop-page-body ul,
.shop-page-body ol {
    padding-left: 1.4em;
    margin: 0;
    list-style-position: outside;
}
.shop-page-body ul { list-style-type: disc; }
.shop-page-body ol { list-style-type: decimal; }
.shop-page-body ul ul   { list-style-type: circle; margin-top: 0.4em; }
.shop-page-body ol ol   { list-style-type: lower-alpha; margin-top: 0.4em; }
.shop-page-body li      { padding-left: 0.2em; }
.shop-page-body li + li { margin-top: 0.4em; }
/* The rich editor wraps each list-item's content in <p> — collapse that
   margin so bullets render as expected, not as awkward line breaks. */
.shop-page-body li > p:only-child { margin: 0; }
.shop-page-body li > p:first-child { margin-top: 0; }
.shop-page-body li > p:last-child  { margin-bottom: 0; }
.shop-page-body strong { font-weight: 700; }
.shop-page-body em     { font-style: italic; }
.shop-page-body hr {
    border: 0;
    border-top: 1px solid var(--palette-substrate, #E0E0E0);
    margin: 2em 0;
}
.shop-page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 1.6em auto;
}
.shop-page-body blockquote {
    margin: 1.6em 0;
    padding: 6px 0 6px 22px;
    border-left: 3px solid var(--palette-substrate, #E0E0E0);
    font-size: 1.075rem;
    color: var(--color-text);
}
.shop-page-body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9em;
    padding: 0.15em 0.45em;
    background: var(--color-bg-alt);
    border-radius: 6px;
}


/* ─── Custom shop nav (header + footer) ─── */
.shop-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.shop-nav-item { position: relative; }

.shop-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--color-text);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    line-height: 1.2;
    white-space: nowrap;
}
.shop-nav-link:hover { background: var(--color-bg-alt, rgba(0,0,0,0.04)); color: var(--palette-anchor, var(--color-text)); }
.shop-nav-chevron { font-size: 0.7rem; opacity: 0.5; transition: transform 0.2s; }
.shop-nav-item--mega:hover .shop-nav-chevron,
.shop-nav-item--mega:focus-within .shop-nav-chevron { transform: rotate(180deg); opacity: 1; }
.shop-nav-external { font-size: 0.65rem; margin-left: 4px; opacity: 0.55; }

/* Mega menu — desktop only (hover/focus reveal) */
.shop-nav-mega {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--color-surface, #FFF);
    border: 1px solid var(--color-border, rgba(0,0,0,0.08));
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
    padding: 8px;
    margin-top: 6px;
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 50;
}
/* Invisible bridge across the 6px gap so the user can move the cursor
   from the parent link to the dropdown without losing :hover. Without
   this, the dropdown closes mid-traverse. */
.shop-nav-mega::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}
.shop-nav-item--mega:hover > .shop-nav-mega,
.shop-nav-item--mega:focus-within > .shop-nav-mega { display: flex; }
.shop-nav-mega-link {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.12s;
}
.shop-nav-mega-link:hover { background: var(--color-bg-alt, rgba(0,0,0,0.04)); color: var(--palette-conversion, var(--color-text)); }

/* Footer nav row */
.desktop-footer-nav-row {
    padding: 18px 0 0;
    text-align: center;
}
.shop-nav--footer {
    justify-content: center;
    gap: 0;
}
.shop-nav--footer .shop-nav-link {
    padding: 6px 12px;
    font-size: 0.85rem;
    color: var(--color-text-muted, var(--color-text));
}
.shop-nav--footer .shop-nav-link:hover { color: var(--color-text); }

/* ── Mobile nav: hamburger + slide-in drawer ─────────────── */
.shop-nav-burger {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--color-text);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.05rem;
    border-radius: 10px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.shop-nav-burger:active { background: var(--color-bg-alt, rgba(0,0,0,0.05)); }

.mobile-header--has-menu { gap: 6px; }

/* Drawer — fixed full-screen panel that slides in from the left.
   When `hidden` it's display:none (no event handling); when `.is-open`
   it slides into view with the backdrop and panel transitioning in. */
.shop-nav-mobile {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.22s ease;
    display: block;
}
.shop-nav-mobile[hidden] { display: none !important; }
.shop-nav-mobile.is-open { opacity: 1; }

.shop-nav-mobile-list {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(82vw, 340px);
    background: var(--color-surface, #FFF);
    list-style: none;
    margin: 0;
    padding: 6px 8px 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
    transition: transform 0.22s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.14);
}
.shop-nav-mobile.is-open .shop-nav-mobile-list,
.shop-nav-mobile.is-open .shop-nav-mobile-head { transform: translateX(0); }

.shop-nav-mobile-head {
    position: absolute;
    top: 0;
    left: 0;
    width: min(82vw, 340px);
    z-index: 1;
    background: var(--color-surface, #FFF);
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border, rgba(0,0,0,0.06));
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(-100%);
    transition: transform 0.22s cubic-bezier(0.32, 0.72, 0, 1);
}
.shop-nav-mobile-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text);
}
.shop-nav-mobile-close {
    appearance: none;
    border: none;
    background: var(--color-bg-alt, rgba(0,0,0,0.05));
    color: var(--color-text);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    -webkit-tap-highlight-color: transparent;
}

/* Push the list below the head so it doesn't slide under it. */
.shop-nav-mobile-list { padding-top: 60px; }

/* Lock the page scroll while the drawer is open. */
.shop-nav-mobile-locked { overflow: hidden; touch-action: none; }

.shop-nav-mobile-item { border-radius: 12px; }
.shop-nav-mobile-link,
.shop-nav-mobile-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px;
    background: transparent;
    border: 0;
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border-radius: 12px;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
}
.shop-nav-mobile-link:active,
.shop-nav-mobile-toggle:active { background: var(--color-bg-alt, rgba(0,0,0,0.04)); }
.shop-nav-mobile-chev { font-size: 0.75rem; opacity: 0.45; transition: transform 0.2s; flex-shrink: 0; }
.shop-nav-mobile-toggle[aria-expanded="true"] .shop-nav-mobile-chev { transform: rotate(180deg); opacity: 1; }
.shop-nav-mobile-sub { display: flex; flex-direction: column; padding: 0 0 8px 14px; }
/* Respect the `hidden` attribute even though the rule above sets display:flex.
   Higher specificity (class + attr selector) wins. */
.shop-nav-mobile-sub[hidden] { display: none; }
.shop-nav-mobile-sublink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    color: var(--color-text);
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.12s;
}
.shop-nav-mobile-sublink:hover,
.shop-nav-mobile-sublink:active { background: var(--color-bg-alt, rgba(0,0,0,0.04)); }
.shop-nav-mobile-sublink--all {
    color: var(--palette-conversion, var(--color-text));
    font-weight: 600;
}
.shop-nav-mobile-sublink--all i { font-size: 0.7rem; }

@media (min-width: 768px) {
    .shop-nav-mobile { display: none; }
}
@media (max-width: 767px) {
    .desktop-header-nav .shop-nav { display: none; }
}


/* ─── Shop blog (index + post) ─── */
.shop-blog-header {
    margin: 12px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}
.shop-blog-header-text { min-width: 0; }
.shop-blog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--palette-conversion, var(--color-text-muted));
}
.shop-blog-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--palette-conversion, var(--color-accent, #1A1A1A));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--palette-conversion, var(--color-accent, #1A1A1A)) 18%, transparent);
}
.shop-blog-title {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0;
}
.shop-blog-subtitle {
    margin: 10px 0 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 56ch;
}
.shop-blog-search {
    margin: 0;
    width: 100%;
    max-width: 360px;
}
.shop-blog-search .shop-search-input {
    background: var(--color-surface, #FFF);
    border-radius: 999px;
    padding-top: 13px;
    padding-bottom: 13px;
}
@media (min-width: 700px) {
    .shop-blog-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 32px;
    }
    .shop-blog-search { width: 340px; flex-shrink: 0; }
}

.shop-blog-card.is-hidden,
.shop-blog-hero.is-hidden { display: none; }

.shop-blog-empty {
    text-align: center;
    padding: 56px 20px;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.shop-blog-empty[hidden] { display: none; }
.shop-blog-no-results { padding: 32px 20px; }

/* ── Hero (lead post) ───────────────────────────────────────── */
.shop-blog-hero {
    margin: 0 0 36px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--color-bg-elevated, #FFF);
    border: 1px solid var(--color-border, rgba(0,0,0,0.06));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.shop-blog-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px -20px rgba(0,0,0,0.18);
}
.shop-blog-hero-link {
    display: grid;
    grid-template-columns: 1fr;
    color: inherit;
    text-decoration: none;
    min-height: 100%;
}
.shop-blog-hero-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--color-bg-alt) center / cover no-repeat;
    overflow: hidden;
}
.shop-blog-hero-cover::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.18), transparent);
    pointer-events: none;
}
.shop-blog-hero-cover--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 48px;
    opacity: 0.45;
}
.shop-blog-hero-body {
    padding: 28px 24px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.shop-blog-hero-title {
    margin: 0;
    font-family: var(--font-heading, inherit);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--color-text);
}
.shop-blog-hero-excerpt {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--color-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-blog-hero-meta {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: auto;
}
.shop-blog-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--palette-conversion, var(--color-accent, var(--color-text)));
    font-weight: 600;
    font-size: 0.92rem;
    margin-top: 4px;
    transition: gap 0.2s ease;
}
.shop-blog-hero:hover .shop-blog-hero-cta { gap: 12px; }
@media (min-width: 880px) {
    .shop-blog-hero-link {
        grid-template-columns: 1.15fr 1fr;
        align-items: stretch;
    }
    .shop-blog-hero-cover {
        height: 100%;
        aspect-ratio: auto;
        min-height: 360px;
    }
    .shop-blog-hero-body {
        padding: 40px 44px;
        justify-content: center;
    }
}

/* ── Card grid ──────────────────────────────────────────────── */
.shop-blog-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 700px) {
    .shop-blog-list { grid-template-columns: 1fr 1fr; gap: 24px; }
}
/* Only the wide blog index gets 3 columns; post-detail keeps 2 so cards
   don't squeeze inside the 760px reading column. */
.page-shop-blog .shop-blog-list { gap: 28px; }
@media (min-width: 1024px) {
    .page-shop-blog .shop-blog-list { grid-template-columns: repeat(3, 1fr); }
}

.shop-blog-card {
    border-radius: 18px;
    overflow: hidden;
    background: var(--color-bg-elevated, #FFF);
    border: 1px solid var(--color-border, rgba(0,0,0,0.06));
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}
.shop-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -16px rgba(0,0,0,0.16);
    border-color: color-mix(in srgb, var(--palette-conversion, var(--color-accent, #1A1A1A)) 35%, var(--color-border, rgba(0,0,0,0.1)));
}
.shop-blog-card--featured { border-color: var(--palette-conversion, var(--color-border)); }

.shop-blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.shop-blog-card-cover {
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--color-bg-alt) center / cover no-repeat;
    overflow: hidden;
    transition: transform 0.5s ease;
}
.shop-blog-card-cover--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 32px;
    opacity: 0.4;
}
.shop-blog-card:hover .shop-blog-card-cover { transform: scale(1.04); }

.shop-blog-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.shop-blog-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    background: linear-gradient(135deg, #FFE9A8, #F8C66C);
    color: #6B4A0F;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    i { font-size: 0.6rem; color: #8B5A0E; }
}
.shop-blog-card-tag--latest {
    background: color-mix(in srgb, var(--palette-conversion, var(--color-accent, #1A1A1A)) 12%, transparent);
    color: var(--palette-conversion, var(--color-accent, var(--color-text)));
    i { color: inherit; }
}

.shop-blog-card-title {
    margin: 2px 0 4px;
    font-family: var(--font-heading, inherit);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-blog-card-excerpt {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--color-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-blog-card-meta {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-top: auto;
    padding-top: 4px;
}

/* Post detail */
.shop-blog-article-head { margin: 16px 0 22px; }

.shop-blog-article-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
    color: var(--cat-color, var(--palette-conversion, var(--color-text)));
    background: color-mix(in srgb, var(--cat-color, var(--palette-conversion, var(--color-text))) 12%, transparent);
    text-decoration: none;
    transition: background 0.2s;
}
.shop-blog-article-category:hover {
    background: color-mix(in srgb, var(--cat-color, var(--palette-conversion, var(--color-text))) 18%, transparent);
}
.shop-blog-article-category i { font-size: 0.65rem; }

.shop-blog-article-meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.shop-blog-article-dot { color: var(--color-border, #d0d0d0); }
.shop-blog-article-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
    font-weight: 500;
}
.shop-blog-article-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--palette-conversion, var(--color-accent, #1A1A1A));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}
.shop-blog-article-updated { font-style: italic; }

.shop-blog-article-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    margin: 0 0 28px;
}

/* Article footer — tags + share row */
.shop-blog-article-footer {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border, rgba(0,0,0,0.08));
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.shop-blog-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.shop-blog-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}
.shop-blog-tag:hover {
    background: var(--palette-conversion, var(--color-accent, #1A1A1A));
    color: #fff;
    transform: translateY(-1px);
}

.shop-blog-share {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (min-width: 600px) {
    .shop-blog-share {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.shop-blog-share-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.005em;
}
.shop-blog-share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.shop-blog-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border, rgba(0,0,0,0.1));
    background: var(--color-bg-elevated, #fff);
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.2s, color 0.2s, border-color 0.2s;
}
.shop-blog-share-btn:hover {
    transform: translateY(-2px);
    background: var(--color-text);
    color: var(--color-bg, #fff);
    border-color: var(--color-text);
}
.shop-blog-share-btn--whatsapp:hover { background: #25D366; border-color: #25D366; color: #fff; }
.shop-blog-share-btn--x:hover        { background: #000;     border-color: #000;     color: #fff; }
.shop-blog-share-btn--facebook:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.shop-blog-share-btn--email:hover    { background: #EA4335; border-color: #EA4335; color: #fff; }

.shop-blog-more { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--color-border, rgba(0,0,0,0.08)); }
.shop-blog-more-title {
    margin: 0 0 18px;
    font-family: var(--font-heading, inherit);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}
