/* Homebridge Mart. Mobile first: base styles are for phones, min-width queries add larger layouts. */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("../assets/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: optional;
  src: url("../assets/fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #006837;
  --green-dark: #004d29;
  --leaf: #8bc348;
  --leaf-soft: #eef6e4;
  --wa: #1fa855;
  --ink: #1b2a22;
  --muted: #5d6b63;
  --line: #e2e8e3;
  --bg: #ffffff;
  --surface: #f6f8f5;
  --danger: #b3261e;
  --red: #c0173f;
  --orange: #e8650a;
  --orange-soft: #fff1e3;
  --grey-rail: #3d4741;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 40, 20, .06), 0 4px 14px rgba(0, 40, 20, .06);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}

body.has-orderbar { padding-bottom: 76px; }
body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.2; margin: 0; }
svg { width: 1em; height: 1em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--green); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 22px; height: 22px; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); }
.btn--primary:disabled { background: #c9d2cc; color: #6f7b74; cursor: not-allowed; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178b45; }
.btn--block { width: 100%; }

/* ---------- Promo strip ---------- */

.promo { background: #10241a; color: #e9f3ec; font-size: .78rem; }
.promo__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; padding-top: 4px; padding-bottom: 4px; }
.promo p { margin: 0; line-height: 1.3; }
.promo a { color: #fff; font-weight: 700; white-space: nowrap; }
.promo__call { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); text-decoration: none; }
.promo__call:hover { background: rgba(255, 255, 255, .24); }

/* ---------- Header ---------- */

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; padding-top: 7px; padding-bottom: 10px; }
.topbar__inner .brand { order: 1; min-height: 46px; }
.topbar__inner .cart-btn { order: 2; }
.topbar__inner .hsearch { order: 3; }
.hlink, .cart-btn__label { display: none; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); }
.brand img { width: 52px; height: auto; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; }
.brand__name span { font-family: var(--font); font-weight: 500; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-left: 2px; }

.cart-btn {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--leaf-soft); color: var(--green);
}
.cart-btn svg { width: 24px; height: 24px; }
.cart-btn__count {
  position: absolute; top: -2px; right: -2px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: .72rem; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff;
}
.cart-btn__count[hidden] { display: none; }
.cart-btn.bump { animation: bump .45s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }

/* ---------- Category bar ---------- */

