/*
Theme Name: BloeiGeluk
Theme URI: https://bloeigeluk.nl
Author: BloeiGeluk
Description: Luxe botanisch WooCommerce thema – IKEA-stijl editorial meets Kärcher premium UI.
Version: 2.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
WooCommerce: true
Text Domain: bloeigeluk
Tags: woocommerce, e-commerce, custom-logo, full-width-template, responsive
*/

/* ============================================================
   FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --forest:        #1a2e22;
  --moss:          #2d5a3d;
  --sage:          #5e8e6e;
  --mint:          #a8d4b4;
  --cream:         #f8f5ef;
  --petal:         #fdf0e8;
  --terra:         #c46a3a;
  --terra-light:   #e8a070;
  --white:         #ffffff;
  --ink:           #111111;
  --ink-60:        #666666;
  --ink-30:        #cccccc;
  --border:        #e8e2d9;

  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', system-ui, sans-serif;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-full:   9999px;

  --shadow-sm:     0 1px 4px rgba(0,0,0,.06);
  --shadow-md:     0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:     0 16px 48px rgba(0,0,0,.14);
  --shadow-hover:  0 24px 64px rgba(0,0,0,.18);

  --ease-spring:   cubic-bezier(.34,1.56,.64,1);
  --ease-out:      cubic-bezier(.22,1,.36,1);

  --max-w:         1380px;
  --gutter:        clamp(1rem, 4vw, 2.5rem);

  --header-h:      72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section        { padding-block: clamp(4rem, 8vw, 8rem); }
.section--sm    { padding-block: clamp(2rem, 4vw, 4rem); }
.section--xs    { padding-block: clamp(1rem, 2vw, 2rem); }
.section--dark  { background: var(--forest); color: var(--white); }
.section--cream { background: var(--cream); }
.section--petal { background: var(--petal); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; }

.display-xl { font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 700; }
.display-lg { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 700; }
.display-md { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 600; }
.display-sm { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: .75rem;
}
.eyebrow--light { color: var(--mint); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: .01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s var(--ease-out);
  white-space: nowrap;
}
.btn--primary   { background: var(--forest); color: var(--white); }
.btn--primary:hover { background: var(--moss); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--terra     { background: var(--terra); color: var(--white); }
.btn--terra:hover { background: #b85e30; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline   { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: var(--white); }
.btn--outline-w { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--outline-w:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--sm        { padding: .6rem 1.4rem; font-size: .82rem; }
.btn--lg        { padding: 1.1rem 2.8rem; font-size: 1rem; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--forest);
  color: var(--white);
  font-size: .78rem;
  font-weight: 500;
  text-align: center;
  padding: .55rem var(--gutter);
  letter-spacing: .03em;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; max-width: var(--max-w); margin: auto; gap: 1rem; }
.topbar__links { display: flex; gap: 1.5rem; }
.topbar__links a:hover { text-decoration: underline; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  gap: 1.5rem;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: .75rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--forest); }
.site-logo__icon { width: 36px; height: 36px; background: var(--forest); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; flex-shrink: 0; }

/* Primary Nav */
.primary-nav { display: flex; align-items: center; justify-content: center; gap: .25rem; }
.primary-nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
  padding: .4rem .85rem;
  border-radius: var(--radius-sm);
  transition: all .2s;
  white-space: nowrap;
}
.primary-nav a:hover, .primary-nav a.active { background: var(--cream); color: var(--moss); }

/* Header Actions */
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; }
.header-icon-btn {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background .2s;
  font-size: 1.1rem;
}
.header-icon-btn:hover { background: var(--cream); }
.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  width: 18px; height: 18px;
  background: var(--terra);
  color: var(--white);
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* Mobile hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none; padding: .5rem; border-radius: var(--radius-sm); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--white);
  display: flex; flex-direction: column;
  padding: 2rem var(--gutter);
  transform: translateX(100%);
  transition: transform .35s var(--ease-out);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__close { align-self: flex-end; font-size: 1.5rem; background: none; border: none; cursor: pointer; padding: .25rem .5rem; color: var(--ink); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.mobile-menu nav a { font-size: 1.5rem; font-family: var(--font-display); font-weight: 600; color: var(--forest); }
.mobile-menu nav a:hover { color: var(--terra); }

/* ============================================================
   HERO — full-screen editorial
   ============================================================ */
.hero {
  position: relative;
  height: calc(100svh - var(--header-h));
  min-height: 580px;
  max-height: 920px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--forest) 0%, var(--moss) 55%, var(--sage) 100%);
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: center;
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,30,20,.85) 0%, rgba(15,30,20,.35) 50%, transparent 100%);
}

