/*
Theme Name: Gardenster
Theme URI: https://adamarket.store/
Author: Gardenster
Description: Custom WooCommerce theme for Gardenster – practical products for home, garden and everyday living. Forest green & cream identity, mega menu, AJAX basket drawer, quick view and responsive layouts.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
WC requires at least: 8.0
License: GPL-2.0-or-later
Text Domain: adamarket
*/

/* ==========================================================================
   GARDENSTER — Homepage styles
   Palette: forest #173F2A · garden #2F6B3F · fresh #6F9F55 · cream #F7F5EC
            beige #E9E3D2 · white · text #1C261F · light grey #F5F6F3
   ========================================================================== */

:root {
  --forest: #173F2A;
  --garden: #2F6B3F;
  --fresh: #6F9F55;
  --cream: #F7F5EC;
  --beige: #E9E3D2;
  --white: #FFFFFF;
  --text: #1C261F;
  --grey: #F5F6F3;

  --muted: #5B665E;          /* secondary text, AA on white & cream */
  --line: #E4E6DF;           /* hairline borders */
  --line-strong: #D5D9CE;
  --sale: #B4432F;           /* terracotta for sale badges */
  --star: #C99A2E;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(23, 63, 42, .06);
  --shadow: 0 6px 24px -10px rgba(23, 63, 42, .18);
  --shadow-lg: 0 24px 60px -24px rgba(23, 63, 42, .35);

  --container: 1320px;
  --gutter: clamp(16px, 3vw, 32px);
  --section-y: clamp(56px, 7vw, 96px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--fresh); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.ico { width: 18px; height: 18px; flex: none; }
.ico--sm { width: 14px; height: 14px; }
.ico--lg { width: 24px; height: 24px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--garden); margin-bottom: 10px;
}
.eyebrow--light { color: #CFE3BE; }
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -.015em;
  color: var(--forest);
}
.section-title--sm { font-size: clamp(24px, 2.4vw, 30px); }
.section-sub { color: var(--muted); margin-top: 6px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14px; color: var(--garden);
}
.link-arrow .ico { transition: transform .25s var(--ease); }
a:hover .link-arrow .ico, .link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow--strong { color: var(--forest); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .005em; line-height: 1;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--forest); color: #fff; }
.btn--primary:hover { background: var(--garden); box-shadow: 0 10px 22px -12px rgba(23, 63, 42, .7); }
.btn--ghost { background: rgba(255, 255, 255, .85); color: var(--forest); border-color: rgba(23, 63, 42, .2); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; border-color: var(--forest); }
.btn--outline { border-color: var(--forest); color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: #fff; }
.btn--cream { background: var(--cream); color: var(--forest); }
.btn--cream:hover { background: #fff; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; color: var(--forest);
  transition: background-color .2s;
}
.icon-btn:hover { background: var(--grey); }

.round-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); color: var(--forest); background: #fff;
  transition: all .2s;
}
.round-btn:hover:not(:disabled) { background: var(--forest); border-color: var(--forest); color: #fff; }
.round-btn:disabled { opacity: .35; cursor: default; }

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announce { background: var(--forest); color: var(--cream); font-size: 13px; font-weight: 500; }
.announce__inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 24px; }
.announce__list { display: flex; gap: 32px; }
.announce__list li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.announce__list .ico { width: 16px; height: 16px; color: #A9CB8F; --icon-bg: var(--forest); }
.announce__help { white-space: nowrap; opacity: .9; }
.announce__help:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(23, 63, 42, .45); }
.header__main { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.header__burger, .header__search-toggle { display: none; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); flex: none; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--forest); color: var(--fresh);
  display: grid; place-items: center;
}
.logo__mark svg { width: 24px; height: 24px; }
.logo__word { font-family: var(--font-display); font-weight: 600; font-size: 27px; letter-spacing: -.02em; line-height: 1; }
.logo--sm .logo__word { font-size: 23px; }
.logo--sm .logo__mark { width: 34px; height: 34px; }
.logo--light { color: #fff; }
.logo--light .logo__mark { background: var(--cream); color: var(--garden); }
.logo--light .logo__mark svg path:last-child { stroke: var(--cream); }

.search { flex: 1; max-width: 640px; margin: 0 auto; position: relative; }
.search input {
  width: 100%; height: 48px; padding: 0 56px 0 22px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--grey);
  font-size: 15px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.search input::placeholder { color: #7A847C; }
.search input:focus { outline: none; border-color: var(--garden); background: #fff; box-shadow: 0 0 0 4px rgba(111, 159, 85, .18); }
.search__btn {
  position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--forest); color: #fff; display: grid; place-items: center; transition: background-color .2s;
}
.search__btn:hover { background: var(--garden); }

.header__actions { display: flex; align-items: center; gap: 4px; flex: none; }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--fresh); color: #fff;
  font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1;
  border: 2px solid #fff;
}
.cart-btn.bump { animation: bump .55s var(--ease); }
@keyframes bump { 0%, 100% { transform: scale(1); } 35% { transform: scale(1.2); } 65% { transform: scale(.94); } }

