/* ============================================================
   Olejek miętowy doTERRA — landing „mięta"
   Kierunek: świeży/energetyczny + zaufanie.
   Energia w formie (kolor, ruch), stabilność w treści.
   ============================================================ */

:root {
  /* Kolor — żywa mięta jako energia, chłodna biel jako czystość */
  --mint:        #00b894;   /* żywa mięta — dominanta */
  --mint-deep:   #009b77;   /* głębsza, do gradientów/hover */
  --mint-ink:    #0e2a24;   /* grafit-atrament — ciężar zaufania */
  --mint-frost:  #d4f3ec;   /* mroźny jasny — tła sekcji */
  --mint-mist:   #eefaf6;   /* jeszcze jaśniejszy welon */
  --paper:       #f7fbfa;   /* tło strony — biel z chłodnym podtonem */
  --white:       #ffffff;
  --line:        #dcebe6;
  --ink-soft:    #5a6b66;
  --gold:        #c9a23f;   /* akcent certyfikatu/zaufania, użyty punktowo */

  --shadow-sm: 0 2px 10px rgba(14,42,36,.06);
  --shadow-md: 0 12px 40px rgba(0,155,119,.16);
  --shadow-lg: 0 30px 70px rgba(14,42,36,.14);

  --r: 14px;
  --r-lg: 24px;
  --maxw: 1160px;

  --display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--mint-ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typografia ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.eyebrow {
  font-family: var(--display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mint-deep);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--mint); border-radius: 2px; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,251,250,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
/* Pasek darmowej wysyłki nad topbarem. Przewija się ze stroną (nie sticky):
   widoczny po wejściu, znika przy scrollu, topbar zostaje przyklejony.
   Kolory z palety landingu (--mint-deep / --mint). */
.shipbar {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--mint-deep); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  padding: 9px 16px; text-align: center; line-height: 1.3;
}
.shipbar svg { flex: none; opacity: .9; }
@media (max-width: 480px) {
  .shipbar { font-size: 12px; padding: 8px 12px; }
  .shipbar svg { display: none; }   /* na wąskim ekranie sam tekst */
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 9px; }
.logo .leaf { width: 26px; height: 26px; }
.topbar nav { display: flex; gap: 26px; align-items: center; margin: 0 32px; }
.topbar nav a { font-size: 14px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.topbar nav a:hover { color: var(--mint-ink); }

/* ---------- Wyszukiwarka w topbarze (środek, jak strona główna) ---------- */
.topbar .logo { flex: none; }
.topbar-search { flex: 1 1 auto; max-width: 380px; margin: 0 auto; position: relative; min-width: 0; }
.topbar-search input {
  width: 100%; padding: 9px 14px 9px 38px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font-size: 14px; color: var(--mint-ink); font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.topbar-search input::placeholder { color: #9a9aa5; }
.topbar-search input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 20%, transparent); }
.topbar-search .tbs-ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--mint); pointer-events: none; }
.topbar-search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  overflow: hidden; z-index: 60; display: none; max-height: 60vh; overflow-y: auto;
}
.topbar-search-results.show { display: block; }
.tbs-hit { display: flex; align-items: center; gap: 11px; padding: 10px 14px; cursor: pointer; text-decoration: none; color: var(--mint-ink); }
.tbs-hit:hover { background: var(--mint-mist); }
.tbs-thumb { width: 36px; height: 36px; border-radius: 8px; background: var(--mint-frost); border: 1px solid var(--line); overflow: hidden; flex: none; display: grid; place-items: center; }
.tbs-thumb img { width: 100%; height: 100%; object-fit: contain; }
.tbs-thumb:empty { display: none; }
.tbs-name { flex: 1; font-size: 14px; font-weight: 500; }
.tbs-price { color: var(--mint-deep); font-weight: 700; font-size: 14px; white-space: nowrap; }
.tbs-empty { padding: 16px; text-align: center; color: var(--ink-soft); font-size: 14px; }

