/* Ürün iç sayfası: açık zemin, büyük görsel, terracotta fiyat ve tek sepete ekle */

body:has(.hb-modern) {
    background: #f4f4f4 !important;
}

.hb-modern .page-content {
    padding-top: 8px;
}

.hb-modern .ty-breadcrumb-wrapper {
    background: transparent;
    border-bottom: 0;
    margin-bottom: 8px;
    padding: 8px 0 0;
}

.hb-modern .ty-sku-pill,
.hb-modern .official-badge,
.hb-modern .ty-installment-bar,
.hb-modern .ty-quick-specs-card,
.hb-modern .ty-sb-header {
    display: none !important;
}

.hb-modern .ty-detail-page {
    background: #fff;
    border: 0;
    box-shadow: none;
    border-radius: 12px;
    padding: 18px 22px 8px;
}

.hb-modern .ty-main-stage {
    border: 0;
    border-radius: 8px;
    background: #fff;
}

.hb-modern .ty-main-stage-wrap {
    aspect-ratio: 4 / 5;
    background: #fafafa;
}

.hb-modern .ty-v-thumb-item {
    width: 58px;
    height: 74px;
    flex: 0 0 58px;
    border-radius: 6px;
    border-color: #e6e6e6;
}

.hb-modern .ty-v-thumb-item.active {
    border-color: #111;
    box-shadow: none;
}

