/* ============================================================================
   Herbal — Components (modern · temiz · ferah)
   Header, footer, anasayfa bölümleri, ürün kartı/detay, sepet, ödeme, hesap.
   ds.css token'larına dayanır. Kart şişkinliği azaltıldı; bol beyaz alan.
   ============================================================================ */

/* ════════ DUYURU ŞERİDİ ════════ */
.topbar { background: var(--green); color: var(--surface); font-size: 0.8rem; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 38px; text-align: center; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; opacity: .95; }
.topbar svg { width: 15px; height: 15px; }
@media (max-width: 760px) { .topbar .tb-item:not(:first-child) { display: none; } }

/* ════════ HEADER ════════ */
.site-header { position: sticky; top: 0; z-index: 60; background: oklch(1 0.002 130 / 0.86); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-6); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--green); color: #fff; border-radius: var(--r-md); }
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--green-700); letter-spacing: -0.01em; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }

.header-search { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.header-search input { padding-left: 44px; border-radius: var(--r-pill); background: var(--surface-2); border-color: transparent; }
.header-search input:focus { background: var(--surface); }
.header-search .si { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); width: 18px; height: 18px; }

.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-pill); color: var(--ink); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--green-softer); color: var(--green-700); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn .count { position: absolute; top: 5px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; background: var(--green); color: #fff; font-size: 0.68rem; font-weight: 700; border-radius: var(--r-pill); display: grid; place-items: center; font-family: var(--font-body); }
.icon-btn .count:empty, .icon-btn .count[data-count="0"] { display: none; }
.header-burger { display: none; }

.nav-bar { border-top: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: var(--s-2); min-height: 50px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nav::-webkit-scrollbar { display: none; }
.nav a { position: relative; padding: 8px 14px; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); border-radius: var(--r-pill); transition: color .2s, background .2s; white-space: nowrap; flex: 0 0 auto; }
.nav a:hover { color: var(--green-700); background: var(--green-softer); }
.nav a.is-active { color: var(--green-700); }
.nav-spacer { flex: 1; }
.nav-pill { color: var(--green-700) !important; font-weight: 600; }

@media (max-width: 980px) {
    .header-main { grid-template-columns: auto 1fr auto; gap: var(--s-3); }
    .header-search { display: none; }
    .header-burger { display: grid; place-items: center; width: 44px; height: 44px; }
    .header-burger svg { width: 24px; height: 24px; }
    .nav-bar { display: none; }
}

@media (max-width: 520px) {
    .brand-name { font-size: 1.15rem; }
    .brand-sub { display: none !important; }
    .brand-mark { width: 32px; height: 32px; }
    .brand-mark svg { width: 18px; height: 18px; }
    .header-actions { gap: 2px; }
}

/* ── Mobil menü ── */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-scrim { position: absolute; inset: 0; background: oklch(0.2 0.02 150 / 0); transition: background .3s; }
.drawer.is-open .drawer-scrim { background: oklch(0.2 0.02 150 / 0.4); }
.drawer-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); background: var(--bg); padding: var(--s-5); overflow-y: auto; transform: translateX(-100%); transition: transform .35s cubic-bezier(.22,1,.36,1); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-panel a { display: block; padding: 13px 4px; font-size: 1rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer-panel a:hover { color: var(--green); }
.drawer-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.6rem; color: var(--ink-2); border-radius: var(--r-pill); }
.drawer-close:hover { background: var(--surface-2); color: var(--ink); }

/* ── Dropdown panel (sepet/hesap mini) ── */
.pop { position: relative; }
.pop-panel { position: absolute; top: calc(100% + 12px); right: 0; width: 320px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--lift); padding: var(--s-5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 70; }
.pop.is-open .pop-panel { opacity: 1; visibility: visible; transform: none; }

