/* ==========================================================
   CROPZEN SOLUTIONS LIMITED - stylesheet
   Design idea: planted rows. Curved furrows rise under the hero,
   and every card, tile and button carries a "leaf corner"
   (two large corners, two small ones).
   ========================================================== */

:root {
  --dew: #F1F6F2;
  --ink: #0F2A1F;
  --field: #14573B;
  --field-deep: #0C3F2B;
  --sprout: #3DBE6E;
  --maize: #FFC52E;
  --white: #FFFFFF;
  --line: #D3E1D8;
  --muted: #4D6458;

  --leaf: 28px 6px 28px 6px;
  --leaf-sm: 14px 4px 14px 4px;

  --font-head: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--dew);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--field); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
h1 { font-weight: 800; }
h2 { font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-weight: 700; }
p { margin: 0 0 1rem; }

:focus-visible { outline: 3px solid var(--field); outline-offset: 3px; }
.hero :focus-visible,
.section--field :focus-visible,
.site-footer :focus-visible { outline-color: var(--maize); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--maize); color: var(--ink); padding: .6rem 1rem; border-radius: var(--leaf-sm); font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.3rem; border: 2px solid transparent; border-radius: var(--leaf-sm);
  font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--sm { padding: .55rem .9rem; font-size: .92rem; }
