/* ==========================================================================
   JH Global Foods: Home page (BigBasket-style grocery layout)
   Mobile-first. Breakpoints (min-width): 480, 600, 768, 1024, 1280 px
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Font fallbacks
   Metric-matched local fallbacks so text does not jump when web fonts swap in.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  ascent-override: 93.6%;
  descent-override: 31.2%;
  line-gap-override: 8.9%;
  size-adjust: 112.2%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  ascent-override: 90.4%;
  descent-override: 22.5%;
  line-gap-override: 0%;
  size-adjust: 107.1%;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand colours (from the J&H Global Food & Beverages logo): green leads, gold for actions, blue as a light accent */
  --c-primary: #077A0B;      /* leaf green */
  --c-primary-700: #056C04;  /* FOOD & BEVERAGES green */
  --c-primary-900: #064A0A;
  --c-primary-50: #E7F5E4;
  --c-accent: #EBB010;       /* swoosh and ampersand gold */
  --c-accent-600: #D69B05;
  --c-accent-50: #FEF5D9;
  --c-accent-ink: #855A00;
  --c-blue: #0A40A8;         /* J&H and globe blue */
  --c-blue-50: #E9F0FC;
  --c-leaf: #077A0B;
  --c-leaf-700: #056C04;
  --c-leaf-900: #0B5E12;
  --c-leaf-50: #E7F5E4;
  --c-leaf-ink: #056C04;
  --c-red: #D62828;          /* deal badges and basket count only */
  --c-red-700: #A91E1E;
  --c-red-50: #FDECEC;
  --c-white: #FFFFFF;
  --c-offwhite: #F4F8F2;
  --c-field: #EDF3EB;
  --c-text: #141B2D;
  --c-muted: #4D5768;
  --c-border: #DFE8DC;
  --c-input-border: #828C9E;
  --c-on-dark: rgba(255, 255, 255, 0.92);
  --c-whatsapp: #128C7E;

  /* Typography */
  --font-head: "Poppins", "Poppins Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.875rem;
  --fs-base: clamp(0.9375rem, 0.91rem + 0.15vw, 1rem);
  --fs-md: clamp(0.9375rem, 0.9rem + 0.25vw, 1.0625rem);
  --fs-lg: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  --fs-h3: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  --fs-h2: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  --fs-h1: clamp(1.625rem, 1.15rem + 1.9vw, 2.75rem);

  /* Spacing: 8px grid (with one 4px half-step) */
  --sp-0-5: 0.25rem;
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 2.5rem;
  --sp-6: 3rem;
  --sp-8: 4rem;
  --section-py: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2rem);
  --container: 80rem;

  /* Shape and depth */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 27, 45, 0.05), 0 2px 8px rgba(20, 27, 45, 0.04);
  --shadow-md: 0 4px 12px rgba(20, 27, 45, 0.07), 0 12px 28px rgba(20, 27, 45, 0.07);
  --shadow-lg: 0 18px 44px rgba(20, 27, 45, 0.16);

  /* Interaction */
  --touch: 2.75rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 200ms;
  --mobile-bar-h: 3.5rem;
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 8.25rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-offwhite);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom));
}
body:has(dialog[open]) { overflow: hidden; }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin: 0 0 var(--sp-2);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.15; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }

p { margin: 0 0 var(--sp-2); text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--c-primary-700); }

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--c-white); }
/* Links on a dark surface take the surface's own colour. Buttons keep theirs. */
.on-dark a:not(.btn) { color: inherit; }
.on-dark a:not(.btn):hover,
.on-dark a:not(.btn):focus-visible { color: var(--c-white); }
main:focus { outline: none; }

/* Selected text. The accent at full strength reads as a highlighter smear,
   so it is tinted: still the brand gold, but legible under the text. */
::selection { background: rgba(235, 176, 16, 0.32); color: var(--c-text); }
::-moz-selection { background: rgba(235, 176, 16, 0.32); color: var(--c-text); }
.on-dark ::selection { background: rgba(255, 255, 255, 0.26); color: #fff; }
.on-dark ::-moz-selection { background: rgba(255, 255, 255, 0.26); color: #fff; }

/* --------------------------------------------------------------------------
   4. Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden,
.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 767.98px) {
  .hide-sm { display: none !important; }
  .sr-sm {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

.center { text-align: center; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: var(--sp-2);
  top: -6rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--c-accent);
  color: var(--c-text);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: var(--sp-2); }

/* --------------------------------------------------------------------------
   5. Buttons and links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  min-height: var(--touch);
  padding: 0.625rem 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 0.5rem 1rem; font-size: var(--fs-sm); }
.btn--lg { min-height: 3.125rem; padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--c-accent); color: var(--c-text); }
.btn--primary:hover { background: var(--c-accent-600); color: var(--c-text); box-shadow: 0 6px 16px rgba(235, 176, 16, 0.35); }

.btn--navy { background: var(--c-primary); color: var(--c-white); }
.btn--navy:hover { background: var(--c-primary-700); color: var(--c-white); box-shadow: 0 6px 16px rgba(7, 122, 11, 0.22); }

.btn--outline { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-white); }
.btn--outline:hover { background: var(--c-primary); color: var(--c-white); }

.link-more {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-primary);
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: rgba(7, 122, 11, 0.35);
  text-decoration-thickness: 2px;
}
.link-more:hover { text-decoration-color: currentColor; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1875rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.badge--red { background: var(--c-red); color: var(--c-white); }

/* --------------------------------------------------------------------------
   6. Top bar
   -------------------------------------------------------------------------- */
.topbar { background: var(--c-primary-900); color: var(--c-white); font-size: var(--fs-xs); }
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  min-height: var(--touch);
}
.topbar__msg { margin: 0; font-weight: 600; }
.topbar a { color: var(--c-white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__msg a { display: inline-block; line-height: var(--touch); }
.topbar__info { display: flex; align-items: center; list-style: none; }
.topbar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-width: var(--touch);
  min-height: var(--touch);
}
.topbar__link .icon { width: 1.125rem; height: 1.125rem; }
.topbar__wa .icon { width: 1.25rem; height: 1.25rem; }

@media (min-width: 768px) {
  .topbar__info { gap: var(--sp-2); }
  .topbar__item + .topbar__item { padding-left: var(--sp-2); border-left: 1px solid rgba(255, 255, 255, 0.35); }
  .topbar__link { min-width: 0; }
  .topbar__wa { min-width: var(--touch); }
}

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(20, 27, 45, 0.08); }

.header__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "menu logo actions"
    "search search search";
  align-items: center;
  column-gap: var(--sp-0-5);
  min-height: 4rem;
}
.header__menu-btn { grid-area: menu; margin-left: -0.625rem; }

.logo {
  grid-area: logo;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  padding-block: 0.5rem;
}
.logo img { height: 3.25rem; width: auto; }

.header__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin-right: -0.5rem;
}
.header-login, .header-account, .header-wishlist { display: none !important; }

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--touch);
  height: var(--touch);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-text);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--c-primary-50); color: var(--c-primary); }
.icon-btn .icon { width: 1.5rem; height: 1.5rem; }

/* Basket */
.basket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-width: var(--touch);
  min-height: var(--touch);
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.basket:hover { background: var(--c-primary-50); color: var(--c-primary); }
.basket__icon { position: relative; display: grid; }
.basket__icon .icon { width: 1.5rem; height: 1.5rem; }
.basket__label { display: none; }

.cart-count {
  position: absolute;
  top: -0.4375rem;
  right: -0.625rem;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.25rem;
  border-radius: var(--radius-pill);
  background: var(--c-red);
  color: var(--c-white);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.125rem;
  text-align: center;
}
.cart-count.is-empty { display: none; }

/* Search: always visible (BigBasket style), full row on mobile */
.search {
  grid-area: search;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 0.625rem;
}
.search input {
  width: 100%;
  height: var(--touch);
  padding: 0 1rem 0 3rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--c-field);
  font-size: 1rem;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.search input::placeholder { color: #5D6677; opacity: 1; }
.search input:focus { border-color: var(--c-primary); background: var(--c-white); }
.search input:focus-visible { outline-offset: 1px; }
.search__submit {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: var(--touch);
  height: var(--touch);
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--c-text);
}
.search__submit:hover { color: var(--c-primary); }

/* Delivery location chip (desktop) */
.loc-chip {
  grid-area: loc;
  display: none;
  align-items: center;
  gap: 0.625rem;
  min-height: var(--touch);
  padding: 0.25rem 0.875rem 0.25rem 0.625rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--dur) var(--ease);
}
.loc-chip:hover { border-color: var(--c-primary); color: var(--c-text); }
.loc-chip > .icon { color: var(--c-primary); }
.loc-chip__text { display: flex; flex-direction: column; line-height: 1.25; }
.loc-chip__label { font-size: 0.75rem; color: var(--c-muted); }
.loc-chip__value { font-size: var(--fs-sm); font-weight: 600; }

@media (max-width: 374.98px) {
  .logo img { height: 3rem; }
}

@media (min-width: 768px) {
  html { scroll-padding-top: 6.5rem; }
  .header__main {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "menu logo search actions";
    column-gap: var(--sp-2);
    min-height: 5rem;
  }
  .logo img { height: 4rem; }
  .search { margin: 0; }
  .header-account, .header-wishlist { display: inline-grid !important; }
}

@media (min-width: 1024px) {
  html { scroll-padding-top: 9.75rem; }
  .header__main {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "logo search loc actions";
    column-gap: var(--sp-3);
    min-height: 5.75rem;
  }
  .logo img { height: 4.75rem; }
  .header__menu-btn { display: none; }
  .loc-chip { display: inline-flex; }
  .header-login { display: inline-flex !important; margin-right: 0.25rem; }
  .header-account { display: none !important; }
  .basket__label { display: inline; }
}

/* Primary nav + "Shop by Category" mega menu (desktop) */
.primary-nav {
  display: none;
  border-top: 1px solid var(--c-border);
}
.primary-nav__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--sp-3);
  min-height: 3.25rem;
}
.primary-nav__inner > .cat-menu { justify-self: start; }
.primary-nav__inner > .nav-trade { justify-self: end; }
.primary-nav__list { display: flex; align-items: center; list-style: none; }
.primary-nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  padding: 0 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.primary-nav__list a:hover { background: var(--c-offwhite); color: var(--c-primary); }
.primary-nav__list a[aria-current="page"] { color: var(--c-primary); }
.primary-nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--c-primary);
}
.nav-trade {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--touch);
  padding: 0 0.875rem;
  border-radius: var(--radius-pill);
  background: var(--c-accent-50);
  color: var(--c-accent-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
}
.nav-trade:hover { background: var(--c-accent); color: var(--c-text); }

.cat-menu { position: relative; }
.cat-menu__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--touch);
  padding: 0 1rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--c-primary);
  color: var(--c-white);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color var(--dur) var(--ease);
}
.cat-menu__btn:hover,
.cat-menu.is-open .cat-menu__btn { background: var(--c-primary-700); }
.cat-menu__chev { width: 1rem; height: 1rem; transition: transform var(--dur) var(--ease); }
.cat-menu.is-open .cat-menu__chev { transform: rotate(180deg); }

@media (min-width: 1024px) {
  .primary-nav { display: block; }
}

