/* ==========================================================================
   Araliya — storefront styles
   Brand: dark green / gold / white
   ========================================================================== */

:root {
  --green-950: #05241a;
  --green-900: #082e22;
  --green-800: #0b3b2c;
  --green-700: #0f4a37;
  --green-600: #155c45;
  --green-100: #e7efeb;
  --green-50:  #f4f7f5;

  --gold-700: #8f6f1d;
  --gold-600: #a98426;
  --gold-500: #c9a13b;
  --gold-400: #d9b75a;
  --gold-100: #f6eed6;
  --gold-50:  #fbf8ef;

  --white: #ffffff;
  --ink: #1b2420;
  --ink-2: #4a5550;
  --ink-3: #7b8580;
  --line: #e3e7e5;
  --line-2: #eef1ef;
  --sale: #b3261e;

  --wrap: 1320px;
  --r: 8px;
  --r-lg: 12px;
  --shadow: 0 6px 20px rgba(8, 46, 34, .08);
  --shadow-lg: 0 20px 50px rgba(5, 36, 26, .25);

  --font: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Nunito", "Nunito Sans", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); letter-spacing: -.005em; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Image slots: neutral block until a photo is present */
.ph { background: var(--green-100); }
img.missing { visibility: hidden; }

/* ==========================================================================
   Utility bar
   ========================================================================== */
.util { background: var(--white); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.util .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.util ul { display: flex; align-items: center; gap: 22px; }
.util a:hover { color: var(--green-700); }
.util strong { color: var(--green-800); font-weight: 600; }
.util .lang a { padding: 0 2px; }
.util .lang .on { color: var(--green-800); font-weight: 600; border-bottom: 2px solid var(--gold-500); }

/* ==========================================================================
   Header
   ========================================================================== */
.header { position: sticky; top: 0; z-index: 50; }
.header__main { background: var(--green-800); color: var(--white); }
.header__row { display: flex; align-items: center; height: 72px; gap: 8px; }

.logo { display: flex; align-items: center; gap: 10px; padding-right: 18px; white-space: nowrap; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-500);
  display: grid; place-items: center;
}
.logo__mark svg { width: 22px; height: 22px; fill: var(--green-800); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font-family: var(--font-head); font-size: 21px; font-weight: 800; letter-spacing: .05em; }
.logo__text small { font-size: 10px; letter-spacing: .32em; color: var(--gold-400); margin-top: 4px; font-weight: 600; }

.cats-btn {
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r);
  font-weight: 600; font-size: 14px;
  transition: border-color .2s, background .2s;
}
.cats-btn:hover, .cats-btn[aria-expanded="true"] { border-color: var(--gold-500); background: rgba(255,255,255,.04); }

.search-wrap { flex: 1; min-width: 0; padding: 0 10px; }
.search { display: flex; height: 44px; }
.search input {
  flex: 1; min-width: 0; border: 0; outline: none;
  padding: 0 16px; border-radius: var(--r) 0 0 var(--r);
  color: var(--ink);
}
.search input:focus { box-shadow: inset 0 0 0 2px var(--gold-500); }
.search button {
  width: 56px; border-radius: 0 var(--r) var(--r) 0;
  background: var(--gold-500); color: var(--green-950);
  display: grid; place-items: center; transition: background .2s;
}
.search button:hover { background: var(--gold-400); }

.hbtn {
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 12px;
  font-size: 14px; line-height: 1.15;
  border-radius: var(--r);
  white-space: nowrap;
  position: relative;
  transition: background .2s;
}
.hbtn:hover { background: rgba(255,255,255,.07); }
.hbtn small { display: block; font-size: 12px; color: rgba(255,255,255,.65); }
.hbtn b { font-weight: 600; }
.hbtn .icon { width: 24px; height: 24px; }

.cart-count {
  position: absolute; top: 2px; left: 26px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px;
  background: var(--gold-500); color: var(--green-950);
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}
.menu-toggle { display: none; }

