/* ================================================================
   Mightly -Redesigned homepage
   Brand: fresh microgreens green (#90BF74) on warm cream
   ================================================================ */

:root {
  --green: #90bf74;
  --green-600: #6fa455;
  --green-700: #4f8338;
  --green-50: #eef6e8;

  --amber: #f4c44d;
  --rose: #e07a7a;

  --ink: #1a2416;
  --ink-2: #3d4a36;
  --muted: #6b7563;

  --cream: #faf6ec;
  --cream-2: #f3ecd8;
  --paper: #ffffff;

  --border: #e6e0cd;
  --shadow-sm: 0 2px 8px rgba(26, 36, 22, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(26, 36, 22, 0.18);
  --shadow-lg: 0 28px 60px -20px rgba(26, 36, 22, 0.28);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --container: 1200px;
  --space: clamp(1rem, 2.5vw, 2rem);

  --t: 240ms cubic-bezier(.2, .7, .2, 1);
}

/* ----------------------------------------Base */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(15px, 1vw + 0.6rem, 17px);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
h4 { font-size: 1rem; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

em { font-style: italic; color: var(--green-700); }

p { margin: 0 0 1em; color: var(--ink-2); }

.container {
  width: min(100% -  2 * var(--space), var(--container));
  margin-inline: auto;
}

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

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

.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--sm { padding: 0.55rem 1.05rem; font-size: 0.85rem; }

.btn--primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(79, 131, 56, 0.7);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--ink); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

.btn--dark {
  background: var(--ink);
  color: var(--cream);
}
.btn--dark:hover { background: var(--green-700); transform: translateY(-2px); }

/* ----------------------------------------Section heads */

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow img { width: 14px; height: 14px; }
.eyebrow--center { display: inline-flex; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-head h2 { margin-top: 0.8rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ----------------------------------------Announce bar */

.announce {
  background: var(--ink);
  color: var(--cream-2);
  font-size: 0.85rem;
}
.announce__row {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}
.announce__row p { margin: 0; color: inherit; }
.announce__pill {
  background: var(--green); color: var(--ink);
  padding: 0.15rem 0.55rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
}
.announce__link { color: var(--green); font-weight: 600; }
.announce__link:hover { color: #fff; }

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

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 246, 236, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.site-header.is-scrolled {
  background: rgba(250, 246, 236, 0.95);
  border-bottom-color: var(--border);
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex; align-items: center; gap: 1.75rem;
}
.nav a {
  position: relative;
  font-weight: 500;
  color: var(--ink);
  padding: 0.4rem 0;
  transition: color var(--t);
}
.nav a::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 2px;
  background: var(--green-700);
  transition: width var(--t), left var(--t);
}
.nav a:hover { color: var(--green-700); }
.nav a:hover::after { width: 100%; left: 0; }

.header-actions {
  display: flex; align-items: center; gap: 0.5rem;
}
.icon-btn, .cart-btn {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  transition: background var(--t), color var(--t);
  position: relative;
}
.icon-btn svg, .cart-btn svg { width: 20px; height: 20px; }
.icon-btn:hover, .cart-btn:hover { background: var(--green-50); color: var(--green-700); }

.cart-count {
  position: absolute; top: 4px; right: 4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  font-size: 0.7rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--t);
}
.cart-count.bump { transform: scale(1.35); }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  border-radius: 999px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------Hero (full-width, single column) */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(120% 80% at 70% 20%, #e8f1de 0%, transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #f4eed9 100%);
}
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Darker overlay so text/image stay readable on top of the photo background. */
.hero--has-bg .hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(15, 28, 18, 0.18) 0%, rgba(15, 28, 18, 0) 60%),
    linear-gradient(180deg, rgba(252, 248, 232, 0.78) 0%, rgba(244, 238, 217, 0.92) 100%);
}

