/*
 * Nerotex · ürün sayfası, sepet, boş sepet ve içerik sayfaları (12 Eki 2026, metin destesi + satış yaklaşımı).
 * Tasarım değerleri temanın tokenlarından gelir (nerotex.css :root → --c-*, --fs-*, --sp-*, --r-*, --f-*).
 * Orman (--c-forest) yalnız yıkama/güven işaretleri; tek eylem rengi kil (--c-accent).
 */

/* ---------- Ürün: üst bilgi sütunu ---------- */
@media (max-width: 899px) {
	.nx-pdp-main .nx-crumbs { display: none; } /* Telefonda kırıntı yolu yok (02 §3.7). */
}
.nx-uk { display: flex; flex-direction: column; gap: var(--sp-1); }
.nx-uk-satir { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--sp-1); font-size: var(--fs-sm); line-height: 1.45; color: var(--c-ink); text-decoration: none; }
.nx-uk-satir:hover .nx-uk-metin { text-decoration: underline; text-underline-offset: 3px; }
.nx-uk-yildiz { color: var(--c-star); }
.nx-uk-metin { font-weight: 600; }
.nx-uk-kaynak { color: var(--c-ink-2); font-size: var(--fs-xs); }
.nx-teslim-satiri { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--c-ink-2); line-height: 1.4; }
.nx-teslim-satiri .nx-i { color: var(--c-forest); flex: none; }

/* Satış kapalı (açılışa kadar): renk seçilir, düğme pasif ve metni ayardan. */
body.nx-satis-kapali .nx-buy-form .wp-block-add-to-cart-with-options-quantity-selector { display: none !important; }
.nx-satis-kapali-btn { flex: 1 1 auto; margin: 0 !important; width: 100%; }
.nx-buy .nx-satis-kapali-btn .wc-block-components-product-button__button {
	width: 100%; min-height: 54px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: var(--r-pill); font-weight: 600; font-size: var(--fs-base); box-shadow: none;
} /* Renk: tasarım sisteminin pasif düğmesi (nerotex.css .wp-element-button[disabled]). */
.nx-satis-kapali-btn .wc-block-components-product-button__button::before { display: none !important; }

/* Galeri: yaşam fotoğrafı (kedili) zemine karışmasın. */
.nx-gal img[src*="yasam-"] { mix-blend-mode: normal !important; }

/* Güvenceler: tek satırlık 3–4 öğe (ayrıntı açılır bölümlerde). */
.nx-guvence { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2) var(--sp-4); }
.nx-guvence li { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); line-height: 1.3; color: var(--c-ink); min-width: 0; }
.nx-guvence .nx-i { color: var(--c-forest); flex: none; }