/* ---------- Main nav ---------- */
.main-nav { border-top: 1px solid var(--line); }
.main-nav__list { display: flex; justify-content: center; gap: 6px; }
.main-nav__list > li > a, .main-nav__trigger {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: 50px; padding: 0 18px; font-weight: 600; font-size: 15px; color: var(--text);
  transition: color .2s;
}
.main-nav__list > li > a::after, .main-nav__trigger::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 10px; height: 2px;
  background: var(--garden); border-radius: 2px; transform: scaleX(0); transition: transform .25s var(--ease);
}
.main-nav__list > li > a:hover, .main-nav__trigger:hover, .main-nav__trigger[aria-expanded="true"] { color: var(--garden); }
.main-nav__list > li > a:hover::after, .main-nav__trigger[aria-expanded="true"]::after, .main-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav__list a[aria-current="page"] { color: var(--forest); }
.main-nav__trigger .ico { transition: transform .25s; }
.main-nav__trigger[aria-expanded="true"] .ico { transform: rotate(180deg); }

/* ---------- Mega menu ---------- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s, transform .22s var(--ease), visibility 0s .22s;
}
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .22s var(--ease); }
.mega__inner { display: grid; grid-template-columns: repeat(4, 1fr) 260px; gap: 36px; padding-top: 36px; padding-bottom: 40px; }
.mega__title {
  display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--forest); margin-bottom: 14px;
}
.mega__icon { width: 34px; height: 34px; border-radius: 50%; background: var(--cream); color: var(--garden); display: grid; place-items: center; flex: none; }
.mega__icon svg { width: 18px; height: 18px; }
.mega__col ul { display: grid; gap: 2px; margin-bottom: 16px; }
.mega__col ul a { display: inline-block; padding: 5px 0; color: var(--muted); font-size: 15px; transition: color .2s, transform .2s; }
.mega__col ul a:hover { color: var(--forest); transform: translateX(3px); }
.mega__all { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--garden); }
.mega__all:hover { color: var(--forest); }
.mega__feature { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega__feature:hover img { transform: scale(1.05); }
.mega__feature-text {
  position: absolute; inset: auto 0 0 0; padding: 20px; color: #fff; display: grid; gap: 6px;
  background: linear-gradient(to top, rgba(17, 40, 27, .88), rgba(17, 40, 27, 0));
}
.mega__feature-text strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.2; }
.mega__feature-text .eyebrow { margin: 0; }
.mega__feature-text .link-arrow { color: #fff; }
.mega-backdrop { position: fixed; inset: 0; background: rgba(28, 38, 31, .25); z-index: 50; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: clamp(520px, 72vh, 720px); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--cream); }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 60% 40%; z-index: -2; animation: heroZoom 14s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 245, 236, .97) 0%, rgba(247, 245, 236, .9) 32%, rgba(247, 245, 236, .45) 55%, rgba(247, 245, 236, 0) 75%),
    linear-gradient(0deg, rgba(247, 245, 236, .35), rgba(247, 245, 236, 0) 30%);
}
.hero__inner { position: relative; padding-top: 72px; padding-bottom: 72px; }
.hero__content { max-width: 580px; }
.hero__title {
  font-family: var(--font-display); font-weight: 600; color: var(--forest);
  font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 20px;
}
.hero__text { font-size: clamp(16px, 1.4vw, 19px); color: #3B463E; max-width: 460px; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; font-weight: 600; color: var(--forest); }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .ico { color: var(--garden); --icon-bg: var(--cream); }

.hero__badge {
  position: absolute; right: var(--gutter); bottom: 48px; width: 132px; height: 132px; border-radius: 50%;
  background: rgba(23, 63, 42, .92); color: var(--cream); display: grid; place-items: center;
  box-shadow: var(--shadow-lg); backdrop-filter: blur(4px); transition: transform .3s var(--ease);
}
.hero__badge:hover { transform: scale(1.05); }
.hero__badge svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 26s linear infinite; }
.hero__badge text { font-size: 10.6px; font-weight: 700; letter-spacing: .2em; fill: currentColor; font-family: var(--font-body); }
.hero__badge-core { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--garden); display: grid; place-items: center; }
.hero__badge-core svg { position: static; width: 26px; height: 26px; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: var(--section-y) 0; }
.section--tight-top { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(32px, 4vw, 48px); }
.section--flush { padding-top: 0; }
.section--cream { background: var(--cream); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 36px); }
.section-head--center { justify-content: center; text-align: center; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); border: 1px solid #EEEBDF; transition: box-shadow .3s, transform .3s var(--ease); }
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.cat-card__link { display: flex; flex-direction: column; height: 100%; }
.cat-card__media { aspect-ratio: 5 / 4; overflow: hidden; background: var(--beige); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__body { position: relative; padding: 34px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.cat-card__icon {
  position: absolute; top: -26px; left: 22px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--garden); color: #fff; display: grid; place-items: center; border: 4px solid var(--cream);
}
.cat-card__icon svg { width: 22px; height: 22px; }
.cat-card__icon--warm { background: #B8874A; }
.cat-card__icon--blue { background: #4F7F9A; }
.cat-card__icon--clay { background: #C46B3E; }
.cat-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.2; color: var(--forest); margin-bottom: 4px; }
.cat-card p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.cat-card .link-arrow { margin-top: auto; }

/* ---------- Trust bar ---------- */
.trust { background: var(--grey); border-block: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: 16px; padding: 28px 24px; }
.trust__item + .trust__item { border-left: 1px solid var(--line-strong); }
.trust__icon { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--fresh); color: var(--garden); display: grid; place-items: center; flex: none; background: #fff; --icon-bg: #fff; }
.trust__icon svg { width: 24px; height: 24px; }
.trust__item h3 { font-size: 15px; font-weight: 800; color: var(--forest); }
.trust__item p { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }

.p-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .3s, border-color .3s, transform .3s var(--ease);
}
.p-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.p-card__top { position: relative; }
.p-card__media { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; display: block; }
.p-card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px;
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.p-card__media .img-alt { opacity: 0; }
.p-card:hover .p-card__media .img-alt { opacity: 1; }
.p-card:hover .p-card__media.has-alt .img-main { opacity: 0; }
.p-card:hover .p-card__media:not(.has-alt) .img-main { transform: scale(1.05); }

.p-card__badge {
  position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--forest); color: #fff;
}
.p-card__badge--sale { background: var(--sale); }
.p-card__wish {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--forest); display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: transform .2s, color .2s;
}
.p-card__wish .ico { width: 19px; height: 19px; }
.p-card__wish:hover { transform: scale(1.08); }
.p-card__wish[aria-pressed="true"] { color: var(--sale); --heart-fill: var(--sale); }
.p-card__wish.pop { animation: bump .45s var(--ease); }
.p-card__quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; border-radius: 999px;
  background: rgba(255, 255, 255, .96); color: var(--forest); font-weight: 700; font-size: 13px;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), background-color .2s;
}
.p-card:hover .p-card__quick, .p-card__quick:focus-visible { opacity: 1; transform: none; }
.p-card__quick:hover { background: var(--forest); color: #fff; }

.p-card__body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid var(--grey); }
.p-card__cat { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fresh); }
.p-card__brand { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.p-card__title { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.p-card__title a:hover { color: var(--garden); }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; font-size: 11.5px; color: var(--muted); }
.rating > span:last-child { white-space: nowrap; }
.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars .ico { width: 12px; height: 12px; }
.stars--empty { color: #C9CEC3; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.price__now { font-weight: 800; font-size: 17px; color: var(--forest); }
.price__now--sale { color: var(--sale); }
.price__was { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.p-card__add { margin-top: auto; padding-top: 8px; }
.add-btn {
  width: 100%; min-height: 42px; border-radius: 999px; background: var(--forest); color: #fff;
  font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background-color .2s, transform .2s;
}
.add-btn:hover { background: var(--garden); }
.add-btn.is-added { background: var(--fresh); }
.add-btn.is-loading { pointer-events: none; }
.add-btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }

/* Flying dot add-to-cart animation */
.fly-dot { position: fixed; z-index: 200; width: 14px; height: 14px; border-radius: 50%; background: var(--fresh); pointer-events: none; box-shadow: 0 0 0 4px rgba(111, 159, 85, .25); }

/* ---------- Promo split ---------- */
.promo-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.promo { position: relative; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.promo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.promo:hover .promo__img { transform: scale(1.04); }
.promo__content { padding: clamp(28px, 4vw, 48px); max-width: 460px; }
.promo__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -.015em; margin-bottom: 10px; }
.promo__content > p:not(.eyebrow) { margin-bottom: 22px; font-size: 16px; }
.promo--garden { color: #fff; }
.promo--garden::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(20deg, rgba(14, 38, 24, .9) 0%, rgba(14, 38, 24, .55) 45%, rgba(14, 38, 24, .05) 80%); }
.promo--garden .promo__content > p:not(.eyebrow) { color: rgba(255, 255, 255, .88); }
.promo--home { color: var(--forest); align-items: center; }
.promo--home::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(247, 245, 236, .97) 0%, rgba(247, 245, 236, .88) 45%, rgba(247, 245, 236, .1) 85%); }
.promo--home .promo__content > p:not(.eyebrow) { color: #3B463E; }

/* ---------- Carousel ---------- */
.carousel-ctrls { display: flex; gap: 10px; }
.carousel { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 18px; scroll-padding-inline: var(--gutter); }
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline-offset: -2px; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 18px * 5) / 6); gap: 18px; }
.carousel__track .p-card { scroll-snap-align: start; }
.carousel-progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; max-width: 240px; margin: 8px auto 0; }
.carousel-progress span { display: block; height: 100%; width: 30%; background: var(--garden); border-radius: 3px; transition: transform .2s linear, width .2s; transform-origin: left; }

