/* Varman Essentials, storefront styles */
:root {
  --g900: #06361e;
  --g800: #0b4a2b;
  --g700: #15693f;
  --gold: #c9a24b;
  --gold-l: #e8cd82;
  --gold-d: #9c7a2c;
  --cream: #f7f1e1;
  --cream-2: #efe6cf;
  --paper: #fffdf8;
  --ink: #1b2620;
  --muted: #5c675b;
  --line: #e3dac2;
  --danger: #a3261d;
  --ok: #1d7a46;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(6, 54, 30, 0.12);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--g900); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--g800); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--g800); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }

/* Announcement + header */
.announce { background: var(--g900); color: var(--gold-l); font-size: .84rem; letter-spacing: .04em; text-align: center; padding: 8px 12px; }
.announce span + span::before { content: "•"; margin: 0 12px; opacity: .6; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 253, 248, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--g800); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: .14em; line-height: 1; color: var(--g800); }
.brand-text small { display: block; font-family: var(--sans); font-weight: 600; font-size: .6rem; letter-spacing: .38em; color: var(--gold-d); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: var(--gold); color: var(--g800); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--g800); padding: 9px 14px; border-radius: 999px; font: 600 .9rem var(--sans); cursor: pointer; }
.icon-btn:hover { border-color: var(--gold); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count { background: var(--g800); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; font-size: .75rem; }
.cart-count[data-n="0"] { display: none; }
.menu-btn { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 1rem var(--sans); padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-l), var(--gold)); color: var(--g900); box-shadow: 0 6px 18px rgba(201, 162, 75, 0.35); }
.btn-gold:hover { box-shadow: 0 10px 24px rgba(201, 162, 75, 0.5); color: var(--g900); }
.btn-green { background: var(--g800); color: #fff; }
.btn-green:hover { background: var(--g700); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-outline { background: #fff; border-color: var(--g800); color: var(--g800); }
.btn-outline:hover { background: var(--g800); color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-block { width: 100%; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% 10%, rgba(21, 105, 63, .9), transparent 60%), linear-gradient(135deg, var(--g900), var(--g800) 60%, #0e5a34); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(232, 205, 130, .12) 1px, transparent 1px); background-size: 26px 26px; opacity: .6; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 70px 0 80px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 18px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--gold-l); }
.hero p.lead { font-size: 1.12rem; color: #dcebdf; max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; color: #cfe3d4; font-size: .92rem; }
.hero-points li::before { content: "✓"; color: var(--gold-l); margin-right: 8px; font-weight: 700; }
.hero-art { position: relative; height: 520px; }
.hero-art img { position: absolute; width: 56%; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); }
.hero-art .p1 { left: 22%; top: 2%; z-index: 3; width: 58%; }
.hero-art .p2 { left: -2%; top: 18%; transform: rotate(-9deg); z-index: 2; }
.hero-art .p3 { right: -2%; top: 18%; transform: rotate(9deg); z-index: 2; }

/* Trust strip */
.trust { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .92rem; color: var(--g800); }
.trust svg { width: 28px; height: 28px; color: var(--gold-d); flex: none; }
.trust small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--cream); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--gold-d); }
.section-head p { color: var(--muted); }
.rule { width: 70px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-l)); border: 0; margin: 14px auto 0; border-radius: 3px; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { display: block; position: relative; background: radial-gradient(circle at 50% 35%, #fff, var(--cream-2)); padding: 26px 40px 16px; }
.card-media img { width: 100%; aspect-ratio: 600 / 780; object-fit: contain; }
.chip { position: absolute; top: 14px; left: 14px; background: var(--g800); color: var(--gold-l); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.chip.out { background: var(--danger); color: #fff; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.55rem; }
.card-body h3 a { text-decoration: none; color: inherit; }
.card-sub { color: var(--gold-d); font-weight: 600; font-size: .86rem; letter-spacing: .04em; }
.card-short { color: var(--muted); font-size: .94rem; margin: 6px 0 10px; flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--g800); line-height: 1; }
.per { color: var(--muted); font-size: .85rem; }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.card-actions .btn { padding: 12px 18px; font-size: .95rem; }
.tax-note { color: var(--muted); font-size: .78rem; margin: 10px 0 0; }

/* About / values */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-art { background: linear-gradient(135deg, var(--g800), var(--g700)); border-radius: 24px; padding: 40px; color: #fff; position: relative; overflow: hidden; }
.about-art::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(232, 205, 130, .35); right: -80px; bottom: -80px; }
.about-art blockquote { margin: 0; font-family: var(--serif); font-size: 2rem; line-height: 1.25; }
.about-art cite { display: block; margin-top: 18px; font: 600 .8rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-l); font-style: normal; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.value svg { width: 38px; height: 38px; color: var(--gold-d); margin-bottom: 14px; }
.value h3 { font-size: 1.35rem; }
.value p { color: var(--muted); margin: 0; font-size: .95rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--g900), var(--g800)); color: #fff; padding: 56px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe3d4; max-width: 560px; margin-inline: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 860px; margin-inline: auto; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.contact-card h3 { font-size: 1.3rem; }
.contact-card p { margin: 0 0 6px; color: var(--muted); }
.contact-card a { font-weight: 600; }

/* Footer */
.site-footer { background: var(--g900); color: #cfe3d4; padding: 64px 0 24px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: var(--gold-l); font-family: var(--sans); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #cfe3d4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer .brand-text { color: #fff; }
.site-footer .brand-text small { color: var(--gold-l); }
.footer-note { margin-top: 14px; color: #a9c4b0; max-width: 28em; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #9dbba5; font-size: .84rem; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pay-badges span { border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; padding: 3px 9px; font-size: .75rem; letter-spacing: .06em; color: #dcebdf; }

/* Cart drawer */
.overlay { position: fixed; inset: 0; background: rgba(8, 20, 13, .55); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 90; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(430px, 100%); background: var(--paper); z-index: 100; transform: translateX(105%); transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .2); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.7rem; }
.close-btn { border: 0; background: transparent; font-size: 1.9rem; line-height: 1; cursor: pointer; color: var(--g800); padding: 4px 10px; border-radius: 8px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; background: #fff; }
.line { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 70px; aspect-ratio: 600 / 780; object-fit: contain; background: var(--cream); border-radius: 8px; }
.line h4 { font-family: var(--sans); font-size: .95rem; margin: 0; color: var(--ink); }
.line small { color: var(--muted); display: block; }
.line .lp { font-weight: 600; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; margin-top: 8px; }
.qty button { border: 0; background: transparent; width: 32px; height: 32px; font-size: 1.1rem; cursor: pointer; color: var(--g800); border-radius: 50%; }
.qty span { min-width: 26px; text-align: center; font-weight: 600; font-size: .92rem; }
.rm { border: 0; background: none; color: var(--danger); font-size: .78rem; cursor: pointer; margin-top: 8px; padding: 0; text-decoration: underline; }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.sum-row { display: flex; justify-content: space-between; margin: 6px 0; color: var(--muted); }
.sum-row.total { color: var(--ink); font-weight: 700; font-size: 1.15rem; margin: 12px 0 16px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: var(--g900); color: #fff; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s; z-index: 120; font-size: .93rem; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Product page */
.crumbs { font-size: .86rem; color: var(--muted); padding: 22px 0 6px; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 18px 0 70px; align-items: start; }
.gallery { position: sticky; top: 100px; }
.gallery-main { background: radial-gradient(circle at 50% 35%, #fff, var(--cream-2)); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.gallery-main img { width: 100%; max-height: 640px; object-fit: contain; margin-inline: auto; }
.thumbs { display: flex; gap: 12px; margin-top: 14px; }
.thumbs button { border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 4px; cursor: pointer; width: 84px; }
.thumbs button[aria-current="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pdp h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 4px; }
.pdp .card-sub { font-size: 1rem; }
.pdp .price { font-size: 2.8rem; }
.buy-box { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin: 22px 0; }
.buy-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.buy-row .qty { margin: 0; }
.ticks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.ticks li::before { content: "✓"; color: var(--g700); font-weight: 700; margin-right: 10px; }
.specs { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .94rem; }
.specs th, .specs td { text-align: left; padding: 11px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 34%; color: var(--muted); font-weight: 500; }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; text-align: center; font-size: .78rem; color: var(--muted); }
.assure div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 6px; background: #fff; }
.assure svg { width: 22px; height: 22px; color: var(--gold-d); display: block; margin: 0 auto 6px; }

/* Forms / checkout */
.page-title { padding: 38px 0 6px; }
.checkout { display: grid; grid-template-columns: 1.25fr .85fr; gap: 40px; padding: 18px 0 80px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.panel h2 { font-size: 1.7rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .88rem; color: var(--g800); }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1.5px solid #d6ccb0; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--g700); box-shadow: 0 0 0 3px rgba(21, 105, 63, .15); }
.field .err { color: var(--danger); font-size: .8rem; min-height: 1em; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.hp { position: absolute; left: -5000px; }
.sticky { position: sticky; top: 100px; }
.secure { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .86rem; margin-top: 14px; }
.secure svg { width: 20px; height: 20px; color: var(--ok); flex: none; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: .93rem; }
.alert.error { background: #fdecea; color: var(--danger); border: 1px solid #f3c1bc; }
.alert.info { background: #eef6f0; color: var(--g800); border: 1px solid #cfe3d4; }

/* Status page */
.status-card { max-width: 640px; margin: 50px auto 90px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 44px 30px; box-shadow: var(--shadow); }
.status-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; font-size: 2.2rem; color: #fff; }
.status-icon.ok { background: var(--ok); }
.status-icon.fail { background: var(--danger); }
.status-icon.wait { background: var(--gold-d); }
.status-meta { background: var(--cream); border-radius: 12px; padding: 14px; margin: 18px 0; font-size: .92rem; text-align: left; }
.status-meta div { display: flex; justify-content: space-between; padding: 4px 0; gap: 12px; }

/* Policy pages */
.prose { max-width: 800px; padding-bottom: 80px; }
.prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.updated { color: var(--muted); font-size: .88rem; }
.notice { background: var(--cream); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 8px; margin: 18px 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; padding: 44px 0 54px; }
  .hero-art { height: 420px; order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .about, .pdp, .checkout { grid-template-columns: 1fr; gap: 32px; }
  .gallery, .sticky { position: static; }
  .values { grid-template-columns: 1fr; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { position: absolute; top: 74px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 16px; border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .brand-text { font-size: 1.2rem; }
  .brand-text small { letter-spacing: .26em; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .announce span:nth-child(n+2) { display: none; }
  .cart-label { display: none; }
  .hero-art { height: 340px; }
  .assure { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .announce, .site-header, .site-footer, .drawer, .overlay { display: none; } }
