/* Merakii by Arsh — custom stylesheet (no framework).
   Breakpoints: 640px (sm), 768px (md), 1024px (lg). */

:root {
  --green: #0B3D2E;
  --green-dark: #062821;
  --gold: #C9A15A;
  --gold-light: #E4C888;
  --cream: #FAF6EE;
  --white: #fff;
  --red: #ef4444;
  --success: #15803d;

  --green-90: rgba(11, 61, 46, .9);
  --green-80: rgba(11, 61, 46, .8);
  --green-70: rgba(11, 61, 46, .7);
  --green-60: rgba(11, 61, 46, .6);
  --green-50: rgba(11, 61, 46, .5);
  --green-40: rgba(11, 61, 46, .4);
  --green-30: rgba(11, 61, 46, .3);
  --green-20: rgba(11, 61, 46, .2);
  --green-10: rgba(11, 61, 46, .1);
  --green-05: rgba(11, 61, 46, .05);
  --gold-50: rgba(201, 161, 90, .5);
  --gold-40: rgba(201, 161, 90, .4);
  --gold-30: rgba(201, 161, 90, .3);
  --gold-20: rgba(201, 161, 90, .2);
  --gold-15: rgba(201, 161, 90, .15);
  --gold-10: rgba(201, 161, 90, .1);
  --cream-80: rgba(250, 246, 238, .8);
  --cream-70: rgba(250, 246, 238, .7);
  --cream-50: rgba(250, 246, 238, .5);
  --cream-40: rgba(250, 246, 238, .4);
  --cream-10: rgba(250, 246, 238, .1);

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: Jost, system-ui, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, .25);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--green); font-family: var(--sans); }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; letter-spacing: inherit; }
button { background: transparent; cursor: pointer; padding: 0; }
button:disabled { cursor: not-allowed; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- Layout utilities ---------- */
.container { max-width: 72rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.narrow-3xl { max-width: 48rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.narrow-xl { max-width: 36rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-green { background: var(--green); }
.bg-gold-soft { background: var(--gold-10); }
.section-pad { padding-top: 5rem; padding-bottom: 5rem; }
.section-pad-sm { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.section-pad-xs { padding-top: 3rem; padding-bottom: 3rem; }
.min-h-60 { min-height: 60vh; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.uppercase { text-transform: uppercase; }
.underline { text-decoration: underline; }
.mb-2 { margin-bottom: .5rem; } .mb-3 { margin-bottom: .75rem; } .mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: .5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.text-green { color: var(--green); }
.text-success { color: var(--success); }
.muted-80 { color: var(--green-80); }
.small-muted { font-size: .875rem; line-height: 1.25rem; color: var(--green-60); }
.tiny-muted { font-size: .75rem; line-height: 1rem; color: var(--green-50); }
.opt { color: var(--green-40); }
.hint { font-size: .75rem; line-height: 1rem; color: var(--green-50); }

.icon { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.icon-xs { width: .85rem; height: .85rem; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.75rem; height: 1.75rem; }

/* ---------- Buttons & form controls ---------- */
.btn-primary, .btn-outline {
  display: inline-block; padding: .75rem 1.5rem; border-radius: 9999px; font-weight: 500;
  letter-spacing: .025em; transition: all .15s var(--ease); text-align: center; line-height: 1.5;
}
.btn-primary { background: var(--green); color: var(--gold); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { border: 1px solid var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--gold); }
.btn-primary:disabled, .btn-outline:disabled { opacity: .45; }
.btn-primary:disabled:hover { background: var(--green); }
.btn-outline:disabled:hover { background: transparent; color: var(--green); }
.btn-sm { font-size: .875rem; line-height: 1.25rem; }
.w-fit { width: fit-content; }

.label { display: block; font-size: .875rem; line-height: 1.25rem; color: var(--green); margin-bottom: .25rem; }
.label-inline { font-size: .875rem; line-height: 1.25rem; color: var(--green); }
.input {
  width: 100%; border: 1px solid var(--green-30); border-radius: .5rem; padding: .5rem 1rem;
  background: var(--white); line-height: 1.5;
}
.input:focus, .inp:focus { outline: none; border-color: var(--gold); }
textarea.input { resize: vertical; }
.input-flex { flex: 1; width: auto; min-width: 0; }
.msg-error { color: var(--red); font-size: .875rem; line-height: 1.25rem; }
.msg-success { color: var(--success); font-size: .875rem; line-height: 1.25rem; margin-top: .5rem; }
.link-muted { font-size: .875rem; line-height: 1.25rem; color: var(--green-60); transition: color .15s; }
.link-muted:hover { color: var(--gold); }

.section-label { font-size: .75rem; line-height: 1rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.ornament { height: 1rem; }
.ornament-sm { width: 8rem; }
.ornament.center { margin-left: auto; margin-right: auto; }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--green-dark); color: var(--gold); text-align: center; font-size: .75rem; line-height: 1rem;
  letter-spacing: .1em; text-transform: uppercase; padding: .5rem 1rem;
}
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-20); box-shadow: var(--shadow-sm);
}
.header-row { padding-top: .75rem; padding-bottom: .75rem; display: flex; align-items: center; justify-content: space-between; }
.brand-link { display: flex; align-items: center; gap: .75rem; }
.brand-logo { width: 52px; height: 52px; border-radius: 9999px; box-shadow: 0 0 0 1px var(--gold-40); object-fit: cover; }
.brand-mark { display: flex; flex-direction: column; }
.brand-mark.center { align-items: center; }
.brand-main { font-family: var(--serif); color: var(--green); font-size: 1.125rem; line-height: 1; }
.brand-sub { color: var(--gold); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; line-height: 1; margin-top: .25rem; }
.hide-mobile { display: none; }

.main-nav { display: none; align-items: center; gap: 2rem; }
.nav-item { position: relative; }
.nav-link {
  position: relative; font-size: .75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--green); transition: color .15s var(--ease);
}
.nav-link::after {
  content: ''; position: absolute; bottom: -.25rem; left: 0; width: 0; height: 1px; background: var(--gold);
  transition: all .15s var(--ease);
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }
.nav-dropdown {
  position: absolute; left: 0; top: 100%; padding-top: .75rem; opacity: 0; transform: translateY(-.25rem);
  pointer-events: none; transition: all .15s var(--ease);
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { opacity: 1; transform: none; pointer-events: auto; }
.nav-dropdown-box {
  background: var(--white); border: 1px solid var(--gold-20); border-radius: .5rem; box-shadow: var(--shadow-md);
  padding: .5rem 0; min-width: 180px;
}
.nav-dropdown-box a {
  display: block; padding: .5rem 1rem; font-size: .75rem; line-height: 1rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--green); white-space: nowrap; transition: all .15s var(--ease);
}
.nav-dropdown-box a:hover { color: var(--gold); background: var(--cream); }
.nav-dropdown.align-right { left: auto; right: 0; }
.nav-dropdown-box a.sub { padding-left: 1.75rem; color: var(--green-70); }
.nav-more { display: inline-flex; align-items: center; gap: .25rem; }
.nav-dropdown.align-right .nav-dropdown-box { max-height: 70vh; overflow-y: auto; }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-actions .cart-link { margin-left: .4rem; }
.social-link { color: var(--green); display: flex; padding: .25rem; transition: color .15s; }
.social-link:hover { color: var(--gold); }
.icon-social { width: 1.25rem; height: 1.25rem; }
.footer-contact.footer-social { display: flex; align-items: center; gap: .5rem; }
.cart-link { position: relative; color: var(--green); }
.announce-promo { font-weight: 600; }
.announce-sep { margin: 0 .6rem; opacity: .6; }
.mobile-social { display: flex; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--gold-20); margin-top: .5rem; padding-top: .75rem; }
.mobile-social a { display: flex; align-items: center; gap: .4rem; font-size: .875rem; color: var(--green-80); }
@media (max-width: 479px) { .hide-xs { display: none; } .header-actions { gap: .35rem; } }
@media (min-width: 480px) { .mobile-social { display: none; } }
.icon-cart { width: 1.5rem; height: 1.5rem; }
.cart-count {
  position: absolute; top: -.5rem; right: -.5rem; background: var(--gold); color: var(--green); font-size: .75rem;
  width: 1.25rem; height: 1.25rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-weight: 600;
}
.menu-toggle { color: var(--green); display: flex; }
.icon-menu { width: 1.6rem; height: 1.6rem; }

.mobile-nav { border-top: 1px solid var(--gold-20); padding: .75rem 1rem; display: flex; flex-direction: column; gap: .25rem; }
.mobile-row { display: flex; align-items: center; justify-content: space-between; }
.mobile-row a { font-size: .875rem; line-height: 1.25rem; color: var(--green); padding: .5rem 0; flex: 1; }
.mobile-expand { color: var(--green); padding: .5rem; }
.mobile-expand .icon { transition: transform .15s; }
.mobile-expand.open .icon { transform: rotate(180deg); }
.mobile-subs { padding-left: 1rem; display: flex; flex-direction: column; gap: .25rem; padding-bottom: .5rem; }
.mobile-subs a { font-size: .875rem; line-height: 1.25rem; color: var(--green-80); padding: .375rem 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: var(--cream); margin-top: 4rem; }
.footer-inner { padding-top: 3.5rem; padding-bottom: 2rem; }
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 2.5rem; }
.footer-brand-main { font-family: var(--serif); color: var(--gold); font-size: 1.5rem; line-height: 1; }
.footer-brand-sub { color: var(--cream-70); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; line-height: 1; margin-top: .5rem; }
.ornament-footer { width: 10rem; margin-top: 1rem; }
.footer-tagline { font-size: .875rem; line-height: 1.25rem; color: var(--cream-70); margin-top: 1rem; max-width: 24rem; }
.footer-cols { display: grid; gap: 2.5rem; border-top: 1px solid var(--cream-10); padding-top: 2.5rem; }
.footer-h { color: var(--gold); font-size: .75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a, .footer-contact { font-size: .875rem; line-height: 1.25rem; color: var(--cream-80); transition: color .15s; }
.footer-links a:hover, .footer-contact:hover { color: var(--gold); }
.footer-contact { display: block; margin-bottom: .5rem; }
.footer-text { font-size: .875rem; color: var(--cream-80); line-height: 1.625; }
.footer-copy { text-align: center; font-size: .75rem; line-height: 1rem; color: var(--cream-40); padding: 1.5rem 0; border-top: 1px solid var(--cream-10); }

/* ---------- Section headings ---------- */
.section-heading { text-align: center; margin: 0 auto 3rem; max-width: 36rem; }
.section-heading .section-label { margin-bottom: .5rem; }
.section-title { font-family: var(--serif); font-size: 1.5rem; line-height: 2rem; color: var(--green); }
.section-heading .ornament { margin-top: 1rem; }
.section-desc { margin-top: 1rem; font-size: .875rem; line-height: 1.625; color: var(--green-60); }
.empty-note { text-align: center; color: var(--green-50); }

/* ---------- Homepage ---------- */
.featured { background: var(--white); padding: 4rem 0; }
.tabs-row { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.tab-wrap { display: flex; align-items: center; gap: 1.5rem; }
.tab {
  font-size: .875rem; line-height: 1.25rem; letter-spacing: .025em; color: var(--green-40); transition: all .15s var(--ease);
  border-bottom: 2px solid transparent; padding-bottom: .25rem;
}
.tab:hover { color: var(--green); }
.tab.active { color: var(--green); font-weight: 600; border-bottom-color: var(--gold); }
.tab-sep { color: var(--green-20); }

.grid-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.grid-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2.5rem; }

.category-card { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.category-circle {
  position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 9999px; overflow: hidden;
  border: 1px solid var(--gold-30); box-shadow: var(--shadow-sm); transition: all .15s var(--ease);
}
.category-card:hover .category-circle { border-color: var(--gold); box-shadow: var(--shadow-md); }
.category-circle img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.category-card:hover .category-circle img { transform: scale(1.1); }
.category-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to bottom right, var(--green), var(--green-dark));
}
.category-fallback span { font-size: 1.875rem; }
.category-name {
  color: var(--green); font-size: .875rem; line-height: 1.25rem; font-family: var(--serif); text-align: center;
  letter-spacing: .025em; transition: color .15s;
}
.category-card:hover .category-name { color: var(--gold); }

.story { padding-top: 5rem; padding-bottom: 5rem; display: grid; gap: 2.5rem; align-items: center; }
.story-img { border-radius: 1rem; overflow: hidden; border: 1px solid var(--gold-30); }
.story-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.story-title { font-family: var(--serif); color: var(--cream); font-size: 1.5rem; line-height: 1.375; margin-bottom: 1rem; }
.story-text { color: var(--cream-80); line-height: 1.625; margin-bottom: 1rem; }
.story-text.mb-8 { margin-bottom: 2rem; }

.insta { padding-top: 4rem; padding-bottom: 4rem; }
.insta-head { text-align: center; margin-bottom: 2.5rem; }
.insta-title { font-family: var(--serif); color: var(--green); font-size: 1.5rem; line-height: 2rem; }
.insta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.insta-tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: .5rem; display: block; }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.insta-tile:hover img { transform: scale(1.1); }
.insta-overlay {
  position: absolute; inset: 0; background: rgba(11, 61, 46, 0); display: flex; align-items: center; justify-content: center;
  color: var(--gold); transition: all .15s var(--ease);
}
.insta-overlay .icon { opacity: 0; transition: opacity .15s; }
.insta-tile:hover .insta-overlay { background: var(--green-50); }
.insta-tile:hover .insta-overlay .icon { opacity: 1; }