/* ---------- Pasek nawigacji sekcji (pod topbarem) ---------- */
.section-nav { background: rgba(255,255,255,.55); border-bottom: 1px solid var(--line); position: sticky; top: 66px; z-index: 40; }
.section-nav nav { display: flex; gap: 26px; align-items: center; height: 42px; }
.section-nav a { font-size: 13px; font-weight: 500; color: var(--ink-soft); text-decoration: none; white-space: nowrap; transition: color .15s; }
.section-nav a:hover { color: var(--mint-deep); }
.section-nav a:first-child { color: var(--mint-deep); font-weight: 600; }
.mini-cart {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint-ink); color: #fff; padding: 9px 16px; border-radius: 999px;
  font-weight: 600; font-size: 14px; border: none; cursor: pointer; font-family: var(--body);
}
.mini-cart .count {
  background: var(--mint); color: var(--mint-ink); min-width: 20px; height: 20px;
  border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 700;
}

/* Prawa strona topbara: dynamiczny przycisk + koszyk */
.topbar-actions { display: flex; align-items: center; gap: 12px; }

/* Dynamiczny przycisk akcji (Kup / Przejdź do zamówienia) */
.top-action {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 14px; border: none;
  border-radius: 999px; padding: 9px 8px 9px 18px;
  background: linear-gradient(120deg, var(--mint), var(--mint-deep)); color: #fff;
  box-shadow: var(--shadow-md); transition: transform .15s, box-shadow .2s;
}
.top-action:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(0,155,119,.28); }
.top-action .ta-price {
  background: rgba(255,255,255,.22); padding: 4px 12px; border-radius: 999px; font-weight: 700;
}
.top-action.is-checkout .ta-price { display: none; }        /* w trybie checkout bez ceny */
.top-action.is-checkout { padding: 9px 20px; }

/* Rozwijany podgląd koszyka */
.cart-menu { position: relative; }
.cart-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0; width: 360px; max-width: calc(100vw - 32px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); z-index: 60; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98);
  transform-origin: top right; transition: opacity .18s, transform .18s, visibility .18s;
}
.cart-menu.open .cart-dropdown { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.cart-dropdown::before {
  content: ""; position: absolute; top: -6px; right: 40px; width: 12px; height: 12px;
  background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.cd-head { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 20px 12px; }
.cd-head strong { font-family: var(--display); font-size: 17px; }
.cd-count-lbl { font-size: 13px; color: var(--ink-soft); }
.cd-items { max-height: 320px; overflow-y: auto; padding: 0 20px; }
.cd-row { display: flex; align-items: flex-start; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cd-row:last-child { border-bottom: none; }
.cd-row .cd-img { width: 46px; height: 46px; border-radius: 8px; background: var(--mint-frost); flex: none; overflow: hidden; }
.cd-row .cd-img img { width: 100%; height: 100%; object-fit: cover; }
.cd-row .cd-main { flex: 1; min-width: 0; }
.cd-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cd-row .cd-name { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--mint-ink); text-decoration: none; }
a.cd-name:hover { color: var(--mint-deep); text-decoration: underline; }
.cd-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; }
.cd-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cd-qty button { width: 26px; height: 26px; border: none; background: #fff; cursor: pointer; font-size: 15px; color: var(--mint-ink); transition: background .12s, color .12s; }
.cd-qty button:hover { background: var(--mint); color: #fff; }
.cd-qty span { min-width: 24px; text-align: center; font-size: 13px; font-weight: 600; }
.cd-line { font-size: 15px; font-weight: 700; color: var(--mint-deep); white-space: nowrap; }
.cd-row .cd-rm { border: none; background: none; cursor: pointer; color: var(--ink-soft); font-size: 17px; line-height: 1; padding: 0 2px; flex: none; }
.cd-row .cd-rm:hover { color: #d64545; }
.cd-empty { text-align: center; padding: 34px 20px; color: var(--ink-soft); font-size: 14px; }
.cd-empty .cd-empty-cta { margin-top: 14px; }
.cd-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.cd-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cd-total span:first-child { font-weight: 600; }
.cd-total-val { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--mint-ink); }
.cd-note { font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 10px; }

/* Pływający pasek mobilny — zawsze widoczna akcja zakupu na dole ekranu */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none; align-items: center; gap: 12px;
  box-shadow: 0 -8px 30px rgba(14,42,36,.1);
}
.mobile-bar .mb-info { flex: none; }
.mobile-bar .mb-info .mb-lbl { font-size: 11px; color: var(--ink-soft); line-height: 1; }
.mobile-bar .mb-info .mb-price { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--mint-ink); }
.mobile-bar .btn { flex: 1; justify-content: center; padding: 13px 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 60px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 74px); }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--mint), var(--mint-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lead { font-size: 19px; color: var(--ink-soft); margin: 22px 0 30px; max-width: 30em; }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.btn {
  font-family: var(--display); font-weight: 600; font-size: 16px;
  border: none; cursor: pointer; border-radius: 999px; padding: 15px 30px;
  display: inline-flex; align-items: center; gap: 10px; transition: transform .15s, box-shadow .2s;
}
.btn-primary { background: linear-gradient(120deg, var(--mint), var(--mint-deep)); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 46px rgba(0,155,119,.28); }
.btn-ghost { background: var(--white); color: var(--mint-ink); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); }