.mega {
  position: absolute;
  left: 0;
  top: calc(100% + 0.5rem);
  z-index: 60;
  width: min(60rem, calc(100vw - 2 * var(--gutter)));
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
  box-shadow: 0 24px 48px rgba(20, 27, 45, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
}
.mega::before {
  /* hover bridge between the button and the panel */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.625rem;
  height: 0.625rem;
}
.cat-menu.is-open > .mega,
.no-js .cat-menu:hover > .mega,
.no-js .cat-menu:focus-within > .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.mega__inner { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.mega__cats { display: flex; flex-direction: column; padding: var(--sp-3); }
.mega__side {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-3);
  border-left: 1px solid var(--c-border);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--c-offwhite);
}
.mega__title { margin-bottom: var(--sp-1); font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 600; color: var(--c-muted); }
.mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-2); list-style: none; }
.mega__list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--touch);
  margin-inline: -0.5rem;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-weight: 500;
  text-decoration: none;
}
.mega__list a:hover { background: var(--c-primary-50); color: var(--c-primary); }
.mega__list .icon { color: var(--c-primary); }
.mega__count { margin-left: auto; font-size: var(--fs-xs); color: var(--c-muted); }
.mega__all { display: inline-flex; align-items: center; min-height: var(--touch); margin-top: var(--sp-1); font-weight: 600; }
.mega__popular { list-style: none; }
.mega__popular a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-1);
  min-height: var(--touch);
  border-bottom: 1px solid var(--c-border);
  font-size: var(--fs-sm);
  color: var(--c-text);
  text-decoration: none;
}
.mega__popular a:hover { color: var(--c-primary); }
.mega__popular span { font-weight: 700; }

/* Banner filling the space under the category grid. */
.mega__ad {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: auto;
  padding: var(--sp-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-offwhite);
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.mega__ad:hover,
.mega__ad:focus-visible { border-color: var(--c-primary-700); background: var(--c-white); }
.mega__ad-img {
  flex: 0 0 7.5rem;
  width: 7.5rem;
  height: 5rem;
  border-radius: calc(var(--radius) - 2px);
  object-fit: cover;
}
.mega__ad-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.mega__ad-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; line-height: 1.2; }
.mega__ad-text { font-size: var(--fs-sm); line-height: 1.45; color: var(--c-muted, inherit); }
.mega__ad-cta {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-top: .25rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-primary-700);
}
.mega__ad-cta .icon { width: 1em; height: 1em; }
.mega__ad:hover .mega__ad-cta .icon { transform: translateX(2px); }

/* Agency credit in the footer bar. */
.footer__credit a { text-decoration: underline; text-underline-offset: 2px; }
.footer__credit a:hover,
.footer__credit a:focus-visible { text-decoration: none; }

/* --------------------------------------------------------------------------
   8. Mobile drawer (native <dialog>)
   -------------------------------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(22rem, 88vw);
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--c-white);
  color: var(--c-text);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer::backdrop { background: rgba(20, 27, 45, 0.5); }
.drawer[open] { animation: drawer-in 0.28s var(--ease); }
@keyframes drawer-in {
  from { transform: translateX(-100%); }
  to { transform: none; }
}
.drawer__panel { display: flex; flex-direction: column; min-height: 100%; }
.drawer__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.5rem 0.625rem 1.25rem;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-white);
}
.drawer__head img { height: 3.5rem; width: auto; }
.drawer__nav { padding-block: var(--sp-1); }
.drawer__list { list-style: none; }
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.25rem;
  padding: 0 1.25rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.drawer__link::-webkit-details-marker { display: none; }
.drawer__link:hover { background: var(--c-offwhite); color: var(--c-primary); }
.drawer__link[aria-current="page"] { color: var(--c-primary); box-shadow: inset 4px 0 0 var(--c-primary); }
.drawer__chev { transition: transform var(--dur) var(--ease); }
.drawer__group[open] .drawer__chev { transform: rotate(180deg); }
.drawer__sub { list-style: none; padding-bottom: var(--sp-1); background: var(--c-offwhite); }
.drawer__sub a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--touch);
  padding: 0 1.25rem 0 2rem;
  font-size: 0.9375rem;
  color: var(--c-text);
  text-decoration: none;
}
.drawer__sub a:hover { color: var(--c-primary); }
.drawer__sub a span { font-size: var(--fs-xs); color: var(--c-muted); }
.drawer__foot {
  display: grid;
  gap: 0.125rem;
  margin-top: auto;
  padding: var(--sp-2) 1.25rem var(--sp-3);
  border-top: 1px solid var(--c-border);
}
.drawer__foot a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--touch);
  color: var(--c-text);
  font-weight: 500;
  text-decoration: none;
}
.drawer__foot a:hover { color: var(--c-primary); }
.drawer__foot .icon { color: var(--c-primary); }

/* --------------------------------------------------------------------------
   9. Sections (shared)
   -------------------------------------------------------------------------- */
.section { padding-top: var(--section-py); }
.section--tight { padding-top: calc(var(--section-py) * 0.75); }
main > .section:last-child { padding-bottom: var(--section-py); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-1) var(--sp-3);
  margin-bottom: var(--sp-2);
}
.sec-head__text { min-width: 0; }
.sec-head h2 { margin-bottom: 0.25rem; }
.sec-head p { margin: 0; max-width: 44rem; font-size: var(--fs-sm); color: var(--c-muted); }
.sec-head__end { display: flex; align-items: center; gap: var(--sp-1); flex-shrink: 0; }
.sec-head--center { justify-content: center; text-align: center; }
.sec-head--center p { margin-inline: auto; }

.panel {
  padding: clamp(1.25rem, 0.75rem + 2vw, 2.5rem);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-white);
}

/* --------------------------------------------------------------------------
   10. Hero banner carousel
   -------------------------------------------------------------------------- */
.hero { padding-top: var(--sp-2); }
.carousel { position: relative; }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  list-style: none;
  border-radius: var(--radius-lg);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  box-shadow: var(--shadow-sm);
}
.carousel__track::-webkit-scrollbar { display: none; }

.slide {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: var(--sp-3);
  padding: clamp(1.25rem, 0.75rem + 2.5vw, 3rem);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.slide--main {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(235, 176, 16, 0.18), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(7, 122, 11, 0.08), transparent 70%),
    var(--c-white);
}
.slide--navy {
  background-color: var(--c-primary-700);
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  color: var(--c-on-dark);
}
.slide--gold { background: var(--c-accent-50); }

.slide__content { position: relative; z-index: 1; max-width: 40rem; }
.hero__sub { max-width: 34rem; margin-bottom: var(--sp-3); font-size: var(--fs-lg); color: var(--c-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-1) 0.75rem; margin-bottom: var(--sp-2); }
.hero__ctas .btn { flex: 1 1 100%; }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-1); list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.75rem 0.3125rem 0.5rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  background: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.chip .icon { width: 0.9375rem; height: 0.9375rem; color: var(--c-leaf); stroke-width: 2.75; }

.slide__media { position: relative; }
.slide__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero__deal {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.5rem 0.875rem 0.5rem 0.625rem;
  border-radius: var(--radius-sm);
  background: var(--c-white);
  color: var(--c-text);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}
.hero__deal:hover { color: var(--c-text); }
.hero__deal-text { display: flex; flex-direction: column; line-height: 1.3; font-size: var(--fs-xs); }
.hero__deal-text span { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--c-primary); }

.slide__tag {
  display: inline-block;
  margin-bottom: var(--sp-1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-primary);
}
.slide--gold .slide__tag { color: var(--c-accent-ink); }
.slide__title {
  margin-bottom: var(--sp-1);
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.slide--navy .slide__title { color: var(--c-white); }
.slide__text { max-width: 32rem; margin-bottom: var(--sp-3); }
.slide--gold .slide__text { color: var(--c-muted); }
.slide__art {
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(12rem, 60%);
  aspect-ratio: 1;
  border-radius: 50%;
}
.slide--navy .slide__art { background: rgba(255, 255, 255, 0.12); color: var(--c-accent); }
.slide--gold .slide__art { background: var(--c-accent); color: var(--c-primary-700); }
.slide__art .icon { width: 55%; height: 55%; stroke-width: 1.4; }

.carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  place-items: center;
  width: var(--touch);
  height: var(--touch);
  margin-top: -1.875rem;
  padding: 0;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-text);
  box-shadow: var(--shadow-md);
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
}
.carousel__arrow:hover { color: var(--c-primary); }
.carousel__arrow[aria-disabled="true"] { opacity: 0; pointer-events: none; }
.carousel__arrow--prev { left: -1.25rem; }
.carousel__arrow--next { right: -1.25rem; }

.carousel__dots { display: flex; justify-content: center; gap: 0.125rem; margin-top: 0.25rem; }
.carousel__dots button {
  position: relative;
  width: var(--touch);
  height: var(--touch);
  padding: 0;
  border: 0;
  background: transparent;
}
.carousel__dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin: -0.25rem 0 0 -0.25rem;
  border-radius: var(--radius-pill);
  background: var(--c-input-border);
  transition: width var(--dur) var(--ease), margin var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.carousel__dots button[aria-current="true"]::before { width: 1.5rem; margin-left: -0.75rem; background: var(--c-primary); }

@media (min-width: 480px) {
  .hero__ctas .btn { flex: 0 0 auto; }
}
@media (min-width: 768px) {
  .slide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: var(--sp-4); min-height: 26rem; }
  .slide__media img { aspect-ratio: 6 / 5; }
  .carousel__arrow { display: grid; }
}
@media (min-width: 1024px) {
  .slide { gap: var(--sp-6); }
}

/* --------------------------------------------------------------------------
   11. USP strip
   -------------------------------------------------------------------------- */
.usp {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  padding: 0.5rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
  list-style: none;
}
.usp > li { display: flex; }
.usp__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: inherit;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease);
}
.usp__item:hover { background: var(--c-offwhite); color: inherit; }
.usp__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--c-primary-50);
  color: var(--c-primary);
}
.usp__title { display: block; font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; }
.usp__text { display: block; font-size: 0.75rem; line-height: 1.35; color: var(--c-muted); }

@media (max-width: 479.98px) {
  .usp__text { display: none; }
}
@media (min-width: 1024px) {
  .usp { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .usp > li + li { border-left: 1px solid var(--c-border); }
  .usp__item { justify-content: center; }
}

/* --------------------------------------------------------------------------
   12. Category tiles
   Mobile: 2-row horizontal scroll. Tablet: 4 columns. Desktop: 6 columns.
   -------------------------------------------------------------------------- */
.cat-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: 29%;
  gap: var(--sp-2) 0.75rem;
  padding-bottom: 0.25rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.cat-grid::-webkit-scrollbar { display: none; }
.cat-grid > li { display: flex; scroll-snap-align: start; }
.cat-tile {
  --tint: var(--c-primary-50);
  --ink: var(--c-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: var(--c-text);
  text-align: center;
  text-decoration: none;
}
.cat-grid > li:nth-child(3n + 2) .cat-tile { --tint: var(--c-accent-50); --ink: var(--c-accent-ink); }
.cat-grid > li:nth-child(3n) .cat-tile { --tint: var(--c-blue-50); --ink: var(--c-blue); }
.cat-tile__img {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--ink);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cat-tile__img .icon { width: 44%; height: 44%; stroke-width: 1.5; }
.cat-tile__name { margin: 0; font-size: 0.8125rem; font-weight: 600; line-height: 1.3; }
.cat-tile__sub { display: none; font-size: 0.75rem; line-height: 1.35; color: var(--c-muted); }
.cat-tile__count { font-size: 0.75rem; color: var(--c-muted); }
.cat-tile:hover { color: var(--c-primary); }
.cat-tile:hover .cat-tile__img { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-white); }

@media (min-width: 600px) {
  .cat-grid { grid-auto-columns: 21%; }
}
@media (min-width: 768px) {
  .cat-grid {
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-3) var(--sp-2);
    overflow: visible;
  }
  .cat-tile__name { font-size: 0.9375rem; }
  .cat-tile__sub { display: block; }
}
@media (min-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   13. Product row (slider at every width) and BigBasket-style product card
   -------------------------------------------------------------------------- */
.product-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max(9.75rem, 46%);
  gap: 0.75rem;
  margin: -0.5rem;
  padding: 0.5rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.5rem;
  scrollbar-width: none;
}
.product-row::-webkit-scrollbar { display: none; }
.product-row > li { display: flex; scroll-snap-align: start; }