.catnav { background: #fff; border-bottom: 1px solid var(--line); }
.catnav__list { list-style: none; min-height: 56px; margin: 0; padding: 6px 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.catnav__list::-webkit-scrollbar { display: none; }
.catnav button {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px;
  border: 0; border-radius: 999px; background: none; white-space: nowrap; font-size: .9rem; color: var(--ink);
}
.catnav button:hover { background: var(--leaf-soft); color: var(--green); }
.catnav__icon { display: grid; place-items: center; }
.catnav__icon svg { width: 20px; height: 20px; }

/* ---------- Hero slideshow ---------- */

.hero { padding: 12px 0 4px; }

.slider { position: relative; display: flex; min-height: 300px; border-radius: 20px; overflow: hidden; background: #0c1f15; touch-action: pan-y; }
.slider__track { flex: 1 1 auto; min-width: 0; display: flex; transition: transform .5s ease; will-change: transform; }

.slide {
  position: relative; flex: 0 0 100%; min-width: 0; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 6px;
  min-height: 300px; padding: 18px 12px 42px 18px; color: #fff;
  background: linear-gradient(120deg, var(--s-a), var(--s-b));
}
.slide--orange { --s-a: #0f0b08; --s-b: #2b1608; --accent: #ff7a1a; --circle: #f26a1b; }
.slide--green { --s-a: #06140d; --s-b: #0e3a22; --accent: #9bd44f; --circle: #1f9a55; }
.slide--black { --s-a: #050505; --s-b: #1d1606; --accent: #ffd23f; --circle: #c9961a; }
.slide--red { --s-a: #16080c; --s-b: #3d0b18; --accent: #ff6b80; --circle: #d92d44; }
.slide__text { position: relative; z-index: 2; }
.slide__kicker { margin: 0 0 6px; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.slide__title { font-family: var(--font); font-weight: 700; font-size: clamp(1.6rem, 7.4vw, 2.4rem); line-height: 1.02; letter-spacing: -.01em; }
.slide__accent { display: block; color: var(--accent); }
.slide__pill { display: inline-block; margin: 10px 0 8px; padding: 6px 14px; border-radius: 999px; background: #fff; color: #14201a; font-weight: 700; font-size: .9rem; }
.slide__copy { margin: 0 0 4px; font-size: .78rem; line-height: 1.4; color: rgba(255, 255, 255, .82); max-width: 26ch; }
.slide__cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0;
  border: 0; background: none; color: #fff; font-weight: 700; font-size: 1rem;
}
.slide__cta svg { width: 20px; height: 20px; transition: transform .2s; }
.slide__cta:hover svg { transform: translateX(4px); }
.slide__art { position: relative; z-index: 1; display: grid; place-items: center; height: 170px; }

/* Banner with a photo: the photo fills the right side and fades into the dark background */
.slide--photo { grid-template-columns: minmax(0, 1fr); }
.slide--photo .slide__text { max-width: 58%; }
.slide__photo {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: 0; width: 56%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40%); mask-image: linear-gradient(to right, transparent 0, #000 40%);
}
.slide__circle { position: absolute; width: 170px; height: 170px; border-radius: 50%; background: var(--circle); box-shadow: 0 0 0 10px rgba(255, 255, 255, .06); }
.slide__card {
  position: relative; display: grid; place-items: center; width: 124px; height: 124px; padding: 6px;
  border-radius: 16px; background: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); transform: rotate(-4deg);
}
.slide__card img { width: 100%; height: 100%; object-fit: contain; }
.slide__truck { width: 70%; height: 70%; color: var(--circle); }

.slider__arrow {
  display: none; position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%; place-items: center;
  background: rgba(255, 255, 255, .92); color: #14201a; box-shadow: var(--shadow);
}
.slider__arrow svg { width: 22px; height: 22px; }
.slider__arrow--prev { left: 14px; }
.slider__arrow--next { right: 14px; }
.slider__dots {
  position: absolute; left: 50%; bottom: 10px; z-index: 3; transform: translateX(-50%);
  display: flex; justify-content: center; gap: 0; padding: 0 6px; border-radius: 999px; background: rgba(0, 0, 0, .45);
}
.slider__dot { position: relative; width: 26px; height: 26px; border: 0; background: none; padding: 0; }
.slider__dot::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 999px;
  background: rgba(255, 255, 255, .55); transition: width .25s, margin .25s, background-color .25s;
}
.slider__dot[aria-current="true"]::before { width: 20px; margin-left: -10px; background: #fff; }

/* ---------- Essentials tiles ---------- */

.essentials { padding: 14px 0 0; }
.essentials__box { background: var(--orange-soft); border-radius: 18px; padding: 14px 12px; }
.essentials h2 { font-family: var(--font); font-weight: 700; font-size: 1.1rem; color: #a34100; margin-bottom: 12px; }
.tiles { list-style: none; min-height: 158px; margin: 0; padding: 0 0 2px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tiles li { flex: 0 0 132px; }
.tile {
  display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 6px;
  width: 100%; height: 156px; padding: 12px; border: 0; border-radius: 16px; color: #fff; text-align: left;
  background: linear-gradient(160deg, var(--t-a), var(--t-b)); transition: transform .15s;
}
.tile:hover { transform: translateY(-3px); }
.tile--green { --t-a: #22a05c; --t-b: #0a6a3a; }
.tile--pink { --t-a: #f2679a; --t-b: #cc2a66; }
.tile--red { --t-a: #e8465f; --t-b: #b01230; }
.tile--orange { --t-a: #f08a1f; --t-b: #d25400; }
.tile--purple { --t-a: #9a7bff; --t-b: #5a35c8; }
.tile--blue { --t-a: #4d9bf5; --t-b: #1c5fc4; }
.tile__title { font-weight: 700; font-size: .92rem; line-height: 1.15; }
.tile__icon { display: grid; place-items: center; align-self: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.tile__icon svg { width: 32px; height: 32px; }
.tile__note { text-align: center; padding: 4px 6px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #222; font-size: .7rem; font-weight: 700; }

/* ---------- Coloured product rows ---------- */

.rail { position: relative; margin: 14px 0; padding: 14px 12px; border-radius: 18px; color: #fff; }
.rail--red { background: var(--red); }
.rail--orange { background: var(--orange); }
.rail--green { background: var(--green); }
.rail--grey { background: var(--grey-rail); }
.rail__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; }
.rail__head h2 { font-family: var(--font); font-weight: 700; font-size: 1.2rem; color: #fff; }
.rail__all {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto; height: 38px; padding: 0 16px;
  border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .88rem;
}
.rail__all svg { width: 16px; height: 16px; }
.countdown { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 8px; background: #fff; color: var(--red); font-weight: 700; font-size: .82rem; }
.rail__body { position: relative; }
.rail__track {
  list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 10px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .5) transparent;
  -webkit-overflow-scrolling: touch;
}
.rail__track > li { flex: 0 0 150px; scroll-snap-align: start; }
.rail .card { border: 0; height: 100%; }
.rail__nav {
  display: none; position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 40px; height: 40px; border: 0; border-radius: 50%; place-items: center;
  background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.rail__nav svg { width: 20px; height: 20px; }
.rail__nav--prev { left: -18px; }
.rail__nav--next { right: -18px; }
.rail__track.rail__track--compact > li { flex: 0 0 272px; }

/* ---------- Shop ---------- */

.shop { padding: 20px 0 40px; scroll-margin-top: 120px; }
.shop__head { margin-bottom: 10px; }
.shop h2, .faq h2, .delivery h2 { font-family: var(--serif); color: var(--green); font-size: 1.6rem; }

.hsearch {
  position: relative; flex: 1 1 100%; display: flex; align-items: center; gap: 8px;
  height: 46px; margin-top: 6px; padding: 0 5px 0 14px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface);
}
.hsearch:focus-within { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(139, 195, 72, .3); }
.hsearch > svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.hsearch input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; font-size: 16px; outline: none; }
.hsearch input::-webkit-search-cancel-button { cursor: pointer; }
.hsearch__go {
  flex: none; height: 36px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--green); color: #fff; font-weight: 700; font-size: .9rem;
}
.hsearch__go:hover { background: var(--green-dark); }

.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40;
  list-style: none; margin: 0; padding: 6px; max-height: 70vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(0, 40, 20, .16);
}
.suggest[hidden] { display: none; }
.suggest li {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 8px; border-radius: 10px; cursor: pointer;
}
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--leaf-soft); }
.suggest img, .suggest__noimg { width: 48px; height: 48px; object-fit: contain; background: var(--surface); border-radius: 8px; padding: 3px; }
.suggest__name { margin: 0; font-size: .92rem; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.suggest__brand { margin: 0; font-size: .72rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.suggest__price { font-weight: 700; color: var(--green); font-size: .9rem; white-space: nowrap; }
.suggest li.suggest__empty { display: block; padding: 14px 12px; color: var(--muted); font-size: .92rem; line-height: 1.45; cursor: default; overflow-wrap: anywhere; }
.suggest li.suggest__empty:hover { background: none; }
.suggest__all { display: block; padding: 10px 12px; color: var(--green); font-weight: 700; font-size: .9rem; text-align: center; border-top: 1px solid var(--line); margin-top: 4px; }

.shop__results { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 4px 0 10px; color: var(--muted); font-size: .95rem; }
.shop__results[hidden] { display: none; }
.shop__results button { padding: 0; border: 0; background: none; color: var(--green); font-weight: 700; text-decoration: underline; }
.shop__results button[hidden] { display: none; }

.chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px;
  margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter);
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-weight: 500; font-size: .92rem;
}
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }

.shop__status { color: var(--muted); padding: 24px 0; text-align: center; }
.shop__none { display: block; color: var(--ink); font-size: 1.1rem; overflow-wrap: anywhere; }
.shop__hint { display: block; max-width: 40ch; margin: 6px auto 16px; line-height: 1.5; }
.shop__ask { display: inline-flex; width: auto; padding: 0 22px; text-decoration: none; }
.shop__status[hidden] { display: none; }

.grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.card__top { position: relative; }
.card__media { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0; background: #fff; overflow: hidden; }
.card__media img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.card--out .card__media img { opacity: .45; }
.card__noimg, .line__noimg { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: .85rem; }
.badge {
  position: absolute; top: 8px; left: 8px; z-index: 1; max-width: calc(100% - 56px); padding: 2px 8px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .7rem; font-weight: 700; text-align: left;
}
.badge.badge--tag { padding: 3px 9px; border-radius: 10px; line-height: 1.2; background: var(--leaf); color: var(--green-dark); }
.badge.badge--tag[data-tag="hot deal"] { background: #d92d20; color: #fff; }
.badge.badge--tag[data-tag="black friday deal"] { background: #111; color: #ffd23f; }
.card__plus {
  position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: #2b2b2b; color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); transition: transform .15s, background-color .2s;
}
.card__plus:hover { transform: scale(1.08); }
.card__plus svg { width: 20px; height: 20px; stroke-width: 2.2; }
.card__plus .i-check { display: none; }
.card__plus.is-added { background: var(--green); }
.card__plus.is-added .i-plus { display: none; }
.card__plus.is-added .i-check { display: block; }
.card__body { display: flex; flex-direction: column; gap: 2px; padding: 0 10px 12px; flex: 1; }
.card__brand { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.card__name { font-family: var(--font); font-size: .85rem; font-weight: 400; line-height: 1.3; min-height: 2.6em; }
.card__name button {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 26px; padding: 2px 0; border: 0; background: none; text-align: left; color: #2d2f31;
}
.card__name button:hover { color: var(--green); }
.card__price { margin: 4px 0 0; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.card__was { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 2px 0 0; font-size: .8rem; }
.price-was { color: var(--muted); font-weight: 400; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.pill-off { display: inline-block; padding: 1px 8px; border-radius: 6px; background: #167a37; color: #fff; font-weight: 700; font-size: .74rem; }

/* Compact card for Recently viewed */
.card--compact { flex-direction: row; align-items: center; gap: 10px; min-height: 76px; padding: 8px 52px 8px 8px; }
.card--compact .card__top { position: static; flex: none; width: 60px; }
.card--compact .card__media { width: 60px; height: 60px; aspect-ratio: auto; border-radius: 8px; }
.card--compact .card__media img { inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); }
.card--compact .badge { display: none; }
.card--compact .card__plus { top: 50%; right: 10px; width: 34px; height: 34px; transform: translateY(-50%); }
.card--compact .card__plus:hover { transform: translateY(-50%) scale(1.08); }
.card--compact .card__body { flex: 1; min-width: 0; padding: 0; }
.card--compact .card__name { min-height: 0; font-size: .8rem; }
.card--compact .card__price { margin: 2px 0 0; font-size: .95rem; }

.pd__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pd__price .price-was { font-size: 1.05rem; }
.pd__save { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #fde8e6; color: #b3261e; font-size: .85rem; font-weight: 700; }
.line__price .price-was { font-size: .8rem; margin-left: 4px; }

/* ---------- FAQ, delivery and payment ---------- */

.delivery { padding: 36px 0; scroll-margin-top: 120px; }
.faq { background: var(--surface); padding: 36px 0; scroll-margin-top: 120px; }
.faq h2 { text-align: center; }
.faq__list { margin: 16px auto 0; display: grid; gap: 10px; max-width: 820px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq__item summary {
  position: relative; display: block; padding: 16px 52px 16px 16px; font-weight: 700; cursor: pointer; list-style: none; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(45deg); transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item[open] summary { color: var(--green); }
.faq__a { padding: 0 16px 16px; color: var(--muted); }
.faq__a p { margin: 0; max-width: 62ch; }

.eyebrow { margin: 0 0 4px; color: #4f7f1c; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* Partners: a looping strip, still and centred when the visitor prefers less motion */
.partners { padding: 36px 0; }
.partners h2 { font-family: var(--serif); color: var(--green); font-size: 1.6rem; text-align: center; }
.partners__marquee { margin-top: 16px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners__list { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; gap: 12px; padding-right: 12px; animation: partners-loop 38s linear infinite; }
.partners__marquee:hover .partners__list { animation-play-state: paused; }
.partners__list li { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 150px; height: 96px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.partners__list img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes partners-loop { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .partners__marquee { -webkit-mask-image: none; mask-image: none; }
  .partners__list { width: auto; flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); animation: none; }
  .partners__list li[aria-hidden="true"] { display: none; }
}

/* Delivery, pickup, payment and returns cards */
.infocards { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.infocard {
  --c1: #006837; --c2: #2b9a4f; --on: #fff; --on-soft: rgba(255, 255, 255, .88);
  position: relative; overflow: hidden; padding: 20px 18px; border-radius: 20px; color: var(--on);
  background: linear-gradient(145deg, var(--c1), var(--c2)); box-shadow: 0 6px 18px rgba(0, 40, 20, .14);
}
.infocard::after { content: ""; position: absolute; right: -46px; top: -46px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .1); pointer-events: none; }
.infocard::before { content: ""; position: absolute; right: 30px; bottom: -60px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none; }
.infocard > * { position: relative; z-index: 1; }
.infocard__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 16px; background: rgba(255, 255, 255, .18); }
.infocard__icon svg { width: 28px; height: 28px; }
.infocard__tick svg { width: 16px; height: 16px; }
.infocard__tag { position: absolute; right: 16px; top: 20px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.infocard h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--on); margin: 0 0 6px; }
.infocard p { margin: 0; color: var(--on-soft); line-height: 1.5; }
.infocard--outside { --c1: #0d4f8b; --c2: #1d7fc4; }
.infocard--pickup { --c1: #b53a0a; --c2: #f08a24; }
.infocard--pay { --c1: #ffca06; --c2: #ffca06; --on: #1b1b1b; --on-soft: #3d3300; }
.infocard--pay::after, .infocard--pay::before { background: rgba(255, 255, 255, .4); }
.infocard__momo { display: block; width: 170px; max-width: 70%; height: auto; margin: 0 0 12px; border-radius: 12px; }
.infocard--pay h3 { font-family: var(--font); font-size: 1rem; }
.infocard .infocard__num { margin: 2px 0 4px; color: #1b1b1b; font-size: 1.9rem; font-weight: 800; letter-spacing: .05em; }
.infocard--returns { --c1: #1c2b24; --c2: #2f4a3b; grid-column: 1 / -1; }
.infocard--returns ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.infocard--returns ul li { display: flex; align-items: flex-start; gap: 10px; color: var(--on-soft); line-height: 1.45; }
.infocard__tick { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--leaf); color: #12301e; }
.infocard .infocard__sub { margin-top: 8px; font-weight: 700; }
@media (hover: hover) {
  .infocard { transition: transform .2s ease, box-shadow .2s ease; }
  .infocard:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 40, 20, .2); }
}

/* ---------- Footer ---------- */

.footer { background: #0f2218; color: #aab9b0; padding: 40px 0 0; scroll-margin-top: 80px; }
.footer__top { display: grid; gap: 14px; }
.footer__logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.footer__mark { display: grid; place-items: center; width: 64px; height: 44px; padding: 6px 8px; border-radius: 12px; background: #fff; flex: none; }
.footer__mark img { width: 100%; height: auto; }
.footer__name { display: grid; color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; line-height: 1.1; }
.footer__name small { margin-top: 4px; color: #8fa397; font-family: var(--font); font-weight: 400; font-size: .72rem; }
.footer__about { margin: 0; max-width: 48ch; line-height: 1.6; }

/* Three dropdown buttons */
.footer__menus { display: grid; gap: 10px; margin-top: 26px; }
.footer__menu { border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; background: rgba(255, 255, 255, .04); }
.footer__menu[open] { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .28); }
.footer__menu summary {
  position: relative; display: block; min-height: 52px; padding: 15px 48px 15px 18px; color: #fff; font-weight: 700; cursor: pointer; list-style: none;
}
.footer__menu summary::-webkit-details-marker { display: none; }
.footer__menu summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2.5px solid var(--leaf); border-bottom: 2.5px solid var(--leaf); transform: rotate(45deg); transition: transform .2s;
}
.footer__menu[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.footer__title { margin: 0; padding: 15px 18px 8px; color: #fff; font-family: var(--font); font-size: 1rem; font-weight: 700; }
.footer__links { list-style: none; margin: 0; padding: 0 18px 14px; display: grid; gap: 2px; }
.footer__links li { line-height: 1.5; }
.footer__links a, .footer__links button, .footer__plain {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0; border: 0; background: none;
  color: #c6d3cb; font: inherit; text-align: left; text-decoration: none;
}
.footer__links a:hover, .footer__links button:hover { color: #fff; }
.footer__links b { color: #fff; font-weight: 700; }
.footer__links svg { width: 20px; height: 20px; flex: none; color: var(--leaf); }
.footer__links--icons li:first-child svg { color: #25d366; }
.footer__plain { align-items: flex-start; padding: 10px 0; }

.footer__bar {
  display: grid; gap: 8px; margin-top: 30px; padding: 18px 0 88px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
}
.footer__bar p { margin: 0; }
.footer__bar a { display: inline-block; padding: 6px 0; color: #aab9b0; text-decoration: none; }
.footer__bar a:hover { color: #fff; }
.footer__bar p a { padding: 0; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Floating WhatsApp button */
.chatfab {
  position: fixed; right: 14px; bottom: 14px; z-index: 25; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 54px; height: 54px; border-radius: 999px; background: #25d366; color: #06301b; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28); transition: transform .15s;
}
.chatfab:hover { transform: translateY(-2px); }
.chatfab svg { width: 28px; height: 28px; flex: none; }
.chatfab span { display: none; }
body.has-orderbar .chatfab { bottom: 84px; }

/* ---------- Sticky order bar ---------- */

.orderbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(0, 60, 30, .3);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.orderbar[hidden] { display: none; }

/* ---------- Dialog sheets ---------- */

.sheet {
  width: 100%; max-width: 100%; max-height: 92vh; margin: auto 0 0; padding: 0;
  border: 0; border-radius: 20px 20px 0 0; background: #fff; color: var(--ink);
}
.sheet::backdrop { background: rgba(10, 30, 20, .55); }
.sheet[open] { animation: rise .22s ease-out; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__panel { position: relative; padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0)); }
.sheet__close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--surface); font-size: 1.6rem; line-height: 1;
}
.sheet__title { font-family: var(--serif); color: var(--green); font-size: 1.4rem; margin: 4px 0 14px; }

/* Product detail */
.pd__media { position: relative; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 28px; overflow: hidden; }
.pd__media img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.pd__media { touch-action: pan-y; }
.pd__arrow {
  display: none; position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 40px; height: 40px; border: 0; border-radius: 50%; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow);
}
.pd__arrow svg { width: 20px; height: 20px; }
.pd__arrow--prev { left: 8px; }
.pd__arrow--next { right: 8px; }
.pd__dots { position: absolute; left: 50%; bottom: 8px; z-index: 2; transform: translateX(-50%); display: flex; padding: 0 6px; border-radius: 999px; background: rgba(0, 0, 0, .35); }
.pd__dot { position: relative; width: 26px; height: 26px; border: 0; background: none; padding: 0; }
.pd__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 999px; background: rgba(255, 255, 255, .6); transition: width .2s, margin .2s; }
.pd__dot[aria-current="true"]::before { width: 20px; margin-left: -10px; background: #fff; }
.pd__h { margin: 14px 0 6px; font-size: 1rem; font-family: var(--font); font-weight: 700; color: var(--ink); }
.pd__specs { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 6px; }
.pd__specs li { position: relative; padding-left: 20px; font-size: .95rem; line-height: 1.4; }
.pd__specs li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.pd__thumbs { display: flex; gap: 8px; margin-top: 8px; }
.pd__thumbs button { width: 64px; height: 64px; padding: 4px; border: 2px solid var(--line); border-radius: 10px; background: #fff; }
.pd__thumbs button[aria-current] { border-color: var(--green); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd__info { margin-top: 16px; }
.pd__name { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }
.pd__price { font-size: 1.4rem; font-weight: 700; color: var(--green); margin: 6px 0 10px; }
.pd__desc { margin: 0 0 10px; }
.pd__details { list-style: none; padding: 12px 0 0; margin: 0 0 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; display: grid; gap: 2px; }
.pd__buy { display: flex; gap: 10px; align-items: center; }
.pd__buy .btn { flex: 1; }
.pd__out { color: var(--danger); font-weight: 700; }
.pd__ask { display: inline-block; margin-top: 14px; font-weight: 500; }

/* Quantity stepper */
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 44px; flex: none; }
.stepper button { width: 42px; height: 100%; border: 0; background: none; display: grid; place-items: center; color: var(--green); }
.stepper button svg { width: 18px; height: 18px; }
.stepper output { min-width: 26px; text-align: center; font-weight: 700; }

/* Cart */
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img, .line__noimg { width: 64px; height: 64px; object-fit: contain; background: var(--surface); border-radius: 10px; padding: 4px; }
.line__name { margin: 0; font-weight: 500; font-size: .95rem; line-height: 1.3; }
.line__price { margin: 2px 0 8px; color: var(--muted); font-size: .85rem; }
.line__row { display: flex; align-items: center; gap: 12px; }
.line__row .stepper { height: 36px; }
.line__row .stepper button { width: 34px; }
.line__remove { border: 0; background: none; padding: 0; color: var(--danger); font-size: .85rem; text-decoration: underline; }
.line__total { margin: 0; font-weight: 700; white-space: nowrap; }
.totals { display: flex; justify-content: space-between; padding: 14px 0 2px; font-size: 1.1rem; }
.totals strong { color: var(--green); }
.totals__note { margin: 0 0 8px; color: var(--muted); font-size: .85rem; }
.cart-empty { text-align: center; padding: 20px 0; color: var(--muted); }

/* Checkout */
.checkout { display: grid; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.checkout[hidden] { display: none; }
.checkout h3 { font-size: 1.05rem; }
.checkout label { display: grid; gap: 4px; font-weight: 500; font-size: .92rem; }
.checkout input, .checkout textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 16px; background: #fff; color: var(--ink); resize: vertical;
}
.checkout input:focus, .checkout textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(139, 195, 72, .35); }
.checkout [aria-invalid="true"] { border-color: var(--danger); }
.optional { color: var(--muted); font-weight: 400; }
.checkout__error { margin: 0; color: var(--danger); font-size: .9rem; min-height: 1px; }
.checkout__note { margin: 0; color: var(--muted); font-size: .82rem; text-align: center; }

/* ---------- Larger screens ---------- */

@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .partners__list { gap: 16px; }
  .partners__list li { width: 190px; height: 116px; padding: 16px; }
  .infocards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loading [data-rails] { min-height: 360px; }
  .pd__arrow { display: grid; }
  .hero { padding-top: 16px; }
  .slider, .slide { min-height: 332px; }
  .slide { padding: 30px 40px 46px; gap: 20px; }
  .slide__title { font-size: 2.7rem; }
  .slide__kicker { font-size: .72rem; }
  .slide__copy { font-size: .95rem; max-width: 34ch; }
  .slide__art { height: 240px; }
  .slide--photo .slide__text { max-width: 52%; }
  .slide__photo { width: 54%; }
  .slide__circle { width: 230px; height: 230px; }
  .slide__card { width: 170px; height: 170px; padding: 10px; border-radius: 20px; }
  .slider__arrow { display: grid; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .tiles li { flex-basis: 150px; }
  .rail { padding: 16px; }
  .rail__track > li { flex-basis: 164px; }
  .chips { flex-wrap: wrap; margin: 0; padding: 2px 0 10px; overflow: visible; }

  .sheet { max-width: 560px; margin: auto; border-radius: 20px; max-height: 88vh; }
  .sheet__panel { padding: 24px 28px 28px; }
}

@media (min-width: 900px) {
  .promo { font-size: .85rem; }
  .loading [data-rails] { min-height: 382px; margin: 18px 0; }
  .footer { padding-top: 56px; }
  .footer__top { grid-template-columns: auto 1fr; align-items: center; gap: 28px; }
  .footer__menus { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .footer__bar { grid-template-columns: 1fr auto; align-items: center; }
  .chatfab { right: 24px; bottom: 24px; width: auto; padding: 0 20px 0 16px; }
  .chatfab span { display: inline; }
  body.has-orderbar .chatfab { bottom: 92px; }
  .topbar__inner { flex-wrap: nowrap; padding-top: 8px; padding-bottom: 8px; gap: 24px; }
  .topbar__inner .hsearch { order: 2; flex: 1 1 auto; max-width: 640px; margin: 0 auto; }
  .topbar__inner .hlink { order: 3; }
  .topbar__inner .cart-btn { order: 4; }
  .hlink { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 500; }
  .hlink svg { width: 22px; height: 22px; }
  .hlink:hover { color: var(--green); }
  .cart-btn { display: inline-flex; align-items: center; gap: 8px; width: auto; padding: 0 18px; border-radius: 999px; }
  .cart-btn__label { display: inline; font-weight: 700; }
  .cart-btn__count { top: -4px; right: -4px; }
  .shop { scroll-margin-top: 80px; }
  .delivery { scroll-margin-top: 80px; }
  .faq { scroll-margin-top: 80px; }
  .infocards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .infocard--returns { grid-column: span 2; }
  .infocard--returns ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }

  .slider, .slide { min-height: 422px; }
  .slide { padding: 48px 72px 54px; }
  .slide__title { font-size: 3.6rem; }
  .slide__pill { margin: 14px 0 10px; padding: 8px 18px; font-size: 1.05rem; }
  .slide__copy { font-size: 1rem; }
  .slide__cta { font-size: 1.1rem; }
  .slide__art { height: 320px; }
  .slide--photo .slide__text { max-width: 48%; }
  .slide__photo { width: 52%; }
  .slide__circle { width: 300px; height: 300px; }
  .slide__card { width: 220px; height: 220px; }

  .essentials__box { padding: 18px 20px; }
  .essentials h2 { font-size: 1.3rem; }
  .tiles { overflow: visible; gap: 14px; min-height: 178px; }
  .tiles li { flex: 1 1 0; }
  .tile { height: 176px; padding: 14px; }
  .tile__title { font-size: 1rem; }
  .tile__icon { width: 66px; height: 66px; }
  .tile__icon svg { width: 36px; height: 36px; }

  .rail { margin: 18px 0; padding: 18px 22px; }
  .rail__head h2 { font-size: 1.5rem; }
  .rail__track > li { flex-basis: 180px; }
  .rail__nav { display: grid; }

  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .card__name { font-size: .92rem; }
  .orderbar { left: auto; right: 24px; bottom: 24px; width: 360px; }
  .sheet[data-product-dialog] { max-width: 860px; }
  .sheet[data-product-dialog] .pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0 28px; }
  .sheet[data-product-dialog] .pd__media { grid-column: 1; aspect-ratio: 1 / 1; }
  .sheet[data-product-dialog] .pd__thumbs { grid-column: 1; }
  .sheet[data-product-dialog] .pd__info { grid-column: 2; grid-row: 1 / span 2; margin-top: 28px; }
}

@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sheet[open] { animation: none; }
  .slider__track { transition: none; }
  .btn, .tile, .card__plus, .slide__cta svg, .chatfab { transition: none; }
  .cart-btn.bump { animation: none; }
}

/* Space kept for the product rows while they load, so the page does not jump */
.loading [data-rails] { min-height: 342px; margin: 14px 0; border-radius: 18px; background: var(--surface); }

/* Message for visitors with JavaScript turned off */
.noscript { margin: 16px var(--gutter); padding: 14px 16px; border-radius: 12px; background: var(--orange-soft); color: var(--ink); }
