/* Yazı tipleri — kaynak ve gerekçe: assets/fonts/fonts.css
   Buraya kopyalandı çünkü @import, site.css indirilip ayrıştırılmadan
   font isteğini başlatmıyor; üç adımlı bekleme zinciri oluyordu. */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-ext.woff2') format('woff2');
  unicode-range: U+011E-011F,U+0130,U+015E-015F;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-ext.woff2') format('woff2');
  unicode-range: U+011E-011F,U+0130,U+015E-015F,U+20BA;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}


/* ==========================================================================
   Calmira Bitkisel — ön yüz stilleri
   Palet doğrudan ürün ambalajlarından alındı: koyu orman yeşili etiket zemini,
   altın çerçeve detayı, kraft/krem kese kağıdı tonu.
   ========================================================================== */

:root {
  /* Renk */
  --forest-deep: #14331F;   /* footer, duyuru barı */
  --forest:      #1E4D2B;   /* başlık, birincil buton */
  --forest-mid:  #2D6A3F;   /* hover */
  --sage:        #7A9B7E;   /* ikincil çizgi, ikon */
  --gold:        #C9A227;   /* amblem altını, ince ayraç */
  --gold-soft:   #E3CE8E;   /* çerçeve hairline */
  --cream:       #FBF3E7;   /* bölüm zemini */
  --linen:       #F3E6D2;   /* ürün görseli yatağı */
  --paper:       #FFFFFF;
  --ink:         #1F1B16;   /* metin — sıcak siyah */
  --ink-soft:    #5C544A;   /* ikincil metin */
  --rule:        #E5DAC6;   /* ince çizgi */
  --trendyol:    #F27A1A;   /* yalnızca Trendyol butonu */
  --whatsapp:    #1E4D2B;   /* WhatsApp butonu marka yeşilinde */

  /* Ölçü */
  --wrap: 1240px;
  --gap: 24px;
  --radius: 4px;

  /* Tipografi ölçeği — Elements of Typographic Style, 1.25 oran */
  --t-xs:   0.8125rem;
  --t-sm:   0.9375rem;
  --t-base: 1.0625rem;
  --t-lg:   1.25rem;
  --t-xl:   1.5rem;
  --t-2xl:  2rem;
  --t-3xl:  2.75rem;
  --t-4xl:  3.5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--t-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); }

p { margin: 0 0 1em; max-width: 68ch; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Bölüm başlığı ---------------------------------------------------------
   Referans sitede her başlığın üstünde büyük harfli bir etiket var. Onun yerine
   altın bir yaprak ayracı kullanıyorum: ambalajdaki amblemin aynısı. */
.section { padding: 72px 0; scroll-margin-top: 90px; }
.section--cream { background: var(--cream); }
.section--linen { background: var(--linen); }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { margin-bottom: .25em; }
.section-head p { margin-inline: auto; color: var(--ink-soft); }

.leaf-rule {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 18px; color: var(--gold);
}
.leaf-rule::before, .leaf-rule::after {
  content: ''; height: 1px; width: 54px; background: currentColor; opacity: .55;
}

/* --- Duyuru barı ---------------------------------------------------------- */
.announce {
  background: var(--forest-deep);
  color: var(--cream);
  font-size: var(--t-xs);
  text-align: center;
  padding: 9px 16px;
  letter-spacing: .02em;
}
.announce a { border-bottom: 1px solid rgba(227,206,142,.5); }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 72px;
}
/* Arama kutusunun sayfaya göre ortalanması için sol ve sağ gruplar eşit
   pay alıyor. Aksi hâlde kutu, dar logo ile geniş buton arasındaki boşluğu
   doldurup sola kaymış görünüyor. */
.brand { display: flex; align-items: center; gap: 10px; flex: 1 1 0; min-width: 0; }
/* Logo PDF'ten vektör olarak çıkarıldı; yükseklik veriyoruz, genişlik oranla gelsin */
.brand-logo { height: 44px; width: auto; }
.brand-logo--ters { height: 40px; }
.brand-mark { width: 26px; height: 26px; color: var(--gold); }
.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem; font-weight: 600; color: var(--forest);
  letter-spacing: .06em;
}

