:root {
    --aubergine: #14001A;
    --bronze: #A87647;
    --bronze-dark: #6B4237;
    --ivory: #FAF7F4;
    --white: #FFFFFF;
    --shell: #E6E1DC;
    --card: #F3EEE9;
    --ink: #14001A;
    --muted: #6B5B62;
    --line: rgba(20, 0, 26, 0.08);
    --serif: "Cormorant Garamond", "Times New Roman", serif;
    --sans: "Jost", "Segoe UI", sans-serif;
    --radius: 22px;
    --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--shell);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.6;
    min-height: 100vh;
}
.store-body { padding: 14px; }
.sheet {
    position: relative;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    min-height: calc(100vh - 28px);
}

img { max-width: 100%; display: block; }
a { color: var(--bronze); text-decoration: none; }
a:hover { color: var(--bronze-dark); }
h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 0.6rem;
    color: var(--aubergine);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
p { margin: 0 0 1rem; }
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
}
label { display: block; font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 0.9rem; }
label > input,
label > select,
label > textarea { margin-top: 0.35rem; }

.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(680px, 100%); }
.muted { color: var(--muted); }
.lede { font-size: 1.1rem; }

.site-header {
    background: #fff;
    color: var(--aubergine);
    position: sticky;
    top: 0;
    z-index: 20;
}
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
    width: min(1240px, calc(100% - 2.4rem));
    margin: 0 auto;
}
.brand-cluster {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}
.brand {
    display: flex;
    align-items: center;
    color: var(--aubergine);
}
.brand:hover { color: var(--aubergine); }
.brand-wordmark { width: 200px; height: auto; }
.brand-mark { display: none; height: 40px; width: auto; }
.top-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}
.icon-btn.nav-close { display: none; }
.drawer-head { display: none; }
.drawer-extra { display: none; }
.nav-backdrop { display: none; }
.text-link { color: var(--aubergine); font-size: 0.95rem; padding: 0.4rem 0.55rem; }
.text-link:hover { color: var(--aubergine); }
.search-open { display: inline-grid; }
.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: var(--aubergine);
    display: inline-grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    position: relative;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { color: var(--bronze); }
.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 1rem;
    height: 1rem;
    border-radius: 99px;
    background: var(--bronze);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 0.62rem;
}
.nav-toggle { display: none; }
.site-nav {
    width: min(1240px, calc(100% - 2.4rem));
    margin: 0 auto 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.7rem;
    padding: 0.15rem 0 0.9rem;
}
.drawer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.7rem;
}
.site-nav a {
    color: var(--aubergine);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.2rem 0;
    border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a.is-active {
    color: var(--aubergine);
    border-bottom-color: var(--aubergine);
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 14vh 1.25rem 1.25rem;
    background: rgba(20, 0, 26, 0.46);
}
.search-modal[hidden] { display: none; }
.search-modal-card {
    position: relative;
    width: min(560px, 100%);
    background: #fff;
    border-radius: 22px;
    padding: 1.4rem 1.3rem 1.3rem;
    box-shadow: 0 24px 60px rgba(20, 0, 26, 0.2);
}
.search-modal-card h2 { margin-bottom: 0.8rem; }
.search-modal-card form { display: flex; gap: 0.6rem; align-items: center; }
.search-modal-card input { flex: 1; }
.search-modal-card .btn { flex: none; }
.search-close {
    position: absolute;
    top: 0.7rem;
    right: 0.8rem;
    border: 0;
    background: transparent;
    color: var(--aubergine);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.hero-banner {
    position: relative;
    width: min(1440px, calc(100% - 2.4rem));
    margin: 2.5rem auto 0;
    height: 550px;
    border-radius: 26px;
    overflow: hidden;
    background: var(--aubergine);
    color: #fff;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}
.hero-slide.is-on { opacity: 1; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-photo-alt { object-position: 70% center; }
.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 0, 26, 0.55) 0%, rgba(20, 0, 26, 0.18) 48%, rgba(20, 0, 26, 0.05) 100%);
}
.hero-copy {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    max-width: 640px;
    padding: 3.2rem 3rem 0;
}
.hero-copy h1 {
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(3rem, 5.2vw, 4.7rem);
    letter-spacing: -0.045em;
    color: #fff;
    margin: 0 0 0.85rem;
}
.hero-lead {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    max-width: 34rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.45;
}
.hero-lead svg { width: 18px; height: 18px; flex: none; margin-top: 0.15rem; }
.hero-navs {
    position: absolute;
    z-index: 2;
    top: 1.15rem;
    right: 1.15rem;
    display: flex;
    gap: 0.45rem;
}
.hero-nav {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--aubergine);
    display: grid;
    place-items: center;
    cursor: pointer;
}
.hero-nav svg { width: 16px; height: 16px; }
.hero-cta {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}
.pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: #fff;
    color: var(--aubergine);
    border-radius: 999px;
    padding: 0.42rem 0.42rem 0.42rem 1.15rem;
    font-weight: 500;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.pill-btn:hover { color: var(--aubergine); }
