/* ==========================================================================
   HealthAid Neem Oil Kapsül — sayfaya özel tema
   Paylaşılan assets/css/campaign.css üzerine biner.

   Palet ambalajın kendi yeşilinden alınmıştır (#017434). Kış sayfası mavi-
   turkuaz, sivrisinek kovucu yeşil-turkuaz; bu sayfa yaprak yeşili + kehribar
   ile üçünden de ayrılır. Kehribar, şişenin cam rengiyle aynı ailedendir.
   ========================================================================== */

:root {
  --brand-primary: #0A6B31;
  --brand-primary-light: #12873F;
  --brand-primary-dark: #055023;

  --pastel-beige: #F4F9F3;
  --pastel-cream: #FAFDF9;
  --pastel-sand: #E8F3E6;

  --text-dark: #14331F;
  --text-light: #52705C;
  --bg-white: #ffffff;
  --bg-light: #F6FBF5;
  --border-light: #DBE9D9;

  /* Kehribar vurgu: ambalajın cam rengi. Saf sarı beyaz zeminde okunmaz,
     bu yüzden vurgu koyu kehribardır. */
  --accent-peach: #F6E3B8;
  --accent-terracotta: #B8801A;

  --pastel-green: #DFF0DC;
  --pastel-green-dark: #A9D3A2;
  --pastel-blue: #E4F1E2;
  --pastel-blue-dark: #A9D3A2;

  --shadow-sm: 0 2px 4px rgba(20, 51, 31, .08);
  --shadow-md: 0 4px 8px rgba(20, 51, 31, .10);
  --shadow-lg: 0 8px 16px rgba(20, 51, 31, .12);

  --pack-green: #017434;
}

body { background: var(--bg-light); }

/* campaign.css içinde kahverengiye sabitlenmiş rgba değerlerini düzeltir */
.section-nav-links a:hover { background: rgba(10, 107, 49, .10); }
.step-number { box-shadow: 0 8px 16px rgba(10, 107, 49, .30); }

/* Bölüm menüsü üst menüye yapışır — campaign.css'teki sabit 68px yerine
   çubuğun gerçek yüksekliği kullanılır (JS --nav-h değişkenini günceller). */
.section-nav { top: var(--nav-h, 58px); }
html { scroll-padding-top: calc(var(--nav-h, 58px) + 3.75rem); }
button, a { -webkit-tap-highlight-color: transparent; }

/* Ekran okuyucular ve başlık hiyerarşisi için görünmez başlık */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Ürün girişi
   -------------------------------------------------------------------------- */
.hero-section { background: linear-gradient(180deg, var(--pastel-cream) 0%, var(--bg-white) 100%); }
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: .9rem;
}
.hero-content h1 { letter-spacing: -.02em; text-wrap: balance; }
.hero-content h1 em { font-style: normal; color: var(--brand-primary); }

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 2.5rem;
  align-items: center;
  max-width: 1100px;
  margin: 2.5rem auto 0;
  text-align: left;
}
.product-hero-figure {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--pastel-sand);
  box-shadow: var(--shadow-lg);
}
.product-hero-figure img { display: block; width: 100%; height: auto; }

.hero-summary { margin: 0; }
.hero-summary p {
  color: var(--text-light);
  font-size: 1.08rem;
  line-height: 1.72;
  margin-bottom: 1.1rem;
}
.hero-summary p:last-child { margin-bottom: 0; }
.hero-summary strong { color: var(--text-dark); font-weight: 700; }

.fact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
}
.fact-pills li {
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: .55rem 1.05rem;
  font-size: .92rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}
.fact-pills b {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--brand-primary);
}
.fact-pills i { font-style: italic; }

/* --------------------------------------------------------------------------
   Dışarıdan / içeriden — sayfanın ana fikri
   -------------------------------------------------------------------------- */
.versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}
.versus-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.9rem 1.75rem;
}
.versus-card.is-inside {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}
.versus-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .8rem;
}
.versus-card.is-inside .versus-label { color: var(--brand-primary); }
.versus-card h3 { font-size: 1.22rem; color: var(--text-dark); margin: 0 0 .8rem; }
.versus-card p { margin: 0 0 1rem; color: var(--text-light); font-size: .96rem; line-height: 1.68; }
.versus-card ul { margin: 0; padding-left: 1.15rem; }
.versus-card li { color: var(--text-light); font-size: .94rem; line-height: 1.7; margin-bottom: .35rem; }