@media (min-width: 600px) {
  .product-row { grid-auto-columns: calc((100% - 2 * 0.75rem) / 3.15); }
}
@media (min-width: 768px) {
  .product-row { grid-auto-columns: calc((100% - 2 * var(--sp-2)) / 3); gap: var(--sp-2); }
}
@media (min-width: 1024px) {
  .product-row { grid-auto-columns: calc((100% - 3 * var(--sp-2)) / 4); }
}

.pcard {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.pcard__media { position: relative; aspect-ratio: 1; background: var(--c-offwhite); }
.pcard__media > a { display: block; height: 100%; }
.pcard__media picture { height: 100%; }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s var(--ease); }
.pcard__media .badge { position: absolute; z-index: 1; top: 0.625rem; left: 0.625rem; }
.pcard__icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--c-primary-50);
  color: var(--c-primary);
}
.pcard__icon--accent { background: var(--c-accent-50); color: var(--c-accent-ink); }
.pcard__icon--leaf { background: var(--c-blue-50); color: var(--c-blue); }
.pcard__icon .icon { width: 42%; height: 42%; stroke-width: 1.4; transition: transform 0.4s var(--ease); }
.pcard:hover .pcard__icon .icon { transform: scale(1.06); }

.wish-btn {
  position: absolute;
  z-index: 1;
  top: 0.25rem;
  right: 0.25rem;
  display: grid;
  place-items: center;
  width: var(--touch);
  height: var(--touch);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-text);
}
.wish-btn::before {
  content: "";
  position: absolute;
  inset: 0.25rem;
  border-radius: 50%;
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.wish-btn .icon { position: relative; width: 1.25rem; height: 1.25rem; transition: transform var(--dur) var(--ease); }
.wish-btn:hover,
.wish-btn[aria-pressed="true"] { color: var(--c-red); }
.wish-btn[aria-pressed="true"] .icon { fill: currentColor; transform: scale(1.1); }

.pcard__body { display: flex; flex: 1; flex-direction: column; padding: 0.75rem; }
.pcard__brand { margin-bottom: 0.125rem; font-size: 0.75rem; font-weight: 500; color: var(--c-muted); }
.pcard__title { margin: 0 0 0.5rem; font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
.pcard__title a {
  display: inline-block;
  padding-block: 0.75rem;
  margin-block: -0.75rem;
  color: var(--c-text);
  text-decoration: none;
}
.pcard__title a:hover { color: var(--c-primary); text-decoration: underline; }
.pcard__pack { margin-bottom: 0.625rem; }
.pcard__pack span {
  display: inline-block;
  padding: 0.1875rem 0.625rem;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-text);
}
.pcard__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.5rem; margin-bottom: 0.25rem; }
.price { font-family: var(--font-head); font-size: 1.1875rem; font-weight: 700; color: var(--c-text); }
.unit { font-size: 0.75rem; color: var(--c-muted); }
.pcard__delivery {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--c-muted);
}
.pcard__delivery .icon { width: 1rem; height: 1rem; color: var(--c-leaf); }

.pcard__cart { margin-top: auto; }
.btn--add {
  width: 100%;
  min-height: var(--touch);
  padding-inline: 0.5rem;
  border-color: var(--c-leaf);
  background: var(--c-white);
  color: var(--c-leaf-700);
  white-space: nowrap;
}
.btn--add:hover { background: var(--c-leaf); color: var(--c-white); }
.stepper {
  display: flex;
  align-items: center;
  height: var(--touch);
  border-radius: var(--radius-sm);
  background: var(--c-leaf);
  color: var(--c-white);
}
.stepper__btn {
  display: grid;
  place-items: center;
  flex: 0 0 var(--touch);
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--c-white);
}
.stepper__btn:hover { background: var(--c-leaf-900); }
.stepper__btn .icon { width: 1rem; height: 1rem; stroke-width: 2.5; }
.stepper__btn:focus-visible { outline-color: var(--c-text); outline-offset: 1px; }
.stepper__value { flex: 1; text-align: center; font-family: var(--font-head); font-weight: 700; }

@media (hover: hover) {
  .pcard:hover { border-color: transparent; box-shadow: var(--shadow-md); }
  .pcard:hover .pcard__media img { transform: scale(1.04); }
}

/* Slider controls (shared) */
.slider-nav { display: none; gap: var(--sp-1); }
.slider-nav.is-inactive { visibility: hidden; }
.slider-btn {
  display: grid;
  place-items: center;
  width: var(--touch);
  height: var(--touch);
  padding: 0;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-text);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.slider-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.slider-btn[aria-disabled="true"] { opacity: 0.4; cursor: default; }
.slider-btn[aria-disabled="true"]:hover { border-color: var(--c-border); color: var(--c-text); }

@media (min-width: 600px) {
  .slider-nav { display: flex; }
}

/* --------------------------------------------------------------------------
   14. Wholesale
   -------------------------------------------------------------------------- */
.wholesale {
  position: relative;
  margin-top: var(--section-py);
  padding-block: clamp(2.5rem, 1.75rem + 3vw, 4.5rem);
  background-color: var(--c-primary-700);
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  color: var(--c-on-dark);
}
.wholesale__inner { display: grid; gap: var(--sp-5); }
.wholesale h2 { color: var(--c-white); font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); }
.wholesale__label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: var(--sp-1);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-white);
}
.wholesale__label::before { content: ""; width: 1.75rem; height: 4px; border-radius: 2px; background: var(--c-accent); }
.wholesale__content > p { max-width: 38rem; }

.ticks { display: grid; gap: 0.75rem; margin: var(--sp-3) 0 var(--sp-4); list-style: none; }
.ticks li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--c-white); font-weight: 500; }
.ticks__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.05em;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-text);
}
.ticks__icon .icon { width: 0.875rem; height: 0.875rem; stroke-width: 3; }

.form-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-text);
  box-shadow: var(--shadow-lg);
}
.form-card :focus-visible { outline-color: var(--c-primary); }
.form-card__title { margin-bottom: var(--sp-1); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 700; }
.form-card__intro { margin-bottom: var(--sp-3); color: var(--c-muted); }

.form { display: grid; gap: var(--sp-2); }
.form__row { display: grid; gap: var(--sp-2); }
.field label { display: block; margin-bottom: 0.375rem; font-size: var(--fs-sm); font-weight: 600; }
.req { color: var(--c-red-700); }
.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--c-input-border);
  border-radius: var(--radius-sm);
  background: var(--c-white);
  font-size: 1rem;
  transition: border-color var(--dur) var(--ease);
}
.field textarea { min-height: 6rem; resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--c-primary); }
.field input:focus-visible,
.field textarea:focus-visible { outline-offset: 1px; }
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--c-red); }
.form__note { margin: 0; font-size: var(--fs-xs); color: var(--c-muted); }

@media (min-width: 480px) {
  .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .wholesale__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: var(--sp-8); }
}

/* --------------------------------------------------------------------------
   15. Brand tiles
   -------------------------------------------------------------------------- */
.brand-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: 42%;
  gap: 0.75rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.brand-grid::-webkit-scrollbar { display: none; }
.brand-grid > li { display: flex; scroll-snap-align: start; }
.brand-tile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 4rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-text);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.brand-tile:hover { border-color: var(--c-primary); color: var(--c-primary); box-shadow: var(--shadow-sm); }
.brand-tile__mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--c-primary-50);
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-primary);
}
.brand-grid > li:nth-child(3n + 2) .brand-tile__mark { background: var(--c-accent-50); color: var(--c-accent-ink); }
.brand-grid > li:nth-child(3n) .brand-tile__mark { background: var(--c-blue-50); color: var(--c-blue); }
.brand-tile__name { font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 600; line-height: 1.25; }

@media (min-width: 600px) {
  .brand-grid { grid-auto-columns: 30%; }
}
@media (min-width: 768px) {
  .brand-grid {
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-2);
    overflow: visible;
  }
}
@media (min-width: 1024px) {
  .brand-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   16. Top offers
   -------------------------------------------------------------------------- */
.offers { display: grid; gap: var(--sp-2); }

/* Lead offer: gold text panel with the product on a white panel */
.offer-banner {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-accent);
  color: var(--c-text);
}
.offer-banner__media {
  order: -1;
  display: grid;
  place-items: center;
  padding: var(--sp-2);
  background: #FEFEFE; /* matches the product photo background */
}
.offer-banner__media img { width: min(13rem, 62%); height: auto; }
.offer-banner__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
}
.offer-banner__tag {
  margin-bottom: var(--sp-1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-primary-700);
}
.offer-banner__title {
  max-width: 30rem;
  margin-bottom: var(--sp-1);
  font-size: clamp(1.375rem, 1.05rem + 1.5vw, 2.125rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-primary-700);
}
.offer-banner__price {
  margin-bottom: var(--sp-1);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--c-primary-700);
}
.offer-banner__price strong { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 700; }
.offer-banner__text { max-width: 32rem; margin-bottom: var(--sp-3); }

@media (min-width: 768px) {
  .offer-banner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .offer-banner__media { order: 0; padding: var(--sp-3); }
  .offer-banner__media img { width: min(17rem, 85%); }
}

/* Supporting offers: equal photo cards (horizontal scroll on mobile) */
.offer-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 0.75rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.offer-cards::-webkit-scrollbar { display: none; }
.offer-cards > li { display: flex; scroll-snap-align: start; }
.offer-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-text);
  text-decoration: none;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.offer-card:hover { border-color: transparent; color: var(--c-text); box-shadow: var(--shadow-md); }
