/* ── Reset & tokens ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sage:    #e1eed7;
  --sage-md: #d4e3c8;
  --dark:    #1c2718;
  --white:   #ffffff;
  --gray:    #f5f5f5;
  --muted:   #6b7f67;
  --black:   #080808;

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans:  'Switzer', 'Inter', system-ui, sans-serif;

  --radius-pill: 100px;
  --radius-btn:  10px;
  --radius-lg:   16px;
  --radius-arch: 50% 50% 0 0 / 40% 40% 0 0;

  --max-w:  1400px;
  --gutter: 60px;
}

html { scroll-behavior: smooth; }

html { overflow-x: clip; }
body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.5;
  overflow-x: clip;
}

img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button, input { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.05; }

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-dark {
  display: inline-flex;
  align-items: center;
  background: var(--dark);
  color: var(--white);
  padding: 13px 22px;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: opacity .2s;
  white-space: nowrap;
}
.btn-dark:hover { opacity: .82; }

.btn-border {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(28,39,24,.35);
  color: var(--dark);
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background .2s;
  white-space: nowrap;
}
.btn-border:hover { background: rgba(28,39,24,.06); }

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.topbar {
  background: var(--dark);
  color: var(--sage);
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 7px var(--gutter);
}
.topbar a { color: var(--sage); }
.topbar a:hover { text-decoration: underline; }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background .25s, box-shadow .25s;
}
.nav.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--sage-md);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  gap: 8px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 2px;
}
.nav-links a {
  font-size: 0.88rem;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  color: var(--dark);
  transition: background .18s;
}
.nav-links a:hover { background: rgba(28,39,24,.07); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: 12px;
}
.nav-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid rgba(28,39,24,.35);
  padding: 7px 14px;
  border-radius: var(--radius-btn);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: background .18s;
  position: relative;
}
.nav-cart:hover { background: rgba(28,39,24,.06); }
.nav-cart-label {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
}
.nav-cart #cart-count {
  background: var(--dark);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  margin-left: auto;
  flex-shrink: 0;
  position: relative;
  z-index: 201;
}
.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.77,0,.18,1), opacity .2s, background .2s;
  transform-origin: center;
}
.menu-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--sage);
  margin-top: -64px;        /* pull hero behind the transparent nav */
  padding: 144px 0 60px;   /* 80 + 64 to preserve content position */
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero-content { max-width: 520px; }
.hero-content h1 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  letter-spacing: -.03em;
  margin-bottom: 20px;
  color: var(--dark);
}
.hero-content p {
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 32px;
  opacity: .85;
  max-width: 400px;
}
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* hero images – three arch shapes */
.hero-images {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  align-self: flex-end;
  padding-top: 24px;
}
.hero-img {
  overflow: hidden;
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  flex-shrink: 0;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-img-oil {
  width: clamp(100px, 10vw, 155px);
  height: clamp(155px, 16vw, 245px);
}
.hero-img-leaf {
  width: clamp(175px, 17vw, 235px);
  height: clamp(290px, 30vw, 415px);
}
.hero-img-person {
  width: clamp(145px, 15vw, 200px);
  height: clamp(240px, 24vw, 340px);
}

/* ── Trust ───────────────────────────────────────────────────────────────── */
.trust {
  background: var(--sage);
  padding: 48px 0 64px;
  border-top: 1px solid var(--sage-md);
}
/* White background variant for trust (used after reviews) */
.trust--white {
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.06);
}
/* Grey background variant for trust */
.trust--gray {
  background: var(--gray);
  border-top: 1px solid rgba(0,0,0,.06);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item .trust-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 8px;
  color: var(--dark);
  flex-shrink: 0;
}
.trust-item .trust-icon svg { width: 100%; height: 100%; display: block; }
.trust-item h3 {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}
.trust-item p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