/* Ortadaki "+" iki kartın alternatif değil tamamlayıcı olduğunu söyler.
   Sayfanın tek cümlelik iddiası bu işarette duruyor. */
.versus-plus {
  align-self: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  flex: none;
}
.versus-note {
  max-width: 1000px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* --------------------------------------------------------------------------
   Kimler için
   -------------------------------------------------------------------------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.audience-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--brand-primary);
  border-radius: 14px;
  padding: 1.8rem 1.65rem;
}
.audience-card h3 { font-size: 1.18rem; color: var(--text-dark); margin: 0 0 .7rem; }
.audience-card > p { margin: 0 0 1.1rem; color: var(--text-light); font-size: .96rem; line-height: 1.68; }
.audience-quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.audience-quotes li {
  background: var(--pastel-green);
  border-radius: 10px;
  padding: .7rem .95rem;
  font-size: .92rem;
  color: var(--text-dark);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Neem nedir — metin ağırlıklı bölüm
   -------------------------------------------------------------------------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose p {
  color: var(--text-light);
  font-size: 1.04rem;
  line-height: 1.78;
  margin-bottom: 1.15rem;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text-dark); font-weight: 700; }
.prose em { font-style: italic; }

.leaf-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
  list-style: none;
  padding: 0;
}
.leaf-facts li {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.2rem 1.25rem;
  text-align: center;
}
.leaf-facts b { display: block; font-size: 1.05rem; color: var(--brand-primary); margin-bottom: .25rem; }
.leaf-facts span { font-size: .88rem; color: var(--text-light); }

/* --------------------------------------------------------------------------
   Neden kapsül
   -------------------------------------------------------------------------- */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.reason-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.reason-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.reason-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pastel-green);
  color: var(--brand-primary-dark);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.reason-icon svg { width: 24px; height: 24px; }
.reason-card h3 { font-size: 1.1rem; color: var(--text-dark); margin: 0 0 .5rem; }
.reason-card p { margin: 0; font-size: .94rem; color: var(--text-light); line-height: 1.65; }

/* --------------------------------------------------------------------------
   İçindekiler
   -------------------------------------------------------------------------- */
.composition {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
}
.composition-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.15rem 1.6rem;
  border-bottom: 1px solid var(--border-light);
}
.composition-row:last-child { border-bottom: 0; }
.composition-row dt { font-weight: 700; color: var(--text-dark); font-size: .98rem; margin: 0; }
.composition-row dd { margin: 0; color: var(--text-light); font-size: .95rem; text-align: right; }
.composition-row.is-lead { background: var(--pastel-green); }
.composition-row.is-lead dd { color: var(--text-dark); font-weight: 700; }

.freefrom {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 2rem auto 0;
  max-width: 900px;
}
.freefrom li {
  background: var(--bg-white);
  border: 1px solid var(--pastel-green-dark);
  color: var(--text-dark);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .87rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Güvenli kullanım
   -------------------------------------------------------------------------- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.safety-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.5rem;
}
.safety-card h3 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin: 0 0 .8rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.safety-card ul { margin: 0; padding-left: 1.15rem; }
.safety-card li { font-size: .92rem; color: var(--text-light); line-height: 1.7; margin-bottom: .45rem; }
.safety-card li:last-child { margin-bottom: 0; }
.safety-card li strong { color: var(--text-dark); font-weight: 700; }

.supplement-note {
  max-width: 1100px;
  margin: 1.25rem auto 0;
  background: #FFF8E8;
  border: 1px solid #EBD9A8;
  border-radius: 12px;
  padding: 1.15rem 1.4rem;
  font-size: .93rem;
  line-height: 1.7;
  color: #6A5312;
}
.supplement-note strong { color: #4A390A; }

/* --------------------------------------------------------------------------
   Sık sorulan sorular
   -------------------------------------------------------------------------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: .75rem; }
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent-terracotta);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  flex: none;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: .8rem 0 0;
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Bayi eczaneler
   -------------------------------------------------------------------------- */
.region-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin: 0 0 1.5rem;
}
.region-filter[hidden] { display: none; }
.region-filter button {
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-dark);
  border-radius: 999px;
  padding: .45rem 1rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.region-filter button span { margin-left: .35rem; font-weight: 500; opacity: .7; }