.nav { border-top: 1px solid var(--rule); background: var(--paper); }
.nav-ic { display: flex; gap: 26px; flex-wrap: wrap; padding: 2px 0; }
.nav a {
  font-size: var(--t-sm); font-weight: 500; color: var(--ink);
  padding: 9px 0; position: relative; white-space: nowrap;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--gold); transform: scaleX(0);
  transition: transform .18s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 6px; flex: 1 1 0; min-width: 0;
}
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; background: none; color: var(--forest); cursor: pointer;
  border-radius: 50%;
}
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 20px; height: 20px; }

.header-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--forest); color: #fff;
  padding: 9px 16px; border-radius: 999px;
  font-size: var(--t-sm); font-weight: 600;
}
.header-wa:hover { background: var(--forest-mid); }
.header-wa svg { width: 17px; height: 17px; }

.burger { display: none; }

/* --- Slider --------------------------------------------------------------- */
.hero { position: relative; background: var(--cream); }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { flex: 0 0 100%; scroll-snap-align: start; }
.hero-slide img { width: 100%; aspect-ratio: 16/6.4; object-fit: cover; }

.hero-dots {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; gap: 9px;
}
.hero-dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.85); background: transparent; cursor: pointer;
}
.hero-dots button[aria-selected="true"] { background: #fff; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.85); color: var(--forest);
  display: grid; place-items: center;
}
.hero-arrow:hover { background: #fff; }
.hero-arrow--prev { left: 18px; }
.hero-arrow--next { right: 18px; }
.hero-arrow svg { width: 18px; height: 18px; }

/* --- Güvence barı --------------------------------------------------------- */
.trust { background: var(--cream); padding: 46px 0; border-block: 1px solid var(--rule); }
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  text-align: center;
}
.trust-item svg { width: 38px; height: 38px; color: var(--gold); margin: 0 auto 12px; }
.trust-item h3 { font-size: var(--t-base); margin-bottom: .2em; }
.trust-item p { font-size: var(--t-sm); color: var(--ink-soft); margin: 0; max-width: none; }

/* --- Ürün kartı ------------------------------------------------------------
   Düzen Trendyol'un ürün kartına yakın: beyaz zeminde tam görünen ürün
   fotoğrafı, kalın marka öneki, iki satıra sabitlenmiş ad, yıldız ve
   üstü çizili eski fiyat. Kartın tamamı tıklanabilir, ayrı buton yok. */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
}
/* Kartın tamamı tıklanabilir; ayrı buton yok. .card-ortu görünmez bir
   bağlantı olarak kartı kaplıyor, üstteki gerçek bağlantılar onun üzerinde
   kalıyor ki ekran okuyucu ve klavye için anlamlı hedefler kaybolmasın. */
.card {
  display: flex; flex-direction: column; position: relative;
  border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--paper); overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.card:hover { border-color: var(--gold-soft); box-shadow: 0 2px 12px rgba(31,27,22,.07); }
.card:focus-within { border-color: var(--forest); }

.card-ortu { position: absolute; inset: 0; z-index: 1; }
.card-govde { padding: 12px 13px 14px; display: flex; flex-direction: column; flex: 1; }
.card-govde h3, .card-govde p, .card-govde .card-price { position: relative; z-index: 2; }
.card-govde a { position: relative; z-index: 2; }
.card-media {
  position: relative; background: #fff;
  border-bottom: 1px solid var(--rule);
  overflow: hidden; display: block;
}
/* Ürün fotoğrafları 2:3 dikey geliyor. cover kullanınca karede %33'ü
   kırpılıyor ve şişenin kapağı ya da etiketin altı kesiliyor. contain ile
   ürünün tamamı görünüyor; boşluk kalan yeri açık zemin dolduruyor. */
.card-media img {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  padding: 6px;
  transition: transform .4s ease;
}
.card:hover .card-media img { transform: scale(1.035); }

.badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: var(--forest); color: var(--cream);
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 4px 9px; border-radius: 2px;
}
/* Rozet kartı kaplayan bağlantının üstünde; tıklamayı engellemesin */
.badge { pointer-events: none; }
.badge--sale { background: #A8321E; }

/* Ad iki satırda sabitleniyor ki kartlar aynı hizada kalsın */
.card h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: var(--t-sm); font-weight: 400; color: var(--ink);
  line-height: 1.35; margin: 0 0 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.7em;
}
.card-marka { font-weight: 700; letter-spacing: .01em; }
.card-variants { font-size: var(--t-xs); color: var(--ink-soft); margin: 0 0 6px; }
.card-price {
  display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap;
  margin: auto 0 0; padding-top: 4px;
}
.price { font-size: var(--t-lg); font-weight: 700; color: var(--forest); }
.price-old { font-size: var(--t-xs); color: var(--ink-soft); text-decoration: line-through; }
.price-from { font-size: var(--t-xs); color: var(--ink-soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: var(--t-sm); font-weight: 600;
  padding: 11px 20px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease;
  text-align: center;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn--outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--outline:hover { background: var(--forest); color: #fff; }
.btn--wa { background: var(--whatsapp); color: #fff; }
.btn--wa:hover { background: var(--forest-mid); }
.btn--ty { background: var(--trendyol); color: #fff; }
.btn--ty:hover { background: #d96a12; }
.btn--block { width: 100%; }
.btn--lg { padding: 15px 26px; font-size: var(--t-base); }



/* --- Kategori karoları -----------------------------------------------------
   Seri banner'ları yatay çekilmiş; 2x2 geniş karo düzeni onları kırpmadan
   gösteriyor ve ürün sırasının tamamı görünüyor. */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.cat-tile {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 16/9;
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile { background: var(--linen); }
.cat-tile img { object-position: center; }
/* Karo görselleri çok farklı: kimi koyu, kimi açık zeminli. Alttaki başlık
   hepsinde okunabilsin diye degradeyi alt kısımda güçlü tutuyoruz. */
.cat-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(20,51,31,.92) 0%, rgba(20,51,31,.72) 26%,
    rgba(20,51,31,.22) 58%, rgba(20,51,31,0) 100%);
}
.cat-tile-body h3 { text-shadow: 0 1px 3px rgba(0,0,0,.4); }
/* Görseli olmayan kategori: düz yeşil yerine markanın keten zemini */
.cat-tile--gorselsiz { background: var(--forest); }
.cat-tile--gorselsiz::after { background: none; }
.cat-tile-body {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; color: #fff;
}
.cat-tile-body h3 {
  color: #fff; font-size: var(--t-lg); margin-bottom: 2px;
}
.cat-tile-body span { font-size: var(--t-xs); color: var(--gold-soft); }

/* --- Yorum duvarı ---------------------------------------------------------- */
.rating-line {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 36px; font-size: var(--t-sm); color: var(--ink-soft);
}
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 17px; height: 17px; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.review {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column;
}
.review p { flex: 1; }
.review .stars { margin-bottom: 12px; }
.review p { font-size: var(--t-sm); margin-bottom: 16px; }
.review footer { font-size: var(--t-xs); color: var(--ink-soft); }
.review footer strong { display: block; color: var(--ink); font-size: var(--t-sm); }
.review-src {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 6px;
  color: var(--trendyol); font-weight: 600;
}

/* Müşterinin çektiği fotoğraf — ürünü gerçek hayatta gösteren tek şey,
   bu yüzden yorumun en üstünde ve tam genişlikte. */
.review-foto {
  display: block; margin: -26px -26px 18px; border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; background: var(--cream);
}
.review-foto img {
  display: block; width: 100%; height: 230px; object-fit: cover;
  transition: transform .4s ease;
}
.review-foto:hover img { transform: scale(1.04); }

.review-more { margin-top: 28px; text-align: center; }
.review-more__adet { opacity: .65; font-weight: 500; }

/* İlk dokuzdan sonrası HTML'de duruyor ama gizli: Google hepsini okusun,
   ziyaretçi isterse açsın. JavaScript kapalıyken product.php içindeki
   <noscript> bu kuralı geri alıyor. */
.review--gizli { display: none; }

/* --- Marka metni ----------------------------------------------------------- */
.manifesto { text-align: center; }
.manifesto h2 { font-size: var(--t-3xl); max-width: 18ch; margin-inline: auto; }
.manifesto p { margin-inline: auto; color: var(--ink-soft); font-size: var(--t-lg); }

/* --- SSS akordiyonu -------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: var(--t-lg); font-family: 'Playfair Display', Georgia, serif;
  color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-family: 'Source Sans 3', sans-serif;
  font-size: 1.6rem; color: var(--gold); flex-shrink: 0; line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-bottom: 20px; color: var(--ink-soft); margin: 0; }

/* --- Blog kartı ------------------------------------------------------------ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.post-card img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 14px;
}
.post-card h3 { font-size: var(--t-lg); margin-bottom: 6px; }
.post-card p { font-size: var(--t-sm); color: var(--ink-soft); margin: 0; }

/* --- WhatsApp şeridi ------------------------------------------------------- */
.wa-band {
  background: var(--forest); color: var(--cream);
  padding: 54px 0; text-align: center;
}
.wa-band h2 { color: var(--cream); }
.wa-band p { color: rgba(251,243,231,.78); margin-inline: auto; margin-bottom: 26px; }
.wa-band .btn--wa { background: var(--gold); color: var(--forest-deep); }
.wa-band .btn--wa:hover { background: var(--gold-soft); }

/* --- Footer ---------------------------------------------------------------- */
.site-footer { background: var(--forest-deep); color: rgba(251,243,231,.8); padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 46px;
}
.site-footer h4 {
  color: var(--gold-soft); font-family: 'Source Sans 3', sans-serif;
  font-size: var(--t-sm); font-weight: 700; margin-bottom: 16px;
}
.site-footer .brand-name { color: var(--cream); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; font-size: var(--t-sm); }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer p { font-size: var(--t-sm); max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid rgba(251,243,231,.14);
  padding: 20px 0; font-size: var(--t-xs);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* ==========================================================================
   ÜRÜN SAYFASI
   ========================================================================== */
.breadcrumb {
  font-size: var(--t-xs); color: var(--ink-soft);
  padding: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb span[aria-hidden] { color: var(--rule); }

.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; padding-bottom: 64px; }

.gallery-main {
  background: #fff; border: 1px solid var(--gold-soft);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 12px;
}
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 10px; }
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumbs button {
  width: 74px; height: 74px; padding: 0; cursor: pointer; overflow: hidden;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
}
.gallery-thumbs button[aria-current="true"] { border-color: var(--forest); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }

.pdp-title { font-size: var(--t-2xl); margin-bottom: 10px; }
.pdp-rating {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--t-sm); color: var(--ink-soft); margin-bottom: 22px;
}

.pdp-price-box {
  background: var(--cream); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 24px;
}
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price .price { font-size: var(--t-2xl); }
.pdp-vat { font-size: var(--t-xs); color: var(--ink-soft); margin-top: 4px; }

.variant-block { margin-bottom: 24px; }
.variant-label {
  font-size: var(--t-sm); font-weight: 600; margin-bottom: 10px;
  display: flex; justify-content: space-between;
}
.variant-label span { font-weight: 400; color: var(--ink-soft); }
.variant-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-opts button {
  font-family: inherit; font-size: var(--t-sm); font-weight: 500;
  padding: 9px 16px; cursor: pointer;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--rule); border-radius: var(--radius);
}
.variant-opts button:hover { border-color: var(--forest); }
.variant-opts button[aria-pressed="true"] {
  background: var(--forest); border-color: var(--forest); color: #fff;
}
.variant-opts button[disabled] {
  opacity: .45; cursor: not-allowed; text-decoration: line-through;
}

.stock-line {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--t-sm); color: var(--forest-mid); margin-bottom: 20px; font-weight: 600;
}
.stock-line svg { width: 17px; height: 17px; }
.stock-line--out { color: #A8321E; }

.buy-stack { display: grid; gap: 10px; margin-bottom: 14px; }
.buy-note {
  font-size: var(--t-xs); color: var(--ink-soft); text-align: center; margin-bottom: 26px;
}

.pdp-acc { border-top: 1px solid var(--rule); }
.pdp-acc details { border-bottom: 1px solid var(--rule); }
.pdp-acc summary {
  padding: 16px 0; cursor: pointer; font-weight: 600; font-size: var(--t-sm);
  display: flex; justify-content: space-between; list-style: none;
}
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc summary::after { content: '+'; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.pdp-acc details[open] summary::after { content: '−'; }
.pdp-acc .acc-body { padding-bottom: 18px; font-size: var(--t-sm); color: var(--ink-soft); }
.pdp-acc .acc-body p { max-width: none; }

/* Özellik tablosu — makine okunabilir olsun diye gerçek tablo */
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.spec-table th, .spec-table td {
  text-align: left; padding: 10px 0; border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.spec-table th { font-weight: 600; color: var(--ink); width: 42%; }
.spec-table td { color: var(--ink-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* Nasıl kullanılır — gerçek bir sıra olduğu için numaralandırma haklı */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: center; }
.step-no {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center;
  background: var(--forest); color: var(--cream);
  font-family: 'Playfair Display', serif; font-size: var(--t-lg);
}
.steps h3 { font-size: var(--t-base); margin-bottom: 4px; }
.steps p { font-size: var(--t-sm); color: var(--ink-soft); margin: 0 auto; max-width: 30ch; }

/* İçinde ne var */
.ing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 40px; }
.ing h3 { font-size: var(--t-base); margin-bottom: 4px; }
.ing p { font-size: var(--t-sm); color: var(--ink-soft); margin: 0; }

/* Mobil yapışık sipariş çubuğu */
.sticky-buy {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--rule);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}
.sticky-buy .btn { flex: 1; padding: 13px 10px; }

/* ==========================================================================
   Duyarlılık
   ========================================================================== */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  :root { --t-3xl: 2.15rem; --t-2xl: 1.7rem; }
  .nav { display: none; }
  .burger { display: grid; }
  .header-wa span { display: none; }
  .header-wa { padding: 10px; border-radius: 50%; }
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .post-grid, .steps, .ing-grid { grid-template-columns: 1fr; }
  /* Yorum sayısı yüksek; tabletde tek sütun sonu gelmeyen bir liste yapıyor */
  .review-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .steps { gap: 28px; }
  .section { padding: 54px 0; }
  .sticky-buy { display: flex; }
  body { padding-bottom: 76px; }
  .hero-arrow { display: none; }
  .hero-slide img { aspect-ratio: 16/9; }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: 1fr; gap: 14px; }
  .trust-grid { grid-template-columns: 1fr; gap: 26px; }
  .card-govde { padding: 10px 10px 12px; }
  .card h3 { font-size: var(--t-xs); min-height: 2.6em; }
  .card-rating { gap: 4px; }
  .card-rating .stars svg { width: 11px; height: 11px; }
  .price { font-size: var(--t-base); }
  .footer-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .review { padding: 20px; }
  .review-foto { margin: -20px -20px 14px; }
  .review-foto img { height: 200px; }
  .hero-slide img { aspect-ratio: 4/3; }
}

/* ==========================================================================
   Yorum görünürlüğü
   Yorumlar admin panelinden kapatılabilir. Kapalıyken yorum duvarı, yıldızlar
   ve değerlendirme sayısı hiç basılmaz — CSS ile gizlenmez, PHP tarafında
   HTML'e hiç girmez. Buradaki kural yalnızca taslak sayfada önizleme içindir.
   ========================================================================== */
[data-yorumlar="kapali"] .js-yorum { display: none !important; }

/* ==========================================================================
   Liste sayfaları, arama, sayfalama, mobil menü
   ========================================================================== */

.section--ust { padding-top: 24px; }

.liste-basi { margin-bottom: 26px; }
.liste-basi h1 { margin-bottom: .3em; }
.liste-aciklama { color: var(--ink-soft); max-width: 70ch; }

.liste-arac {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-bottom: 16px; margin-bottom: 26px;
  border-bottom: 1px solid var(--rule);
}
.liste-sayi { font-size: var(--t-sm); color: var(--ink-soft); }
.liste-sirala { display: flex; align-items: center; gap: 9px; }
.liste-sirala label { font-size: var(--t-sm); color: var(--ink-soft); }
.liste-sirala select {
  font: inherit; font-size: var(--t-sm);
  padding: 8px 12px; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); cursor: pointer;
}
.liste-sirala select:hover { border-color: var(--forest); }

.section-alt { text-align: center; margin-top: 40px; }

.bos-liste { color: var(--ink-soft); padding: 40px 0; }
.bos-liste a { color: var(--forest); text-decoration: underline; }

/* Görseli olmayan ürün kartı */
.card-media--bos {
  display: grid; place-items: center;
  aspect-ratio: 1; color: var(--gold-soft);
}

/* Boş yıldız */
.star--bos { opacity: .28; }

/* Sayfalama */
.sayfalama {
  display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
  margin-top: 44px;
}
.sayfalama a {
  min-width: 40px; padding: 9px 13px; text-align: center;
  border: 1px solid var(--rule); border-radius: var(--radius);
  font-size: var(--t-sm); color: var(--ink);
}
.sayfalama a:hover { border-color: var(--forest); color: var(--forest); }
.sayfalama a[aria-current="page"] {
  background: var(--forest); border-color: var(--forest); color: #fff; font-weight: 600;
}

/* Arama formu */
.arama-form { display: flex; gap: 10px; margin-top: 18px; max-width: 620px; }
.arama-form input {
  flex: 1; font: inherit;
  padding: 13px 16px; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
}
.arama-form input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--forest); }

