/* Agni · Fantastic Foods storefront
   Palette and type taken from the business card: deep green, mustard gold, cream;
   AGNI wordmark in heavy geometric sans, "Fantastic Foods" in Playfair italic. */

@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-500.woff) format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-600.woff) format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-800.woff) format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfair-700i.woff) format("woff"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url(../fonts/lato-400.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url(../fonts/lato-700.woff) format("woff"); font-weight: 700; font-display: swap; }

:root {
  --green: #213d2c;
  --green-900: #172c20;
  --green-700: #2c4f3a;
  --green-100: #e5ece6;
  --gold: #e6a417;
  --gold-600: #c98b0c;
  --gold-100: #fbecc8;
  --cream: #fbf4e8;
  --cream-200: #f3e7d1;
  --ink: #1d2a21;
  --muted: #5d6b61;
  --line: #e4dccb;
  --danger: #a33a22;
  --radius: 14px;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-brand: "Montserrat", "Lato", system-ui, sans-serif;
  --font-script: "Playfair Display", Georgia, serif;

  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-body-bg: #fffdf8;
  --bs-link-color: var(--green-700);
  --bs-link-color-rgb: 44, 79, 58;
  --bs-link-hover-color: var(--gold-600);
  --bs-border-color: var(--line);
  --bs-focus-ring-color: rgba(230, 164, 23, .35);
}

body { font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: 3px; }
.icon { flex-shrink: 0; vertical-align: -0.2em; }
.muted { color: var(--muted); }
.gold { color: var(--gold) !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--green-900); padding: .5rem 1rem; z-index: 2000; font-weight: 700; }
.skip-link:focus { left: 1rem; }