.hero__leaf {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 10px 24px rgba(79, 131, 56, 0.25));
  opacity: 0.85;
  animation: float 9s ease-in-out infinite;
  z-index: 1;
}
.hero__leaf--1 { top: 8%; left: 4%; width: clamp(60px, 9vw, 130px); animation-delay: 0s; }
.hero__leaf--2 { top: 15%; right: 6%; width: clamp(70px, 11vw, 150px); animation-delay: -2s; transform: rotate(20deg); }
.hero__leaf--3 { bottom: 8%; left: 42%; width: clamp(50px, 7vw, 100px); animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(-4deg); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

/* Main hero image - clean, no circle, soft drop-shadow only. */
.hero__media {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.hero__product {
  position: relative;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: floatArt 7s ease-in-out infinite;
}
.hero__product img {
  display: block;
  width: 100%;
  max-width: clamp(220px, 36vw, 420px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(26, 36, 22, 0.22));
}
.hero__badge {
  position: absolute;
  top: -6px; right: -6px;
  width: clamp(56px, 8vw, 96px);
  animation: spin 16s linear infinite;
  filter: drop-shadow(0 8px 20px rgba(26, 36, 22, 0.18));
}
.hero__badge img { width: 100%; height: auto; }

.hero__copy {
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__copy .eyebrow { justify-content: center; }
.hero__copy h1 {
  margin: 0.75rem 0 1rem;
  line-height: 1.05;
}
.hero__copy h1 em { color: var(--green-700); font-style: italic; }

.hero__lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.55;
}

.hero__cta {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center;
  margin: clamp(1.5rem, 3vw, 2rem) 0 clamp(2rem, 4vw, 2.75rem);
}

.hero__stats {
  list-style: none; padding: 0; margin: 0;
  width: 100%;
  max-width: 720px;
  display: flex; flex-wrap: wrap; gap: 1.25rem 3rem;
  justify-content: center;
  border-top: 1px dashed var(--border);
  padding-top: clamp(1.5rem, 3vw, 1.85rem);
  margin-top: clamp(0.5rem, 1.5vw, 1rem);
}
.hero__stats li {
  display: flex; flex-direction: column; align-items: center;
}
.hero__stats strong {
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: var(--green-700);
  line-height: 1;
}
.hero__stats span { font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; letter-spacing: 0.02em; }

@keyframes floatArt {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ----------------------------------------Trust strip */

.trust {
  position: relative;
  margin-top: -2.5rem;
}
.trust__grid {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.trust__item {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background var(--t);
}
.trust__item:hover { background: var(--green-50); }
.trust__item img {
  width: 56px; height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.trust__item h4 {
  margin: 0 0 0.15rem;
  font-size: 0.78rem;
  color: var(--ink);
}
.trust__item p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* ----------------------------------------Categories */

.cats { padding: clamp(4rem, 8vw, 6rem) 0; }

.cats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.cat-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
}
.cat-card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--cat-bg, var(--green-50));
  opacity: 0;
  transition: opacity var(--t);
  z-index: 0;
}
.cat-card > * { position: relative; z-index: 1; }
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.cat-card:hover::before { opacity: 1; }

.cat-card--sun    { --cat-bg: #fef3d3; }
.cat-card--peas   { --cat-bg: #e1efce; }
.cat-card--rad    { --cat-bg: #fbe0dd; }
.cat-card--select { --cat-bg: #def2f0; }

.cat-card__img {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.cat-card__img img {
  max-height: 100%;
  width: auto;
  filter: drop-shadow(0 18px 24px rgba(26, 36, 22, 0.18));
  transition: transform var(--t);
}
.cat-card:hover .cat-card__img img { transform: scale(1.06) rotate(-2deg); }

.cat-card h3 { margin-bottom: 0.4rem; }
.cat-card p {
  font-size: 0.9rem;
  color: var(--ink-2);
  margin-bottom: 1rem;
  flex: 1;
}
.cat-card__cta {
  font-weight: 600;
  color: var(--green-700);
  font-size: 0.9rem;
}

/* ----------------------------------------Products */

.products {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.filter {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--cream);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink-2);
  transition: background var(--t), color var(--t);
  border: 1px solid var(--border);
}
.filter:hover { background: var(--green-50); color: var(--green-700); }
.filter.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.product {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
  border: 1px solid var(--border);
}
.product.is-hidden { display: none; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.product__media {
  position: relative;
  background: linear-gradient(135deg, #f6f0db 0%, #ece4ca 100%);
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product__media img {
  width: 78%; height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(26, 36, 22, 0.18));
  transition: transform var(--t);
}
.product:hover .product__media img { transform: scale(1.06) rotate(-3deg); }

.product__tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink);
  color: var(--cream);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.product__tag--protein { background: var(--green-700); }
.product__tag--spicy { background: var(--rose); }
.product__tag--new { background: var(--amber); color: var(--ink); }

.product__body {
  padding: 1.1rem 1.2rem 0.6rem;
  display: flex; flex-direction: column;
  flex: 1;
}
.product__body h3 { margin-bottom: 0.15rem; }
.product__sub { color: var(--muted); font-size: 0.85rem; margin: 0 0 1rem; }
.product__foot {
  margin-top: auto;
  padding: 0 1.2rem 1.3rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem;
}
.price {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
}
.price small { font-weight: 500; font-size: 0.7rem; color: var(--muted); margin-left: 2px; }

/* ----------------------------------------About / microgreens */

.about { padding: clamp(4rem, 8vw, 6rem) 0; }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }

.about__chip {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  box-shadow: var(--shadow-md);
}
.about__chip strong {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  color: var(--green-700);
  line-height: 1;
}
.about__chip span { font-size: 0.85rem; color: var(--ink-2); }

.about__copy h2 { margin: 1rem 0; }
.about__copy h2 em { color: var(--green-700); font-style: italic; }
.about__copy p { font-size: 1.02rem; }
.about__copy .btn { margin-top: 1rem; }

/* ----------------------------------------Benefits */

.benefits {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background:
    radial-gradient(60% 80% at 100% 0%, var(--green-50) 0%, transparent 60%),
    var(--cream-2);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.benefit {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform var(--t);
}
.benefit:hover { transform: translateY(-4px); }
.benefit__num {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.benefit__num img {
  width: 64px; height: 64px;
  object-fit: contain;
}
.benefit h3 { margin-bottom: 0.6rem; }
.benefit p { color: var(--ink-2); margin-bottom: 0; }

/* ----------------------------------------Testimonials */

.testimonials { padding: clamp(4rem, 8vw, 6rem) 0; }

.t-slider {
  position: relative;
}
.t-slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% -  2 * 1.25rem) / 3);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  padding: 1rem 0.5rem 2rem;
  scrollbar-width: none;
}
.t-slider__track::-webkit-scrollbar { display: none; }

.t-card {
  scroll-snap-align: start;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.t-card__stars {
  color: var(--amber);
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
}
.t-card p {
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  flex: 1;
}
.t-card footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  display: flex; flex-direction: column;
}
.t-card footer strong { color: var(--ink); font-weight: 700; }
.t-card footer span { font-size: 0.82rem; color: var(--muted); }

.t-slider__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
  transition: background var(--t), color var(--t), transform var(--t);
}
.t-slider__nav:hover { background: var(--ink); color: var(--cream); }
.t-slider__nav svg { width: 20px; height: 20px; }
.t-slider__nav--prev { left: -16px; }
.t-slider__nav--next { right: -16px; }

/* ----------------------------------------FAQ */

.faq {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--paper);
  border-top: 1px solid var(--border);
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.faq__intro { position: relative; }
.faq__intro h2 { margin: 1rem 0; }
.faq__intro h2 em { color: var(--green-700); font-style: italic; }
.faq__leaf {
  width: 90px;
  margin-top: 2rem;
  opacity: 0.9;
}

.faq-item {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 0.25rem 1.25rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  transition: background var(--t), border-color var(--t);
}
.faq-item[open] {
  background: var(--green-50);
  border-color: var(--green);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--green);
  position: relative;
  transition: transform var(--t), background var(--t);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
}
.faq-item__icon::before {
  top: 50%; left: 25%; right: 25%;
  height: 2px;
  transform: translateY(-50%);
}
.faq-item__icon::after {
  left: 50%; top: 25%; bottom: 25%;
  width: 2px;
  transform: translateX(-50%);
  transition: transform var(--t), opacity var(--t);
}
.faq-item[open] .faq-item__icon::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }

.faq-item__body {
  padding: 0 0 1.1rem;
  color: var(--ink-2);
}
.faq-item__body p { margin: 0; }

/* ----------------------------------------Newsletter */

.newsletter {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.newsletter__inner {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 100%);
  border-radius: var(--radius-xl);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.newsletter__inner::before {
  content: "";
  position: absolute; inset: -20% -10% auto auto;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255,255,255,0.18), transparent 70%);
}

.newsletter__copy h2 { color: #fff; margin: 0 0 0.5rem; }
.newsletter__copy p { color: rgba(255, 255, 255, 0.85); margin: 0; }

.newsletter__form {
  position: relative; z-index: 1;
  display: flex; gap: 0.5rem;
  flex-wrap: wrap;
}
.newsletter__form input {
  flex: 1; min-width: 200px;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  color: var(--ink);
}
.newsletter__form input:focus {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
.newsletter__msg {
  width: 100%;
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  min-height: 1.2em;
}

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

.site-footer {
  background: var(--ink);
  color: var(--cream-2);
  padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
  margin-top: 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__brand img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}
.site-footer__brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  max-width: 320px;
  margin-bottom: 1.25rem;
}

.socials { display: flex; gap: 0.5rem; }
.socials a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background var(--t), transform var(--t);
}
.socials a:hover { background: var(--green); color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

.site-footer h4 {
  color: #fff;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
}
.site-footer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.site-footer ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: color var(--t);
}
.site-footer ul a:hover { color: var(--green); }

.site-footer__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
}
.site-footer__bar p { margin: 0; }
.site-footer__bar a:hover { color: var(--green); }
.site-footer__credit { color: rgba(255, 255, 255, 0.5); }
.site-footer__credit a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
  transition: color var(--t), border-color var(--t);
}
.site-footer__credit a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ----------------------------------------Toast */

