/* ==========================================================================
   ST GOLD — Luxury E-commerce Demo
   Palette: warm beige, soft ivory, deep emerald/olive green, muted gold accent
   No black, no red, no dark backgrounds. Bright + luxurious.
   ========================================================================== */

:root {
  /* Core palette — "Fresh Everyday" (Emerald · Cream · Coral)
     #0F7B6C emerald · #FBF7EF cream · #FF6B5C coral accent.
     Emerald = primary brand + UI/text, cream = base, coral = accent/deals. */
  --ivory:        #FBF7EF;   /* page background (warm cream) */
  --beige:        #FFFFFF;   /* cards / light panels (clean white) */
  --beige-deep:   #E9E2D4;   /* borders / subtle fills */
  --sand:         #F0E9DA;   /* dividers, muted fills */
  --green:        #0F7B6C;   /* primary brand tone (emerald) */
  --green-soft:   #14907E;   /* secondary / hover (lighter emerald) */
  --green-tint:   #E4F1ED;   /* soft emerald wash background */
  --olive:        #2FA98F;   /* mint/teal secondary accent */
  --gold:         #FF6B5C;   /* coral accent (deals, highlights) */
  --gold-deep:    #E5503F;   /* deep coral text/hover */
  --ink:          #1E2A26;   /* text (deep green-ink) */
  --ink-soft:     #63706B;   /* secondary text */
  --white:        #FFFFFF;

  --shadow-sm: 0 2px 10px rgba(62, 92, 72, 0.08);
  --shadow-md: 0 8px 30px rgba(62, 92, 72, 0.12);
  --shadow-lg: 0 20px 60px rgba(62, 92, 72, 0.16);
  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1240px;

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:  "Jost", "Poppins", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--green); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.hidden { display: none !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px;
  font-weight: 500; letter-spacing: .3px; font-size: .95rem;
  transition: all .25s ease; cursor: pointer; border: 1.5px solid transparent;
}
.btn-primary { background: var(--green); color: var(--ivory); }
.btn-primary:hover { background: var(--green-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--ivory); }
.btn-ghost { background: var(--beige); color: var(--green); }
.btn-ghost:hover { background: var(--beige-deep); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---- Eyebrow / section titles ---- */
.eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-size: .75rem;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 12px; display: inline-block;
}
.section-title { font-size: 2.5rem; margin-bottom: 10px; }
.section-sub { color: var(--ink-soft); max-width: 560px; margin: 0 auto 40px; }

/* ============================ HEADER / NAV ============================ */
.topbar {
  background: var(--green); color: var(--beige);
  font-size: .8rem; letter-spacing: .5px; text-align: center;
  padding: 8px 0;
}
.topbar span { color: var(--gold); }

header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 241, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--beige-deep);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--maxw); margin: 0 auto; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
  display: grid; place-items: center;
  color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.logo-text { line-height: 1; }
.logo-text b { font-family: var(--serif); font-size: 1.5rem; color: var(--green); letter-spacing: 1px; }
.logo-text small { display: block; font-size: .62rem; letter-spacing: 4px; color: var(--gold-deep); text-transform: uppercase; margin-top: 2px; }

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--ink); position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold); transition: width .25s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; background: var(--beige);
  display: grid; place-items: center; color: var(--green); position: relative;
  transition: background .2s;
}
.icon-btn:hover { background: var(--beige-deep); }
.cart-count {
  position: absolute; top: -4px; right: -4px; background: var(--gold);
  color: #fff; font-size: .68rem; min-width: 19px; height: 19px; border-radius: 999px;
  display: grid; place-items: center; padding: 0 5px; font-weight: 600;
}
.hamburger { display: none; }