/* ---------- Ürün: katmanlı ayrıntılar (başlık + tek satır; içerik dokununca) ---------- */
.nx-ak { border-top: 1px solid var(--c-line); }
.nx-ak > * { margin: 0 !important; }
.nx-ak-oge summary { gap: var(--sp-3); }
.nx-ak-ikon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c-forest-soft); color: var(--c-forest); }
.nx-ak-metin { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 2px; }
.nx-ak-baslik { font-weight: 600; line-height: 1.3; }
.nx-ak-ozet { font-weight: 400; font-size: var(--fs-sm); color: var(--c-ink-2); line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-ak-oge[open] .nx-ak-ozet { white-space: normal; }
.nx-ak-icerik { padding: 0 0 var(--sp-4); color: var(--c-ink-2); }
.nx-ak-oge:has(.nx-ak-ikon) .nx-ak-icerik { padding-left: calc(34px + var(--sp-3)); }
.nx-ak-icerik > :last-child { margin-bottom: 0; }
.nx-ak-icerik p { margin: 0 0 var(--sp-2); }
.nx-ak-yikama .nx-ak-icerik { background: var(--c-forest-soft); color: var(--c-forest-ink, var(--c-ink)); border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4); margin: 0 0 var(--sp-4) calc(34px + var(--sp-3)); }
.nx-ak-adim { margin: 0 0 var(--sp-2); padding-left: 1.3em; }
.nx-ak-adim li { margin-bottom: var(--sp-1); }
.nx-ak-tumu { padding: var(--sp-3) 0 0; }
.nx-pd-metin > p:first-child { color: var(--c-ink); font-family: var(--f-display); font-size: var(--fs-md); line-height: 1.4; }
.nx-pd-metin ul { list-style: none; margin: var(--sp-3) 0; padding: 0; display: grid; gap: var(--sp-2); }
.nx-pd-metin li { position: relative; padding-left: 26px; line-height: 1.5; }
.nx-pd-metin li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 13px; height: 7px; border-left: 2px solid var(--c-accent); border-bottom: 2px solid var(--c-accent); transform: rotate(-45deg); }
.nx-pd-metin li strong, .nx-pd-metin p strong { color: var(--c-ink); font-weight: 600; }
.nx-pd-metin > p:last-child:not(:first-child) { background: var(--c-sand); border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4); color: var(--c-ink); }
.nx-pd-son { font-family: var(--f-display); font-style: italic; font-size: var(--fs-md); color: var(--c-forest); margin: var(--sp-2) 0 0 !important; }
.nx-pd-olculer { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: var(--sp-2); margin: 0 0 var(--sp-3); }
.nx-pd-olculer div { background: var(--c-sand); border-radius: var(--r-md); padding: var(--sp-2) var(--sp-3); }
.nx-pd-olculer dt { font-size: var(--fs-xs); color: var(--c-ink-2); }
.nx-pd-olculer dd { margin: 0; font-weight: 700; font-size: var(--fs-md); color: var(--c-ink); font-variant-numeric: tabular-nums; }
.nx-pd-teslim b { color: var(--c-ink); }
.nx-pd-iletisim { display: flex; align-items: center; gap: var(--sp-2); }
.nx-pd-iletisim .nx-i { color: var(--c-forest); }
.nx-pd-link a, .nx-pd-iletisim a { color: var(--c-ink); font-weight: 600; text-underline-offset: 4px; display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- Değerlendirmeler / kanıt kartı ---------- */
.nx-kanit-kart { background: var(--c-surface); border: 1px solid var(--c-line-2); border-radius: var(--r-lg); padding: var(--sp-6) var(--sp-4); display: grid; gap: var(--sp-2); max-width: 720px; }
.nx-kanit-kart p { margin: 0; }
.nx-kk-ust { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink-2); }
.nx-kk-sayi { font-family: var(--f-display); font-size: var(--fs-xl); line-height: 1.2; color: var(--c-ink); }
.nx-kk-sayi span { color: var(--c-star); }
.nx-kk-kaynak { font-size: var(--fs-sm); color: var(--c-ink-2); }
.nx-kk-not { font-size: var(--fs-sm); color: var(--c-ink-2); border-top: 1px dashed var(--c-line); padding-top: var(--sp-3) !important; margin-top: var(--sp-1) !important; }
.nx-yk-trendyol { margin: 0; font-size: var(--fs-sm); color: var(--c-ink-2); }
.nx-yorumlar .nx-stars { font-size: var(--fs-sm); }