.offer-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-offwhite); }
.offer-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.offer-card:hover .offer-card__img img { transform: scale(1.04); }
.offer-card__body { display: flex; flex: 1; flex-direction: column; gap: 0.25rem; padding: var(--sp-2); }
.offer-card__title { margin: 0; font-size: 1.0625rem; }
.offer-card__text { font-size: var(--fs-sm); color: var(--c-muted); }
.offer-card__cta {
  margin-top: auto;
  padding-top: var(--sp-1);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: underline;
  text-decoration-color: rgba(7, 122, 11, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.offer-card:hover .offer-card__cta { text-decoration-color: currentColor; }

@media (min-width: 600px) {
  .offer-cards { grid-auto-columns: 46%; }
}
@media (min-width: 768px) {
  .offer-cards {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-2);
    overflow: visible;
  }
}

/* --------------------------------------------------------------------------
   17. Why choose us
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  gap: var(--sp-1) var(--sp-3);
  margin-bottom: var(--sp-3);
  list-style: none;
}
.why-item { display: flex; align-items: flex-start; gap: var(--sp-2); padding: 0.75rem 0; }
.why-item + .why-item { border-top: 1px solid var(--c-border); }
.why-item__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--c-primary-50);
  color: var(--c-primary);
}
.why-item h3 { margin: 0 0 0.125rem; }
.why-item p { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }

@media (min-width: 600px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-item + .why-item { border-top: 0; }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--sp-3); }
}

/* --------------------------------------------------------------------------
   18. How it works
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 0.75rem; list-style: none; }
.step {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
}
.step__icon {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
}
.step__icon .icon { width: 1.5rem; height: 1.5rem; }
.step__num {
  position: absolute;
  top: -0.375rem;
  right: -0.375rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--c-white);
  border-radius: 50%;
  background: var(--c-accent);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-text);
}
.step h3 { margin-bottom: 0.125rem; }
.step p { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); }
  .step { flex-direction: column; align-items: flex-start; padding: var(--sp-3); }
}

/* --------------------------------------------------------------------------
   19. About (SEO text block)
   -------------------------------------------------------------------------- */
.about { display: grid; gap: var(--sp-4); align-items: center; }
.about__content p { max-width: 44rem; color: #2E3646; }
.about__media img { width: 100%; border-radius: var(--radius); }

@media (min-width: 1024px) {
  .about { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--sp-6); }
}

/* --------------------------------------------------------------------------
   20. Reviews (placeholder)
   -------------------------------------------------------------------------- */
.g-badge {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-text);
  text-decoration: none;
}
.g-badge:hover { color: var(--c-text); box-shadow: var(--shadow-sm); }
.g-badge__logo {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid var(--c-border);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-primary);
}
.g-badge__text { display: flex; flex-direction: column; line-height: 1.35; font-size: var(--fs-xs); }
.g-badge__rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; color: var(--c-muted); }

.stars { display: inline-flex; gap: 2px; }
.stars .icon { width: 1.125rem; height: 1.125rem; fill: var(--c-accent); stroke: var(--c-accent-ink); stroke-width: 1; }
.stars--sm .icon { width: 0.875rem; height: 0.875rem; }

.reviews-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-4);
  padding: clamp(1.25rem, 0.75rem + 2vw, 2rem);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-white);
}
.reviews-cta__text { flex: 1 1 18rem; }
.reviews-cta__text h2 { margin-bottom: 0.25rem; }
.reviews-cta__text p { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.reviews-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.reviews-cta__actions .g-badge { flex-shrink: 1; min-width: 0; max-width: 100%; }

/* --------------------------------------------------------------------------
   21. FAQ
   -------------------------------------------------------------------------- */
.faq-layout { display: grid; gap: var(--sp-2) var(--sp-6); }
.faq-layout__intro h2 { margin-bottom: 0.25rem; }
.faq-layout__intro p { margin-bottom: var(--sp-1); font-size: var(--fs-sm); color: var(--c-muted); }
.faq { display: grid; gap: 0.625rem; }
.faq__item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.faq__item[open] { border-color: transparent; box-shadow: var(--shadow-md); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  min-height: 3.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover .faq__q { color: var(--c-primary); }
.faq__q { margin: 0; font-size: 0.9375rem; font-weight: 600; line-height: 1.4; transition: color var(--dur) var(--ease); }
.faq__icon { position: relative; flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--c-primary-50); }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--c-primary);
  transition: transform var(--dur) var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 1.25rem 1.25rem; font-size: var(--fs-sm); color: var(--c-muted); }
.faq__a p { margin: 0; }

@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); align-items: start; }
  .faq-layout__intro { position: sticky; top: 10rem; }
}

/* --------------------------------------------------------------------------
   22. Newsletter
   -------------------------------------------------------------------------- */
.newsletter {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: center;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(235, 176, 16, 0.2), transparent 70%),
    var(--c-leaf-900);
  color: var(--c-on-dark);
}
.newsletter h2 { margin-bottom: var(--sp-1); color: var(--c-white); }
.newsletter__text p { max-width: 34rem; margin-bottom: var(--sp-2); }
.newsletter a { color: var(--c-white); }
.newsletter a:hover { color: var(--c-accent-50); }
.newsletter__perks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; }
.newsletter__perks li { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--c-white); }

.newsletter__action { display: grid; gap: 0.75rem; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.newsletter__form input {
  flex: 1 1 14rem;
  min-width: 0;
  min-height: 3.125rem;
  padding: 0 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--c-white);
  color: var(--c-text);
  font-size: 1rem;
}
.newsletter__form input::placeholder { color: #5D6677; opacity: 1; }
.newsletter__form input:focus { border-color: var(--c-accent); }
.newsletter__form .btn { flex: 1 1 auto; }
.newsletter__note { margin: 0; font-size: var(--fs-xs); }
.newsletter__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  min-height: var(--touch);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 0.2em;
}
.newsletter__wa .icon { width: 1.25rem; height: 1.25rem; }

@media (min-width: 480px) {
  .newsletter__form .btn { flex: 0 0 auto; }
}
@media (min-width: 1024px) {
  .newsletter { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--sp-6); }
}

/* --------------------------------------------------------------------------
   23. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding-top: var(--section-py);
  border-top: 1px solid var(--c-border);
  background: var(--c-white);
  color: var(--c-muted);
  font-size: var(--fs-sm);
}
.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-4); }
.footer__brand,
.footer__col--contact { grid-column: 1 / -1; }
.footer__logo { display: inline-flex; margin-bottom: var(--sp-2); }
.footer__logo img { width: 8.75rem; max-width: 100%; height: auto; }
.footer__brand p { max-width: 22rem; }
.footer__title { margin-bottom: var(--sp-1); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--c-primary-700); }
.footer__links { list-style: none; }
.footer__links a,
.footer__contact a {
  display: inline-flex;
  align-items: center;
  min-width: var(--touch);
  min-height: var(--touch);
  color: var(--c-text);
  text-decoration: none;
}
.footer__links a:hover,
.footer__contact a:hover,
.footer__cloud a:hover { color: var(--c-primary); text-decoration: underline; }
.footer__contact { display: grid; gap: var(--sp-1); font-style: normal; }
.footer__contact p { display: flex; align-items: flex-start; gap: 0.75rem; margin: 0; }
.footer__contact p > :not(.icon) { min-width: 0; overflow-wrap: anywhere; }
.footer__contact p:has(a) { align-items: center; }
.footer__contact .icon { margin-top: 0.15em; color: var(--c-leaf); }
.footer__contact p:has(a) .icon { margin-top: 0; }

.social { display: flex; flex-wrap: wrap; gap: var(--sp-1); margin-top: var(--sp-2); list-style: none; }
.social a {
  display: grid;
  place-items: center;
  width: var(--touch);
  height: var(--touch);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  color: var(--c-primary);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.social a:hover { border-color: var(--c-primary); background: var(--c-primary); color: var(--c-white); }

/* Popular categories and brands link clouds (SEO internal links) */
.footer__seo {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
}
.footer__cloud ul { display: flex; flex-wrap: wrap; column-gap: 1.5rem; list-style: none; }
.footer__cloud li { display: flex; align-items: center; }
.footer__cloud a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: var(--touch);
  min-height: var(--touch);
  color: var(--c-text);
  text-decoration: none;
}

.footer__pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-1) var(--sp-2);
  padding-block: var(--sp-4) var(--sp-3);
}
.footer__pay-label { margin: 0; font-weight: 600; color: var(--c-text); }
.pay { display: flex; flex-wrap: wrap; gap: var(--sp-1); list-style: none; }
.pay img {
  display: block;
  width: 3rem;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--c-border);
}

.footer__bottom { background: var(--c-primary-700); color: var(--c-on-dark); }
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-1) var(--sp-3);
  padding-block: var(--sp-2);
}
.footer__bottom p { margin: 0; }

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col--contact { grid-column: auto; }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1.1fr 1.4fr; }
  .footer__brand { grid-column: auto; }
  .footer__seo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); }
}

/* --------------------------------------------------------------------------
   24. Mobile bottom bar
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--c-border);
  background: var(--c-white);
  box-shadow: 0 -4px 16px rgba(20, 27, 45, 0.06);
}
.mobile-bar ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; }
.mobile-bar a,
.mobile-bar button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  width: 100%;
  min-height: var(--mobile-bar-h);
  padding: 0.25rem 0;
  border: 0;
  background: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-muted);
  text-decoration: none;
}
.mobile-bar a:hover,
.mobile-bar button:hover,
.mobile-bar [aria-current="page"] { color: var(--c-primary); }
.mobile-bar .icon { width: 1.375rem; height: 1.375rem; }
.mobile-bar__icon { position: relative; }

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
}

/* --------------------------------------------------------------------------
   25. Floating buttons and toast
   -------------------------------------------------------------------------- */
.fab {
  position: fixed;
  z-index: 45;
  right: 1rem;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.fab--whatsapp {
  bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom) + 1rem);
  width: 3.5rem;
  height: 3.5rem;
  border: 0;
  background: var(--c-whatsapp);
  color: var(--c-white);
}
.fab--whatsapp .icon { width: 1.875rem; height: 1.875rem; }
.fab--whatsapp:hover { color: var(--c-white); transform: scale(1.06); }
.fab--top {
  right: 1.375rem;
  bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom) + 5.25rem);
  width: var(--touch);
  height: var(--touch);
  border: 1px solid var(--c-border);
  background: var(--c-white);
  color: var(--c-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
}
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab--top:hover { border-color: var(--c-primary); }

.toast {
  position: fixed;
  z-index: 70;
  left: 1rem;
  right: 1rem;
  bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom) + 1rem);
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin-inline: auto;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  background: var(--c-text);
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: 500;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.toast:empty { padding: 0; }
.toast.is-visible { opacity: 1; transform: none; }

@media (min-width: 768px) {
  .fab { right: 1.5rem; }
  .fab--whatsapp { bottom: 1.5rem; }
  .fab--top { right: 1.875rem; bottom: 5.75rem; }
  .toast { bottom: 1.5rem; }
}

/* --------------------------------------------------------------------------
   26. Scroll reveal (applied by JS only to content below the fold)
   -------------------------------------------------------------------------- */
.reveal-ready {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-ready.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   27. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-ready { opacity: 1; transform: none; }
}