/* ---------- Product card ---------- */
.product-card {
  display: block; background: var(--white); border-radius: .75rem; overflow: hidden; border: 1px solid var(--gold-15);
  transition: all .3s var(--ease);
}
.product-card:hover { border-color: var(--gold-50); transform: translateY(-.25rem); box-shadow: var(--shadow-xl); }
.card-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream); }
.card-media-link { display: block; width: 100%; height: 100%; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .card-img { transform: scale(1.1); }
.img-placeholder {
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  background: linear-gradient(to bottom right, var(--green), var(--green-dark));
}
.img-placeholder span { font-size: 2.5rem; }
.wish-btn {
  position: absolute; top: .75rem; right: .75rem; z-index: 10; width: 2rem; height: 2rem; border-radius: 9999px;
  background: rgba(255, 255, 255, .9); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  color: var(--green-60); transition: all .15s var(--ease);
}
.wish-btn:hover { background: var(--white); }
.wish-btn .icon { width: 1rem; height: 1rem; }
.wish-btn.on { color: var(--red); }
.wish-btn.on .icon { fill: currentColor; }
.quickshop-btn {
  position: absolute; left: 0; right: 0; bottom: 0; transform: translateY(100%); transition: transform .3s var(--ease);
  background: var(--green-90); color: var(--gold); font-size: .75rem; line-height: 1rem; letter-spacing: .1em;
  text-transform: uppercase; padding: .75rem 0; text-align: center; font-weight: 500;
}
.product-card:hover .quickshop-btn, .quickshop-btn:focus { transform: none; }
.badge {
  position: absolute; left: .75rem; top: .75rem; font-size: 10px; font-weight: 600; padding: .25rem .625rem;
  border-radius: 9999px; letter-spacing: .1em; text-transform: uppercase; box-shadow: var(--shadow); line-height: 1.5;
}
.badge-sale { background: var(--gold); color: var(--green); }
.badge-soldout { background: var(--green); color: var(--cream); }
.badge-soldout.second { top: 2.75rem; }
.card-body { padding: 1rem; border-top: 1px solid var(--gold-10); }
.card-title { font-family: var(--serif); color: var(--green); font-size: .875rem; line-height: 1.375; }
.price-row { margin-top: .5rem; display: flex; align-items: baseline; gap: .5rem; }
.price { color: var(--gold); font-weight: 600; }
.price-old { font-size: .75rem; line-height: 1rem; color: var(--green-40); text-decoration: line-through; }
.price-old.small { font-size: .875rem; }
.card-btn {
  margin-top: .75rem; width: 100%; display: block; text-align: center; font-size: .75rem; line-height: 1rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 500; padding: .625rem 0; border-radius: 9999px; border: 1px solid var(--green);
  color: var(--green); transition: all .15s var(--ease);
}
.card-btn:hover { background: var(--green); color: var(--gold); }
.card-btn:disabled { opacity: .4; }
.card-btn:disabled:hover { background: transparent; color: var(--green); }

/* ---------- Shop banner ---------- */
.page-banner { background: var(--green); padding: 3.5rem 0; }
.banner-title { font-family: var(--serif); color: var(--cream); font-size: 1.875rem; line-height: 2.25rem; }

/* ---------- Product page ---------- */
.product-page { max-width: 64rem; margin: 0 auto; padding: 3.5rem 1rem; display: grid; gap: 3rem; }
.pd-media {
  position: relative; aspect-ratio: 1 / 1; border-radius: .75rem; overflow: hidden; border: 1px solid var(--gold-15);
  box-shadow: var(--shadow-sm);
}
.pd-img { width: 100%; height: 100%; object-fit: cover; }
.gal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 2.25rem; height: 2.25rem; border-radius: 9999px;
  background: rgba(255, 255, 255, .9); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  color: var(--green); transition: background .15s;
}
.gal-arrow:hover { background: var(--white); }
.gal-arrow.left { left: .75rem; }
.gal-arrow.right { right: .75rem; }
.gal-dots { position: absolute; bottom: .75rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; }
.gal-dot { width: .5rem; height: .5rem; border-radius: 9999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--green-30); transition: all .15s; }
.gal-dot.active { background: var(--gold); border-color: var(--gold); }
.pd-title { font-family: var(--serif); color: var(--green); font-size: 1.5rem; line-height: 2rem; margin-bottom: 1rem; }
.pd-price-row { margin-top: 0; margin-bottom: 1.5rem; gap: .75rem; }
.pd-price { font-size: 1.25rem; line-height: 1.75rem; }
.pd-price-row .price-old { font-size: 1rem; line-height: 1.5rem; }
.gold-rule { width: 4rem; height: 1px; background: var(--gold-40); margin-bottom: 1.5rem; }
.gold-rule.short { width: 3rem; margin-bottom: 1rem; }
.pd-desc { color: var(--green-80); line-height: 1.625; margin-bottom: 2rem; }
.variant-box { display: grid; grid-template-columns: repeat(2, minmax(0, 11rem)); gap: .75rem 1rem; margin-bottom: 1.25rem; }
.variant-box .hint { grid-column: 1 / -1; margin-top: -.25rem; }
.variant-box .label { font-size: .8rem; color: var(--green-70); }
.variant-box .input { padding: .45rem .75rem; font-size: .9rem; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; max-width: 26rem; }
.pd-actions > * { padding-left: .75rem; padding-right: .75rem; }
.pd-video {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .5rem 1.1rem; border-radius: 9999px;
  border: 1px solid var(--gold-50); color: var(--green); font-size: .875rem; transition: all .15s var(--ease);
}
.pd-video:hover { background: var(--cream); border-color: var(--gold); color: var(--gold); }
.qty-row { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--green-30); border-radius: 9999px; }
.qty button { padding: .45rem .75rem; color: var(--green); display: flex; }
.qty button:disabled { opacity: .4; }
.qty span { padding: 0 .5rem; min-width: 1.5rem; text-align: center; }
.btn-row { display: flex; flex-direction: column; gap: .75rem; }
.pd-sku { font-size: .75rem; letter-spacing: .05em; color: var(--green-50); margin: -.75rem 0 1.25rem; }
.pd-delivery { font-size: .75rem; line-height: 1rem; color: var(--green-50); margin-top: 1.5rem; border-top: 1px solid var(--gold-10); padding-top: 1rem; }