.pill-btn .arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--aubergine);
    color: #fff;
    display: grid;
    place-items: center;
}
.pill-btn .arrow svg { width: 15px; height: 15px; }
.hero-more { color: #fff; font-size: 0.95rem; }
.hero-more:hover { color: #fff; }

.section { padding: 4.2rem 0; }
.section-tight { padding-top: 0.5rem; }
.section-head { margin-bottom: 1.8rem; }
.section-head.center,
.browse .section-head { text-align: center; }
.section-head p { max-width: 38rem; margin: 0.4rem auto 0; color: var(--muted); }
.page-head {
    background: transparent;
    color: var(--aubergine);
    padding: 2.2rem 0 0.4rem;
}
.page-head a { color: var(--bronze); }
.page-banner,
.mid-banner {
    position: relative;
    width: min(1240px, calc(100% - 2.4rem));
    margin: 1.4rem auto 0;
    min-height: 280px;
    border-radius: 26px;
    overflow: hidden;
    color: #fff;
}
.mid-banner { min-height: 340px; margin: 2.4rem auto; }
.page-banner img,
.mid-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-banner-shade,
.mid-banner-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 0, 26, 0.62) 0%, rgba(20, 0, 26, 0.22) 58%, rgba(20, 0, 26, 0.08) 100%);
}
.page-banner-copy,
.mid-banner-copy {
    position: relative;
    z-index: 1;
    max-width: 34rem;
    padding: 3.2rem 3rem;
}
.page-banner h1,
.mid-banner h2 { color: #fff; margin-bottom: 0.6rem; }
.page-banner .eyebrow,
.mid-banner .eyebrow { color: #e4c9a8; }
.page-banner p,
.mid-banner p { color: rgba(255, 255, 255, 0.88); }
.contact-section { padding-top: 2.4rem; }
.contact-layout {
    width: min(1240px, calc(100% - 2.4rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.4rem;
    align-items: start;
}
.contact-form-card,
.contact-card {
    background: #f7f3ef;
    border-radius: 22px;
    padding: 1.5rem 1.4rem 1.6rem;
}
.contact-form-card h2,
.contact-card h3 { margin-bottom: 0.35rem; }
.contact-aside { display: grid; gap: 1rem; }
.contact-card p { margin-bottom: 0.45rem; }
.contact-card .promo-link { color: var(--aubergine); }
.shop-cats {
    width: min(1240px, calc(100% - 2.4rem));
    margin: 3.2rem auto 0;
    padding: 2.4rem 0 1.2rem;
}
.shop-cats-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}
.shop-cats-head h2 { margin: 0; }
.view-all,
.promo-link {
    color: var(--muted);
    font-size: 0.92rem;
    white-space: nowrap;
}
.view-all:hover,
.promo-link:hover { color: var(--aubergine); }
.cat-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 140px));
    justify-content: start;
    gap: 0.85rem 1.1rem;
}
.cat-row-page {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    color: var(--aubergine);
    text-align: center;
    min-width: 0;
}
.cat-tile:hover { color: var(--aubergine); }
.cat-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 22px;
    background: #f3f0ec;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 0.85rem;
}
.cat-icon img { width: 72%; height: 72%; object-fit: contain; }
.cat-svg { width: 56%; height: 56%; color: var(--aubergine); }
.cat-icon span { font-family: var(--serif); font-size: 1.8rem; }
.cat-name { font-size: 0.92rem; font-weight: 500; }
.promo-row {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}
.promo-card {
    min-height: 176px;
    border-radius: 22px;
    padding: 1.35rem 1.2rem 1.2rem 1.4rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.6rem;
    overflow: hidden;
    color: var(--aubergine);
}
.promo-card:hover { color: var(--aubergine); }
.promo-card h3 {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1.35rem;
    margin: 0 0 0.35rem;
}
.promo-card p { margin: 0 0 0.7rem; color: var(--muted); font-size: 0.92rem; }
.promo-card img { width: 100%; height: 132px; object-fit: contain; }
.promo-sale { background: #f4e4d4; }
.promo-fresh { background: #f6f3ef; }
.promo-glyph {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(20, 0, 26, 0.08);
    color: var(--aubergine);
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    font-weight: 600;
}
.promo-member {
    background: #171417;
    color: #fff;
    grid-template-columns: 1fr auto;
}
.promo-member:hover { color: #fff; }
.promo-member h3,
.promo-member p,
.promo-member .promo-kicker { color: #fff; }
.promo-member p { color: rgba(255, 255, 255, 0.78); }
.promo-kicker {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.68rem;
    margin: 0 0 0.35rem;
}
.promo-percent {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #c9a227;
    color: #171417;
    display: grid;
    place-items: center;
    font-size: 2.4rem;
    font-weight: 700;
}
.filter-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 auto 1.6rem;
    width: min(var(--max), calc(100% - 2rem));
}
.filter-pill {
    border: 0;
    background: var(--card);
    color: var(--aubergine);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    cursor: pointer;
}
.filter-pill.is-active { background: var(--aubergine); color: var(--white); }
.eyebrow {
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--bronze);
    margin-bottom: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid transparent;
    padding: 0.75rem 1.3rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    cursor: pointer;
    background: none;
    border-radius: var(--radius);
}
.btn-gold { background: linear-gradient(135deg, var(--bronze), var(--bronze-dark)); color: var(--white); }
.btn-gold:hover { color: var(--white); filter: brightness(1.05); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.linkish { background: none; border: 0; color: var(--bronze); cursor: pointer; padding: 0; }

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.category-tile {
    aspect-ratio: 1;
    background: var(--aubergine);
    color: var(--white);
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 1.6rem;
}
.category-tile:hover { color: var(--bronze); }

.product-grid {
    width: min(1240px, calc(100% - 2.4rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
}
.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(20, 0, 26, 0.06);
    border-radius: 22px;
    padding: 0.55rem 0.55rem 0.9rem;
    box-shadow: 0 10px 28px rgba(20, 0, 26, 0.04);
}
.product-card[hidden] { display: none; }
.card-media {
    position: relative;
    aspect-ratio: 1 / 1.05;
    background: #f3f0ec;
    overflow: hidden;
    border-radius: 16px;
    display: grid;
    place-items: center;
    padding: 0.9rem;
}
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 0.9rem 0.4rem 0.1rem; }
.card-blurb {
    color: #8d8488;
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0 0 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}
.card-body h3 {
    font-size: 1.25rem;
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}
.card-body h3 a { color: var(--aubergine); }
.card-body h3 a:hover { color: var(--aubergine); }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.card-actions { display: flex; align-items: center; gap: 0.1rem; }
.price { display: flex; gap: 0.55rem; align-items: center; margin: 0; }
.price-pill,
.price-lg .price-now {
    background: var(--aubergine);
    color: var(--white);
    border-radius: 999px;
    padding: 0.48rem 0.8rem;
    font-size: 0.84rem;
    font-weight: 500;
}
.price-lg .price-now { font-size: 1rem; padding: 0.45rem 0.85rem; }
.price-was { color: var(--muted); text-decoration: line-through; font-size: 0.85rem; }
.wish-btn {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #b5adb0;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}
.wish-btn svg { width: 20px; height: 20px; }
.wish-btn.is-on { color: var(--bronze); }
.wish-btn.is-on svg path { fill: var(--bronze); }
.bag-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f1ef;
    color: var(--aubergine);
    display: grid;
    place-items: center;
}
.bag-btn svg { width: 18px; height: 18px; }
.bag-btn:hover { background: var(--aubergine); color: #fff; }
.sale-badge {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    background: var(--bronze);
    color: var(--white);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.25rem 0.45rem;
    border-radius: 999px;
}
.price-lg .sale-badge { position: static; }

.media-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 4rem;
    color: var(--bronze);
    background: #efe8e2;
}
.media-fallback.large { min-height: 360px; }

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.6rem;
}
.check { display: flex; align-items: center; gap: 0.45rem; }
.check input { width: auto; }

.list-banner {
    width: min(1240px, calc(100% - 2.4rem));
    margin: 1.2rem auto 2rem;
    min-height: 220px;
    border-radius: 22px;
    overflow: hidden;
    background: #efe8e2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}
.list-banner-media { min-height: 220px; }
.list-banner-media img { width: 100%; height: 100%; object-fit: cover; }
.list-banner-copy {
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.list-banner-copy h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 0.45rem;
}
.list-banner-copy p { margin: 0; color: var(--muted); }
.catalog {
    width: min(1240px, calc(100% - 2.4rem));
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2.2rem;
    align-items: start;
}
.catalog-crumb { color: var(--muted); font-size: 0.82rem; margin-bottom: 0.4rem; }
.catalog-crumb a { color: var(--muted); }
.catalog-crumb a:hover { color: var(--aubergine); }
.catalog-side h2 { font-size: 1.45rem; margin-bottom: 1.2rem; }
.catalog-side h3 {
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 1.1rem 0 0.45rem;
}
.catalog-nav { display: grid; }
.catalog-nav a {
    color: var(--aubergine);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}
.catalog-nav a:hover,
.catalog-nav a.is-active { color: var(--aubergine); font-weight: 600; }
.catalog-filters label { margin-bottom: 0.7rem; }
.catalog-filters select { margin-top: 0.3rem; }
.catalog-grid {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
}

.product-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
}
.gallery-main {
    border-radius: 22px;
    background: var(--card);
    aspect-ratio: 1;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 1.4rem;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.thumb { width: 72px; height: 72px; padding: 0.35rem; border: 1px solid var(--line); background: #efe8e2; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.buy-form { margin: 1.4rem 0; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.spec-table th,
.spec-table td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.spec-table th { width: 40%; color: var(--muted); font-weight: 400; }

.cart-row {
    display: grid;
    grid-template-columns: 88px 1fr 90px 100px auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}
.cart-media { aspect-ratio: 1; background: #efe8e2; border: 1px solid var(--line); }
.cart-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-actions { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 1.4rem 0 0; }
.checkout-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; }
.summary-card { border: 1px solid var(--line); padding: 1.4rem; background: var(--white); }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 0.6rem; font-weight: 500; }
.stack-form { display: flex; flex-direction: column; }
.sandbox-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { padding: 0.4rem 0; border-bottom: 1px solid var(--line); }

.our-blog {
    width: min(1240px, calc(100% - 2.4rem));
    margin: 0 auto;
    padding-top: 1.5rem;
}
.blog-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}
.blog-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1rem;
    align-items: center;
}
.blog-media {
    display: block;
    border-radius: 22px;
    overflow: hidden;
    background: var(--card);
    aspect-ratio: 1.15 / 1;
}
.blog-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-copy h3 {
    font-family: var(--sans);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.blog-copy h3 a { color: var(--aubergine); }
.blog-copy p { color: var(--muted); margin: 0 0 0.7rem; }
.blog-date { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.post-hero {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 1.4rem;
    background: var(--card);
}

.site-end {
    margin-top: 4.5rem;
    background: #171417;
    padding: 0 0 1.2rem;
}
.newsletter {
    width: min(1240px, calc(100% - 2.4rem));
    margin: 0 auto;
    padding: 0 0 2.4rem;
    background: linear-gradient(#fff 58%, transparent 58%);
}
.newsletter-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    border-radius: 32px;
    padding: 1.2rem 2rem 1.2rem 1.4rem;
    box-shadow: 0 18px 50px rgba(20, 0, 26, 0.08);
}
.newsletter-visual {
    min-height: 220px;
    display: grid;
    place-items: center;
}
.newsletter-visual img {
    max-height: 240px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(20, 0, 26, 0.16));
}
.newsletter-copy h2 {
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.1rem);
    letter-spacing: -0.04em;
    margin-bottom: 0.45rem;
}
.newsletter-copy p { color: var(--muted); margin-bottom: 1.1rem; }
.newsletter-form {
    display: flex;
    align-items: center;
    max-width: 420px;
    background: #ece7e2;
    border-radius: 999px;
    padding: 0.28rem 0.28rem 0.28rem 0.2rem;
}
.newsletter-form input {
    border: 0;
    background: transparent;
    padding: 0.7rem 1rem;
    flex: 1;
    min-width: 0;
}
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
    border: 0;
    background: #fff;
    color: var(--aubergine);
    border-radius: 999px;
    padding: 0.7rem 1.25rem;
    font-weight: 500;
    cursor: pointer;
}
.newsletter-form button:hover { background: var(--ivory); }

