/* ==========================================================================
   Bayiseç — Ürün Detay Sayfası (masaüstü)
   Kapsam: .bs-pdp altındaki her şey. Tema style.css'ine ve WooCommerce'in
   kendi woocommerce.css'ine sızmaz; tersine WC'nin single-product kurallarını
   bu ağaç içinde etkisizleştirir.
   ========================================================================== */

.bs-pdp {
    --pdp-navy: #143d59;
    --pdp-navy-700: #0f2f45;
    --pdp-navy-500: #1d5378;
    --pdp-amber: #f4b41a;
    --pdp-amber-600: #dc9d08;
    --pdp-ink: #1b2b38;
    --pdp-muted: #6d8091;
    --pdp-line: #e4ecf2;
    --pdp-soft: #f4f7f9;
    --pdp-success: #1d9d6a;
    --pdp-warning: #d98a06;
    --pdp-danger: #d54b4b;
    --pdp-radius: 16px;
    --pdp-shadow: 0 1px 2px rgba(20, 61, 89, .05), 0 16px 40px -20px rgba(20, 61, 89, .28);

    font-family: 'Roboto', -apple-system, 'Segoe UI', sans-serif;
    color: var(--pdp-ink);
    padding-bottom: 12px;
}

.bs-pdp *,
.bs-pdp *::before,
.bs-pdp *::after { box-sizing: border-box; }

/* WooCommerce single-product varsayılanlarını bu ağaçta nötrle */
.bs-pdp .woocommerce-Price-amount { white-space: nowrap; }
.bs-pdp img { max-width: 100%; height: auto; }
.bs-pdp p:last-child { margin-bottom: 0; }
.bs-pdp button { font-family: inherit; }

/* --------------------------------------------------------------------------
   Künye şeridi (breadcrumb + geri)
   -------------------------------------------------------------------------- */
.bs-pdp-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--pdp-muted);
}
.bs-pdp-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px 7px 11px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--pdp-line);
    color: var(--pdp-navy);
    font-weight: 600;
    text-decoration: none;
    transition: .18s ease;
}
.bs-pdp-back:hover { background: var(--pdp-navy); border-color: var(--pdp-navy); color: #fff; }
.bs-pdp-back svg { width: 15px; height: 15px; }

.bs-pdp-crumb-path { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.bs-pdp-crumb-path a { color: var(--pdp-muted); text-decoration: none; }
.bs-pdp-crumb-path a:hover { color: var(--pdp-navy); text-decoration: underline; }
.bs-pdp-crumb-path .sep { opacity: .45; }
.bs-pdp-crumb-path .cur { color: var(--pdp-ink); font-weight: 500; }

/* --------------------------------------------------------------------------
   Kart kabuğu
   -------------------------------------------------------------------------- */
.bs-pdp-card {
    background: #fff;
    border: 1px solid var(--pdp-line);
    border-radius: var(--pdp-radius);
    box-shadow: var(--pdp-shadow);
}
.bs-pdp-card + .bs-pdp-card { margin-top: 22px; }

/* --------------------------------------------------------------------------
   GALERİ
   -------------------------------------------------------------------------- */
.bs-gal { padding: 18px; }

.bs-gal-stage {
    position: relative;
    border-radius: 12px;
    background:
        radial-gradient(120% 120% at 50% 0%, #ffffff 0%, #f2f6f9 60%, #e9f0f5 100%);
    border: 1px solid var(--pdp-line);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}
/*
 * Masaüstünde sahne KARE DEĞİL, sabit yükseklikli: sütun 40%'a indiği için kare
 * oran sayfayı gereksiz uzatıyordu. `aspect-ratio` + `max-height` birlikte
 * kullanılmaz — yükseklik sınırlanınca genişlik de oranla küçülüp kutu sütunun
 * soluna sıkışıyor. Bu yüzden oran kapatılıp yükseklik veriliyor.
 */
@media (min-width: 992px) {
    .bs-gal-stage { aspect-ratio: auto; height: 400px; }
}
@supports not (aspect-ratio: 1/1) {
    .bs-gal-stage { height: 400px; }
}
/*
 * `.bs-gal .bs-gal-stage img` — fazladan sınıf BİLEREK var. Vendor style.css
 * `.woocommerce img { height: auto }` diyor; aynı özgüllükte ama bizden SONRA
 * yüklendiği için sade `.bs-gal-stage img` kaybediyordu. Kare sahnede fark
 * görünmüyordu (yükseklik = genişlik); sahne 400px sabit yüksekliğe alınınca
 * görsel taşıp kırpıldı.
 */
.bs-gal .bs-gal-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 26px;
    transition: transform .35s cubic-bezier(.2, .8, .3, 1), opacity .2s ease;
    will-change: transform;
}
.bs-gal-stage.is-zooming img { transition: transform .08s linear; }
.bs-gal-stage.is-swapping img { opacity: 0; }

/* Rozetler */
.bs-gal-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    z-index: 3;
    pointer-events: none;
}
.bs-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .2px;
    line-height: 1.4;
    color: #fff;
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35);
}
.bs-badge svg { width: 13px; height: 13px; }
.bs-badge--new { background: var(--pdp-success); }
.bs-badge--sale { background: var(--pdp-danger); }
.bs-badge--special { background: var(--pdp-navy); }
.bs-badge--amber { background: var(--pdp-amber); color: var(--pdp-navy-700); }