.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transform: translateY(140%);
  transition: transform 320ms cubic-bezier(.2, .7, .2, 1);
  font-size: 0.92rem;
  display: flex; align-items: center; gap: 0.6rem;
  max-width: calc(100% -  48px);
}
.toast.is-visible { transform: translateY(0); }
.toast::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
}

/* ---- frontend flash banners (after redirect, e.g. contact submit) ---- */
.frontend-flash {
  padding: 1rem 0 0;
}
.frontend-flash .container { display: flex; flex-direction: column; gap: 0.6rem; }
.frontend-flash__item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(15, 28, 18, 0.06);
}
.frontend-flash__item--success { background: #eaf6e0; color: #1f5a1c; border-color: #c1e2a8; }
.frontend-flash__item--error   { background: #fdecec; color: #7a1e1e; border-color: #f0bcbc; }
.frontend-flash__item--info,
.frontend-flash__item--warning { background: #fff5e0; color: #6b4c10; border-color: #f3d690; }
.frontend-flash__icon { display: inline-flex; width: 22px; height: 22px; flex: 0 0 22px; }
.frontend-flash__icon svg { width: 100%; height: 100%; }
.frontend-flash__close {
  margin-left: auto;
  background: transparent; border: 0; cursor: pointer;
  font-size: 1.25rem; line-height: 1; color: inherit; opacity: 0.55;
  width: 28px; height: 28px; border-radius: 8px;
}
.frontend-flash__close:hover { opacity: 1; background: rgba(0,0,0,0.05); }

/* ----------------------------------------Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .7, .2, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .hero__product, .hero__leaf, .hero__badge { animation: none !important; }
}

/* ================================================================
   Responsive breakpoints
   ================================================================ */

@media (max-width: 1100px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .cats__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .t-slider__track { grid-auto-columns: calc((100% -  1.25rem) / 2); }
  .site-footer__grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .hamburger { display: inline-flex; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    inset: 64px 0 auto 0;
    background: var(--cream);
    padding: 1rem var(--space) 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 50;
  }
  .nav.is-open a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 1.05rem;
  }
  .nav.is-open a:last-child { border-bottom: 0; }
  .nav.is-open a::after { display: none; }

  .hero__product img { max-width: 240px; }
  .hero__stats { gap: 1rem 2rem; max-width: 480px; }
  .hero__cta { margin: 1.25rem 0 2rem; }
  .hero__leaf--3 { display: none; }
  .hero--has-bg .hero__bg::after {
    background:
      radial-gradient(140% 90% at 50% 0%, rgba(15, 28, 18, 0.15) 0%, rgba(15, 28, 18, 0) 60%),
      linear-gradient(180deg, rgba(252, 248, 232, 0.88) 0%, rgba(244, 238, 217, 0.95) 100%);
  }

  .products__grid { grid-template-columns: repeat(2, 1fr); }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4 / 3; max-width: 600px; margin-inline: auto; }

  .benefits__grid { grid-template-columns: 1fr; }

  .t-slider__track { grid-auto-columns: 80%; }
  .t-slider__nav { display: none; }

  .faq__grid { grid-template-columns: 1fr; }

  .newsletter__inner { grid-template-columns: 1fr; text-align: center; }
  .newsletter__form { justify-content: center; }
  .newsletter__inner::before { width: 80%; }

  .site-footer__grid { grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)); gap: 1rem; font-size: .92rem; }
}