.btn--solid { background: var(--field); color: var(--white); }
.btn--solid:hover { background: var(--ink); }
.btn--solid.is-added { background: var(--sprout); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--field); border-color: var(--field); }
.btn--ghost:hover { background: var(--field); color: var(--white); }
.btn--sun { background: var(--maize); color: var(--ink); }
.btn--sun:hover { background: #FFD65C; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--field); }
.btn--wa { background: #25D366; color: #06290F; }
.btn--wa:hover { background: #4BE084; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: .25rem 0; font: 500 .92rem var(--font-body); color: var(--muted); text-decoration: underline; cursor: pointer; }
.icon-btn {
  width: 42px; height: 42px; border: 0; border-radius: 50%; background: #E3EDE6; color: var(--ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.icon-btn:hover { background: var(--line); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--dew); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 1rem; min-height: 68px; position: relative; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font: 800 1.3rem var(--font-head); letter-spacing: .02em; }
.brand__text span { font-size: .72rem; color: var(--muted); font-weight: 600; }
.nav { display: flex; gap: .25rem; }
.nav a { padding: .5rem .85rem; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a:hover { background: #E3EDE6; }
.nav a[aria-current="page"] { background: var(--field); color: var(--white); }
.enq-btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .9rem;
  background: var(--ink); color: var(--white); border: 0; border-radius: var(--leaf-sm);
  font: 600 .95rem var(--font-body); cursor: pointer;
}
.enq-btn:hover { background: var(--field); }
.enq-btn__count {
  min-width: 1.6rem; padding: 0 .4rem; border-radius: 999px; background: var(--maize); color: var(--ink);
  font-size: .82rem; text-align: center;
}
.nav-toggle {
  display: none; padding: .55rem .8rem; border: 1.5px solid var(--ink); border-radius: var(--leaf-sm);
  background: transparent; color: var(--ink); font: 600 .95rem var(--font-body); cursor: pointer;
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--field); color: var(--dew); }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(3rem, 8vw, 6rem) clamp(11rem, 20vw, 14rem); }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5.2rem); max-width: 14ch; }
.hero__lead { max-width: 38rem; margin: 1.3rem 0 1.8rem; font-size: 1.2rem; color: #D7E8DD; }
.finder { display: flex; gap: .6rem; max-width: 36rem; margin-bottom: 1.1rem; }
.finder input { border-color: transparent; }
.hero .chips { max-width: 40rem; }
.hero__sun {
  position: absolute; z-index: 1; right: 9%; bottom: 7rem; width: clamp(150px, 24vw, 320px); aspect-ratio: 1;
  border-radius: 50%; background: var(--maize);
}
.hero__rows { position: absolute; z-index: 2; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(120px, 20vw, 220px); }

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { transform: translateY(70px); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes sunrise { from { transform: translateY(120px); opacity: 0; } to { transform: none; opacity: 1; } }
  .hero__sun { animation: sunrise 1.3s cubic-bezier(.2, .7, .2, 1) both; }
  .row { transform-box: fill-box; transform-origin: bottom; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .row--1 { animation-delay: .15s; }
  .row--2 { animation-delay: .3s; }
  .row--3 { animation-delay: .45s; }
  .row--4 { animation-delay: .6s; }
}

/* ---------- forms ---------- */
input, select, textarea {
  width: 100%; padding: .8rem 1rem; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #B9CCBF; border-radius: var(--leaf-sm);
}
textarea { min-height: 9rem; resize: vertical; }
label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .95rem; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .45rem .9rem; border: 1.5px solid #B9CCBF; border-radius: 999px; background: var(--white);
  color: var(--ink); font: 500 .92rem var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: var(--field); }
.chip[aria-pressed="true"] { background: var(--field); border-color: var(--field); color: var(--white); }
.hero .chip { background: transparent; border-color: rgba(241, 246, 242, .5); color: var(--dew); }
.hero .chip:hover { background: var(--dew); color: var(--field); border-color: var(--dew); }

/* ---------- sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--field { background: var(--field-deep); color: #EAF3EE; }
.section__head { max-width: 46rem; margin-bottom: 2rem; }
.section__head p { color: var(--muted); margin: .7rem 0 0; }
.section--field .section__head p { color: #BFD6C9; }
.section__foot { margin-top: 2rem; }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 16px; }
.tile {
  display: flex; flex-direction: column; gap: .4rem; min-height: 190px; padding: 1.3rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf);
  color: var(--ink); text-decoration: none; transition: background-color .2s, color .2s, border-color .2s;
}
.tile__dot { width: 24px; height: 24px; border-radius: 24px 4px 24px 4px; border: 1px solid rgba(20, 87, 59, .3); margin-bottom: .5rem; }
.tile h3 { font-size: 1.25rem; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }
.tile__count { margin-top: auto; padding-top: .8rem; font-weight: 600; font-size: .9rem; color: var(--field); }
.tile:hover { background: var(--field); border-color: var(--field); color: var(--white); }
.tile:hover p, .tile:hover .tile__count { color: #DDEBE3; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; overflow: hidden; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--leaf);
}
.card__media { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--tint, #E3EDE6); }
.ph svg { width: 34%; opacity: .3; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.2rem; }
.card__cat { margin: 0 0 .25rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.card__title { font-size: 1.2rem; margin-bottom: .4rem; }
.card__sum { color: var(--muted); font-size: .96rem; margin-bottom: 1rem; }
.card__actions { display: flex; gap: .5rem; margin-top: auto; flex-wrap: wrap; }
.empty { grid-column: 1 / -1; padding: 2.5rem 1rem; text-align: center; color: var(--muted); }

/* why */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: start; }
.why__item { padding: 1.4rem 0; border-top: 1px solid #B9CCBF; }
.why__item:last-child { border-bottom: 1px solid #B9CCBF; }
.why__item h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.why__item p { margin: 0; color: var(--muted); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1rem; border-top: 3px solid var(--maize); }
.steps li::before { content: counter(step); display: block; font: 800 3.2rem/1 var(--font-head); color: var(--maize); margin-bottom: .6rem; }
.steps h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.steps p { margin: 0; color: #CFE0D6; }

/* call to action band */
.cta { background: var(--maize); color: var(--ink); padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); max-width: 24ch; }
.cta__actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ---------- inner page heads ---------- */
.page-head { padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-head p { max-width: 40rem; margin: .8rem 0 0; color: var(--muted); font-size: 1.1rem; }

/* products toolbar */
.toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 14rem; gap: .75rem; margin-bottom: 1rem; }
.results { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1.3rem 0 1rem; color: var(--muted); }
.results p { margin: 0; }
.more { display: flex; justify-content: center; margin-top: 2rem; }

/* ---------- contact page ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; align-items: start; }
.channels { display: grid; gap: 12px; margin-bottom: 2rem; }
.channel {
  display: flex; flex-direction: column; padding: 1.1rem 1.3rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--leaf); color: var(--ink); text-decoration: none;
}
.channel:hover { border-color: var(--field); }
.channel strong { font: 700 1.2rem var(--font-head); }
.channel span { color: var(--muted); }
.hours, .specs { margin: 0; }
.hours div, .specs div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.hours dt, .specs dt { font-weight: 600; }
.hours dd, .specs dd { margin: 0; color: var(--muted); text-align: right; }
.hours .is-today dt, .hours .is-today dd { color: var(--field); font-weight: 700; }
.panel { padding: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__field { margin-bottom: 1rem; }
.form__status { margin: .8rem 0 0; min-height: 1.5rem; font-weight: 600; }
.form__status.is-ok { color: var(--field); }
.form__status.is-err { color: #A63B1F; }
.trap { position: absolute; left: -9999px; }

/* opening status pill */
.status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: #999; }
.status.is-open .status__dot { background: var(--sprout); }
.status.is-closed .status__dot { background: #E0794A; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #CFE0D6; padding-top: 3rem; }
.site-footer a { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer__brand { font: 800 1.4rem var(--font-head); color: #fff; margin-bottom: .4rem; }
.footer__h { font: 700 1.05rem var(--font-head); color: #fff; margin-bottom: .7rem; }
.footer__list { margin: 0; padding: 0; list-style: none; }
.footer__list li { margin-bottom: .4rem; }
.footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; }
.footer__base p { margin: 0; }

/* ---------- dialogs ---------- */
dialog::backdrop { background: rgba(15, 42, 31, .6); }

.drawer {
  margin: 0 0 0 auto; padding: 0; border: 0; width: min(440px, 100%); height: 100dvh; max-height: 100dvh;
  background: var(--dew); color: var(--ink);
}
.drawer[open] { display: flex; flex-direction: column; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.5rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.3rem; }
.drawer__foot { display: grid; gap: .7rem; padding: 1.1rem 1.3rem 1.3rem; border-top: 1px solid var(--line); background: var(--white); }
.drawer__foot label { margin: 0; }
.drawer__row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.drawer__foot .link-btn { justify-self: start; }
.enq { margin: 0; padding: 0; list-style: none; }
.enq__item { display: grid; grid-template-columns: 1fr auto; gap: .4rem .8rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.enq__name { font-weight: 600; }
.enq__item .link-btn { grid-column: 1 / -1; justify-self: start; }
.enq__empty { padding: 2rem 0; text-align: center; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #B9CCBF; border-radius: var(--leaf-sm); background: var(--white); overflow: hidden; }
.qty button { width: 36px; height: 36px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: #E3EDE6; }
.qty output { min-width: 2rem; text-align: center; font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes slide-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .drawer[open] { animation: slide-in .25s ease-out; }
}

.modal { width: min(760px, 92vw); max-height: 90dvh; padding: 0; border: 0; border-radius: var(--leaf); background: var(--white); color: var(--ink); overflow: auto; }
.modal__close { position: absolute; top: .8rem; right: .8rem; z-index: 2; background: rgba(255, 255, 255, .9); }
.modal__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.modal__media { min-height: 260px; background: #E3EDE6; }
.modal__media img, .modal__media .ph { width: 100%; height: 100%; object-fit: cover; }
.ph--lg svg { width: 40%; }
.modal__info { padding: 2rem 1.8rem; }
.modal__info h2 { font-size: 1.8rem; margin-bottom: .8rem; }
.price { margin: 1rem 0; font-weight: 700; color: var(--field); }
.modal__actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 100%; left: -1.25rem; right: -1.25rem; flex-direction: column;
    padding: .8rem 1.25rem 1rem; background: var(--dew); border-bottom: 1px solid var(--line);
  }
  .site-header.nav-open .nav { display: flex; }
  .why, .contact { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .modal__inner { grid-template-columns: 1fr; }
  .modal__media { min-height: 180px; aspect-ratio: 16 / 7; }
  .hero__sun { right: 5%; bottom: 5rem; }
}

@media (max-width: 640px) {
  .brand__text span { display: none; }
  .finder { flex-direction: column; }
  .toolbar { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; }
  .enq-btn { padding: .5rem .7rem; }
}

@media (max-width: 640px) {
  .bar { gap: .5rem; }
  .brand { min-width: 0; gap: .5rem; }
  .enq-btn__long { display: none; }
}

/* ==========================================================
   SHOP ADDITIONS
   ========================================================== */
.bar { gap: .75rem; }
.nav { margin-left: auto; }
.brand { margin-right: 0; }
.cart-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--leaf-sm); color: var(--ink); text-decoration: none; background: #E3EDE6; }
.cart-btn:hover { background: var(--line); }
.cart-btn__n { position: absolute; top: -6px; right: -6px; min-width: 20px; padding: 0 5px; border-radius: 999px; background: var(--maize); color: var(--ink); font-size: .75rem; font-weight: 700; text-align: center; line-height: 20px; }
.acct { position: relative; }
.acct__btn { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .8rem .3rem .3rem; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 600 .92rem var(--font-body); cursor: pointer; }
.acct__av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--field); color: #fff; font-weight: 700; }
.acct__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 230px; padding: .5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf-sm); box-shadow: 0 12px 30px rgba(15, 42, 31, .15); }
.acct__who { margin: 0; padding: .4rem .7rem .6rem; font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--line); word-break: break-all; }
.acct__menu a, .acct__menu button { display: flex; justify-content: space-between; width: 100%; padding: .6rem .7rem; border: 0; background: none; border-radius: 8px; color: var(--ink); font: 500 1rem var(--font-body); text-align: left; text-decoration: none; cursor: pointer; }
.acct__menu a:hover, .acct__menu button:hover { background: #E3EDE6; }
.catbar { background: var(--field-deep); }
.catbar__in { display: flex; gap: .25rem; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.catbar a { padding: .6rem .9rem; color: #DDEBE3; font-weight: 500; font-size: .95rem; text-decoration: none; }
.catbar a:hover { color: var(--maize); }
.catbar__all { margin-left: auto; color: var(--maize) !important; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25D366; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.wa-float:hover { background: #1FBE5A; }

#toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: grid; gap: .5rem; width: min(92vw, 420px); }
.toast { padding: .8rem 1.1rem; background: var(--ink); color: #fff; border-radius: var(--leaf-sm); font-weight: 500; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.toast--error { background: #A63B1F; }
.toast--ok { background: var(--field); }

.badge { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 700; background: #E3EDE6; color: var(--ink); white-space: nowrap; }
.badge--awaiting_payment { background: #FFF1C2; color: #6B4E00; }
.badge--payment_submitted { background: #D9ECFA; color: #0F4C75; }
.badge--payment_failed, .badge--cancelled { background: #FBD9D0; color: #8A2A12; }
.badge--confirmed, .badge--preparing, .badge--delivered { background: #CDEFD8; color: #0C4A2A; }
.badge--out_for_delivery { background: #E2D9FA; color: #3C2A7A; }
.tag { display: inline-block; padding: .2rem .65rem; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.tag--in { background: #CDEFD8; color: #0C4A2A; }
.tag--low { background: #FFF1C2; color: #6B4E00; }
.tag--out { background: #FBD9D0; color: #8A2A12; }
.stars { color: #E8A400; letter-spacing: 1px; white-space: nowrap; }
.stars i { color: #CBD8CF; font-style: normal; }

.card { position: relative; }
.card__media { position: relative; display: block; text-decoration: none; }
.card__tag { position: absolute; top: .6rem; left: .6rem; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__rating { margin: 0 0 .6rem; font-size: .88rem; color: var(--muted); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; }
.card__price { font: 700 1.05rem var(--font-head); color: var(--field); }
.section__row { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section__row .section__head { margin-bottom: 0; }

/* home: main category blocks */
.mains { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.main-tile { display: flex; flex-direction: column; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf); }
.main-tile h3 { font-size: 1.5rem; }
.main-tile h3 a { color: var(--ink); text-decoration: none; }
.main-tile h3 a:hover { color: var(--field); }
.main-tile p { color: var(--muted); font-size: .95rem; margin: .4rem 0 1rem; }
.main-tile .chips { margin-top: auto; }
.main-tile .chip { font-size: .82rem; padding: .3rem .65rem; }
.main-tile:nth-child(1) { border-top: 6px solid var(--sprout); }
.main-tile:nth-child(2) { border-top: 6px solid var(--maize); }
.main-tile:nth-child(3) { border-top: 6px solid #5BA7D6; }
.main-tile:nth-child(4) { border-top: 6px solid #B98B5E; }

/* shop page */
.shop { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 2rem; align-items: start; padding-bottom: 4rem; }
.side { position: sticky; top: 130px; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf); max-height: calc(100dvh - 150px); overflow-y: auto; }
.side h2 { font-size: 1.1rem; margin-bottom: .6rem; }
.side details { border-top: 1px solid var(--line); padding: .3rem 0; }
.side summary { display: flex; justify-content: space-between; padding: .5rem .3rem; font-weight: 600; cursor: pointer; }
.side a { display: flex; justify-content: space-between; gap: .5rem; padding: .35rem .5rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.side a:hover { background: #E3EDE6; }
.side a[aria-current="true"] { background: var(--field); color: #fff; }
.side small { color: inherit; opacity: .7; }
.side-toggle { display: none; }
.pager { display: flex; justify-content: center; align-items: center; gap: .4rem; margin-top: 2rem; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; padding: 0 .7rem; border: 1.5px solid #B9CCBF; border-radius: 10px; background: var(--white); font: 600 .95rem var(--font-body); cursor: pointer; }
.pager button[aria-current="true"] { background: var(--field); border-color: var(--field); color: #fff; }
.pager button:disabled { opacity: .4; cursor: not-allowed; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.2rem 0; font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.gal__main { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 1px solid var(--line); border-radius: var(--leaf); overflow: hidden; background: var(--white); cursor: zoom-in; }
.gal__main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gal__main .ph { height: 100%; }
.gal__zoom { position: absolute; right: .8rem; bottom: .8rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(15, 42, 31, .8); color: #fff; font-size: .82rem; font-weight: 600; }
.gal__thumbs { display: flex; gap: .6rem; margin-top: .7rem; flex-wrap: wrap; }
.gal__thumbs button { width: 76px; height: 76px; padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; }
.gal__thumbs button[aria-current="true"] { border-color: var(--field); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.pdp__about { margin: .6rem 0 1rem; font-size: 1.1rem; color: var(--muted); }
.pdp__rate { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; font-size: .95rem; }
.pdp__rate a { color: var(--muted); }
.buybox { padding: 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf); margin-top: 1.2rem; }
.buybox__price { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin: 1rem 0 .3rem; }
.buybox__price strong { font: 800 2rem var(--font-head); color: var(--field); }
.buybox__note { min-height: 1.5rem; margin: 0 0 1rem; color: var(--muted); font-size: .95rem; }
.buybox__row { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: end; margin-bottom: 1rem; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid #B9CCBF; border-radius: var(--leaf-sm); overflow: hidden; background: #fff; }
.stepper button { width: 44px; height: 48px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: #E3EDE6; }
.stepper input { width: 56px; border: 0; border-radius: 0; text-align: center; padding: .6rem 0; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buybox__total { display: flex; justify-content: space-between; margin-bottom: 1rem; font-weight: 600; }
.buybox__btns { display: grid; gap: .6rem; }
.btn--lg { padding: 1rem 1.4rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.pdp-sec { margin-top: 3rem; }
.pdp-sec > h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.info { padding: 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf); }
.info h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.info p:last-child, .info ul:last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1rem; } .prose ul { margin: 0 0 1rem; padding-left: 1.3rem; } .prose li { margin-bottom: .35rem; }
.rev-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem; align-items: start; }
.rev-sum { padding: 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf); }
.rev-sum__big { font: 800 3rem/1 var(--font-head); }
.bar-row { display: grid; grid-template-columns: 2.2rem 1fr 2rem; gap: .5rem; align-items: center; font-size: .9rem; margin: .3rem 0; }
.bar-row__t { height: 8px; border-radius: 99px; background: #DCE7E0; overflow: hidden; }
.bar-row__t i { display: block; height: 100%; background: #E8A400; }
.rev { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.rev__top { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.rev p { margin: .4rem 0 0; }
.rev__v { font-size: .78rem; font-weight: 700; color: var(--field); }
.star-pick { display: flex; gap: .2rem; margin-bottom: .8rem; }
.star-pick button { border: 0; background: none; padding: 0; font-size: 2rem; line-height: 1; color: #CBD8CF; cursor: pointer; }
.star-pick button.on { color: #E8A400; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96dvh; overflow: visible; }
.lightbox img, .lightbox .ph { max-width: 92vw; max-height: 86dvh; border-radius: 14px; background: #fff; }
.lightbox .ph { width: min(80vw, 600px); height: min(60dvh, 500px); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .6rem; }
.lightbox__bar button { padding: .6rem 1rem; border: 0; border-radius: 999px; background: #fff; font: 600 .95rem var(--font-body); cursor: pointer; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 270px); gap: 16px; overflow-x: auto; padding-bottom: .8rem; scroll-snap-type: x proximity; }
.scroller > * { scroll-snap-align: start; }

/* cart + checkout + payment */
.layout2 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; align-items: start; padding-bottom: 4rem; }
.box { padding: 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf); margin-bottom: 1.2rem; }
.box h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.sticky { position: sticky; top: 140px; }
.line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.line:first-child { padding-top: 0; }
.line__img { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: #E3EDE6; }
.line__img img, .line__img .ph { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-weight: 700; color: var(--ink); text-decoration: none; }
.line__sub { color: var(--muted); font-size: .92rem; margin: .1rem 0 .5rem; }
.line__right { text-align: right; font-weight: 700; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; }
.sum-row--total { margin-top: .4rem; padding-top: .8rem; border-top: 2px solid var(--ink); font: 800 1.25rem var(--font-head); }
.alert { padding: .9rem 1.1rem; border-radius: var(--leaf-sm); background: #FFF1C2; color: #5C4300; margin-bottom: 1rem; }
.alert--err { background: #FBD9D0; color: #7A2410; }
.alert--ok { background: #CDEFD8; color: #0C4A2A; }
.alert--info { background: #D9ECFA; color: #0F4C75; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1rem; }
.radio-card { position: relative; display: block; padding: 1rem; border: 2px solid #B9CCBF; border-radius: var(--leaf-sm); cursor: pointer; margin: 0; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card:has(input:checked) { border-color: var(--field); background: #EEF6F0; }
.radio-card:has(input:focus-visible) { outline: 3px solid var(--field); outline-offset: 2px; }
.radio-card small { display: block; color: var(--muted); font-weight: 400; }
.map { height: 300px; border-radius: var(--leaf-sm); border: 1px solid var(--line); margin: .8rem 0; z-index: 1; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.fgrid .full { grid-column: 1 / -1; }
.fgrid label { margin-bottom: .3rem; }
.hint { color: var(--muted); font-size: .9rem; margin: .3rem 0 0; }
.quote { padding: .9rem 1rem; border-radius: var(--leaf-sm); background: #EEF6F0; border: 1px solid #B9D9C4; margin: .8rem 0; }
.inline { display: flex; gap: .6rem; }
.inline > input { flex: 1; }
.check { display: flex; gap: .6rem; align-items: center; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--field); }

.till { padding: 1.4rem; border-radius: var(--leaf); background: var(--field); color: #fff; text-align: center; }
.till small { display: block; color: #CFE6D8; font-size: .95rem; }
.till strong { display: block; margin: .3rem 0; font: 800 clamp(2.4rem, 8vw, 3.6rem)/1 var(--font-head); letter-spacing: .08em; color: var(--maize); }
.till__amt { font: 700 1.3rem var(--font-head); }
.qr { max-width: 240px; margin: 1rem auto 0; border-radius: 12px; background: #fff; padding: 8px; }
.steps-list { margin: 0; padding-left: 1.3rem; } .steps-list li { margin-bottom: .45rem; }
.processing { text-align: center; padding: 2.2rem 1.4rem; }
.spinner { width: 74px; height: 74px; margin: 0 auto 1.2rem; border-radius: 50%; border: 7px solid #DCE7E0; border-top-color: var(--field); }
@media (prefers-reduced-motion: no-preference) { @keyframes spin { to { transform: rotate(360deg); } } .spinner { animation: spin 1.1s linear infinite; } }
.big-ok { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 50%; background: var(--sprout); color: var(--ink); font-size: 2.4rem; font-weight: 800; }
.timeline { display: flex; justify-content: space-between; gap: .3rem; margin: 1.5rem 0; padding: 0; list-style: none; counter-reset: t; }
.timeline li { position: relative; flex: 1; text-align: center; font-size: .82rem; color: var(--muted); }
.timeline li::before { counter-increment: t; content: counter(t); display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto .4rem; border-radius: 50%; background: #DCE7E0; font-weight: 700; color: var(--ink); position: relative; z-index: 1; }
.timeline li::after { content: ''; position: absolute; top: 15px; left: 50%; width: 100%; height: 3px; background: #DCE7E0; }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); font-weight: 600; }
.timeline li.done::before { background: var(--field); color: #fff; }
.timeline li.done::after { background: var(--field); }

/* login */
.auth { max-width: 460px; margin: 2rem auto 4rem; }
.tabs { display: flex; gap: .4rem; margin-bottom: 1.2rem; border-bottom: 2px solid var(--line); overflow-x: auto; }
.tabs button { padding: .7rem 1.1rem; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; background: none; font: 600 1rem var(--font-body); color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--field); border-bottom-color: var(--field); }
.or { display: flex; align-items: center; gap: .8rem; margin: 1.1rem 0; color: var(--muted); font-size: .9rem; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.field { margin-bottom: 1rem; }

/* account */
.order-card { padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf); margin-bottom: 1rem; }
.order-card__top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }
.order-card__top strong { font: 700 1.1rem var(--font-head); }
.order-card p { margin: .4rem 0; color: var(--muted); font-size: .95rem; }
.wallet-card { padding: 1.6rem; border-radius: var(--leaf); background: var(--field); color: #fff; margin-bottom: 1.2rem; }
.wallet-card strong { display: block; font: 800 2.6rem/1.1 var(--font-head); color: var(--maize); }
.tx { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.tx b.pos { color: var(--field); } .tx b.neg { color: #A63B1F; }

/* slideshow + tips */
.slider { position: relative; overflow: hidden; background: var(--ink); }
.slides { display: flex; transition: transform .7s cubic-bezier(.3, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) { .slides { transition: none; } }
.slide { position: relative; flex: 0 0 100%; min-height: clamp(320px, 52vw, 520px); display: flex; align-items: end; color: #fff; text-decoration: none; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 28, 20, .85) 0%, rgba(8, 28, 20, .2) 60%, transparent 100%); }
.slide__txt { position: relative; z-index: 2; padding-block: 2.2rem 3.4rem; max-width: 40rem; }
.slide__txt .badge { background: var(--maize); color: var(--ink); margin-bottom: .7rem; }
.slide__txt h2 { color: #fff; font-size: clamp(1.7rem, 4.5vw, 3rem); margin-bottom: .6rem; }
.slide__txt p { margin: 0; color: #E3EDE6; font-size: 1.1rem; }
.slider__nav { position: absolute; inset: auto 0 1rem 0; z-index: 3; display: flex; justify-content: center; align-items: center; gap: .6rem; }
.slider__dots { display: flex; gap: .5rem; }
.slider__dots button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer; }
.slider__dots button[aria-current="true"] { width: 30px; border-radius: 99px; background: var(--maize); }
.slider__arrow, .slider__pause { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.slider__arrow--prev { position: absolute; left: 1rem; top: 50%; z-index: 3; } .slider__arrow--next { position: absolute; right: 1rem; top: 50%; z-index: 3; }
.tip-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf); color: var(--ink); text-decoration: none; }
.tip-card:hover { border-color: var(--field); }
.tip-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tip-card__body { padding: 1rem 1.2rem 1.2rem; }
.tip-card h3 { font-size: 1.2rem; margin: .3rem 0 .4rem; }
.tip-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.tip-card .badge { background: #E3EDE6; }
.article { max-width: 46rem; margin: 0 auto; padding-bottom: 3rem; }
.article__img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--leaf); margin: 1.2rem 0 1.6rem; }
.article .prose { font-size: 1.12rem; }

/* about + contact */
.about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.about__img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--leaf); object-fit: cover; }
.facts { display: grid; gap: 12px; }
.fact { padding: 1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf); }
.fact strong { display: block; font: 700 1.1rem var(--font-head); }

/* invoice */
.invoice { max-width: 820px; margin: 2rem auto; padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.invoice__head { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.invoice table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.invoice th, .invoice td { padding: .6rem .4rem; border-bottom: 1px solid var(--line); text-align: left; }
.invoice td.r, .invoice th.r { text-align: right; }
@media print { .site-header, .site-footer, .wa-float, .no-print, #toasts { display: none !important; } body { background: #fff; } .invoice { border: 0; margin: 0; padding: 0; } }

/* admin */
.adm { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 0 4rem; align-items: start; }
.adm-nav { position: sticky; top: 140px; display: grid; gap: .3rem; padding: .7rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf); }
.adm-nav button { display: flex; justify-content: space-between; align-items: center; padding: .7rem .8rem; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 600 1rem var(--font-body); text-align: left; cursor: pointer; }
.adm-nav button[aria-selected="true"] { background: var(--field); color: #fff; }
.adm-nav .n { min-width: 22px; padding: 0 6px; border-radius: 99px; background: var(--maize); color: var(--ink); font-size: .78rem; text-align: center; }
.adm h1 { font-size: 1.8rem; margin-bottom: 1rem; }
.adm-bar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.adm-bar input[type="search"], .adm-bar select { width: auto; min-width: 220px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 1.4rem; }
.stat { padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf-sm); }
.stat b { display: block; font: 800 1.8rem var(--font-head); color: var(--field); }
.stat--hot b { color: #A63B1F; }
.a-order { padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf); margin-bottom: 1rem; }
.a-order--hot { border-color: #5BA7D6; box-shadow: 0 0 0 3px #D9ECFA; }
.a-order__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .8rem 1.5rem; margin: .8rem 0; }
.a-order__grid dt { font-size: .82rem; color: var(--muted); } .a-order__grid dd { margin: 0 0 .3rem; font-weight: 600; word-break: break-word; }
.code { display: inline-block; padding: .2rem .6rem; border-radius: 8px; background: var(--ink); color: var(--maize); font: 700 1.15rem monospace; letter-spacing: .08em; }
.btnrow { display: flex; gap: .5rem; flex-wrap: wrap; }
.btn--danger { background: #A63B1F; color: #fff; } .btn--danger:hover { background: #82280F; }
.table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.table th, .table td { padding: .65rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: .95rem; }
.table th { background: #EEF6F0; font-size: .85rem; }
.table-wrap { overflow-x: auto; }
.thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #E3EDE6; }
.cat-main { padding: 1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--leaf); margin-bottom: 1rem; }
.cat-main > header { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .5rem; }
.cat-main h3 { font-size: 1.3rem; }
.cat-sub { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .45rem 0; border-top: 1px solid var(--line); }
.var-row { display: grid; grid-template-columns: 1.1fr .8fr .6fr 1.4fr auto; gap: .5rem; margin-bottom: .5rem; }
.det-row { display: grid; gap: .4rem; padding: .7rem; margin-bottom: .6rem; border: 1px solid var(--line); border-radius: 10px; }
.img-list { display: flex; gap: .6rem; flex-wrap: wrap; margin: .5rem 0; }
.img-list > div { position: relative; }
.img-list img { width: 90px; height: 90px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); }
.img-list button { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: #A63B1F; color: #fff; cursor: pointer; }
.dlg { width: min(860px, 94vw); max-height: 92dvh; padding: 0; border: 0; border-radius: var(--leaf); background: var(--dew); color: var(--ink); }
.dlg__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.4rem; background: var(--dew); border-bottom: 1px solid var(--line); }
.dlg__head h2 { font-size: 1.4rem; }
.dlg__body { padding: 1.2rem 1.4rem 1.4rem; }
.dlg__foot { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.2rem; }
.settings-group { margin-bottom: 1.5rem; }
.settings-group h2 { font-size: 1.25rem; margin-bottom: .8rem; }
.inline-note { color: var(--muted); font-size: .92rem; }

@media (max-width: 960px) {
  .pdp, .rev-grid, .layout2, .about, .adm { grid-template-columns: 1fr; }
  .shop { grid-template-columns: 1fr; }
  .side { position: static; max-height: none; display: none; }
  .side.open { display: block; }
  .side-toggle { display: inline-flex; margin-bottom: 1rem; }
  .sticky, .adm-nav { position: static; }
  .adm-nav { grid-auto-flow: column; overflow-x: auto; }
}
@media (max-width: 700px) {
  .radio-cards, .fgrid { grid-template-columns: 1fr; }
  .line { grid-template-columns: 64px minmax(0, 1fr); } .line__img { width: 64px; height: 64px; } .line__right { grid-column: 2; text-align: left; }
  .acct__name { display: none; } .acct__btn { padding: .25rem; }
  .var-row { grid-template-columns: 1fr 1fr; }
  .timeline li { font-size: .72rem; }
  .slider__arrow--prev, .slider__arrow--next { display: none; }
}
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .steps--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps--4 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .brand__text strong { font-size: 1.1rem; } .bar { gap: .4rem; } .cart-btn { width: 40px; height: 40px; } }

.card__vendor { margin: -.2rem 0 .5rem; font-size: .85rem; color: var(--muted); }
.card__vendor strong { color: var(--field); font-weight: 600; }
.pdp__vendor { margin: .3rem 0 .5rem; font-size: .95rem; color: var(--muted); }
.pdp__vendor strong { color: var(--field); }

/* ==========================================================
   v3 ADDITIONS: rich text, offers, header search, category pictures, order list, backup
   ========================================================== */
/* rich text (product descriptions, tips, about) */
.prose .lead { font-size: 1.18rem; line-height: 1.65; color: var(--ink); font-weight: 500; }
.prose p { margin: 0 0 .9rem; }
.prose .kv { display: grid; grid-template-columns: minmax(9rem, 12rem) 1fr; gap: .2rem 1rem; padding: .55rem 0; border-top: 1px dashed var(--line); margin: 0; }
.prose .kv:first-child { border-top: 0; }
.prose .kv .lbl { color: var(--field); font-weight: 700; font-family: var(--font-head); }
.prose .rt-h { font-family: var(--font-head); line-height: 1.15; margin: 1.3rem 0 .5rem; color: var(--ink); }
.prose .rt-h1 { font-size: 1.7rem; font-weight: 800; } .prose .rt-h2 { font-size: 1.3rem; font-weight: 700; color: var(--field); } .prose .rt-h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.prose .rt-ul, .prose .rt-ol { padding-left: 1.4rem; margin: 0 0 1rem; } .prose .rt-ul li::marker { color: var(--sprout); } .prose .rt-ol li::marker { color: var(--field); font-weight: 700; }
.prose .rt-callout { margin: .8rem 0 1rem; padding: .8rem 1rem; border-left: 5px solid var(--maize); background: #FFF6D8; border-radius: 4px 12px 12px 4px; color: #4D3A00; }
.prose em { color: #355A47; } .prose u { text-decoration-color: var(--sprout); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.info h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; }
.info h3::before { content: ''; width: 8px; height: 1.2em; border-radius: 4px; background: var(--sprout); flex: none; }
.info:nth-child(3n+2) h3::before { background: var(--maize); } .info:nth-child(3n) h3::before { background: #5BA7D6; }
.info .prose .lead { font-size: 1.02rem; font-weight: 400; }
@media (max-width: 560px) { .prose .kv { grid-template-columns: 1fr; } }

/* offers */
.offer-badge { position: absolute; top: .6rem; right: .6rem; padding: .25rem .6rem; border-radius: 999px; background: #D7263D; color: #fff; font: 800 .9rem var(--font-head); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.price-old { color: var(--muted); font: 500 .85rem var(--font-body); text-decoration: line-through; }
.card__price .price-old { margin-left: .3rem; }
.sale-pill { display: inline-block; padding: .2rem .7rem; border-radius: 999px; background: #D7263D; color: #fff; font: 800 1rem var(--font-head); }
.buybox__price .price-old { font-size: 1.2rem; }
.offer-note { margin: .3rem 0 0; font-size: .9rem; color: #A01B2E; font-weight: 600; }
.offers-band { background: #FFF1F1; border-top: 4px solid #D7263D; }

/* header search */
.hsearch { position: relative; flex: 1 1 220px; max-width: 340px; margin-left: .8rem; }
.hsearch input { padding: .55rem .9rem; border-radius: 999px; font-size: .95rem; }
.hsug { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 70; min-width: 330px; margin: 0; padding: .35rem; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 34px rgba(15,42,31,.18); }
.hsug li a { display: flex; align-items: center; gap: .7rem; padding: .5rem .6rem; border-radius: 10px; color: var(--ink); text-decoration: none; }
.hsug li a:hover, .hsug li[aria-selected="true"] a { background: #E3EDE6; }
.hsug img, .hsug__ph { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #E3EDE6; flex: none; display: grid; place-items: center; }
.hsug__ph svg { width: 22px; opacity: .4; }
.hsug__t { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.hsug__t strong { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hsug__t small { color: var(--field); font-weight: 600; font-size: .8rem; }
.hsug__p { font: 700 .88rem var(--font-head); color: var(--field); white-space: nowrap; }
.hsug__all a { justify-content: center; font-weight: 700; color: var(--field); }
.hsug__none { padding: .8rem; color: var(--muted); }
@media (max-width: 860px) { .bar { flex-wrap: wrap; padding-block: .5rem; } .hsearch { order: 10; flex: 1 1 100%; max-width: none; margin: 0; } .hsug { min-width: 0; } }

/* category pictures */
.pic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 0 0 1.6rem; }
.pic-card { position: relative; display: block; overflow: hidden; border-radius: var(--leaf); aspect-ratio: 4 / 3; background: #E3EDE6; color: #fff; text-decoration: none; }
.pic-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pic-card:hover img { transform: scale(1.05); }
.pic-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,28,20,.82), rgba(8,28,20,.05) 65%); }
.pic-card span { position: absolute; z-index: 2; left: .8rem; right: .8rem; bottom: .7rem; font: 700 1.02rem/1.2 var(--font-head); }
.pic-card small { display: block; font: 500 .78rem var(--font-body); opacity: .85; margin-top: .1rem; }
.main-tile__pic { margin: -1.5rem -1.5rem 1rem; height: 130px; overflow: hidden; border-radius: 28px 6px 0 0; }
.main-tile__pic img { width: 100%; height: 100%; object-fit: cover; }
.side details details { margin-left: .6rem; border-top: 0; }
.side .sub-sum { font-weight: 500; font-size: .95rem; padding: .3rem .4rem; }
.crumbs a:hover { color: var(--field); }

/* admin: order list with step checkboxes */
.tracker { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-width: 900px; }
.tracker th, .tracker td { padding: .6rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .92rem; }
.tracker th { background: #EEF6F0; font-size: .8rem; position: sticky; top: 0; }
.tracker th.c, .tracker td.c { text-align: center; }
.tracker td.c label { display: grid; justify-items: center; gap: .15rem; margin: 0; cursor: pointer; font-weight: 400; }
.tracker input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--field); cursor: pointer; }
.tracker input[disabled] { cursor: not-allowed; opacity: .55; }
.tracker small { color: var(--muted); font-size: .74rem; line-height: 1.2; }
.tracker tr.is-problem td { background: #FFF4F1; } .tracker tr.is-done td { background: #F3FAF5; }
.tracker .inv { font: 700 1rem var(--font-head); }
.pill { display: inline-block; padding: .1rem .5rem; border-radius: 999px; background: #E3EDE6; font-size: .78rem; font-weight: 700; }
.fmtbar { display: flex; gap: .3rem; margin-bottom: .3rem; flex-wrap: wrap; }
.fmtbar button { min-width: 36px; height: 34px; padding: 0 .6rem; border: 1.5px solid #B9CCBF; border-radius: 8px; background: #fff; font: 700 .9rem var(--font-body); cursor: pointer; }
.fmtbar button:hover { background: #E3EDE6; }
.dtabs { display: flex; gap: .3rem; border-bottom: 2px solid var(--line); margin-bottom: 1rem; }
.dtabs button { padding: .7rem 1.2rem; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; background: none; font: 700 1rem var(--font-body); color: var(--muted); cursor: pointer; }
.dtabs button[aria-selected="true"] { color: var(--field); border-bottom-color: var(--field); }
.dtabs .dot { display: inline-block; width: 9px; height: 9px; margin-left: .4rem; border-radius: 50%; background: #D7263D; }
.offer-preview { padding: 1rem 1.2rem; border-radius: var(--leaf); background: #fff; border: 1px solid var(--line); margin-top: 1rem; }
.offer-preview table { width: 100%; border-collapse: collapse; } .offer-preview td, .offer-preview th { padding: .35rem .3rem; text-align: left; font-size: .92rem; border-bottom: 1px solid var(--line); }
.cat-tree-row { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .5rem 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cat-tree-row.lvl3 { margin-left: 2rem; padding-left: .8rem; border-left: 3px solid #D9ECC8; }
.cat-tree-row .who { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.cat-tree-row .thumb { width: 52px; height: 40px; border-radius: 8px; }
.danger-zone { border: 2px solid #F1B5A8; background: #FFF8F6; }