/* Sourced photography and original brand logos */
.cat-tile__img {overflow:hidden;background:#fff;}
.cat-tile__img img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease;}
.cat-tile:hover .cat-tile__img img {transform:scale(1.055);}
.brand-tile {flex-direction:column;justify-content:center;text-align:center;padding:1rem .625rem;gap:.5rem;}
.brand-tile__logo {display:flex;align-items:center;justify-content:center;width:100%;height:76px;}
.brand-tile__logo img {display:block;width:100%;height:100%;object-fit:contain;max-width:160px;}
.slide__art.slide__art--photo {width:100%;aspect-ratio:auto;border-radius:var(--radius);overflow:hidden;background:#fff;}
.slide__art--photo img {display:block;width:100%;height:auto;object-fit:contain;}
.about__media img {aspect-ratio:4/3;object-fit:cover;}
@media (max-width:767px) {.slide__media img {aspect-ratio:6/5;object-fit:contain;}.brand-tile__logo {height:64px;}.slide__art.slide__art--photo {max-width:560px;}}
@media (prefers-reduced-motion:reduce) {.cat-tile__img img {transition:none;}.cat-tile:hover .cat-tile__img img {transform:none;}}

/* Product photography replaces the placeholder icons. */
.pcard__media picture {display:block;width:100%;height:100%;}
.pcard__media picture img {display:block;width:100%;height:100%;object-fit:contain;}

/* Logo colour mix: blue, green and gold icon tints */
.usp > li:nth-child(4n + 2) .usp__icon,
.why-item:nth-child(3n + 2) .why-item__icon { background: var(--c-blue-50); color: var(--c-blue); }
.usp > li:nth-child(4n + 3) .usp__icon,
.why-item:nth-child(3n) .why-item__icon { background: var(--c-accent-50); color: var(--c-accent-ink); }

/* ==========================================================================
   Premium polish pass: richer hero, deeper colour, livelier cards
   ========================================================================== */

/* Hero: full-colour brand panel instead of a plain white slide */
.slide--main {
  background:
    radial-gradient(42% 60% at 97% 6%, rgba(235, 176, 16, 0.25), transparent 70%),
    radial-gradient(38% 55% at 0% 100%, rgba(7, 122, 11, 0.12), transparent 70%),
    linear-gradient(130deg, #FDFBF2 0%, #F4F8EC 55%, #E9F3E1 100%);
  color: var(--c-text);
}
.slide--main::before {
  content: "";
  position: absolute;
  top: -5rem;
  left: -5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(7, 122, 11, 0.2), transparent 70%);
}
.slide--main::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: 26%;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 150, 20, 0.26), transparent 70%);
}
.slide--main .slide__tag { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--c-leaf-50); color: var(--c-leaf-700); }
.slide--main .slide__tag .icon { width: 0.9375rem; height: 0.9375rem; }
.slide--main h1 { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: 0; color: #1E2A15; }
.slide--main .hl { color: var(--c-leaf-700); }
.slide--main .hero__sub { color: var(--c-muted); }
.slide--main .hero__ctas .btn--primary { background: linear-gradient(180deg, #0A8A10, #056C04); color: var(--c-white); }
.slide--main .hero__ctas .btn--primary:hover { background: #056C04; color: var(--c-white); }
.slide--main .btn--outline { border-color: transparent; background: linear-gradient(180deg, #F7C63E, var(--c-accent)); color: var(--c-text); }
.slide--main .btn--outline:hover { background: var(--c-accent-600); color: var(--c-text); }
.slide--main .slide__media img {
  aspect-ratio: auto;
  object-fit: contain;
  max-height: 23rem;
  margin-inline: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 22px 28px rgba(30, 42, 21, 0.3));
}
.slide--main .chip { background: var(--c-white); border-color: var(--c-border); color: var(--c-text); }
.slide--navy {
  background-color: var(--c-primary-900);
  background-image:
    radial-gradient(60% 70% at 0% 100%, rgba(235, 176, 16, 0.25), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: auto, 22px 22px;
}
.slide--gold {
  background:
    radial-gradient(60% 80% at 100% 100%, rgba(7, 122, 11, 0.12), transparent 70%),
    linear-gradient(130deg, #FEF5D9, #FBE7A8);
}

/* Section headings: short brand accent under each h2 */
.sec-head__text h2::after,
.sec-head--center h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 0.25rem;
  margin-top: 0.4375rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-leaf));
}
.sec-head--center h2::after { margin-inline: auto; }
.wholesale .sec-head__text h2::after, .newsletter h2::after { display: none; }

/* Tinted bands behind key sections for depth */
#bestsellers, #row-spices {
  padding-bottom: var(--section-py);
  background: linear-gradient(180deg, rgba(231, 245, 228, 0) 0%, #E9F4E4 24rem);
}
#bestsellers + .section, #row-spices + .section { padding-top: calc(var(--section-py) * 0.75); }

/* Product cards: lift, zoom and green prices */
.pcard { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.pcard:hover { transform: translateY(-4px); border-color: rgba(7, 122, 11, 0.35); box-shadow: var(--shadow-md); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.price { color: var(--c-text); }

/* Category tiles: gold ring on hover */
.cat-tile:hover .cat-tile__img { box-shadow: 0 0 0 3px var(--c-accent), var(--shadow-md); }

/* Brand tiles and offer cards: gentle lift */
.brand-tile, .offer-card { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.brand-tile:hover, .offer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* USP strip: four cards instead of one flat box */
.usp { padding: 0; gap: 0.75rem; border: 0; background: transparent; }
.usp__item { padding: 0.875rem; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-white); box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.usp__item:hover { background: var(--c-white); transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Buttons: gradient depth */
.btn--primary { background: linear-gradient(180deg, #F7C63E, var(--c-accent)); }
.btn--primary:hover { background: linear-gradient(180deg, #F2BA24, var(--c-accent-600)); }
.btn--navy { background: linear-gradient(180deg, #0A8A10, var(--c-primary-700)); }
.btn--navy:hover { background: var(--c-primary-700); }
.cat-menu__btn { background: linear-gradient(180deg, #0A8A10, var(--c-primary-700)); }

/* Top Offers banner: deeper gold */
.offer-banner {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(130deg, #F7C63E, var(--c-accent) 55%, #DF9F04);
}

/* Reviews band: warm tinted card */
.reviews-cta {
  border-color: #F1DFA6;
  background:
    radial-gradient(50% 100% at 100% 0%, rgba(235, 176, 16, 0.16), transparent 70%),
    var(--c-white);
}

/* Newsletter: fuller green gradient */
.newsletter {
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(235, 176, 16, 0.3), transparent 70%),
    linear-gradient(130deg, #05570A, var(--c-leaf-900));
}

@media (prefers-reduced-motion: reduce) {
  .pcard, .pcard:hover, .brand-tile:hover, .offer-card:hover, .usp__item:hover { transform: none; }
  .pcard:hover .pcard__media img { transform: none; }
}

/* Mega menu redesign: photo category tiles and product thumbnails */
.mega { width: min(64rem, calc(100vw - 2 * var(--gutter))); }
.mega__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.25rem 0.75rem; }
.mega__list a { gap: 0.625rem; min-height: 3.5rem; padding: 0.375rem 0.5rem; }
.mega__img {
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: var(--c-white);
  object-fit: cover;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.mega__list a:hover .mega__img { border-color: var(--c-accent); transform: scale(1.06); }
.mega__popular a { justify-content: flex-start; gap: 0.625rem; padding-block: 0.375rem; }
.mega__thumb {
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  background: var(--c-white);
  object-fit: contain;
}
.mega__pname { min-width: 0; }
.mega__price { margin-left: auto; font-weight: 700; color: var(--c-leaf-700); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .mega__list a:hover .mega__img { transform: none; } }

/* Pack-size dropdown on product cards */
.pcard__size-wrap { display: inline-flex; margin-bottom: 0.5rem; }
.pcard__size {
  appearance: none;
  -webkit-appearance: none;
  min-height: 2.75rem;
  padding: 0.25rem 2rem 0.25rem 0.75rem;
  border: 1px solid var(--c-input-border);
  border-radius: var(--radius-sm);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23056C04' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat right 0.625rem center var(--c-white);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
}
.pcard__size:hover { border-color: var(--c-leaf); }

/* Floating hero info cards */
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  max-width: 14rem;
  padding: 0.625rem 0.875rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-xs);
  line-height: 1.3;
}
.float-card p { display: flex; flex-direction: column; margin: 0; }
.float-card strong { font-family: var(--font-head); font-size: var(--fs-sm); color: var(--c-text); }
.float-card span { color: var(--c-muted); }
.float-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--c-leaf-50);
  color: var(--c-leaf);
}
.float-card--a { top: 0.25rem; left: -2rem; }
.float-card--b { top: 46%; right: -1rem; }
@media (max-width: 1023.98px) { .float-card { display: none; } }

/* Product cards: badge pills, plain pack text, inline stepper + green add */
.badge--green { background: var(--c-leaf); color: var(--c-white); }
.pcard__pack span { padding: 0; border: 0; background: transparent; color: var(--c-muted); font-weight: 500; }
.pcard__cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.5rem; }
.pcard__cart .stepper {
  flex: 0 0 auto;
  height: 3rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-pill);
  background: var(--c-white);
  color: var(--c-text);
}
.pcard__cart .stepper__btn { flex: 0 0 2.75rem; border-radius: var(--radius-pill); color: var(--c-leaf-700); }
.pcard__cart .stepper__btn:hover { background: var(--c-leaf-50); }
.pcard__cart .stepper__value { min-width: 1.5rem; font-size: var(--fs-sm); }
.btn--add {
  flex: 1 1 7rem;
  min-height: 3rem;
  width: auto;
  min-width: 0;
  padding-inline: 0.75rem;
  border-radius: var(--radius-pill);
  border-color: transparent;
  background: linear-gradient(180deg, #0A8A10, #056C04);
  color: var(--c-white);
  font-size: var(--fs-sm);
}
.btn--add:hover { background: #056C04; color: var(--c-white); }

.pcard__cart .stepper { order: -1; }

/* Full-width hero banner (single slide, no carousel controls) */
.hero > .carousel .carousel__track { border-radius: 0; box-shadow: none; }
.hero .slide {
  padding-inline: max(var(--gutter), calc(50vw - var(--container) / 2));
  padding-block: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
}
.hero .container { padding-top: var(--sp-3); }


/* ==========================================================================
   Inner pages: breadcrumbs, page hero, listings, product detail, cart,
   checkout, account, info pages
   ========================================================================== */

/* Breadcrumbs */
.crumbs { padding-block: 0.75rem; background: var(--c-white); border-bottom: 1px solid var(--c-border); font-size: var(--fs-xs); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--c-muted); }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-primary); text-decoration: underline; }
.crumbs [aria-current] { font-weight: 600; color: var(--c-text); }

/* Page hero */
.page-hero {
  padding-block: clamp(1.25rem, 0.9rem + 1.6vw, 2.25rem);
  background:
    radial-gradient(42% 70% at 97% 0%, rgba(235, 176, 16, 0.2), transparent 70%),
    linear-gradient(130deg, #FDFBF2, #EEF5E8);
  border-bottom: 1px solid var(--c-border);
}
.page-hero h1 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.5rem); color: #1E2A15; }
.page-hero__sub { max-width: 46rem; margin: 0.5rem 0 0; color: var(--c-muted); }
.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 0 0.5rem;
  padding: 0.25rem 0.75rem; border-radius: var(--radius-pill);
  background: var(--c-leaf-50); color: var(--c-leaf-700);
  font-size: var(--fs-xs); font-weight: 700;
}
.page-hero__eyebrow .icon { width: 0.9375rem; height: 0.9375rem; }

/* Listing layout */
.layout { display: grid; gap: var(--sp-3); align-items: start; }
.layout__main { min-width: 0; }
@media (min-width: 1024px) { .layout { grid-template-columns: 16.5rem minmax(0, 1fr); gap: var(--sp-4); } }

.filters { display: none; }
.filters.is-open { display: block; }
@media (min-width: 1024px) { .filters { display: block; position: sticky; top: 10rem; } }
.filters__group { padding: 0.75rem 0; border-bottom: 1px solid var(--c-border); }
.filters__group summary {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--touch); font-family: var(--font-head); font-weight: 600; cursor: pointer; list-style: none;
}
.filters__group summary::-webkit-details-marker { display: none; }
.filters__group[open] summary .icon { transform: rotate(180deg); }
.filters__group summary .icon { width: 1rem; height: 1rem; color: var(--c-muted); transition: transform var(--dur) var(--ease); }
.filters__list { list-style: none; margin: 0.25rem 0 0; padding: 0; }
.filters__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  min-height: 2.5rem; padding: 0 0.5rem; margin-inline: -0.5rem; border-radius: var(--radius-sm);
  color: var(--c-text); text-decoration: none; font-size: var(--fs-sm);
}
.filters__list a span { color: var(--c-muted); font-size: var(--fs-xs); }
.filters__list a:hover { background: var(--c-primary-50); color: var(--c-primary-700); }
.filters__list a.is-active { background: var(--c-primary-50); color: var(--c-primary-700); font-weight: 700; }
.check { display: flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; font-size: var(--fs-sm); cursor: pointer; }
.check input { width: 1.125rem; height: 1.125rem; accent-color: var(--c-primary); flex-shrink: 0; }
.filters__trade { margin-top: var(--sp-2); padding: var(--sp-2); border-radius: var(--radius); background: var(--c-leaf-50); font-size: var(--fs-sm); }
.filters__trade-title { margin: 0 0 0.25rem; font-family: var(--font-head); font-weight: 700; color: var(--c-leaf-700); }
.filters__trade p { margin: 0 0 0.75rem; color: var(--c-muted); }

/* Toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-1); margin-bottom: var(--sp-2); }
.toolbar__count { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.toolbar__end { display: flex; align-items: center; gap: 0.5rem; }
.toolbar__sort select, .pcard__size { font-family: inherit; }
.toolbar__sort select {
  min-height: var(--touch); padding: 0 2rem 0 0.75rem; border: 1px solid var(--c-input-border);
  border-radius: var(--radius-sm); background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23056C04' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat right 0.625rem center var(--c-white);
  appearance: none; -webkit-appearance: none; font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
}
@media (min-width: 1024px) { .toolbar__filter { display: none; } }

/* Product grid */
.grid-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
/* WooCommerce clearfixes ul.products with ::before and ::after set to
   display: table. On a grid container those become grid items and silently
   eat the first cell, which pushed every card along one and stranded the
   last one on a row of its own. */
.grid-products::before,
.grid-products::after,
.woocommerce ul.products.grid-products::before,
.woocommerce ul.products.grid-products::after,
.woocommerce .products ul.grid-products::before,
.woocommerce .products ul.grid-products::after { content: none; display: none; }
.grid-products > li { display: flex; }
@media (min-width: 600px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  /* Full-width grids (related products, wishlist, offers) show 4 */
  .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* Listing pages keep 3 beside the filter sidebar */
  .layout__main .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.25rem; margin-top: var(--sp-4); }
.pagination__num, .pagination__btn {
  display: grid; place-items: center; min-width: var(--touch); min-height: var(--touch); padding: 0 0.5rem;
  border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-white);
  color: var(--c-text); text-decoration: none; font-weight: 600;
}
.pagination__num:hover, .pagination__btn:hover { border-color: var(--c-primary); color: var(--c-primary-700); }
.pagination__num.is-current { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); }
.pagination__btn.is-disabled { opacity: 0.45; pointer-events: none; }
.pagination__gap { padding: 0 0.25rem; color: var(--c-muted); }

/* Category and brand pages */
.cat-grid--page, .brand-grid--page {
  display: grid; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2);
}
@media (min-width: 600px) { .cat-grid--page, .brand-grid--page { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cat-grid--page { grid-template-columns: repeat(4, minmax(0, 1fr)); } .brand-grid--page { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Trade CTA band */
.trade-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2);
  padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); border-radius: var(--radius-lg);
  background: radial-gradient(60% 90% at 100% 0%, rgba(235, 176, 16, 0.28), transparent 70%), linear-gradient(130deg, #05570A, var(--c-leaf-900));
  color: var(--c-on-dark);
}
.trade-cta h2 { margin: 0 0 0.25rem; color: var(--c-white); }
.trade-cta p { margin: 0; max-width: 42rem; }

/* Product detail */
.pdp { display: grid; gap: var(--sp-3); align-items: start; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-5); } }
@media (min-width: 1280px) { .pdp { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.pdp__gallery { position: relative; }
@media (min-width: 900px) { .pdp__gallery { position: sticky; top: 10rem; } }
.pdp__main {
  position: relative; display: grid; place-items: center; aspect-ratio: 1;
  padding: var(--sp-2); border: 1px solid var(--c-border); border-radius: var(--radius-lg); background: var(--c-white);
}
.pdp__main img { width: 100%; height: 100%; object-fit: contain; }
.pdp__badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1; }
.thumbs { display: flex; gap: 0.5rem; margin: 0.625rem 0 0; padding: 0; list-style: none; }
.thumb {
  display: grid; place-items: center; width: 4.5rem; height: 4.5rem; padding: 0.25rem;
  border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-white); cursor: pointer;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-current, .thumb:hover { border-color: var(--c-leaf); }

.pdp__brand { margin: 0 0 0.25rem; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.pdp__brand a { color: var(--c-muted); text-decoration: none; }
.pdp__brand a:hover { color: var(--c-primary-700); text-decoration: underline; }
.pdp__title { margin: 0 0 0.375rem; font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); }
.pdp__sku { margin: 0 0 var(--sp-2); font-size: var(--fs-xs); color: var(--c-muted); }
.pdp__sku a { color: var(--c-muted); }

.price-box { padding: var(--sp-2); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-white); margin-bottom: 0.75rem; }
.price-box__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.5rem; margin: 0; }
.price--lg { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.price--trade { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); color: var(--c-leaf-700); }
.price-box__vat { font-size: var(--fs-xs); color: var(--c-muted); }
.price-box__note { margin: 0.375rem 0 0; font-size: var(--fs-xs); color: var(--c-muted); }
.price-box--trade { border-color: #CBE5CF; background: var(--c-leaf-50); }
.price-box__label { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.25rem; font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 700; color: var(--c-leaf-700); }
.price-box__label .icon { width: 1rem; height: 1rem; }
.price-box__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }

.variants { margin: 0 0 var(--sp-2); padding: 0; border: 0; }
.variants__legend { padding: 0; margin-bottom: 0.375rem; font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 600; }
.variants__list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.variant {
  display: flex; flex-direction: column; gap: 0.1rem; min-width: 5rem; min-height: var(--touch);
  padding: 0.4rem 0.875rem; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm);
  background: var(--c-white); cursor: pointer; text-align: center;
}
.variant input { position: absolute; opacity: 0; width: 0; height: 0; }
.variant span { font-weight: 700; font-size: var(--fs-sm); }
.variant em { font-style: normal; font-size: var(--fs-xs); color: var(--c-muted); }
.variant:hover { border-color: var(--c-leaf); }
.variant:has(input:checked), .variant.is-current { border-color: var(--c-leaf); background: var(--c-leaf-50); }
.variant:has(input:focus-visible) { outline: 3px solid var(--c-primary); outline-offset: 2px; }

.pdp__cart { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--sp-2); }
.pdp__cart .stepper { order: -1; flex: 0 0 auto; height: 3.125rem; border: 1.5px solid var(--c-border); border-radius: var(--radius-pill); background: var(--c-white); color: var(--c-text); }
.pdp__cart .stepper__btn { flex: 0 0 2.75rem; border-radius: var(--radius-pill); color: var(--c-leaf-700); }
.pdp__cart .stepper__btn:hover { background: var(--c-leaf-50); }
.pdp__cart .btn--add { flex: 1 1 11rem; }
.wish-btn--inline {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem; width: auto; height: auto;
  min-height: 3.125rem; padding-inline: 1.125rem; border-radius: var(--radius-pill); box-shadow: none;
}
.wish-btn--inline::before { content: none; }
/* Save button: neutral by default, red when hovered or saved, never green */
.wish-btn--inline,
.wish-btn--inline:link,
.wish-btn--inline:visited {
  border-color: var(--c-border);
  background: var(--c-white);
  color: var(--c-text);
}
.wish-btn--inline:hover,
.wish-btn--inline[aria-pressed="true"],
.wish-btn--inline[aria-pressed="true"]:hover {
  border-color: var(--c-red-700);
  background: var(--c-red-50);
  color: var(--c-red-700);
}
.wish-btn--inline .icon { color: inherit; }
.wish-btn--inline[aria-pressed="true"] .icon { fill: currentColor; }

