:root {
    --chocolate: #482718;
    --gold: #A87919;
    --gold-dark: #8b6414;
    --cream: #F8F1E5;
    --beige: #E9D9C1;
    --white: #FFFFFF;
    --ink: #24170F;
    --muted: #6d5848;
    --line: rgba(36, 23, 15, 0.12);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
    --shadow: 0 18px 50px rgba(36, 23, 15, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }

.skip-link {
    position: absolute;
    left: 16px;
    top: -40px;
    background: var(--chocolate);
    color: var(--cream);
    padding: 8px 12px;
    z-index: 200;
}
.skip-link:focus { top: 8px; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.container { max-width: 1160px; }

.icon { width: 18px; height: 18px; flex: 0 0 auto; }
.flag-icon { width: 22px; height: 15px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(36, 23, 15, 0.08); }

.announce {
    background: var(--chocolate);
    color: var(--cream);
    font-size: 12.5px;
    letter-spacing: 0.04em;
}
.announce-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.announce-group, .announce-ship, .announce span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.announce-group { gap: 22px; }
.announce .icon { width: 15px; height: 15px; opacity: 0.9; }

.nav-bar { background: rgba(255, 255, 255, 0.96); position: relative; }
.nav-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    min-width: 180px;
}
.brand-mark { width: 42px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.brand-sub {
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}
.nav-links > a, .has-sub > a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    position: relative;
    padding: 8px 0;
}
.nav-links > a.active::after, .has-sub > a.active::after,
.nav-links > a:hover::after, .has-sub > a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px;
    background: var(--ink);
}
.has-sub { position: relative; }
.sub-menu {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 210px;
    background: var(--white);
    border: 1px solid var(--beige);
    padding: 8px;
    box-shadow: var(--shadow);
    z-index: 20;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: block; }
.sub-menu a {
    display: block;
    padding: 9px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}
.sub-menu a:hover { background: var(--cream); }
.nav-tools { display: flex; align-items: center; gap: 4px; }
.icon-btn {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}
.icon-btn:hover { background: var(--cream); }
.cart-count {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 99px;
    background: var(--gold);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.account-menu { position: relative; }
.account-menu .menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 180px;
    background: var(--white);
    border: 1px solid var(--beige);
    box-shadow: var(--shadow);
    padding: 8px;
    z-index: 20;
}
.account-menu:hover .menu, .account-menu:focus-within .menu { display: block; }
.account-menu .menu a {
    display: block;
    padding: 9px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}
.account-menu .menu a:hover { background: var(--cream); }
.nav-toggle { display: none; }
.search-panel {
    border-top: 1px solid var(--line);
    background: var(--white);
    padding: 16px 0 18px;
}
.search-form { display: flex; gap: 10px; }
.search-form .field { flex: 1; }
.mobile-nav {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--beige);
    padding: 8px 20px 18px;
}
.mobile-nav.open { display: block; animation: menuIn .28s ease; }
.mobile-nav a {
    display: block;
    padding: 12px 4px;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
}
.mobile-nav a.sub { padding-left: 16px; color: var(--muted); font-size: 14px; }

@keyframes menuIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

.btn-gold, .btn-outline, .btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 3px;
    text-decoration: none;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: #c8b49a; }
.btn-outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-dark { background: var(--chocolate); color: var(--cream); border-color: var(--chocolate); }
.btn-dark:hover { background: var(--ink); color: var(--cream); }
.btn-sm { min-height: 42px; padding: 10px 16px; font-size: 12px; }
.btn-gold:disabled, .btn-dark:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.hero {
    background:
        radial-gradient(900px 420px at 78% 40%, rgba(233, 217, 193, 0.55), transparent 70%),
        linear-gradient(180deg, #fbf7f1 0%, var(--cream) 100%);
    padding: 28px 0 10px;
    overflow: hidden;
}
.hero-copy { padding: 24px 0 36px; }
.hero h1 {
    font-size: clamp(46px, 5.4vw, 72px);
    line-height: 0.98;
    color: var(--ink);
    margin: 0 0 22px;
}
.hero h1 em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
}
.hero-lead {
    max-width: 460px;
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 28px;
}
.hero-photo {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    max-height: 560px;
}

