/* Ürün detay: site renkleri + dengeli iki kolon + hover zoom */

/* .ty-detail-page admin temasını miras alır (--ty-primary :root'tan) */
.ty-detail-page {
    /* yerel renk override yok */
}

.ty-gallery-flex {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    height: auto;
    max-height: none;
}

.ty-main-stage {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 0;
    display: block;
    border: 1px solid #eceff1;
    box-shadow: none;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
}

.ty-main-stage-wrap {
    padding-top: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    position: relative;
    background: #ffffff;
}

.ty-main-stage-img {
    object-fit: contain;
    object-position: center;
}

.ty-stage-badges {
    top: 12px;
    left: 12px;
    gap: 6px;
}

.ty-stage-badge {
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.ty-stage-badge.tag-badge {
    background: #222529;
}

.ty-stage-top-actions {
    top: 12px;
    right: 12px;
    gap: 8px;
}

.ty-stage-action-btn {
    width: 38px;
    height: 38px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.ty-stage-action-btn:hover,
.ty-stage-arrow:hover {
    color: #222529;
}

.ty-stage-arrow {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    opacity: 0;
    pointer-events: none;
}

.ty-main-stage:hover .ty-stage-arrow {
    opacity: 1;
    pointer-events: auto;
}

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

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

.ty-thumbs-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
}

.ty-thumbs-arrow {
    flex: 0 0 32px;
    width: 32px;
    height: 68px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #ffffff;
    color: #222529;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    opacity: 1;
    transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.ty-thumbs-arrow:hover {
    background: #f3f4f5;
    color: #111318;
}

.ty-thumbs-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.ty-thumbs-wrap:not(.is-scrollable) .ty-thumbs-arrow {
    display: none;
}

.ty-vertical-thumbs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    position: static;
    width: auto;
    max-width: 100%;
    max-height: none;
    height: auto;
    flex: 1 1 auto;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0;
    padding: 0 0 4px;
    background: transparent;
    border: none;
    z-index: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #616c70 transparent;
}

.ty-vertical-thumbs::-webkit-scrollbar {
    height: 5px;
}

.ty-vertical-thumbs::-webkit-scrollbar-thumb {
    background: #616c70;
    border-radius: 6px;
}

.ty-v-thumb-item {
    width: 64px;
    height: 80px;
    flex: 0 0 64px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: none;
}

.ty-v-thumb-item img {
    object-fit: cover;
}

.ty-v-thumb-item:hover {
    border-color: #616c70;
}

.ty-v-thumb-item.active {
    border-color: #222529 !important;
    box-shadow: 0 0 0 1px #222529 !important;
}

.yeniButon.ty-btn-cart-main {
    box-shadow: 0 4px 14px rgba(242, 122, 26, 0.22) !important;
}

.yeniButon.ty-btn-cart-main:hover {
    box-shadow: 0 6px 18px rgba(242, 122, 26, 0.28) !important;
}

.taksit-tutari-bold {
    color: var(--ty-primary, #f27a1a) !important;
}

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

@media (min-width: 992px) {
    .ty-breadcrumb-wrapper {
        padding: 6px 0;
        margin-bottom: 8px;
    }

    .ty-detail-page {
        padding: 16px 18px 18px;
        margin-bottom: 24px;
    }

    .ty-detail-page > .row {
        align-items: flex-start;
    }

    .ty-gallery-col {
        flex: 0 0 48%;
        max-width: 48%;
        margin-bottom: 0;
    }

    .ty-details-col {
        flex: 0 0 52%;
        max-width: 52%;
        padding-left: 22px;
    }

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

    .ty-gallery-flex {
        height: auto;
        max-height: none;
    }

    .ty-brand-official-bar {
        margin-bottom: 6px;
        gap: 6px;
    }

    .ty-product-main-title {
        font-size: 21px;
        line-height: 1.28;
        margin: 0 0 8px 0;
    }

    .ty-rating-meta-row {
        margin-bottom: 10px;
        padding-bottom: 8px;
        gap: 8px;
    }

    .ty-pricing-card {
        padding: 10px 12px;
        margin-bottom: 10px;
    }

    .ty-pricing-header {
        margin-bottom: 4px;
    }

    .ty-price-num {
        font-size: 26px;
    }

    .ty-installment-bar {
        padding-top: 8px;
    }

    .ty-shipping-promo-box {
        padding: 8px 10px;
        margin-bottom: 10px;
        gap: 8px;
    }

    .ty-shipping-promo-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .ty-details-col .text-muted.mb-3 {
        margin-bottom: 10px !important;
        line-height: 1.45 !important;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    .ty-size-selector-wrap {
        margin-bottom: 10px;
    }

    .ty-size-bar-header {
        margin-bottom: 6px;
    }

    .size_box.ty-size-btn {
        height: 38px !important;
        min-width: 46px;
    }

    .ty-buy-actions-wrapper {
        margin-bottom: 8px;
        gap: 8px;
    }

    .ty-qty-stepper,
    .yeniButon.ty-btn-cart-main,
    .ty-fav-action-btn {
        height: 46px !important;
    }

    .ty-fav-action-btn {
        width: 46px !important;
        flex-basis: 46px !important;
    }

    .ty-whatsapp-direct-btn {
        padding: 8px 12px;
        margin-bottom: 10px;
    }

    .ty-single-brand-box {
        padding: 10px 12px;
        margin-bottom: 10px;
    }

    .ty-sb-header {
        padding-bottom: 8px;
        margin-bottom: 8px;
    }

    .ty-sb-grid {
        gap: 8px;
    }

    .ty-quick-specs-card {
        padding: 10px 12px;
        margin-bottom: 0;
    }

    .ty-quick-specs-title {
        margin-bottom: 6px;
    }

    .ty-specs-list {
        gap: 5px 12px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .ty-gallery-flex {
        flex-direction: column;
        height: auto;
        max-height: none;
    }

    .ty-detail-page {
        padding: 14px 16px;
    }

    .ty-details-col {
        padding-left: 14px;
    }

    .ty-main-stage-wrap {
        aspect-ratio: 1 / 1;
        height: auto !important;
        min-height: 0 !important;
    }

    .ty-product-main-title {
        font-size: 19px;
        margin-bottom: 8px;
    }

    .ty-pricing-card,
    .ty-shipping-promo-box,
    .ty-single-brand-box,
    .ty-quick-specs-card {
        margin-bottom: 10px;
        padding: 10px 12px;
    }

    .ty-v-thumb-item {
        width: 60px;
        height: 76px;
        flex: 0 0 60px;
    }
}

@media (max-width: 767px) {
    .ty-gallery-flex {
        flex-direction: column;
        height: auto;
        max-height: none;
        gap: 10px;
    }

    .ty-main-stage-wrap {
        aspect-ratio: 1 / 1;
        height: auto !important;
        min-height: 0 !important;
    }

    .ty-stage-arrow {
        opacity: 1;
        pointer-events: auto;
    }

    .ty-thumbs-arrow {
        height: 64px;
        flex-basis: 28px;
        width: 28px;
    }

    .ty-vertical-thumbs {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
    }

    .ty-v-thumb-item {
        width: 58px;
        height: 72px;
        flex: 0 0 58px;
    }

    .ty-details-col .text-muted.mb-3 {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }
}

/* Fareyle zum: büyütme fotoğraf çerçevesinin içinde kalır */

.ty-hover-lens,
.ty-hover-zoom {
    display: none !important;
}

.ty-main-stage {
    overflow: hidden;
}

.ty-main-stage-img {
    transform-origin: center center;
    will-change: transform;
}

@media (min-width: 992px) and (hover: hover) {
    .ty-main-stage-wrap.is-mouse-zoom {
        cursor: zoom-in;
    }

    .ty-main-stage-wrap.is-mouse-zoom .ty-main-stage-img {
        transition: none;
    }
}

/* Ürün Soru-Cevap — Trendyol Milla düzeni, site renkleri */
.ty-qa-wrap {
    padding: 4px 0 8px;
}
.ty-qa-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.ty-qa-head h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #222529;
    letter-spacing: -0.2px;
    line-height: 1.25;
}
.ty-qa-head p {
    margin: 0;
    font-size: 13px;
    color: #616c70;
}
.ty-qa-ask {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    height: 40px;
    padding: 0 18px;
    background: #222529;
    color: #fff !important;
    border: 0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
}
.ty-qa-ask:hover {
    background: #111318;
    color: #fff !important;
}
.ty-qa-form {
    border: 1px solid #eceeef;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    background: #fff;
}
.ty-qa-form.is-hidden {
    display: none;
}
.ty-qa-form-title {
    font-size: 15px;
    font-weight: 700;
    color: #222529;
    margin-bottom: 4px;
}
.ty-qa-form-hint {
    margin: 0 0 10px;
    font-size: 12px;
    color: #616c70;
    line-height: 1.45;
}
.ty-qa-form textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 11px 12px;
    font-size: 13px;
    color: #222529;
    resize: vertical;
    min-height: 96px;
    outline: none;
}
.ty-qa-form textarea:focus {
    border-color: #222529;
}
.ty-qa-form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.ty-qa-submit {
    min-height: 38px;
    padding: 0 16px;
    background: #222529;
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.ty-qa-cancel {
    min-height: 38px;
    padding: 0 14px;
    background: #fff;
    color: #616c70;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.ty-qa-char {
    margin-left: auto;
    font-size: 12px;
    color: #99a1a5;
    font-weight: 600;
}
.ty-qa-search {
    position: relative;
    margin-bottom: 6px;
}
.ty-qa-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #99a1a5;
    font-size: 13px;
    pointer-events: none;
}
.ty-qa-search input {
    width: 100%;
    height: 44px;
    border: 1px solid #eceeef;
    border-radius: 8px;
    padding: 0 14px 0 40px;
    font-size: 13px;
    color: #222529;
    background: #f7f8f8;
    outline: none;
}
.ty-qa-search input:focus {
    background: #fff;
    border-color: #cfd4d6;
}
.ty-qa-list {
    margin-top: 4px;
}
.ty-qa-item {
    padding: 20px 2px;
    border-bottom: 1px solid #f0f1f2;
    background: transparent;
}
.ty-qa-item:last-child {
    border-bottom: 0;
}
.ty-qa-qhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.ty-qa-userbox {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.ty-qa-user {
    font-size: 13px;
    font-weight: 700;
    color: #222529;
}
.ty-qa-own {
    font-size: 11px;
    font-weight: 700;
    color: #616c70;
    background: #f3f4f5;
    border-radius: 99px;
    padding: 2px 8px;
}
.ty-qa-date {
    font-size: 12px;
    color: #99a1a5;
    font-weight: 500;
    white-space: nowrap;
}
.ty-qa-qtext {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
    color: #222529;
    font-weight: 500;
}
.ty-qa-seller {
    background: #f6f7f8;
    border-radius: 8px;
    padding: 14px 16px;
}
.ty-qa-seller.is-wait {
    background: #fafafa;
}
.ty-qa-seller-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.ty-qa-seller-ico {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #222529;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.ty-qa-seller.is-wait .ty-qa-seller-ico {
    background: #99a1a5;
}
.ty-qa-seller-meta {
    min-width: 0;
    flex: 1 1 auto;
}
.ty-qa-seller-meta strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #222529;
    line-height: 1.2;
}
.ty-qa-seller-meta em {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: #616c70;
    font-weight: 600;
    margin-top: 2px;
}
.ty-qa-atext {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #3d4448;
}
.ty-qa-empty,
.ty-qa-empty-search {
    padding: 36px 12px;
    text-align: center;
    color: #616c70;
}
.ty-qa-empty i {
    display: block;
    font-size: 28px;
    color: #c5cbce;
    margin-bottom: 10px;
}
.ty-qa-empty strong {
    display: block;
    font-size: 15px;
    color: #222529;
    margin-bottom: 4px;
}
.ty-qa-empty span,
.ty-qa-empty-search {
    font-size: 13px;
}
.ty-qa-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 12px;
}
.ty-qa-page-btn {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #222529;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.ty-qa-page-btn:disabled {
    opacity: 0.4;
    cursor: default;
}
.ty-qa-page-info {
    font-size: 12px;
    color: #616c70;
    font-weight: 600;
}
@media (max-width: 767px) {
    .ty-qa-head {
        flex-direction: column;
        align-items: stretch;
    }
    .ty-qa-ask {
        width: 100%;
    }
    .ty-qa-char {
        margin-left: 0;
    }
}