.bs-gal-sku {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 3;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(4px);
    border: 1px solid var(--pdp-line);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .6px;
    color: var(--pdp-navy);
    font-variant-numeric: tabular-nums;
}
.bs-gal-zoom {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pdp-line);
    background: rgba(255, 255, 255, .9);
    color: var(--pdp-navy);
    border-radius: 10px;
    cursor: zoom-in;
    transition: .18s ease;
}
.bs-gal-zoom:hover { background: var(--pdp-navy); color: #fff; border-color: var(--pdp-navy); }
.bs-gal-zoom svg { width: 17px; height: 17px; }

.bs-gal-hint {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    font-size: 11px;
    color: var(--pdp-muted);
    background: rgba(255, 255, 255, .8);
    padding: 4px 9px;
    border-radius: 6px;
    pointer-events: none;
}

/* Küçük görseller */
.bs-gal-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.bs-gal-thumbs::-webkit-scrollbar { height: 5px; }
.bs-gal-thumbs::-webkit-scrollbar-thumb { background: #cfdbe4; border-radius: 4px; }
.bs-gal-thumb {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    padding: 6px;
    border-radius: 10px;
    border: 1.5px solid var(--pdp-line);
    background: #fff;
    cursor: pointer;
    transition: .18s ease;
    position: relative;
}
.bs-gal .bs-gal-thumb img { width: 100%; height: 100%; object-fit: contain; }   /* özgüllük: yukarıdaki nota bak */
.bs-gal-thumb:hover { border-color: #b9cbd8; transform: translateY(-2px); }
.bs-gal-thumb.is-active { border-color: var(--pdp-navy); box-shadow: 0 0 0 3px rgba(20, 61, 89, .1); }
/* Tek görselli üründe şerit yine basılır (düzen sabit kalsın) ama tıklanacak
   ikinci kare olmadığı için etkileşim ipuçları kapatılır. */
.bs-gal-thumbs.is-single .bs-gal-thumb { cursor: default; }
.bs-gal-thumbs.is-single .bs-gal-thumb:hover { border-color: var(--pdp-navy); transform: none; }

/* Işık kutusu */
.bs-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 24, 35, .93);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 64px;
}
.bs-lightbox.is-open { display: flex; }
.bs-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    animation: bsPdpPop .22s ease;
}
@keyframes bsPdpPop { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.bs-lightbox-btn {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .18s ease;
}
.bs-lightbox-btn:hover { background: rgba(255, 255, 255, .22); }
.bs-lightbox-btn svg { width: 20px; height: 20px; }
.bs-lightbox-close { top: 22px; right: 22px; }
.bs-lightbox-prev { left: 18px; top: 50%; margin-top: -22px; }
.bs-lightbox-next { right: 18px; top: 50%; margin-top: -22px; }
.bs-lightbox-count {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    letter-spacing: .5px;
}

/* --------------------------------------------------------------------------
   SATIN ALMA PANELİ
   -------------------------------------------------------------------------- */
.bs-buy-sticky { position: sticky; top: 16px; }
.bs-buy { padding: 24px; }

.bs-buy-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--pdp-line);
    margin-bottom: 15px;
}
.bs-buy-brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--pdp-line);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    flex: 0 0 auto;
}
.bs-buy-brand-logo img { max-height: 100%; object-fit: contain; }
.bs-buy-brand-fallback {
    font-weight: 800;
    font-size: 17px;
    color: var(--pdp-navy);
    font-family: 'Rubik', sans-serif;
}
.bs-buy-brand-txt { min-width: 0; }
.bs-buy-brand-txt small { display: block; font-size: 11px; color: var(--pdp-muted); letter-spacing: .4px; text-transform: uppercase; }
.bs-buy-brand-txt a {
    color: var(--pdp-navy);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    font-family: 'Rubik', sans-serif;
}
.bs-buy-brand-txt a:hover { text-decoration: underline; }