/* ════════ HERO ════════ */
.hero { position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s-7); align-items: center; min-height: min(74vh, 620px); padding-block: var(--s-7); }
.hero-copy { display: grid; gap: var(--s-5); align-content: center; max-width: 36rem; }
.hero-copy h1 { font-size: clamp(2.4rem, 4.2vw + 1rem, 4.2rem); line-height: 1.02; }
.hero-copy .lede { font-size: 1.15rem; }
.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-2); }
.hero-media { position: relative; aspect-ratio: 5/6; border-radius: var(--r-xl); overflow: hidden; background: var(--green-softer); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-float { position: absolute; left: -18px; bottom: 28px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--lift); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.hero-float .hf-ico { width: 42px; height: 42px; border-radius: var(--r-md); background: var(--green-soft); color: var(--green-700); display: grid; place-items: center; }
.hero-float .hf-ico svg { width: 22px; height: 22px; }
.hero-float .hf-t { font-weight: 600; font-size: 0.9rem; }
.hero-float .hf-s { font-size: 0.78rem; color: var(--ink-3); }
@media (max-width: 880px) { .hero-inner { grid-template-columns: 1fr; gap: var(--s-6); min-height: 0; } .hero-media { aspect-ratio: 16/12; } }
@media (max-width: 520px) {
    .hero-copy h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
    .hero-copy .lede { font-size: 1.05rem; }
    .hero-cta .btn { flex: 1 1 auto; }
    .hero-float { left: 12px; bottom: 14px; padding: 11px 14px; }
}

/* ════════ GÜVEN ŞERİDİ ════════ */
.assurances { border-block: 1px solid var(--line); background: var(--surface); }
.assurances .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); padding-block: var(--s-5); }
.assure { display: flex; align-items: center; gap: var(--s-3); }
.assure .a-ico { width: 40px; height: 40px; flex: none; color: var(--green); display: grid; place-items: center; }
.assure .a-ico svg { width: 26px; height: 26px; }
.assure .a-t { font-weight: 600; font-size: 0.9rem; }
.assure .a-s { font-size: 0.78rem; color: var(--ink-3); }
@media (max-width: 880px) { .assurances .container { grid-template-columns: repeat(2, 1fr); } }

/* ════════ KATEGORİ ŞERİDİ ════════ */
.cat-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: var(--s-4); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: var(--s-2); scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-item { scroll-snap-align: start; display: grid; gap: 12px; justify-items: center; text-align: center; }
.cat-thumb { width: 104px; height: 104px; border-radius: var(--r-pill); background: var(--green-softer); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s; }
.cat-item:hover .cat-thumb { transform: translateY(-3px); box-shadow: var(--lift-sm); }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-thumb .cat-letter { font-family: var(--font-display); font-size: 1.8rem; color: var(--green-700); }
.cat-name { font-size: 0.86rem; font-weight: 500; color: var(--ink); }
/* Kategori ikon + renk (term meta: herbal_cat_icon / herbal_cat_color) */
.cat-item[style*="--cat-color"] .cat-thumb { background: color-mix(in oklab, var(--cat-color) 14%, white); border-color: color-mix(in oklab, var(--cat-color) 30%, white); }
.cat-item[style*="--cat-color"] .cat-letter,
.cat-item[style*="--cat-color"] .cat-ico { color: var(--cat-color); }
.cat-thumb .cat-ico { width: 40px; height: 40px; color: var(--green-700); }
.cat-thumb.has-icon { overflow: visible; }

/* ════════ ÜRÜN RAYI (scroll-snap) ════════ */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: var(--s-4); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px var(--s-3); margin-inline: -4px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
@media (max-width: 1080px) { .grid-products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .grid-products { grid-template-columns: repeat(2, 1fr); } }

/* ════════ ÜRÜN KARTI ════════ */
.pcard { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, box-shadow .25s, transform .25s cubic-bezier(.22,1,.36,1); }
.pcard:hover { border-color: var(--green-soft); box-shadow: var(--lift); transform: translateY(-3px); }
.pcard-media { position: relative; aspect-ratio: 1; background: var(--surface-2); }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 14px; }
.pcard-flags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; }
.pcard-fav { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: var(--r-pill); background: oklch(1 0 0 / 0.85); display: grid; place-items: center; color: var(--ink-2); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s, color .2s; }
.pcard:hover .pcard-fav { opacity: 1; transform: none; }
.pcard-fav:hover { color: var(--sale); }
.pcard-fav svg { width: 18px; height: 18px; }
.pcard-fav.is-fav { opacity: 1; transform: none; color: var(--sale); }
.pcard-fav.is-fav svg path { fill: currentColor; }
.pcard-fav.is-loading { pointer-events: none; opacity: .6; }
@media (hover: none) { .pcard-fav { opacity: 1; transform: none; width: 40px; height: 40px; } }