/* ── Reviews ─────────────────────────────────────────────────────────────── */
.reviews {
  background: var(--white);
  padding: 64px 0 0;
  overflow: hidden;
}
/* Green background variant */
.reviews--green {
  background: var(--sage);
}
.reviews-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 0.9rem;
}
.reviews-meta img { width: 18px; height: 18px; }
.reviews-meta .rating { font-weight: 600; }
.reviews-meta .stars { color: #f4b400; }
.review-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 0 var(--gutter) 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  will-change: scroll-position;
  cursor: grab;
  user-select: none;
}
.review-scroll.dragging { cursor: grabbing; }
.review-scroll::-webkit-scrollbar { display: none; }
.review-grid {
  display: none; /* replaced by review-scroll */
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--sage-md);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-width: 280px;
  max-width: 340px;
  flex-shrink: 0;
}
.review-card .stars { color: #f4b400; font-size: 0.85rem; margin-bottom: 8px; display: block; }
.review-card h4 { font-family: var(--font-sans); font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; }
.review-card p  { font-size: 0.82rem; color: #3a4d36; line-height: 1.55; }

/* ── Product sections ───────────────────────────────────────────────────── */
.products { padding: 80px 0; }
.products + .products { border-top: 1px solid var(--sage-md); }

.products-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: stretch;
}
.products-inner .products-label {
  display: flex;
  flex-direction: column;
}
.products-label h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.products-label p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}
.products-label-btn {
  display: inline-block;
  margin-top: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

/* product card – no border, image floats */
.product-card { display: flex; flex-direction: column; }
.product-img-link {
  display: block;
  text-decoration: none;
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background: transparent;
  margin-bottom: 4px;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px 12px;
  transition: transform .35s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--dark);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.product-name  { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; color: var(--dark); text-decoration: none; }
a.product-name:hover { text-decoration: underline; }
.product-labels { font-size: 0.78rem; color: var(--muted); margin-bottom: 2px; }
.product-brand { font-size: 0.8rem; color: var(--dark); margin-bottom: 10px; }
.product-meta  { font-size: 0.78rem; color: var(--muted); margin-bottom: 6px; }

.strength-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.strength-btn {
  padding: 4px 10px;
  border: 1.5px solid var(--sage-md);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--dark);
  background: var(--white);
  transition: background .15s, border-color .15s, color .15s;
}
.strength-btn.active,
.strength-btn:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.product-price { font-size: 1rem; font-weight: 600; }

/* full-width "Vaata toodet" button */
.btn-product {
  display: block;
  width: 100%;
  text-align: center;
  border: 1.5px solid rgba(28,39,24,.25);
  padding: 11px 0;
  border-radius: var(--radius-btn);
  font-size: 0.88rem;
  color: var(--dark);
  transition: background .18s, border-color .18s;
  margin-top: auto;
}
.btn-product:hover { background: var(--sage); border-color: var(--sage-md); }

/* Campaign card – sidebar variant (inside .products-label) */
.campaign-card {
  background: var(--sage);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  position: relative;
}
.campaign-card--sidebar {
  padding: 22px 20px;
  margin-top: auto;
  padding-top: 24px;
}
.campaign-pill {
  display: inline-block;
  background: rgba(28,39,24,.12);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  width: fit-content;
}
.campaign-card h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.campaign-card--sidebar h3 {
  font-size: 1.2rem;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  line-height: 1.15;
}
.campaign-card p  { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }
.campaign-card--sidebar p { margin-bottom: 18px; }
.campaign-imgs {
  position: absolute;
  right: -20px;
  bottom: -20px;
  display: flex;
  gap: -8px;
  opacity: .9;
}
.campaign-imgs img { width: 120px; height: 160px; object-fit: contain; }

/* ── Newsletter ──────────────────────────────────────────────────────────── */
.newsletter {
  position: relative;
  padding: 80px 0;
  background: var(--dark);
  overflow: hidden;
  text-align: center;
}
.newsletter-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.newsletter-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 28, 16, 0.65);
}
.newsletter-inner { position: relative; }
.newsletter-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
}
.newsletter-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  margin-bottom: 36px;
}
/* Brevo form overrides */
.newsletter #sib-form-container { max-width: 580px; margin: 0 auto; }
.newsletter #sib-container {
  background: transparent !important;
  border: none !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.newsletter #sib-form {
  display: flex !important;
  gap: 8px !important;
  align-items: stretch;
  box-shadow: 0 4px 28px rgba(0,0,0,.28);
  border-radius: var(--radius-btn);
}
.newsletter .nl-email-row { flex: 1 1 auto; padding: 0 !important; margin: 0 !important; }
.newsletter .nl-btn-row  { flex: 0 0 auto; padding: 0 !important; margin: 0 !important; }
.newsletter .sib-input,
.newsletter .sib-form-block { width: 100%; padding: 0 !important; margin: 0 !important; }
.newsletter .form__entry,
.newsletter .form__label-row { padding: 0 !important; margin: 0 !important; }
.newsletter .entry__field { height: 56px; padding: 0 !important; margin: 0 !important; border: none !important; }
.newsletter input.input {
  height: 56px !important;
  border: none !important;
  border-radius: var(--radius-btn) !important;
  padding: 0 24px !important;
  font-size: 0.95rem !important;
  font-family: inherit !important;
  color: var(--dark) !important;
  background: rgba(255,255,255,.96) !important;
  width: 100% !important;
  display: block !important;
  outline: none !important;
  box-shadow: none !important;
}
.newsletter .sib-form-block__button {
  height: 56px !important;
  border-radius: var(--radius-btn) !important;
  background: var(--sage-md) !important;
  color: var(--dark) !important;
  font-family: inherit !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase !important;
  padding: 0 28px !important;
  border: none !important;
  white-space: nowrap !important;
}
.newsletter .entry__error { display: none !important; }
.newsletter .sib-form-message-panel {
  max-width: 580px !important;
  margin: 0 auto 16px !important;
}
@media (max-width: 640px) {
  .newsletter-title { font-size: 1.9rem; }
  .newsletter #sib-form { flex-direction: column !important; gap: 8px !important; }
  .newsletter .sib-form-block__button { width: 100% !important; }
}