.site-footer { background: transparent; color: #f4ebe3; padding: 1.2rem 0 0.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.footer-wordmark { width: min(220px, 80%); margin-bottom: 0.8rem; }
.footer-brand .tagline { color: #c8b8ad; }
.site-footer h3 {
    font-family: var(--sans);
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
    margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 0.45rem; }
.site-footer a { color: #c8b8ad; }
.site-footer a:hover { color: #fff; }
.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: #c8b8ad;
}
.footer-credit a {
    color: #f4ebe3;
    letter-spacing: 0.12em;
    font-weight: 500;
}
.footer-credit a:hover { color: var(--bronze); }

.flashes { padding: 1rem 0 0; }
.flash { padding: 0.75rem 0.9rem; margin-bottom: 0.6rem; border: 1px solid var(--line); }
.flash-ok { background: #f4efe6; }
.flash-err { background: #f8e8e6; color: #6b2b2b; }
.empty { color: var(--muted); padding: 1.5rem 0; }

.admin-body {
    min-height: 100vh;
    margin: 0;
    padding: 18px;
    background: #e4e4e4;
    color: #1c1c1c;
    font-family: Inter, "Segoe UI", sans-serif;
}
.admin-shell {
    display: grid;
    grid-template-columns: 228px minmax(0, 1fr);
    min-height: calc(100vh - 36px);
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
}
.admin-side {
    display: flex;
    flex-direction: column;
    padding: 8px 14px 16px;
    background: #fff;
    border-right: 1px solid #f0f0f0;
}
.admin-logo {
    display: flex;
    align-items: center;
    height: 72px;
    padding: 0 12px;
    color: #111;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.05em;
}
.admin-logo:hover { color: #111; }
.admin-side nav { display: flex; flex-direction: column; gap: 2px; }
.admin-side nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #3a3a3a;
    font-size: 14px;
    font-weight: 500;
}
.admin-side nav a svg { width: 18px; height: 18px; flex: none; }
.admin-side nav a:hover { color: #111; background: #f6f6f6; }
.admin-side nav a.is-active,
.admin-side nav a.is-active:hover { background: #1a1a1a; color: #fff; }
.admin-logout-form { margin-top: auto; }
.admin-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: none;
    color: #6d6d6d;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}
.admin-logout svg { width: 18px; height: 18px; }
.admin-logout:hover { background: #f6f6f6; color: #111; }
.admin-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #f5f5f5;
}
.admin-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 0 22px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}
.crumbs { display: flex; align-items: center; gap: 8px; color: #8d8d8d; font-size: 14px; }
.crumbs a { color: #8d8d8d; }
.crumbs a:hover { color: #111; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-content { padding: 18px 20px 32px; }
.admin-body h1,
.admin-body h2,
.admin-body h3 { font-family: Inter, "Segoe UI", sans-serif; font-weight: 600; letter-spacing: -0.03em; color: #161616; }
.admin-body h1 { font-size: 22px; line-height: 1.25; }
.admin-body h2 { font-size: 16px; }
.admin-body h3 { font-size: 14px; }
.page-title { margin: 0 0 16px; }
.admin-body a { color: #161616; }
.admin-body a:hover { color: #111; }
.admin-body .btn {
    border-radius: 8px;
    padding: 8px 14px;
    letter-spacing: 0;
    text-transform: none;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
}
.admin-body .btn-gold,
.auth-body .btn-gold {
    background: #161616;
    border-color: #161616;
    color: #fff;
    filter: none;
}
.admin-body .btn-gold:hover,
.auth-body .btn-gold:hover { background: #000; color: #fff; filter: none; }
.admin-body .btn-ghost,
.auth-body .btn-ghost {
    background: #fff;
    border: 1px solid #e3e3e3;
    color: #1c1c1c;
}
.admin-body .btn-ghost:hover,
.auth-body .btn-ghost:hover { border-color: #cfcfcf; color: #111; }
.admin-body .linkish { color: #161616; text-decoration: underline; }
.admin-body input,
.admin-body select,
.admin-body textarea { border-radius: 8px; border-color: #e4e4e4; background: #fff; }
.admin-toolbar { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; flex-wrap: wrap; align-items: center; }
.admin-toolbar form { display: flex; gap: 0.5rem; align-items: center; }
.admin-toolbar input,
.admin-toolbar select { width: auto; min-width: 12rem; }
.toolbar-note { margin: 0; color: #8d8d8d; }
.admin-form { max-width: 840px; }
.admin-content > .stack-form,
.admin-content > .admin-form,
.admin-split > .stack-form {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 18px 20px 20px;
}
.admin-form + .admin-form { margin-top: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.repeat-rows { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.7rem; }
.repeat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
#spec-rows .repeat-row { grid-template-columns: 1fr 1fr; }
.image-row { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.image-row figure { width: 96px; margin: 0; }
.image-row img { aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }
.admin-body .data { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid #ececec; border-radius: 12px; overflow: hidden; }
.admin-body .data th,
.admin-body .data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #f1f1f1; vertical-align: top; font-size: 14px; }
.admin-body .data th { background: #fafafa; color: #8a8a8a; font-weight: 500; font-size: 13px; }
.admin-body .data tr:last-child td { border-bottom: 0; }
.row-actions { display: flex; gap: 0.7rem; align-items: center; }
.detail-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 22px 22px 8px;
}
.detail-head { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 28px; align-items: start; }
.detail-kicker { margin: -4px 0 16px; color: #9a9a9a; font-size: 13px; }
.meta-line { display: flex; align-items: center; gap: 28px; margin: 0 0 10px; font-size: 14px; }
.meta-line > span { min-width: 110px; color: #9a9a9a; }
.meta-line strong { font-weight: 600; }
.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    background: #e7f1fb;
    color: #3d7dbe;
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
}
.code-card {
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 18px 12px;
    text-align: center;
}
.code-card span { display: block; color: #8d8d8d; font-size: 12px; }
.code-card strong { display: block; margin: 4px 0; font-size: 32px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.detail-tabs {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 8px;
    border-bottom: 1px solid #efefef;
}
.detail-tabs > a {
    padding: 12px 0 10px;
    color: #8d8d8d;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.detail-tabs > a.is-active { color: #161616; border-bottom-color: #161616; font-weight: 600; }
.detail-tabs > a:hover { color: #161616; }
.tab-action { margin-left: auto; margin-bottom: 8px; }
.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; padding-top: 8px; align-items: start; }
.spec { width: 100%; border-collapse: collapse; }
.spec th,
.spec td { padding: 13px 14px; border-bottom: 1px solid #f1f1f1; text-align: left; font-size: 14px; font-weight: 400; }
.spec th { width: 46%; background: #fafafa; color: #8a8a8a; }
.spec td a { font-weight: 600; }
.detail-side { padding-top: 8px; }
.side-visual {
    display: grid;
    place-items: center;
    min-height: 230px;
    padding: 18px;
    background: #f4f4f4;
    border-radius: 12px;
}
.side-visual img { max-height: 200px; width: auto; object-fit: contain; }
.side-fallback { color: #8a8a8a; font-size: 14px; text-align: center; }
.side-caption { margin: 14px 0 0; text-align: center; }
.side-caption strong,
.side-caption span { display: block; }
.side-caption strong { font-size: 14px; }
.side-caption span { color: #8a8a8a; font-size: 13px; }
.history { margin-top: 22px; }
.history h3 { margin: 0 0 8px; }
.history-head,
.history-row,
.history-empty {
    display: block;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
}
.history-head { background: #f6f6f6; color: #8a8a8a; }
.history-row { display: flex; justify-content: space-between; gap: 12px; }
.history-row span:last-child { color: #8a8a8a; }
.history-empty { color: #8a8a8a; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #f3f3f3; font-size: 12px; letter-spacing: 0; text-transform: capitalize; }
.badge-paid, .badge-delivered, .badge-shipped { background: #e7f1fb; color: #3d7dbe; }
.badge-failed, .badge-cancelled { background: #fdecec; color: #9a3b3b; }
.badge-pending { background: #f3f3f3; color: #666; }
.stock-out { color: #9a3b3b; font-weight: 600; }
.stock-low { color: #9a6230; font-weight: 600; }
.variant-lines { margin-top: 0.55rem; display: flex; flex-direction: column; gap: 0.35rem; }
.variant-line { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin: 0; font-size: 0.9rem; }
.variant-line > input,
.stock-input { width: 90px; min-width: 0; margin-top: 0; }
.admin-split { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; align-items: start; }
.order-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); }
.admin-body .summary-card { background: #fff; border: 1px solid #ececec; border-radius: 12px; }
.inline-edit { display: flex; gap: 0.4rem; align-items: center; }
.admin-body .pills { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 14px; border-bottom: 1px solid #ececec; }
.admin-body .pills a { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 8px 0; margin-bottom: -1px; color: #8d8d8d; background: transparent; }
.admin-body .pills a.is-active,
.admin-body .pills a:hover { background: transparent; color: #161616; border-bottom-color: #161616; }

.auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #e4e4e4;
    padding: 18px;
    font-family: Inter, "Segoe UI", sans-serif;
    color: #1c1c1c;
}
.auth-card {
    width: min(420px, 100%);
    background: #fff;
    border-radius: 18px;
    padding: 28px 28px 22px;
}
.auth-card .admin-logo { height: auto; padding: 0; margin-bottom: 4px; }
.auth-card .detail-kicker { margin-bottom: 18px; }
.auth-card .stack-form { text-align: left; }
.auth-body .btn {
    border-radius: 8px;
    letter-spacing: 0;
    text-transform: none;
    font-family: inherit;
    font-weight: 500;
}

@media (max-width: 980px) {
    .product-grid,
    .category-grid,
    .promo-row,
    .blog-row,
    .blog-card,
    .newsletter-card,
    .contact-layout,
    .list-banner,
    .catalog { grid-template-columns: 1fr; }
    .cat-row,
    .cat-row-page { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .product-layout,
    .checkout-grid,
    .footer-grid,
    .admin-split,
    .order-layout,
    .detail-head,
    .detail-body,
    .admin-shell { grid-template-columns: 1fr; }
    .admin-side { border-right: 0; border-bottom: 1px solid #f0f0f0; }
    .admin-side nav { flex-direction: row; flex-wrap: wrap; }
    .admin-logout-form { margin-top: 8px; }
    .admin-top { height: auto; min-height: 0; padding: 14px 16px; flex-wrap: wrap; }
    .nav-toggle { display: inline-grid; }
    .text-link,
    .account-link,
    .hero-nav.prev { display: none; }
    .search-open { display: inline-grid; }
    .topbar {
        position: relative;
        z-index: 60;
        display: flex;
        width: calc(100% - 1.4rem);
        min-height: 64px;
        background: #fff;
    }
    .brand-cluster { flex: none; }
    .top-links { margin-left: auto; }
    .brand-wordmark { display: none; }
    .brand-mark { display: block; height: 40px; }
    .nav-toggle,
    .icon-btn.nav-close,
    .cart-link {
        width: 40px;
        height: 40px;
    }
    .nav-toggle svg,
    .icon-btn.nav-close svg { width: 32px; height: 32px; }
    .nav-open { overflow: hidden; }
    .nav-open .sheet { overflow: hidden; }
    .nav-open .search-open,
    .nav-open .cart-link,
    .nav-open .brand,
    .nav-open .topbar { display: none; }
    .nav-open .nav-toggle { display: none; }
    .nav-open .site-header {
        background: transparent;
        pointer-events: none;
    }
    .site-header { z-index: 55; }
    .nav-backdrop {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background: rgba(20, 0, 26, 0.38);
        z-index: 40;
    }
    .nav-backdrop[hidden] { display: none; }
    .site-nav {
        position: absolute;
        top: 0;
        left: 0;
        bottom: auto;
        height: 100dvh;
        width: min(82%, 340px);
        margin: 0;
        padding: 1.1rem 1.4rem 2rem;
        background: #fff;
        z-index: 50;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        transform: translateX(-105%);
        transition: transform 0.28s ease;
        overflow-y: auto;
        box-shadow: 8px 0 30px rgba(20, 0, 26, 0.08);
    }
    .site-nav.is-open { transform: translateX(0); }
    .drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0 0 1.3rem;
    }
    .drawer-head .icon-btn.nav-close {
        display: inline-grid;
        width: 40px;
        height: 40px;
        flex: none;
    }
    .drawer-head .nav-close svg { width: 28px; height: 28px; }
    .drawer-head a { display: flex; justify-content: flex-end; }
    .drawer-head img { width: 150px; height: auto; }
    .drawer-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .drawer-extra { display: block; }
    .site-nav a {
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--line);
        letter-spacing: 0.12em;
        font-size: 0.82rem;
    }
    .contact-layout,
    .page-banner,
    .mid-banner,
    .list-banner,
    .catalog { width: calc(100% - 1.4rem); }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .page-banner-copy,
    .mid-banner-copy { padding: 1.6rem 1.2rem; }
    .shop-cats,
    .our-blog,
    .newsletter { width: calc(100% - 1.4rem); }
    .promo-card { grid-template-columns: 1fr auto; }
    .newsletter-card { padding: 1.1rem; border-radius: 24px; }
    .hero-banner { height: 400px; width: calc(100% - 0.5rem); border-radius: 18px; }
    .hero-copy { padding: 1.25rem 1rem 0; max-width: none; }
    .hero-copy h1 { font-size: 1.85rem; }
    .hero-lead { font-size: 0.82rem; max-width: 16rem; }
    .hero-navs { top: 1.15rem; right: 0.7rem; }
    .hero-cta { bottom: 1rem; }
    .pill-btn { font-size: 0.92rem; }
}
@media (max-width: 640px) {
    .store-body { padding: 8px; }
    .sheet { border-radius: 22px; }
    .product-grid { grid-template-columns: 1fr; }
    .cart-row { grid-template-columns: 72px 1fr; }
    .form-grid,
    .repeat-row,
    #spec-rows .repeat-row { grid-template-columns: 1fr; }
    .cart-actions { flex-direction: column; align-items: stretch; }
    .cat-row,
    .cat-row-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .promo-card { min-height: 0; }
    .newsletter { background: linear-gradient(#fff 42%, transparent 42%); }
    .page-banner,
    .mid-banner { min-height: 240px; border-radius: 18px; }
    .catalog-grid { grid-template-columns: 1fr; }
}

@keyframes rise-in {
    from { opacity: 0; transform: translate3d(0, 18px, 0); }
    to { opacity: 1; transform: none; }
}
.hero-copy { animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-cta { animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both; }
.js-motion .reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}
.js-motion .reveal.is-in {
    opacity: 1;
    transform: none;
}
.js-motion .hero-photo,
.js-motion .mid-banner img,
.js-motion .page-banner img,
.js-motion .list-banner-media img {
    will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-copy,
    .hero-cta { animation: none; }
    .js-motion .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