.hero__content {
  position: relative; z-index: 2;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  padding-top: 2rem;
  max-width: 720px;
}

.hero__eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mint); display: block; margin-bottom: 1rem; }

.hero__title {
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero__title em { color: var(--terra-light); font-style: italic; }

.hero__sub { font-size: clamp(.95rem, 1.5vw, 1.15rem); color: rgba(255,255,255,.8); max-width: 520px; margin-bottom: 2rem; line-height: 1.7; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__scroll {
  position: absolute;
  bottom: 2.5rem; right: var(--gutter);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5);
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100%{transform:scaleY(1);opacity:.5} 50%{transform:scaleY(1.2);opacity:1} }

/* ============================================================
   USP STRIP
   ============================================================ */
.usp-strip { background: var(--forest); color: var(--white); }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.usp-item { display: flex; align-items: center; gap: 1rem; }
.usp-item__icon { font-size: 1.5rem; flex-shrink: 0; }
.usp-item__label { font-weight: 600; font-size: .9rem; }
.usp-item__desc  { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: .1rem; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.section-head__title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--forest); margin-top: .25rem; }
.section-head__link { font-size: .85rem; font-weight: 600; color: var(--sage); display: inline-flex; align-items: center; gap: .3rem; transition: gap .2s; }
.section-head__link:hover { gap: .6rem; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out);
  height: 100%;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.product-card__media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream);
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.product-card:hover .product-card__media img { transform: scale(1.07); }

.product-card__badges {
  position: absolute; top: .75rem; left: .75rem;
  display: flex; flex-direction: column; gap: .35rem;
}
.badge { display: inline-block; padding: .2rem .65rem; border-radius: var(--radius-full); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge--sale  { background: var(--terra); color: var(--white); }
.badge--new   { background: var(--moss); color: var(--white); }
.badge--hot   { background: #8b5cf6; color: var(--white); }

.product-card__actions {
  position: absolute; bottom: .75rem; right: .75rem;
  display: flex; flex-direction: column; gap: .4rem;
  opacity: 0; transform: translateX(12px);
  transition: all .3s var(--ease-out);
}
.product-card:hover .product-card__actions { opacity: 1; transform: translateX(0); }
.product-card__action-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  box-shadow: var(--shadow-md);
  transition: background .2s, color .2s, transform .2s var(--ease-spring);
  color: var(--ink);
}
.product-card__action-btn:hover { background: var(--forest); color: var(--white); transform: scale(1.1); }

.product-card__body { padding: 1.1rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.product-card__cat  { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); margin-bottom: .35rem; }
.product-card__name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--forest); line-height: 1.25; margin-bottom: .5rem; flex: 1; }
.product-card__name a:hover { color: var(--terra); }
.product-card__stars { color: var(--terra-light); font-size: .8rem; letter-spacing: .05em; margin-bottom: .5rem; }
.product-card__footer { display: flex; justify-content: space-between; align-items: center; margin-top: .75rem; }
.product-card__price { font-size: 1.1rem; font-weight: 700; color: var(--forest); }
.product-card__price del { font-size: .85rem; color: var(--ink-60); font-weight: 400; margin-right: .35rem; }
.product-card__price ins { text-decoration: none; color: var(--terra); }
.product-card__add {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--forest); color: var(--white);
  border: none; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s var(--ease-spring);
}
.product-card__add:hover { background: var(--terra); transform: scale(1.12); }

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel-wrap { position: relative; }
.carousel-track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: .5rem; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { scroll-snap-align: start; flex: 0 0 calc(25% - 1rem); min-width: 240px; }

@media (max-width:1024px) { .carousel-slide { flex: 0 0 calc(33.33% - 1rem); } }
@media (max-width:768px)  { .carousel-slide { flex: 0 0 calc(50% - .75rem); } }
@media (max-width:480px)  { .carousel-slide { flex: 0 0 85%; } }