/* Ürün açıklaması — Trendyol'dan gelen HTML */
.urun-aciklama h2, .urun-aciklama h3, .urun-aciklama h4 {
  font-size: var(--t-base); margin: 1.2em 0 .4em;
}
.urun-aciklama p { margin-bottom: .8em; max-width: none; }
.urun-aciklama ul, .urun-aciklama ol { padding-left: 1.2em; margin-bottom: .9em; }
.urun-aciklama li { margin-bottom: .3em; }
.urun-aciklama table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.urun-aciklama th, .urun-aciklama td {
  text-align: left; padding: 8px 10px; border: 1px solid var(--rule);
}

/* 404 */
.hata-sayfasi { text-align: center; padding: 90px 0; }
.hata-sayfasi p { margin-inline: auto; color: var(--ink-soft); }
.hata-butonlar { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* Mobil menü */
.mobil-menu { display: none; }
@media (max-width: 900px) {
  .mobil-menu {
    display: block;
    border-top: 1px solid var(--rule);
    background: var(--paper);
    max-height: 70vh; overflow-y: auto;
  }
  .mobil-menu[hidden] { display: none; }
  .mobil-menu a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 20px; border-bottom: 1px solid var(--rule);
    font-size: var(--t-sm); font-weight: 500;
  }
  .mobil-menu a span { color: var(--ink-soft); font-weight: 400; }
  .liste-arac { flex-direction: column; align-items: flex-start; }
  .arama-form { flex-direction: column; }
}

