


/* ==========================================================
   3. PRODUCT DETAIL LAYOUT
   ========================================================== */
.product-detail-section { padding-top: 30px; padding-bottom: 80px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--accent-cyan); }

.detail-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 992px) {
    .detail-grid { grid-template-columns: 1.05fr 0.95fr; gap: 50px; }
}

/* --- PRODUCT GALLERY (5 IMAGES) --- */
.gallery-wrapper { display: flex; flex-direction: column; gap: 16px; }

.main-image-stage {
    width: 100%; padding: 30px; display: grid; place-items: center;
    position: relative; overflow: hidden; border-color: rgba(0, 210, 255, 0.2);
    background: radial-gradient(circle at 50% 50%, rgba(0, 210, 255, 0.08) 0%, rgba(3, 10, 20, 0.6) 100%);
}
.main-image-stage svg {
    width: 80%; height: 80%; transition: transform 0.4s var(--ease-out);
}
.main-image-stage:hover svg { transform: scale(1.05); }

.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.thumb-item {
    aspect-ratio: 1; padding: 10px; border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-border);
    display: grid; place-items: center; cursor: pointer; transition: all 0.25s;
}
.thumb-item:hover, .thumb-item.is-active {
    border-color: var(--accent-cyan); background: rgba(0, 210, 255, 0.1);
    transform: translateY(-2px);
}
.thumb-item svg { width: 100%; height: 100%; }

/* --- PRODUCT INFO --- */
.badge-tag {
    display: inline-block; padding: 4px 14px; border-radius: var(--radius-full);
    background: rgba(0, 210, 255, 0.12); border: 1px solid rgba(0, 210, 255, 0.3);
    font-size: 0.75rem; font-weight: 700; color: var(--accent-cyan); margin-bottom: 12px;
}
.product-title { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.8rem); color: #FFF; line-height: 1.1; margin-bottom: 10px; }

.product-rating { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-body); margin-bottom: 20px; }
.stars { color: #FFB800; letter-spacing: 2px; }

.price-box { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.current-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: #FFF; }
.old-price { font-size: 1.2rem; text-decoration: line-through; color: var(--text-muted); }
.discount-badge {
    padding: 4px 10px; border-radius: var(--radius-sm); background: rgba(255, 77, 77, 0.15);
    border: 1px solid rgba(255, 77, 77, 0.3); color: #FF6B6B; font-size: 0.8rem; font-weight: 700;
}

.short-desc { font-size: 1rem; color: var(--text-body); margin-bottom: 28px; line-height: 1.7; }

/* Key Feature Badges */
.feature-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip-item {
    display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-border); font-size: 0.85rem; color: #FFF;
}

/* Purchase Controls */
.purchase-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }

.quantity-control {
    display: flex; align-items: center; height: 52px; border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); padding: 0 6px;
}
.qty-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 0; background: none;
    color: #FFF; font-size: 1.2rem; cursor: pointer; display: grid; place-items: center;
}
.qty-btn:hover { background: rgba(255, 255, 255, 0.1); }
.qty-input {
    width: 44px; text-align: center; border: 0; background: none; color: #FFF;
    font-weight: 700; font-size: 1rem; outline: none;
}

/* Guarantee Badges Row */
.guarantees-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
    padding-top: 24px; border-top: 1px solid var(--glass-border);
}
.g-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: #FFF; }
.g-item .icon { color: var(--accent-cyan); }

/* ==========================================================
   4. TABS SECTION (AÇIKLAMA, TEKNİK ÖZELLİKLER, MONTAJ)
   ========================================================== */
.tabs-section { padding-block: 40px; }
.tabs-header {
    display: flex; gap: 12px; border-bottom: 1px solid var(--glass-border);
    padding-bottom: 12px; margin-bottom: 30px; overflow-x: auto;
}
.tab-btn {
    padding: 10px 24px; border-radius: var(--radius-full); font-weight: 700;
    font-size: 0.95rem; color: var(--text-body); cursor: pointer; border: 0; background: none;
    transition: all 0.25s; white-space: nowrap;
}
.tab-btn:hover, .tab-btn.is-active {
    color: #FFF; background: rgba(0, 210, 255, 0.15); border: 1px solid var(--glass-border-cyan);
}

.tab-content { display: none; padding: 10px; }
.tab-content.is-active { display: block; }