/* ============================ HERO ============================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, var(--green-tint), transparent 55%),
    linear-gradient(120deg, var(--beige) 0%, var(--ivory) 60%);
  padding: 90px 0 100px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; }
.hero-copy h1 { font-size: 4rem; margin-bottom: 20px; }
.hero-copy h1 .gold { color: var(--gold-deep); }
.hero-copy p { font-size: 1.12rem; color: var(--ink-soft); max-width: 480px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.hero-stats .num { font-family: var(--serif); font-size: 2rem; color: var(--green); }
.hero-stats .lbl { font-size: .8rem; color: var(--ink-soft); letter-spacing: 1px; text-transform: uppercase; }

.hero-visual { position: relative; }
.hero-card {
  background: var(--white); border-radius: 28px; padding: 22px;
  box-shadow: var(--shadow-lg); transform: rotate(-2deg);
}
.hero-card .ph { border-radius: 20px; height: 380px; }
.hero-badge {
  position: absolute; bottom: -22px; left: -26px;
  background: var(--white); border-radius: var(--radius); padding: 16px 22px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px;
  transform: rotate(3deg);
}
.hero-badge .b-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gold); display: grid; place-items: center; color: #fff; font-size: 1.4rem; }
.hero-badge b { color: var(--green); font-family: var(--serif); font-size: 1.15rem; }
.hero-badge span { font-size: .78rem; color: var(--ink-soft); display: block; }

/* ============================ PRODUCT PLACEHOLDER IMAGES ============================ */
/* Elegant CSS-generated jewelry "photos" so the demo has visuals without scraping. */
.ph {
  position: relative; overflow: hidden; background: var(--beige);
  display: grid; place-items: center;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.7), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(196,166,97,.25), transparent 50%),
    linear-gradient(135deg, var(--beige) 0%, var(--green-tint) 100%);
}
.ph .glyph { position: relative; font-size: 3.6rem; opacity: .55; filter: saturate(.7); }
.ph .ph-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(251,248,241,.85); color: var(--gold-deep);
  font-size: .66rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; font-weight: 600;
}

/* ============================ MARQUEE / BENEFITS ============================ */
.benefits { background: var(--green); color: var(--beige); padding: 26px 0; }
.benefits-row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; text-align: center; }
.benefit { display: flex; align-items: center; gap: 12px; }
.benefit .b-i { font-size: 1.5rem; color: var(--gold); }
.benefit b { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--ivory); }
.benefit span { font-size: .78rem; opacity: .8; }

/* ============================ CATEGORY GRID ============================ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--beige); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s; cursor: pointer;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card .ph { height: 200px; }
.cat-card .cat-body { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; }
.cat-card h3 { font-size: 1.25rem; }
.cat-card .count { font-size: .78rem; color: var(--ink-soft); }
.cat-card .arrow { color: var(--gold-deep); font-size: 1.2rem; transition: transform .25s; }
.cat-card:hover .arrow { transform: translateX(4px); }

/* ============================ PRODUCT CARDS ============================ */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card .ph { height: 240px; }
.product-media { position: relative; }
.wishlist {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(251,248,241,.9);
  display: grid; place-items: center; color: var(--gold-deep); font-size: 1rem;
}
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .7rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold-deep); font-weight: 600; }
.product-name { font-family: var(--serif); font-size: 1.2rem; color: var(--green); margin: 4px 0 6px; }
.stars { color: var(--gold); font-size: .85rem; letter-spacing: 1px; }
.stars .rc { color: var(--ink-soft); margin-left: 5px; font-size: .75rem; }
.product-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--serif); font-size: 1.35rem; color: var(--green); font-weight: 600; }
.price .old { font-size: .85rem; color: var(--ink-soft); text-decoration: line-through; margin-left: 6px; font-family: var(--sans); }
.add-btn {
  width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--ivory);
  display: grid; place-items: center; font-size: 1.2rem; transition: all .2s;
}
.add-btn:hover { background: var(--gold); transform: scale(1.08); }
.badge-sale {
  position: absolute; top: 12px; left: 12px; z-index: 3; background: var(--olive); color: #fff;
  font-size: .68rem; padding: 5px 11px; border-radius: 999px; letter-spacing: 1px; font-weight: 600;
}

/* ============================ PROMO SLIDER ============================ */
.slider-wrap { position: relative; }
.slider {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 20px; scroll-behavior: smooth;
}
.slider::-webkit-scrollbar { height: 8px; }
.slider::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 999px; }
.slider > * { scroll-snap-align: start; flex: 0 0 280px; }
.slider-nav { position: absolute; top: 40%; width: 46px; height: 46px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-md); display: grid; place-items: center; color: var(--green); z-index: 5; font-size: 1.3rem; }
.slider-nav.prev { left: -20px; } .slider-nav.next { right: -20px; }