/* Puan gösterimi — kaynağı açıkça belirtiliyor */
.rating-kaynak {
  display: inline-block; font-size: var(--t-xs); font-weight: 600;
  color: var(--trendyol); border: 1px solid currentColor;
  padding: 0 6px; border-radius: 3px; margin-left: 4px;
}
.card-rating {
  display: flex; align-items: center; gap: 5px;
  font-size: var(--t-xs); margin: 0 0 8px;
}
.card-rating strong { font-size: var(--t-sm); font-weight: 700; color: var(--ink); }
.card-rating .stars { display: inline-flex; gap: 1px; }
.card-rating .stars svg { width: 13px; height: 13px; }
.card-rating-adet { color: var(--ink-soft); }


/* ==========================================================================
   Başlıktaki arama
   117 ürünlük katalogda menüde gezmek yerine arama daha hızlı; bu yüzden
   kutu küçük bir ikon değil, başlığın ortasında geniş bir alan.
   ========================================================================== */
.ara {
  position: relative; flex: 0 1 620px; width: 620px; max-width: 100%;
  display: flex; align-items: center;
  border: 1.5px solid var(--rule); border-radius: 999px;
  background: var(--paper); transition: border-color .16s ease, box-shadow .16s ease;
}
.ara:focus-within {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(30,77,43,.10);
}
.ara-ikon {
  width: 18px; height: 18px; margin-left: 15px;
  color: var(--ink-soft); flex-shrink: 0; pointer-events: none;
}
.ara input {
  flex: 1; min-width: 0; font: inherit; font-size: var(--t-sm);
  padding: 11px 10px; border: 0; background: none; color: var(--ink);
  border-radius: 999px;
}
.ara input:focus { outline: none; }
.ara input::placeholder { color: var(--ink-soft); }
.ara input::-webkit-search-cancel-button { cursor: pointer; }
.ara-btn {
  font: inherit; font-size: var(--t-sm); font-weight: 600;
  padding: 9px 20px; margin: 3px; border: 0; border-radius: 999px;
  background: var(--forest); color: #fff; cursor: pointer; flex-shrink: 0;
}
.ara-btn:hover { background: var(--forest-mid); }

