/* ==========================================================================
   TRENDYOL TARZI MODERN ÜRÜN DETAY SAYFASI (urun-detay.css)
   Beyaz Tema · Tek Firma / Resmi Mağaza Yazılımı Uyumlu · Yüksek Dönüşüm
   ========================================================================== */

:root {
    --ty-primary: #f27a1a;
    --ty-primary-hover: #d86509;
    --ty-primary-light: rgba(242, 122, 26, 0.08);
    --ty-dark: #111827;
    --ty-gray-900: #0f172a;
    --ty-gray-800: #1e293b;
    --ty-gray-700: #334155;
    --ty-gray-600: #475569;
    --ty-gray-500: #64748b;
    --ty-gray-400: #94a3b8;
    --ty-gray-300: #cbd5e1;
    --ty-gray-200: #e2e8f0;
    --ty-gray-100: #f1f5f9;
    --ty-gray-50: #f8fafc;
    --ty-white: #ffffff;
    --ty-success: #059669;
    --ty-success-light: #ecfdf5;
    --ty-danger: #dc2626;
    --ty-danger-light: #fef2f2;
    --ty-star: #f59e0b;
    --ty-radius-sm: 6px;
    --ty-radius-md: 8px;
    --ty-radius-lg: 12px;
    --ty-shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --ty-shadow-md: 0 4px 14px rgba(0,0,0,0.06);
    --ty-shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
}

/* Sayfa Arka Planı & Genel Düzen */
body.home,
body {
    background-color: #fafbfc !important;
}

.ty-detail-page {
    background: #ffffff;
    border-radius: var(--ty-radius-lg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    border: 1px solid var(--ty-gray-200);
    padding: 24px 28px;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .ty-detail-page {
        padding: 14px 12px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   1. BREADCRUMB (Gezinme Yolu)
   ========================================================================== */
.ty-breadcrumb-wrapper {
    background: #ffffff;
    border-bottom: 1px solid var(--ty-gray-200);
    padding: 10px 0;
    margin-bottom: 18px;
}

.ty-breadcrumb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.ty-breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    color: var(--ty-gray-500);
}

.ty-breadcrumb-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ty-breadcrumb-list a {
    color: var(--ty-gray-600);
    text-decoration: none;
    transition: color 0.15s ease;
}

.ty-breadcrumb-list a:hover {
    color: var(--ty-primary);
    text-decoration: underline;
}

.ty-breadcrumb-list li.active span {
    color: var(--ty-dark);
    font-weight: 600;
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.ty-breadcrumb-sep {
    font-size: 9px;
    color: var(--ty-gray-400);
}

.ty-breadcrumb-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ty-sku-pill {
    font-size: 11.5px;
    color: var(--ty-gray-500);
    background: var(--ty-gray-100);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid var(--ty-gray-200);
    font-family: inherit;
}

.ty-action-btn-pill {
    background: #ffffff;
    border: 1px solid var(--ty-gray-300);
    color: var(--ty-gray-700);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ty-action-btn-pill:hover {
    background: var(--ty-gray-50);
    border-color: var(--ty-gray-400);
    color: var(--ty-dark);
}

/* ==========================================================================
   2. GALERİ (SOL SÜTUN: STICKY + VERTICAL THUMBNAIL)
   ========================================================================== */
.ty-gallery-col {
    position: relative;
}

.ty-gallery-sticky-wrap {
    position: sticky;
    top: 90px;
}

.ty-gallery-flex {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

@media (max-width: 991px) {
    .ty-gallery-flex {
        flex-direction: column-reverse;
    }
}

/* Sol Dikey Küçük Görseller (Thumbnails) */
.ty-vertical-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 68px;
    flex-shrink: 0;
    max-height: 520px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2px 2px 4px 2px;
}

.ty-vertical-thumbs::-webkit-scrollbar {
    width: 4px;
}

.ty-vertical-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.ty-vertical-thumbs::-webkit-scrollbar-thumb {
    background: var(--ty-gray-300);
    border-radius: 4px;
}

@media (max-width: 991px) {
    .ty-vertical-thumbs {
        flex-direction: row;
        width: 100%;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 6px;
    }
}

.ty-v-thumb-item {
    width: 64px;
    height: 84px;
    flex: 0 0 84px;
    border: 1.5px solid var(--ty-gray-200);
    border-radius: var(--ty-radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.15s ease;
    position: relative;
}

@media (max-width: 991px) {
    .ty-v-thumb-item {
        flex: 0 0 64px;
        height: 80px;
    }
}

.ty-v-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ty-v-thumb-item:hover {
    border-color: var(--ty-gray-400);
}

.ty-v-thumb-item.active {
    border-color: var(--ty-primary);
    box-shadow: 0 0 0 1px var(--ty-primary);
}

/* Ana Büyük Görsel Sahnesi */
.ty-main-stage {
    flex: 1;
    position: relative;
    background: #ffffff;
    border: 1px solid var(--ty-gray-200);
    border-radius: var(--ty-radius-md);
    overflow: hidden;
    box-shadow: var(--ty-shadow-sm);
}

.ty-main-stage-wrap {
    width: 100%;
    padding-top: 130%; /* 3:4 Trendyol en/boy oranı */
    position: relative;
    background: #ffffff;
    cursor: zoom-in;
}

.ty-main-stage-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.15s ease;
}

/* Galeri Rozetleri */
.ty-stage-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
    pointer-events: none;
}

.ty-stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.ty-stage-badge.tag-badge {
    background: var(--ty-primary);
    color: #ffffff;
}

.ty-stage-badge.cargo-free-badge {
    background: #10b981;
    color: #ffffff;
}

.ty-stage-badge.official-badge {
    background: #1e293b;
    color: #ffffff;
}

/* Galeri Üst Sağ Butonları */
.ty-stage-top-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.ty-stage-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--ty-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ty-gray-700);
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none !important;
}

.ty-stage-action-btn:hover {
    background: #ffffff;
    color: var(--ty-primary);
    transform: scale(1.08);
}

.ty-stage-action-btn.btn-favori-toggle.is-favorited,
.ty-stage-action-btn.btn-favori-toggle.active {
    color: #e11d48;
    background: #ffffff;
    border-color: #fecdd3;
}

.ty-stage-action-btn.btn-favori-toggle.is-favorited i,
.ty-stage-action-btn.btn-favori-toggle.active i {
    color: #e11d48;
}

/* Galeri Sağ / Sol Okları */
.ty-stage-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--ty-gray-200);
    color: var(--ty-gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    z-index: 4;
    transition: all 0.15s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    opacity: 0.85;
}