/* ============================ REVIEWS ============================ */
.reviews-band { background: linear-gradient(120deg, var(--green-tint), var(--beige)); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.review-card .stars { margin-bottom: 12px; }
.review-card p { font-size: 1rem; color: var(--ink); margin-bottom: 20px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer .av { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: var(--beige); display: grid; place-items: center; font-family: var(--serif); font-size: 1.1rem; }
.reviewer b { color: var(--green); } .reviewer span { font-size: .78rem; color: var(--ink-soft); display: block; }

/* ============================ NEWSLETTER / CTA ============================ */
.cta-band { background: var(--green); color: var(--beige); border-radius: 28px; padding: 60px; text-align: center; margin: 0 auto; }
.cta-band h2 { color: var(--ivory); font-size: 2.4rem; margin-bottom: 14px; }
.cta-band p { opacity: .85; max-width: 500px; margin: 0 auto 28px; }
.subscribe { display: flex; max-width: 460px; margin: 0 auto; gap: 10px; }
.subscribe input { flex: 1; padding: 14px 20px; border-radius: 999px; border: none; }

/* ============================ FOOTER ============================ */
footer.site-footer { background: var(--beige); color: var(--ink); padding: 60px 0 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: 1rem; margin-bottom: 16px; color: var(--green); font-family: var(--sans); font-weight: 600; letter-spacing: .5px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { font-size: .9rem; color: var(--ink-soft); }
.footer-grid a:hover { color: var(--gold-deep); }
.footer-about p { font-size: .9rem; color: var(--ink-soft); margin: 14px 0; max-width: 300px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--green); }
.socials a:hover { background: var(--green); color: var(--beige); }
.footer-bottom { border-top: 1px solid var(--beige-deep); margin-top: 40px; padding-top: 22px; text-align: center; font-size: .82rem; color: var(--ink-soft); }

/* ============================ PAGE HEADER (inner pages) ============================ */
.page-head { background: linear-gradient(120deg, var(--beige), var(--green-tint)); padding: 56px 0; text-align: center; }
.page-head h1 { font-size: 3rem; }
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-top: 8px; }
.breadcrumb a { color: var(--gold-deep); }

/* ============================ SHOP LAYOUT ============================ */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 34px; }
.filters { position: sticky; top: 100px; align-self: start; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.filters h4 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-soft); margin: 20px 0 12px; }
.filters h4:first-child { margin-top: 0; }
.filter-opt { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: .92rem; }
.filter-opt input { accent-color: var(--green); width: 16px; height: 16px; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 14px; }
.search-box { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--beige-deep); border-radius: 999px; padding: 9px 18px; min-width: 260px; }
.search-box input { border: none; outline: none; background: none; flex: 1; }
.select-sort { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--beige-deep); background: var(--white); color: var(--ink); }

/* ============================ PRODUCT DETAIL ============================ */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.pd-gallery .ph { height: 460px; border-radius: var(--radius); }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd-thumbs .ph { height: 84px; width: 84px; border-radius: var(--radius-sm); cursor: pointer; }
.pd-info .product-cat { font-size: .78rem; }
.pd-info h1 { font-size: 2.6rem; margin: 6px 0 12px; }
.pd-price { font-family: var(--serif); font-size: 2rem; color: var(--green); margin: 18px 0; }
.pd-desc { color: var(--ink-soft); margin-bottom: 24px; }
.pd-actions { display: flex; gap: 14px; align-items: center; margin: 26px 0; }
.qty { display: flex; align-items: center; border: 1px solid var(--beige-deep); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; height: 46px; color: var(--green); font-size: 1.3rem; background: var(--beige); }
.qty span { width: 46px; text-align: center; font-weight: 600; }
.pd-meta { border-top: 1px solid var(--beige-deep); padding-top: 20px; font-size: .9rem; color: var(--ink-soft); }
.pd-meta div { margin-bottom: 8px; }

/* ============================ CART ============================ */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 34px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.cart-item .ph { height: 90px; width: 90px; border-radius: var(--radius-sm); }
.cart-item h4 { font-size: 1.1rem; }
.cart-summary { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; color: var(--ink-soft); }
.summary-row.total { border-top: 1px solid var(--beige-deep); margin-top: 10px; padding-top: 16px; font-size: 1.3rem; color: var(--green); font-family: var(--serif); }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .big { font-size: 4rem; opacity: .4; }