.pdp__assure { display: grid; gap: 0.625rem; margin: 0; padding: var(--sp-2); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-offwhite); list-style: none; }
.pdp__assure li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: var(--fs-sm); }
.pdp__assure .icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-top: 0.1em; color: var(--c-leaf); }
.pdp__assure span { display: flex; flex-direction: column; color: var(--c-muted); }
.pdp__assure strong { color: var(--c-text); }
.pdp__pack { margin: 0 0 var(--sp-2); font-size: var(--fs-sm); }

/* Tabs */
.tabs { border: 1px solid var(--c-border); border-radius: var(--radius-lg); background: var(--c-white); overflow: hidden; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.5rem 0.5rem 0; border-bottom: 1px solid var(--c-border); background: var(--c-offwhite); }
.tabs__tab {
  min-height: var(--touch); padding: 0.5rem 1rem; border: 0; border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: transparent; font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 600; color: var(--c-muted); cursor: pointer;
}
.tabs__tab[aria-selected="true"] { background: var(--c-white); color: var(--c-leaf-700); box-shadow: inset 0 -3px 0 var(--c-leaf); }
.tabs__panel { padding: clamp(1rem, 0.8rem + 1vw, 1.75rem); }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.spec-table th, .spec-table td { padding: 0.625rem 0.75rem; text-align: left; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.spec-table th { width: 40%; font-weight: 600; color: var(--c-muted); }

/* Prose */
.prose p, .prose ul, .prose ol { margin: 0 0 0.875rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.375rem; }
.prose h2 { margin-top: 0; }
.prose__block + .prose__block { margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--c-border); }
.prose__help { margin-top: var(--sp-3); padding: var(--sp-2); border-radius: var(--radius); background: var(--c-leaf-50); }
.prose__help p { margin: 0; }