.ty-stage-arrow:hover {
    background: #ffffff;
    color: var(--ty-primary);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

.ty-stage-arrow.prev {
    left: 10px;
}

.ty-stage-arrow.next {
    right: 10px;
}

/* ==========================================================================
   3. SAĞ SÜTUN: ÜRÜN BİLGİLERİ & SATIN ALMA ALANI
   ========================================================================== */
.ty-details-col {
    padding-left: 12px;
}

@media (max-width: 767px) {
    .ty-details-col {
        padding-left: 0;
        margin-top: 14px;
    }
}

/* Tek Firma / Resmi Mağaza Başlık Şeridi */
.ty-brand-official-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.ty-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ty-dark);
}

.ty-brand-pill a {
    color: var(--ty-dark);
    text-decoration: none;
}

.ty-brand-pill a:hover {
    color: var(--ty-primary);
    text-decoration: underline;
}

.ty-official-verify-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
}

.ty-single-store-note {
    font-size: 11.5px;
    color: var(--ty-gray-500);
}

/* Ürün Başlığı */
.ty-product-main-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ty-dark);
    line-height: 1.35;
    margin: 0 0 10px 0;
    letter-spacing: -0.2px;
}

@media (max-width: 767px) {
    .ty-product-main-title {
        font-size: 19px;
    }
}

/* Değerlendirme & Yorum Barı */
.ty-rating-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ty-gray-200);
    font-size: 12.5px;
}

.ty-score-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.ty-reviews-link {
    color: var(--ty-gray-600);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s ease;
}

.ty-reviews-link:hover {
    color: var(--ty-primary);
    text-decoration: underline;
}

.ty-star-icons {
    color: var(--ty-star);
    font-size: 12px;
}

.ty-dot-separator {
    color: var(--ty-gray-300);
}

.ty-stock-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 12px;
}

.ty-stock-indicator.in-stock {
    color: #059669;
}

.ty-stock-indicator.low-stock {
    color: #d97706;
}

.ty-stock-indicator.out-of-stock {
    color: #dc2626;
}

/* ==========================================================================
   4. TRENDYOL FİYAT KUTUSU
   ========================================================================== */