/* Primary nav */
.header__nav { background: var(--green-900); color: var(--white); border-top: 1px solid rgba(255,255,255,.06); }
.nav { display: flex; align-items: center; height: 46px; font-size: 14px; font-weight: 600; }
.nav > li { position: relative; height: 100%; }
.nav > li > a, .nav > li > button {
  display: flex; align-items: center; gap: 6px;
  height: 100%; padding: 0 16px;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav > li:first-child > a, .nav > li:first-child > button { padding-left: 0; }
.nav > li > a:hover, .nav > li > button:hover { color: var(--gold-400); border-bottom-color: var(--gold-500); }
.nav .chev { width: 14px; height: 14px; }
.nav .icon:not(.chev) { width: 18px; height: 18px; }
.nav__promo { color: var(--gold-400); }
.nav__right { margin-left: auto; }

.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 220px;
  background: var(--white); color: var(--ink);
  border-radius: 0 0 var(--r) var(--r);
  border-top: 3px solid var(--gold-500);
  padding: 6px 0;
  box-shadow: var(--shadow-lg);
  font-weight: 400;
  opacity: 0; visibility: hidden;
  transition: opacity .15s, visibility .15s;
}
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown { opacity: 1; visibility: visible; }
.nav__right .dropdown, .nav > li:last-child .dropdown { left: auto; right: 0; }
.dropdown a { display: block; padding: 10px 18px; font-size: 14px; }
.dropdown a:hover { background: var(--green-50); color: var(--green-700); }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); color: var(--ink);
  border-top: 3px solid var(--gold-500);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: opacity .15s, visibility .15s;
}
.mega.open { opacity: 1; visibility: visible; }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px 24px; padding: 24px; }
.mega__grid a {
  display: flex; align-items: center; gap: 12px;
  padding: 8px; border-radius: var(--r);
  font-size: 15px;
}
.mega__grid a:hover { background: var(--green-50); color: var(--green-700); }
.mega__grid img { width: 40px; height: 40px; object-fit: contain; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px;
  border-radius: var(--r);
  font-weight: 600; font-size: 15px;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn--gold { background: var(--gold-500); color: var(--green-950); }
.btn--gold:hover { background: var(--gold-400); }
.btn--green { background: var(--green-800); color: var(--white); }
.btn--green:hover { background: var(--green-700); }
.btn--white { background: var(--white); color: var(--green-800); }
.btn--white:hover { background: var(--gold-50); }
.btn--ghost { border: 1px solid rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn .icon { width: 16px; height: 16px; stroke-width: 2.2; }

/* ==========================================================================
   Hero tiles: flat colour block, headline on top, photo fading in below
   ========================================================================== */
.hero { padding: 24px 0 8px; }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 320px 320px;
  gap: 14px;
}
.tile {
  --bg: var(--green-700); --ink-t: var(--white);
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 22px 24px;
  display: flex; flex-direction: column;
  color: var(--ink-t);
  isolation: isolate;
  background: var(--bg);
}
.tile > img {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -1;
  width: 100%; height: 72%;
  object-fit: cover; object-position: center bottom;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 34%);
  transition: transform .6s ease;
}
.tile:hover > img { transform: scale(1.03); }

