/* ============================================================
   TinyShop — Clean Theme (Classic)
   Premium modern store. Crisp whites, generous radius, big type.
   Albert Sans throughout. Rounded pill buttons. Center-mode slider.
   ============================================================ */

/* --- 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: #F6F6F6;
    --color-text: #222222;
    --color-text-muted: #6B6B6B;
    --color-accent: #222222;
    --color-accent-hover: #333333;
    --color-border: #E8E8E8;
    --color-error: #E03131;

    --radius: 14px;
    --radius-sm: 8px;
    --radius-full: 999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.07);
}


/* ============================================================
   ANNOUNCEMENT BAR — Dark minimal strip
   ============================================================ */
.announcement-bar {
    background: var(--palette-anchor, #222222);
    color: var(--palette-anchor-text, #FFFFFF);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

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

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


/* ============================================================
   TYPOGRAPHY — Big, confident headings
   ============================================================ */
.shop-name,
.desktop-header-name,
.desktop-footer-name {
    font-weight: 700;
    letter-spacing: -0.03em;
}

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

.product-title {
    font-weight: 600;
    font-size: 15px;
}

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


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

.shop-logo {
    height: 45px;
    max-height: 72px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    margin: 0 auto var(--spacing-sm);
}

.shop-logo-placeholder {
    background: var(--palette-anchor, #222222);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.4rem;
    border-radius: 14px;
}

.shop-name {
    font-size: 1.6rem;
    color: var(--palette-anchor, #222222);
}

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

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

.shop-contact a,
.shop-contact button {
    color: var(--palette-depth, #6B6B6B);
    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, #222222);
}
.shop-social a:active {
    opacity: 0.5;
    transform: scale(0.9);
}


/* ============================================================
   SEARCH OVERLAY — Slides down from top
   ============================================================ */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

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

.search-overlay-inner {
    background: #FFFFFF;
    padding: 20px 16px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.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: #6B6B6B;
    font-size: 16px;
    pointer-events: none;
}

.search-overlay-input {
    width: 100%;
    padding: 14px 48px 14px 48px;
    border: 2px solid #222222;
    border-radius: var(--radius-full);
    background: #FFFFFF;
    color: #222222;
    font-family: inherit;
    font-size: 16px;
    outline: none;
}

.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: #6B6B6B;
    font-size: 18px;
    border-radius: 50%;
    transition: background 0.15s;
}

.search-overlay-close:hover {
    background: #F6F6F6;
    color: #222222;
}


/* ============================================================
   NO-HERO STATE — Tighter spacing when hero slider is absent
   ============================================================ */
.shop-page--no-hero .mobile-header {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border, #E8E8E8);
    margin-bottom: 24px;
}

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

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


/* ============================================================
   HERO SLIDER — Center mode, rounded slides, adjacent peek
   ============================================================ */
.hero-slider {
    margin: 0 0 44px;
    border-radius: 0;
    overflow: visible;
}

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

.hero-slide {
    flex: 0 0 90%;
    min-width: 90%;
    scroll-snap-align: center;
    border-radius: var(--radius);
    overflow: hidden;
}

/* Single slide — static banner, no scroll, centered */
.hero-slider[data-count="1"] .hero-slider-track {
    overflow: hidden;
    justify-content: center;
    padding: 0;
}

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

.hero-slide-content {
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 24px 20px;
    top: 0;
    background: rgba(0,0,0,0.35);
}

.hero-slide-title {
    font-weight: 800;
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 10px;
    max-width: 420px;
}

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

/* CTA button: pill, accent */
.hero-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--palette-conversion, #222222);
    color: #FFFFFF;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: clamp(13px, 3.2vw, 14px);
    padding: 12px 24px;
    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 34px;
    }
}

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

.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.4);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

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

/* Arrow buttons — outside the slider, vertically centered */
.hero-slider-prev,
.hero-slider-next {
    display: none;
    border-radius: 50%;
    border: 2px solid var(--palette-substrate-border, #D0D0D0);
    background: var(--palette-canvas, #FFFFFF);
    color: var(--palette-depth, #666);
    width: 46px;
    height: 46px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

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

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: var(--palette-anchor, #222222);
    border-color: var(--palette-anchor, #222222);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transform: translateY(-50%) scale(1.1);
}


/* ============================================================
   TRUST BADGES — Borderless, icon-forward
   ============================================================ */
.trust-badges {
    margin-bottom: 48px;
    gap: 0;
}

.trust-badge {
    border-radius: 0;
    border: none;
    background: none;
    padding: 14px 20px;
}

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

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

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

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

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


/* ============================================================
   SECTION HEADER — Centered variant
   ============================================================ */
.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 — WPEcomus gadgets style, big bordered circles
   ============================================================ */
.category-band {
    margin-bottom: 48px;
}

.category-band-wrapper {
    position: relative;
    padding: 40px 32px;
    background: var(--palette-canvas, #F8F8F8);
    border-radius: var(--radius);
}

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

/* Exactly 4 items visible on mobile — responsive sizing, no clipping */
.category-band-item {
    flex: 0 0 calc((100% - 3 * 10px) / 4);
    text-align: center;
    scroll-snap-align: start;
}

.category-band-circle {
    width: 100%;
    max-width: 80px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--palette-canvas, #FFFFFF);
    border: 2px solid var(--palette-substrate-border, #EBEBEB);
    overflow: hidden;
    margin: 0 auto;
}

.category-band-circle img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.category-band-name {
    font-size: 11px;
    font-weight: 500;
    max-width: 100%;
    color: var(--palette-anchor, #222222);
    margin-top: 8px;
    line-height: 1.3;
}

/* Pills mode — when no categories have images */
.category-band--pills {
    padding: 50px 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 18px;
    border-radius: 100px;
    background: var(--palette-canvas, #FFFFFF);
    color: var(--palette-anchor, #222222);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    scroll-snap-align: start;
    transition: background 0.15s ease, color 0.15s ease;
}

.category-pill:active {
    background: var(--palette-conversion, #222222);
    color: #fff;
}


/* ============================================================
   COLLECTION BANNERS — Rounded, image zoom on hover
   ============================================================ */
.collection-banners {
    display: grid;
    gap: 12px;
    margin-bottom: 48px;
}

/* Mobile: 2-col shows 1 per row, 3/4-col show 2 per row */
.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: 48px;
}

.collection-banner {
    border-radius: var(--radius);
    overflow: hidden;
}

.collection-banner img {
    transition: transform 0.6s ease;
}

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

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

.collection-banner-title {
    font-weight: 700;
    font-size: 1.4rem;
    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 — override base bottom-anchored layout with flexbox */
.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;
}

/* Bottom left (default) */
.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.6));
}

/* Bottom center */
.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.6));
}

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

/* Top left */
.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.6) 0%, transparent 70%);
}

/* Banner sizes — aspect ratios (mobile defaults) */
.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; }

/* Full-width layout override — always panoramic regardless of size */
.cb-full-width .collection-banner { aspect-ratio: 16 / 7; }

/* 4-col mobile — smaller content padding */
.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 — Shared card inside slider wrapper
   ============================================================ */
/* Slider cards — match grid card sizing */
.product-slider-card {
    width: calc(50% - 8px);
    min-width: 150px;
}

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


/* ============================================================
   SECTION HEADERS — Bold, bigger, more spacing
   ============================================================ */
.section-header {
    margin-bottom: 18px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--palette-anchor, #222222);
}

.section-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--palette-anchor, #222222);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
}

.section-link:hover {
    color: #6B6B6B;
}

.section-count {
    font-size: 15px;
    color: #6B6B6B;
}


/* ============================================================
   PRODUCT GRID — Wider gaps
   ============================================================ */
.product-grid {
    gap: 20px 12px;
}

/* ============================================================
   PRODUCT CARDS — Rounded, clean, airy
   ============================================================ */
.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, #F5F5F5);
    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.875rem;
    font-weight: 500;
    color: var(--palette-depth, #333333);
    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, #111111);
    display: flex;
    align-items: baseline;
    gap: 6px;
    letter-spacing: -0.02em;
}

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

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

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

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

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

.product-badge-sold {
    background: rgba(255,255,255,0.85);
    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, revealed on desktop hover */
.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.45;
}


/* ============================================================
   BUTTONS — Accent pill style for checkout / pay
   ============================================================ */
.btn-accent {
    background: var(--palette-anchor, #222222);
    color: #FFFFFF;
    border-radius: var(--radius-full);
    font-weight: 700;
}

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


/* ============================================================
   LOAD MORE BUTTON — Pill, bold, inverts on hover
   ============================================================ */
.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-full);
    background: var(--palette-conversion, #222222);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 40px;
    width: 100%;
    max-width: 320px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.1s;
    -webkit-tap-highlight-color: transparent;
}

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

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

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

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


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

.empty-state-icon {
    font-size: 64px;
    color: var(--color-text-muted, #999);
    opacity: 0.4;
    margin-bottom: 16px;
}

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


/* ============================================================
   SCROLL ARROWS — Circular, WPEcomus gadgets style
   ============================================================ */
.scroll-arrow {
    border-radius: 50%;
    border: 2px solid var(--palette-substrate-border, #D0D0D0);
    background: var(--palette-canvas, #FFFFFF);
    color: var(--palette-depth, #666);
    box-shadow: none;
    width: 46px;
    height: 46px;
    transition: transform 0.3s ease, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

/* Nudge outward on section hover */
[data-scroll-container]:hover .scroll-arrow-prev {
    transform: translateY(-50%) translateX(-5px);
}
[data-scroll-container]:hover .scroll-arrow-next {
    transform: translateY(-50%) translateX(5px);
}

.scroll-arrow:hover {
    background: var(--palette-conversion, #222222);
    border-color: var(--palette-conversion, #222222);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transform: translateY(-50%) scale(1.1);
}


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

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


/* ============================================================
   RESPONSIVE — Tablet (768px+)
   ============================================================ */
@media (min-width: 768px) {
    .collection-banners { gap: 16px; }
    .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: 220px;
    }

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

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

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

    .category-band-circle {
        max-width: 100px;
    }
}


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

    /* Desktop header: white bg, NO border, breathing room below */
    .clean-header {
        position: static;
        background: none;
        border-bottom: none;
        padding-top: 8px;
        padding-bottom: 8px;
        margin-bottom: 16px;
        box-shadow: none;
    }

    /* Container wraps inner — remove duplicate constraints */
    .clean-header .desktop-header-inner {
        max-width: none;
        margin: 0;
        padding: 0;
    }

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

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

    .desktop-header-tagline {
        font-size: 14px;
        color: var(--palette-depth, #666);
        font-weight: 500;
    }

    .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, #222222);
        font-weight: 700;
        border-radius: var(--radius-sm);
    }

    .desktop-header-link {
        display: inline-flex;
        align-items: center;
        font-weight: 500;
        color: var(--palette-anchor, #222222);
        font-size: 15px;
        gap: 8px;
        padding: 8px 16px;
    }

    .desktop-header-link:hover {
        color: var(--palette-depth, #6B6B6B);
    }

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

    .desktop-header-btn {
        border: 1px solid #E8E8E8;
        color: #222222;
        border-radius: 50%;
        transition: border-color 0.15s, background 0.15s;
    }

    .desktop-header-btn:hover {
        border-color: #222222;
        background: #F6F6F6;
    }

    /* Centered logo layout — 3-column grid */
    .desktop-header-centered .desktop-header-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        height: auto;
        padding: 20px 0;
    }

    .desktop-header-centered .desktop-header-nav {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        margin-right: 0;
        padding-left: 0;
        gap: 4px;
    }

    .desktop-header-centered .desktop-header-brand {
        grid-column: 2;
        grid-row: 1;
        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-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    /* Allow arrows to bleed outside content area */
    .shop-content {
        overflow: visible;
    }

    /* Hero slider — full-width breakout, center mode, arrows outside */
    .hero-slider {
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 0 64px;
        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;
    }

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

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

    .hero-slide-content {
        padding: 60px 56px;
        background: rgba(0,0,0,0.3);
    }

    .hero-slide-title {
        font-size: 4.5rem;
        max-width: 700px;
        line-height: 1.0;
        letter-spacing: -0.04em;
    }

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

    .hero-slide-cta {
        padding: 17px 48px;
        font-size: 16px;
    }

    /* Arrows outside the slider */
    .hero-slider-prev,
    .hero-slider-next {
        display: flex;
        width: 46px;
        height: 46px;
        border: 2px solid var(--palette-substrate-border, #D0D0D0);
        background: var(--palette-canvas, #FFFFFF);
        color: var(--palette-depth, #666);
    }

    .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: 36px;
    }

    /* Trust badges — more spacing */
    .trust-badges {
        margin-bottom: 64px;
        justify-content: center;
    }

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

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

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

    /* Section titles — much bigger on desktop */
    .section-title {
        font-size: 2.25rem;
    }

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

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

    /* Categories — WPEcomus gadgets: 150px circles, 2px border, 6 visible */
    .category-band {
        margin-bottom: 72px;
    }

    /* Exactly 6 items visible on desktop — responsive sizing, no clipping */
    .category-band-wrapper {
        padding: 48px 50px;
        border-radius: 14px;
        overflow: visible;
    }

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

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

    .category-band-circle {
        max-width: 140px;
    }

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

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

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

    .category-band-name {
        font-size: 14px;
        font-weight: 500;
        max-width: none;
        margin-top: 12px;
        white-space: nowrap;
    }

    /* Arrows bleed outside */
    .category-band-wrapper .scroll-arrow-prev { left: -58px; }
    .category-band-wrapper .scroll-arrow-next { right: -58px; }
    .category-band-wrapper .scroll-arrow {
        /* Nudge up from 50% to center on circles (not on circles+names) */
        margin-top: -30px;
    }

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

    /* Collection banners — generous spacing */
    .collection-banners {
        gap: 24px;
        margin-bottom: 72px;
    }

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

    /* Desktop 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; }

    /* Per-layout typography scaling */
    .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 — arrows bleed outside */
    .product-slider-section {
        margin-bottom: 72px;
        overflow: visible;
    }

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

    /* Product grid — desktop gaps */
    .product-grid {
        gap: 24px 20px;
    }

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

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

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

    /* Add to cart button — hidden by default, shown on hover */
    .product-card-atc {
        display: block;
        position: absolute;
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 10px;
        background: var(--palette-conversion, #222222);
        color: #FFFFFF;
        border: none;
        border-radius: var(--radius-full);
        font-family: inherit;
        font-size: 14px;
        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: desktop sizing + hover lift */
    .product-slider-card {
        width: calc(25% - 18px);
        min-width: 180px;
        transition: transform 0.25s;
    }

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

    /* Products section generous spacing */
    .products-section {
        margin-bottom: 56px;
    }

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

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

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

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

    .search-overlay-input {
        font-size: 18px;
        padding: 16px 52px 16px 52px;
    }

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

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

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

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

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

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

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

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


/* ============================================================
   PRODUCT DETAIL PAGE — Classic theme overrides
   ============================================================ */

/* Remove entrance animation */
.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, rounded on desktop */
.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;
}

/* Floating nav buttons — clean white */
.product-nav-btn {
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--color-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.badge-sold {
    background: var(--palette-conversion, #222222);
    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: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    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 — dark pill */
.price-discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: var(--palette-conversion, #222222);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
}

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

/* Stock badge — pill */
.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-full);
    margin-bottom: 16px;
}

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

/* Full Description — collapsible section */
.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 — pill buttons */
.product-variation-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-variation-option {
    border-radius: var(--radius-full);
    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, #222222);
    background: var(--palette-conversion, #222222);
    color: #fff;
}

/* WhatsApp CTA — pill */
a.product-whatsapp-cta {
    border-radius: var(--radius-full);
    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 — accent pill */
.sticky-cta {
    background: var(--color-bg);
    box-shadow: 0 -1px 8px rgba(0,0,0,0.06);
}

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

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

/* More products — shared card inside scroll wrapper */
.more-products {
    border-top: 1px solid var(--color-border);
}

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

.more-products-scroll {
    display: flex;
    gap: 15px;
    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, #222222);
    }

    .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: 2.25rem;
    }

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

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

    .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: #6B6B6B;
    font-size: 16px;
    pointer-events: none;
}

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

.search-page-input:focus {
    border-color: #222222;
}

.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: #6B6B6B;
    font-size: 18px;
    border-radius: 50%;
    transition: background 0.15s;
}

.search-page-clear:hover {
    background: #F6F6F6;
    color: #222222;
}

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

/* Search skeleton loading cards */
@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, 14px);
    background: linear-gradient(90deg, #F0F0F0 25%, #E0E0E0 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%, #E0E0E0 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 — Card grid layout
   ============================================================ */

/* Floating contact CTA — white text on mobile */
.page-shop .floating-contact-cta .btn {
    color: #FFFFFF;
}

/* Page header */
.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, #222222);
}

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

/* Borders — works for both .collection-group divs and standalone .collection-item links */
.collection-list > * {
    border-bottom: 1px solid #F0F0F0;
}

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

/* Shared item style */
.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: #F6F6F6;
}

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

.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;
}

/* Children — indented, lighter */
.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: 13px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

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

/* Empty state */
.collections-empty {
    text-align: center;
    padding: 48px 16px;
    color: #6B6B6B;
}

/* --- 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;
    }

    /* Card treatment — groups and standalone items */
    .collection-list > * {
        background: #FAFAFA;
        border-radius: var(--radius);
        border: none;
        padding: 4px 0;
    }

    .collection-item {
        padding: 10px 16px;
        border-radius: 10px;
    }

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

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

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

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


/* ============================================================
   ACCOUNT PAGE — Login, register, profile, order history
   ============================================================ */

/* ---- Logged-in state: greeting + profile + orders ---- */
.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: #222;
}

.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-full);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.account-logout-btn:active {
    background: #F5F5F5;
}

/* Sections */
.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: 13px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    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, #222);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* Read-only profile rows */
.account-profile-view {
    background: #fff;
    border: 1px solid #EBEBEB;
    border-radius: 14px;
    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: #222;
    text-align: right;
    word-break: break-all;
}

/* Profile edit form (hidden by default) */
.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: 12px;
    font-size: 16px;
    font-family: inherit;
    color: #222;
    background: #fff;
    transition: border-color 0.15s;
    -webkit-appearance: none;
}

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

.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: 99px;
    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: #F5F5F5;
}

.account-profile-form .account-submit {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 99px;
    background: var(--palette-conversion, #222);
    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: #FAFAFA;
    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: #222;
}

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

.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: #222;
    padding-top: 8px;
    border-top: 1px solid #EDEDED;
}

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

/* ---- Auth state: login / register (Linktree-inspired) ---- */
.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: #1e2330;
    text-align: center;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

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

/* Auth forms — borderless inputs that emerge on focus */
.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: 14px;
    font-size: 16px;
    font-family: inherit;
    color: #1e2330;
    background: #f3f3f1;
    transition: border-color 0.15s, background 0.15s;
    -webkit-appearance: none;
}

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

.account-form .account-field input::placeholder {
    color: #676b5f;
}

/* Password field with toggle */
.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: #676b5f;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

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

/* Auth submit — pill-shaped accent button */
.account-form .account-submit {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 99px;
    background: var(--palette-conversion, #222);
    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: #676b5f;
}

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

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

.account-success {
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: 10px;
    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: #F5F5F5;
    }

    .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 — Banner, filters, product grid
   ============================================================ */

/* Hero area */
.collection-hero {
    padding: 24px 16px 0;
}

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

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

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

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

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

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

/* Banner */
.collection-hero-banner {
    position: relative;
    border-radius: var(--radius);
    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.55) 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: #6B6B6B;
    margin: 0;
}
.collection-sort {
    appearance: none;
    -webkit-appearance: none;
    padding: 8px 32px 8px 14px;
    border-radius: 100px;
    border: 1.5px solid #DCDCDC;
    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='%236B6B6B'%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: #222;
}

/* 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: 100px;
    border: 1.5px solid var(--palette-substrate-border, #DCDCDC);
    background: var(--palette-canvas, #FFFFFF);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--palette-depth, #6B6B6B);
    cursor: pointer;
    transition: all 0.15s;
}

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

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

/* --- Tablet (768px+) --- */
@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 (1024px+) --- */
@media (min-width: 1024px) {
    .collection-hero {
        padding: 40px 0 0;
    }

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

    .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, #222222);
        color: var(--palette-anchor, #222222);
    }
}

/* ============================================================
   BOTTOM NAV — Classic theme overrides
   ============================================================ */
.bottom-nav {
    background: #fff;
    border-color: rgba(0,0,0,0.08);
}
.bottom-nav-tab {
    color: #888;
}
.bottom-nav-tab.active {
    color: var(--palette-conversion, #222);
}
.bottom-nav-tab .cart-badge {
    background: var(--palette-conversion, #e53935);
}

/* ============================================================
   CONTACT SHEET — Classic theme overrides
   ============================================================ */
.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);
}