.ty-pricing-card {
    background: #ffffff;
    border: 1px solid var(--ty-gray-200);
    border-radius: var(--ty-radius-md);
    padding: 16px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.ty-pricing-header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.ty-old-strike-price {
    font-size: 15px;
    color: var(--ty-gray-400);
    text-decoration: line-through;
    font-weight: 500;
}

.ty-discount-percent-badge {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.ty-price-main-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.ty-price-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--ty-primary);
    line-height: 1;
    letter-spacing: -0.5px;
}

.ty-price-cur {
    font-size: 16px;
    font-weight: 700;
    color: var(--ty-primary);
}

.ty-tax-text {
    font-size: 11px;
    color: var(--ty-gray-500);
    margin-left: 6px;
}

.ty-installment-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px dashed var(--ty-gray-200);
    font-size: 12px;
    color: var(--ty-gray-600);
}

.ty-installment-bar a {
    color: var(--ty-gray-700);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.ty-installment-bar a:hover {
    color: var(--ty-primary);
}

/* Kargo Kampanya Şeridi */
.ty-shipping-promo-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--ty-radius-sm);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.ty-shipping-promo-box.has-fee {
    background: var(--ty-gray-50);
    border-color: var(--ty-gray-200);
}

.ty-shipping-promo-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.ty-shipping-promo-box.has-fee .ty-shipping-promo-icon {
    background: #e0f2fe;
    color: #0369a1;
}

.ty-shipping-promo-text {
    font-size: 12.5px;
    color: var(--ty-gray-800);
    line-height: 1.4;
}

.ty-shipping-promo-text strong {
    color: #15803d;
}

.ty-shipping-promo-box.has-fee .ty-shipping-promo-text strong {
    color: var(--ty-dark);
}

/* ==========================================================================
   5. BEDEN & VARYANT SEÇİMİ
   ========================================================================== */
.ty-size-selector-wrap {
    margin-bottom: 20px;
}

.ty-size-bar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ty-size-title-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ty-gray-700);
}

.ty-size-title-label strong {
    color: var(--ty-dark);
    margin-left: 4px;
}

.ty-size-guide-trigger {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--ty-gray-600);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.ty-size-guide-trigger:hover {
    color: var(--ty-primary);
}

.ty-size-boxes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size_box.ty-size-btn {
    min-width: 52px;
    height: 42px;
    padding: 0 14px;
    border: 1.5px solid var(--ty-gray-300) !important;
    border-radius: var(--ty-radius-sm) !important;
    background: #ffffff !important;
    color: var(--ty-gray-800) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.15s ease !important;
    user-select: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    line-height: normal !important;
}

.size_box.ty-size-btn:hover {
    border-color: var(--ty-gray-800) !important;
    background: var(--ty-gray-50) !important;
}

.size_box.ty-size-btn.selected {
    border-color: var(--ty-primary) !important;
    background: var(--ty-primary-light) !important;
    color: var(--ty-primary) !important;
    font-weight: 700 !important;
    box-shadow: 0 0 0 1px var(--ty-primary) !important;
}

.size_box.ty-size-btn.nostok {
    background: var(--ty-gray-50) !important;
    color: var(--ty-gray-400) !important;
    border-color: var(--ty-gray-200) !important;
    cursor: not-allowed !important;
}

.size_box.ty-size-btn.nostok::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 4px !important;
    right: 4px !important;
    height: 1.5px !important;
    background: var(--ty-gray-300) !important;
    transform: rotate(-25deg) !important;
}

.ty-size-low-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    background: #dc2626;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 10px;
    line-height: 1;
}

.ty-size-extra-price {
    font-size: 10.5px;
    color: #059669;
    margin-left: 3px;
}

/* ==========================================================================
   6. SATIN ALMA AKSİYONLARI (SEPETE EKLE & MİKTAR & FAVORİ)
   ========================================================================== */
.ty-buy-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

/* Miktar Stepper */
.ty-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--ty-gray-300);
    border-radius: var(--ty-radius-sm);
    background: #ffffff;
    height: 48px;
    overflow: hidden;
}

.ty-qty-btn {
    width: 36px;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--ty-gray-600);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    user-select: none;
}

.ty-qty-btn:hover {
    background: var(--ty-gray-100);
    color: var(--ty-dark);
}

.ty-qty-input {
    width: 44px;
    height: 100%;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--ty-dark);
    outline: none;
    -moz-appearance: textfield;
}

.ty-qty-input::-webkit-outer-spin-button,
.ty-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Sepete Ekle Butonu */
.ty-cart-btn-holder {
    flex: 1;
}