/* Basket */
.cart-layout { display: grid; gap: var(--sp-3); align-items: start; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 21rem; gap: var(--sp-4); } }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table thead { display: none; }
.cart-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 0.75rem; padding: var(--sp-2) 0; border-bottom: 1px solid var(--c-border); }
.cart-table td { padding: 0; }
.cart-table td[data-label]::before { content: attr(data-label) ": "; font-size: var(--fs-xs); color: var(--c-muted); }
.cart__product { grid-column: 1 / -1; display: flex; gap: 0.875rem; }
.cart__thumb { flex: 0 0 4.5rem; display: block; width: 4.5rem; height: 4.5rem; padding: 0.25rem; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-white); }
.cart__thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart__brand { margin: 0; font-size: var(--fs-xs); color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.cart__name { margin: 0.1rem 0; font-size: var(--fs-h3); }
.cart__name a { color: var(--c-text); text-decoration: none; }
.cart__name a:hover { color: var(--c-primary-700); text-decoration: underline; }
.cart__meta { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.cart__remove { display: flex; justify-content: flex-end; }
.stepper--cart { height: 2.75rem; border: 1.5px solid var(--c-border); border-radius: var(--radius-pill); background: var(--c-white); color: var(--c-text); }
.stepper--cart .stepper__btn { flex: 0 0 2.5rem; border-radius: var(--radius-pill); color: var(--c-leaf-700); }
.stepper--cart .stepper__btn:hover { background: var(--c-leaf-50); }
@media (min-width: 768px) {
  .cart-table thead { display: table-header-group; }
  .cart-table thead th { padding: 0 0.75rem 0.5rem; text-align: left; font-size: var(--fs-xs); color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.05em; }
  .cart-table tr { display: table-row; }
  .cart-table td { display: table-cell; padding: var(--sp-2) 0.75rem; vertical-align: middle; border-bottom: 1px solid var(--c-border); }
  .cart-table td[data-label]::before { content: none; }
  .cart__product { grid-column: auto; }
}
.cart-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2); margin-top: var(--sp-3); }
.coupon { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.coupon label { font-size: var(--fs-sm); font-weight: 600; }
.coupon input { min-height: var(--touch); min-width: 0; width: 10rem; padding: 0 0.75rem; border: 1px solid var(--c-input-border); border-radius: var(--radius-sm); font: inherit; }

/* Totals panel */
.totals { padding: var(--sp-2); border: 1px solid var(--c-border); border-radius: var(--radius-lg); background: var(--c-white); box-shadow: var(--shadow-sm); }
@media (min-width: 1024px) { .totals { position: sticky; top: 10rem; } }
.totals h2 { font-size: var(--fs-lg); margin-bottom: var(--sp-1); }
.totals__list { margin: 0 0 var(--sp-2); }
.totals__list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; padding: 0.375rem 0; }
.totals__list dt { color: var(--c-muted); font-size: var(--fs-sm); }
.totals__list dd { margin: 0; font-weight: 600; }
.totals__grand { margin-top: 0.25rem; padding-top: 0.625rem !important; border-top: 1px solid var(--c-border); }
.totals__grand dt { font-family: var(--font-head); font-weight: 700; color: var(--c-text); font-size: 1rem; }
.totals__grand dd { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--c-leaf-700); }
.totals__note { margin: 0 0 var(--sp-2); font-size: var(--fs-xs); color: var(--c-muted); }
.totals__trade { margin-top: var(--sp-2); padding-top: var(--sp-2); border-top: 1px solid var(--c-border); font-size: var(--fs-sm); }
.totals__trade p { margin: 0 0 0.375rem; }
.pay--sm { justify-content: center; margin-top: var(--sp-2); }
.pay--sm img { width: 2.5rem; }
.mini-cart { margin: 0 0 var(--sp-2); padding: 0; list-style: none; font-size: var(--fs-sm); }
.mini-cart li { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0; border-bottom: 1px solid var(--c-border); }
.mini-cart li > span:nth-child(2) { flex: 1; min-width: 0; }
.mini-cart__qty { display: grid; place-items: center; flex: 0 0 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--c-leaf-50); color: var(--c-leaf-700); font-size: var(--fs-xs); font-weight: 700; }

/* Checkout */
.checkout { display: grid; gap: var(--sp-3); align-items: start; }
@media (min-width: 1024px) { .checkout { grid-template-columns: minmax(0, 1fr) 21rem; gap: var(--sp-4); } }
.checkout__main { display: grid; gap: var(--sp-2); }
.checkout__main .form-card h2 { font-size: var(--fs-lg); }
.field-row { display: grid; gap: 0 var(--sp-2); }
@media (min-width: 480px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field__help { display: block; margin-top: 0.25rem; font-size: var(--fs-xs); color: var(--c-muted); }
.req { color: var(--c-red); }
.field--check { margin-top: 0.25rem; }
.choice-list { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.choice {
  display: flex; align-items: center; gap: 0.75rem; min-height: 3.5rem; padding: 0.75rem 1rem;
  border: 1.5px solid var(--c-border); border-radius: var(--radius); background: var(--c-white); cursor: pointer;
}
.choice:hover { border-color: var(--c-leaf); }
.choice:has(input:checked) { border-color: var(--c-leaf); background: var(--c-leaf-50); }
.choice:has(input:focus-visible) { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.choice input { width: 1.125rem; height: 1.125rem; accent-color: var(--c-leaf); flex-shrink: 0; }
.choice__body { flex: 1; display: flex; flex-direction: column; font-size: var(--fs-sm); color: var(--c-muted); }
.choice__body strong { color: var(--c-text); font-family: var(--font-head); }
.choice__price { font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; }
.choice__logos { display: flex; gap: 0.25rem; flex-shrink: 0; }
.choice__logos img { width: 2.25rem; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px var(--c-border); }
.choice--trade { border-style: dashed; }
.checkout__secure { display: flex; align-items: center; gap: 0.5rem; margin: var(--sp-2) 0; font-size: var(--fs-sm); color: var(--c-muted); }
.checkout__secure .icon { width: 1.125rem; height: 1.125rem; color: var(--c-leaf); }
.checkout__terms { margin: 0.75rem 0 0; font-size: var(--fs-xs); color: var(--c-muted); text-align: center; }

/* Account */
.auth { display: grid; gap: var(--sp-2); align-items: start; }
@media (min-width: 768px) { .auth { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); } }
.auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: var(--sp-2); }
.auth__hint { display: flex; gap: 0.5rem; margin: var(--sp-2) 0 0; padding-top: var(--sp-2); border-top: 1px solid var(--c-border); font-size: var(--fs-sm); color: var(--c-muted); }
.auth__hint .icon { flex-shrink: 0; width: 1.125rem; height: 1.125rem; color: var(--c-leaf); }
.auth__small { margin: 0.75rem 0 0; font-size: var(--fs-xs); color: var(--c-muted); text-align: center; }

/* Wholesale page extras */
.feature-grid { display: grid; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feature { padding: var(--sp-2); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-white); box-shadow: var(--shadow-sm); }
.feature h2 { font-size: var(--fs-h3); margin: 0.625rem 0 0.25rem; }
.feature p { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.feature__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm); background: var(--c-leaf-50); color: var(--c-leaf); }
.steps-band { padding: var(--sp-3); border-radius: var(--radius-lg); background: var(--c-white); border: 1px solid var(--c-border); }
.steps-band > h2 { margin-bottom: var(--sp-2); }
.steps--numbered { list-style: none; padding: 0; }

/* About page */
.about--page { align-items: start; }
.about__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--sp-2); }
.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-1); margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-row li { display: flex; flex-direction: column; gap: 0.125rem; padding: var(--sp-2); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-white); text-align: center; }
.stat-row strong { font-family: var(--font-head); font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem); color: var(--c-leaf-700); }
.stat-row span { font-size: var(--fs-sm); color: var(--c-muted); }

/* Contact page */
.contact-grid { display: grid; gap: var(--sp-3); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--sp-4); } }
.contact-side { display: grid; gap: var(--sp-2); }
.info-card { padding: var(--sp-2); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-white); }
.info-card h2 { font-size: var(--fs-lg); margin-bottom: 0.625rem; }
.info-card p { margin: 0 0 0.75rem; font-size: var(--fs-sm); color: var(--c-muted); }
.info-card .footer__contact { color: var(--c-text); }
.info-card .footer__contact a { color: var(--c-text); }
.info-card .footer__contact a:hover { color: var(--c-primary-700); }
.info-card--trade { border-color: #CBE5CF; background: var(--c-leaf-50); }
.map-placeholder {
  display: grid; place-items: center; gap: 0.5rem; min-height: 12rem; padding: var(--sp-2);
  border: 1px dashed var(--c-input-border); border-radius: var(--radius); background: var(--c-offwhite);
  color: var(--c-muted); font-size: var(--fs-sm); text-align: center;
}
.map-placeholder .icon { width: 1.75rem; height: 1.75rem; color: var(--c-leaf); }

/* Info and legal pages */
.info-layout { display: grid; gap: var(--sp-3); align-items: start; }
@media (min-width: 1024px) { .info-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: var(--sp-5); } }
.info-toc { padding: var(--sp-2); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-white); }
@media (min-width: 1024px) { .info-toc { position: sticky; top: 10rem; } }
.info-toc__title { margin: 0 0 0.375rem; font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 700; }
.info-toc ul { margin: 0; padding: 0; list-style: none; }
.info-toc a { display: flex; align-items: center; min-height: 2.5rem; font-size: var(--fs-sm); color: var(--c-muted); text-decoration: none; }
.info-toc a:hover { color: var(--c-primary-700); text-decoration: underline; }
.info-body { max-width: 48rem; padding: clamp(1rem, 0.8rem + 1.2vw, 2rem); border: 1px solid var(--c-border); border-radius: var(--radius-lg); background: var(--c-white); }

/* Empty states and 404 */
.empty-state { max-width: 40rem; margin-inline: auto; padding: var(--sp-4) var(--sp-2); text-align: center; }
.empty-state__icon { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 auto var(--sp-2); border-radius: 50%; background: var(--c-leaf-50); color: var(--c-leaf); }
.empty-state__icon .icon { width: 1.75rem; height: 1.75rem; }
.empty-state p { color: var(--c-muted); }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: var(--sp-2); }
.empty-state__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem; margin: var(--sp-3) 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); }
.empty-state--inline { margin-top: var(--sp-3); padding: var(--sp-2); border: 1px dashed var(--c-border); border-radius: var(--radius); background: var(--c-white); }
.empty-state--inline p { margin: 0; }

/* Checkbox rows inside form fields keep the box beside the text */
.field label.check { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0; font-weight: 500; }
.field label.check input[type="checkbox"] { display: inline-block; width: 1.125rem; height: 1.125rem; min-height: 0; padding: 0; flex: 0 0 auto; accent-color: var(--c-leaf); }
.field select {
  display: block; width: 100%; min-height: var(--touch); padding: 0 2rem 0 0.75rem;
  border: 1px solid var(--c-input-border); border-radius: var(--radius-sm);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23056C04' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat right 0.75rem center var(--c-white);
  appearance: none; -webkit-appearance: none; font: inherit; color: var(--c-text); cursor: pointer;
}
.field select:focus { border-color: var(--c-primary); }
.coupon label { margin-bottom: 0; }

/* Trade registration page */
.trade-layout { display: grid; gap: var(--sp-3); align-items: start; }
@media (min-width: 1024px) { .trade-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: var(--sp-4); } }
.trade-form { display: grid; gap: var(--sp-2); }
.trade-form .form-card h2 { font-size: var(--fs-lg); }
.form-card__step { display: flex; align-items: center; gap: 0.625rem; }
.form-card__step > span {
  display: grid; place-items: center; flex-shrink: 0; width: 1.875rem; height: 1.875rem;
  border-radius: 50%; background: var(--c-leaf); color: var(--c-white);
  font-size: var(--fs-sm); font-weight: 700;
}
.form-card__intro { margin: -0.25rem 0 var(--sp-2); font-size: var(--fs-sm); color: var(--c-muted); }
.field-row--3 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.declaration {
  padding: var(--sp-2); margin-bottom: var(--sp-2);
  border: 1px solid var(--c-border); border-left: 3px solid var(--c-accent);
  border-radius: var(--radius-sm); background: var(--c-offwhite);
  font-size: var(--fs-sm); color: var(--c-muted);
}
.declaration p { margin: 0 0 0.625rem; }
.declaration p:last-child { margin-bottom: 0; }
.consent-list { display: grid; gap: 0.25rem; margin: 0 0 var(--sp-2); padding: 0; list-style: none; }
.consent-list .check { align-items: flex-start; min-height: 0; padding: 0.375rem 0; font-size: var(--fs-sm); }
.consent-list .check input { margin-top: 0.2em; }