@media (max-width: 720px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .announce__row { font-size: 0.78rem; gap: 0.5rem; }
  .announce__row p { display: none; }

  .trust__grid { grid-template-columns: 1fr; padding: 1rem; }
  .cats__grid { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: 1fr; }
  .t-slider__track { grid-auto-columns: 90%; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer__bar { flex-direction: column; text-align: center; }

  .toast { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
}

/* ================================================================
   Sub-pages: shared page hero + breadcrumbs
   ================================================================ */

.page-hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(60% 80% at 0% 0%, var(--green-50) 0%, transparent 60%),
    radial-gradient(70% 80% at 100% 100%, #f4eed9 0%, transparent 60%),
    var(--cream);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero__leaf {
  position: absolute;
  pointer-events: none;
  opacity: 0.7;
  filter: drop-shadow(0 12px 22px rgba(79, 131, 56, 0.2));
}
.page-hero__leaf--1 { top: 12%; right: 4%; width: clamp(80px, 10vw, 140px); transform: rotate(20deg); }
.page-hero__leaf--2 { bottom: 10%; left: 4%; width: clamp(60px, 7vw, 90px); transform: rotate(-15deg); }

.page-hero__inner { position: relative; text-align: center; }
.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin: 1rem 0 0.6rem;
}
.page-hero h1 em { color: var(--green-700); font-style: italic; }
.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-2);
  font-size: 1.05rem;
}

.crumbs {
  display: inline-flex; flex-wrap: wrap;
  align-items: center; gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.crumbs a { color: var(--ink-2); transition: color var(--t); }
.crumbs a:hover { color: var(--green-700); }
.crumbs span[aria-current] { color: var(--green-700); font-weight: 600; }
.crumbs svg { width: 14px; height: 14px; opacity: 0.55; }

/* ================================================================
   Shop page
   ================================================================ */

.shop { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 6rem); }

.shop__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.shop__sidebar {
  position: sticky; top: 88px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.facet { padding: 0.75rem 0; border-bottom: 1px dashed var(--border); }
.facet:last-child { border-bottom: 0; }
.facet h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.85rem;
}
.facet ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.facet label {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--ink-2);
  cursor: pointer;
  padding: 0.25rem 0;
  transition: color var(--t);
}
.facet label:hover { color: var(--green-700); }
.facet input[type="checkbox"], .facet input[type="radio"] {
  appearance: none;
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-radius: 5px;
  display: inline-grid; place-items: center;
  cursor: pointer;
  transition: background var(--t), border-color var(--t);
  flex-shrink: 0;
}
.facet input[type="radio"] { border-radius: 999px; }
.facet input:checked {
  background: var(--green-700);
  border-color: var(--green-700);
}
.facet input[type="checkbox"]:checked::after {
  content: "";
  width: 10px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.facet input[type="radio"]:checked::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #fff;
}
.facet .count { margin-left: auto; color: var(--muted); font-size: 0.8rem; }

.facet--price { display: flex; flex-direction: column; gap: 0.5rem; }
.facet--price .row { display: flex; gap: 0.5rem; }
.facet--price input[type="number"] {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}
.facet--price input[type="number"]:focus { outline: 2px solid var(--green); border-color: var(--green-700); }

.shop__toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.shop__count { font-size: 0.92rem; color: var(--ink-2); margin: 0; }
.shop__count strong { color: var(--ink); font-weight: 700; }
.shop__tools { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

.sort-select {
  position: relative;
}
.sort-select select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.55rem 2.4rem 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--cream);
  font: inherit;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
}
.sort-select::after {
  content: "";
  position: absolute;
  right: 14px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.view-toggle {
  display: inline-flex;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.view-toggle button {
  width: 36px; height: 32px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: background var(--t), color var(--t);
}
.view-toggle button.is-active { background: var(--ink); color: var(--cream); }
.view-toggle svg { width: 16px; height: 16px; }

.filters-toggle {
  display: none;
  align-items: center; gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 600;
}
.filters-toggle svg { width: 16px; height: 16px; }

.shop__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.shop__grid.is-list {
  grid-template-columns: 1fr;
}
.shop__grid.is-list .product {
  flex-direction: row;
}
.shop__grid.is-list .product__media {
  width: 240px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}
.shop__grid.is-list .product__body {
  padding: 1.5rem 1.75rem;
  justify-content: center;
}
.shop__grid.is-list .product__sub::after {
  content: " -Sveža superhrana iz našeg plastenika u Novom Sadu, bez pesticida.";
  color: var(--muted);
}

.product__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.product__link h3 { transition: color var(--t); }
.product__link:hover h3 { color: var(--green-700); }

/* Empty state */
.shop__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  background: var(--paper);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  display: none;
}
.shop__empty.is-visible { display: block; }
.shop__empty h3 { margin-bottom: 0.5rem; }
.shop__empty p { color: var(--muted); margin: 0 0 1.25rem; }

/* Pagination */
.pagination {
  display: flex; justify-content: center; gap: 0.4rem;
  margin-top: 2.5rem;
}
.pagination a, .pagination span {
  min-width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--ink-2);
  font-weight: 600; font-size: 0.9rem;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.pagination a:hover { border-color: var(--green-700); color: var(--green-700); }
.pagination .is-current {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
}

/* ================================================================
   Single product page
   ================================================================ */

.product-page { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 6rem); }