/* ── How CBD works ───────────────────────────────────────────────────────── */
.how { padding: 100px 0; background: var(--gray); }

.how-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}
.how-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.how-deco {
  display: block;
  width: 48px;
  height: 24px;
  margin: 0 auto 20px;
  color: var(--muted);
  opacity: .5;
}
.how-header p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  gap: 48px;
  align-items: stretch;
}

.how-col { display: flex; flex-direction: column; justify-content: space-between; }

.how-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.how-col--left .how-item { flex-direction: row; text-align: right; justify-content: flex-end; }
.how-col--left .how-item .how-icon { order: 1; }
.how-col--left .how-item .how-item__body { order: 0; }
.how-col--right .how-item { flex-direction: row; }

.how-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
}
.how-icon svg { width: 20px; height: 20px; }

.how-item__body h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 6px;
  line-height: 1.3;
}
.how-item__body p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

.how-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.how-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .how-img-wrap {
    aspect-ratio: 16/9;
    max-height: 320px;
  }
  .how-col--left .how-item { flex-direction: row; text-align: left; justify-content: flex-start; }
  .how-col--left .how-item .how-icon { order: 0; }
  .how-col--left .how-item .how-item__body { order: 1; }
  .how-col { gap: 28px; }
}

/* ── Customer stories (sticky scroll) ───────────────────────────────────── */
.stories { background: var(--white); padding: 100px 0; }
.stories-title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.03em;
  margin-bottom: 64px;
}
.stories-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Sticky image column */
.stories-imgs-outer {
  position: sticky;
  top: 100px;
}
.stories-imgs {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.story-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
}
.story-img.active { opacity: 1; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }

/* Decorative circles around the sticky image */
.stories-imgs-outer::before,
.stories-imgs-outer::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(28,39,24,.13);
  pointer-events: none;
}
.stories-imgs-outer::before {
  width: 88%;
  aspect-ratio: 1;
  bottom: -10%;
  left: -12%;
}
.stories-imgs-outer::after {
  width: 42%;
  aspect-ratio: 1;
  top: -7%;
  right: -10%;
}

/* Scrollable content column */
.story-entry {
  padding-bottom: 72px;
  margin-bottom: 72px;
  border-bottom: 1px solid var(--sage-md);
}
.story-entry:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.story-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -.02em;
  margin-bottom: 28px;
}
.story-fact { margin-bottom: 16px; }
.story-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 4px;
}
.story-fact p { font-size: 0.9rem; line-height: 1.6; color: var(--dark); }
.story-product-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  background: var(--gray);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-top: 28px;
}
.story-product-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  padding: 6px;
}
.story-product-info strong { display: block; font-size: 0.9rem; font-weight: 600; }
.story-product-info small  { font-size: 0.78rem; color: var(--muted); }

/* ── Loe lähemalt (FAQ + Guide + Blog combined) ──────────────────────────── */
.learn { padding: 40px 0 80px; background: var(--white); }
.learn-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -.02em;
  margin-bottom: 32px;
}
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.learn-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.learn-card h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.learn-sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; }