/* ---------- Brand elements ---------- */
.wordmark { font-family: var(--font-brand); font-weight: 800; color: var(--gold); letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.brand-script { font-family: var(--font-script); font-style: italic; font-weight: 700; color: var(--cream); }
.tagline-spaced { font-family: var(--font-brand); font-weight: 500; text-transform: uppercase; letter-spacing: .32em; font-size: .72rem; color: var(--cream); margin: 0; }
.kicker { font-family: var(--font-brand); font-weight: 600; text-transform: uppercase; letter-spacing: .24em; font-size: .72rem; color: var(--gold-600); margin-bottom: .5rem; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--green-900); color: var(--cream); font-size: .8rem; padding: .4rem 0; }
.topbar a { color: var(--cream); text-decoration: none; margin-left: 1rem; }
.topbar a:hover { color: var(--gold); }
.topbar .icon { color: var(--gold); width: 16px; height: 16px; }
.topbar-promise { opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-header { background: var(--green); position: sticky; top: 0; z-index: 1030; box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.site-header .navbar { padding: .7rem 0; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand .wordmark { font-size: 1.9rem; }
.brand .brand-script { white-space: nowrap; font-size: .95rem; margin-top: .15rem; padding-left: .1rem; }
.site-header .nav-link { color: var(--cream); font-family: var(--font-brand); font-weight: 500; font-size: .86rem; letter-spacing: .04em; padding: .5rem .9rem !important; border-radius: 999px; white-space: nowrap; }
.site-header .nav-link:hover { color: var(--gold); }
.site-header .nav-link.active { color: var(--green-900); background: var(--gold); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.cart-link { position: relative; color: var(--cream); display: inline-flex; padding: .5rem; border-radius: 999px; }
.cart-link:hover, .cart-link.active { color: var(--gold); }
.cart-link .icon { width: 26px; height: 26px; }
.cart-count { position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--green-900); font: 800 .7rem/20px var(--font-brand); text-align: center; }
.cart-count.is-empty { display: none; }
.navbar-toggler { border: 1px solid rgba(251,244,232,.35); color: var(--cream); padding: .35rem .5rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(230,164,23,.4); }
.header-search { display: flex; align-items: center; background: rgba(251,244,232,.1); border: 1px solid rgba(251,244,232,.25); border-radius: 999px; padding: .1rem .2rem .1rem .9rem; margin: .5rem 0; }
.header-search input { background: transparent; border: 0; color: var(--cream); width: 11rem; font-size: .9rem; outline: none; }
.header-search input::placeholder { color: rgba(251,244,232,.6); }
.header-search button { background: none; border: 0; color: var(--gold); padding: .35rem .5rem; }
@media (max-width: 991.98px) {
  .site-header .navbar-collapse { padding: .75rem 0 .25rem; }
  .header-search input { width: 100%; }
  .header-search { width: 100%; }
}

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-brand); font-weight: 600; letter-spacing: .03em; border-radius: 999px; padding: .6rem 1.3rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-lg { padding: .8rem 1.6rem; font-size: 1rem; }
.btn-gold { background: var(--gold); color: var(--green-900); border: 2px solid var(--gold); }
.btn-gold:hover, .btn-gold:focus { background: var(--gold-600); border-color: var(--gold-600); color: var(--green-900); }
.btn-gold:disabled { background: var(--cream-200); border-color: var(--cream-200); color: var(--muted); }
.btn-green { background: var(--green); color: var(--cream); border: 2px solid var(--green); }
.btn-green:hover, .btn-green:focus { background: var(--green-700); border-color: var(--green-700); color: var(--cream); }
.btn-outline-cream { border: 2px solid rgba(251,244,232,.7); color: var(--cream); background: transparent; }
.btn-outline-cream:hover { background: var(--cream); color: var(--green); }
.btn-whatsapp { background: #1f8a4c; color: #fff; border: 2px solid #1f8a4c; }
.btn-whatsapp:hover { background: #18703d; color: #fff; }
.btn-link { color: var(--muted); font-weight: 500; }
.btn-text { background: none; border: 0; color: var(--muted); font-size: .85rem; text-decoration: underline; padding: 0; }
.btn-text:hover { color: var(--danger); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-brand); font-weight: 600; font-size: .9rem; color: var(--green-700); text-decoration: none; }
.link-arrow:hover { color: var(--gold-600); }

/* ---------- Hero ---------- */
.hero { background: var(--green); color: var(--cream); padding: 4rem 0 4.5rem; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -18vw; top: -10%; width: 60vw; height: 120%; border-left: 10px solid var(--gold); border-radius: 50% 0 0 50%; background: var(--cream); display: none; }
.hero-title { font-family: var(--font-script); font-style: italic; font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; margin: 1rem 0 1.25rem; color: var(--cream); }
.hero-text { font-size: 1.12rem; color: rgba(251,244,232,.85); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-card { position: relative; background: var(--cream); border-radius: 220px 24px 24px 220px; border-left: 12px solid var(--gold); padding: 3rem 2.5rem 2.5rem 4rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .6rem; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.hero-card .tagline-spaced { color: var(--green); font-size: .7rem; }
.wordmark-xl { font-size: clamp(3.5rem, 9vw, 5.8rem); }
.brand-script-lg { color: var(--green); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.hero-card-list { list-style: none; padding: 1rem 0 0; margin: .5rem 0 0; border-top: 2px solid var(--gold); columns: 2; column-gap: 2rem; text-align: left; color: var(--green); font-family: var(--font-brand); font-weight: 500; font-size: .9rem; }
.hero-card-list li { padding: .15rem 0; }
@media (max-width: 991.98px) { .hero { padding: 2.5rem 0 3rem; } .hero-card { border-radius: 120px 20px 20px 120px; padding: 2.25rem 1.5rem 2rem 2.5rem; } }

/* ---------- Promise strip ---------- */
.promise { background: var(--cream); border-bottom: 1px solid var(--line); }
.promise-list { list-style: none; margin: 0; padding: 1.5rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem; }
.promise-list li { display: flex; align-items: center; gap: .8rem; }
.promise-list .icon { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--green); color: var(--gold); }
.promise-list strong { display: block; font-family: var(--font-brand); font-weight: 600; font-size: .9rem; color: var(--green); }
.promise-list span { font-size: .85rem; color: var(--muted); line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0 3.5rem; }
.section-cream { background: var(--cream); }
.section-head { text-align: center; margin-bottom: 2.25rem; }
.section-title { display: flex; align-items: center; justify-content: center; gap: 1rem; font-family: var(--font-script); font-style: italic; font-weight: 700; font-size: clamp(1.6rem, 3.5vw, 2.3rem); color: var(--green); margin: 0; }
.section-title .rule { width: 56px; height: 2px; background: var(--gold); flex-shrink: 0; }
.display-title { font-family: var(--font-script); font-style: italic; font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--green); line-height: 1.2; }
.display-title em { color: var(--gold-600); }
.lead-text { font-size: 1.15rem; color: var(--green-700); }

/* ---------- Categories ---------- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.category-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.6rem; border-radius: var(--radius); background: var(--green); color: var(--cream); text-decoration: none; position: relative; overflow: hidden; min-height: 150px; transition: transform .15s ease; }
.category-card::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 120px; height: 120px; border-radius: 50%; border: 6px solid var(--gold); opacity: .55; }
.category-card:hover { transform: translateY(-3px); color: var(--cream); }
.category-name { font-family: var(--font-script); font-style: italic; font-weight: 700; font-size: 1.5rem; }
.category-desc { font-size: .9rem; opacity: .85; padding-right: 2.5rem; }
.category-count { margin-top: auto; font-family: var(--font-brand); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: .35rem; }

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .product-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease; }
.product-card:hover { box-shadow: 0 12px 28px rgba(33,61,44,.12); transform: translateY(-2px); }
.product-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--cream); }
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.badge-off, .badge-oos { position: absolute; top: .6rem; left: .6rem; font: 700 .7rem/1 var(--font-brand); padding: .35rem .55rem; border-radius: 999px; letter-spacing: .04em; }
.badge-off { background: var(--gold); color: var(--green-900); }
.badge-oos { background: var(--ink); color: var(--cream); left: auto; right: .6rem; }
.product-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-family: var(--font-brand); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin: 0 0 .25rem; font-weight: 600; }
.product-name { font-family: var(--font-brand); font-weight: 600; font-size: 1rem; margin: 0 0 .2rem; line-height: 1.3; }
.product-name a { color: var(--green); text-decoration: none; }
.product-name a:hover { color: var(--gold-600); }
.product-sizes { font-size: .82rem; color: var(--muted); margin: 0 0 .6rem; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem; }
.price .from { font-size: .75rem; color: var(--muted); }
.price-now { font-family: var(--font-brand); font-weight: 800; color: var(--green); font-size: 1.1rem; }
.price-mrp { color: var(--muted); font-size: .85rem; }
.btn-add { display: inline-flex; align-items: center; gap: .25rem; background: var(--green); color: var(--cream); border: 0; border-radius: 999px; padding: .45rem .8rem; font: 600 .8rem var(--font-brand); }
.btn-add:hover { background: var(--gold); color: var(--green-900); }
.btn-add .icon { width: 16px; height: 16px; }
.btn-view { font: 600 .8rem var(--font-brand); color: var(--green); }
.demo-flag { margin: .5rem 0 0; font-size: .7rem; color: var(--muted); font-style: italic; }
@media (max-width: 575.98px) { .btn-add span { display: none; } .product-body { padding: .75rem; } .product-name { font-size: .92rem; } }

/* Brand tile placeholder (until product photos are uploaded) */
.tile { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; padding: 1rem; text-align: center; color: var(--cream);
  background: radial-gradient(circle at 50% 120%, rgba(230,164,23,.35), transparent 55%), var(--tile-bg, var(--green)); }
.tile::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(230,164,23,.6); border-radius: 10px; }
.tile-mark { font: 800 .9rem/1 var(--font-brand); letter-spacing: .18em; color: var(--gold); }
.tile-name { font-family: var(--font-script); font-style: italic; font-weight: 700; font-size: clamp(1rem, 2.4vw, 1.45rem); line-height: 1.15; max-width: 90%; }
.tile-rule { width: 36px; height: 2px; background: var(--gold); }
.tile-foot { font: 500 .58rem/1 var(--font-brand); letter-spacing: .3em; text-transform: uppercase; opacity: .75; }
.tile-0 { --tile-bg: #213d2c; } .tile-1 { --tile-bg: #7a2e1d; } .tile-2 { --tile-bg: #8a5a12; }
.tile-3 { --tile-bg: #3e5a32; } .tile-4 { --tile-bg: #5a3a2a; } .tile-5 { --tile-bg: #2a4a4a; }
.tile-big { position: relative; inset: auto; aspect-ratio: 1 / 1; border-radius: var(--radius); }
.tile-big .tile-mark { font-size: 1.4rem; } .tile-big .tile-name { font-size: clamp(1.8rem, 4vw, 2.8rem); } .tile-big .tile-foot { font-size: .75rem; }

/* ---------- Why / WhatsApp band ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.why-item { background: var(--cream); border-radius: var(--radius); padding: 1.3rem; border-top: 3px solid var(--gold); }
.why-item h3 { font-family: var(--font-brand); font-weight: 600; font-size: 1rem; color: var(--green); margin: .3rem 0; }
.why-item p { font-size: .9rem; color: var(--muted); margin: 0; }
.why-num { font: 800 .85rem var(--font-brand); color: var(--gold-600); }
@media (max-width: 575.98px) { .why-grid { grid-template-columns: 1fr; } }
.wa-band { background: var(--green); color: var(--cream); padding: 3rem 0; }
.wa-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wa-title { font-family: var(--font-script); font-style: italic; font-weight: 700; font-size: 2rem; margin: 0 0 .3rem; }
.wa-band p { margin: 0; opacity: .85; }

/* ---------- Page head / crumbs ---------- */
.page-head { background: var(--cream); border-bottom: 1px solid var(--line); padding: 1.75rem 0 1.5rem; }
.page-title { font-family: var(--font-script); font-style: italic; font-weight: 700; color: var(--green); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.page-intro { color: var(--muted); margin: .5rem 0 0; max-width: 44rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 .6rem; font-size: .8rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--gold-600); }
.crumbs a { color: var(--muted); }
.product-page .crumbs { padding-top: 1.25rem; margin-bottom: 1rem; }

/* ---------- Shop filters ---------- */
.shop { padding-top: 2rem; padding-bottom: 4rem; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; position: sticky; top: 90px; }
.filter-group { margin-bottom: 1.1rem; border: 0; padding: 0; }
.filter-label { display: block; font-family: var(--font-brand); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: .4rem; }
.price-range { display: flex; align-items: center; gap: .4rem; }
.form-control, .form-select { border-radius: 10px; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(230,164,23,.25); }
.form-check-input:checked { background-color: var(--green); border-color: var(--green); }
.result-count { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.listing.htmx-request { opacity: .55; transition: opacity .15s; }
.empty-state { text-align: center; padding: 3rem 1rem; background: var(--cream); border-radius: var(--radius); }
@media (max-width: 991.98px) { .filters { position: static; } }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-top: 2rem; }
.pager-link { min-width: 40px; height: 40px; padding: 0 .8rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line); color: var(--green); text-decoration: none; font: 600 .85rem var(--font-brand); }
.pager-link:hover { border-color: var(--gold); }
.pager-link.current { background: var(--green); border-color: var(--green); color: var(--cream); }

/* ---------- Product page ---------- */
.product-page { padding-bottom: 3rem; }
.gallery-main-link { display: block; }
.gallery-main { border-radius: var(--radius); width: 100%; aspect-ratio: 1/1; object-fit: contain; background: var(--cream); }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .7rem; }
.gallery-thumb { display: block; border-radius: 10px; border: 2px solid var(--line); overflow: hidden; background: var(--cream); }
.gallery-thumb.is-active { border-color: var(--gold); }
.gallery-thumb img { width: 80px; height: 80px; object-fit: contain; display: block; }
.product-title { font-family: var(--font-script); font-style: italic; font-weight: 700; color: var(--green); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; margin: .2rem 0 .7rem; display: flex; align-items: center; gap: .6rem; }
.product-lead { font-size: 1.08rem; color: var(--green-700); }
.veg-mark { display: inline-flex; width: 18px; height: 18px; border: 2px solid #1d8a3a; border-radius: 3px; align-items: center; justify-content: center; flex-shrink: 0; }
.veg-mark span { width: 8px; height: 8px; border-radius: 50%; background: #1d8a3a; }
.price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 1rem 0 1.25rem; }
.price-lg { font-size: 2rem; }
.badge-off-inline { background: var(--gold-100); color: var(--gold-600); font: 700 .78rem var(--font-brand); border-radius: 999px; padding: .25rem .6rem; }
.tax-note { width: 100%; margin: 0; font-size: .82rem; color: var(--muted); }
.variant-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .6rem; margin-bottom: 1.2rem; }
.variant-option input { position: absolute; opacity: 0; }
.variant-box { display: flex; flex-direction: column; gap: .1rem; padding: .75rem .9rem; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; height: 100%; }
.variant-option input:checked + .variant-box { border-color: var(--green); background: var(--green-100); }
.variant-option input:focus-visible + .variant-box { outline: 3px solid var(--gold); }
.variant-option.is-oos .variant-box { opacity: .5; cursor: not-allowed; }
.variant-label { font: 700 .95rem var(--font-brand); color: var(--green); }
.variant-price { font-weight: 700; }
.variant-mrp { font-size: .8rem; color: var(--muted); }
.variant-stock { font-size: .75rem; color: var(--muted); }
.buy-row { display: flex; gap: .6rem; }
.qty-input { width: 84px; text-align: center; border-radius: 999px; font-weight: 700; }
.assurances { list-style: none; padding: 1rem 0 0; margin: 1rem 0 0; display: grid; gap: .45rem; font-size: .9rem; color: var(--green-700); }
.assurances .icon { color: var(--gold-600); margin-right: .35rem; }
.details { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary, .faq summary { cursor: pointer; padding: 1rem 0; font: 600 .95rem var(--font-brand); color: var(--green); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.details summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.details summary::after, .faq summary::after { content: "+"; font-size: 1.3rem; color: var(--gold-600); font-weight: 500; }
.details details[open] summary::after, .faq[open] summary::after { content: "−"; }
.details-body { padding-bottom: 1rem; color: #33413a; }
.spec-table { width: 100%; font-size: .9rem; }
.spec-table th { color: var(--muted); font-weight: 600; width: 40%; padding: .35rem 1rem .35rem 0; vertical-align: top; }
.spec-table td { padding: .35rem 0; }
.demo-banner, .notice { display: flex; gap: .6rem; align-items: flex-start; background: var(--gold-100); border: 1px solid #efd28a; border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1.25rem; font-size: .9rem; color: #5b4300; }
.notice-ok { background: #e3efe6; border-color: #b6d3bf; color: var(--green); }
.notice-warn { background: #fbe3dc; border-color: #eab5a5; color: var(--danger); }

/* ---------- Cart ---------- */
.cart-lines { list-style: none; padding: 0; margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 80px 1fr auto; gap: 1rem; align-items: start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.cart-line.has-problem { background: #fff7f4; }
.cart-thumb { position: relative; display: block; width: 80px; height: 80px; border-radius: 10px; overflow: hidden; }
.cart-thumb .tile { padding: .3rem; gap: .15rem; } .cart-thumb .tile::before { inset: 4px; border-radius: 6px; }
.cart-thumb .tile-mark { font-size: .5rem; } .cart-thumb .tile-name { font-size: .7rem; } .cart-thumb .tile-foot, .cart-thumb .tile-rule { display: none; }
.cart-name { font: 600 1rem var(--font-brand); color: var(--green); text-decoration: none; }
.cart-meta { font-size: .85rem; color: var(--muted); margin: .1rem 0 .5rem; }
.cart-problem { color: var(--danger); font-size: .85rem; font-weight: 700; margin: 0 0 .4rem; }
.cart-controls { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-stepper button { background: #fff; border: 0; padding: .35rem .6rem; color: var(--green); }
.qty-stepper button:hover { background: var(--cream); }
.qty-stepper input { width: 48px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-total { font: 800 1rem var(--font-brand); color: var(--green); white-space: nowrap; }
#cartbody.htmx-request { opacity: .6; }
.summary { background: var(--cream); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 90px; }
.summary-title { font-family: var(--font-script); font-style: italic; font-weight: 700; color: var(--green); font-size: 1.5rem; }
.summary-rows { margin: 1rem 0 .5rem; }
.summary-rows div { display: flex; justify-content: space-between; padding: .35rem 0; }
.summary-rows dt { font-weight: 400; } .summary-rows dd { margin: 0; font-weight: 700; }
.summary-rows .saving dd { color: #1d7a3a; }
.summary-rows .total { border-top: 2px solid var(--gold); margin-top: .5rem; padding-top: .7rem; font-size: 1.15rem; }
.summary-rows .total dd { font-family: var(--font-brand); font-weight: 800; color: var(--green); }
.summary-lines { list-style: none; padding: 0; margin: .5rem 0; font-size: .9rem; }
.summary-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.summary-lines small { color: var(--muted); }
.summary .tax-note { margin-bottom: 1rem; }
@media (max-width: 575.98px) { .cart-line { grid-template-columns: 64px 1fr; } .cart-thumb { width: 64px; height: 64px; } .cart-total { grid-column: 2; } }

.checkout-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; border-top: 4px solid var(--gold); }
.wa-preview { white-space: pre-wrap; background: var(--cream); padding: 1rem; border-radius: 10px; font-size: .85rem; }

/* ---------- Toast ---------- */
.toast-region { position: fixed; z-index: 1080; left: 50%; bottom: 1.25rem; transform: translateX(-50%); width: min(92vw, 420px); }
.toast-msg { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--green); color: var(--cream); padding: .85rem 1.1rem; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.25); border-left: 5px solid var(--gold);
  animation: toast-in .2s ease-out, toast-out .4s ease-in 4s forwards; }
.toast-msg a { color: var(--gold); font-weight: 700; white-space: nowrap; }
.toast-warn { background: #5b2417; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; visibility: hidden; transform: translateY(10px); } }

/* ---------- Content pages ---------- */
.prose { max-width: 46rem; margin: 0 auto; font-size: 1.02rem; }
.prose h2 { font-family: var(--font-script); font-style: italic; font-weight: 700; color: var(--green); margin-top: 2rem; }
.prose h3 { font-family: var(--font-brand); font-weight: 600; color: var(--green); font-size: 1.1rem; margin-top: 1.5rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.contact-card { display: flex; flex-direction: column; gap: .3rem; height: 100%; padding: 1.5rem; border-radius: var(--radius); background: var(--cream); text-decoration: none; color: var(--ink); border-top: 3px solid var(--gold); }
.contact-card .icon { width: 30px; height: 30px; color: var(--green); }
.contact-card h2 { font: 600 .8rem var(--font-brand); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin: .5rem 0 0; }
.contact-card p { font-weight: 700; color: var(--green); margin: 0; }
.contact-card span { font-size: .85rem; color: var(--muted); }
a.contact-card:hover { background: var(--cream-200); }
.error-page { text-align: center; }
.error-code { font: 800 4rem/1 var(--font-brand); color: var(--gold); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: var(--cream); padding: 3.5rem 0 1.5rem; margin-top: 0; }
.brand-footer .wordmark { font-size: 3rem; }
.site-footer .tagline-spaced { margin-top: .6rem; font-size: .66rem; }
.script-rule { display: flex; align-items: center; gap: .8rem; margin: 1rem 0; }
.script-rule::before, .script-rule::after { content: ""; flex: 0 0 40px; height: 2px; background: var(--gold); }
.script-rule span { font-family: var(--font-script); font-style: italic; font-weight: 700; font-size: 1.5rem; }
.footer-promise { font-size: .9rem; opacity: .8; }
.footer-title { font-family: var(--font-brand); font-weight: 500; text-transform: uppercase; letter-spacing: .26em; font-size: .78rem; color: var(--gold); margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a, .footer-contact a { color: var(--cream); text-decoration: none; opacity: .9; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); opacity: 1; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .7rem; align-items: flex-start; }
.footer-contact .icon { color: var(--gold); width: 22px; height: 22px; }
.footer-contact .fssai { color: #f1e2bf; font-size: .9rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(251,244,232,.15); font-size: .8rem; opacity: .7; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .toast-msg { animation: none; } }
.topbar-contact { display: flex; align-items: center; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 575.98px) { .topbar { font-size: .72rem; } .topbar a { margin-left: .75rem; } }
.filters .form-check { padding-left: 1.75em; }

/* ---------- How to cook with Agni ---------- */
.cook-box { margin-top: 1.5rem; background: var(--cream); color: var(--ink); border: 1px solid #efdcb4; border-left: 6px solid var(--gold); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.cook-title { font-family: var(--font-script); font-style: italic; font-weight: 700; font-size: 1.45rem; color: var(--green); margin: 0 0 .2rem; display: flex; align-items: center; gap: .5rem; }
.cook-title .icon { color: var(--gold-600); width: 24px; height: 24px; }
.cook-lead { font: 600 .8rem var(--font-brand); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin: 0 0 .8rem; }
.cook-steps { margin: 0; padding-left: 1.25rem; display: grid; gap: .5rem; color: #33413a; }
.cook-steps li { padding-left: .25rem; line-height: 1.5; }
.cook-steps li::marker { color: var(--gold-600); font-weight: 800; font-family: var(--font-brand); }
.cook-extra { margin-top: .9rem; padding-top: .8rem; border-top: 1px dashed #e2cfa3; color: var(--green-700); font-weight: 700; }
.cook-extra p { margin: 0; }
.cook-note { margin: .9rem 0 0; font-size: .88rem; color: var(--muted); font-style: italic; }
.cook-home-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 980px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.cook-home-steps li { background: #fff; border-radius: var(--radius); padding: 1.5rem; border-top: 3px solid var(--gold); text-align: center; }
.cook-home-steps p { margin: .6rem 0 0; color: var(--green-700); }
.cook-num { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--green); color: var(--gold); font: 800 1.1rem var(--font-brand); }
.cook-home-note { text-align: center; margin: 1.5rem 0 0; font-family: var(--font-script); font-style: italic; font-weight: 700; color: var(--green); font-size: 1.2rem; }

/* ---------- History of spices ---------- */
.history-hero { background: var(--green); color: var(--cream); padding: 2rem 0 2.5rem; }
.history-hero .crumbs ol, .history-hero .crumbs a { color: rgba(251,244,232,.75); }
.history-title { font-family: var(--font-script); font-style: italic; font-weight: 700; font-size: clamp(2.1rem, 5vw, 3.4rem); color: var(--cream); margin: .6rem 0 1rem; }
.history-intro { max-width: 46rem; font-size: 1.1rem; color: rgba(251,244,232,.88); }
.history-intro strong { color: var(--gold); }
.era-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.era-nav a { border: 1px solid rgba(251,244,232,.35); color: var(--cream); text-decoration: none; border-radius: 999px; padding: .35rem .9rem; font: 600 .8rem var(--font-brand); }
.era-nav a:hover { background: var(--gold); color: var(--green-900); border-color: var(--gold); }

.timeline { list-style: none; margin: 3rem auto 1rem; padding: 0; position: relative; max-width: 1040px; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: linear-gradient(var(--gold), var(--gold-600)); border-radius: 3px; }
.timeline-era { position: relative; text-align: center; margin: 1rem 0 2rem; scroll-margin-top: 110px; }
.timeline-era span { position: relative; display: inline-block; background: var(--green); color: var(--gold); font: 600 .78rem var(--font-brand); letter-spacing: .2em; text-transform: uppercase; padding: .55rem 1.2rem; border-radius: 999px; }
.timeline-item { position: relative; width: 50%; padding: 0 2.5rem 2rem 0; }
.timeline-item:nth-child(even of .timeline-item) { margin-left: 50%; padding: 0 0 2rem 2.5rem; }
.timeline-dot { position: absolute; top: 1.4rem; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); border: 3px solid var(--gold); z-index: 1; }
.timeline-item:nth-child(even of .timeline-item) .timeline-dot { right: auto; left: -9px; }
.timeline-card { background: var(--cream); border: 1px solid #efdcb4; border-radius: var(--radius); padding: 1.25rem 1.4rem; box-shadow: 0 6px 18px rgba(33,61,44,.06); }
.timeline-year { font: 800 1.05rem var(--font-brand); color: var(--gold-600); margin: 0 0 .2rem; letter-spacing: .02em; }
.timeline-heading { font-family: var(--font-script); font-style: italic; font-weight: 700; font-size: 1.45rem; color: var(--green); margin: 0 0 .5rem; }
.timeline-body { color: #33413a; }
.timeline-body p:last-child { margin-bottom: 0; }
.timeline-item.is-highlight .timeline-card { background: var(--gold-100); border: 2px solid var(--gold); box-shadow: 0 12px 30px rgba(201,139,12,.25); }
.timeline-item.is-highlight .timeline-year { font-size: 1.6rem; color: var(--green); }
.timeline-item.is-highlight .timeline-dot { width: 26px; height: 26px; top: 1.2rem; right: -13px; background: var(--gold); border-color: var(--green); }
.timeline-item.is-highlight:nth-child(even of .timeline-item) .timeline-dot { left: -13px; }
.timeline-badge { display: inline-block; background: var(--green); color: var(--gold); font: 600 .68rem var(--font-brand); letter-spacing: .14em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; margin: 0 0 .5rem; }
.history-outro h3 { font-size: 1rem; margin-top: 2rem; }
.history-outro ul { font-size: .85rem; color: var(--muted); word-break: break-word; }
@media (max-width: 767.98px) {
  .timeline::before { left: 12px; }
  .timeline-era { text-align: left; padding-left: 0; }
  .timeline-item, .timeline-item:nth-child(even of .timeline-item) { width: auto; margin-left: 0; padding: 0 0 1.5rem 2.4rem; }
  .timeline-dot, .timeline-item:nth-child(even of .timeline-item) .timeline-dot { left: 3px; right: auto; }
  .timeline-item.is-highlight .timeline-dot, .timeline-item.is-highlight:nth-child(even of .timeline-item) .timeline-dot { left: -1px; }
}
.history-teaser { padding: 3rem 0; }
.teaser-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--cream); border-radius: var(--radius); border-left: 6px solid var(--gold); padding: 2rem 2.25rem; }
.teaser-inner > div { max-width: 44rem; }
.teaser-inner p:last-child { margin: 0; color: var(--green-700); }

/* ---- Accounts, checkout, payment, orders ---- */
.account-link { gap: .35rem; }
.account-name { font: 600 .85rem var(--font-brand); max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-card, .pay-card { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 2rem; }
.pay-card { max-width: 560px; }
.auth-card .form-label, .checkout-card .form-label { font-weight: 700; font-size: .9rem; color: var(--green); }
.auth-switch { margin: 1.25rem 0 .5rem; text-align: center; }
.invalid-feedback { color: var(--danger); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--danger); }
.pay-options { display: grid; gap: .6rem; }
.pay-option { display: flex; gap: .8rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; cursor: pointer; background: #fff; }
.pay-option:has(input:checked) { border-color: var(--gold); background: var(--gold-100); }
.pay-option input { margin-top: .3rem; accent-color: var(--green); }
.pay-option small { display: block; color: var(--muted); }
.free { color: #1d7a3a; font-weight: 700; }
.free-hint { display: flex; gap: .4rem; align-items: center; font-size: .9rem; color: var(--green); background: var(--green-100); border-radius: 10px; padding: .5rem .75rem; }
.summary .btn .icon, .pay-card .btn .icon { width: 1.1em; height: 1.1em; vertical-align: -.15em; }
.status-pill { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font: 600 .75rem var(--font-brand); letter-spacing: .02em; background: var(--cream-200); color: var(--green); white-space: nowrap; }
.status-pending_payment, .pay-pending { background: var(--gold-100); color: #6b4c00; }
.status-confirmed, .status-processing, .status-packed { background: #e3eefa; color: #1d4f86; }
.status-shipped { background: #efe6fa; color: #5a2d8a; }
.status-delivered, .pay-paid { background: #dff1e4; color: #1d6b35; }
.status-delivery_failed, .status-cancelled, .status-returned, .pay-failed { background: #fbe3dc; color: var(--danger); }
.thanks-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--cream); border: 1px solid var(--gold); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.thanks-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.thanks-icon .icon { width: 26px; height: 26px; }
.tracker { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.tracker li { position: relative; text-align: center; font: 600 .8rem var(--font-brand); color: var(--muted); padding-top: 1.6rem; }
.tracker li::before { content: ""; position: absolute; top: .55rem; left: -50%; right: 50%; height: 3px; background: var(--line); }
.tracker li:first-child::before { display: none; }
.tracker .dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #fff; border: 3px solid var(--line); z-index: 1; }
.tracker li.done { color: var(--green); }
.tracker li.done::before, .tracker li.done .dot { background: var(--green); border-color: var(--green); }
.tracker li.now .dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-100); }
.ship-box { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; background: var(--green-100); border-radius: 12px; padding: .8rem 1rem; }
.ship-box .icon { width: 1.2em; height: 1.2em; vertical-align: -.2em; }
.order-items, .history { list-style: none; padding: 0; margin: 0; }
.order-items li { display: flex; gap: .5rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.order-items li span { margin-left: auto; font-weight: 700; }
.history li { padding: .3rem 0; font-size: .9rem; }
.history time { color: var(--muted); margin-right: .5rem; font-size: .85rem; }
.orders-table th { font: 600 .8rem var(--font-brand); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.order-subhead { font: 700 .8rem var(--font-brand); text-transform: uppercase; letter-spacing: .12em; color: var(--gold-600); margin: 1.75rem 0 .5rem; }
.history li.scan { color: var(--muted); }

/* Waiting-for-payment bar and dismissible notices */
.pending-bar { background: var(--gold-100); border-bottom: 1px solid #efd28a; color: #5b4300; font-size: .92rem; }
.pending-bar .container { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; padding-top: .55rem; padding-bottom: .55rem; }
.pending-bar .icon { width: 1.05em; height: 1.05em; vertical-align: -.15em; }
.pending-actions { display: flex; align-items: center; gap: .5rem; }
.pending-close, .notice-close { border: 0; background: transparent; color: inherit; padding: .25rem; line-height: 1; opacity: .7; }
.pending-close:hover, .notice-close:hover { opacity: 1; }
.pending-close .icon, .notice-close .icon { width: 1.1rem; height: 1.1rem; }
.notice-dismissible { position: relative; padding-right: 2.5rem; }
.notice-dismissible .notice-close { position: absolute; top: .5rem; right: .5rem; }
.notice[hidden] { display: none; }

/* ---- Recipes & cooking guide ---- */
.guide-band { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; background: var(--cream); border: 1px solid var(--gold); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2rem; color: var(--green); text-decoration: none; }
.guide-band .icon { width: 1.4rem; height: 1.4rem; color: var(--gold-600); }
.guide-band .link-arrow { margin-left: auto; }
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.recipe-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.recipe-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(33,61,44,.12); }
.recipe-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
/* Whole dish always visible (no cropping); cut-out photos sit on the cream background. */
.recipe-card-media img { width: 100%; height: 100%; object-fit: contain; padding: .6rem; }
.recipe-card-body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem 1.2rem; }
.recipe-card-title { font: italic 700 1.35rem var(--font-script); color: var(--green); }
.recipe-card-text { color: var(--muted); font-size: .92rem; }
.recipe-meta { font-size: .8rem; color: var(--gold-600); font-weight: 700; margin-top: auto; }
.recipe-meta .icon { width: 1em; height: 1em; vertical-align: -.12em; }
.recipe-facts { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.recipe-facts li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .4rem .8rem; display: flex; flex-direction: column; min-width: 6rem; }
.recipe-facts span { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.recipe-facts b { color: var(--green); }
.recipe-facts .cookware-cooker { border-color: var(--gold); background: var(--gold-100); }
.lang-switch { display: flex; gap: .4rem; margin-top: 1rem; }
.lang-switch a { border: 1px solid var(--line); border-radius: 999px; padding: .2rem .8rem; font-size: .9rem; color: var(--green); text-decoration: none; background: #fff; }
.lang-switch a.active { background: var(--green); border-color: var(--green); color: #fff; }
.ingredients { background: var(--cream); border-radius: var(--radius); padding: 1.25rem 1.25rem 1rem; }
.ingredients-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.serves-control { display: flex; align-items: center; gap: .4rem; font-size: .9rem; }
.serves-control button { width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--green); }
.serves-control .icon { width: .9rem; height: .9rem; }
.ingredient-list { list-style: none; padding: 0; margin: 0 0 .75rem; }
.ingredient-list li { border-bottom: 1px dashed var(--line); }
.ingredient-list label { display: flex; gap: .6rem; padding: .45rem 0; cursor: pointer; align-items: baseline; }
.ingredient-list input { accent-color: var(--green); }
.ingredient-list input:checked + span { color: var(--muted); text-decoration: line-through; }
.ingredient-list .qty { font-weight: 700; color: var(--green); }
.ingredient-list strong { color: var(--green); }
.ingredient-group { font: 700 .75rem var(--font-brand); text-transform: uppercase; letter-spacing: .1em; color: var(--gold-600); padding: .9rem 0 .2rem; border-bottom: 0 !important; }
.recipe-buy { margin-top: 1.25rem; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.recipe-buy-name { display: block; font: italic 700 1.25rem var(--font-script); color: var(--green); margin-bottom: .25rem; }
.recipe-hero { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin: 0 0 1.5rem; background: var(--cream); }
/* A real photo keeps its own shape (never cropped); very tall photos are fitted within 520px. */
.recipe-hero.has-photo { aspect-ratio: auto; display: flex; justify-content: center; }
.recipe-hero.has-photo img { display: block; max-width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.recipe-hero .tile-name { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.recipe-hero .tile-mark { font-size: 1.2rem; }
.recipe-steps { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.recipe-steps li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.step-num { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font: 800 1rem var(--font-brand); }
.step-body { flex: 1; min-width: 0; }
.step-body p:last-child { margin-bottom: 0; }
.recipe-steps li.is-tip { background: var(--cream); border: 1px solid var(--gold); border-radius: var(--radius); padding: 1rem; margin: .5rem 0; }
.recipe-steps li.is-tip .step-num { background: var(--gold); color: var(--green); }
.step-tip-label { font: 700 .78rem var(--font-brand); text-transform: uppercase; letter-spacing: .08em; color: var(--gold-600); margin-bottom: .3rem; }
.step-tip-label .icon { width: 1em; height: 1em; vertical-align: -.12em; }
.step-img { display: block; max-width: min(100%, 520px); height: auto; max-height: 420px; object-fit: contain; border-radius: 10px; margin-top: .75rem; }
.recipe-tip { display: flex; gap: .75rem; background: var(--green-100); border-radius: var(--radius); padding: 1rem 1.25rem; margin-top: 1.5rem; }
.recipe-tip .icon { flex: none; width: 1.3rem; height: 1.3rem; color: var(--green); margin-top: .15rem; }
.recipe-tip p:last-child { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list .faq { border-bottom: 1px solid var(--line); }
.recipe-link { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; padding: .9rem 1.1rem; border: 1px solid var(--gold); border-radius: var(--radius); background: #fff; color: var(--green); text-decoration: none; }
.recipe-link .icon { flex: none; width: 1.4rem; height: 1.4rem; color: var(--gold-600); }
.recipe-link small { display: block; color: var(--muted); }
.recipe-link > span:last-child { margin-left: auto; font-size: 1.3rem; }
.guide-recipes { columns: 2; }

/* ---------- Reviews ---------- */
.stars { display: inline-flex; gap: 1px; line-height: 1; font-size: 1rem; vertical-align: -.1em; }
.star { color: #d9cfbb; }
.star-full { color: var(--gold); }
.star-half { background: linear-gradient(90deg, var(--gold) 50%, #d9cfbb 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating-line { display: flex; align-items: center; gap: .3rem; margin: -.15rem 0 .35rem; font-size: .82rem; font-weight: 600; color: var(--green); }
.rating-line .stars { font-size: .85rem; }
.rating-link { display: inline-flex; align-items: center; gap: .35rem; margin: -.25rem 0 .75rem; font-weight: 600; color: var(--green); text-decoration: none; }
.rating-link:hover { text-decoration: underline; }
.reviews { border-top: 1px solid var(--line); }
.rating-big { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.rating-big .stars { font-size: 1.3rem; }
.rating-num { font: 700 2.6rem/1 var(--font-brand); color: var(--green); }
.rating-bars { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .85rem; }
.rating-bars li { display: grid; grid-template-columns: 2.6rem 1fr 2rem; gap: .5rem; align-items: center; margin-bottom: .3rem; }
.rating-bars .bar { width: 100%; height: .55rem; border: 0; border-radius: 99px; background: var(--cream-200); overflow: hidden; -webkit-appearance: none; appearance: none; }
.rating-bars .bar::-webkit-progress-bar { background: var(--cream-200); border-radius: 99px; }
.rating-bars .bar::-webkit-progress-value { background: var(--gold); border-radius: 99px; }
.rating-bars .bar::-moz-progress-bar { background: var(--gold); border-radius: 99px; }
.review { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.review:first-child { padding-top: 0; }
.review header { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.review-title { color: var(--green); }
.review-meta { font-size: .82rem; color: var(--muted); margin: .3rem 0 .5rem; }
.verified { color: #1d6b35; font-weight: 600; }
.verified .icon { width: 1em; height: 1em; vertical-align: -.15em; }
.review-body p { margin-bottom: .5rem; }
.review-reply { margin-top: .6rem; padding: .7rem .9rem; background: var(--cream); border-left: 3px solid var(--gold); border-radius: 8px; font-size: .92rem; }
.review-reply p { margin-bottom: .3rem; }
.review-reply-by { font-weight: 700; color: var(--green); }
.review-list { list-style: none; padding: 0; margin: 1.25rem 0 0; border-top: 1px solid var(--line); }
.review-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem .5rem; border-bottom: 1px solid var(--line); }
.review-item.is-highlight { background: var(--gold-100); border-radius: 10px; }
.status-ok { background: #dff1e4; color: #1d6b35; }
.status-warn { background: #fbe3dc; color: var(--danger); }
.review-card { max-width: 620px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2.2rem; line-height: 1; color: #d9cfbb; cursor: pointer; transition: color .1s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.star-input.is-invalid label { color: #eab5a5; }