.pp__layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

/* Gallery */
.pp__gallery {
  position: sticky; top: 88px;
}
.pp__main {
  position: relative;
  background:
    radial-gradient(closest-side at 40% 40%, var(--green-50), transparent 70%),
    linear-gradient(135deg, #f6f0db 0%, #ece4ca 100%);
  border-radius: var(--radius-xl);
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.pp__main::before {
  content: "";
  position: absolute; inset: 8%;
  border: 1px dashed rgba(79, 131, 56, 0.3);
  border-radius: 50%;
}
.pp__main img {
  width: 78%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(26, 36, 22, 0.25));
  transition: opacity 220ms ease;
}
.pp__main img.is-fading { opacity: 0; }

.pp__badge {
  position: absolute;
  top: 16px; right: 16px;
  width: 90px;
  animation: spin 16s linear infinite;
}

.pp__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.pp__thumb {
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  padding: 0.5rem;
  cursor: pointer;
  transition: border-color var(--t), transform var(--t);
}
.pp__thumb:hover { transform: translateY(-2px); }
.pp__thumb.is-active { border-color: var(--green-700); }
.pp__thumb img { max-width: 80%; max-height: 80%; object-fit: contain; }

/* Details */
.pp__details { padding-top: 0.5rem; }

.pp__cat {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-700);
}
.pp__title {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 0 0 0.6rem;
  line-height: 1.05;
}
.pp__rating {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.pp__rating .stars { color: var(--amber); letter-spacing: 0.18em; }

.pp__lede {
  font-size: 1.05rem;
  color: var(--ink-2);
}

.pp__price {
  display: flex; align-items: baseline; gap: 0.6rem;
  margin: 1.25rem 0 0.4rem;
}
.pp__price .now {
  font-family: "Fraunces", serif;
  font-size: 2.4rem; font-weight: 900;
  color: var(--ink);
  line-height: 1;
}
.pp__price .now small { font-weight: 600; font-size: 1rem; color: var(--muted); margin-left: 4px; }
.pp__price .was { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }
.pp__pricenote { color: var(--muted); font-size: 0.82rem; margin: 0 0 1.5rem; }

.pp__options {
  display: flex; flex-direction: column; gap: 1rem;
  margin-bottom: 1.5rem;
}
.pp__option-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink);
  margin-bottom: 0.6rem;
  display: block;
}
.pp__sizes { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pp__size {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--cream);
  border: 2px solid var(--border);
  font-weight: 600; font-size: 0.88rem;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t);
}
.pp__size:hover { border-color: var(--green-700); color: var(--green-700); }
.pp__size.is-active { border-color: var(--ink); background: var(--ink); color: var(--cream); }