/* ---------- Essentials ---------- */
.essentials { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: stretch; }
.essentials__feature { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; isolation: isolate; }
.essentials__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.essentials__feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(247, 245, 236, .98) 0%, rgba(247, 245, 236, .9) 38%, rgba(247, 245, 236, 0) 70%); }
.essentials__feature-content { padding: clamp(24px, 3vw, 40px); }
.essentials__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; letter-spacing: -.02em; color: var(--forest); margin-bottom: 12px; }
.essentials__feature-content p { color: #3B463E; margin-bottom: 22px; max-width: 340px; }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; overflow: hidden; background: linear-gradient(120deg, #EEF1E4 0%, var(--cream) 55%, #F1EDDD 100%); padding: clamp(48px, 6vw, 80px) 0; border-block: 1px solid #E5E2D3; }
.newsletter__leaf { position: absolute; color: var(--fresh); opacity: .16; pointer-events: none; }
.newsletter__leaf--l { width: 260px; left: -40px; bottom: -70px; transform: rotate(-8deg); }
.newsletter__leaf--r { width: 200px; right: -30px; top: -60px; transform: rotate(160deg); color: var(--garden); opacity: .1; }
.newsletter__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.newsletter h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; color: var(--forest); letter-spacing: -.015em; margin-bottom: 10px; }
.newsletter__copy > p:last-child { color: var(--muted); max-width: 440px; }
.nl-form__row { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; border: 1.5px solid var(--line-strong); box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.nl-form__row:focus-within { border-color: var(--garden); box-shadow: 0 0 0 4px rgba(111, 159, 85, .18); }
.nl-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font-size: 15px; height: 48px; }
.nl-form input:focus { outline: none; }
.nl-form .btn { min-height: 48px; }
.nl-form.is-error .nl-form__row { border-color: var(--sale); }
.nl-form__msg { min-height: 1.5em; font-size: 14px; font-weight: 600; margin: 10px 0 4px 18px; }
.nl-form__msg.is-error { color: var(--sale); }
.nl-form__msg.is-success { color: var(--garden); }
.nl-form__legal { font-size: 12.5px; color: var(--muted); margin-left: 18px; }
.nl-form__legal a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Instagram ---------- */
.ig-badge { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--garden); display: inline-grid; place-items: center; margin-bottom: 12px; }
.ig-badge svg { width: 26px; height: 26px; }
.ig-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.ig-tile { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--beige); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-tile__ov { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(23, 63, 42, .55); color: #fff; opacity: 0; transition: opacity .3s; }
.ig-tile__ov svg { width: 30px; height: 30px; }
.ig-tile:hover img { transform: scale(1.08); }
.ig-tile:hover .ig-tile__ov, .ig-tile:focus-visible .ig-tile__ov { opacity: 1; }
.ig-cta { text-align: center; margin-top: 28px; }

/* ---------- Payment strip ---------- */
.pay-strip { border-top: 1px solid var(--line); background: #fff; }
.pay-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 26px; padding-bottom: 26px; }
.pay-strip__list { display: flex; gap: 36px; flex-wrap: wrap; }
.pay-strip__list li { display: flex; align-items: center; gap: 12px; }
.pay-strip__list .ico { width: 36px; height: 36px; padding: 8px; border-radius: 50%; border: 1.5px solid var(--fresh); color: var(--garden); --icon-bg: #fff; }
.pay-strip__list strong { display: block; font-size: 14px; color: var(--forest); }
.pay-strip__list span span, .pay-strip__list li > span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.pay { height: 30px; min-width: 48px; padding: 0 9px; border-radius: 5px; border: 1px solid var(--line-strong); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; white-space: nowrap; }
.pay--visa { color: #1A1F71; font-style: italic; letter-spacing: .02em; font-size: 14px; }
.pay--mc i { width: 16px; height: 16px; border-radius: 50%; background: #EB001B; display: block; }
.pay--mc i + i { background: #F79E1B; margin-left: -6px; mix-blend-mode: multiply; }
.pay--apple { background: #000; color: #fff; border-color: #000; font-weight: 600; }
.pay--gpay { color: #3C4043; font-weight: 600; }
.pay--gpay b { color: #4285F4; }
.pay--paypal { color: #009CDE; font-style: italic; }
.pay--paypal b { color: #003087; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--forest); color: rgba(247, 245, 236, .8); font-size: 14.5px; position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; gap: 40px; padding-top: clamp(48px, 6vw, 72px); padding-bottom: 48px; }
.footer__brand p { margin: 18px 0 22px; max-width: 300px; line-height: 1.7; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(247, 245, 236, .25); display: grid; place-items: center; color: var(--cream); transition: background-color .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.socials svg { width: 18px; height: 18px; }
.footer__h { font-family: var(--font-body); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__nl p { margin-bottom: 16px; }
.footer-form { display: flex; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(247, 245, 236, .25); padding: 4px; }
.footer-form:focus-within { border-color: var(--fresh); }
.footer-form input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 0 16px; color: #fff; height: 42px; }
.footer-form input::placeholder { color: rgba(247, 245, 236, .6); }
.footer-form input:focus { outline: none; }
.footer-form button { width: 42px; height: 42px; border-radius: 50%; background: var(--fresh); color: #fff; display: grid; place-items: center; transition: background-color .2s; }
.footer-form button:hover { background: #82B266; }
.footer-form__msg { min-height: 1.4em; font-size: 13px; margin-top: 8px; color: #CFE3BE; }
.footer-form__msg.is-error { color: #F3B4A6; }
.footer__bottom { border-top: 1px solid rgba(247, 245, 236, .14); font-size: 13px; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.footer__bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom a:hover { color: #fff; }

/* ==========================================================================
   DRAWERS (mobile menu + cart)
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s .35s; }
.drawer::before { content: ""; position: absolute; inset: 0; background: rgba(20, 30, 23, .45); opacity: 0; transition: opacity .35s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer.is-open::before { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff;
  display: flex; flex-direction: column; transition: transform .35s var(--ease); box-shadow: var(--shadow-lg);
}
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); }
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--forest); }
.drawer__foot { margin-top: auto; padding: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: #fff; }
.drawer__note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); }

.m-nav { overflow-y: auto; padding: 8px 0; }
.m-nav__link, .m-acc__btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 20px; font-weight: 700; font-size: 16px; border-bottom: 1px solid var(--grey); text-align: left; min-height: 54px; }
.m-acc__btn .ico { transition: transform .25s; }
.m-acc__btn[aria-expanded="true"] .ico { transform: rotate(45deg); }
.m-acc__btn[aria-expanded="true"] { color: var(--garden); }
.m-acc__group > .m-acc__btn { padding-left: 32px; font-weight: 600; font-size: 15px; }
.m-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); background: var(--cream); }
.m-acc__panel > div { overflow: hidden; }
.m-acc__panel.is-open { grid-template-rows: 1fr; }
.m-acc__panel .m-acc__panel { background: #fff; }
.m-acc__panel a { display: block; padding: 12px 20px 12px 48px; color: var(--muted); font-size: 15px; }
.m-acc__panel a:hover { color: var(--forest); }
.m-acc__panel a.m-acc__all { color: var(--garden); font-weight: 700; }

/* Cart */
.ship-meter { padding: 14px 20px; background: var(--cream); font-size: 13.5px; font-weight: 600; color: var(--forest); }
.ship-meter__bar { height: 6px; border-radius: 6px; background: #E1DCC9; margin-top: 8px; overflow: hidden; }
.ship-meter__bar span { display: block; height: 100%; width: 0; background: var(--fresh); border-radius: 6px; transition: width .4s var(--ease); }
.cart-items { overflow-y: auto; padding: 4px 20px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--grey); }
.cart-item img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px; background: #fff; }
.cart-item__title { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item__price { font-weight: 800; color: var(--forest); font-size: 14px; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; margin-top: 8px; }
.qty button { width: 32px; height: 32px; display: grid; place-items: center; color: var(--forest); border-radius: 50%; }
.qty button:hover { background: var(--grey); }
.qty .ico { width: 14px; height: 14px; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; font-size: 14px; }
.cart-item__remove { font-size: 12px; color: var(--muted); text-decoration: underline; margin-top: 6px; display: block; }
.cart-empty { display: none; text-align: center; padding: 56px 24px; color: var(--muted); }
.cart-empty svg { width: 56px; height: 56px; color: var(--line-strong); margin: 0 auto 12px; }
.cart-empty p { margin-bottom: 20px; }
.drawer.is-empty .cart-empty { display: block; }
.drawer.is-empty .cart-foot, .drawer.is-empty .ship-meter { display: none; }
.cart-foot__row { display: flex; justify-content: space-between; font-size: 17px; }
.cart-foot__row strong { color: var(--forest); }
.cart-foot__note { font-size: 13px; color: var(--muted); margin-top: -6px; }

/* ==========================================================================
   QUICK VIEW MODAL
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; visibility: hidden; transition: visibility 0s .3s; }
.modal::before { content: ""; position: absolute; inset: 0; background: rgba(20, 30, 23, .5); opacity: 0; transition: opacity .3s; }
.modal.is-open { visibility: visible; transition: none; }
.modal.is-open::before { opacity: 1; }
.modal__panel { position: relative; width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .3s, transform .3s var(--ease); }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; background: #fff; }
.qv { display: grid; grid-template-columns: 1.05fr 1fr; }
.qv__gallery { padding: 28px; background: #fff; border-right: 1px solid var(--grey); }
.qv__main { aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--radius); background: #fff; }
.qv__main img { max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.qv__thumbs { display: flex; gap: 8px; margin-top: 14px; }
.qv__thumbs button { width: 64px; height: 64px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); padding: 4px; background: #fff; transition: border-color .2s; }
.qv__thumbs button[aria-current="true"] { border-color: var(--forest); }
.qv__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.qv__info { padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 12px; }
.qv__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; color: var(--forest); padding-right: 32px; }
.qv__info .price__now { font-size: 26px; }
.qv__desc { color: var(--muted); font-size: 14.5px; }
.qv__meta { font-size: 13px; color: var(--muted); display: grid; gap: 2px; }
.qv__meta b { color: var(--text); font-weight: 600; }
.qv__actions { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.qv__actions .qty { margin: 0; height: 50px; }
.qv__actions .qty button { width: 40px; height: 40px; }
.qv__actions .add-btn { min-height: 50px; flex: 1; }
.qv__perks { display: grid; gap: 8px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--grey); font-size: 13.5px; color: var(--muted); }
.qv__perks li { display: flex; align-items: center; gap: 10px; }
.qv__perks .ico { color: var(--garden); }
.qv__link { font-weight: 700; color: var(--garden); font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Toast & back to top ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 150; transform: translate(-50%, 20px);
  background: var(--forest); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease); max-width: calc(100vw - 32px);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast .ico { color: #A9CB8F; }
.back-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  background: var(--forest); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background-color .2s;
}
.back-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: var(--garden); }

/* Reveal on scroll (subtle) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Image fallback */
img.is-broken { object-fit: contain !important; padding: 18% !important; background: var(--cream); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1240px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid > .p-card:nth-child(n+5) { display: none; }   /* keep rows tidy: 4 cards */
  .carousel__track { grid-auto-columns: calc((100% - 18px * 3) / 4); }
  .mega__inner { grid-template-columns: repeat(4, 1fr); }
  .mega__feature { display: none; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer__nl { grid-column: 1 / -1; max-width: 460px; }
  .ig-grid { grid-template-columns: repeat(4, 1fr); }
  .pay-strip__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .announce__list li:nth-child(3) { display: none; }
  .main-nav { display: none; }
  .header__burger { display: inline-grid; margin-left: -10px; }
  .header__main { gap: 12px; }
  .logo { margin-right: auto; }
  .search { order: 5; flex: 0 0 100%; max-width: none; display: none; padding-bottom: 12px; }
  .search.is-open { display: block; }
  .header__main { flex-wrap: wrap; height: auto; min-height: var(--header-h); }
  .header__search-toggle { display: inline-grid; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line-strong); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid > .p-card:nth-child(n+4) { display: flex; }
  .product-grid > .p-card:nth-child(n+7) { display: none; }
  .product-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .carousel__track { grid-auto-columns: calc((100% - 18px * 2) / 3); }
  .promo-split { grid-template-columns: 1fr; }
  .essentials { grid-template-columns: 1fr; }
  .essentials__feature { min-height: 380px; order: -1; }
  .newsletter__inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .newsletter__copy > p:last-child { margin: 0 auto; }
  .nl-form { max-width: 560px; margin: 0 auto; width: 100%; }
  .nl-form__msg, .nl-form__legal { margin-left: 0; }
  .p-card__quick { opacity: 1; transform: none; left: auto; width: 38px; padding: 0; }
  .p-card__quick span { display: none; }
  .hero__badge { width: 112px; height: 112px; bottom: 32px; }
}

@media (max-width: 720px) {
  .announce { font-size: 12px; }
  .announce__inner { justify-content: center; min-height: 36px; }
  .announce__list { gap: 0; }
  .announce__list li:not(:first-child), .announce__help { display: none; }
  .logo__word { font-size: 23px; }
  .logo__mark { width: 34px; height: 34px; }
  .header__actions a[href="/account"] { display: none; }

  .hero { min-height: auto; align-items: flex-end; }
  .hero__media img { object-position: 70% 30%; }
  .hero::before { background: linear-gradient(0deg, rgba(247, 245, 236, 1) 0%, rgba(247, 245, 236, .96) 48%, rgba(247, 245, 236, .5) 72%, rgba(247, 245, 236, .1) 100%); }
  .hero__inner { padding-top: 200px; padding-bottom: 40px; }
  .hero__title { font-size: clamp(36px, 10.5vw, 46px); }
  .hero__text { margin-bottom: 24px; }
  .hero__ctas { flex-direction: column; margin-bottom: 22px; }
  .hero__ctas .btn { width: 100%; }
  .hero__badge { top: 24px; bottom: auto; right: 16px; width: 96px; height: 96px; }
  .hero__badge text { font-size: 11.5px; }
  .hero__badge-core { width: 40px; height: 40px; }
  .hero__badge-core svg { width: 20px; height: 20px; }

  .section-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .section-head .carousel-ctrls { display: none; }
  .cat-grid { gap: 12px; }
  .cat-card__body { padding: 26px 14px 16px; }
  .cat-card__icon { width: 42px; height: 42px; top: -21px; left: 14px; border-width: 3px; }
  .cat-card__icon svg { width: 18px; height: 18px; }
  .cat-card h3 { font-size: 16px; }
  .cat-card p { font-size: 13px; margin-bottom: 10px; }

  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item { flex-direction: column; text-align: center; padding: 22px 10px; gap: 10px; }
  .trust__icon { width: 46px; height: 46px; }
  .trust__item p { font-size: 12.5px; }

  .product-grid, .product-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-grid > .p-card:nth-child(n+4) { display: flex; }
  .carousel__track { grid-auto-columns: 46%; gap: 12px; }
  .p-card__body { padding: 12px 12px 14px; }
  .p-card__title { font-size: 13.5px; }
  .price__now { font-size: 16px; }
  .add-btn { font-size: 13px; min-height: 44px; }
  .add-btn .ico { display: none; }
  .p-card__cat { display: none; }

  .promo { min-height: 340px; }
  .promo--home { align-items: flex-end; }
  .promo--home::before { background: linear-gradient(0deg, rgba(247, 245, 236, .98) 0%, rgba(247, 245, 236, .85) 50%, rgba(247, 245, 236, .1) 90%); }
  .promo .btn { width: 100%; }

  .nl-form__row { flex-direction: column; border-radius: var(--radius); padding: 8px; }
  .nl-form input { height: 50px; text-align: center; }
  .nl-form .btn { width: 100%; }

  .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .ig-grid .ig-tile:nth-child(n+7) { display: none; }

  .pay-strip__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; width: 100%; }
  .pay-icons { justify-content: center; width: 100%; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__brand, .footer__nl { grid-column: 1 / -1; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .footer__bottom ul { justify-content: center; gap: 10px 18px; }

  .qv { grid-template-columns: 1fr; }
  .qv__gallery { border-right: 0; border-bottom: 1px solid var(--grey); padding: 20px 20px 16px; }
  .qv__main { aspect-ratio: 4 / 3; }
  .qv__info { padding: 20px; }
  .modal { padding: 0; align-items: end; }
  .modal__panel { max-height: 92vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .back-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

@media (max-width: 380px) {
  .cat-card p { display: none; }
  .header__actions { gap: 0; }
}

@media (hover: none) {
  .p-card__media .img-alt { display: none; }
  .p-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   WORDPRESS / WOOCOMMERCE ADDITIONS
   ========================================================================== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.p-card__badge--muted { background: #6B746D; }
.add-btn--outline { background: #fff; color: var(--forest); border: 1.5px solid var(--forest); }
.add-btn--outline:hover { background: var(--forest); color: #fff; }
.cart-foot__view { text-align: center; font-size: 14px; font-weight: 700; color: var(--garden); text-decoration: underline; text-underline-offset: 3px; }

/* WooCommerce price markup inside cards / quick view */
.price { font-weight: 800; font-size: 17px; color: var(--forest); }
.price del { color: var(--muted); font-weight: 500; font-size: 13px; margin-right: 6px; opacity: 1; }
.price ins { text-decoration: none; color: var(--sale); }
.price .screen-reader-text, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qv__info .price { font-size: 26px; }

/* Generic pages */
.page-wrap { padding-top: clamp(32px, 5vw, 56px); padding-bottom: var(--section-y); }
.page-wrap--narrow { max-width: 820px; }
.page-head { margin-bottom: 28px; }
.page-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -.02em; color: var(--forest); }
.entry-content { font-size: 16px; line-height: 1.75; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2, .entry-content h3 { font-family: var(--font-display); color: var(--forest); line-height: 1.2; margin-top: 1.6em; }
.entry-content a { color: var(--garden); text-decoration: underline; text-underline-offset: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; list-style: revert; }
.entry-hero { border-radius: var(--radius-lg); margin-bottom: 28px; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.post-item__media img { border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-item__title { font-family: var(--font-display); font-size: 22px; color: var(--forest); margin: 14px 0 6px; }
.notfound { text-align: center; max-width: 640px; }
.notfound p { margin-top: 12px; color: var(--muted); }
.notfound__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px !important; }

/* Shop wrapper */
.wc-wrap { padding-top: 24px; padding-bottom: var(--section-y); }
.crumbs, .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--garden); font-weight: 600; }
.crumb-sep { margin: 0 8px; color: var(--line-strong); }
.woocommerce-products-header { margin-bottom: 18px; }
.woocommerce-products-header__title, .wc-wrap .page-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4vw, 44px); color: var(--forest); letter-spacing: -.02em; line-height: 1.1; }
.term-description { color: var(--muted); margin-top: 8px; max-width: 720px; }
.woocommerce-result-count { float: left; color: var(--muted); font-size: 14px; margin: 10px 0 20px; }
.woocommerce-ordering { float: right; margin: 0 0 20px; }
.woocommerce-ordering select, .wc-wrap select, .entry-content select {
  height: 42px; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 0 36px 0 16px; background: #fff; font: inherit; font-size: 14px; color: var(--text);
}
ul.products { clear: both; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 0 32px; padding: 0; }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { list-style: none; margin: 0 !important; padding: 0; width: auto !important; float: none !important; display: flex; }
ul.products li.product .p-card { width: 100%; }
.woocommerce-pagination ul { display: flex; gap: 6px; justify-content: center; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-strong); font-weight: 700; }
.woocommerce-pagination .current { background: var(--forest); color: #fff; border-color: var(--forest); }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-notice {
  list-style: none; background: var(--cream); border-left: 4px solid var(--garden); padding: 14px 18px; border-radius: var(--radius-sm); margin: 0 0 20px; font-size: 15px;
}
.woocommerce-error { border-left-color: var(--sale); }
.woocommerce-message .button, .woocommerce-info .button { float: right; }

/* Buttons generated by WooCommerce */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .single_add_to_cart_button, .wc-block-components-button:not(.is-link) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px !important;
  background: var(--forest) !important; color: #fff !important; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; transition: background-color .2s; text-decoration: none;
}
.woocommerce .button:hover, .single_add_to_cart_button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--garden) !important; }
.woocommerce input[type="text"], .woocommerce input[type="email"], .woocommerce input[type="tel"], .woocommerce input[type="password"], .woocommerce input[type="number"], .woocommerce textarea {
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); padding: 10px 14px; font: inherit; background: #fff; max-width: 100%;
}
.woocommerce input:focus, .woocommerce textarea:focus { outline: none; border-color: var(--garden); box-shadow: 0 0 0 3px rgba(111, 159, 85, .18); }

/* Single product */
.single-product div.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; position: relative; }
.single-product div.product > .onsale { position: absolute; z-index: 3; top: 14px; left: 14px; background: var(--sale); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.single-product .woocommerce-product-gallery { width: auto !important; float: none !important; margin: 0; position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; background: #fff; }
.single-product .woocommerce-product-gallery img { border-radius: var(--radius-sm); }
.single-product .woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.single-product .woocommerce-product-gallery .flex-control-thumbs li { width: 72px; cursor: pointer; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; padding: 4px; background: #fff; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img { opacity: .6; transition: opacity .2s; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active, .single-product .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
.single-product .woocommerce-product-gallery__trigger { position: absolute; top: 24px; right: 24px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; font-size: 0; }
.single-product .woocommerce-product-gallery__trigger::before { content: "⤢"; font-size: 18px; color: var(--forest); }
.single-product .summary { width: auto !important; float: none !important; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.single-product .product_title { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; color: var(--forest); letter-spacing: -.015em; }
.single-product .summary .price { font-size: 28px; }
.single-product .woocommerce-product-details__short-description { color: var(--muted); }
.single-product form.cart { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; margin: 4px 0; }
.single-product form.cart .quantity input { width: 84px; height: 52px; text-align: center; border-radius: 999px; font-weight: 700; }
.single-product form.cart .single_add_to_cart_button { flex: 1; min-height: 52px; font-size: 16px; }
.single-product .product_meta { font-size: 13px; color: var(--muted); display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--grey); }
.single-product .product_meta a { color: var(--garden); font-weight: 600; }
.single-perks { margin-top: 0; }
.single-product .woocommerce-tabs, .single-product .related, .single-product .upsells { grid-column: 1 / -1; }
.woocommerce-tabs ul.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; padding: 0; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce-tabs ul.tabs li { list-style: none; margin: 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 14px 18px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a { color: var(--forest); border-color: var(--garden); }
.woocommerce-Tabs-panel { max-width: 860px; line-height: 1.75; }
.woocommerce-Tabs-panel > h2:first-child { font-family: var(--font-display); color: var(--forest); font-size: 26px; margin-bottom: 14px; }
.woocommerce-Tabs-panel ul { padding-left: 1.2em; list-style: disc; }
.woocommerce-Tabs-panel p + p, .woocommerce-Tabs-panel ul { margin-top: .8em; }
.related > h2, .upsells > h2 { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); color: var(--forest); margin: 48px 0 20px; }

/* Cart & checkout (classic + blocks) */
.woocommerce-cart .entry-content, .woocommerce-checkout .entry-content { font-size: 15px; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; width: 100%; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px; border-top: 1px solid var(--line); text-align: left; }
.wc-block-components-sidebar-layout .wc-block-components-main, .wc-block-cart__sidebar { font-family: var(--font-body); }
.wc-block-components-totals-wrapper, .wc-block-components-panel { border-color: var(--line) !important; }
.wc-block-components-title, .wc-block-cart__totals-title { font-family: var(--font-display) !important; color: var(--forest); }
.wc-block-components-product-name { color: var(--forest) !important; font-weight: 700; }

/* My account */
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; padding: 0; }
.woocommerce-MyAccount-navigation li { list-style: none; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 600; font-size: 14px; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--forest); color: #fff; border-color: var(--forest); }

@media (max-width: 1024px) {
  ul.products { grid-template-columns: repeat(3, 1fr); }
  .single-product div.product { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .woocommerce-result-count { float: none; margin-bottom: 8px; }
  .woocommerce-ordering { float: none; }
  .woocommerce-ordering select { width: 100%; }
  .single-product .woocommerce-product-gallery { padding: 10px; }
}

/* WooCommerce loop overrides (beat default woocommerce.css specificity) */
.woocommerce ul.products li.product .p-card__title, ul.products li.product .p-card__title { padding: 0 !important; margin: 0 !important; font-size: 14px !important; line-height: 1.4; }
.woocommerce ul.products li.product .price, ul.products li.product .price { color: var(--forest) !important; font-size: 17px !important; font-weight: 800; margin: 2px 0 0 !important; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.woocommerce ul.products li.product .price del { font-size: 13px; opacity: 1; color: var(--muted); }
.woocommerce ul.products li.product .price ins { color: var(--sale); font-weight: 800; }
.woocommerce ul.products li.product a img { margin: 0 !important; box-shadow: none; }
.woocommerce ul.products li.product .p-card__media img { width: 100%; height: 100%; }
.woocommerce ul.products li.product .p-card__body > * { margin: 0; }
.single-product .woocommerce-product-gallery__image img { max-height: 600px; width: 100%; object-fit: contain; }