.trade-side { display: grid; gap: var(--sp-2); }
@media (min-width: 1024px) { .trade-side { position: sticky; top: 10rem; } }
.trade-side .info-card h2 { font-size: 1rem; }
.mini-steps { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.mini-steps li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: var(--fs-sm); }
.mini-steps li > span {
  display: grid; place-items: center; flex-shrink: 0; width: 1.5rem; height: 1.5rem;
  border-radius: 50%; background: var(--c-leaf); color: var(--c-white); font-size: var(--fs-xs); font-weight: 700;
}
.mini-steps div { display: flex; flex-direction: column; color: var(--c-muted); }
.mini-steps strong { color: var(--c-text); }
.ticks--light { gap: 0.4rem; margin: 0; }
.ticks--light li { color: var(--c-text); font-weight: 500; font-size: var(--fs-sm); }
.ticks--light .ticks__icon { width: 1.25rem; height: 1.25rem; background: var(--c-leaf); color: var(--c-white); }
.ticks--light .ticks__icon .icon { width: 0.75rem; height: 0.75rem; }
.info-card__already { margin: 0.75rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--c-border); font-size: var(--fs-sm); }
.form-card__note { margin: 0.75rem 0 0; font-size: var(--fs-xs); color: var(--c-muted); text-align: center; }

/* ==========================================================================
   My Account area (logged in)
   ========================================================================== */
.acct-layout { display: grid; gap: var(--sp-3); align-items: start; }
@media (min-width: 1024px) { .acct-layout { grid-template-columns: 16rem minmax(0, 1fr); gap: var(--sp-4); } }
.acct-main { display: grid; gap: var(--sp-2); min-width: 0; }

.acct-side { padding: var(--sp-2); border: 1px solid var(--c-border); border-radius: var(--radius-lg); background: var(--c-white); }
@media (min-width: 1024px) { .acct-side { position: sticky; top: 10rem; } }
.acct-user { display: flex; align-items: center; gap: 0.75rem; padding-bottom: var(--sp-2); border-bottom: 1px solid var(--c-border); }
.acct-user__avatar { display: grid; place-items: center; flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c-leaf-50); color: var(--c-leaf); }
.acct-user__name { margin: 0; font-family: var(--font-head); font-weight: 700; }
.acct-user__status { display: flex; align-items: center; gap: 0.3rem; margin: 0; font-size: var(--fs-xs); color: var(--c-muted); }
.acct-user__status--trade { color: var(--c-leaf-700); font-weight: 700; }
.acct-user__status .icon { width: 0.9375rem; height: 0.9375rem; }

.acct-nav ul { margin: var(--sp-1) 0 0; padding: 0; list-style: none; }
.acct-nav a {
  display: flex; align-items: center; gap: 0.625rem; min-height: var(--touch);
  padding: 0 0.625rem; margin-inline: -0.25rem; border-radius: var(--radius-sm);
  color: var(--c-text); text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
}
.acct-nav a:hover { background: var(--c-primary-50); color: var(--c-primary-700); }
.acct-nav a.is-current { background: var(--c-leaf-50); color: var(--c-leaf-700); font-weight: 700; }
.acct-nav .icon { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.acct-nav__badge { margin-left: auto; padding: 0.1rem 0.45rem; border-radius: var(--radius-pill); background: var(--c-accent); color: var(--c-text); font-size: 0.6875rem; font-weight: 700; }
.acct-logout { display: flex; align-items: center; gap: 0.5rem; min-height: var(--touch); margin-top: var(--sp-1); padding-top: var(--sp-1); border-top: 1px solid var(--c-border); color: var(--c-muted); text-decoration: none; font-size: var(--fs-sm); }
.acct-logout:hover { color: var(--c-red); }
.acct-logout .icon { width: 1rem; height: 1rem; }

.acct-welcome {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2);
  padding: var(--sp-3); border-radius: var(--radius-lg);
  background: radial-gradient(60% 90% at 100% 0%, rgba(235, 176, 16, 0.25), transparent 70%), linear-gradient(130deg, #05570A, var(--c-leaf-900));
  color: var(--c-on-dark);
}
.acct-welcome h2 { margin: 0 0 0.25rem; color: var(--c-white); }
.acct-welcome p { margin: 0; }

.acct-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-1); margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .acct-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.acct-tiles li { display: flex; }
.acct-tiles li > a { width: 100%; }
.acct-tiles a, .acct-tiles--trade li {
  display: flex; flex-direction: column; gap: 0.1rem; width: 100%; padding: var(--sp-2);
  border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-white);
  color: var(--c-text); text-decoration: none;
}
.acct-tiles a:hover { border-color: var(--c-leaf); box-shadow: var(--shadow-sm); }
.acct-tile__icon { display: grid; place-items: center; align-self: flex-start; flex: 0 0 auto; width: 2.25rem; height: 2.25rem; margin-bottom: 0.375rem; border-radius: var(--radius-sm); background: var(--c-leaf-50); color: var(--c-leaf); }
.acct-tiles strong { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.2; }
.acct-tiles--trade strong { font-size: 1rem; }
.acct-tiles span:last-child { font-size: var(--fs-xs); color: var(--c-muted); }

.acct-card { padding: var(--sp-2); border: 1px solid var(--c-border); border-radius: var(--radius-lg); background: var(--c-white); }
.acct-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: var(--sp-1); }
.acct-card__head h2 { margin: 0; font-size: var(--fs-lg); }
.acct-card p { margin: 0 0 0.75rem; color: var(--c-muted); font-size: var(--fs-sm); }
.acct-card__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.acct-card--trade { border-color: #CBE5CF; background: var(--c-leaf-50); }
.acct-card--add { display: flex; flex-direction: column; align-items: flex-start; border-style: dashed; background: var(--c-offwhite); }
.acct-card__plus { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 0.5rem; border-radius: 50%; background: var(--c-leaf-50); color: var(--c-leaf); }
.acct-card--add h2 { font-size: var(--fs-lg); margin-bottom: 0.25rem; }
.acct-split { display: grid; gap: var(--sp-2); }
@media (min-width: 768px) { .acct-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acct-address { font-style: normal; font-size: var(--fs-sm); line-height: 1.6; color: var(--c-text); }
.address-grid { display: grid; gap: var(--sp-2); }
@media (min-width: 768px) { .address-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Orders and invoices table */
.orders-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.orders-table thead { display: none; }
.orders-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.35rem 0.75rem; padding: 0.875rem 0; border-bottom: 1px solid var(--c-border); }
.orders-table td { padding: 0; }
.orders-table td::before { content: attr(data-label) ": "; font-size: var(--fs-xs); color: var(--c-muted); }
.orders-table td:last-child { grid-column: 1 / -1; margin-top: 0.25rem; }
.orders-table td:last-child::before { content: none; }
.orders-table a { color: var(--c-leaf-700); font-weight: 600; }
@media (min-width: 768px) {
  .orders-table thead { display: table-header-group; }
  .orders-table thead th { padding: 0 0.5rem 0.5rem; text-align: left; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-muted); }
  .orders-table tr { display: table-row; }
  .orders-table td { display: table-cell; padding: 0.75rem 0.5rem; vertical-align: middle; border-bottom: 1px solid var(--c-border); }
  .orders-table td::before { content: none; }
  .orders-table td:last-child { margin-top: 0; text-align: right; }
}
.status { display: inline-flex; align-items: center; padding: 0.15rem 0.6rem; border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 700; }
.status--done { background: var(--c-leaf-50); color: var(--c-leaf-700); }
.status--transit { background: var(--c-accent-50); color: var(--c-accent-ink); }
.status--cancel { background: var(--c-red-50); color: var(--c-red-700); }

.trade-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3); border-radius: var(--radius-lg);
  background: radial-gradient(60% 90% at 100% 0%, rgba(235, 176, 16, 0.3), transparent 70%), linear-gradient(130deg, #05570A, var(--c-leaf-900));
  color: var(--c-on-dark);
}
.trade-banner > div { flex: 1 1 16rem; }
.trade-banner h2 { margin: 0 0 0.25rem; color: var(--c-white); }
.trade-banner p { margin: 0; }
.trade-banner__icon { display: grid; place-items: center; flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 50%; background: rgba(255, 255, 255, 0.16); color: var(--c-accent); }
.trade-banner__icon .icon { width: 1.5rem; height: 1.5rem; }

/* Two audiences: retail and trade */
.audience { display: grid; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.audience > li { display: flex; }
.aud-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem) clamp(1.25rem, 1rem + 1.5vw, 2.25rem) clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.aud-card__tag {
  align-self: flex-start;
  margin: 0 0 0.875rem;
  padding: 0.3rem 0.875rem;
  border-radius: var(--radius-pill);
  background: var(--c-text);
  color: var(--c-white);
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.aud-card__title {
  margin: 0 0 0.375rem;
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem);
  line-height: 1.2;
}
.aud-card__text { margin: 0 0 var(--sp-2); font-size: var(--fs-sm); }
.aud-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--touch);
  margin-top: auto;
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-pill);
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.aud-card__btn .icon { width: 1rem; height: 1rem; }
.aud-card__btn:hover { color: var(--c-text); transform: translateX(3px); box-shadow: var(--shadow-sm); }

.aud-card--retail { background: linear-gradient(135deg, #F2F5EF, #E6EEE0); color: var(--c-text); }
.aud-card--retail .aud-card__text { color: var(--c-muted); }
.aud-card--retail .aud-card__btn { box-shadow: var(--shadow-sm); }

.aud-card--trade {
  background: radial-gradient(70% 100% at 100% 0%, rgba(235, 176, 16, 0.3), transparent 65%), linear-gradient(135deg, #05570A, var(--c-leaf-900));
  color: var(--c-on-dark);
}
.aud-card--trade .aud-card__title { color: var(--c-white); }
.aud-card--trade .aud-card__text { color: rgba(255, 255, 255, 0.85); }
.aud-card--trade .aud-card__tag { background: rgba(255, 255, 255, 0.16); color: var(--c-accent); }

@media (prefers-reduced-motion: reduce) { .aud-card__btn:hover { transform: none; } }

@media (max-width: 40em) {
  .mega__ad { flex-direction: column; align-items: flex-start; }
  .mega__ad-img { width: 100%; flex-basis: auto; height: 7rem; }
}

/* Shop filters over AJAX: the results column while a request is in flight. */
.layout__main { position: relative; }
.layout__main.is-loading { pointer-events: none; }
.layout__main.is-loading > * { opacity: .45; transition: opacity .15s ease; }
.layout__main.is-loading::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 4rem;
  width: 2rem;
  height: 2rem;
  margin-inline-start: -1rem;
  border: 3px solid var(--c-border);
  border-top-color: var(--c-primary-700);
  border-radius: 50%;
  animation: jhg-spin .7s linear infinite;
}
@keyframes jhg-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .layout__main.is-loading::after { animation-duration: 2s; }
}
/* The submit button is only there for browsers without JS. */
.js .filters__go { display: none; }
.filters__go { width: 100%; margin-top: var(--sp-2); }
/* The sort form applies on change with JS, so its button is a no-JS fallback. */
.js .toolbar__sort-go { display: none; }