.carousel-nav { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.5rem; }
.carousel-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--forest);
  transition: all .25s var(--ease-spring);
}
.carousel-btn:hover { background: var(--forest); color: var(--white); border-color: var(--forest); transform: scale(1.08); }

/* Progress dots */
.carousel-dots { display: flex; gap: .4rem; align-items: center; justify-content: center; margin-top: 1.5rem; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-30); cursor: pointer; transition: all .25s; border: none; }
.carousel-dot.active { width: 24px; border-radius: var(--radius-full); background: var(--forest); }

/* ============================================================
   HERO CAROUSEL (full width banners)
   ============================================================ */
.hero-carousel { position: relative; overflow: hidden; }
.hero-carousel__track { display: flex; transition: transform .7s var(--ease-out); }
.hero-carousel__slide { flex: 0 0 100%; }
.hero-carousel__prev,
.hero-carousel__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.hero-carousel__prev { left: 1.5rem; }
.hero-carousel__next { right: 1.5rem; }
.hero-carousel__prev:hover, .hero-carousel__next:hover { background: rgba(255,255,255,.3); }

/* ============================================================
   PROMO GRID (IKEA-style editorial blocks)
   ============================================================ */
.promo-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: repeat(2, 280px); gap: 1rem; }
.promo-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); cursor: pointer; }
.promo-card--tall { grid-row: span 2; }
.promo-card__bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; transition: transform .6s var(--ease-out); }
.promo-card:hover .promo-card__bg { transform: scale(1.05); }
.promo-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.15) 60%, transparent 100%); }
.promo-card__body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; color: var(--white); z-index: 1; }
.promo-card__tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); display: block; margin-bottom: .4rem; }
.promo-card__title { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.2; margin-bottom: .75rem; }
.promo-card__link { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--white); text-decoration: underline; text-underline-offset: 3px; transition: gap .2s; }
.promo-card__link:hover { gap: .7rem; }

@media (max-width: 900px) {
  .promo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .promo-card--tall { grid-row: span 1; }
}
@media (max-width: 600px) {
  .promo-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.cat-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 3/4; display: block; }
.cat-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.cat-card:hover .cat-card__img { transform: scale(1.06); }
.cat-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,30,20,.8) 0%, transparent 60%); }
.cat-card__label { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; color: var(--white); }
.cat-card__name  { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.cat-card__count { font-size: .75rem; color: rgba(255,255,255,.65); margin-top: .15rem; }

/* ============================================================
   SHOP PAGE (Archive)
   ============================================================ */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } }

.shop-sidebar {}
.shop-sidebar__section { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.shop-sidebar__section:last-child { border-bottom: none; }
.shop-sidebar__title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--forest); margin-bottom: 1rem; }

.filter-list { display: flex; flex-direction: column; gap: .5rem; }
.filter-item { display: flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .88rem; color: var(--ink-60); transition: color .2s; }
.filter-item:hover, .filter-item.active { color: var(--forest); font-weight: 600; }
.filter-item input[type=checkbox] { accent-color: var(--moss); width: 16px; height: 16px; }

.price-range { margin-top: .75rem; }
.price-range input[type=range] { width: 100%; accent-color: var(--moss); cursor: pointer; }
.price-range__labels { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-60); margin-top: .4rem; }