/* Dowód zaufania w hero */
.trust-inline { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.trust-inline .seal {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 30% 30%, #fff, var(--mint-frost));
  border: 2px solid var(--mint); display: grid; place-items: center; color: var(--mint-deep);
}
.trust-inline p { font-size: 14px; color: var(--ink-soft); }
.trust-inline strong { color: var(--mint-ink); }

/* Hero — buteleczka + sygnatura aromatu */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 440px; }
.bottle-stage {
  position: relative; width: 300px; height: 420px;
  display: grid; place-items: end center;
}
.halo {
  position: absolute; inset: 0; margin: auto; width: 340px; height: 340px; top: -30px;
  background: radial-gradient(circle, var(--mint-frost) 0%, rgba(212,243,236,0) 68%);
  border-radius: 50%; z-index: 0;
}
.bottle-photo {
  position: relative; z-index: 2; width: 210px; filter: drop-shadow(0 24px 40px rgba(14,42,36,.28));
}
/* Sygnatura: unoszący się aromat/mgiełka */
.aroma { position: absolute; z-index: 1; left: 50%; bottom: 300px; transform: translateX(-50%); pointer-events: none; }
.aroma span {
  position: absolute; bottom: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint); opacity: 0; filter: blur(1px);
  animation: rise 4.2s ease-in infinite;
}
.aroma span:nth-child(1) { left: -26px; animation-delay: 0s;   width: 6px; height: 6px; }
.aroma span:nth-child(2) { left: -6px;  animation-delay: .8s;  width: 10px; height: 10px; }
.aroma span:nth-child(3) { left: 14px;  animation-delay: 1.6s; width: 7px; height: 7px; }
.aroma span:nth-child(4) { left: 30px;  animation-delay: 2.4s; width: 9px; height: 9px; }
.aroma span:nth-child(5) { left: 2px;   animation-delay: 3.2s; width: 5px; height: 5px; }
@keyframes rise {
  0%   { opacity: 0; transform: translateY(0) scale(.6); }
  20%  { opacity: .55; }
  100% { opacity: 0; transform: translateY(-160px) scale(1.5); }
}

