﻿:root {
    --ink: #17233d;
    --muted: #60708a;
    --line: rgba(23, 35, 61, 0.12);
    --surface: #ffffff;
    --canvas: #f6f3ee;
    --brand: #1a2944;
    --brand-strong: #0b1c33;
    --brand-soft: #edf2ff;
    --vintage: #d3a879;
    --vintage-soft: #f7efe4;
    --accent: #8b5e3c;
    --shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
}

body {
    font-family: Manrope, sans-serif;
    background: linear-gradient(135deg, #f7f4ef 0%, #ffffff 42%, #eef3fb 100%);
    color: var(--ink);
}

body.dark {
    --ink: #edf3ff;
    --muted: #b7c2d9;
    --line: rgba(255, 255, 255, 0.12);
    --surface: #172033;
    --canvas: #0f172a;
    --brand: #a9c1ff;
    --brand-soft: #1d315d;
    --vintage: #e8c59b;
    --vintage-soft: #31281f;
}

body.dark {
    background: linear-gradient(135deg, #0f172a 0%, #172033 62%, #221d1a 100%);
}

.banner-carousel { position: relative; overflow: hidden; }
.banner-track { position: relative; min-height: 360px; }
.banner-slide { display: none; grid-template-columns: minmax(0, 1.15fr) minmax(260px, 1fr); gap: 1.5rem; align-items: center; min-height: 360px; }
.banner-slide.is-active { display: grid; animation: banner-in .45s ease both; }
.banner-image { background-size: cover; background-position: center; }
.carousel-controls { position: absolute; left: 1rem; bottom: 1rem; display: flex; gap: .4rem; }
.carousel-controls button { width: .55rem; height: .55rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.7); opacity: .65; cursor: pointer; }
.carousel-controls button.is-active { width: 1.4rem; border-radius: 999px; background: var(--brand); opacity: 1; }
@keyframes banner-in { from { opacity: .2; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

.site-header {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.04);
}

.site-header,
.site-footer,
.product-card,
.category-card,
.filters,
.summary {
    border-color: var(--line);
}

.site-header .store-logo,
.site-footer .store-logo {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 900;
    letter-spacing: -.04em;
    white-space: nowrap;
}

.store-logo img {
    display: block;
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    min-width: 42px;
    max-height: 42px !important;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 8px 18px rgba(17,24,39,.12);
}

.site-header .store-logo span,
.site-footer .store-logo span {
    color: var(--brand);
    font-size: 1rem;
}

.header-search input {
    border: 1px solid rgba(26, 41, 68, .12);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.desktop-nav a {
    color: var(--muted);
    font-weight: 700;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.site-footer a:hover {
    color: var(--brand);
}

.button,
.button.full-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: .8rem 1.35rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand) 0%, #273c68 100%);
    color: #fff;
    font: inherit;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 12px 24px rgba(26, 41, 68, 0.22);
    transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover,
.button.full-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 28px rgba(26, 41, 68, 0.26);
}

.button.secondary {
    border: 1px solid rgba(26, 41, 68, 0.16);
    background: rgba(255,255,255,0.6);
    color: var(--brand);
    box-shadow: none;
}

.product-card {
    border: 1px solid rgba(23, 35, 61, 0.08);
    border-radius: 22px;
    background: rgba(255,255,255,.9);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.product-card-body h3 a {
    font-weight: 800;
    letter-spacing: -.02em;
}

.price-row strong {
    color: var(--brand);
    font-size: 1.05rem;
}

.floating-wa {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #1bbf7a 0%, #1aa063 100%);
    box-shadow: 0 12px 28px rgba(26, 160, 99, 0.32);
}

.site-footer {
    margin-top: 2rem;
    background: linear-gradient(180deg, #101d32 0%, #0b1729 100%);
    color: #edf3ff;
}

.site-footer a,
.site-footer p,
.site-footer h3 {
    color: inherit;
}

.social-links a {
    opacity: .9;
}

@media (max-width: 699px) {
    .store-logo img {
        width: 34px !important;
        height: 34px !important;
        max-width: 34px !important;
        min-width: 34px;
        max-height: 34px !important;
    }

    .site-header .store-logo span,
    .site-footer .store-logo span {
        font-size: .82rem;
    }
}

.banner-carousel { width: 100%; max-width: 1120px; }
.banner-track { height: clamp(260px, 32vw, 420px); }
.banner-slide { width: 100%; height: clamp(260px, 32vw, 420px); min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); padding: clamp(.8rem, 2.5vw, 1.7rem); overflow: hidden; }
.banner-slide .hero-copy { min-width: 0; overflow-wrap: anywhere; }
.banner-slide .hero-copy h1 { max-width: 12ch; overflow-wrap: anywhere; }
.banner-slide .hero-art { width: 100%; min-width: 0; aspect-ratio: 16 / 9; min-height: 0; border-radius: 24px; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: var(--surface); }
.banner-slide .banner-image { display: grid; place-items: center; overflow: hidden; }
.banner-slide .banner-image img { display: block; width: 82%; height: 82%; max-width: 82%; max-height: 82%; object-fit: contain; object-position: center; }

.hero .banner-carousel,
.hero .banner-track,
.hero .banner-slide { max-height: 470px; }
.hero .banner-track { height: clamp(360px, 38vw, 470px); min-height: 360px; }
.hero .banner-slide { height: clamp(360px, 38vw, 470px); min-height: 360px; }
.hero .banner-slide .banner-image img { width: auto !important; height: auto !important; max-width: 86% !important; max-height: 78% !important; object-fit: contain !important; }
.banner-slide .button { max-width: 100%; white-space: normal; text-align: center; }

@media (max-width: 699px) {
    .banner-track { height: clamp(300px, 90vw, 390px); }
    .banner-slide, .banner-slide.is-active { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); height: clamp(300px, 90vw, 390px); min-height: 0; gap: .35rem; padding: .75rem .75rem 2.1rem; }
    .banner-slide .hero-copy { padding: .25rem 0 0; }
    .banner-slide .hero-copy h1 { max-width: 100%; font-size: clamp(1.45rem, 8vw, 2.1rem); }
    .banner-slide .hero-copy { position: relative; z-index: 2; min-height: 0; overflow: hidden; }
    .banner-slide .button { position: relative; z-index: 3; }
    .banner-slide .hero-art { aspect-ratio: 16 / 9; min-height: 120px; max-height: 180px; border-radius: 18px; }
    .hero .banner-carousel, .hero .banner-track, .hero .banner-slide { max-height: 360px; }
    .hero .banner-track { height: 360px; min-height: 0; }
    .hero .banner-slide { height: 360px; min-height: 0; }
    .hero .banner-slide .banner-image img { max-width: 100% !important; max-height: 100% !important; }
    .carousel-controls { left: .75rem; bottom: .65rem; }
}

.hero-art {
    background: linear-gradient(135deg, #edf3ff 0%, #ffffff 48%, #f3e5d7 100%);
    color: var(--brand);
}

.cart-link { display: inline-flex; align-items: center; gap: .2rem; font-size: 0 !important; line-height: 1; }
.cart-link::before { content: '🛒'; display: inline-block; font-size: 1.35rem; line-height: 1; }
.cart-link span { display: inline-grid; place-items: center; min-width: 1.25rem; height: 1.25rem; margin-left: 0; border-radius: 50%; background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700; }
[data-cart-toast] { position: fixed; right: 1rem; bottom: 1rem; z-index: 50; transform: translateY(1rem); opacity: 0; pointer-events: none; padding: .7rem 1rem; border-radius: 999px; background: var(--ink); color: var(--surface); font-size: .82rem; transition: opacity .2s ease, transform .2s ease; }
[data-cart-toast].is-visible { transform: translateY(0); opacity: 1; }
[data-cart-toast].is-error { background: #b42318; color: #fff; }
.header-search { display: flex !important; align-items: center; gap: .35rem; }
.header-search input { width: clamp(220px, 24vw, 320px) !important; min-height: 2.4rem; }
.header-search button { display: inline-grid !important; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; overflow: hidden; border: 0; border-radius: 50%; background: var(--brand); color: #fff; font-size: 0; cursor: pointer; }
.header-search button::before { content: '⌕'; font-size: 1.35rem; line-height: 1; }
@media (max-width: 699px) { .header-search { display: none !important; } }

.badge.sale,
.status-shipped {
    background: var(--vintage);
}

/* Premium storefront finish */
body {
    background:
        radial-gradient(circle at 8% 16%, rgba(211, 168, 121, .16), transparent 26rem),
        linear-gradient(135deg, #f8f5ef 0%, #ffffff 46%, #eef3fb 100%);
}

.site-header {
    background: rgba(255, 253, 249, .86);
    border-bottom-color: rgba(26, 41, 68, .1);
    box-shadow: 0 12px 30px rgba(26, 41, 68, .06);
}

.header-inner {
    min-height: 4.8rem;
}

.site-header .store-logo img {
    width: 46px !important;
    height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    border: 1px solid rgba(211, 168, 121, .3);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(26, 41, 68, .14);
}

.site-header .store-logo span {
    letter-spacing: .08em;
    font-size: .86rem;
    text-transform: uppercase;
}

.desktop-nav {
    gap: 1.6rem;
}

.desktop-nav a {
    position: relative;
    padding: .4rem 0;
    letter-spacing: .02em;
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--vintage);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .2s ease;
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero {
    padding-top: 2rem;
}

.hero .banner-slide {
    border-color: rgba(211, 168, 121, .28);
    background:
        radial-gradient(circle at 78% 18%, rgba(211, 168, 121, .22), transparent 18rem),
        linear-gradient(115deg, #fffdf9 0%, #f3f5fa 58%, #e6edf8 100%);
    box-shadow: 0 26px 70px rgba(26, 41, 68, .13);
}

.hero-copy {
    padding: clamp(1rem, 3vw, 2.5rem);
}

.hero-copy .eyebrow {
    color: var(--accent);
    letter-spacing: .24em;
}

.hero-copy h1 {
    color: var(--brand-strong);
    letter-spacing: -.055em;
    text-wrap: balance;
}

.hero-copy p {
    max-width: 30rem;
}

.hero-art.brand-logo {
    min-height: 100%;
    border: 1px solid rgba(26, 41, 68, .06);
    background:
        radial-gradient(circle at 35% 28%, #fff 0%, rgba(255, 255, 255, .76) 32%, transparent 33%),
        linear-gradient(145deg, #e7edf8 0%, #fbf7f0 100%);
}

.hero-art.brand-logo .brand-badge {
    border: 1px solid rgba(211, 168, 121, .36);
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 28px 60px rgba(26, 41, 68, .16);
}

.section {
    padding-top: clamp(2.8rem, 6vw, 5rem);
}

.section-heading {
    align-items: end;
    margin-bottom: 1.35rem;
    border-bottom: 1px solid rgba(26, 41, 68, .12);
    padding-bottom: .85rem;
}

.section-heading h2 {
    color: var(--brand-strong);
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    letter-spacing: -.045em;
}

.section-heading .muted {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: .03em;
}

.product-card {
    border-color: rgba(26, 41, 68, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 14px 36px rgba(26, 41, 68, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product-card:hover {
    border-color: rgba(211, 168, 121, .6);
    box-shadow: 0 20px 42px rgba(26, 41, 68, .14);
    transform: translateY(-5px);
}

.product-image-wrap {
    background: linear-gradient(145deg, #f3f5f8, #fffaf3);
}

.product-card-body {
    padding: 1rem 1.1rem 1.15rem;
}

.product-category {
    color: var(--accent);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.product-card-body h3 a {
    color: var(--brand-strong);
}

.price-row strong {
    color: var(--brand-strong);
}

.full-button {
    width: 100%;
    min-height: 2.65rem;
    font-size: .78rem;
}

@media (max-width: 699px) {
    .header-inner {
        min-height: 4.3rem;
    }

    .site-header .store-logo img {
        width: 36px !important;
        height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
    }

    .site-header .store-logo span {
        font-size: .7rem;
        letter-spacing: .04em;
    }

    .hero-copy {
        padding: .8rem;
    }

    .section-heading {
        margin-bottom: 1rem;
    }
}