.bs-buy-title {
    font-family: 'Rubik', sans-serif;
    font-size: 25px;
    line-height: 1.28;
    font-weight: 600;
    color: var(--pdp-navy-700);
    margin: 0 0 12px;
}

.bs-buy-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.bs-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 7px;
    background: var(--pdp-soft);
    border: 1px solid var(--pdp-line);
    font-size: 12px;
    color: var(--pdp-muted);
}
.bs-chip strong { color: var(--pdp-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.bs-chip svg { width: 13px; height: 13px; opacity: .7; }
.bs-chip-copy { cursor: pointer; transition: .16s ease; }
.bs-chip-copy:hover { border-color: var(--pdp-navy); color: var(--pdp-navy); }
.bs-chip-copy.is-copied { border-color: var(--pdp-success); color: var(--pdp-success); }

/* Fiyat bloğu */
.bs-price {
    background: linear-gradient(180deg, #fffdf6 0%, #fff9e9 100%);
    border: 1px solid #f6e3ae;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 16px;
}
.bs-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.bs-price-now {
    font-family: 'Rubik', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--pdp-navy-700);
    letter-spacing: -.5px;
}
.bs-price-now .woocommerce-Price-currencySymbol { font-size: .72em; margin-left: 2px; }
.bs-price-old {
    font-size: 16px;
    color: var(--pdp-muted);
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}
.bs-price-off {
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--pdp-danger);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.bs-price-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 9px;
    font-size: 12.5px;
    color: #8a7333;
}
.bs-price-meta span { display: inline-flex; align-items: center; gap: 5px; }
.bs-price-meta svg { width: 13px; height: 13px; }
.bs-price-login {
    font-size: 13px;
    color: var(--pdp-muted);
}

/* Stok durumu */
.bs-stock {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 13.5px;
    line-height: 1.5;
    border: 1px solid;
}
.bs-stock-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-top: 5px;
    flex: 0 0 auto;
    position: relative;
}
.bs-stock strong { display: block; font-weight: 700; }
.bs-stock small { color: inherit; opacity: .82; }
.bs-stock--success { background: #eefaf4; border-color: #cdeee0; color: #147a52; }
.bs-stock--success .bs-stock-dot { background: var(--pdp-success); }
.bs-stock--success .bs-stock-dot::after {
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid rgba(29, 157, 106, .35); animation: bsPdpPulse 2s ease-out infinite;
}
@keyframes bsPdpPulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.bs-stock--warning { background: #fff8e9; border-color: #f6e3b4; color: #97640a; }
.bs-stock--warning .bs-stock-dot { background: var(--pdp-warning); }
.bs-stock--danger { background: #fdf0f0; border-color: #f6d5d5; color: #a83a3a; }
.bs-stock--danger .bs-stock-dot { background: var(--pdp-danger); }

/* Stok notu — rozet satır içine alındığı için metin rozetin altına düşüyor. */
.bs-stock-note {
    margin: 8px 0 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--pdp-muted);
}

/* Stok çubuğu */
.bs-stock-bar { height: 5px; border-radius: 4px; background: #e9eff4; overflow: hidden; margin-top: 8px; }
.bs-stock-bar i { display: block; height: 100%; border-radius: 4px; background: currentColor; opacity: .55; }

/* Panelde kısa açıklama */
.bs-buy-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #48596a;
    margin-bottom: 16px;
    padding-left: 13px;
    border-left: 3px solid var(--pdp-amber);
}
.bs-buy-desc p { margin: 0 0 8px; }
.bs-buy-desc p:last-child { margin-bottom: 0; }

/* Varyasyon seçimi */
.bs-var { margin-bottom: 16px; }
.bs-var-group + .bs-var-group { margin-top: 13px; }
.bs-var-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pdp-muted);
    margin-bottom: 7px;
    letter-spacing: .2px;
}
.bs-var-label em { font-style: normal; color: var(--pdp-navy); font-weight: 700; }
.bs-var-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.bs-var-opt {
    padding: 9px 15px;
    border-radius: 9px;
    border: 1.5px solid var(--pdp-line);
    background: #fff;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pdp-ink);
    cursor: pointer;
    transition: .16s ease;
    position: relative;
}
.bs-var-opt:hover { border-color: #b3c7d5; }
.bs-var-opt.is-active {
    border-color: var(--pdp-navy);
    background: var(--pdp-navy);
    color: #fff;
    box-shadow: 0 6px 14px -8px rgba(20, 61, 89, .8);
}
.bs-var-opt.is-disabled {
    opacity: .42;
    cursor: not-allowed;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}
.bs-var-reset {
    background: none;
    border: 0;
    padding: 0;
    font-size: 12px;
    color: var(--pdp-muted);
    text-decoration: underline;
    cursor: pointer;
}
.bs-var-reset:hover { color: var(--pdp-danger); }

/* Adet seçimi */
.bs-qty-block { margin-bottom: 16px; }
.bs-qty-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}
.bs-qty-head label { font-size: 12.5px; font-weight: 600; color: var(--pdp-muted); margin: 0; letter-spacing: .2px; }
.bs-qty-head .bs-qty-limits { font-size: 11.5px; color: var(--pdp-muted); font-variant-numeric: tabular-nums; }