.tile--gold  { --bg: #dba64a; --ink-t: var(--green-950); }
.tile--sage  { --bg: #7f9e93; }
.tile--leaf  { --bg: #4f7f45; }
.tile--deep  { --bg: var(--green-800); }
.tile--mint  { --bg: #b9cdbf; --ink-t: var(--green-950); }
.tile--cream { --bg: #efe3c4; --ink-t: var(--green-950); }
.tile--olive { --bg: #24503b; }

.tile h3 { font-size: 20px; font-weight: 700; line-height: 1.2; max-width: 16ch; }
.tile p { font-size: 14px; margin-top: 4px; opacity: .85; max-width: 26ch; line-height: 1.4; }
.tile .btn {
  margin-top: auto; align-self: flex-start;
  height: 30px; padding: 0 10px 0 12px; gap: 4px;
  font-size: 13px; font-weight: 700;
  background: var(--white); color: var(--green-800);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(5,36,26,.18);
}
.tile .btn::after {
  content: ""; width: 6px; height: 6px; margin-left: 4px;
  border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg);
}
.tile:hover .btn { background: var(--gold-50); }

.tile--big { grid-column: 3 / span 2; grid-row: 1; padding: 34px 36px; }
.tile--big > img {
  top: 0; left: auto; width: 66%; height: 100%;
  object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.tile--big h3 { font-size: 28px; max-width: 13ch; letter-spacing: -.01em; }
.tile--big p { font-size: 15px; max-width: 24ch; }

.tile__code {
  margin-top: 10px; align-self: flex-start;
  border: 1px dashed currentColor; border-radius: 6px;
  padding: 4px 10px; font-size: 13px;
}
.tile__code b { letter-spacing: .06em; font-size: 15px; margin-left: 4px; }
.tile__chips { display: flex; gap: 6px; margin-top: 10px; }
.tile__chips span {
  background: rgba(255,255,255,.75); color: var(--green-950);
  border-radius: 6px; padding: 4px 9px;
  font-size: 12px; line-height: 1.25;
}
.tile__chips b { display: block; font-size: 14px; color: var(--green-800); }

/* ==========================================================================
   Service strip
   ========================================================================== */
.services { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--green-50); border-radius: 14px; }
.service { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 18px; }
.service + .service { border-left: 1px solid var(--line); }
.service .icon { width: 26px; height: 26px; color: var(--green-700); stroke-width: 1.5; }
.service h4 { font-size: 14px; font-weight: 700; color: var(--green-900); }
.service p { font-size: 13px; color: var(--ink-3); margin-top: 1px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 40px 0; }
.section--tint { background: var(--green-50); }
.section-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-bottom: 22px; }
.section-head > :first-child { grid-column: 2; text-align: center; }
.section-head > .see-all { grid-column: 3; justify-self: end; }
.section-title { font-size: 22px; font-weight: 700; color: var(--green-900); letter-spacing: -.005em; }
.section-sub { font-size: 15px; color: var(--ink-3); margin-top: 2px; }
.see-all { font-size: 14px; font-weight: 600; color: var(--green-700); display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.see-all:hover { color: var(--gold-700); text-decoration: underline; }
.see-all .icon { width: 16px; height: 16px; }

/* ==========================================================================
   Deal rows
   ========================================================================== */
.deal-row {
  display: grid;
  grid-template-columns: 400px 1fr;
  margin-bottom: 28px;
}
.deal-banner {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 16px;
  padding: 30px 92px 28px 28px;
  display: flex; flex-direction: column;
  color: var(--white);
  min-height: 380px;
  background: #173f2f;
}
.deal-banner > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.deal-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(23,63,47,.8) 0%, rgba(23,63,47,0) 42%);
}
.deal-banner--gold { color: var(--green-950); background: #d9a43c; }
.deal-banner--gold::before { background: linear-gradient(180deg, rgba(217,164,60,.85) 0%, rgba(217,164,60,0) 42%); }
.deal-banner h3 { font-size: 26px; font-weight: 700; line-height: 1.1; }
.deal-banner p { margin-top: 6px; font-size: 14px; opacity: .9; max-width: 22ch; line-height: 1.4; }
.deal-banner .btn {
  margin-top: auto; align-self: flex-start;
  height: 32px; padding: 0 12px; font-size: 13px; font-weight: 700;
  background: var(--white); color: var(--green-800); border-radius: 6px;
  box-shadow: 0 2px 8px rgba(5,36,26,.2);
}
.deal-banner .btn:hover { background: var(--gold-50); }
.deal-row > .rail-wrap {
  margin: 18px 0 18px -72px;
  padding: 14px 0 14px 14px;
  background: var(--white);
  border-radius: 16px 0 0 16px;
  z-index: 1;
}
.deal-row .rail-btn[data-dir="-1"] { left: -6px; }

.rail-wrap { position: relative; min-width: 0; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 16px) / 4);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  height: 100%;
}
.rail::-webkit-scrollbar { display: none; }
.rail--wide { grid-auto-columns: calc((100% - 5 * 16px) / 6); }

.rail-btn {
  position: absolute; top: 38%; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); color: var(--green-800);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  transition: opacity .2s, background .2s;
}
.rail-btn:hover { background: var(--green-800); color: var(--white); }
.rail-btn[data-dir="-1"] { left: -14px; }
.rail-btn[data-dir="1"] { right: -14px; }
.rail-btn:disabled { opacity: 0; pointer-events: none; }
.rail-btn .icon { width: 18px; height: 18px; stroke-width: 2.2; }

/* ==========================================================================
   Product card
   ========================================================================== */
.card {
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 14px;
  padding: 10px 10px 14px;
  display: flex; flex-direction: column;
  position: relative;
  transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 10px 28px rgba(8,46,34,.10); }
.card__img { order: 0; }
.card__actions { order: 1; }
.card__price { order: 2; }
.card__was { order: 3; }
.card__name { order: 4; }
.card__img { aspect-ratio: 1; display: grid; place-items: center; background: var(--white); }
.card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card__tags { position: absolute; top: 12px; left: 12px; z-index: 1; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tag { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; line-height: 1.3; }
.tag--off { background: var(--sale); color: var(--white); }
.tag--member { background: var(--green-800); color: var(--gold-400); }
.tag--own { background: var(--gold-100); color: var(--gold-700); }
.card__wish {
  position: absolute; right: 10px; top: 10px; z-index: 1;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-3);
  transition: color .2s, background .2s;
}
.card__wish:hover { background: var(--green-50); color: var(--green-700); }
.card__wish.on { color: var(--sale); }
.card__wish.on .icon { fill: currentColor; }
.card__wish .icon { width: 18px; height: 18px; }

.card__price { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--green-600); }
.card__price small { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.card__was { font-size: 12px; color: var(--ink-3); min-height: 16px; }
.card__name {
  margin-top: 2px;
  font-size: 13.5px; font-weight: 400;
  color: var(--ink-2);
  line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em;
}
.card__actions { margin-top: 10px; }
.card .add-btn {
  display: inline-flex; width: auto; height: 30px; padding: 0 12px 0 9px; gap: 4px;
  background: var(--white); color: var(--green-800);
  border: 1px solid #cfd7d3; border-radius: 6px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 1px 2px rgba(8,46,34,.06);
  transition: border-color .2s, background .2s;
}
.card .add-btn:hover { background: var(--green-50); border-color: var(--green-700); }
.card .add-btn .icon { width: 14px; height: 14px; }
.card .add-btn[disabled] { background: var(--white); color: var(--ink-3); border-color: var(--line); box-shadow: none; }
.card .qty { width: 112px; height: 30px; border-radius: 6px; }
.card .qty button { width: 32px; }
.card .qty span { font-size: 14px; }

.add-btn {
  width: 100%; height: 38px;
  border-radius: var(--r);
  background: var(--green-800); color: var(--white);
  font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .2s;
}
.add-btn:hover { background: var(--green-700); }
.add-btn .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.add-btn[disabled] { background: var(--line-2); color: var(--ink-3); pointer-events: none; }

.qty {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px;
  border-radius: var(--r);
  border: 1px solid var(--green-800);
  color: var(--green-800);
  overflow: hidden;
}
.qty button { width: 38px; height: 100%; display: grid; place-items: center; transition: background .2s; }
.qty button:hover { background: var(--green-50); }
.qty button .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.qty span { font-weight: 700; font-size: 15px; }

/* ==========================================================================
   Categories
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(8, 1fr); overflow: hidden; }
.cat {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 10px 20px;
  margin-right: -1px;
  text-align: center;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  border-right: 1px solid var(--line);
  transition: color .2s;
}
.cat::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 1px; background: var(--line); }
.cat:hover { color: var(--green-700); }
.cat:hover img { transform: translateY(-3px); }
.cat img { transition: transform .25s ease; }
.cat img { width: 88px; height: 88px; object-fit: contain; mix-blend-mode: multiply; }

/* ==========================================================================
   Fresh from the farm
   ========================================================================== */
.farm-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.farm {
  --bg: #4f7f45;
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  padding: 18px 16px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  color: var(--white);
  background: var(--bg);
}
.farm:nth-child(2) { --bg: #dba64a; color: var(--green-950); }
.farm:nth-child(3) { --bg: #7f9e93; }
.farm:nth-child(4) { --bg: #3f6e78; }
.farm:nth-child(5) { --bg: #93493b; }
.farm > img {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -1;
  width: 100%; height: 80%; object-fit: cover; object-position: center 20%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  transition: transform .6s ease;
}
.farm:hover > img { transform: scale(1.04); }
.farm h3 { font-size: 20px; font-weight: 700; }
.farm span { font-size: 13px; font-weight: 600; opacity: .85; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; }
.farm span .icon { width: 15px; height: 15px; stroke-width: 2.2; }

/* ==========================================================================
   Campaign
   ========================================================================== */
.campaign {
  display: grid;
  grid-template-columns: 5fr 7fr;
  border-radius: 16px;
  overflow: hidden;
  background: #f3ead2;
  color: var(--green-950);
  min-height: 360px;
}
.campaign .btn--ghost { border-color: rgba(5,36,26,.35); color: var(--green-900); }
.campaign .btn--ghost:hover { border-color: var(--green-900); background: rgba(5,36,26,.05); }
.campaign .btn--gold { background: var(--green-800); color: var(--white); }
.campaign .btn--gold:hover { background: var(--green-700); }
.campaign__copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.campaign__eyebrow { color: var(--gold-400); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.campaign h2 { font-size: 30px; line-height: 1.15; font-weight: 700; margin-top: 10px; }
.campaign p { margin-top: 12px; font-size: 16px; opacity: .85; max-width: 42ch; line-height: 1.5; }
.campaign__ctas { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.campaign__img { position: relative; background: var(--green-700); }
.campaign__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--green-950); color: rgba(255,255,255,.8); margin-top: 48px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding: 52px 0 40px; }
.footer h4 { color: var(--gold-400); font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.footer li + li { margin-top: 9px; }
.footer li a:hover { color: var(--gold-400); text-decoration: underline; }
.footer address { font-style: normal; line-height: 1.6; margin-top: 16px; }
.footer__phone { display: block; margin-top: 14px; font-size: 24px; font-weight: 700; color: var(--white); }
.footer__hours { opacity: .65; margin-top: 2px; }
.app-get { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.app-get b { flex-basis: 100%; color: var(--white); font-size: 14px; margin-bottom: 2px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 14px 0 11px;
  border-radius: 9px;
  background: #000; color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
  transition: border-color .2s, transform .2s;
}
.store-badge:hover { border-color: var(--gold-400); transform: translateY(-1px); }
.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-badge span { display: flex; flex-direction: column; font-size: 16px; font-weight: 700; line-height: 1.05; letter-spacing: -.01em; white-space: nowrap; }
.store-badge small { font-size: 10px; font-weight: 500; letter-spacing: .01em; opacity: .9; }
.footer .logo { padding: 0; color: var(--white); }

.newsletter {
  display: flex; align-items: center; gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.newsletter__copy { flex: 1; }
.newsletter__copy b { color: var(--white); font-size: 17px; display: block; }
.newsletter form { display: flex; gap: 8px; width: min(480px, 100%); }
.newsletter input {
  flex: 1; min-width: 0; height: 44px;
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--r);
  background: rgba(255,255,255,.05); color: var(--white);
  padding: 0 14px; outline: none;
}
.newsletter input::placeholder { color: rgba(255,255,255,.45); }
.newsletter input:focus { border-color: var(--gold-500); }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 28px; flex-wrap: wrap; font-size: 13px; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center;
  transition: background .2s, border-color .2s, color .2s;
}
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--green-950); }
.socials .icon { width: 17px; height: 17px; }
.pay { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pay__label { font-size: 12px; color: rgba(255,255,255,.55); margin-right: 4px; }
.pm {
  height: 30px; min-width: 48px; padding: 0 10px;
  border-radius: 6px;
  background: var(--white); color: var(--green-900);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.pm svg { height: 18px; width: auto; }
.pm--visa { color: #1a1f71; font-size: 15px; font-weight: 800; font-style: italic; letter-spacing: .02em; }
.pm--amex { background: #1f72cd; color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.pm--qr svg, .pm--cod svg { height: 16px; color: var(--green-700); }
.copyright { opacity: .6; }

/* ==========================================================================
   Cart drawer
   ========================================================================== */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(5,36,26,.5); opacity: 0; visibility: hidden; transition: .25s; }
.overlay.show { opacity: 1; visibility: visible; }
.overlay:not(.show) { pointer-events: none; } /* stop catching clicks the moment it starts fading out */

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(420px, 100%);
  background: var(--white);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s ease;
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 19px; color: var(--green-900); }
.drawer__head h3 span { color: var(--ink-3); font-weight: 400; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.icon-btn:hover { background: var(--green-50); }

.free-bar { padding: 14px 22px; background: var(--gold-50); font-size: 14px; color: var(--green-900); border-bottom: 1px solid var(--gold-100); }
.free-bar__track { height: 5px; border-radius: 3px; background: var(--gold-100); margin-top: 8px; overflow: hidden; }
.free-bar__fill { height: 100%; background: var(--green-700); transition: width .3s ease; }

.drawer__body { flex: 1; overflow-y: auto; padding: 4px 22px; }
.drawer__empty { text-align: center; padding: 64px 10px; color: var(--ink-3); }
.drawer__empty .icon { width: 48px; height: 48px; stroke-width: 1.2; margin: 0 auto 12px; display: block; color: var(--green-700); }
.drawer__empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__img { width: 64px; height: 64px; border: 1px solid var(--line); border-radius: var(--r); padding: 4px; background: var(--white); }
.line__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line__name { font-size: 14px; line-height: 1.3; }
.line__price { font-size: 14px; color: var(--green-900); font-weight: 700; margin-top: 4px; }
.line .qty { height: 32px; width: 96px; }
.line .qty button { width: 30px; }

.drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--green-50); }
.drawer__row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.drawer__total { font-size: 18px; font-weight: 700; color: var(--green-900); }
.drawer__foot .btn { width: 100%; margin-top: 10px; }

/* ==========================================================================
   Promo modal
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: .25s; }
.modal.show { opacity: 1; visibility: visible; }
/* A closed dialog must never catch clicks: its backdrop follows the dialog, not its own .show class */
.modal:not(.show) { pointer-events: none; }
.modal .overlay { visibility: inherit; z-index: 0; }
.modal__card {
  position: relative;
  width: min(780px, 100%);
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.modal__img { position: relative; min-height: 360px; background: var(--green-700); }
.modal__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.modal__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.modal__body h3 { font-size: 24px; font-weight: 800; line-height: 1.15; color: var(--green-900); margin-top: 8px; }
.modal__code {
  margin-top: 18px; padding: 12px 16px;
  border: 1px dashed var(--gold-500); border-radius: var(--r);
  background: var(--gold-50);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.modal__code span { font-size: 13px; color: var(--ink-3); }
.modal__code b { font-size: 22px; letter-spacing: .08em; color: var(--green-900); }
.modal__body p { margin-top: 14px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.modal__body .btn { margin-top: 20px; align-self: flex-start; }
.modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--white); color: var(--ink-2);
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.modal__close:hover { color: var(--green-800); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  transform: translate(-50%, 12px);
  background: var(--green-900); color: var(--white);
  padding: 12px 18px; border-radius: var(--r);
  font-size: 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0; transition: .25s;
  pointer-events: none;
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { color: var(--gold-400); width: 18px; height: 18px; }

/* Mobile menu + bottom bar */
.mnav {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  width: min(320px, 86%);
  background: var(--white);
  transform: translateX(-100%);
  transition: transform .3s ease;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mnav.open { transform: none; }
.mnav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--green-800); color: var(--white); }
.mnav__head .icon-btn:hover { background: rgba(255,255,255,.1); }
.mnav a { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.mnav a:hover { background: var(--green-50); color: var(--green-700); }
.mnav a img { width: 32px; height: 32px; object-fit: contain; mix-blend-mode: multiply; }
.mnav h5 { margin: 18px 18px 6px; color: var(--gold-700); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.bottom-bar { display: none; }

/* ==========================================================================
   Polish: interaction details
   ========================================================================== */
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.search input:focus-visible { outline: none; }
.card__price, .card__was, .line__price, .drawer__row, .countdown b, .hbtn b { font-variant-numeric: tabular-nums; }

/* Images fade in once loaded */
.card__img img, .cat img, .tile > img, .farm > img, .deal-banner > img, .campaign__img img { opacity: 0; transition: opacity .4s ease, transform .6s ease; }
img.loaded { opacity: 1 !important; }

/* Header on scroll */
.header { transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 6px 20px rgba(5,36,26,.25); }

/* Delivery slot */
.hbtn--slot { text-align: left; border-left: 1px solid rgba(255,255,255,.14); border-radius: 0; padding-left: 16px; margin-left: 4px; }
.hbtn--slot small b { color: var(--white); font-weight: 600; }
.hbtn--slot .slot-time { color: var(--gold-400); }
.hbtn--slot .icon { color: var(--gold-400); }

/* Live search */
.search { position: relative; }
.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
  background: var(--white); color: var(--ink);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
}
.suggest.open { display: block; }
.suggest__head { padding: 12px 16px 6px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.suggest__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 16px; }
.suggest__chips button { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: border-color .2s, color .2s; }
.suggest__chips button:hover { border-color: var(--green-700); color: var(--green-700); }
.suggest__item {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center;
  padding: 8px 16px; cursor: pointer;
}
.suggest__item[aria-selected="true"], .suggest__item:hover { background: var(--green-50); }
.suggest__item img { width: 48px; height: 48px; object-fit: contain; mix-blend-mode: multiply; }
.suggest__item mark { background: none; color: var(--green-800); font-weight: 700; }
.suggest__item small { display: block; color: var(--ink-3); font-size: 13px; }
.suggest__price { font-weight: 700; color: var(--green-900); font-size: 14px; }
.suggest__empty { padding: 18px 16px; color: var(--ink-3); font-size: 14px; }
.suggest__foot { display: block; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--green-700); }

/* Countdown */
.countdown { display: flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 20px; }
.countdown__label { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-right: 4px; display: flex; align-items: center; gap: 6px; }
.countdown__unit {
  display: flex; flex-direction: column; align-items: center;
  min-width: 46px; padding: 5px 4px;
  border-radius: 6px;
  background: var(--green-800); color: rgba(255,255,255,.7);
  font-size: 10px; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1;
}
.countdown__unit b { font-size: 17px; color: var(--white); letter-spacing: 0; }

/* Card refinements */
.card__name a:hover { color: var(--green-700); text-decoration: underline; }
.card__was { display: flex; flex-wrap: wrap; column-gap: 6px; }
.card__was s, .card__save { white-space: nowrap; }
.card__save { display: none; }
section[id] { scroll-margin-top: 130px; }
.card__was s { color: var(--ink-3); }
.card__img { position: relative; overflow: hidden; border-radius: var(--r); }
.card__quick {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  height: 32px; border-radius: 6px;
  background: rgba(255,255,255,.95); color: var(--green-800);
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 600;
  opacity: 0; transform: translateY(6px);
  transition: opacity .2s, transform .2s;
}
.card:hover .card__quick, .card__quick:focus-visible { opacity: 1; transform: none; }
.card__quick:hover { background: var(--green-800); color: var(--white); border-color: var(--green-800); }

/* Quick view */
.qv { grid-template-columns: 1fr 1fr; width: min(860px, 100%); }
.qv__img { background: var(--white); display: grid; place-items: center; padding: 32px; border-right: 1px solid var(--line); }
.qv__img img { width: 100%; max-width: 340px; aspect-ratio: 1; object-fit: contain; opacity: 1; }
.qv__body { padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.qv__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.qv__name { font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--green-900); }
.qv__price { font-size: 24px; font-weight: 700; color: var(--green-900); font-variant-numeric: tabular-nums; }
.qv__price small { font-size: 15px; font-weight: 400; color: var(--ink-3); }
.qv__was { font-size: 14px; color: var(--ink-3); margin-top: -10px; }
.qv__was s { margin-right: 6px; }
.qv__was b { color: var(--sale); }
.qv__meta { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.qv__meta div { display: flex; align-items: center; gap: 10px; }
.qv__meta .icon { width: 18px; height: 18px; color: var(--green-700); }
.qv__buy { display: grid; grid-template-columns: 120px 1fr; gap: 10px; margin-top: auto; }
.qv__buy .qty { height: 44px; }
.qv__buy .btn { height: 44px; }

/* Cart line remove + savings */
.line__remove { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.line__remove:hover { color: var(--sale); }
.line__remove .icon { width: 13px; height: 13px; }
.drawer__save span:last-child { color: var(--sale); font-weight: 700; }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 55;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-800); color: var(--white);
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-500); color: var(--green-950); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) {
  .hbtn--reorder { display: none; }
}
@media (max-width: 1100px) {
  .hbtn--slot { display: none; }
  .countdown__label { display: none; }
}
@media (max-width: 1200px) {
  .hbtn--reorder { display: none; }
  .nav > li > a, .nav > li > button { padding: 0 11px; }
  .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .rail--wide { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
  .cat-grid { grid-template-columns: repeat(6, 1fr); }
  .mega__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .util .util__left { display: none; }
  .util .wrap { justify-content: flex-end; }
  .header__nav { display: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 260px; }
  .tile--big { grid-column: 1 / -1; grid-row: auto; }
  .deal-row { grid-template-columns: 1fr; }
  .deal-banner { min-height: 300px; padding-right: 28px; }
  .deal-row > .rail-wrap { margin: -56px 12px 0; padding: 14px 14px 4px; border-radius: 16px; }
  .tile--big > img { width: 70%; }
  .rail-btn[data-dir="-1"] { left: 4px; }
  .rail-btn[data-dir="1"] { right: 4px; }
  .services { grid-template-columns: 1fr 1fr; }
  .service:nth-child(3) { border-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--line); }
  .farm-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__top > :first-child { grid-column: 1 / -1; }
  .campaign { grid-template-columns: 1fr; }
  .campaign__img { min-height: 280px; order: -1; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .util { display: none; }
  .header__row { height: auto; flex-wrap: wrap; padding-block: 10px; gap: 10px 4px; }
  .menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); }
  .logo { flex: 1; padding-right: 0; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__text b { font-size: 18px; }
  .cats-btn, .hbtn--account { display: none; }
  .hbtn { padding: 0 6px; }
  .hbtn__label { display: none; }
  .cart-count { left: 20px; }
  .search-wrap { order: 3; flex-basis: 100%; padding: 0; }
  .search { height: 42px; }

  .hero { padding-top: 14px; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(236px, auto); gap: 10px; }
  .tile { padding: 20px; }
  .tile--big { grid-column: 1 / -1; padding: 22px; min-height: 300px; }
  .tile--big h3 { font-size: 24px; }
  .tile--big > img { top: auto; width: 100%; height: 62%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
  .tile { padding: 16px 14px; border-radius: 14px; }
  .tile h3 { font-size: 16px; }
  .tile p { font-size: 12.5px; }
  .tile .btn { height: 28px; font-size: 12px; padding: 0 8px 0 10px; }
  .tile__chips span { padding: 3px 6px; font-size: 11px; }
  .tile__chips b { font-size: 12px; }
  .tile__code { font-size: 11px; padding: 3px 6px; }
  .tile__code b { font-size: 12px; }
  .tile.tile--big { padding: 22px; }
  .tile.tile--big h3 { font-size: 24px; }
  .tile.tile--big p { font-size: 14px; }
  .section-head { display: flex; justify-content: space-between; }
  .section-head > :first-child { text-align: left; }
  .deal-row > .rail-wrap { margin: -48px 8px 0; padding: 12px 0 4px 12px; }

  .services { grid-template-columns: 1fr 1fr; }
  .service { justify-content: flex-start; padding: 12px; gap: 10px; }
  .service p { display: none; }
  .service h4 { font-size: 13px; }
  .service .icon { width: 22px; height: 22px; }
  .service + .service { border-left: 0; border-top: 0; }

  .section { padding: 28px 0; }
  .section-title { font-size: 20px; }
  .deal-banner { min-height: 300px; }
  .deal-banner .btn { margin-top: 14px; }
  .deal-banner h3 { font-size: 22px; }
  .rail, .rail--wide { grid-auto-columns: 46%; gap: 12px; }
  .rail-btn { display: none; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat { padding: 14px 6px; font-size: 13px; }
  .cat img { width: 64px; height: 64px; }
  .farm-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .farm:last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
  .campaign__copy { padding: 28px 22px 30px; }
  .campaign h2 { font-size: 24px; }
  .campaign__img { min-height: 220px; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .newsletter { flex-direction: column; align-items: stretch; gap: 14px; }
  .newsletter form { width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 90px; }

  .modal__card { grid-template-columns: 1fr; }
  .modal__img { min-height: 180px; }
  .modal__body { padding: 24px 22px 26px; }
  .modal__body h3 { font-size: 21px; }

  .bottom-bar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  }
  .bottom-bar a, .bottom-bar button {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: 11px; color: var(--ink-3); padding: 4px 0;
  }
  .bottom-bar .active { color: var(--green-800); font-weight: 600; }
  .bb-icon { position: relative; display: block; }
  .bb-count {
    position: absolute; top: -6px; left: 12px;
    min-width: 19px; height: 19px; padding: 0 5px;
    border-radius: 10px; border: 2px solid var(--white);
    background: var(--gold-500); color: var(--green-950);
    font-size: 10px; font-weight: 800; line-height: 15px; text-align: center;
  }
  .toast { bottom: 80px; }
  .to-top { bottom: 80px; right: 14px; width: 40px; height: 40px; }

  #deals .section-head { flex-wrap: wrap; }
  .countdown { order: 3; flex-basis: 100%; margin: 4px 0 0; }
  .countdown__unit { flex: 1; }

  .qv { grid-template-columns: 1fr; max-height: calc(100vh - 40px); overflow-y: auto; }
  .qv__img { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px; }
  .qv__img img { max-width: 200px; }
  .qv__body { padding: 22px 20px 24px; }
  .qv__name { font-size: 21px; }
  .card__quick { display: none; }
}