.pp__buy {
  display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center;
  margin: 0.5rem 0 2rem;
}
.qty {
  display: inline-flex; align-items: center;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.qty button {
  width: 44px; height: 48px;
  font-size: 1.2rem;
  color: var(--ink);
  transition: background var(--t);
}
.qty button:hover { background: var(--green-50); }
.qty input {
  width: 48px; height: 48px;
  border: 0; background: transparent;
  text-align: center;
  font: inherit; font-weight: 700; color: var(--ink);
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pp__buy .btn--primary { padding: 1rem 1.6rem; }

.pp__meta {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  padding: 1.25rem 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
}
.pp__meta li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.pp__meta svg { width: 18px; height: 18px; color: var(--green-700); flex-shrink: 0; }

/* Tabs */
.pp__tabs {
  margin-top: 1.75rem;
}
.pp__tablist {
  display: flex; gap: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.pp__tab {
  padding: 0.85rem 1.1rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color var(--t), border-color var(--t);
}
.pp__tab.is-active { color: var(--ink); border-bottom-color: var(--green-700); }
.pp__tabpanel { display: none; padding: 1.25rem 0 0; color: var(--ink-2); }
.pp__tabpanel.is-active { display: block; }
.pp__tabpanel ul { padding-left: 1.1rem; margin: 0.5rem 0; }
.pp__tabpanel li { margin-bottom: 0.35rem; }

/* Nutrition table */
.nutrition {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.nutrition__title {
  padding: 0.85rem 1.1rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.nutrition table {
  width: 100%; border-collapse: collapse;
}
.nutrition td, .nutrition th {
  padding: 0.7rem 1.1rem;
  text-align: left;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink-2);
}
.nutrition tr:last-child td { border-bottom: 0; }
.nutrition td:last-child { text-align: right; font-weight: 700; color: var(--ink); }
.nutrition th { color: var(--muted); font-weight: 600; }

/* Related */
.related {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--paper);
  border-top: 1px solid var(--border);
}

/* ================================================================
   Contact page
   ================================================================ */

.contact { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 6rem); }

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.contact__info {
  background: linear-gradient(160deg, var(--ink) 0%, #2a3925 100%);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
}
.contact__info::before {
  content: "";
  position: absolute; right: -30%; top: -20%;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(144, 191, 116, 0.25), transparent 70%);
}
.contact__info > * { position: relative; }
.contact__info h2 { color: #fff; margin-top: 0.5rem; }
.contact__info p { color: rgba(255, 255, 255, 0.78); }

.contact__list {
  list-style: none; padding: 0; margin: 1.5rem 0;
  display: flex; flex-direction: column; gap: 1rem;
}
.contact__list li {
  display: flex; gap: 0.85rem; align-items: flex-start;
}
.contact__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(144, 191, 116, 0.18);
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact__icon svg { width: 18px; height: 18px; }
.contact__list h4 {
  margin: 0 0 0.1rem;
  color: #fff;
  font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact__list a, .contact__list span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  transition: color var(--t);
}
.contact__list a:hover { color: var(--green); }

.contact__hours {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1rem;
  padding: 1.1rem 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}
.contact__hours dt { font-weight: 600; }
.contact__hours dd { margin: 0; color: rgba(255, 255, 255, 0.7); text-align: right; }

.contact__socials { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.contact__socials a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background var(--t), transform var(--t);
}
.contact__socials a:hover { background: var(--green); color: var(--ink); transform: translateY(-2px); }
.contact__socials svg { width: 18px; height: 18px; }

.contact__leaf {
  position: absolute;
  bottom: -10px; right: -10px;
  width: 140px;
  opacity: 0.35;
  transform: rotate(20deg);
}

/* Form */
.contact__form {
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact__form h2 { margin-top: 0.25rem; }

.field {
  margin-bottom: 1rem;
  position: relative;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--cream);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--green-700);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(144, 191, 116, 0.18);
}
.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field--checkbox {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.88rem; color: var(--ink-2);
}
.field--checkbox input { width: 18px; height: 18px; margin-top: 2px; }
.field--checkbox a { color: var(--green-700); font-weight: 600; }
.field__msg {
  font-size: 0.82rem;
  color: var(--rose);
  margin-top: 0.35rem;
  display: none;
}
.field.is-error input, .field.is-error textarea {
  border-color: var(--rose);
  background: #fff;
}
.field.is-error .field__msg { display: block; }

.form__status {
  min-height: 1.5em;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  display: none;
}
.form__status.is-success {
  display: block;
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green);
}
.form__status.is-error {
  display: block;
  background: #fdeded;
  color: #a23f3f;
  border: 1px solid #f4cdcd;
}
.form__status.is-pending {
  display: block;
  background: #fff5e0;
  color: #6b4c10;
  border: 1px solid #f3d690;
}

/* Map placeholder */
.map {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background:
    repeating-linear-gradient(45deg, #e8e0c8 0 14px, #e2dabe 14px 28px),
    var(--cream-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.map__pin {
  background: var(--paper);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
.map__pin svg { width: 28px; height: 28px; color: var(--green-700); }
.map__pin strong { font-family: "Fraunces", serif; font-size: 1.2rem; }
.map__pin span { font-size: 0.85rem; color: var(--muted); }

/* ================================================================
   Sub-pages responsive
   ================================================================ */

@media (max-width: 1100px) {
  .shop__layout { grid-template-columns: 240px 1fr; }
  .shop__grid { grid-template-columns: repeat(2, 1fr); }

  .pp__layout { grid-template-columns: 1fr; }
  .pp__gallery { position: static; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .shop__layout { grid-template-columns: 1fr; }
  .shop__sidebar {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(90%, 360px);
    z-index: 80;
    border-radius: 0;
    transform: translateX(100%);
    transition: transform 280ms cubic-bezier(.2,.7,.2,1);
    overflow-y: auto;
    padding-top: 4.5rem;
  }
  .shop__sidebar.is-open { transform: none; }
  .shop__sidebar-close {
    position: absolute; top: 16px; right: 16px;
    width: 40px; height: 40px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center;
  }
  .shop__sidebar-close svg { width: 18px; height: 18px; }
  .filters-toggle { display: inline-flex; }
  .shop__overlay {
    position: fixed; inset: 0;
    background: rgba(26, 36, 22, 0.5);
    z-index: 70;
    opacity: 0; pointer-events: none;
    transition: opacity 220ms ease;
  }
  .shop__overlay.is-visible { opacity: 1; pointer-events: auto; }

  .shop__grid.is-list .product { flex-direction: column; }
  .shop__grid.is-list .product__media { width: 100%; }

  .contact__layout { grid-template-columns: 1fr; }
  .contact__info::before { width: 50%; right: -20%; }
}

@media (max-width: 560px) {
  .shop__grid { grid-template-columns: 1fr; }

  .pp__main { aspect-ratio: 4 / 3.5; }
  .pp__thumbs { grid-template-columns: repeat(4, 1fr); }
  .pp__meta { grid-template-columns: 1fr; }
  .pp__buy { width: 100%; }
  .pp__buy .btn--primary { flex: 1; }

  .field--row { grid-template-columns: 1fr; }
}

/* ================================================================
   Empty cart count badge
   ================================================================ */
.cart-count.is-empty {
  background: var(--muted);
  opacity: 0.7;
}

/* ================================================================
   Cart page
   ================================================================ */

.cart { padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 6rem); }

.cart__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.cart__items {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cart__head {
  display: grid;
  grid-template-columns: 1fr 130px 110px 130px 40px;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  align-items: center;
}
.cart__head span:nth-child(2),
.cart__head span:nth-child(3),
.cart__head span:nth-child(4) { text-align: center; }

.cart-line {
  display: grid;
  grid-template-columns: 1fr 130px 110px 130px 40px;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.cart-line:last-child { border-bottom: 0; }

.cart-line__product {
  display: flex; align-items: center; gap: 1rem;
  min-width: 0;
}
.cart-line__thumb {
  width: 84px; height: 84px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f6f0db 0%, #ece4ca 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 0.5rem;
}
.cart-line__thumb img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(26, 36, 22, 0.2));
}
.cart-line__info { min-width: 0; }
.cart-line__info h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-family: "Fraunces", serif;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-line__info a { color: inherit; transition: color var(--t); }
.cart-line__info a:hover { color: var(--green-700); }
.cart-line__sub {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.cart-line__price,
.cart-line__total {
  text-align: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}
.cart-line__total { color: var(--green-700); }

.cart-line .qty {
  margin: 0 auto;
}
.cart-line .qty button { width: 36px; height: 40px; }
.cart-line .qty input { width: 40px; height: 40px; }

.cart-line__remove {
  width: 36px; height: 36px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted);
  background: transparent;
  margin: 0 auto;
  transition: background var(--t), color var(--t);
}
.cart-line__remove:hover { background: #fdeded; color: #a23f3f; }
.cart-line__remove svg { width: 18px; height: 18px; }

.cart__footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cart__footer .btn { padding: 0.55rem 1.05rem; font-size: 0.85rem; }

/* Cart empty state */
.cart-empty {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  background: var(--paper);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}
.cart-empty__icon {
  width: 96px; height: 96px;
  margin: 0 auto 1.25rem;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-empty__icon svg { width: 44px; height: 44px; }
.cart-empty h2 { margin: 0 0 0.5rem; }
.cart-empty p { color: var(--muted); margin-bottom: 1.5rem; }

/* Order summary card */
.summary {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 88px;
  box-shadow: var(--shadow-sm);
}
.summary h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.summary__rows {
  list-style: none; padding: 0; margin: 0 0 1rem;
}
.summary__rows li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0;
  font-size: 0.95rem;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--border);
}
.summary__rows li:last-child { border-bottom: 0; }
.summary__rows li strong { color: var(--ink); font-weight: 600; }
.summary__rows .free {
  color: var(--green-700);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.summary__total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
  margin-top: 0.5rem;
}
.summary__total .label {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.summary__total .value {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--ink);
}
.summary__total .value small {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  margin-left: 4px;
}

.summary__cta {
  margin-top: 1.25rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.summary__cta .btn { width: 100%; }

.summary__perks {
  margin-top: 1.25rem;
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.summary__perks li {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--ink-2);
}
.summary__perks svg {
  width: 18px; height: 18px; color: var(--green-700);
  flex-shrink: 0;
}

/* Promo code */
.promo {
  display: flex; gap: 0.4rem;
  margin-bottom: 1rem;
}
.promo input {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--cream);
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
}
.promo input:focus { outline: 2px solid var(--green); border-color: var(--green-700); }
.promo button {
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background var(--t);
}
.promo button:hover { background: var(--green-700); }
.promo__msg {
  margin: 0.5rem 0 1rem;
  font-size: 0.82rem;
  min-height: 1em;
}
.promo__msg.is-ok { color: var(--green-700); }
.promo__msg.is-err { color: var(--rose); }

/* Mini line items inside summary (used on checkout) */
.mini-lines {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.6rem;
  margin: 0 0 1rem;
  max-height: 280px;
  overflow-y: auto;
}
.mini-lines li {
  display: flex; align-items: center; gap: 0.75rem;
  padding-right: 0.25rem;
}
.mini-line__thumb {
  position: relative;
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #f6f0db 0%, #ece4ca 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 0.3rem;
}
.mini-line__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mini-line__qty {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 22px; height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.72rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.mini-line__name {
  flex: 1;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 500;
  min-width: 0;
}
.mini-line__name span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
}
.mini-line__price {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  white-space: nowrap;
}

/* ================================================================
   Checkout page
   ================================================================ */

.checkout { padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 6rem); }

.checkout__layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.checkout-section {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
}
.checkout-section__head {
  display: flex; align-items: center; gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.checkout-section__num {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.checkout-section__head h2 {
  margin: 0;
  font-size: 1.3rem;
}
.checkout-section__head p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  margin-left: auto;
}

/* Radio cards (payment / shipping method) */
.choice-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.choice {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--cream);
  transition: border-color var(--t), background var(--t);
}
.choice:hover { border-color: var(--green); }
.choice input[type="radio"] {
  appearance: none;
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 999px;
  display: inline-grid; place-items: center;
  flex-shrink: 0;
  transition: border-color var(--t);
}
.choice input[type="radio"]:checked {
  border-color: var(--green-700);
}
.choice input[type="radio"]:checked::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--green-700);
}
.choice:has(input:checked) {
  border-color: var(--green-700);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(144, 191, 116, 0.18);
}
.choice__icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.choice__icon svg { width: 20px; height: 20px; }
.choice__body { flex: 1; min-width: 0; }
.choice__body strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
}
.choice__body span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}
.choice__price {
  font-family: "Fraunces", serif;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.choice__price.free {
  color: var(--green-700);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

/* Place order panel */
.place-order {
  display: flex; flex-direction: column; gap: 0.75rem;
  margin-top: 1rem;
}
.place-order .btn--primary {
  padding: 1.1rem 1.6rem;
  font-size: 1rem;
}

/* ================================================================
   Thank you page
   ================================================================ */

.thanks {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem);
}

.thanks-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.thanks-card::before {
  content: "";
  position: absolute;
  top: -40%; left: 50%;
  width: 120%; aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--green-50) 0%, transparent 70%);
  pointer-events: none;
}
.thanks-card > * { position: relative; }