.trust {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
}
.trust-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: left;
    color: var(--ink);
    font-size: 12.5px;
    line-height: 1.25;
    font-weight: 500;
    white-space: nowrap;
}
.trust-item .icon { color: var(--gold); width: 22px; height: 22px; }
.trust-note {
    margin: 14px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

.section { padding: 84px 0; }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head h2, .story h2, .page-hero h1, .split h2 {
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.05;
    margin: 0 0 10px;
}
.section-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.section-kicker::before, .section-kicker::after {
    content: "";
    width: 72px;
    height: 1px;
    background: var(--gold);
}
.section-head p, .lede { color: var(--muted); font-size: 17px; }
.eyebrow {
    color: var(--gold);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.essentials { background: linear-gradient(180deg, #fff 0%, #fbf7f1 100%); }
.product-grid { --bs-gutter-x: 1.5rem; }
.product-card { height: 100%; display: flex; flex-direction: column; }
.product-media {
    display: block;
    background: #f4efe8;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
}
.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-body { padding: 18px 8px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h3 { font-size: 30px; margin: 0; line-height: 1.1; }
.product-body h3 a { text-decoration: none; }
.product-body h3 a:hover { color: var(--gold-dark); }
.price { font-weight: 600; margin: 0; }
.price span { font-weight: 400; color: var(--muted); font-size: 14px; }
.blurb { color: var(--muted); margin: 0 0 8px; font-size: 15px; }
.product-actions { margin-top: auto; display: flex; align-items: center; gap: 8px; }
.is-feature { text-align: center; }
.is-feature .product-actions { justify-content: center; }
.is-feature .product-body { align-items: center; }
.wish-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--beige);
    background: var(--white);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.wish-btn.is-on { background: var(--gold); color: var(--white); border-color: var(--gold); }
.wish-btn .icon { width: 16px; height: 16px; }
.wish-btn.is-on .icon { fill: currentColor; }

.benefits { background: var(--beige); }
.benefit { text-align: center; padding: 12px 18px; }
.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: rgba(255, 255, 255, 0.45);
}
.benefit-icon .icon { width: 26px; height: 26px; }
.benefit h3 { font-size: 32px; margin-bottom: 8px; }
.benefit p { color: var(--muted); margin: 0; }

.story { background: var(--cream); }
.story-photo, .frame-photo {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    max-height: 520px;
}
.story .btn-outline { margin-top: 8px; background: var(--white); }

.newsletter { background: var(--chocolate); color: var(--cream); padding: 64px 0; }
.newsletter h2 { font-size: clamp(40px, 4vw, 58px); margin: 0 0 8px; color: var(--white); }
.newsletter p { color: rgba(248, 241, 229, 0.82); margin: 0; font-size: 17px; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form .field {
    background: var(--white);
    border-color: transparent;
    min-height: 52px;
}

.site-footer { background: #34190f; color: rgba(248, 241, 229, 0.86); padding: 64px 0 24px; }
.site-footer h3 {
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 14px;
}
.site-footer a { display: block; text-decoration: none; padding: 4px 0; color: inherit; }
.site-footer a:hover { color: var(--white); }
.footer-brand .brand-name, .footer-brand .brand-sub { color: var(--cream); }
.footer-brand .brand-sub { color: #e6c27a; }
.footer-lead { margin-top: 16px; max-width: 320px; }
.footer-contact { display: flex; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; padding: 0; }
.footer-contact .icon { margin-right: 8px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(248, 241, 229, 0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.footer-bottom {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(248, 241, 229, 0.14);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
}
.footer-bottom p { margin: 0; }

.field, .area, .select {
    width: 100%;
    background: var(--white);
    border: 1px solid #e4d3bc;
    color: var(--ink);
    border-radius: 4px;
    padding: 12px 14px;
    min-height: 48px;
    outline: none;
}
.area { min-height: 140px; resize: vertical; }
.field:focus, .area:focus, .select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168, 121, 25, 0.18); }
.form-label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.req { color: var(--gold-dark); }
.form-card, .panel {
    background: var(--white);
    border: 1px solid var(--beige);
    border-radius: 16px;
    padding: 28px;
}
.page-hero {
    background: var(--cream);
    padding: 48px 0 36px;
    text-align: center;
}
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.crumbs a { color: inherit; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pill {
    border: 1px solid var(--beige);
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    border-radius: 99px;
    padding: 8px 14px;
    font-size: 14px;
}
.pill.is-on, .pill:hover { background: var(--chocolate); color: var(--cream); border-color: var(--chocolate); }
.shop-bar { display: flex; justify-content: space-between; gap: 16px; align-items: end; flex-wrap: wrap; margin-bottom: 8px; }
.sort-form { display: flex; align-items: center; gap: 8px; }
.sort-form .select { width: auto; min-width: 180px; }

.pdp { padding: 36px 0 20px; }
.gallery-main {
    background: #f4efe8;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 1;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button {
    width: 76px;
    height: 76px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid transparent;
    overflow: hidden;
    background: #f4efe8;
    cursor: pointer;
}
.thumbs button.is-on, .thumbs button:hover { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-price { font-family: var(--serif); font-size: 36px; margin: 8px 0; }
.pdp-short { font-size: 17px; color: var(--muted); }
.mini-trust { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 18px 0; font-size: 13px; font-weight: 500; }
.mini-trust span { display: inline-flex; align-items: center; gap: 6px; }
.mini-trust .icon { color: var(--gold); }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 16px 0; }
.qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e4d3bc;
    border-radius: 4px;
    overflow: hidden;
    background: var(--white);
}
.qty button {
    width: 42px;
    height: 48px;
    border: 0;
    background: var(--cream);
    cursor: pointer;
    font-size: 18px;
}
.qty input {
    width: 54px;
    height: 48px;
    border: 0;
    text-align: center;
    background: transparent;
}
.stock-note { color: var(--muted); font-size: 14px; }
.allergen {
    background: #f8efe3;
    border-left: 3px solid var(--gold);
    padding: 12px 14px;
    margin: 16px 0;
    font-size: 14px;
}
.detail-block { margin-top: 28px; }
.detail-block h2 { font-size: 32px; margin-bottom: 8px; }
.detail-block ul { padding-left: 18px; }
.detail-block li { margin: 4px 0; }

.cart-layout, .checkout-grid { padding: 28px 0 10px; }
.line {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
}
.line img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; background: #f4efe8; }
.line h3 { font-size: 26px; margin: 0; }
.line h3 a { text-decoration: none; }
.muted { color: var(--muted); }
.linkish { background: none; border: 0; padding: 0; color: var(--gold-dark); text-decoration: underline; cursor: pointer; }
.summary {
    background: var(--cream);
    border-radius: 16px;
    padding: 22px;
    position: sticky;
    top: 120px;
}
.summary-row, .total-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.total-row { font-size: 20px; font-family: var(--serif); border-top: 1px solid var(--beige); padding-top: 10px; margin-top: 10px; }
.empty {
    text-align: center;
    padding: 48px 16px;
}
.empty h2 { font-size: 42px; }

.auth-shell { padding: 36px 0; }
.auth-aside {
    background: var(--chocolate);
    color: var(--cream);
    border-radius: 18px;
    padding: 36px 28px;
    min-height: 100%;
}
.auth-aside h2 { font-size: 46px; color: var(--white); }
.stars { color: #ddd; letter-spacing: 2px; }
.stars .is-on { color: var(--gold); }
.review-card {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}
.review-card h3 { font-size: 26px; margin: 4px 0; }
.ingredient-card, .info-card {
    background: var(--white);
    border: 1px solid var(--beige);
    border-radius: 16px;
    padding: 22px;
    height: 100%;
}
.ingredient-card h3 { font-size: 28px; margin-top: 0; }
.tag {
    display: inline-block;
    margin: 4px 6px 0 0;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold-dark);
    text-decoration: none;
}
.quote {
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.25;
    margin: 0 0 8px;
}
.flash-wrap { padding-top: 14px; }
.flash {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 8px;
}
.flash-success { background: #eef6ea; color: #234018; }
.flash-error { background: #fdeeee; color: #6d221c; }
.account-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.map-frame { border: 0; width: 100%; height: 280px; border-radius: 16px; }
.logo-real { width: min(220px, 70%); margin: 8px auto 0; }

.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }

@media (max-width: 991.98px) {
    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; }
    .announce .hide-md { display: none; }
    .trust-item { white-space: normal; }
    .trust-row { grid-template-columns: 1fr 1fr; }
    .trust-item:last-child { grid-column: 1 / -1; }
    .hero { padding-top: 12px; }
    .section { padding: 60px 0; }
    .summary { position: static; }
}
@media (max-width: 575.98px) {
    .announce .hide-sm { display: none; }
    .announce { font-size: 11px; }
    .brand-name { font-size: 24px; }
    .nav-inner { min-height: 70px; }
    .hero h1 { font-size: 42px; }
    .trust-row { grid-template-columns: 1fr; }
    .trust-item { justify-content: flex-start; }
    .newsletter-form, .search-form, .buy-row { flex-direction: column; align-items: stretch; }
    .line { grid-template-columns: 72px 1fr; }
    .line .line-total { grid-column: 2; }
    .footer-bottom { flex-direction: column; }
    .product-body h3 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; }
    .product-card:hover .product-media img { transform: none; }
}