/* ---------- Boş sepet (sepet sayfası) ---------- */
.nx-bos-sepet { text-align: center; padding: var(--sp-8) 0 var(--sp-4); max-width: 880px; margin: 0 auto; }
.nx-bs-baslik { font-family: var(--f-display); font-size: var(--fs-2xl); font-weight: 500; margin: 0 0 var(--sp-2); }
.nx-bs-metin { color: var(--c-ink-2); font-size: var(--fs-md); margin: 0 0 var(--sp-6); }
.nx-bs-dugmeler { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); margin: 0 0 var(--sp-8); }
.nx-bs-dugmeler a { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: var(--r-pill); font-weight: 600; text-decoration: none; }
.nx-bs-ana { background: var(--c-accent); color: #fff; border: 1.5px solid var(--c-accent); }
.nx-bs-ana:hover { background: var(--c-accent-hover); color: #fff; }
.nx-bs-ikincil { background: transparent; color: var(--c-ink); border: 1.5px solid var(--c-ink); }
.nx-bs-ikincil:hover { background: var(--c-ink); color: #fff; }
.nx-bs-alt { font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 500; margin: 0 0 var(--sp-3); }
.nx-bs-liste { list-style: none; margin: 0 0 var(--sp-6); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4) 12px; text-align: left; }
.nx-bs-liste a { display: grid; gap: 4px; color: var(--c-ink); text-decoration: none; }
.nx-bs-liste img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); background: var(--c-card); display: block; margin-bottom: 4px; }
.nx-bs-ad { font-weight: 600; font-size: var(--fs-sm); line-height: 1.3; }
.nx-bs-fiyat { font-size: var(--fs-sm); color: var(--c-ink-2); }
.nx-bs-fiyat .screen-reader-text { position: absolute; }
.nx-bs-guven { list-style: none; margin: 0; padding: var(--sp-3) 0 0; border-top: 1px solid var(--c-line-2); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-1) var(--sp-4); font-size: var(--fs-xs); color: var(--c-ink-2); }
.nx-bs-guven li::before { content: "✓"; color: var(--c-forest); margin-right: 6px; font-weight: 700; }
@media (min-width: 768px) { .nx-bs-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wc-block-cart__empty-cart__wrapper .nx-bos-sepet,
.wp-block-woocommerce-empty-cart-block .nx-bos-sepet { margin-top: 0; }

/* ---------- İçerik sayfaları (SSS, Atölyemiz, Kargo ve İade, Ölçü Rehberi) ---------- */
.nx-sayfa-ak { border-top: 1px solid var(--c-line); margin: var(--sp-2) 0 var(--sp-6); }
.nx-sayfa-ak .nx-faq-item > :not(summary) { color: var(--c-ink-2); }
.nx-sayfa-ak .nx-faq-item > :not(summary):last-child { margin-bottom: var(--sp-4); }
.nx-sayfa-ak .nx-faq-item p, .nx-sayfa-ak .nx-faq-item ul { margin: 0 0 var(--sp-2); }
.nx-sayfa-ak .nx-faq-item { margin: 0 !important; }
.nx-sayfa-ak .nx-faq-item summary { font-size: var(--fs-base); min-height: 52px; padding: var(--sp-2) 0; }
.nx-page .wp-block-post-content { font-size: var(--fs-base); line-height: 1.6; }
.nx-page .wp-block-post-content > h2 { font-family: var(--f-display); font-size: var(--fs-xl); font-weight: 500; margin: var(--sp-8) 0 var(--sp-2); }
.nx-page .wp-block-post-content > h3 { font-family: var(--f-body); font-size: var(--fs-md); font-weight: 600; margin: var(--sp-4) 0 var(--sp-1); }
.nx-page .wp-block-post-content > h2 + h3 { margin-top: var(--sp-2); }
.nx-page .wp-block-post-content > p { color: var(--c-ink-2); margin: 0 0 var(--sp-2); }
.nx-page .wp-block-post-content > p strong { color: var(--c-ink); }
.nx-page .wp-block-post-content ul { color: var(--c-ink-2); padding-left: 1.2em; }
.nx-page .wp-block-post-content li { margin-bottom: var(--sp-1); }
.nx-page .wp-block-post-content a { color: var(--c-ink); text-underline-offset: 3px; }
.nx-olcu-tablosu, .nx-page .wp-block-table { margin: var(--sp-3) 0 var(--sp-4); overflow-x: auto; }
.nx-olcu-tablosu table, .nx-page .wp-block-table table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.nx-olcu-tablosu th, .nx-olcu-tablosu td, .nx-page .wp-block-table th, .nx-page .wp-block-table td { text-align: left; padding: 10px 8px; border-bottom: 1px dashed var(--c-line); }
.nx-olcu-tablosu th, .nx-page .wp-block-table th { font-weight: 600; color: var(--c-ink-2); border-bottom: 1px solid var(--c-line); }
.nx-olcu-tablosu td:not(:first-child) { white-space: nowrap; font-variant-numeric: tabular-nums; }