.thanks__check {
  width: 96px; height: 96px;
  margin: 0 auto 1.5rem;
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 30px -10px rgba(79, 131, 56, 0.6);
  animation: pop 540ms cubic-bezier(.2, .9, .3, 1.4) both;
}
.thanks__check svg {
  width: 48px; height: 48px;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: draw 700ms 280ms ease-out forwards;
}

@keyframes pop {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.thanks__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.5rem;
}
.thanks__title em { color: var(--green-700); font-style: italic; }
.thanks__lede {
  font-size: 1.05rem;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
}

.thanks__order {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: var(--cream);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.75rem;
}
.thanks__order div {
  display: flex; flex-direction: column;
}
.thanks__order span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.thanks__order strong {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  color: var(--ink);
}

.thanks__steps {
  list-style: none; padding: 0; margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 600px;
}
.thanks__step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 1rem 0.75rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.thanks__step .num {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.thanks__step strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.thanks__step span {
  font-size: 0.8rem;
  color: var(--muted);
}

.thanks__cta {
  display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center;
  margin-top: 1rem;
}

/* Order summary recap below thanks card */
.thanks-recap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.thanks-recap h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}

/* ================================================================
   404 page
   ================================================================ */

.notfound {
  position: relative;
  min-height: calc(100vh - 200px);
  display: flex; align-items: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 100% 0%, var(--green-50) 0%, transparent 60%),
    radial-gradient(70% 80% at 0% 100%, #f4eed9 0%, transparent 60%),
    var(--cream);
}
.notfound__leaf {
  position: absolute;
  pointer-events: none;
  opacity: 0.85;
  filter: drop-shadow(0 12px 22px rgba(79, 131, 56, 0.25));
  animation: float 9s ease-in-out infinite;
}
.notfound__leaf--1 { top: 8%; left: 6%; width: clamp(80px, 11vw, 160px); animation-delay: 0s; }
.notfound__leaf--2 { top: 18%; right: 8%; width: clamp(70px, 9vw, 140px); animation-delay: -2s; transform: rotate(20deg); }
.notfound__leaf--3 { bottom: 10%; left: 14%; width: clamp(60px, 8vw, 110px); animation-delay: -4s; }
.notfound__leaf--4 { bottom: 12%; right: 12%; width: clamp(60px, 7vw, 100px); animation-delay: -3s; transform: rotate(-12deg); }