.yeniButon.ty-btn-cart-main {
    width: 100% !important;
    height: 48px !important;
    background: var(--ty-primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--ty-radius-sm) !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(242, 122, 26, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    letter-spacing: 0.2px !important;
    text-transform: uppercase !important;
    outline: none !important;
    padding: 0 20px !important;
}

.yeniButon.ty-btn-cart-main:hover {
    background: var(--ty-primary-hover) !important;
    box-shadow: 0 6px 18px rgba(242, 122, 26, 0.4) !important;
    transform: translateY(-1px);
}

.yeniButon.ty-btn-cart-main:active {
    transform: translateY(1px);
}

.yeniButon.ty-btn-cart-main.ty-btn-disabled,
.yeniButon.ty-btn-cart-main:disabled {
    background: var(--ty-gray-200) !important;
    color: var(--ty-gray-400) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Favori Butonu */
.ty-fav-action-btn {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
    background: #ffffff !important;
    border: 1.5px solid var(--ty-gray-300) !important;
    border-radius: var(--ty-radius-sm) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--ty-gray-600) !important;
    font-size: 19px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

.ty-fav-action-btn:hover {
    border-color: #f43f5e !important;
    color: #f43f5e !important;
    background: #fff1f2 !important;
}

.ty-fav-action-btn.active,
.ty-fav-action-btn.is-favorited {
    border-color: #e11d48 !important;
    color: #e11d48 !important;
    background: #fff1f2 !important;
}

.ty-fav-action-btn.active i,
.ty-fav-action-btn.is-favorited i {
    color: #e11d48 !important;
}

/* WhatsApp ile Hızlı Sipariş Çubuğu */
.ty-whatsapp-direct-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: var(--ty-radius-sm);
    color: #15803d;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    margin-bottom: 20px;
    transition: all 0.15s ease;
}

.ty-whatsapp-direct-btn:hover {
    background: #dcfce7;
    border-color: #4ade80;
    color: #166534;
}

/* ==========================================================================
   7. TEK FİRMA GÜVENCESİ & HİZMET ROZETLERİ (TRENDYOL DETAIL BOX)
   ========================================================================== */
.ty-single-brand-box {
    background: #ffffff;
    border: 1px solid var(--ty-gray-200);
    border-radius: var(--ty-radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

.ty-sb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--ty-gray-100);
}

.ty-sb-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--ty-gray-800);
}

.ty-sb-title i {
    font-size: 15px;
    color: #059669;
}

.ty-sb-tag {
    background: #f1f5f9;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
}

.ty-sb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 480px) {
    .ty-sb-grid {
        grid-template-columns: 1fr;
    }
}

.ty-sb-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.ty-sb-item i {
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.ty-sb-item div {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.ty-sb-item strong {
    font-size: 12px;
    color: var(--ty-dark);
}

.ty-sb-item span {
    font-size: 11px;
    color: var(--ty-gray-500);
}

/* Öne Çıkan Özellikler Kartı */
.ty-quick-specs-card {
    background: var(--ty-gray-50);
    border: 1px solid var(--ty-gray-200);
    border-radius: var(--ty-radius-md);
    padding: 14px 16px;
    margin-bottom: 20px;
}

.ty-quick-specs-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ty-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ty-specs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 14px;
    font-size: 12px;
}

@media (max-width: 480px) {
    .ty-specs-list {
        grid-template-columns: 1fr;
    }
}

.ty-specs-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ty-gray-700);
}

.ty-specs-list li i {
    color: var(--ty-primary);
    font-size: 10px;
}

/* ==========================================================================
   8. SEKME BÖLÜMÜ (MODERN BEYAZ TABS)
   ========================================================================== */
.ty-tabs-container {
    background: #ffffff;
    border: 1px solid var(--ty-gray-200);
    border-radius: var(--ty-radius-lg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    margin-top: 24px;
    margin-bottom: 36px;
    overflow: hidden;
}

.ty-nav-tabs {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 16px;
    background: #ffffff;
    border-bottom: 1px solid var(--ty-gray-200);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
}

.ty-nav-item {
    flex-shrink: 0;
}

.ty-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ty-gray-600);
    text-decoration: none !important;
    border-bottom: 3px solid transparent;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.ty-nav-link:hover {
    color: var(--ty-dark);
}

.ty-nav-link.active {
    color: var(--ty-primary);
    border-bottom-color: var(--ty-primary);
    font-weight: 700;
}

.ty-tab-pane {
    padding: 24px;
    display: none;
}

.ty-tab-pane.active {
    display: block;
}