.rich { overflow-wrap: anywhere; }
.rich p { margin-bottom: .75em; }
.rich p:last-child { margin-bottom: 0; }
.rich ul, .rich ol { padding-left: 1.25rem; margin: 0 0 .75em; }
.rich h2, .rich h3 { font-family: var(--serif); font-size: 1.125rem; margin: 0 0 .5em; }
.rich a { text-decoration: underline; }
.rich .ql-align-center { text-align: center; }
.rich .ql-align-right { text-align: right; }

/* ---------- Quick shop modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 1rem;
  background: rgba(6, 40, 33, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.modal {
  position: relative; background: var(--white); border-radius: 1rem; overflow-y: auto; max-width: 48rem; width: 100%;
  display: grid; box-shadow: var(--shadow-2xl); max-height: 90vh;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10; width: 2rem; height: 2rem; border-radius: 9999px;
  background: rgba(255, 255, 255, .9); color: var(--green); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: all .15s var(--ease);
}
.modal-close:hover { background: var(--gold); color: var(--white); }
.modal-media { position: relative; aspect-ratio: 1 / 1; background: var(--cream); }
.modal-img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 1.5rem; display: flex; flex-direction: column; overflow-y: auto; }
.modal-title { font-family: var(--serif); color: var(--green); font-size: 1.25rem; line-height: 1.75rem; margin-bottom: .75rem; }
.modal-price-row { margin-top: 0; margin-bottom: 1rem; gap: .75rem; }
.modal-price { font-size: 1.125rem; line-height: 1.75rem; }
.modal-desc { font-size: .875rem; line-height: 1.625; color: var(--green-70); margin-bottom: 1.5rem; }
.modal-note { font-size: .875rem; line-height: 1.25rem; color: var(--green-60); margin-bottom: 1.5rem; }
.modal-note.muted { color: var(--green-50); }
.modal-details { font-size: .75rem; line-height: 1rem; color: var(--green-50); text-decoration: underline; margin-top: 1rem; text-align: center; }
.modal-details:hover { color: var(--gold); }

/* ---------- Cart ---------- */
.empty-cart { padding-top: 5rem; padding-bottom: 5rem; text-align: center; }
.page-title { font-family: var(--serif); color: var(--green); font-size: 1.5rem; line-height: 2rem; }
.cart-lines { display: flex; flex-direction: column; gap: 1rem; }
.cart-line { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--green-10); padding-bottom: 1rem; }
.line-name { color: var(--green); font-weight: 500; }
.line-variant { color: var(--green-50); font-weight: 400; }
.line-each { font-size: .875rem; line-height: 1.25rem; color: var(--green-60); }
.line-right { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.line-total { color: var(--gold); font-weight: 600; min-width: 5rem; text-align: right; white-space: nowrap; }
.line-remove { color: var(--green-40); display: flex; transition: color .15s; }
.line-remove:hover { color: var(--red); }
.coupon-row { display: flex; gap: .75rem; margin-top: 2rem; align-items: center; }
.coupon-row .link-muted:hover { color: var(--red); }
[data-coupon-error] { margin-top: .5rem; }
.cart-totals { margin-top: 2rem; display: flex; flex-direction: column; gap: .5rem; }
.tot-row { display: flex; justify-content: space-between; align-items: center; }
.tot-label { font-size: 1.125rem; line-height: 1.75rem; color: var(--green); }
.tot-value { font-size: 1.25rem; line-height: 1.75rem; color: var(--gold); font-weight: 600; }

/* ---------- Checkout ---------- */
.form-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.summary-box { background: var(--gold-10); border-radius: .5rem; padding: 1rem; display: flex; flex-direction: column; gap: .25rem; }
.sum-row { display: flex; justify-content: space-between; font-size: .875rem; line-height: 1.25rem; }
.sum-total { display: flex; justify-content: space-between; align-items: center; padding-top: .5rem; border-top: 1px solid var(--gold-20); margin-top: .25rem; color: var(--green); }
.tot-value-sm { color: var(--gold); font-weight: 600; font-size: 1.125rem; line-height: 1.75rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cart-notice { margin-top: 1.5rem; font-size: .875rem; color: #9a3412; background: #fff7ed; border: 1px solid #fed7aa; border-radius: .5rem; padding: .6rem 1rem; }
.search-form { display: flex; gap: .75rem; max-width: 36rem; margin: 0 auto 2.5rem; }
.search-form .input { flex: 1; }
.page-body { color: var(--green-80); line-height: 1.75; }
.page-body h2, .page-body h3 { color: var(--green); margin-top: 1.5em; }
.contact-box { margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--cream); border: 1px solid var(--gold-20); border-radius: .75rem; display: flex; flex-direction: column; gap: .5rem; color: var(--green-80); }
.contact-box a { color: var(--green); text-decoration: underline; }
.welcome-back { font-size: .875rem; color: var(--success); background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: .5rem; padding: .5rem 1rem; }
.order-done { text-align: center; padding: 2.5rem 0; }
.done-kicker { color: var(--gold); font-size: .875rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.done-number { font-family: var(--serif); color: var(--green); font-size: 1.5rem; line-height: 2rem; margin-bottom: 1rem; }
.done-text { color: var(--green-70); margin-bottom: 2rem; }
.done-actions { display: flex; flex-direction: column; gap: .75rem; max-width: 20rem; margin: 0 auto; }
.empty-checkout { text-align: center; padding: 5rem 0; }

/* ---------- Scroll reveal ---------- */
@keyframes reveal-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; }
.reveal.is-visible { animation: reveal-up .7s ease-out forwards; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; } .reveal.is-visible { animation: none; } }

/* ===================================================================
   Admin
   =================================================================== */
.admin-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.admin-aside { background: var(--green); color: var(--cream); padding: 1.5rem; }
.admin-brand { font-family: var(--serif); color: var(--gold); font-size: 1.125rem; margin-bottom: 2rem; }
.admin-nav { display: flex; flex-wrap: wrap; gap: .75rem; }
.admin-nav a { font-size: .875rem; color: rgba(250, 246, 238, .9); transition: color .15s; }
.admin-nav a:hover, .admin-nav a.active { color: var(--gold); }
.logout-btn { font-size: .875rem; color: var(--gold); border: 1px solid var(--gold-50); border-radius: 9999px; padding: .25rem 1rem; transition: all .15s; }
.logout-btn:hover { background: var(--gold); color: var(--green); }
.back-link { font-size: .75rem; color: var(--cream-50); }
.back-link:hover { color: var(--gold); }
.admin-main { flex: 1; background: var(--cream); padding: 1.5rem; min-width: 0; }

.a-title { font-family: var(--serif); color: var(--green); font-size: 1.5rem; line-height: 2rem; }
.a-h2 { font-family: var(--serif); color: var(--green); font-size: 1.125rem; margin-bottom: 1rem; }
.a-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.a-head.lg { margin-bottom: 2rem; }
.a-note { font-size: .875rem; color: var(--green-60); margin-bottom: 1.5rem; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.stat-card { background: var(--white); border-radius: .75rem; border: 1px solid var(--green-10); padding: 1.25rem; }
.stat-value { font-size: 1.5rem; line-height: 2rem; font-weight: 600; color: var(--green); }
.stat-label { font-size: .875rem; color: var(--green-60); }
.btn-wrap { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.card { background: var(--white); border-radius: .75rem; border: 1px solid var(--green-10); }
.table-card { overflow-x: auto; }
.table-card.mb { margin-bottom: 2.5rem; }
.a-table { width: 100%; font-size: .875rem; }
.a-table th { text-align: left; color: var(--green-60); border-bottom: 1px solid var(--green-10); padding: 1rem; font-weight: 600; white-space: nowrap; }
.a-table td { padding: 1rem; color: var(--green-70); border-bottom: 1px solid var(--green-05); vertical-align: middle; }
.a-table td.strong { color: var(--green); font-weight: 500; }
.a-table td.empty { text-align: center; color: var(--green-50); padding: 1.5rem; }
.a-table td.tiny { font-size: .75rem; color: var(--green-60); white-space: nowrap; }
.a-actions { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.link-gold { color: var(--gold); font-size: .875rem; }
.link-gold:hover, .link-red:hover, .link-plain:hover { text-decoration: underline; }
.link-red { color: var(--red); font-size: .875rem; }
.link-plain { color: var(--green-70); font-size: .875rem; }
.inline { display: inline; }
.pill { font-size: .75rem; padding: .25rem .5rem; border-radius: 9999px; background: var(--gold-15); color: var(--green); white-space: nowrap; }
.pill.lg { padding: .375rem .75rem; }
.text-ok { color: #16a34a; }
.text-off { color: var(--green-40); }
.t-inactive { color: #f87171; font-size: .75rem; }
.t-gold { color: var(--gold); font-size: .75rem; }
.t-muted { color: var(--green-50); font-size: .75rem; }

.list-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; color: var(--green); flex-wrap: wrap; }
.list-row + .list-row, .cat-block + .cat-block { border-top: 1px solid var(--green-05); }
.list-empty { padding: 1.5rem; text-align: center; color: var(--green-50); font-size: .875rem; }

.inline-form { background: var(--white); border: 1px solid var(--green-10); border-radius: .75rem; padding: 1.5rem; margin-bottom: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; }
.inline-form.stack { flex-direction: column; align-items: stretch; }
.inp { border: 1px solid var(--green-30); border-radius: .5rem; padding: .5rem 1rem; background: var(--white); }
.inp.w-28 { width: 7rem; }
.inp.w-20 { width: 5rem; text-align: center; padding: .5rem .75rem; }
.inp:disabled { background: var(--cream); }
.check { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--green); }
.check input { accent-color: var(--green); width: 1rem; height: 1rem; }
.full { width: 100%; }

.form-col { max-width: 42rem; display: flex; flex-direction: column; gap: 1.25rem; }
.form-col.narrow { max-width: 36rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tags-wrap { display: flex; flex-wrap: wrap; gap: 1rem; }
.variant-panel { border: 1px solid var(--gold-20); border-radius: .5rem; padding: 1rem; }
.variant-panel .check { font-weight: 500; margin-bottom: .25rem; }
.variant-rows { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.variant-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; align-items: end; border-bottom: 1px solid var(--green-10); padding-bottom: 1rem; }
.variant-row:last-child { border-bottom: 0; padding-bottom: 0; }
.variant-row .input { padding: .375rem .75rem; font-size: .875rem; }
.variant-row .row-end { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.label-xs { display: block; font-size: .75rem; color: var(--green-70); margin-bottom: .25rem; }
.file-xs { font-size: .75rem; width: 100%; }
.preview-lg { width: 8rem; height: 8rem; object-fit: cover; border-radius: .5rem; margin-bottom: .5rem; }
.preview-sm { width: 2.5rem; height: 2.5rem; object-fit: cover; border-radius: .25rem; margin-bottom: .25rem; }
.thumbs { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: .75rem; }
.thumb { position: relative; width: 5rem; height: 5rem; border-radius: .5rem; overflow: hidden; border: 1px solid var(--green-20); cursor: move; }
.thumb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.thumb-x {
  position: absolute; top: .25rem; right: .25rem; width: 1.25rem; height: 1.25rem; border-radius: 9999px; background: rgba(255, 255, 255, .9);
  color: var(--red); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.thumb-x .icon { width: .7rem; height: .7rem; }
.dragging { opacity: .4; }
.quill-box { background: var(--white); border-radius: .5rem; }
.quill-box .ql-toolbar.ql-snow { border-color: var(--green-30); border-radius: .5rem .5rem 0 0; font-family: var(--sans); }
.quill-box .ql-container.ql-snow { border-color: var(--green-30); border-radius: 0 0 .5rem .5rem; font-family: var(--sans); font-size: 1rem; min-height: 9rem; color: var(--green); }

.crop-field { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.crop-thumb {
  width: 6rem; height: 6rem; border-radius: 9999px; overflow: hidden; border: 1px solid var(--gold-30); flex-shrink: 0;
  background: linear-gradient(to bottom right, var(--green), var(--green-dark)); display: flex; align-items: center; justify-content: center;
}
.crop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.crop-thumb span { font-size: 1.75rem; }
.crop-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.crop-pick { cursor: pointer; padding: .5rem 1.25rem; }
.crop-modal { background: var(--white); border-radius: 1rem; padding: 1.5rem; width: 100%; max-width: 34rem; box-shadow: var(--shadow-2xl); }
.crop-stage { height: min(60vh, 26rem); background: var(--cream); border-radius: .5rem; overflow: hidden; }
.crop-stage img { display: block; max-width: 100%; }
.crop-tools { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; align-items: center; }
.crop-tools .btn-outline, .crop-tools .btn-primary { padding: .5rem 1rem; }
.crop-modal .cropper-view-box, .crop-modal .cropper-face { border-radius: 50%; }
.crop-modal .cropper-view-box { outline: 2px solid var(--gold); outline-color: rgba(201, 161, 90, .9); }
.tag-chip {display: flex; align-items: center; gap: .5rem; background: var(--cream); border: 1px solid var(--green-20); border-radius: 9999px; padding: .25rem .75rem; font-size: .875rem; color: var(--green); }
.tag-chip button { color: var(--green-50); display: flex; }
.tag-chip button:hover { color: var(--red); }
.tag-chip .icon { width: .75rem; height: .75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.row-gap { display: flex; gap: .5rem; }
.settings-section { color: var(--gold); font-size: .875rem; text-transform: uppercase; letter-spacing: .025em; margin-top: .5rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .75rem; }
.saved-msg { color: #16a34a; font-size: .875rem; }

.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.pager .btn-sm { padding: .4rem 1rem; }
.cat-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; cursor: move; flex-wrap: wrap; }
.cat-row.sub { padding: .75rem; font-size: .875rem; }
.cat-subs { padding-left: 2.5rem; border-top: 1px solid var(--green-05); }
.cat-subs > [data-sort-item] + [data-sort-item] { border-top: 1px solid var(--green-05); }
.cat-name { display: flex; align-items: center; gap: .5rem; color: var(--green); flex-wrap: wrap; }
.cat-row.sub .cat-name { color: var(--green-90); }
.grip { color: var(--green-30); }
.cat-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-text-green { color: var(--green); font-size: .875rem; }
.btn-text-green:hover { text-decoration: underline; }

.od-wrap { max-width: 56rem; }
.od-card { background: var(--white); border-radius: .75rem; border: 1px solid var(--green-10); padding: 1.5rem; margin-bottom: 1.5rem; }
.od-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.od-grid { display: grid; gap: 1.5rem; font-size: .875rem; }
.od-h { color: var(--green); font-weight: 500; margin-bottom: .5rem; }
.od-p { color: var(--green-80); }
.od-small { color: var(--green-60); font-size: .75rem; }
.od-items { width: 100%; font-size: .875rem; margin-bottom: 1rem; }
.od-items th { text-align: left; color: var(--green-60); border-bottom: 1px solid var(--green-10); padding: .5rem 0; font-weight: 600; }
.od-items td { padding: .5rem 0; border-bottom: 1px solid var(--green-05); color: var(--green-70); }
.od-items .c { text-align: center; } .od-items .r { text-align: right; }
.od-totals { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; font-size: .875rem; }
.od-tot { display: flex; justify-content: space-between; width: 12rem; }
.od-tot span:first-child { color: var(--green-70); }
.od-tot.grand { font-weight: 600; color: var(--green); padding-top: .25rem; border-top: 1px solid var(--green-10); }
.od-tot.grand span:first-child { color: var(--green); }
.track-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; font-size: .875rem; }
.select-auto { width: 100%; }

.login-wrap { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 0 1rem; }
.login-card { background: var(--white); border: 1px solid var(--green-10); border-radius: .75rem; padding: 2rem; width: 100%; max-width: 24rem; }
.login-title { font-family: var(--serif); color: var(--green); font-size: 1.5rem; line-height: 2rem; margin-bottom: 1.5rem; text-align: center; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 767px) {
  .product-page { padding: 1.25rem 1rem 2.5rem; gap: 1.5rem; }
  .pd-desc { margin-bottom: 1.5rem; }
  .pd-actions { max-width: none; }
}
@media (min-width: 640px) {
  .hide-mobile { display: flex; }
  .brand-logo { width: 64px; height: 64px; }
  .footer-cols { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
  .grid-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .insta-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .btn-row { flex-direction: row; }
  .select-auto { width: auto; }
}
@media (min-width: 768px) {
  .main-nav { display: flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
  .section-title { font-size: 1.875rem; line-height: 2.25rem; }
  .tabs-row, .tab-wrap { gap: 2.5rem; }
  .tab { font-size: 1rem; line-height: 1.5rem; }
  .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-name { font-size: 1rem; line-height: 1.5rem; }
  .story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-title { font-size: 2.25rem; }
  .insta-title { font-size: 1.875rem; line-height: 2.25rem; }
  .insta-grid { gap: .75rem; }
  .card-title { font-size: 1rem; }
  .banner-title { font-size: 2.25rem; line-height: 2.5rem; }
  .product-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-title { font-size: 1.875rem; line-height: 2.25rem; }
  .modal { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; }
  .modal-media { aspect-ratio: auto; height: 100%; }
  .modal-body { padding: 2rem; }
  .modal-title { font-size: 1.5rem; line-height: 2rem; }

  .admin-wrap { flex-direction: row; }
  .admin-aside { width: 14rem; min-height: 100vh; flex-shrink: 0; }
  .admin-nav { flex-direction: column; }
  .admin-main { padding: 2.5rem; }
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .variant-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .od-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-categories { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media print {
  .announce, .site-header, .site-footer, .admin-aside, .print-hidden { display: none !important; }
  .admin-main { padding: 0; background: #fff; }
  body { background: #fff; }
}