/* Pływające plakietki cech przy buteleczce */
.chip-float {
  position: absolute; z-index: 3; background: var(--white); box-shadow: var(--shadow-md);
  border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 8px; animation: bob 5s ease-in-out infinite;
}
.chip-float .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.chip-float.c1 { top: 40px; right: -6px; }
.chip-float.c2 { bottom: 78px; left: -10px; animation-delay: 1.4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Ambient — chłodne plamy tła */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; opacity: .5; }
.blob.b1 { width: 360px; height: 360px; background: var(--mint-frost); top: -80px; right: -60px; }
.blob.b2 { width: 300px; height: 300px; background: #dff6ec; bottom: -100px; left: -80px; }

/* ---------- Pasek zaufania ---------- */
.trustbar { background: var(--mint-ink); color: #fff; padding: 26px 0; }
.trustbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .ico { width: 38px; height: 38px; flex: none; color: var(--mint); }
.trust-item h4 { font-family: var(--display); font-size: 15px; margin-bottom: 1px; }
.trust-item p { font-size: 12.5px; color: #9fc4ba; line-height: 1.35; }

/* ---------- Sekcje ---------- */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 12px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* Do czego — karty użycia */
.uses { background: linear-gradient(180deg, var(--white), var(--mint-mist)); }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.use-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.use-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.use-card .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint-frost); color: var(--mint-deep); margin-bottom: 18px;
}
.use-card h3 { font-size: 21px; margin-bottom: 8px; }
.use-card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Blok certyfikatu (zaufanie — mocny) ---------- */
.cert { background: var(--mint-frost); }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.cert-badge {
  aspect-ratio: 1; max-width: 380px; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff, var(--mint-mist));
  border: 3px solid var(--mint); display: grid; place-items: center; text-align: center;
  box-shadow: var(--shadow-lg); position: relative;
}
.cert-badge::after {
  content: ""; position: absolute; inset: 14px; border: 1.5px dashed var(--mint-deep);
  border-radius: 50%; opacity: .4;
}
.cert-badge .inner { padding: 40px; }
.cert-badge .pct { font-family: var(--display); font-size: 64px; font-weight: 700; color: var(--mint-deep); line-height: 1; }
.cert-badge .lbl { font-weight: 600; letter-spacing: .04em; margin-top: 6px; }
.cert h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 18px; }
.cert ul { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.cert li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.cert li .tick {
  width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--mint);
  color: #fff; display: grid; place-items: center; margin-top: 1px;
}

/* ---------- Opinie ---------- */
.reviews { background: var(--white); }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.reviews-head .rh-left { max-width: 520px; }
.reviews-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 12px 0 8px; }
.reviews-head p { color: var(--ink-soft); font-size: 16px; }
.rating-summary { text-align: center; flex: none; background: var(--mint-frost); border-radius: var(--r-lg); padding: 22px 34px; }
.rating-summary .score { font-family: var(--display); font-size: 48px; font-weight: 700; color: var(--mint-ink); line-height: 1; }
.rating-summary .stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; margin: 6px 0 4px; }
.rating-summary .based { font-size: 13px; color: var(--ink-soft); }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s, box-shadow .2s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-card .rc-stars { color: var(--gold); font-size: 15px; letter-spacing: 1px; }
.review-card .rc-text { font-size: 15px; line-height: 1.6; flex: 1; }
.review-card .rc-author { display: flex; align-items: center; gap: 12px; }
.review-card .rc-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, var(--mint), var(--mint-deep));
}
.review-card .rc-name { font-weight: 600; font-size: 14.5px; }
.review-card .rc-meta { font-size: 12.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.rc-verified { display: inline-flex; align-items: center; gap: 4px; color: var(--mint-deep); font-weight: 600; }

/* ---------- Blok zakupowy ---------- */
.buy { background: linear-gradient(180deg, var(--mint-mist), var(--white)); }
.buy-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 46px; align-items: start; }
.buy-visual { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(150deg, var(--mint-frost), var(--mint-mist)); min-height: 480px; display: grid; place-items: center; }
.buy-visual img { width: 62%; filter: drop-shadow(0 24px 40px rgba(14,42,36,.24)); }
.buy-panel { position: sticky; top: 90px; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 4px; }
.price { font-family: var(--display); font-size: 46px; font-weight: 700; color: var(--mint-ink); }
.price-unit { color: var(--ink-soft); font-size: 15px; }
.stock-line { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mint-deep); font-weight: 600; margin-bottom: 22px; }
.stock-line .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 var(--mint); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,184,148,.5);} 70% { box-shadow: 0 0 0 10px rgba(0,184,148,0);} 100% { box-shadow: 0 0 0 0 rgba(0,184,148,0);} }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 16px; }
.qty button { width: 42px; height: 44px; border: none; background: var(--white); font-size: 20px; cursor: pointer; color: var(--mint-ink); }
.qty button:hover { background: var(--mint-mist); }
.qty input { width: 48px; text-align: center; border: none; font-size: 16px; font-weight: 600; font-family: var(--body); }