/* ════════ SABİT WHATSAPP BUTONU ════════ */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(37, 211, 102, .5); transition: transform .2s, box-shadow .2s; }
.wa-float:hover { transform: scale(1.06); box-shadow: 0 8px 22px -6px rgba(37, 211, 102, .6); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 640px) { .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; } .wa-float svg { width: 26px; height: 26px; } }
.pcard-body { padding: var(--s-4); display: flex; flex-direction: column; gap: 9px; flex: 1; }
.pcard-name { font-size: 0.95rem; font-weight: 500; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard-name:hover { color: var(--green-700); }
.pcard-rate { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; color: var(--ink-3); }
.pcard-price { display: flex; align-items: baseline; gap: 9px; margin-top: auto; }
.pcard-price .now { font-size: 1.15rem; font-weight: 700; color: var(--green-700); font-family: var(--font-body); }
.pcard-price .was { font-size: 0.85rem; color: var(--ink-3); text-decoration: line-through; }
.pcard-add { margin-top: 10px; }
.pcard-add .btn { width: 100%; }

/* ════════ PROMO / EDİTÖRYEL BANNER ════════ */
.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
@media (max-width: 820px) { .promos { grid-template-columns: 1fr; } }
.promo { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3; display: flex; align-items: flex-end; background: var(--green-softer); }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.promo:hover img { transform: scale(1.04); }
.promo-cap { position: relative; z-index: 1; padding: var(--s-5); color: #fff; background: linear-gradient(0deg, oklch(0.2 0.04 150 / 0.7), transparent 70%); width: 100%; }
.promo-cap h3 { color: #fff; margin-bottom: 8px; }
.promo-cap .link-more { color: #fff; }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; }
@media (max-width: 880px) { .feature-split { grid-template-columns: 1fr; gap: var(--s-5); } }
.feature-media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5/4; background: var(--green-softer); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }

/* ════════ BLOG ════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.bcard { display: grid; gap: var(--s-3); }
.bcard-media { aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.bcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.bcard:hover .bcard-media img { transform: scale(1.04); }
.bcard-date { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.bcard-title { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; line-height: 1.25; }
.bcard:hover .bcard-title { color: var(--green-700); }
.bcard-excerpt { font-size: 0.9rem; color: var(--ink-2); }

/* ════════ NEWSLETTER ════════ */
.newsletter { background: var(--green); color: #fff; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: var(--s-6); align-items: center; }
.newsletter h2 { color: #fff; }
.newsletter p { color: oklch(0.95 0.03 152); max-width: 42ch; }
.newsletter form { display: flex; gap: var(--s-2); min-width: min(420px, 80vw); }
.newsletter input { background: oklch(1 0 0 / 0.14); border-color: oklch(1 0 0 / 0.25); color: #fff; }
.newsletter input::placeholder { color: oklch(1 0 0 / 0.7); }
.newsletter input:focus { background: oklch(1 0 0 / 0.2); box-shadow: none; }
.newsletter .btn { background: #fff; color: var(--green-700); }
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; } .newsletter form { min-width: 0; } }
@media (max-width: 480px) { .newsletter form { flex-direction: column; align-items: stretch; } }

/* ════════ FOOTER ════════ */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: var(--s-9); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s-6); padding-block: var(--s-8) var(--s-6); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s-4); }
.footer-col a { display: block; padding: 7px 0; font-size: 0.9rem; color: var(--ink-2); transition: color .2s; }
.footer-col a:hover { color: var(--green-700); }
.footer-about p { font-size: 0.9rem; color: var(--ink-2); margin: var(--s-3) 0 var(--s-4); max-width: 34ch; }
.footer-social { display: flex; gap: var(--s-2); }
.footer-social a { width: 40px; height: 40px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink-2); }
.footer-social a:hover { border-color: var(--green); color: var(--green); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: var(--s-5); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; font-size: 0.82rem; color: var(--ink-3); }
.footer-pay { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.footer-pay img { height: 26px; border-radius: 4px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); cursor: default; transition: opacity .15s; }
.footer-pay img:hover { opacity: .85; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-5); } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; padding-block: var(--s-7) var(--s-5); } .footer-bottom { justify-content: center; text-align: center; } }

/* ════════ BREADCRUMB / SAYFA BAŞLIĞI ════════ */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: var(--ink-3); padding-block: var(--s-5) 0; }
.crumbs a:hover { color: var(--green); }
.crumbs .sep { opacity: .5; }
.page-head { padding-block: var(--s-5) var(--s-6); }
.page-head h1 { margin-bottom: 10px; }