/* Adet kutusu solda, stok rozeti sağda — aralarında boşluk (space-between). */
.bs-qty-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.bs-qty-row .bs-stock {
    margin-bottom: 0;          /* satır içinde; alt boşluğu blok yönetiyor */
    align-items: center;
    flex: 0 1 auto;
}
.bs-qty {
    display: inline-flex;
    align-items: stretch;
    border: 1.5px solid var(--pdp-line);
    border-radius: 11px;
    overflow: hidden;
    background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.bs-qty:focus-within { border-color: var(--pdp-navy); box-shadow: 0 0 0 3px rgba(20, 61, 89, .09); }
.bs-qty-btn {
    width: 44px;
    border: 0;
    background: var(--pdp-soft);
    color: var(--pdp-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .14s ease;
    -webkit-user-select: none;
    user-select: none;
}
.bs-qty-btn:hover:not(:disabled) { background: var(--pdp-navy); color: #fff; }
.bs-qty-btn:active:not(:disabled) { transform: scale(.94); }
.bs-qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.bs-qty-btn svg { width: 17px; height: 17px; }
.bs-qty-input {
    width: 74px;
    border: 0;
    border-left: 1.5px solid var(--pdp-line);
    border-right: 1.5px solid var(--pdp-line);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--pdp-navy-700);
    padding: 11px 4px;
    background: #fff;
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
    appearance: textfield;
}
.bs-qty-input::-webkit-outer-spin-button,
.bs-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bs-qty-input:focus { outline: none; }

/* Koli hazır-miktar butonları (.bs-qty-preset) kaldırıldı: miktar zaten satış
   biriminden sayılıyor, "+1 koli" ikinci bir birim yaratıp kafa karıştırıyordu. */

.bs-qty-warn {
    display: none;
    margin-top: 8px;
    font-size: 12.5px;
    color: var(--pdp-danger);
    align-items: center;
    gap: 6px;
}
.bs-qty-warn.is-on { display: flex; }
.bs-qty-warn svg { width: 14px; height: 14px; flex: 0 0 auto; }

/* Ara toplam şeridi kaldırıldı — fiyat üstteki fiyat kutusunda zaten var.
   Ona ait .bs-subtotal kuralları ve bsPdpFlash animasyonu da temizlendi. */

/* Aksiyonlar */
.bs-actions { display: flex; gap: 10px; }
.bs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1.5px solid transparent;
    border-radius: 11px;
    padding: 14px 20px;
    font-size: 14.5px;
    font-weight: 700;
    font-family: 'Rubik', sans-serif;
    letter-spacing: .2px;
    cursor: pointer;
    text-decoration: none;
    transition: .18s ease;
    line-height: 1.2;
}
.bs-btn svg { width: 18px; height: 18px; }
.bs-btn-primary {
    flex: 1 1 auto;
    background: linear-gradient(180deg, var(--pdp-amber) 0%, var(--pdp-amber-600) 100%);
    color: var(--pdp-navy-700);
    box-shadow: 0 10px 22px -12px rgba(220, 157, 8, .9);
}
.bs-btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); color: var(--pdp-navy-700); }
.bs-btn-primary:active { transform: translateY(0); }
.bs-btn-primary.is-busy { pointer-events: none; opacity: .75; }
.bs-btn-primary.is-done { background: var(--pdp-success); color: #fff; box-shadow: none; }
.bs-btn-ghost {
    background: #fff;
    border-color: var(--pdp-line);
    color: var(--pdp-navy);
    flex: 0 0 auto;
}
.bs-btn-ghost:hover { border-color: var(--pdp-navy); background: var(--pdp-navy); color: #fff; }
.bs-btn:disabled, .bs-btn.is-disabled { opacity: .5; pointer-events: none; }

.bs-btn-spin {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(20, 61, 89, .3);
    border-top-color: var(--pdp-navy-700);
    animation: bsPdpSpin .7s linear infinite;
    display: none;
}
.bs-btn-primary.is-busy .bs-btn-spin { display: block; }
.bs-btn-primary.is-busy .bs-btn-ico { display: none; }
@keyframes bsPdpSpin { to { transform: rotate(360deg); } }

/* Bayi olmayan kullanıcı kapısı */
.bs-gate {
    border: 1px dashed #d8c48a;
    background: linear-gradient(180deg, #fffdf5, #fff8e6);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
}
.bs-gate-ico {
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--pdp-amber); color: var(--pdp-navy-700);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 10px;
}
.bs-gate-ico svg { width: 21px; height: 21px; }
.bs-gate h4 { font-family: 'Rubik', sans-serif; font-size: 15.5px; font-weight: 600; color: var(--pdp-navy-700); margin: 0 0 6px; }
.bs-gate p { font-size: 13px; color: #7d6a3c; line-height: 1.55; margin: 0 0 14px; }
.bs-gate .bs-btn { width: 100%; background: var(--pdp-navy); color: #fff; }
.bs-gate .bs-btn:hover { background: var(--pdp-navy-500); }

/* Güven şeridi */
.bs-trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 18px;
    background: var(--pdp-line);
    border: 1px solid var(--pdp-line);
    border-radius: 12px;
    overflow: hidden;
}
.bs-trust-item {
    background: #fff;
    padding: 13px 14px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}
.bs-trust-item svg { width: 17px; height: 17px; color: var(--pdp-navy); flex: 0 0 auto; margin-top: 1px; }
.bs-trust-item b { display: block; font-size: 12.5px; font-weight: 700; color: var(--pdp-ink); }
.bs-trust-item small { font-size: 11.5px; color: var(--pdp-muted); line-height: 1.4; }

/* --------------------------------------------------------------------------
   SEKMELER
   -------------------------------------------------------------------------- */
.bs-tabs { margin-top: 22px; }
.bs-tab-nav {
    display: flex;
    gap: 4px;
    padding: 8px 8px 0;
    border-bottom: 1px solid var(--pdp-line);
    overflow-x: auto;
    scrollbar-width: none;
}
.bs-tab-nav::-webkit-scrollbar { display: none; }
.bs-tab-btn {
    position: relative;
    border: 0;
    background: none;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
    color: var(--pdp-muted);
    cursor: pointer;
    white-space: nowrap;
    border-radius: 10px 10px 0 0;
    transition: .16s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.bs-tab-btn svg { width: 16px; height: 16px; }
.bs-tab-btn:hover { color: var(--pdp-navy); background: var(--pdp-soft); }
.bs-tab-btn.is-active { color: var(--pdp-navy-700); }
.bs-tab-btn.is-active::after {
    content: '';
    position: absolute;
    left: 14px; right: 14px; bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--pdp-amber);
}
.bs-tab-btn .bs-tab-count {
    font-size: 11px;
    background: var(--pdp-soft);
    border: 1px solid var(--pdp-line);
    color: var(--pdp-muted);
    border-radius: 999px;
    padding: 1px 7px;
    font-weight: 700;
}
.bs-tab-panel { display: none; padding: 26px 28px 28px; }
.bs-tab-panel.is-active { display: block; animation: bsPdpFade .25s ease; }
@keyframes bsPdpFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Açıklama tipografisi */
.bs-prose { max-width: 76ch; font-size: 15px; line-height: 1.8; color: #384a58; }
.bs-prose p { margin: 0 0 15px; }
/* NOT: süslü ilk harf (drop cap) denendi ve KALDIRILDI — Türkçe'de ilk harf
   kelimeden görsel olarak koptuğu için "S ütaş" gibi okunuyordu. */
.bs-prose h2, .bs-prose h3 { font-family: 'Rubik', sans-serif; color: var(--pdp-navy-700); font-size: 17px; margin: 22px 0 10px; }
.bs-prose ul { padding-left: 20px; margin-bottom: 15px; }
.bs-prose li { margin-bottom: 6px; }

/* Özellik tablosu */
.bs-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 34px;
}
.bs-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 12px 2px;
    border-bottom: 1px dashed var(--pdp-line);
    font-size: 14px;
}
.bs-spec-row dt { color: var(--pdp-muted); font-weight: 400; margin: 0; flex: 0 0 auto; }
.bs-spec-row dd { margin: 0; font-weight: 600; color: var(--pdp-ink); text-align: right; }
.bs-specs-note {
    margin-top: 18px;
    font-size: 12.5px;
    color: var(--pdp-muted);
    display: flex;
    gap: 7px;
    align-items: flex-start;
}
.bs-specs-note svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; }

/* Teslimat blokları */
.bs-delivery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bs-delivery-item {
    border: 1px solid var(--pdp-line);
    border-radius: 12px;
    padding: 18px;
    background: linear-gradient(180deg, #fff, #fbfdfe);
}
.bs-delivery-item h4 {
    display: flex; align-items: center; gap: 9px;
    font-family: 'Rubik', sans-serif;
    font-size: 15px; font-weight: 600; color: var(--pdp-navy-700);
    margin: 0 0 9px;
}
.bs-delivery-item h4 span {
    width: 32px; height: 32px; border-radius: 9px;
    background: var(--pdp-soft); color: var(--pdp-navy);
    display: inline-flex; align-items: center; justify-content: center;
}
.bs-delivery-item h4 svg { width: 16px; height: 16px; }
.bs-delivery-item p { font-size: 13.5px; line-height: 1.65; color: #55697a; margin: 0; }

/* Kampanya kartları */
.bs-camps { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.bs-camp {
    border: 1px solid var(--pdp-line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: .18s ease;
}
.bs-camp:hover { transform: translateY(-2px); box-shadow: var(--pdp-shadow); }
.bs-camp-img { height: 108px; background: var(--pdp-soft) center/cover no-repeat; }
.bs-camp-body { padding: 14px; flex: 1 1 auto; display: flex; flex-direction: column; }
.bs-camp-body h5 { font-family: 'Rubik', sans-serif; font-size: 14.5px; font-weight: 600; color: var(--pdp-navy-700); margin: 0 0 6px; }
.bs-camp-body p { font-size: 12.5px; color: var(--pdp-muted); line-height: 1.55; margin: 0 0 12px; flex: 1 1 auto; }
.bs-camp-foot { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.bs-camp-code {
    display: block;
    width: 100%;
    text-align: center;
    font-family: 'Rubik', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--pdp-navy);
    background: var(--pdp-soft);
    border: 1px dashed #c8d7e1;
    padding: 5px 10px;
    border-radius: 7px;
}
.bs-camp-exp { font-size: 11.5px; color: var(--pdp-muted); align-self: flex-end; text-align: right; }

/* Boş durum */
.bs-empty-state {
    text-align: center;
    padding: 34px 20px;
    color: var(--pdp-muted);
    font-size: 14px;
}
.bs-empty-state svg { width: 34px; height: 34px; opacity: .4; margin-bottom: 10px; }

/* --------------------------------------------------------------------------
   BENZER ÜRÜNLER
   -------------------------------------------------------------------------- */
.bs-related { margin-top: 22px; }
.bs-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.bs-section-head h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--pdp-navy-700);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}
.bs-section-head h3 svg { width: 18px; height: 18px; color: var(--pdp-amber); }
.bs-section-head a { font-size: 13px; color: var(--pdp-navy); font-weight: 600; text-decoration: none; }
.bs-section-head a:hover { text-decoration: underline; }

.bs-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.bs-mini {
    background: #fff;
    border: 1px solid var(--pdp-line);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: .2s ease;
}
.bs-mini:hover { transform: translateY(-3px); box-shadow: var(--pdp-shadow); border-color: #cfdde7; color: inherit; }
.bs-mini-img {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}
.bs-mini-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bs-mini-tag {
    position: absolute;
    top: 9px; left: 9px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    color: #fff;
}
.bs-mini-body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1 1 auto; }
.bs-mini-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--pdp-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}
.bs-mini-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.bs-mini-price { font-family: 'Rubik', sans-serif; font-size: 15px; font-weight: 600; color: var(--pdp-navy-700); }
.bs-mini-price del { font-size: 11.5px; color: var(--pdp-muted); font-weight: 400; display: block; }
.bs-mini-stock { font-size: 10.5px; font-weight: 700; padding: 3px 7px; border-radius: 5px; }
.bs-mini-stock--in { background: #eefaf4; color: #147a52; }
.bs-mini-stock--out { background: #fdf0f0; color: #a83a3a; }

/* --------------------------------------------------------------------------
   Bildirim (toast)
   -------------------------------------------------------------------------- */
.bs-toast-wrap {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 340px;
}
.bs-toast {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--pdp-line);
    box-shadow: 0 18px 40px -16px rgba(20, 61, 89, .45);
    animation: bsPdpToast .28s cubic-bezier(.2, .9, .3, 1);
}
@keyframes bsPdpToast { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.bs-toast.is-out { opacity: 0; transform: translateX(24px); transition: .25s ease; }
.bs-toast-ico {
    width: 32px; height: 32px; border-radius: 9px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.bs-toast-ico svg { width: 17px; height: 17px; }
.bs-toast--success .bs-toast-ico { background: var(--pdp-success); }
.bs-toast--error .bs-toast-ico { background: var(--pdp-danger); }
.bs-toast b { display: block; font-size: 13.5px; font-family: 'Rubik', sans-serif; color: var(--pdp-navy-700); }
.bs-toast p { font-size: 12.5px; color: var(--pdp-muted); margin: 2px 0 0; line-height: 1.45; }
.bs-toast a { display: inline-block; margin-top: 7px; font-size: 12.5px; font-weight: 700; color: var(--pdp-navy); }

/* --------------------------------------------------------------------------
   Duyarlılık
   -------------------------------------------------------------------------- */
@media (max-width: 1400px) {
    .bs-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1199px) {
    .bs-buy-sticky { position: static; }
    .bs-buy { padding: 20px; }
    .bs-specs, .bs-delivery { grid-template-columns: minmax(0, 1fr); }
    .bs-gal-stage { aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
    .bs-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bs-buy-title { font-size: 21px; }
    .bs-price-now { font-size: 27px; }
    .bs-tab-panel { padding: 20px 18px 22px; }
    .bs-trust { grid-template-columns: minmax(0, 1fr); }
    .bs-actions { flex-wrap: wrap; }
    .bs-btn-ghost { flex: 1 1 100%; }
    .bs-toast-wrap { left: 16px; right: 16px; max-width: none; }
    .bs-lightbox { padding: 16px; }
}

@media print {
    .bs-actions, .bs-qty-block, .bs-toast-wrap, .bs-gal-zoom, .bs-pdp-back { display: none !important; }
}