.tech-table { width: 100%; border-collapse: collapse; }
.tech-table tr { border-bottom: 1px solid var(--glass-border); }
.tech-table td { padding: 14px 10px; font-size: 0.9rem; }
.tech-table td:first-child { font-weight: 700; color: #FFF; width: 35%; }

/* Footer */
/* Product Gallery & Thumbnails */
.product-gallery__main {
    position: relative;
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery__main-img {
    max-height: 420px;
    width: 100%;
    object-fit: contain;
}

.product-gallery__thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.product-gallery__thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: var(--radius-md, 8px);
    border: 2px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.product-gallery__thumb:hover,
.product-gallery__thumb.is-active {
    opacity: 1;
    border-color: var(--accent-cyan, #00f2fe);
    transform: translateY(-2px);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Custom Checkboxes / Options */
.option-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-md, 8px);
    padding: 12px 16px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* Product Tabs */
.product-tabs__nav {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    padding-bottom: 12px;
}

.product-tabs__btn {
    background: transparent;
    border: none;
    color: var(--text-muted, #a0aec0);
    font-weight: 600;
    padding: 8px 16px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.product-tabs__btn:hover,
.product-tabs__btn.is-active {
    color: #fff;
    border-bottom-color: var(--accent-cyan, #00f2fe);
}

.product-tabs__pane {
    display: block;
}

.product-tabs__pane.is-hidden {
    display: none !important;
}

/* ==========================================================
   OPTIONS & ADDONS GLASS DESIGN
   ========================================================== */
.options-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-md, 20px);
    padding: 20px;
    backdrop-filter: var(--glass-blur, blur(20px));
    margin-bottom: 20px;
}

.options-title {
    font-family: var(--font-display, inherit);
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFF;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm, 12px);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 210, 255, 0.3);
    transform: translateY(-1px);
}

.option-card.is-selected {
    background: rgba(0, 210, 255, 0.08);
    border-color: var(--accent-cyan, #00D2FF);
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.15);
}

.option-card__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Custom Cyber Checkbox */
.option-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.option-card.is-selected .option-checkbox {
    background: var(--gradient-primary, linear-gradient(135deg, #00D2FF 0%, #0072FF 100%));
    border-color: var(--accent-cyan, #00D2FF);
}

.option-checkbox::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid #030A14;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.option-card.is-selected .option-checkbox::after {
    transform: rotate(45deg) scale(1);
}

.option-card__title {
    color: #FFF;
    font-size: 0.92rem;
    font-weight: 600;
    display: block;
}

.option-card__badge {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-cyan, #00D2FF);
    background: rgba(0, 210, 255, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full, 999px);
    border: 1px solid rgba(0, 210, 255, 0.2);
}

/* ==========================================================
   PRODUCT ACTION EXTENSIONS & CERTIFICATES
   ========================================================== */

/* Quick Action Links (Paylaş, Yorum Yaz vb.) */
.quick-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 14px;
    border-top: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    border-bottom: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
}

.action-link-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body, #94A3B8);
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.action-link-item:hover {
    color: var(--accent-cyan, #00D2FF);
}

.action-link-item .icon {
    width: 16px;
    height: 16px;
}

/* Live Viewers Pulse Indicator */
.live-viewers-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #FFF;
    font-weight: 500;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00D2FF;
    box-shadow: 0 0 0 rgba(0, 210, 255, 0.4);
    animation: pulse-cyan 2s infinite;
}

@keyframes pulse-cyan {
    0% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 210, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0); }
}

/* WhatsApp Support Banner */
.whatsapp-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: var(--radius-md, 16px);
}

.whatsapp-banner__text {
    font-size: 0.88rem;
    color: #E2E8F0;
}

.btn--whatsapp {
    background: #25D366;
    color: #030A14;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 18px;
    border-radius: var(--radius-full, 999px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.btn--whatsapp:hover {
    background: #20ba5a;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    transform: translateY(-1px);
}

/* Trust Certifications Banner */
.certifications-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-md, 16px);
    overflow-x: auto;
}

.cert-item {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: brightness(0) invert(1);
    opacity: 0.75;
    transition: opacity 0.2s ease;
    height: 38px;
}

.cert-item:hover {
    opacity: 1;
}

.cert-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
}


.grid-gap { gap: 0 !important; }

@media (min-width: 992px) {
    .grid-gap { gap: 40px !important; }
}

/* ==========================================================
   HIDROTEK EKLEMELERİ
   ========================================================== */