.shop-main {}
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: .75rem;
}
.shop-toolbar__count { font-size: .85rem; color: var(--ink-60); }
.shop-toolbar__right { display: flex; align-items: center; gap: .75rem; }
.shop-sort {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .5rem .85rem;
  font-size: .85rem;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.2rem;
}
.view-toggle { display: flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.view-toggle button { border: none; background: var(--white); padding: .5rem .7rem; cursor: pointer; color: var(--ink-60); font-size: .85rem; transition: all .2s; }
.view-toggle button.active { background: var(--forest); color: var(--white); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.products-grid--list { grid-template-columns: 1fr; }
.products-grid--list .product-card { flex-direction: row; max-height: 200px; }
.products-grid--list .product-card__media { width: 200px; flex-shrink: 0; aspect-ratio: auto; }

/* ============================================================
   SINGLE PRODUCT
   ============================================================ */
.product-single { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 900px) { .product-single { grid-template-columns: 1fr; } }

.product-gallery {}
.product-gallery__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; background: var(--cream); margin-bottom: 1rem; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: .5rem; }
.product-gallery__thumb { width: 72px; height: 72px; border-radius: var(--radius-md); overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: border-color .2s; flex-shrink: 0; }
.product-gallery__thumb.active { border-color: var(--forest); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info {}
.product-info__cat    { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); margin-bottom: .5rem; }
.product-info__title  { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--forest); margin-bottom: .75rem; }
.product-info__stars  { display: flex; align-items: center; gap: .4rem; color: var(--terra-light); font-size: .85rem; margin-bottom: 1rem; }
.product-info__price  { font-size: 2rem; font-weight: 700; color: var(--forest); margin-bottom: 1.25rem; }
.product-info__price del { font-size: 1.2rem; color: var(--ink-60); font-weight: 400; margin-right: .5rem; }
.product-info__price ins { text-decoration: none; color: var(--terra); }
.product-info__desc   { font-size: .95rem; line-height: 1.7; color: var(--ink-60); margin-bottom: 1.5rem; }

.quantity-selector { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-full); overflow: hidden; width: fit-content; margin-bottom: 1.25rem; }
.qty-btn { width: 44px; height: 44px; border: none; background: none; cursor: pointer; font-size: 1.2rem; color: var(--forest); transition: background .2s; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--cream); }
.qty-input { width: 48px; text-align: center; border: none; background: none; font-size: 1rem; font-weight: 600; color: var(--forest); -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.add-to-cart-row { display: flex; gap: .75rem; flex-wrap: wrap; }

.product-meta { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.product-meta__item { display: flex; gap: .5rem; font-size: .85rem; margin-bottom: .4rem; }
.product-meta__label { font-weight: 600; color: var(--ink); }
.product-meta__value { color: var(--ink-60); }

/* ============================================================
   EDITORIAL / BRAND SPLIT
   ============================================================ */
.editorial-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 768px) { .editorial-split { grid-template-columns: 1fr; } }
.editorial-split__img { aspect-ratio: 1; overflow: hidden; }
.editorial-split__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.editorial-split:hover .editorial-split__img img { transform: scale(1.04); }
.editorial-split__body { background: var(--forest); color: var(--white); padding: clamp(2rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center; }
.editorial-split__body .eyebrow { color: var(--mint); }
.editorial-split__title { font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--white); margin: .5rem 0 1rem; }
.editorial-split__text { font-size: .95rem; line-height: 1.75; color: rgba(255,255,255,.72); margin-bottom: 1.75rem; }
.editorial-features { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.75rem; }
.editorial-feature { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: rgba(255,255,255,.8); }
.editorial-feature::before { content: ''; width: 6px; height: 6px; background: var(--sage); border-radius: 50%; flex-shrink: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: box-shadow .3s; }
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-card__stars { color: var(--terra-light); font-size: .85rem; margin-bottom: .75rem; }
.testimonial-card__text  { font-size: .92rem; line-height: 1.7; color: var(--ink); margin-bottom: 1.25rem; font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: .75rem; }
.testimonial-card__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--moss); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.testimonial-card__name { font-weight: 600; font-size: .88rem; color: var(--forest); }
.testimonial-card__loc  { font-size: .76rem; color: var(--ink-60); }

/* ============================================================
   NEWSLETTER BANNER
   ============================================================ */
.newsletter-banner { background: linear-gradient(135deg, var(--moss) 0%, var(--forest) 100%); border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 640px) { .newsletter-banner { grid-template-columns: 1fr; gap: 2rem; } }
.newsletter-banner__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .5rem 0 .75rem; }
.newsletter-banner__desc  { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.72); }
.newsletter-form { display: flex; flex-direction: column; gap: .75rem; }
.newsletter-input-row { display: flex; gap: .5rem; }
.newsletter-input-row input { flex: 1; border: none; border-radius: var(--radius-full); padding: .85rem 1.4rem; font-size: .9rem; background: rgba(255,255,255,.12); color: var(--white); outline: none; transition: background .2s; }
.newsletter-input-row input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-input-row input:focus { background: rgba(255,255,255,.2); }
.newsletter-privacy { font-size: .75rem; color: rgba(255,255,255,.5); }
.newsletter-privacy a { color: rgba(255,255,255,.7); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand__logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: .75rem; display: flex; align-items: center; gap: .6rem; }
.footer-brand__desc { font-size: .85rem; line-height: 1.7; margin-bottom: 1.25rem; max-width: 280px; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: .85rem; color: rgba(255,255,255,.7); transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--moss); color: var(--white); }