.buy-add { width: 100%; justify-content: center; margin-bottom: 12px; }
.buy-note { font-size: 13px; color: var(--ink-soft); text-align: center; display: flex; gap: 16px; justify-content: center; }
.buy-note span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Dosprzedaż + koszyk ---------- */
.addons { background: linear-gradient(180deg, var(--mint-mist), var(--white)); }
.addon-cols { display: grid; grid-template-columns: 1.3fr .9fr; gap: 34px; align-items: start; }
.featured-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.addon-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .2s;
}
.addon-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.addon-card .addon-top { display: flex; gap: 14px; align-items: center; }
.addon-card .thumb { width: 60px; height: 60px; border-radius: 10px; background: var(--mint-frost); flex: none; display: grid; place-items: center; overflow: hidden; }
.addon-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.addon-card .meta { flex: 1; min-width: 0; }
.addon-card .meta h4 { font-family: var(--body); font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.addon-card .meta .p { color: var(--mint-deep); font-weight: 700; font-size: 15px; margin-top: 3px; }
.addon-card .addon-bottom { border-top: 1px solid var(--line); padding-top: 10px; }
.addon-card .addon-desc { font-size: 13px; color: var(--ink-soft, #5a6b66); line-height: 1.4; margin: 0; }
.addon-card .addon-link { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--mint-deep); text-decoration: none; }
.addon-card .addon-link:hover { text-decoration: underline; }
.addon-card .add-btn {
  flex: none; width: 40px; height: 40px; border-radius: 10px; border: none; cursor: pointer;
  background: var(--mint-ink); color: #fff; font-size: 22px; display: grid; place-items: center;
  transition: background .15s, transform .15s;
}
.addon-card .add-btn:hover { background: var(--mint-deep); transform: scale(1.06); }

/* Wyszukiwarka */
.search-wrap { position: relative; margin-bottom: 22px; }
.search-wrap input {
  width: 100%; padding: 15px 18px 15px 46px; border: 1.5px solid var(--line); border-radius: 999px;
  font: inherit; font-size: 15px; background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235a6b66' stroke-width='2'><circle cx='11' cy='11' r='8'/><path d='m21 21-4.3-4.3'/></svg>") no-repeat 16px center;
}
.search-wrap input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(0,184,148,.12); }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); z-index: 20; overflow: hidden; display: none; }
.search-results.show { display: block; }
.search-hit { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; text-decoration: none; color: inherit; }
.search-hit:hover { background: var(--mint-mist); }
.search-hit .h-name { flex: 1; font-size: 14px; font-weight: 500; }
.search-hit .h-price { color: var(--mint-deep); font-weight: 700; font-size: 14px; white-space: nowrap; }
/* Miniatura produktu w wyniku */
.search-hit .h-thumb { flex: none; width: 40px; height: 40px; border-radius: 8px; background: #fff; border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.search-hit .h-thumb img { width: 100%; height: 100%; object-fit: contain; }
.search-hit .h-thumb:empty { display: none; }
/* Przycisk „+ do koszyka" w wyniku */
.search-hit .h-add {
  flex: none; width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--mint); background: #fff; color: var(--mint-deep);
  display: grid; place-items: center; cursor: pointer; transition: background .15s, color .15s;
}
.search-hit .h-add:hover { background: var(--mint); color: #fff; }
/* Wiersz będący linkiem — subtelna wskazówka, że prowadzi na stronę */
.search-hit.has-link .h-name { color: var(--mint-ink); }
.search-empty { padding: 16px; text-align: center; color: var(--ink-soft); font-size: 14px; }

/* Koszyk (pseudo) */
.cart-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 24px; position: sticky; top: 90px; }
.cart-box h3 { font-size: 20px; margin-bottom: 4px; }
.cart-box .sub { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.cart-items { display: grid; gap: 12px; margin-bottom: 18px; max-height: 320px; overflow-y: auto; }
.cart-row { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: none; }
.cart-row .c-img { width: 46px; height: 46px; border-radius: 8px; background: var(--mint-frost); flex: none; overflow: hidden; }
.cart-row .c-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row .c-meta { flex: 1; min-width: 0; }
.cart-row .c-name { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.cart-row .c-price { font-size: 13px; color: var(--ink-soft); }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.cart-qty button { width: 26px; height: 28px; border: none; background: none; cursor: pointer; font-size: 15px; color: var(--mint-ink); }
.cart-qty span { width: 26px; text-align: center; font-size: 13px; font-weight: 600; }
.cart-row .c-remove { border: none; background: none; cursor: pointer; color: var(--ink-soft); font-size: 18px; line-height: 1; padding: 4px; }
.cart-row .c-remove:hover { color: #d64545; }
.cart-empty { text-align: center; padding: 30px 0; color: var(--ink-soft); font-size: 14px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 2px solid var(--mint-ink); margin-bottom: 16px; }
.cart-total .t-lbl { font-weight: 600; }
.cart-total .t-val { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--mint-ink); }
.cart-ship-note { font-size: 12.5px; color: var(--ink-soft); text-align: center; margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq-q { padding: 18px 22px; font-family: var(--display); font-weight: 600; font-size: 17px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q::after { content: "+"; font-size: 24px; color: var(--mint-deep); transition: transform .2s; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--ink-soft); font-size: 15px; }

/* ---------- Stopka ---------- */
footer { background: var(--mint-ink); color: #cfe6df; padding: 60px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer .logo { color: #fff; margin-bottom: 12px; }
footer p { font-size: 14px; line-height: 1.6; max-width: 34em; }
footer h5 { font-family: var(--display); color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
footer ul { list-style: none; display: grid; gap: 9px; }
footer ul a { font-size: 14px; color: #9fc4ba; }
footer ul a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; font-size: 13px; color: #7ea99d; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--mint-ink); color: #fff; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); z-index: 100; opacity: 0; transition: transform .3s, opacity .3s; display: flex; align-items: center; gap: 10px; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------- Responsywność ---------- */
/* Topbar przełącza się na tryb mobilny (hamburger) wcześniej niż reszta
   layoutu — przy 1080px — bo przy długich nazwach (np. „Dzika pomarańcza
   doTERRA") pełne menu + przycisk zaczynają się tłoczyć jeszcze na laptopie.
   Layout treści (hero, sekcje) zostaje na 920px poniżej. */
@media (max-width: 1080px) {
  .topbar nav { display: none; }
  /* Wyszukiwarka w topbarze i pasek kotwic ukryte na mobile —
     mobile ma hamburger (te same kotwice) + ikonę-lupę + szukajkę dosprzedaży. */
  .topbar-search { display: none; }
  .section-nav { display: none; }
  .top-action { display: none; }              /* na mobile zastępuje go pasek dolny */
  /* Koszyk na mobile: tylko ikona + liczba (słowo „Koszyk" zajmuje miejsce). */
  .mini-cart .mc-label { display: none; }
  .mini-cart { padding: 8px 11px; gap: 5px; }
  .topbar-actions { gap: 6px; }
}
@media (max-width: 920px) {
  .hero-grid, .cert-grid, .buy-grid, .addon-cols { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; order: -1; margin-bottom: 18px; }
  .trustbar .wrap { grid-template-columns: repeat(2, 1fr); }
  .use-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .reviews-head { flex-direction: column; align-items: flex-start; }
  .featured-grid { grid-template-columns: 1fr; }
  .buy-panel, .cart-box { position: static; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .cart-dropdown { width: calc(100vw - 24px); position: fixed; top: 66px; right: 12px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 78px; }              /* miejsce na pasek dolny */
}

/* Dostępność: mniej ruchu */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* Focus widoczny */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--mint-deep); outline-offset: 2px; }

/* Opis + link olejku w dosprzedaży, wyszukiwarce i koszyku */
.c-link, .cd-link, .h-link { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--mint-deep); text-decoration: none; margin-top: 2px; }
.c-link:hover, .cd-link:hover, .h-link:hover { text-decoration: underline; }
.c-desc { font-size: 12px; color: var(--ink-soft, #5a6b66); margin: 2px 0; line-height: 1.3; }
.search-hit .h-main { display: flex; flex-direction: column; gap: 1px; }
.search-hit .h-desc { font-size: 12px; color: var(--ink-soft, #5a6b66); }
.search-hit .h-link { margin-top: 1px; }

.rc-scope { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 20px; background: var(--mint-frost); color: var(--mint-deep); font-size: 11px; font-weight: 600; }

/* ---------- Blok "Skład i informacje" (rozwijany, pod blokiem zakupowym) ---------- */
.info-block { padding: 8px 0 4px; }
.info-details {
  border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px;
  background: #fff; overflow: hidden;
}
.info-details summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 15px 18px; font-weight: 600; font-size: 15px; color: var(--mint-ink);
  user-select: none;
}
.info-details summary::-webkit-details-marker { display: none; }
.info-details summary:hover { color: var(--mint-deep); }
.info-chevron { color: var(--mint-deep); flex: none; transition: transform .2s; }
.info-details[open] .info-chevron { transform: rotate(180deg); }
.info-content { padding: 0 18px 18px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; }
.info-content a { color: var(--mint-deep); text-decoration: none; }
.info-content a:hover { text-decoration: underline; }
.info-content ul { margin: 0; padding-left: 20px; }
.info-content li { margin-bottom: 6px; }

/* Dane podmiotów (producent / UE / importer) — siatka */
.info-parties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-party h4 { font-size: 13px; font-weight: 700; color: var(--mint-ink); margin: 0 0 6px; text-transform: uppercase; letter-spacing: .03em; }
.info-party p { margin: 0; font-size: 13.5px; line-height: 1.6; }
@media (max-width: 720px) {
  .info-parties { grid-template-columns: 1fr; gap: 18px; }
}

/* Ostrzeżenia CLP — widoczna ramka (bezpieczeństwo, nie chowane) */
.info-safety {
  border: 1px solid var(--line); border-left: 4px solid var(--mint-deep);
  border-radius: 10px; background: var(--mint-mist); padding: 14px 18px; margin-bottom: 14px;
}
.info-safety-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--mint-ink); margin-bottom: 6px; }
.info-safety-head svg { color: var(--mint-deep); flex: none; }
.info-safety p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--mint-ink); }

/* Lista etykieta -> wartość (skład) */
.info-spec { display: grid; grid-template-columns: 190px 1fr; gap: 8px 18px; margin: 0; }
.info-spec dt { font-weight: 600; color: var(--mint-ink); font-size: 13.5px; }
.info-spec dd { margin: 0; font-size: 13.5px; line-height: 1.55; }
@media (max-width: 620px) {
  .info-spec { grid-template-columns: 1fr; gap: 2px 0; }
  .info-spec dd { margin-bottom: 10px; color: var(--ink-soft); }
}