/* Ürün Özellikleri Tablosu */
.ty-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 13px;
}

.ty-specs-table tr {
    border-bottom: 1px solid var(--ty-gray-200);
}

.ty-specs-table tr:nth-child(even) {
    background: var(--ty-gray-50);
}

.ty-specs-table td {
    padding: 10px 14px;
}

.ty-specs-table td:first-child {
    font-weight: 600;
    color: var(--ty-gray-600);
    width: 240px;
}

.ty-specs-table td:last-child {
    color: var(--ty-dark);
}

/* SSS Akordeon */
.ty-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ty-faq-item {
    border: 1px solid var(--ty-gray-200);
    border-radius: var(--ty-radius-sm);
    overflow: hidden;
    background: #ffffff;
}

.ty-faq-question {
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ty-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: var(--ty-gray-50);
    transition: background 0.15s ease;
}

.ty-faq-question:hover {
    background: var(--ty-gray-100);
}

.ty-faq-answer {
    padding: 16px 18px;
    font-size: 13px;
    color: var(--ty-gray-700);
    line-height: 1.6;
    border-top: 1px solid var(--ty-gray-200);
    display: none;
}

.ty-faq-item.open .ty-faq-answer {
    display: block;
}

.ty-faq-item.open .ty-faq-question i {
    transform: rotate(180deg);
}

/* ==========================================================================
   9. MOBİL YAPIŞKAN SATIN ALMA ÇUBUĞU (TRENDYOL MOBILE STICKY BAR)
   ========================================================================== */
.ty-mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--ty-gray-200);
    padding: 10px 14px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 -4px 14px rgba(0,0,0,0.08);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ty-mobile-sticky-bar.is-visible {
    transform: translateY(0);
}

@media (max-width: 767px) {
    .ty-mobile-sticky-bar {
        display: flex;
    }
}

.ty-ms-thumb {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--ty-gray-200);
    flex-shrink: 0;
}

.ty-ms-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ty-ms-info {
    flex: 1;
    min-width: 0;
}

.ty-ms-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ty-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.ty-ms-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--ty-primary);
}

.ty-ms-action {
    flex-shrink: 0;
}

.ty-ms-cart-btn {
    height: 42px;
    padding: 0 16px;
    background: var(--ty-primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(242, 122, 26, 0.3);
}

/* ==========================================================================
   10. MODALLAR (BEDEN TABLOSU & BÜYÜTME GALERİSİ & PAYLAŞIM)
   ========================================================================== */
.ty-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.ty-modal-overlay.active {
    display: flex;
}

.ty-modal-card {
    background: #ffffff;
    border-radius: var(--ty-radius-lg);
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    padding: 24px;
}

.ty-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ty-gray-200);
    margin-bottom: 18px;
}

.ty-modal-header h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--ty-dark);
}

.ty-modal-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--ty-gray-500);
    cursor: pointer;
    line-height: 1;
}

.ty-modal-close-btn:hover {
    color: var(--ty-dark);
}

/* Beden Tablosu Stilleri */
.ty-size-guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    text-align: center;
}

.ty-size-guide-table th {
    background: var(--ty-gray-100);
    color: var(--ty-dark);
    font-weight: 700;
    padding: 10px;
    border: 1px solid var(--ty-gray-200);
}

.ty-size-guide-table td {
    padding: 9px;
    border: 1px solid var(--ty-gray-200);
    color: var(--ty-gray-700);
}

/* Paylaşım Butonları */
.ty-share-icons-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 16px 0;
}

.ty-share-social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
    text-decoration: none !important;
    transition: transform 0.15s ease;
}

.ty-share-social-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.ty-share-social-btn.wa { background: #25d366; }
.ty-share-social-btn.fb { background: #1877f2; }
.ty-share-social-btn.tw { background: #1da1f2; }
.ty-share-social-btn.cp { background: #64748b; }

/* Kopyalandı Toast Bildirimi */
.ty-copy-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    background: var(--ty-dark);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.25s ease;
    z-index: 100001;
    pointer-events: none;
}

.ty-copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Galeri Tam Ekran Büyütme Modalı (Lightbox) */
.ty-gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.ty-gallery-modal.active {
    display: flex;
}

.ty-gallery-modal-overlay {
    position: absolute;
    inset: 0;
    cursor: zoom-out;
}

.ty-gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ty-gallery-modal-content img {
    max-width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.ty-gallery-modal-close {
    position: absolute;
    top: -42px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 28px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.ty-gallery-modal-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.ty-size-error-notice {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