/* --- Öneri listesi -------------------------------------------------------- */
.ara-oneri {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 80;
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius); box-shadow: 0 10px 34px rgba(31,27,22,.14);
  max-height: min(70vh, 480px); overflow-y: auto; overscroll-behavior: contain;
}
.ara-oneri[hidden] { display: none; }

.ara-baslik {
  font-size: var(--t-xs); font-weight: 600; color: var(--ink-soft);
  padding: 10px 14px 6px;
}
.ara-satir {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 14px; cursor: pointer; border: 0; background: none;
  width: 100%; text-align: left; color: inherit; text-decoration: none;
}
.ara-satir:hover, .ara-satir[aria-selected="true"] { background: var(--cream); }
.ara-satir img {
  width: 46px; height: 46px; object-fit: contain; flex-shrink: 0;
  border: 1px solid var(--rule); border-radius: 4px; background: #fff; padding: 2px;
}
.ara-satir-bos {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 4px;
  background: var(--linen); display: grid; place-items: center; color: var(--gold);
}
.ara-satir-govde { min-width: 0; flex: 1; }
.ara-satir-ad {
  font-size: var(--t-sm); color: var(--ink); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ara-satir-ad mark { background: #FBEFC6; color: inherit; padding: 0 1px; border-radius: 2px; }
.ara-satir-alt {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: var(--t-xs); color: var(--ink-soft); margin-top: 2px;
}
.ara-satir-fiyat { font-weight: 700; color: var(--forest); }
.ara-satir-puan { display: inline-flex; align-items: center; gap: 3px; }
.ara-satir-puan svg { width: 11px; height: 11px; color: var(--gold); }

.ara-tumu {
  display: block; padding: 11px 14px; text-align: center;
  font-size: var(--t-sm); font-weight: 600; color: var(--forest);
  border-top: 1px solid var(--rule); background: #FCFAF6;
}
.ara-tumu:hover, .ara-tumu[aria-selected="true"] { background: var(--cream); }
.ara-bos { padding: 22px 16px; text-align: center; color: var(--ink-soft); font-size: var(--t-sm); }
.ara-yukleniyor { padding: 16px; text-align: center; color: var(--ink-soft); font-size: var(--t-xs); }

@media (max-width: 900px) {
  /* Dar ekranda arama alta iner ve tam genişlik olur; logo ile buton
     yukarıda yan yana kalır. .nav zaten yukarıdaki blokta gizleniyor. */
  .ara { flex: 1 1 100%; width: auto; order: 3; }
  .brand, .header-actions { flex: 0 0 auto; }
  .brand { flex: 1 1 auto; }
  .header-inner { flex-wrap: wrap; padding-bottom: 12px; gap: 12px; }
  .ara-btn { padding: 9px 15px; }
}

/* ==========================================================================
   Kurumsal sayfalar, iletişim ve blog
   ========================================================================== */

/* Uzun metin — okuma satırı 70 karakteri geçmesin diye ölçü karakterde */
.metin { max-width: 68ch; }
.metin h1 { font-size: var(--t-3xl); margin-bottom: .5em; }
.metin h2 {
  font-size: var(--t-xl); margin-top: 1.9em; margin-bottom: .5em;
  padding-top: .9em; border-top: 1px solid var(--rule);
}
.metin h2:first-of-type { border-top: 0; padding-top: 0; }
.metin h3 { font-size: var(--t-lg); margin-top: 1.5em; margin-bottom: .4em; }
.metin p, .metin li { color: var(--ink-soft); line-height: 1.75; }
.metin p { margin-bottom: 1.1em; }
.metin ul, .metin ol { margin: 0 0 1.3em 1.2em; }
.metin li { margin-bottom: .5em; }
.metin strong { color: var(--ink); }
.metin a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }

.liste-giris { color: var(--ink-soft); max-width: 56ch; }

/* --- İletişim -------------------------------------------------------------- */
.iletisim { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.iletisim-yan h1 { font-size: var(--t-3xl); margin-bottom: .4em; }
.iletisim-giris { color: var(--ink-soft); margin-bottom: 24px; max-width: 42ch; }

.iletisim-liste { margin-top: 34px; display: grid; gap: 18px; }
.iletisim-liste dt {
  font-size: var(--t-xs); color: var(--sage); margin-bottom: 3px;
}
.iletisim-liste dd { margin: 0; color: var(--ink); font-size: var(--t-sm); line-height: 1.6; }
.iletisim-liste a { color: var(--forest); }
.iletisim-liste a:hover { text-decoration: underline; }

.iletisim-form {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 34px;
}
.iletisim-form h2 { font-size: var(--t-xl); margin-bottom: 22px; }

.alan { margin-bottom: 18px; }
.alan label {
  display: block; font-size: var(--t-sm); font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.alan label span { color: var(--trendyol); }
.alan input, .alan textarea {
  width: 100%; font: inherit; font-size: var(--t-sm);
  padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
}
.alan textarea { resize: vertical; min-height: 120px; }
.alan input:focus, .alan textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--forest);
}
.alan-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Bot tuzağı: ekranda yok ama display:none olmamalı, bazı botlar onu atlıyor */
.tuzak { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-basari, .form-hata {
  border-radius: var(--radius); padding: 22px 24px; font-size: var(--t-sm);
}
.form-basari { background: var(--cream); border: 1px solid var(--gold-soft); }
.form-basari strong { display: block; color: var(--forest); font-size: var(--t-lg); margin-bottom: 8px; }
.form-basari p { color: var(--ink-soft); margin: 0; }
.form-hata {
  background: #FDF2EC; border: 1px solid #F2C4A0; margin-bottom: 20px;
  color: #8A3E10;
}
.form-hata ul { margin: 0; padding-left: 1.1em; }
.form-not { font-size: var(--t-xs); color: var(--ink-soft); margin: 14px 0 0; }
.form-not a { color: var(--forest); text-decoration: underline; }

/* --- Blog ------------------------------------------------------------------ */
.post {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.post-gorsel { display: block; background: var(--linen); }
.post-gorsel img { display: block; width: 100%; height: 200px; object-fit: cover; }
.post-gorsel--bos {
  display: grid; place-items: center; height: 200px; color: var(--sage);
}
.post-govde { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-govde h2 { font-size: var(--t-lg); margin: 0; }
.post-govde h2 a { color: var(--ink); }
.post-govde h2 a:hover { color: var(--forest); }
.post-govde p { font-size: var(--t-sm); color: var(--ink-soft); margin: 0; }
.post-govde time { font-size: var(--t-xs); color: var(--sage); margin-top: auto; }

.yazi-bilgi {
  display: flex; gap: 14px; font-size: var(--t-xs); color: var(--sage);
  margin-bottom: 26px;
}
.yazi-kapak {
  display: block; width: 100%; height: auto; border-radius: var(--radius);
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .iletisim { grid-template-columns: 1fr; gap: 40px; }
  .iletisim-form { padding: 26px 22px; }
  .metin h1, .iletisim-yan h1 { font-size: var(--t-2xl); }
}

@media (max-width: 640px) {
  .alan-ikili { grid-template-columns: 1fr; gap: 0; }
}