.notfound__inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.notfound__code {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(7rem, 22vw, 16rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--ink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 0.5rem;
}

.notfound__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 0.75rem;
}
.notfound__title em { color: var(--green-700); font-style: italic; }

.notfound__lede {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.notfound__cta {
  display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 2rem;
}

.notfound__links {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.notfound__links a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.88rem;
  transition: border-color var(--t), color var(--t), transform var(--t);
}
.notfound__links a:hover {
  border-color: var(--green-700);
  color: var(--green-700);
  transform: translateY(-2px);
}

/* ================================================================
   Cart / checkout responsive
   ================================================================ */

@media (max-width: 1100px) {
  .cart__layout { grid-template-columns: 1fr 340px; }
  .checkout__layout { grid-template-columns: 1fr 360px; }
}

@media (max-width: 860px) {
  .cart__layout { grid-template-columns: 1fr; }
  .checkout__layout { grid-template-columns: 1fr; }
  .summary { position: static; }

  .cart__head { display: none; }
  .cart-line {
    grid-template-columns: 84px 1fr 36px;
    grid-template-areas:
      "thumb info remove"
      "thumb meta meta";
    gap: 0.6rem 0.85rem;
    padding: 1rem;
  }
  .cart-line__product { display: contents; }
  .cart-line__thumb { grid-area: thumb; width: 84px; height: 84px; }
  .cart-line__info { grid-area: info; }
  .cart-line__remove { grid-area: remove; margin: 0 0 0 auto; }
  .cart-line__meta {
    grid-area: meta;
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.5rem;
  }
  .cart-line__price,
  .cart-line__total {
    text-align: left;
    font-size: 0.95rem;
  }
  .cart-line .qty { margin: 0; }

  .thanks__steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .summary { padding: 1.25rem; }
  .checkout-section { padding: 1.25rem; }
  .checkout-section__head p { width: 100%; margin-left: 48px; }
  .field--row { grid-template-columns: 1fr; }
  .thanks-card { padding: 1.75rem 1.25rem; }
  .thanks__order { flex-direction: column; gap: 0.6rem; padding: 1rem; }
  .notfound__cta .btn { flex: 1 1 100%; }
}

/* Pravne / informativne podstranice (richtext) */
.rich-section {
  padding: clamp(2rem, 5vw, 2.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: var(--bg, #F4F2E8);
}
.rich-section .rich,
.rich-section .legal-prose {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-2, #3a4a32);
}
.rich-section .rich > *:first-child { margin-top: 0; }
/* Uvod (npr. „Datum poslednje izmene…") */
.legal-page .rich-section .rich > p:first-of-type {
  font-size: 0.9rem;
  color: var(--muted, #6f7a64);
  margin-bottom: 1.25rem;
}
.rich-section .rich h2 {
  margin: 2.25rem 0 0.75rem;
  padding-top: 0.25rem;
  font: 700 1.35rem "Fraunces", Georgia, serif;
  color: var(--deep, #4F8338);
  line-height: 1.3;
}
.rich-section .rich h2:first-of-type { margin-top: 0.5rem; }
.rich-section .rich h3 {
  margin: 1.5rem 0 0.5rem;
  font: 600 1.05rem "Plus Jakarta Sans", sans-serif;
  color: var(--ink, #1A2416);
}
.rich-section .rich p { margin: 0 0 1rem; }
.rich-section .rich ul,
.rich-section .rich ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}
.rich-section .rich li { margin-bottom: 0.4rem; }
.rich-section .rich li::marker { color: var(--green-700, #4F8338); }
.rich-section .rich a {
  color: var(--deep, #4F8338);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rich-section .rich a:hover { color: var(--green-700, #3f6b2c); }
.rich-section .rich strong { color: var(--ink, #1A2416); font-weight: 600; }

@media (max-width: 640px) {
  .rich-section .rich,
  .rich-section .legal-prose {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .rich-section .rich h2 { font-size: 1.2rem; }
}