/* ════════ PROSE (içerik/yasal/blog detay) ════════ */
.prose { color: var(--ink); font-size: 1.02rem; line-height: 1.8; max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { margin-left: 1.2em; list-style: disc; }
.prose ul li { margin-top: .4em; }
.prose img { border-radius: var(--r-lg); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--surface-2); }

/* Word/Pages'ten yapıştırılan içeriklerdeki inline stiller (font-size:22px,
   line-height:normal, margin:0, font-family…) .prose tasarım sistemini eziyor,
   metin iç içe giriyordu. Inline tipografi stillerini etkisizleştir → sayfaya
   tekrar düzgün boşluk/okunaklılık gelir. Sabit/içerik sayfalarının tümü için geçerli. */
.prose [style] {
    font-size: inherit !important;
    line-height: inherit !important;
    font-family: inherit !important;
    letter-spacing: normal !important;
    color: inherit !important;
}
.prose p[style], .prose li[style], .prose span[style] { margin: 0 0 0.9em !important; }
.prose span[style] { margin: 0 !important; }

/* ════════ AUTH / HESAP FORMLARI (giriş · kayıt · şifre sıfırlama) ════════
   form-login.php, form-lost-password.php, form-reset-password.php,
   lost-password-confirmation.php partial'larının ortak stilleri.
   Kart .container içine düşer (my-account.php wrapper'ı); burada yalnızca
   kartın kendi ortalaması, tab'lar, form ritmi ve durum yardımcıları var.
   .field / .btn / .btn-primary / .account-card ds.css + commerce.css'ten gelir. */
.herbal-auth { padding-block: var(--s-5); }
.auth-card { max-width: 540px; margin-inline: auto; padding: clamp(var(--s-5), 4vw, var(--s-7)); }

/* Tab toggle (Giriş / Üye Ol) */
.auth-tabs { display: flex; background: var(--surface-2); border-radius: var(--r-md); padding: var(--s-1); margin-bottom: var(--s-6); }
.auth-tab { flex: 1; text-align: center; padding: 10px 0; border-radius: var(--r-sm); font-size: 0.92rem; font-weight: 600; color: var(--ink-3); transition: background .15s, color .15s; }
.auth-tab.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--lift-sm); }

.auth-pane.is-hidden { display: none; }

/* Başlık bloğu */
.auth-head { margin-bottom: var(--s-5); }
.auth-head--center { text-align: center; }
.auth-title { font-size: clamp(1.4rem, 1vw + 1.1rem, 1.6rem); margin: var(--s-1) 0 0; line-height: 1.15; }
.auth-subtitle { margin-top: var(--s-2); font-size: 0.9rem; line-height: 1.55; }

/* İkon rozeti (kilit / e-posta) */
.auth-icon-badge { width: 52px; height: 52px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--green); display: inline-grid; place-items: center; margin-bottom: var(--s-3); }
.auth-icon-badge svg { width: 24px; height: 24px; }
.auth-icon-badge--ok { color: var(--green); }

/* Geri-dön butonu (onay sayfası) */
.auth-cta-back { margin-top: var(--s-5); }

/* Form ritmi */
.auth-form > * + * { margin-top: var(--s-4); }
.auth-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }

.req { color: var(--error); }
.hint { font-size: 0.78rem; color: var(--ink-3); margin: var(--s-2) 0 0; }

/* Şifre göster/gizle */
.input-wrap { position: relative; }
.input-wrap input.has-toggle { padding-right: 44px; }
.toggle-pw { position: absolute; top: 0; right: 0; bottom: 0; width: 42px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--ink-3); cursor: pointer; }
.toggle-pw:hover { color: var(--green); }
.toggle-pw svg { width: 18px; height: 18px; }

/* Beni hatırla / şifremi unuttum satırı + onay kutuları */
.form-inline { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); font-size: 0.88rem; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: var(--s-2); cursor: pointer; user-select: none; color: var(--ink-2); font-size: 0.88rem; }
.check--start { align-items: flex-start; line-height: 1.5; }
.check input { width: 16px; height: 16px; accent-color: var(--green); margin: 2px 0 0; flex: 0 0 16px; }

.auth-fieldset { border: 0; border-top: 1px solid var(--line); padding: var(--s-4) 0 0; margin-top: var(--s-5); }
.auth-fieldset legend { padding: 0; margin-bottom: var(--s-3); }
.auth-fieldset .check + .check { margin-top: var(--s-3); }