/* FAQ card */
.learn-faq { background: var(--gray); }
.faq-item { border-bottom: 1px solid rgba(28,39,24,.1); }
.faq-btn {
  width: 100%;
  text-align: left;
  padding: 14px 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
}
.faq-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform .2s;
  color: var(--muted);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p { padding-bottom: 14px; font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* Guide card */
.learn-guide { background: var(--sage); }
.guide-chapters { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.guide-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 8px;
  transition: background .18s;
  color: var(--dark);
}
.guide-item:hover { background: var(--white); }
.guide-num   { font-size: 0.72rem; font-weight: 700; color: var(--muted); flex-shrink: 0; width: 20px; }
.guide-title { font-size: 0.85rem; font-weight: 500; flex: 1; }
.guide-link  { display: none; }

/* Blog card */
.learn-blog { background: var(--black); color: var(--white); }
.learn-blog h3 { color: var(--white); }
.blog-list { display: flex; flex-direction: column; gap: 0; }
.blog-list-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--white);
  transition: opacity .18s;
}
.blog-list-item:last-child { border-bottom: none; }
.blog-list-item:hover { opacity: .75; }
.blog-thumb {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-item-title { font-size: 0.85rem; font-weight: 500; margin-bottom: 3px; }
.blog-item-date  { font-size: 0.75rem; color: rgba(255,255,255,.5); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { background: #080808; color: rgba(255,255,255,.55); padding: 56px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
}
.footer-logo {
  display: flex;
  flex-shrink: 0;
  color: var(--white);
}
.footer-logo svg { width: 18px; height: 34px; opacity: .9; }
.footer-brand-tagline {
  font-size: 0.81rem;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a  { font-size: 0.85rem; color: rgba(255,255,255,.65); transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact .contact-label { font-size: 0.78rem; color: rgba(255,255,255,.35); }
.footer-contact a { font-size: 0.85rem; color: rgba(255,255,255,.65); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,.35); }
.footer-legal a:hover { color: var(--white); }
.btn-totop {
  font-size: 0.82rem;
  color: rgba(255,255,255,.5);
  padding: 7px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-pill);
  transition: color .15s, border-color .15s;
}
.btn-totop:hover { color: var(--white); border-color: rgba(255,255,255,.35); }

/* ── Cart sidebar ────────────────────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.cart-overlay.visible { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed; top: 0; right: 0;
  height: 100%; width: 100%; max-width: 400px;
  background: var(--white);
  z-index: 201;
  transform: translateX(100%);
  transition: transform .32s ease;
  display: flex; flex-direction: column;
  box-shadow: -4px 0 28px rgba(0,0,0,.1);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--sage-md);
}
.cart-head h2 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; }
.cart-close   { font-size: 1.3rem; color: var(--dark); padding: 4px; line-height: 1; }
.cart-body    { flex: 1; overflow-y: auto; padding: 18px 22px; }
.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--gray);
}
.ci-img {
  width: 68px; height: 68px;
  border-radius: 10px;
  background: var(--gray);
  overflow: hidden;
}
.ci-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.ci-brand   { font-size: 0.75rem; color: var(--muted); margin-bottom: 2px; }
.ci-name    { font-size: 0.88rem; font-weight: 500; margin-bottom: 3px; }
.ci-variant { font-size: 0.78rem; color: var(--muted); }
.ci-qty     { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn    {
  width: 22px; height: 22px;
  border: 1.5px solid var(--sage-md);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: background .15s;
}
.qty-btn:hover { background: var(--sage); }
.qty-n { font-size: 0.88rem; font-weight: 500; min-width: 18px; text-align: center; }
.ci-remove { font-size: 0.78rem; color: #aaa; margin-left: 2px; }
.ci-remove:hover { color: var(--dark); }
.ci-price { font-weight: 600; font-size: 0.92rem; text-align: right; }
.ci-orig  { font-size: 0.75rem; color: #aaa; text-decoration: line-through; text-align: right; }
.cart-foot { padding: 16px 22px; border-top: 1px solid var(--sage-md); }
.cart-totals { margin-bottom: 14px; }
.cart-row  { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 6px; }
.cart-row.total { font-weight: 700; font-size: 1rem; border-top: 1px solid var(--sage-md); padding-top: 10px; margin-top: 8px; }
.btn-checkout {
  width: 100%;
  background: var(--dark); color: var(--white);
  padding: 14px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem; font-weight: 500;
  transition: opacity .2s;
}
.btn-checkout:hover { opacity: .82; }


/* Blog card btn override for dark background */
.learn-blog .btn-border {
  border-color: rgba(255,255,255,.35);
  color: rgba(255,255,255,.85);
  margin-top: auto;
  align-self: flex-start;
}
.learn-blog .btn-border:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}
.learn-faq .btn-border  { margin-top: auto; padding-top: 16px; align-self: flex-start; border-radius: var(--radius-btn); }
.learn-guide .btn-dark  { margin-top: auto; align-self: flex-start; border-radius: var(--radius-btn); }
.learn-blog .btn-border { border-radius: var(--radius-btn); }

/* Payment icons in footer */
.pay-icons { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
}
.pay-visa      { background: #1a1f71; color: #fff; border-color: #1a1f71; font-style: italic; }
.pay-mc        { background: #252525; color: #fff; border-color: #444; }
.pay-maestro   { background: #252525; color: #fff; border-color: #444; }
.pay-applepay  { background: #000; border-color: #000; padding: 0 8px; }
.pay-googlepay { background: #fff; border-color: #dadce0; padding: 0 8px; }

/* ── Brands section ─────────────────────────────────────────────────────── */
.brands {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.06);
}
.brands-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 24px;
}
.brands-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.brand-item {
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.brand-item:hover { opacity: 1; }
.brand-item img, .brand-item svg {
  height: 48px;
  width: auto;
  display: block;
}

/* ── Review scroll buttons ───────────────────────────────────────────────── */
.review-scroll-btns {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  padding-bottom: 40px;
}
.review-scroll-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.12);
  background: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.review-scroll-btn:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

/* ── Review card footer ──────────────────────────────────────────────────── */
.review-footer {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.review-author {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
}
.review-product {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── Language switcher ───────────────────────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--dark);
  text-decoration: none;
  transition: background 0.15s;
  opacity: 0.5;
}
.lang-btn:hover, .lang-btn.lang-active { background: var(--sage); opacity: 1; }
.lang-btn img { border-radius: 2px; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .stories-wrapper { gap: 48px; }
  .learn-grid { grid-template-columns: 1fr 1fr; }
  .learn-blog { grid-column: span 2; }
}

@media (max-width: 1024px) {
  :root { --gutter: 28px; }
  .products-inner  { grid-template-columns: 200px 1fr; gap: 40px; }
  .product-grid    { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .trust-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .footer-brand    { grid-column: span 4; }
}

@media (max-width: 768px) {
  :root { --gutter: 18px; }

  /* nav */
  .menu-toggle { display: flex; }
  .nav-right   { margin-left: auto; gap: 6px; }
  .lang-switcher { gap: 0; margin-left: 0; }
  .lang-btn { padding: 4px 5px; gap: 3px; font-size: 0.72rem; }
  .nav-cart-label { display: none; }
  .nav-cart { padding: 7px 10px; gap: 4px; }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0;
    /* hidden by default */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease;
    display: flex;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    letter-spacing: -.03em;
    color: var(--dark);
    padding: 14px 40px;
    display: block;
    border-radius: 0;
    background: none;
  }
  .nav-links a:hover { background: none; opacity: .5; }
  /* keep toggle bars white when menu (white bg) is open so it's visible */
  .menu-toggle.open .bar { background: var(--dark); }

  /* hero */
  .hero { padding: 76px 0 0; overflow: hidden; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-images { order: -1; }   /* pilt enne teksti mobiilil */
  .hero-content { max-width: 100%; padding: 28px 0 32px; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content p  { font-size: 0.95rem; }
  .hero-images {
    justify-content: center;
    gap: 6px;
  }
  .hero-img-oil    { width: clamp(70px,  19vw, 100px); height: clamp(110px, 30vw, 155px); }
  .hero-img-leaf   { width: clamp(115px, 31vw, 160px); height: clamp(190px, 51vw, 265px); }
  .hero-img-person { width: clamp(90px,  25vw, 130px); height: clamp(150px, 41vw, 210px); }

  /* products */
  .products-inner { grid-template-columns: 1fr; gap: 24px; }
  .product-grid   { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .campaign-card--sidebar { margin-top: 28px; }

  /* stories */
  .stories-wrapper    { grid-template-columns: 1fr; }
  .stories-imgs-outer { position: relative; top: auto; margin-bottom: 32px; }
  .stories-imgs       { aspect-ratio: 4/3; }
  .story-img          { transition: none; }

  /* learn */
  .learn-grid { grid-template-columns: 1fr; }
  .learn-blog { grid-column: unset; }

  .footer-grid  { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
  .hero-btns    { flex-direction: column; }
  .btn-dark, .btn-border { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .trust-grid      { grid-template-columns: 1fr; }
  .product-grid    { grid-template-columns: 1fr; }
  .cart-sidebar    { max-width: 100%; }
  .story-product-card { grid-template-columns: 48px 1fr; }
  .story-product-card .btn-border { display: none; }
}