.hb-modern .hb-baslik-satir {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.hb-modern .hb-baslik-sol {
    min-width: 0;
}

.hb-modern .ty-brand-official-bar {
    margin-bottom: 2px;
}

.hb-modern .ty-brand-pill,
.hb-modern .ty-brand-pill a {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

.hb-modern .ty-product-main-title {
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.hb-modern .hb-puan {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 13px;
    margin-top: 4px;
}

.hb-modern .hb-puan .ty-star-icons {
    color: #f5a623;
    letter-spacing: 1px;
}

.hb-modern .hb-puan-sayi {
    font-weight: 700;
}

.hb-modern .hb-puan-adet,
.hb-modern .hb-soru-link {
    color: #6b7280;
    font-size: 13px;
}

.hb-modern .hb-soru-link {
    display: inline-block;
    margin: 0 0 10px;
}

.hb-modern .ty-pricing-card {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 4px 0 0 !important;
    margin: 0 0 8px !important;
}

.hb-modern .ty-price-num,
.hb-modern .ty-price-cur {
    color: var(--ty-primary, #f27a1a) !important;
    font-weight: 700 !important;
}

.hb-modern .ty-price-num {
    font-size: 34px !important;
    letter-spacing: -0.6px;
}

.hb-modern .ty-price-cur {
    font-size: 20px !important;
}

.hb-modern .hb-fiyat-alt {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    color: #6b7280;
    font-size: 13px;
}

.hb-modern .ty-stock-indicator {
    font-size: 13px;
    font-weight: 600;
}

.hb-modern .ty-shipping-promo-box {
    background: #f7f7f8;
    border: 0;
    border-radius: 8px;
    padding: 10px 12px;
    margin: 12px 0;
}

.hb-modern .ty-qty-stepper {
    height: 48px;
    border-radius: 8px;
    border-color: #d9d9d9;
}

.hb-modern .yeniButon.ty-btn-cart-main,
.hb-modern .ty-ms-cart-btn {
    background: var(--ty-primary, #f27a1a) !important;
    border-radius: 8px !important;
    text-transform: none !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    height: 48px !important;
    font-size: 16px !important;
}

.hb-modern .yeniButon.ty-btn-cart-main:hover,
.hb-modern .ty-ms-cart-btn:hover {
    background: var(--ty-primary-hover, #d86509) !important;
    box-shadow: none !important;
}

.hb-modern .ty-whatsapp-direct-btn {
    display: inline-flex;
    width: auto;
    margin: 0 0 14px;
    padding: 0;
    background: transparent !important;
    color: #128c7e !important;
    border: 0 !important;
    box-shadow: none !important;
    font-weight: 600;
    height: auto;
}

.hb-modern .ty-single-brand-box {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 4px 0 8px;
}

.hb-modern .ty-sb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
}

.hb-modern .ty-sb-item {
    background: #fafafa;
    border-radius: 8px;
    padding: 10px;
}

.hb-modern .ty-size-btn.selected {
    border-color: #111;
    color: #111;
    box-shadow: inset 0 0 0 1px #111;
}

.hb-modern .hb-rail-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px 18px;
    margin: 16px 0;
}

.hb-modern .hb-rail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.hb-modern .hb-rail-head h2,
.hb-modern .hb-bolum-baslik {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.hb-modern .hb-rail-head h2 {
    margin: 0;
}

.hb-modern .hb-rail-head a {
    color: var(--ty-primary, #f27a1a);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.hb-modern .hb-rail-stage {
    position: relative;
}

.hb-modern .hb-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 10px;
    scrollbar-width: none;
    cursor: grab;
}

.hb-modern .hb-rail::-webkit-scrollbar {
    display: none;
}

.hb-modern .hb-rail.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

.hb-modern .hb-rail.is-dragging * {
    pointer-events: none;
}

.hb-modern .hb-rail .bex-item {
    flex: 0 0 196px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-width: 0;
}

.hb-modern .hb-rail-btn {
    position: absolute;
    top: 38%;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 1px solid #ece8e4;
    border-radius: 50%;
    background: #fff;
    color: #f27a1a;
    box-shadow: 0 8px 22px rgba(25, 18, 12, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
}

.hb-modern .hb-rail-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 26px rgba(25, 18, 12, 0.16);
}

.hb-modern .hb-rail-btn:disabled {
    opacity: .35;
    cursor: default;
    transform: none;
}

.hb-modern .hb-rail-prev {
    left: -6px;
}

.hb-modern .hb-rail-next {
    right: -6px;
}

.hb-modern .hb-rail-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding: 0 2px;
}

.hb-modern .hb-rail-mini {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #f3f0ec;
    color: #f27a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
}

.hb-modern .hb-rail-mini:disabled {
    opacity: .4;
    cursor: default;
}

.hb-modern .hb-rail-mini i {
    font-size: 11px;
}

.hb-modern .hb-rail-track {
    position: relative;
    flex: 1 1 auto;
    height: 4px;
    border-radius: 99px;
    background: #ebe7e2;
    overflow: hidden;
}

.hb-modern .hb-rail-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 35%;
    border-radius: 99px;
    background: #6b6560;
    transition: left .12s linear, width .12s linear;
}

.hb-modern .ty-tabs-container {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    margin-top: 0;
}

.hb-modern .ty-nav-tabs {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 14px;
}

.hb-modern .ty-nav-link {
    font-weight: 600;
    color: #4b5563;
}

.hb-modern .ty-nav-link.active {
    color: var(--ty-primary, #f27a1a);
    border-bottom-color: var(--ty-primary, #f27a1a);
}

.hb-modern .ty-tab-content {
    display: block;
}

.hb-modern .ty-tab-pane {
    display: block !important;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin: 0 0 14px;
    padding: 18px 20px 20px;
}

.hb-modern .ty-specs-table td:first-child {
    width: 34%;
    color: #6b7280;
    background: #fafafa;
}

.hb-modern .ty-desc-body {
    color: #333;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .hb-modern .ty-detail-page,
    .hb-modern .hb-rail-wrap,
    .hb-modern .ty-tab-pane {
        border-radius: 0;
        padding-left: 14px;
        padding-right: 14px;
    }

    .hb-modern .ty-product-main-title {
        font-size: 18px;
    }

    .hb-modern .ty-price-num {
        font-size: 28px !important;
    }

    .hb-modern .hb-baslik-satir {
        flex-direction: column;
        gap: 6px;
    }

    .hb-modern .ty-sb-grid,
    .hb-modern .ty-buy-actions-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .hb-modern .ty-qty-stepper {
        width: 100%;
        justify-content: space-between;
    }

    .hb-modern .hb-rail .bex-item {
        flex-basis: 160px;
    }

    .hb-modern .hb-rail-btn {
        display: none;
    }
}