.footer-col__title { font-family: var(--font-display); font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; letter-spacing: .02em; }
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul a { font-size: .83rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-payments { display: flex; gap: .5rem; align-items: center; }
.payment-icon { background: rgba(255,255,255,.1); border-radius: 4px; padding: .2rem .5rem; font-size: .7rem; color: rgba(255,255,255,.6); font-weight: 600; }

/* ============================================================
   ANIMATIONS / REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce-breadcrumb { font-size: .82rem; color: var(--ink-60); margin-bottom: 1.5rem; }
.woocommerce-breadcrumb a { color: var(--sage); }
.woocommerce-breadcrumb a:hover { color: var(--forest); }
.woocommerce ul.products { list-style: none; margin: 0; }
.woocommerce ul.products li.product { float: none; width: auto; }
.woocommerce .woocommerce-message { border-top-color: var(--moss); background: #f0f7f2; }
.woocommerce-message a.button { background: var(--forest); color: var(--white); border-radius: var(--radius-full); }
.woocommerce-error, .woocommerce-info, .woocommerce-message { border-radius: var(--radius-md); }

/* Cart */
.woocommerce-cart .woocommerce table.shop_table { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.woocommerce-checkout .woocommerce form .form-row input.input-text,
.woocommerce-checkout .woocommerce form .form-row textarea { border-radius: var(--radius-md); border: 1px solid var(--border); padding: .75rem 1rem; }

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button { background: var(--forest); color: var(--white); border-radius: var(--radius-full); font-weight: 600; padding: .75rem 1.75rem; border: none; transition: background .25s, transform .25s; }
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--moss); transform: translateY(-2px); }
.woocommerce a.button.alt,
.woocommerce button.button.alt { background: var(--terra); }
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: #b85e30; }

/* Stars */
.woocommerce .star-rating span::before { color: var(--terra-light); }
.woocommerce .star-rating::before { color: var(--ink-30); }

/* Product page */
.woocommerce div.product div.images { border-radius: var(--radius-lg); overflow: hidden; }
.woocommerce div.product div.summary {}
.woocommerce div.product p.price { color: var(--forest); font-size: 1.75rem; font-weight: 700; }
.woocommerce div.product p.price ins { color: var(--terra); text-decoration: none; }
.woocommerce div.product p.price del { color: var(--ink-60); font-size: 1.1rem; }

/* Sale badge */
.woocommerce span.onsale { background: var(--terra); border-radius: var(--radius-full); font-weight: 700; min-height: auto; min-width: auto; padding: .25rem .75rem; line-height: 1.5; }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed; inset: 0;
  z-index: 999;
  background: rgba(10,20,14,.85);
  backdrop-filter: blur(12px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 15vh;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-box { width: 100%; max-width: 680px; padding: 0 var(--gutter); }
.search-box input {
  width: 100%; border: none;
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 1.1rem 1.8rem;
  font-size: 1.2rem;
  outline: none;
  color: var(--forest);
  box-shadow: var(--shadow-lg);
}
.search-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; opacity: .7; }
.search-close:hover { opacity: 1; }

/* ============================================================
   MINI CART DRAWER
   ============================================================ */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  z-index: 980;
  width: 400px; max-width: 95vw;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s var(--ease-out);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__head { padding: 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cart-drawer__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--forest); }
.cart-drawer__close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 1.5rem; }
.cart-drawer__foot { padding: 1.5rem; border-top: 1px solid var(--border); }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-weight: 600; font-size: 1rem; }
.cart-drawer__overlay { position: fixed; inset: 0; z-index: 979; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-drawer__overlay.open { opacity: 1; pointer-events: all; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { grid-template-columns: auto 1fr auto; }
}

@media (max-width: 640px) {
  .hero__actions .btn--lg { padding: .85rem 1.6rem; font-size: .9rem; }
  .topbar__links { display: none; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .hero__scroll, .carousel-nav, .newsletter-banner { display: none; }
}