/* ============================ FORMS (inquiry / admin) ============================ */
.form-card { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 7px; color: var(--green); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--beige-deep); border-radius: var(--radius-sm);
  background: var(--ivory); color: var(--ink); transition: border .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================ ADMIN / DASHBOARD ============================ */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 78px); }
.admin-side { background: var(--green); color: var(--beige); padding: 28px 18px; }
.admin-side .logo-text b { color: var(--ivory); }
.admin-side .logo-text small { color: var(--gold); }
.admin-nav { list-style: none; margin-top: 34px; }
.admin-nav li { margin-bottom: 6px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: .95rem; color: var(--beige); transition: background .2s; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.12); color: var(--ivory); }
.admin-main { padding: 32px 40px; background: var(--ivory); overflow-y: auto; }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 14px; }
.admin-head h1 { font-size: 2rem; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.stat-card .s-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 14px; }
.stat-card .s-val { font-family: var(--serif); font-size: 2.1rem; color: var(--green); }
.stat-card .s-lbl { font-size: .82rem; color: var(--ink-soft); }
.stat-card .s-trend { font-size: .78rem; color: var(--olive); margin-top: 4px; }

.panel { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 26px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel-head h3 { font-size: 1.3rem; }

table.data { width: 100%; border-collapse: collapse; }
table.data th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); padding: 12px 10px; border-bottom: 2px solid var(--beige-deep); }
table.data td { padding: 14px 10px; border-bottom: 1px solid var(--beige); font-size: .92rem; vertical-align: middle; }
table.data tr:hover td { background: var(--ivory); }
.tag { font-size: .72rem; padding: 4px 12px; border-radius: 999px; font-weight: 600; letter-spacing: .5px; }
.tag.green { background: var(--green-tint); color: var(--green); }
.tag.gold  { background: #F3E6C9; color: var(--gold-deep); }
.tag.olive { background: #F3E6C9; color: var(--gold-deep); }
.tag.sand  { background: var(--sand); color: var(--ink); }
.mini-thumb { width: 46px; height: 46px; border-radius: 10px; }
.row-actions { display: flex; gap: 8px; }
.row-actions button { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: .95rem; }
.row-actions .edit { background: var(--green-tint); color: var(--green); }
.row-actions .del  { background: var(--beige); color: var(--gold-deep); }
.row-actions .edit:hover { background: var(--green); color: #fff; }
.row-actions .del:hover  { background: var(--gold); color: #fff; }

/* Login gate */
.login-gate { min-height: calc(100vh - 78px); display: grid; place-items: center; padding: 40px 20px; background: linear-gradient(120deg, var(--beige), var(--green-tint)); }
.login-card { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); width: 100%; max-width: 400px; text-align: center; }
.login-card .logo { justify-content: center; margin-bottom: 22px; }
.login-hint { font-size: .8rem; color: var(--ink-soft); background: var(--green-tint); padding: 10px; border-radius: var(--radius-sm); margin-top: 18px; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(51,55,46,.45); display: grid; place-items: center; z-index: 300; padding: 20px; }
.modal { background: var(--white); border-radius: var(--radius); padding: 30px; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-head h3 { font-size: 1.5rem; }
.modal-close { font-size: 1.6rem; color: var(--ink-soft); }

/* Toast */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--green); color: var(--ivory); padding: 14px 26px; border-radius: 999px;
  box-shadow: var(--shadow-lg); z-index: 400; opacity: 0; transition: all .35s; font-size: .92rem;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
  .hero-copy h1 { font-size: 3rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; top: 78px; left: 0; right: 0; background: var(--ivory); flex-direction: column; padding: 20px 24px; gap: 4px; box-shadow: var(--shadow-md); transform: translateY(-140%); transition: transform .3s; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--beige); }
  .hamburger { display: grid; }
  .hero-grid, .pd-grid, .footer-grid, .cart-layout, .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: none; }
  .footer-grid { gap: 28px; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy h1 { font-size: 2.4rem; }
  .section-title { font-size: 1.9rem; }
  .cta-band { padding: 40px 24px; }
  .subscribe { flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr; }
  .benefits-row { gap: 14px; }
}