/* Şifre gücü göstergesi */
.strength { margin-top: 10px; }
.strength-bars { display: flex; gap: 6px; }
.strength-bar { height: 4px; flex: 1; border-radius: var(--r-pill); background: var(--line); transition: background .15s; }
.strength-1 { background-color: var(--sale); }
.strength-2 { background-color: #f27a1a; }
.strength-3 { background-color: var(--star); }
.strength-4 { background-color: var(--green); }
.confirm-ok { color: var(--green-700); }
.confirm-bad { color: var(--error); }

.auth-foot { text-align: center; font-size: 0.88rem; color: var(--ink-3); margin-top: var(--s-5); }

/* Boyutsuz inline SVG'ler şişmesin (commerce.css güvenlik ağıyla aynı yaklaşım) */
.herbal-auth .auth-icon-badge svg, .herbal-auth .toggle-pw svg { flex: none; }

/* ── Auth responsive ── */
@media (max-width: 820px) {
    .auth-card { padding: clamp(var(--s-4), 5vw, var(--s-6)); }
}
@media (max-width: 640px) {
    .auth-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .herbal-auth { padding-block: var(--s-4); }
    .auth-tabs { margin-bottom: var(--s-5); }
    .auth-form > * + * { margin-top: var(--s-3); }
    .form-inline { gap: var(--s-2); }
}
@media (max-width: 480px) {
    .auth-card { padding: var(--s-4); }
}

/* ── Header scrolled / loading / toast ── */
.site-header.is-scrolled { box-shadow: var(--sticky); }
.btn.is-loading, [data-add-to-cart].is-loading { opacity: .7; pointer-events: none; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); background: var(--ink); color: var(--bg); padding: 13px 22px; border-radius: var(--r-pill); font-size: 0.9rem; font-weight: 500; box-shadow: var(--lift); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s cubic-bezier(.22,1,.36,1), visibility .25s; z-index: 100; }
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast.err { background: var(--error); color: #fff; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--r-md) 0; z-index: 200; }
.skip-link:focus { left: 0; }

/* ============================================================================
   Blog yorumları (comments.php) — tasarım sistemi
   ============================================================================ */
.blog-comments { margin-top: var(--s-6, 40px); }
.blog-comments-title { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 var(--s-5, 24px); color: var(--ink); }

/* Yorum listesi */
.blog-comments .comment-list { list-style: none; margin: 0 0 var(--s-6, 40px); padding: 0; display: grid; gap: 16px; }
.blog-comments .comment-list ol.children { list-style: none; margin: 14px 0 0; padding-left: 22px; border-left: 2px solid var(--line); display: grid; gap: 16px; }
.blog-comments li.comment { margin: 0; }
.blog-comments .comment-body { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.blog-comments .comment-author { display: flex; align-items: center; gap: 10px; }
.blog-comments .comment-author .avatar { border-radius: 50%; }
.blog-comments .comment-author .fn { font-weight: 600; font-style: normal; color: var(--ink); }
.blog-comments .comment-author .says { display: none; }
.blog-comments .comment-metadata { margin-top: 2px; font-size: .8rem; color: var(--ink-3); }
.blog-comments .comment-metadata a { color: inherit; text-decoration: none; }
.blog-comments .comment-content { margin-top: 10px; color: var(--ink-2); line-height: 1.6; }
.blog-comments .comment-content p { margin: 0 0 .6em; }
.blog-comments .reply { margin-top: 8px; }
.blog-comments .comment-reply-link { font-size: .82rem; font-weight: 600; color: var(--green-700); text-decoration: none; }
.blog-comments .comment-reply-link:hover { text-decoration: underline; }

/* Yorum formu */
.blog-comments .comment-respond { margin-top: var(--s-5, 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5, 24px); }
.blog-comments .comment-reply-title { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 14px; color: var(--ink); }
.blog-comments .comment-reply-title small { margin-left: 10px; font-size: .8rem; font-weight: 400; }
.blog-comments .logged-in-as,
.blog-comments .comment-notes { font-size: .84rem; color: var(--ink-3); margin: 0 0 14px; }
.blog-comments .logged-in-as a { color: var(--green-700); }
.blog-comments .comment-form { display: grid; gap: 14px; }
.blog-comments .comment-form p { margin: 0; }
.blog-comments .comment-form label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.blog-comments .comment-form input[type="text"],
.blog-comments .comment-form input[type="email"],
.blog-comments .comment-form input[type="url"],
.blog-comments .comment-form textarea {
    width: 100%; box-sizing: border-box; padding: 11px 14px;
    border: 1px solid var(--line-strong); border-radius: var(--r-md);
    background: var(--surface); color: var(--ink); font: inherit; line-height: 1.5;
    transition: border-color .15s, box-shadow .15s;
}
.blog-comments .comment-form input:focus,
.blog-comments .comment-form textarea:focus {
    outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft);
}
.blog-comments .comment-form textarea { resize: vertical; min-height: 130px; }
.blog-comments .comment-form .required { color: #c0392b; }
.blog-comments .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 9px; }
.blog-comments .comment-form-cookies-consent input { margin-top: 3px; accent-color: var(--green); }
.blog-comments .comment-form-cookies-consent label { margin: 0; font-size: .84rem; font-weight: 400; color: var(--ink-2); }
.blog-comments .form-submit { margin: 0; }

/* Geniş ekranda ad + e-posta yan yana (grid ile) */
@media (min-width: 600px) {
    .blog-comments .comment-form { grid-template-columns: 1fr 1fr; }
    .blog-comments .comment-form-comment,
    .blog-comments .comment-notes,
    .blog-comments .comment-form-cookies-consent,
    .blog-comments .form-submit { grid-column: 1 / -1; }
}

/* #1: Dar telefonlarda (<=400px) header taşması — logo metnini gizle, boşlukları daralt */
@media (max-width: 400px) {
    .header-main { column-gap: 8px; }
    .header-actions { gap: 2px; }
    .header-actions .icon-btn { width: 40px; height: 40px; }
    .brand-name, .brand-sub { display: none !important; }
}

/* ── FAQ akordeon (SSS) — <details>/<summary> ── */
.faq-list{max-width:760px;margin:24px auto;display:flex;flex-direction:column;gap:10px}
.faq-item{border:1px solid var(--line,#e7e2d8);border-radius:12px;background:#fff;overflow:hidden}
.faq-item>summary{cursor:pointer;list-style:none;padding:16px 18px;font-weight:600;font-size:16px;color:#1d1d1d;display:flex;justify-content:space-between;align-items:center;gap:12px}
.faq-item>summary::-webkit-details-marker{display:none}
.faq-item>summary::after{content:"+";font-size:22px;line-height:1;color:var(--brand,#0b3d2e);transition:transform .2s}
.faq-item[open]>summary{border-bottom:1px solid var(--line,#eee)}
.faq-item[open]>summary::after{content:"\2212"}
.faq-answer{padding:14px 18px;color:#444;line-height:1.7}

/* ── İletişim formu ── */
.herbal-contact-form{max-width:640px;display:flex;flex-direction:column;gap:14px}
.herbal-contact-form .hcf-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:560px){.herbal-contact-form .hcf-row{grid-template-columns:1fr}}
.herbal-contact-form label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500;color:#2a2a2a}
.herbal-contact-form input,.herbal-contact-form textarea{font:inherit;padding:11px 13px;border:1px solid var(--line,#ddd6c9);border-radius:10px;background:#fff;color:#1a1a1a}
.herbal-contact-form input:focus,.herbal-contact-form textarea:focus{outline:2px solid var(--brand,#0b3d2e);outline-offset:1px;border-color:transparent}
.herbal-contact-form textarea{resize:vertical;min-height:120px}
.herbal-contact-form button[type=submit]{align-self:flex-start}
.herbal-contact-form button[disabled]{opacity:.6;cursor:progress}
.hcf-msg:empty{display:none}
/* İletişim kartları */
.contact-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:24px 0}
.contact-card{border:1px solid var(--line,#e7e2d8);border-radius:14px;padding:18px;background:#fff}
.contact-card h3{font-size:15px;margin:0 0 6px;color:var(--brand,#0b3d2e)}
.contact-card a{color:inherit;text-decoration:none;font-weight:600}
.contact-card p{margin:2px 0;font-size:14px;color:#555;line-height:1.6}

/* ── Ürün rayı < > navigasyonu ── */
.rail-arrows { display: flex; gap: 8px; }
.rail-nav { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface, #fff); color: var(--green-700, #0b3d2e); cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.rail-nav:hover { background: var(--green, #0b3d2e); color: #fff; border-color: transparent; }
.rail-nav:disabled { opacity: .3; cursor: default; }
@media (max-width: 560px) { .rail-arrows { display: none; } }

/* ── Kategori dropdown alt menü ── */
.nav-item.has-sub { position: relative; display: inline-flex; align-items: center; }
.nav-parent { display: inline-flex; align-items: center; gap: 4px; }
.nav-caret { transition: transform .2s; opacity: .6; }
.nav-sub { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 40px rgba(20,40,30,.14); padding: 8px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 70; }
.nav-item.has-sub:hover .nav-sub, .nav-item.has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item.has-sub:hover .nav-caret, .nav-item.has-sub:focus-within .nav-caret { transform: rotate(180deg); }
.nav-sub a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--ink); white-space: nowrap; }
.nav-sub a:hover { background: var(--green-50, #eef5f0); color: var(--green-700, #0b3d2e); }
.nav-sub-count { font-size: 11px; opacity: .45; font-variant-numeric: tabular-nums; }

/* ── Dropdown kırpılma/z-index düzeltme ── */
.nav-bar { overflow: visible; }
.nav-bar .nav { overflow: visible; }          /* overflow-x:auto dropdown'ı kırpıyordu */
.site-header { overflow: visible; }
.nav-sub { z-index: 200; }                      /* hero üstünde kalsın */

/* ── Bölüm başlığı sağ aksiyon grubu (oklar + Tümü linki) ── */
.section-head-actions { display: flex; align-items: center; gap: 14px; }
/* Rail mobilde dokunarak kaydırılır (momentum scroll) */
.rail { -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }

/* ── Puan Sistemi sayfası SSS (div.faq > .faq-item > h4 + içerik) ── */
.faq { max-width: 760px; margin: 24px auto; display: flex; flex-direction: column; gap: 10px; }
.faq > h3 { text-align: center; margin-bottom: 6px; color: var(--green-700, #0b3d2e); }
.faq .faq-item { padding: 16px 18px; }
.faq .faq-item > h4 { font-size: 16px; font-weight: 600; margin: 0 0 8px; color: var(--green-700, #0b3d2e); }
.faq .faq-item p { margin: 0; color: #444; line-height: 1.7; }
.faq .faq-item p + p { margin-top: 8px; }

/* ── Kampanyalar nav linki: dağınık yeşil yerine düzgün pill ── */
.nav-pill { color: var(--green-700) !important; font-weight: 600; background: var(--green-50, #eaf3ee); padding: 6px 14px; border-radius: 999px; line-height: 1; }
.nav-pill:hover { background: var(--green, #0b3d2e); color: #fff !important; }

/* ── Kurulum / yapılandırma formu ── */
.herbal-setup-form { max-width: 800px; margin: 0 auto; }
.herbal-setup-form .lede { margin-bottom: 24px; }
.setup-section { border: 1px solid var(--line, #e7e2d8); border-radius: 16px; padding: 20px 22px; margin: 0 0 20px; background: #fff; }
.setup-section > legend { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--green-700, #0b3d2e); padding: 0 10px; }
.setup-q { padding: 14px 0; border-top: 1px solid var(--line, #f0ece3); }
.setup-q:first-of-type { border-top: 0; }
.setup-q h4 { font-size: 15px; font-weight: 600; margin: 0 0 4px; color: #1d1d1d; }
.setup-desc { font-size: 13px; color: #666; line-height: 1.6; margin: 0 0 10px; }
.setup-opt { display: flex; align-items: flex-start; gap: 9px; padding: 8px 10px; border-radius: 9px; cursor: pointer; font-size: 14px; transition: background .15s; }
.setup-opt:hover { background: var(--green-50, #f0f5f1); }
.setup-opt input { margin-top: 3px; accent-color: var(--green, #0b3d2e); }
.setup-custom, .setup-text { width: 100%; font: inherit; padding: 10px 12px; margin-top: 8px; border: 1px solid var(--line, #ddd6c9); border-radius: 9px; background: #fff; }
.setup-custom:disabled { background: #f5f3ee; opacity: .6; }
.setup-custom:focus, .setup-text:focus { outline: 2px solid var(--green, #0b3d2e); outline-offset: 1px; border-color: transparent; }
.herbal-setup-form > button[type=submit] { margin-top: 6px; }
.setup-msg:empty { display: none; }
.setup-msg { margin-top: 14px; }
