/*
|--------------------------------------------------------------------------
| ORTAK ÜRÜN DETAY SEKME SİSTEMİ
|--------------------------------------------------------------------------
| Tüm mağaza temalarında ortaktır.
| Tema renkleri ilgili tema CSS dosyalarında kalır.
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| SEKME ALANI
|--------------------------------------------------------------------------
*/

.product-detail-tabs-section {
    padding: 0 0 28px;
    background: #ffffff;
}

.product-detail-tabs-section .store-container {
    width: min(
        1360px,
        calc(100% - 56px)
    );
}


/*
|--------------------------------------------------------------------------
| SEKME MENÜSÜ
|--------------------------------------------------------------------------
*/

.product-detail-tabs {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    overflow-x: auto;
    border-bottom: 1px solid #e5e7eb;
    scrollbar-width: none;
}

.product-detail-tabs::-webkit-scrollbar {
    display: none;
}


.product-detail-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 24px;
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
    cursor: pointer;
    transition:
        color .18s ease,
        background .18s ease;
}


.product-detail-tab::after {
    position: absolute;
    right: 18px;
    bottom: -1px;
    left: 18px;
    height: 2px;
    background: transparent;
    content: "";
    transition:
        background .18s ease;
}


.product-detail-tab:hover {
    color: #111827;
}


.product-detail-tab.is-active {
    color: #111827;
}


.product-detail-tab.is-active::after {
    background: #b58b5b;
}


.product-detail-tab-count {
    margin-left: 4px;
    color: #9ca3af;
    font-weight: 600;
}


/*
|--------------------------------------------------------------------------
| TAB PANEL
|--------------------------------------------------------------------------
*/

.product-detail-tab-panel[hidden],
.product-detail-tab-panel.is-tab-hidden {
    display: none !important;
}


/*
|--------------------------------------------------------------------------
| PANEL GENEL YAPI
|--------------------------------------------------------------------------
*/

.product-detail-tab-panel {
    background: #ffffff;
}


.product-detail-tab-panel > .store-container {
    width: min(
        1360px,
        calc(100% - 56px)
    );
}


/*
|--------------------------------------------------------------------------
| MOBİL / TABLET
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    .product-detail-tabs-section {
        padding-bottom: 20px;
    }

    .product-detail-tabs-section .store-container {
        width: calc(100% - 28px);
    }

    .product-detail-tab {
        min-height: 52px;
        padding: 0 17px;
        font-size: 11px;
    }

    .product-detail-tab::after {
        right: 13px;
        left: 13px;
    }

    .product-detail-tab-panel > .store-container {
        width: calc(100% - 28px);
    }

}


/*
|--------------------------------------------------------------------------
| DAR TELEFON
|--------------------------------------------------------------------------
*/

@media (max-width: 390px) {

    .product-detail-tab {
        min-height: 49px;
        padding: 0 14px;
        font-size: 10px;
    }

    .product-detail-tab::after {
        right: 10px;
        left: 10px;
    }

}

/* =========================================================
   ÖDEME YÖNTEMLERİ
========================================================= */

.product-payment-options {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin-top: 20px;
}

.product-payment-option {
    width: 100%;
    min-width: 0;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(17, 24, 39, 0.05);
}

.product-payment-option:hover {
    border-color: #d1d5db;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}


/* =========================================================
   ÖDEME KARTI İÇERİĞİ
========================================================= */

.product-payment-option strong {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.product-payment-option .payment-price,
.product-payment-option .price {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 20px;
    font-weight: 800;
}

.product-payment-option p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   ÖDEME İKONU
========================================================= */

.product-payment-option > div:first-child,
.product-payment-option .payment-icon {
    margin-bottom: 14px;
    font-size: 28px;
    line-height: 1;
}


/* =========================================================
   KART MARKALARI - 3'LÜ
========================================================= */

.product-installment-brands {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin-top: 20px;
}

.product-installment-brand {
    min-width: 0;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(17, 24, 39, 0.05);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .product-payment-options {
        grid-template-columns: 1fr !important;
    }

    .product-installment-brands {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}


/* =========================================================
   MOBİL
========================================================= */

@media (max-width: 600px) {

    .product-payment-option {
        padding: 20px;
    }

    .product-installment-brands {
        grid-template-columns: 1fr !important;
    }

}
.product-installment-note {
    display: block !important;
    padding-bottom: 18px !important;
}

/* =========================================================
   ÜRÜN DETAY GALERİSİ
   Diğer görseller masaüstünde DİKEY
========================================================= */

@media (min-width: 901px) {

    .product-gallery {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: start;
        gap: 14px;
        min-width: 0;
    }

    .product-main-image {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .product-thumbnails {
        grid-column: 1;
        grid-row: 1;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch;
        justify-content: flex-start;

        gap: 10px;

        width: 76px;
        max-height: 100%;
        overflow-y: auto;
        overflow-x: hidden;

        padding: 0;
        margin: 0;
    }

    .product-thumbnail {
        display: flex !important;
        flex: 0 0 76px;

        width: 76px !important;
        height: 76px !important;

        padding: 0;
        margin: 0;

        box-sizing: border-box;
    }

    .product-thumbnail img {
        display: block;
        width: 100%;
        height: 100%;

        object-fit: contain;
    }

}

/* =========================================================
   MOBİL
   Diğer görseller yatay kalsın
========================================================= */

@media (max-width: 900px) {

    .product-gallery {
        display: block;
    }

    .product-thumbnails {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;

        width: 100%;
        max-width: 100%;

        gap: 10px;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 0;
        margin: 12px 0 0;
    }

    .product-thumbnail {
        flex: 0 0 72px;

        width: 72px !important;
        height: 72px !important;
    }

}

@media (min-width: 901px) {

    .product-thumbnail {
        flex: 0 0 76px;

        width: 76px !important;
        height: 100px !important;

        padding: 0 !important;
        margin: 0 !important;

        overflow: hidden;
        box-sizing: border-box;
    }

    .product-thumbnail img {
        display: block;

        width: 100% !important;
        height: 100% !important;

        padding: 0 !important;
        margin: 0 !important;

        object-fit: cover !important;
        object-position: center top !important;
    }

}

/* =========================================================
   ÜRÜN BİLGİSİ GERİ BİLDİRİMİ
   ========================================================= */

.product-feedback-section {
    margin-top: 40px;
}

.product-feedback-card {
    padding: 34px;
    border: 1px solid #e6e6e6;
    background: #fff;
}

.product-feedback-heading {
    margin-bottom: 28px;
}

.product-feedback-heading > span {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

.product-feedback-heading h2 {
    margin: 0 0 10px;
}

.product-feedback-heading p {
    max-width: 780px;
    margin: 0;
    line-height: 1.7;
}

.product-feedback-options {
    display: grid;
    gap: 12px;
    margin-bottom: 26px;
}

.product-feedback-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.5;
}

.product-feedback-option input {
    flex: 0 0 auto;
    margin-top: 4px;
}

.product-feedback-field {
    margin-bottom: 22px;
}

.product-feedback-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-feedback-field textarea {
    width: 100%;
    min-height: 130px;
    padding: 14px 16px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    resize: vertical;
    font: inherit;
}

.product-feedback-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 28px;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}