.main-image-stage { aspect-ratio: 1; }
.main-image-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .4s var(--ease-out); }
.main-image-stage:hover img { transform: scale(1.03); }
.thumb-item { font: inherit; color: inherit; }
.thumb-item img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.product-rating a { color: inherit; }
.installment-note { font-size: .85rem; color: var(--accent-cyan); margin: -6px 0 16px; }
.options-wrapper { border-style: solid; }
.options-wrapper legend { float: left; width: 100%; padding: 0; }
.options-wrapper legend + * { clear: both; }
.option-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.option-card:focus-within { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
.qty-input { -moz-appearance: textfield; appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stock-out-box { display: grid; gap: 6px; padding: 18px 20px; margin-bottom: 20px; color: var(--text-body); }
.stock-out-box strong { color: #FFF; }
.stock-out-box .btn--whatsapp { justify-self: start; margin-top: 6px; }
.tab-content[hidden] { display: none; }
.tabs-header { flex-wrap: wrap; }

/* Sepete eklendi çekmecesi */
.drawer-msg { font-size: 0.9rem; color: #6EE7B7; margin: -8px 0 14px; }
.drawer-msg:empty { display: none; }
.cart-item__img { overflow: hidden; flex: none; }
.cart-item__title { display: block; }
.cart-item__title:hover { color: var(--accent-cyan); }
.cart-item__meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.cart-drawer:focus { outline: none; }

/* ==========================================================
   Yorumlar
   ========================================================== */
.reviews { display: grid; gap: 24px; }
.reviews .store-alert { margin: 0; }
.reviews-summary { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
@media (max-width: 560px) { .reviews-summary { grid-template-columns: 1fr; gap: 16px; } }
.reviews-score { display: grid; justify-items: center; gap: 4px; padding: 16px 22px; border-radius: var(--radius-md); background: rgba(0, 210, 255, .06); border: 1px solid var(--glass-border); }
.reviews-score strong { font-family: var(--font-display); font-size: 2.4rem; color: #FFF; line-height: 1; }
.reviews-score span { font-size: .85rem; color: var(--text-body); }
.stars { color: #FBBF24; letter-spacing: 2px; }
.reviews-dist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; max-width: 420px; }
.reviews-dist li { display: grid; grid-template-columns: 36px 1fr 28px; gap: 10px; align-items: center; font-size: .82rem; color: var(--text-body); }
.reviews-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.reviews-bar i { display: block; height: 100%; background: #FBBF24; border-radius: inherit; }
.reviews-n { text-align: right; }
.reviews-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.review-item { padding: 18px; border-radius: var(--radius-md); border: 1px solid var(--glass-border); background: rgba(255,255,255,.02); }
.review-item__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-item__title { color: #FFF; }
.review-item__body { color: #E2E8F0; font-size: .95rem; }
.review-item__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: .8rem; color: var(--text-muted); }
.review-badge { color: #6EE7B7; }
.review-reply { margin-top: 12px; padding: 10px 14px; border-left: 3px solid var(--accent-cyan); background: rgba(0,210,255,.05); font-size: .88rem; color: var(--text-body); border-radius: 0 8px 8px 0; }
.reviews-empty, .review-note { color: var(--text-body); font-size: .9rem; }
.review-note a { color: var(--accent-cyan); text-decoration: underline; }
.review-form-wrap { padding-top: 20px; border-top: 1px solid var(--glass-border); }
.review-form { display: grid; gap: 14px; max-width: 640px; }
.review-form__title { font-family: var(--font-display); color: #FFF; font-size: 1.15rem; }
.star-input { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input legend { font-size: .85rem; color: #E2E8F0; margin-bottom: 4px; width: 100%; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 1.9rem; line-height: 1; color: rgba(255,255,255,.18); cursor: pointer; transition: color .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #FBBF24; }
.star-input input:focus-visible + label { outline: 2px solid var(--accent-cyan); outline-offset: 2px; border-radius: 4px; }
.review-field { display: grid; gap: 6px; font-size: .85rem; color: #E2E8F0; }
.review-field small { color: var(--text-muted); }
.review-field input, .review-field textarea { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255,255,255,.04); border: 1px solid var(--glass-border); color: #FFF; font: inherit; outline: none; }
.review-field input:focus, .review-field textarea:focus { border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(0,210,255,.15); }
.review-form .btn { justify-self: start; }

/* Fiyat mobilde bölünmesin (₺ alt satıra düşüyordu) */
.price-box { flex-wrap: wrap; row-gap: 4px; }
.current-price, .old-price { white-space: nowrap; }
@media (max-width: 480px) { .current-price { font-size: 1.9rem; } }

/* Acil durum: sepete ekle yerine telefon / WhatsApp */
.emergency-order { border-color: rgba(245, 158, 11, 0.45); }
.emergency-order__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* F9e: paylaş menüsü, WhatsApp kutusu + sertifika logoları */
.quick-actions-row { justify-content: flex-start; gap: 12px 28px; margin-top: 4px; }
.share-menu { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; margin-top: 10px; border-radius: var(--radius-md); }
.share-menu[hidden] { display: none; }
.share-menu__item { font: inherit; font-size: .85rem; font-weight: 600; color: #FFF; background: rgba(255,255,255,.06); border: 1px solid var(--glass-border); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.share-menu__item:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.live-viewers-badge { justify-content: flex-start; margin: 14px 0 0; }
.live-viewers-badge b { font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .pulse-dot { animation: none; } }
.product-trust-row { display: grid; gap: 16px; margin: 10px 0 26px; }
@media (min-width: 992px) { .product-trust-row { grid-template-columns: 1fr 1fr; gap: 40px; } .product-trust-row--single { grid-template-columns: 1fr; } }
.whatsapp-banner { flex-wrap: wrap; }
.whatsapp-banner__text { margin: 0; }
.certifications-wrapper { list-style: none; margin: 0; justify-content: space-around; flex-wrap: wrap; row-gap: 12px; }
.cert-item img { height: 38px; max-width: 120px; }
