/* tabdiko-revize.css — TDN 18.11.2026 PDF revizeleri (TABDIKO X NEW1). sablon.twig içinde tabdiko.css'ten sonra yüklenir. */

/* Sağ alttaki yukarı çık (scroll-to-top) butonu kaldırıldı */
.progress-wrap{display:none !important}

/* Ürün kartlarında hover'da kayan ışık efekti kaldırıldı */
.td-kart-gorsel::before{display:none !important;content:none !important}

/* Eski kaydırmalı manşetin "Kaydırın" ipucu (geri alınırsa da görünmesin) */
.td-hs-ipucu{display:none !important}

/* ---------- NEW rozeti ---------- */
.td-kart-durumlar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px}
.td-rozet-yeni{display:inline-flex;align-items:center;height:20px;padding:0 7px;border:1px solid var(--td-murekkep,#1E1E1E);font-size:10px;font-weight:600;letter-spacing:.12em;line-height:1;text-transform:uppercase;color:var(--td-murekkep,#1E1E1E);background:#fff}
.tdu-yeni{margin-bottom:10px}

/* ---------- Ürün sayfası: Sepette indirim kuponu ---------- */
.pd-price-for-promotion.tdu-promo{position:relative;display:flex;align-items:center;gap:14px;width:100%;max-width:440px;margin:14px 0 10px;padding:12px 18px 12px 14px;border:1.5px dashed var(--td-mercan,#D17C70);border-radius:14px !important;background:linear-gradient(135deg,#FFF6F3 0%,#FBE9E4 100%);color:var(--td-murekkep,#1E1E1E)}
.tdu-promo::before,.tdu-promo::after{content:"";position:absolute;top:50%;width:14px;height:14px;margin-top:-7px;border-radius:50% !important;background:#fff;border:1.5px dashed var(--td-mercan,#D17C70)}
.tdu-promo::before{left:-8px;clip-path:inset(0 0 0 50%)}
.tdu-promo::after{right:-8px;clip-path:inset(0 50% 0 0)}
.tdu-promo-ikon{flex:none;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50% !important;background:var(--td-mercan,#D17C70);color:#fff;font-size:22px}
.tdu-promo-yazi{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tdu-promo-yazi small,.tdu-promo-fiyat small{font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--td-mercan-koyu,#B8665B)}
.tdu-promo .name{font-size:14px;font-weight:600;line-height:1.3;color:var(--td-murekkep,#1E1E1E)}
.tdu-promo-fiyat{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:2px;padding-left:16px;border-left:1.5px dashed rgba(209,124,112,.55)}
.tdu-promo .price{font-size:22px;font-weight:700;line-height:1.1;letter-spacing:-.01em;color:var(--td-mercan-koyu,#B8665B);white-space:nowrap}


/* custom.css'teki eski "pill" kurallarını (!important) ez */
.product-profile-1 .product-price-group .pd-price-for-promotion.tdu-promo{display:flex !important;width:100% !important;max-width:440px;margin:14px 0 10px !important;padding:12px 18px 12px 14px !important;border:1.5px dashed var(--td-mercan,#D17C70) !important;border-radius:14px !important;background:linear-gradient(135deg,#FFF6F3 0%,#FBE9E4 100%) !important;justify-content:flex-start;gap:14px}
.product-profile-1 .product-price-group .pd-price-for-promotion.tdu-promo .name{display:block !important;padding:0 !important;margin:0 !important;background:none !important;font-size:14px;font-weight:600;color:var(--td-murekkep,#1E1E1E) !important}
.product-profile-1 .product-price-group .pd-price-for-promotion.tdu-promo .name::before{content:none !important;display:none !important}
.product-profile-1 .product-price-group .pd-price-for-promotion.tdu-promo .price{padding:0 !important;margin:0 !important;background:none !important;border-radius:0 !important;font-size:22px;font-weight:700;color:var(--td-mercan-koyu,#B8665B) !important}
@media (max-width:767px){.product-profile-1 .product-price-group .pd-price-for-promotion.tdu-promo .price{font-size:19px}}

/* ---------- Ürün sayfası: Güvenlik uyarısı ---------- */
.tdu-uyari{display:flex;align-items:center;gap:14px;margin:16px 0 6px;padding:12px 16px;border:1px solid #F0D6D2;background:#FFF8F6;font-size:12px;font-weight:600;line-height:1.5;letter-spacing:.03em;text-transform:uppercase;color:#3A2E2A}
.tdu-uyari-ikon{flex:none;width:34px;height:34px}
.tdu-uyari-ikon svg{width:100%;height:100%;display:block}

/* ---------- Ürün sayfası: Favori + Paylaş yan yana kare butonlar ---------- */
.product-buttons .td-urun-fav-kutu,.tdu-stoksuz .td-urun-fav-kutu{align-self:center}
.td-paylas.tdu-paylas{position:relative;align-self:center;margin-left:-9px}
.tdu-paylas .td-paylas-btn{width:54px;height:54px;padding:0;justify-content:center;border:1px solid var(--td-cizgi-koyu,#E9DFD2) !important;background:#fff;font-size:22px;color:var(--td-murekkep,#1E1E1E)}
.tdu-paylas .td-paylas-btn:hover{color:var(--td-mercan,#D17C70)}
.tdu-paylas .td-paylas-btn i{margin:0 !important}
.tdu-paylas .td-paylas-menu{left:auto;right:0;top:calc(100% + 8px);z-index:30}

/* ---------- Ürün sayfası: Stokta olmayan ürün ---------- */
.tdu-stoksuz{display:flex;align-items:center;gap:8px;margin:14px 0 6px}
.tdu-stoksuz-btn{flex:1;min-width:0;height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid var(--td-murekkep,#1E1E1E);background:#fff;color:var(--td-murekkep,#1E1E1E);cursor:pointer;transition:background .25s,color .25s}
.tdu-stoksuz-btn b{font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.tdu-stoksuz-btn small{font-size:10px;letter-spacing:.14em;text-transform:uppercase;opacity:.7}
.tdu-stoksuz-btn:hover{background:var(--td-murekkep,#1E1E1E);color:#fff}
.tdu-stoksuz .td-urun-fav-kutu{margin:0}
.tdu-stoksuz-btn.is-pasif{cursor:default;border-color:#CFC7BF;color:#8a8a8a}
.tdu-stoksuz-btn.is-pasif:hover{background:#fff;color:#8a8a8a}

/* ---------- Stoka girince haber ver ---------- */
.td-kart.is-tukendi .td-kart-bildir{opacity:1}
.tdu-stoksuz-link{display:inline-flex;align-items:center;gap:6px;margin:4px 0 8px;padding:0;border:0;background:none;font-size:13px;text-decoration:underline;text-underline-offset:3px;color:#3A332F;cursor:pointer}
.tdu-stoksuz-link:hover{color:var(--td-mercan-koyu,#B8665B)}
.tdb-perde{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(30,30,30,.45);opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
.tdb-perde.is-acik{opacity:1;visibility:visible}
.tdb-kutu{position:relative;width:100%;max-width:480px;padding:40px 40px 32px;background:#fff;text-align:center;transform:translateY(16px);transition:transform .35s}
.tdb-perde.is-acik .tdb-kutu{transform:none}
.tdb-kapat{position:absolute;top:12px;right:12px;width:36px;height:36px;border:0;background:none;font-size:20px;cursor:pointer;color:#1E1E1E}
.tdb-kutu h3{margin:0 0 10px;font-size:14px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.tdb-urun{margin:0 0 6px;font-size:13px;color:var(--td-mercan-koyu,#B8665B)}
.tdb-kutu p{margin:0 0 22px;font-size:13px;line-height:1.6;color:#6E6862}
.tdb-kutu input[type=email]{width:100%;height:44px;padding:0 2px;border:0;border-bottom:1px solid #1E1E1E;background:none;font-size:14px;outline:none}
.tdb-onay{display:flex;align-items:flex-start;gap:8px;margin:16px 0 22px;font-size:11px;line-height:1.5;text-align:left;color:#6E6862}
.tdb-onay a{text-decoration:underline;color:inherit}
.tdb-btn{width:100%;height:48px;border:1px solid #1E1E1E;background:#1E1E1E;color:#fff;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;cursor:pointer;transition:background .25s}
.tdb-btn:hover{background:var(--td-mercan-koyu,#B8665B);border-color:var(--td-mercan-koyu,#B8665B)}
.tdb-hata{min-height:18px;margin-top:8px;font-size:12px;color:#C0392B}
@media (max-width:767px){.tdb-kutu{padding:34px 22px 24px}}


/* Menü çekmecesindeki logo da logo renginde (#D17C70) */
.td-menu .td-menu-ust .td-logo-yazi{color:var(--td-mercan,#D17C70) !important;font-family:'Fraunces',Georgia,serif;font-variation-settings:'SOFT' 100,'WONK' 0,'opsz' 144;font-weight:900}

/* ================= MOBİL DÜZELTMELER (TDN 18.11.2026) ================= */
@media (max-width:991px){
    /* Ürün galerisi: üst kapsayıcı zaten tam genişlik; ekstra -16px kayma görseli soldan kesiyordu */
    .td-pd-sol .td-urun-galeri{margin-left:0 !important;margin-right:0 !important}
}
@media (max-width:767px){
    /* Yatay taşmaya karşı güvenlik (sticky'yi bozmaz) */
    html,body{overflow-x:clip}
    /* Ürün kartı: "Sepette 399,20 TL" tek satır, kompakt */
    .td-kart .td-kart-bilgi .td-kart-promosyon{display:inline-flex !important;flex-direction:row !important;flex-wrap:nowrap !important;align-items:center !important;gap:5px !important;width:auto !important;max-width:100%;margin:5px 0 0 !important;padding:3px 9px 3px 7px !important;border-radius:999px !important;white-space:nowrap;line-height:1.2}
    .td-kart .td-kart-bilgi .td-kart-promosyon-ad{gap:3px !important}
    .td-kart .td-kart-bilgi .td-kart-promosyon-ad::before{font-size:9px !important}
    .td-kart .td-kart-bilgi .td-kart-promosyon-ad::after{font-size:10.5px !important}
    .td-kart .td-kart-bilgi .td-kart-promosyon b{font-size:12px !important;white-space:nowrap}
    /* Ürün sayfası butonları: 1. satır adet + Sepete Ekle, 2. satır WhatsApp + favori + paylaş */
    .product-profile-1 .product-buttons{gap:8px !important}
    .product-profile-1 .product-buttons > *{margin:0 !important}
    .product-profile-1 .product-buttons{flex-wrap:wrap !important}
    .product-profile-1 .product-buttons .product-quantity{flex:0 0 112px !important;width:112px !important}
    .product-profile-1 .product-buttons .btn-cart{flex:0 0 calc(100% - 120px) !important;max-width:calc(100% - 120px);min-width:0}
    .product-profile-1 .product-buttons .btn-wp{order:3;flex:0 0 calc(100% - 110px) !important;max-width:calc(100% - 110px);min-width:0;height:50px;font-size:11px;letter-spacing:.06em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .product-profile-1 .product-buttons .td-urun-fav-kutu{order:4;flex:0 0 50px !important;width:50px !important}
    .product-profile-1 .product-buttons .tdu-paylas{order:5;margin-left:-9px !important}
    .product-profile-1 .product-buttons .td-urun-fav,.product-profile-1 .product-buttons .tdu-paylas .td-paylas-btn{width:50px !important;height:50px !important}
    /* Okunurluk: çok küçük (10px) form etiketleri */
    .dealer_application-body label{font-size:11.5px !important}
    .dealer_application-body .td-surec-adim span{font-size:10.5px !important}
}

/* ---------- Benzer ürünler çekmecesi ---------- */
.td-cekmece.td-benzer-cekmece{width:760px;max-width:100%}
.td-benzer-cekmece .td-cekmece-ust strong small{margin-left:8px;font-size:12px;font-weight:400;letter-spacing:0;text-transform:none;color:#8a8a8a}
.td-benzer-izgara{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px;padding:8px 0 24px}
.td-benzer-izgara .td-kart-sepet{display:none}
/* Çekmecedeki kartlar dar: fiyat bir satır, altında tek satırlık kompakt "Sepette" rozeti (masaüstü + mobil) */
.td-benzer-izgara .td-kart .td-kart-bilgi{display:flex !important;flex-direction:column !important;align-items:flex-start !important;gap:0 !important}
.td-benzer-izgara .td-kart .td-kart-ad{margin-bottom:4px}
.td-benzer-izgara .td-kart .td-kart-cipler{margin:0 0 6px !important}
.td-benzer-izgara .td-kart .td-kart-fiyat{margin:0 !important;padding:0 !important}
.td-benzer-izgara .td-kart .td-kart-bilgi .td-kart-promosyon{display:inline-flex !important;flex-direction:row !important;flex-wrap:nowrap !important;align-items:center !important;gap:5px !important;width:auto !important;max-width:100%;margin:6px 0 0 !important;padding:3px 9px 3px 7px !important;border-radius:999px !important;white-space:nowrap;line-height:1.2;font-size:11px}
.td-benzer-izgara .td-kart .td-kart-bilgi .td-kart-promosyon-ad{display:inline-flex !important;align-items:center;gap:3px !important;font-size:0 !important}
.td-benzer-izgara .td-kart .td-kart-bilgi .td-kart-promosyon-ad i{display:none !important}
.td-benzer-izgara .td-kart .td-kart-bilgi .td-kart-promosyon-ad::before{content:"✦" !important;font-size:9px !important;color:var(--td-mercan,#D17C70)}
.td-benzer-izgara .td-kart .td-kart-bilgi .td-kart-promosyon-ad::after{content:"Sepette" !important;font-size:10.5px !important;font-weight:600;color:var(--td-mercan-koyu,#B8665B)}
.td-benzer-izgara .td-kart .td-kart-bilgi .td-kart-promosyon b{margin:0 !important;font-size:12px !important;font-weight:800 !important;white-space:nowrap;color:var(--td-murekkep,#1E1E1E) !important}
.td-benzer-izgara .td-kart-gorsel .g2{display:none !important}
/* Dokunmatik cihazlarda "üzerine gelince ikinci görsel" efekti takılı kalıyordu: kapalı */
@media (hover:none){.td-kart-gorsel .g2{display:none !important}.td-kart:hover .td-kart-gorsel img{transform:none}}
.td-benzer-bos{padding:40px 0;text-align:center;font-size:14px;color:#6E6862}
@media (max-width:767px){
    .td-benzer-izgara{grid-template-columns:repeat(2,minmax(0,1fr))}
    .tdu-promo .price{font-size:19px}
    .tdu-uyari{font-size:11px}
}

/* ---------- TDN 19.11.2026 revizeleri ---------- */
/* Vitrin/kategori kartı: kalbin arkasındaki beyaz kutu kaldırıldı, görsel üzerinde okunması için hafif gölge */
.td-kart .td-kart-fav,.td-kart .td-kart-fav:hover,.td-kart .td-kart-fav:focus{background:transparent !important;border:0 !important;box-shadow:none !important}
.td-kart .td-kart-fav i{font-size:22px;text-shadow:0 0 8px rgba(255,255,255,.95),0 0 2px rgba(255,255,255,.9)}
.td-kart .td-kart-fav:hover i,.td-kart .td-kart-fav.is-aktif i{color:var(--td-mercan,#D17C70)}
/* Ürün sayfası: favori ve paylaş kutuları ve ikonları eşit ölçüde, Sepete Ekle satırı taşmasın */
.product-profile-1 .product-buttons .btn-cart{flex:1 1 0 !important;min-width:0 !important}
.product-buttons .td-urun-fav-kutu{flex:0 0 54px !important;width:54px !important;height:54px}
.product-buttons .td-urun-fav,.tdu-paylas .td-paylas-btn{width:54px !important;height:54px !important;font-size:22px !important}
.product-buttons .td-urun-fav i,.tdu-paylas .td-paylas-btn i{font-size:22px !important;width:22px;height:22px;line-height:1}
@media (max-width:767px){
    .product-buttons .td-urun-fav-kutu{flex:0 0 50px !important;width:50px !important;height:50px}
    .product-buttons .td-urun-fav,.tdu-paylas .td-paylas-btn{width:50px !important;height:50px !important}
}