.region-filter button:hover { border-color: var(--brand-primary); }
.region-filter button[aria-pressed="true"] {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}
.region-filter button[aria-pressed="true"] span { opacity: .85; }
.region-filter button:active { transform: scale(.96); }

@keyframes pharmacy-card-in {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.pharmacy-grid.is-animating .pharmacy-card {
  animation: pharmacy-card-in .42s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}

.pharmacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}
.pharmacy-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 1.1rem;
  align-items: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pharmacy-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.pharmacy-map {
  display: block;
  width: 104px;
  height: 104px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  position: relative;
  flex: none;
}
.pharmacy-map svg { display: block; width: 100%; height: 100%; }
.pharmacy-map::after {
  content: "Haritada aç";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 80, 35, .82);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-align: center;
  padding: .22rem 0;
}
.pharmacy-region {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin: 0 0 .15rem;
}
.pharmacy-card h3 { font-size: 1.08rem; color: var(--text-dark); margin: 0 0 .35rem; }
.pharmacy-meta { margin: 0; font-size: .86rem; color: var(--text-light); line-height: 1.5; }
.pharmacy-meta strong { color: var(--text-dark); font-weight: 600; }
.pharmacy-address { margin: .3rem 0 0; font-size: .84rem; color: var(--text-light); line-height: 1.5; }
.pharmacy-phone {
  display: inline-block;
  margin: .45rem .9rem 0 0;
  font-weight: 700;
  font-size: .9rem;
  color: var(--brand-primary);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.pharmacy-phone:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Yasal uyarı
   -------------------------------------------------------------------------- */
.med-notice {
  max-width: 820px;
  margin: 2.5rem auto 0;
  background: var(--pastel-blue);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  color: var(--text-dark);
  font-size: .88rem;
}
.med-notice h3 { font-size: 1rem; margin-bottom: .6rem; }
.med-notice p { margin-bottom: .6rem; }
.med-notice p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Duyarlı
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .product-hero { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .product-hero-figure { order: -1; max-width: 420px; margin-inline: auto; }
  .fact-pills { justify-content: center; }
  .hero-summary p { text-align: left; }

  /* "+" iki kartın arasında kalmalı: dikeyde de araya girer */
  .versus { grid-template-columns: 1fr; gap: 1rem; }
  .versus-plus { justify-self: center; }
}

@media (max-width: 768px) {
  .section-nav-links {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
    scroll-padding-inline: 1rem;
  }
  .section-nav-links a { padding: .6rem .8rem; }
  .nav-links { gap: 0; }
  .nav-links li a { display: block; padding: .75rem .25rem; }
  .mobile-menu-toggle { padding: .5rem .6rem; margin: -.5rem -.6rem; }

  .content-section { padding: 3rem 0; }
  .section-title { margin-bottom: 2rem; }
  .hero-summary p { font-size: 1.02rem; line-height: 1.65; }

  .versus-card { padding: 1.4rem 1.3rem; }
  .composition-row { padding: 1rem 1.15rem; }
  .composition-row dd { text-align: left; }

  .region-filter { gap: .45rem; margin-bottom: 1.25rem; }
  .region-filter button { min-height: 44px; padding: .5rem .95rem; }
  .pharmacy-card { padding: 1rem; }
  .pharmacy-phone { display: block; margin: .35rem 0 0; padding: .25rem 0; }

  .faq-item { padding: .9rem 1.1rem; }
  .faq-item summary { min-height: 44px; }
  .med-notice { padding: 1.25rem; margin-top: 2rem; }
  .footer a { display: inline-block; padding: .3rem .15rem; }
}

@media (max-width: 860px) {
  .pharmacy-card { grid-template-columns: 88px 1fr; }
  .pharmacy-map { width: 88px; height: 88px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.85rem; }
  .section-title { font-size: 1.6rem; }
  .audience-card { padding: 1.35rem 1.25rem; }
  .reason-card { padding: 1.25rem; }
  .pharmacy-card h3 { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

:focus-visible { outline: 3px solid var(--accent-terracotta); outline-offset: 3px; border-radius: 6px; }
