/* ============================================================
   KoşAtSepete — ilan detay sayfası
   ============================================================ */
.ld-page { padding: 18px 0 40px; }
.ld-crumb { font-size: 0.82rem; color: #8b7d69; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.ld-crumb a { color: #8b7d69; text-decoration: none; }
.ld-crumb a:hover { color: #b8963f; }
.ld-crumb i { font-size: 0.7rem; }
.ld-crumb .current { color: #2a231c; font-weight: 700; }

.ld-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ld-title { display: flex; align-items: center; gap: 14px; margin: 0; }
.ld-title h1 { font-family: var(--font-display, 'Playfair Display', Georgia, serif); font-size: 2.35rem; font-weight: 700; color: #1f1912; margin: 0; letter-spacing: -0.5px; }
.ld-pill { display: inline-flex; align-items: center; gap: 6px; background: #c9a84c; color: #fff; font-size: 0.72rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.ld-pill.dark { background: rgba(42, 35, 28, 0.85); }
.ld-head-actions { display: flex; gap: 10px; }
.ld-btn-ghost {
    display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid rgba(42, 35, 28, 0.14); border-radius: 10px;
    padding: 10px 16px; font-size: 0.86rem; font-weight: 600; color: #2a231c; text-decoration: none; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease;
}
.ld-btn-ghost:hover { border-color: #c9a84c; color: #2a231c; box-shadow: 0 4px 14px rgba(201, 168, 76, 0.2); }
.ld-btn-ghost.active { color: #d64545; border-color: rgba(214, 69, 69, 0.4); }
.ld-btn-ghost.active i::before { content: "\f415"; }

/* ---- Galeri ---- */
.ld-gallery { position: relative; border-radius: 14px; overflow: hidden; background: #e9e2d3; aspect-ratio: 16 / 9.6; box-shadow: 0 10px 30px rgba(42, 35, 28, 0.12); }
.ld-gallery img.ld-gallery-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-gallery-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(201, 168, 76, 0.5); font-size: 3rem; }
.ld-gallery::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(20, 15, 10, 0.78)); pointer-events: none; }
.ld-gallery .ld-pill { position: absolute; top: 14px; left: 14px; z-index: 2; }
.ld-gallery-counter { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(20, 15, 10, 0.6); color: #fff; font-size: 0.76rem; font-weight: 700; padding: 5px 11px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; backdrop-filter: blur(6px); }
.ld-gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.9); color: #2a231c; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .2s ease, background .15s ease; }
.ld-gallery:hover .ld-gallery-nav { opacity: 1; }
.ld-gallery-nav:hover { background: #c9a84c; color: #fff; }
.ld-gallery-nav.prev { left: 14px; } .ld-gallery-nav.next { right: 14px; }
.ld-gallery-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #fff; }
.ld-gallery-name { font-family: var(--font-display, 'Playfair Display', Georgia, serif); font-size: 1.6rem; font-weight: 700; margin: 0 0 2px; }
.ld-gallery-loc { font-size: 0.9rem; opacity: 0.95; display: flex; align-items: center; gap: 6px; }
.ld-gallery-chips { display: flex; gap: 8px; }
.ld-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(20, 15, 10, 0.55); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 6px 12px; border-radius: 8px; backdrop-filter: blur(6px); white-space: nowrap; }

.ld-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.ld-thumbs::-webkit-scrollbar { display: none; }
.ld-thumb { position: relative; flex: 0 0 100px; height: 64px; border-radius: 9px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: #e9e2d3; transition: border-color .15s ease, transform .15s ease; }
.ld-thumb img, .ld-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-thumb:hover { transform: translateY(-2px); }
.ld-thumb.active { border-color: #c9a84c; box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.25); }
.ld-thumb .video-badge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.4rem; background: rgba(20, 15, 10, 0.35); }

/* ---- Sekmeler ---- */
.ld-tabs { display: flex; gap: 6px; border-bottom: 1px solid rgba(42, 35, 28, 0.1); margin: 22px 0 16px; overflow-x: auto; scrollbar-width: none; }
.ld-tabs::-webkit-scrollbar { display: none; }
.ld-tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 0.88rem; font-weight: 600; color: #6b5d47; text-decoration: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .15s ease; }
.ld-tab i { color: #9a8b73; }
.ld-tab:hover { color: #2a231c; }
.ld-tab.active { color: #2a231c; border-bottom-color: #c9a84c; }
.ld-tab.active i { color: #c9a84c; }
.tab-content-section { display: none; }
.tab-content-section.active { display: block; }

/* ---- Kartlar ---- */
.ld-card { background: #fff; border: 1px solid rgba(42, 35, 28, 0.08); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; }
.ld-card-title { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 800; color: #2a231c; margin-bottom: 10px; }
.ld-card-title i { width: 30px; height: 30px; border-radius: 8px; background: rgba(201, 168, 76, 0.14); color: #b8963f; display: inline-flex; align-items: center; justify-content: center; font-size: 0.95rem; }
.ld-card p.desc { font-size: 0.86rem; color: #4b3f31; line-height: 1.7; margin: 0; }

.ld-specs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.ld-spec { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(42, 35, 28, 0.07); font-size: 0.86rem; }
.ld-spec:nth-last-child(-n+2) { border-bottom: 0; }
.ld-spec i { color: #9a8b73; font-size: 1rem; width: 20px; text-align: center; }
.ld-spec-label { font-size: 0.68rem; letter-spacing: 1px; font-weight: 700; color: #9a8b73; text-transform: uppercase; width: 96px; flex-shrink: 0; }
.ld-spec-value { font-weight: 700; color: #2a231c; }

.ld-ref-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ld-ref { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ld-ref-person { display: flex; align-items: center; gap: 12px; }
.ld-avatar { width: 44px; height: 44px; border-radius: 50%; background: #2a231c; color: #c9a84c; font-weight: 800; font-size: 0.9rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ld-icon-box { width: 44px; height: 44px; border-radius: 10px; background: rgba(201, 168, 76, 0.14); color: #b8963f; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.ld-ref-name { font-size: 0.9rem; font-weight: 700; color: #2a231c; }
.ld-ref-sub { font-size: 0.76rem; color: #8b7d69; display: flex; align-items: center; gap: 4px; }
.ld-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.ld-badge.verified { background: #e6f7ee; color: #1f9d5b; }
.ld-badge.pending { background: #fdf3e0; color: #b7791f; }
.ld-badge.unverified { background: #fdeaea; color: #d64545; border: 1px solid rgba(214, 69, 69, 0.2); }
.ld-stars { color: #c9a84c; font-size: 0.8rem; }

.ld-note { border-radius: 10px; padding: 12px 14px; font-size: 0.82rem; line-height: 1.6; color: #4b3f31; margin-top: 12px; }
.ld-note.ok { background: #e6f7ee; } .ld-note.warn { background: #fdf3e0; } .ld-note.bad { background: #fdeaea; } .ld-note.muted { background: #f5f1e8; }
.ld-note b.ok { color: #1f9d5b; } .ld-note b.warn { color: #b7791f; } .ld-note b.bad { color: #d64545; }

.ld-service { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(42, 35, 28, 0.07); }
.ld-service:last-child { border-bottom: 0; }
.ld-service-icon { width: 40px; height: 40px; border-radius: 10px; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.ld-service-price { font-size: 0.95rem; font-weight: 800; color: #1f9d5b; }
.ld-btn-add { background: #fff; border: 1.5px solid #1f9d5b; color: #1f9d5b; border-radius: 8px; padding: 6px 12px; font-size: 0.78rem; font-weight: 700; transition: all .15s ease; }
.ld-btn-add:hover { background: #1f9d5b; color: #fff; }
.cert-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; }
.cert-badge.yes { background: #e6f7ee; color: #1f9d5b; } .cert-badge.no { background: #f5f1e8; color: #8b7d69; }
.ld-doc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #f8f5ee; border-radius: 10px; border: 1px solid rgba(42, 35, 28, 0.07); }
.ld-doc-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(201, 168, 76, 0.14); color: #b8963f; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ld-doc-btn { padding: 6px 10px; background: #2a231c; color: #fff; border-radius: 6px; font-size: 0.72rem; font-weight: 600; border: 0; text-decoration: none; cursor: pointer; }
.ld-doc-btn:hover { color: #c9a84c; }
.ld-empty { text-align: center; padding: 34px 16px; color: #8b7d69; font-size: 0.9rem; }
.ld-empty i { display: block; font-size: 2.2rem; color: rgba(201, 168, 76, 0.4); margin-bottom: 8px; }

/* ---- Sağ kolon ---- */
.ld-side { position: sticky; top: 86px; }
.ld-info { background: #fff; border: 1px solid rgba(42, 35, 28, 0.08); border-radius: 16px; padding: 20px; margin-bottom: 14px; box-shadow: 0 8px 24px rgba(42, 35, 28, 0.06); }
.ld-info h2 { font-family: var(--font-display, 'Playfair Display', Georgia, serif); font-size: 1.9rem; font-weight: 700; color: #1f1912; margin: 10px 0 2px; }
.ld-info-loc { font-size: 0.88rem; color: #6b5d47; display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.ld-price-box { background: #f8f5ee; border: 1px solid rgba(42, 35, 28, 0.07); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.ld-price-old { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: #8b7d69; margin-bottom: 4px; }
.ld-price-old s { font-weight: 600; }
.ld-discount { background: #d64545; color: #fff; font-size: 0.7rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.ld-price { font-size: 2rem; font-weight: 800; color: #b8963f; line-height: 1.1; }
.ld-price small { font-size: 1.3rem; margin-right: 4px; }
.ld-saving { font-size: 0.84rem; font-weight: 700; color: #d64545; margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.ld-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.ld-chips .ld-box { justify-content: center; font-weight: 700; font-size: 0.86rem; gap: 8px; }
.ld-box { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid rgba(42, 35, 28, 0.1); border-radius: 10px; padding: 11px 12px; color: #2a231c; text-decoration: none; }
.ld-box i { color: #9a8b73; font-size: 1rem; }
.ld-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.ld-quick .ld-box { align-items: flex-start; background: #fcfaf5; }
.ld-quick-label { font-size: 0.62rem; letter-spacing: 1px; font-weight: 700; color: #9a8b73; text-transform: uppercase; }
.ld-quick-value { font-size: 0.86rem; font-weight: 700; color: #2a231c; }
.ld-btn-gold { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: #c9a84c; color: #fff; border: 0; border-radius: 10px; padding: 13px 16px; font-size: 0.95rem; font-weight: 700; text-decoration: none; transition: background .15s ease, transform .15s ease; cursor: pointer; }
.ld-btn-gold:hover { background: #b8963f; color: #fff; transform: translateY(-1px); }
.ld-btn-outline { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: #fff; color: #2a231c; border: 1px solid rgba(42, 35, 28, 0.16); border-radius: 10px; padding: 12px 16px; font-size: 0.92rem; font-weight: 700; text-decoration: none; margin-top: 10px; transition: border-color .15s ease; cursor: pointer; }
.ld-btn-outline:hover { border-color: #c9a84c; color: #2a231c; }
.ld-own { font-size: 0.8rem; color: #8b7d69; text-align: center; margin-top: 8px; }

.ld-seller { background: #fff; border: 1px solid rgba(42, 35, 28, 0.08); border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; }
.ld-seller-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ld-seller-avatar { width: 52px; height: 52px; border-radius: 50%; background: #2a231c; color: #c9a84c; font-weight: 800; font-size: 1.05rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ld-seller-name { font-size: 1.05rem; font-weight: 800; color: #2a231c; text-decoration: none; }
.ld-seller-name:hover { color: #b8963f; }
.ld-seller-rating { font-size: 0.8rem; color: #6b5d47; display: flex; align-items: center; gap: 8px; }
.ld-seller-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(42, 35, 28, 0.08); border-bottom: 1px solid rgba(42, 35, 28, 0.08); margin-bottom: 12px; }
.ld-seller-stat { text-align: center; padding: 10px 0; }
.ld-seller-stat + .ld-seller-stat { border-left: 1px solid rgba(42, 35, 28, 0.08); }
.ld-seller-stat b { display: block; font-size: 1.05rem; color: #2a231c; }
.ld-seller-stat span { font-size: 0.64rem; letter-spacing: 1px; font-weight: 700; color: #9a8b73; text-transform: uppercase; }
.ld-seller-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ld-seller-links .ld-box { font-size: 0.8rem; font-weight: 700; justify-content: center; text-align: center; }
.ld-seller-links .ld-box i.ok { width: 20px; height: 20px; border-radius: 50%; background: #1f9d5b; color: #fff; font-size: 0.7rem; display: inline-flex; align-items: center; justify-content: center; }
.ld-seller-links .ld-box:hover { border-color: #c9a84c; }
.ld-meta { font-size: 0.74rem; color: #8b7d69; margin-top: 12px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* ---- Ürün: adet seçici, yorumlar ---- */
.ld-qty { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 0.86rem; font-weight: 700; color: #2a231c; }
.ld-qty-ctrl { display: inline-flex; align-items: center; border: 1px solid rgba(42, 35, 28, 0.14); border-radius: 10px; overflow: hidden; }
.ld-qty-ctrl button { width: 36px; height: 38px; border: 0; background: #fff; color: #2a231c; font-size: 1.1rem; cursor: pointer; }
.ld-qty-ctrl button:hover { background: #f5f1e8; }
.ld-qty-ctrl input { width: 48px; height: 38px; border: 0; border-left: 1px solid rgba(42, 35, 28, 0.1); border-right: 1px solid rgba(42, 35, 28, 0.1); text-align: center; font-weight: 700; color: #2a231c; -moz-appearance: textfield; }
.ld-qty-ctrl input::-webkit-outer-spin-button, .ld-qty-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ld-stock-out { background: #fdeaea; color: #d64545; border-radius: 10px; padding: 12px 14px; font-size: 0.84rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.ld-review { padding: 14px 0; border-bottom: 1px solid rgba(42, 35, 28, 0.07); }
.ld-review:last-of-type { border-bottom: 0; }
.ld-review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ld-review-name { font-size: 0.88rem; font-weight: 700; color: #2a231c; }
.ld-review-date { margin-left: auto; font-size: 0.72rem; color: #9a8b73; }
.ld-review p { font-size: 0.85rem; color: #4b3f31; line-height: 1.6; margin: 6px 0 0; }
.ld-review-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(42, 35, 28, 0.07); }
.ld-review-form .form-select, .ld-review-form .form-control { border-radius: 10px; border-color: rgba(42, 35, 28, 0.14); font-size: 0.86rem; }
.ld-review-form .form-select:focus, .ld-review-form .form-control:focus { border-color: #c9a84c; box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18); }
.ld-rating-summary { display: flex; align-items: center; gap: 10px; font-size: 0.84rem; color: #6b5d47; margin-left: auto; }
.ld-rating-summary b { font-size: 1.1rem; color: #2a231c; }
.ld-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.ld-trust span { display: inline-flex; align-items: center; gap: 8px; background: #f8f5ee; border: 1px solid rgba(42, 35, 28, 0.07); border-radius: 10px; padding: 9px 14px; font-size: 0.82rem; font-weight: 700; color: #2a231c; }
.ld-trust span i { color: #1f9d5b; }

/* ---- Benzer ilanlar ---- */
.ld-similar { margin-top: 26px; }
.ld-similar .ks-rail-head { margin-bottom: 14px; }
.ld-similar-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ld-similar-grid .ks-card { flex: none; }

/* ---- Mobil yapışkan CTA ---- */
.mobile-sticky-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; background: #fff; border-top: 1px solid rgba(42, 35, 28, 0.1); padding: 10px 16px; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -8px 24px rgba(42, 35, 28, 0.12); }
.mobile-cta-price { display: flex; flex-direction: column; line-height: 1.1; }
.mobile-cta-old { font-size: 0.72rem; color: #8b7d69; }
.mobile-cta-current { font-size: 1.15rem; font-weight: 800; color: #b8963f; }
.mobile-cta-btn { display: inline-flex; align-items: center; gap: 8px; background: #c9a84c; color: #fff; border-radius: 10px; padding: 11px 18px; font-weight: 700; font-size: 0.88rem; text-decoration: none; white-space: nowrap; }

/* ---- Video / belge lightbox ---- */
.video-lightbox { position: fixed; inset: 0; background: rgba(20, 15, 10, 0.92); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.video-lightbox.show { display: flex; }
.video-lightbox-content { position: relative; width: 100%; max-width: 1100px; }
.video-lightbox-player { width: 100%; max-height: 85vh; border-radius: 14px; background: #000; }
.video-lightbox-close { position: absolute; top: -46px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.15); color: #fff; font-size: 1.1rem; cursor: pointer; }
.video-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.2); color: #fff; font-size: 1.2rem; cursor: pointer; }
.video-lightbox-nav.disabled { opacity: 0.3; pointer-events: none; }
.video-lightbox-prev { left: -60px; } .video-lightbox-next { right: -60px; }
.video-lightbox-counter { text-align: center; color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; margin-top: 10px; }

@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes slideOut { from { opacity: 1; } to { opacity: 0; transform: translateX(24px); } }

/* ---- Duyarlılık ---- */
@media (max-width: 1199px) { .ld-similar-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991px) {
    .ld-side { position: static; }
    .ld-title h1 { font-size: 1.9rem; }
    .ld-similar-grid { grid-template-columns: repeat(3, 1fr); }
    .mobile-sticky-cta { display: flex; }
    .ld-page { padding-bottom: 90px; }
    .video-lightbox-prev { left: 8px; } .video-lightbox-next { right: 8px; }
}
@media (max-width: 767px) {
    .ld-specs, .ld-ref-row { grid-template-columns: 1fr; }
    .ld-spec:nth-last-child(-n+2) { border-bottom: 1px solid rgba(42, 35, 28, 0.07); }
    .ld-spec:last-child { border-bottom: 0; }
    .ld-gallery { aspect-ratio: 4 / 3; }
    .ld-gallery-name { font-size: 1.2rem; }
    .ld-gallery-chips { display: none; }
    .ld-head-actions .ld-btn-ghost span { display: none; }
    .ld-similar-grid { grid-template-columns: repeat(2, 1fr); }
    .ld-info h2 { font-size: 1.5rem; }
}
