.product-tabs__nav{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    align-items: center;
    padding: 10px;
    background: var(--tabs-bg);
    border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(15,23,42,0.04);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 1;
}

/* Sekme butonları */
.tab-button{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: color .18s ease, background .18s ease, transform .12s ease;
    outline: none;
    text-align: center;
    position: relative; /* ::after referansı */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hover / focus / active */
.tab-button:hover{
    background: rgba(0,0,0,0.03);
    color: var(--text-color);
    transform: translateY(-1px);
}
.tab-button:focus{
    box-shadow: 0 0 0 4px rgba(255,106,0,0.12);
    border-radius: 8px;
}
.tab-button::after{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    bottom: 6px;
    height: 3px;
    width: 48%;
    background: var(--primary);
    border-radius: 3px;
    transition: transform .22s cubic-bezier(.22,.9,.29,1);
    opacity: .98;
    z-index: 1;
}
.tab-button.active{
    color: var(--primary);
    background: rgba(255,106,0,0.07);
    box-shadow: 0 4px 10px rgba(255,106,0,0.06);
    font-weight: 700;
}
.tab-button.active::after{
    transform: translateX(-50%) scaleX(1);
}

/* İçerik panelleri */
.tab-content{
    display: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease;
    box-sizing: border-box;
    max-width: 100%;
    overflow: visible;
    color: var(--text-color) !important; /* içerik renk güvenliği */
}
.tab-content.active{
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* İçerik içindeki öğelerin taşmasını engelle */
.tab-content img,
.tab-content table,
.tab-content iframe,
.tab-content pre {
    max-width: 100%;
    height: auto;
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* İçerik metinlerinin okunurluğunu zorla (sekme geçişlerinde beyaz olma sorununu giderir) */
.product-features__texts-description,
.product-features__texts-description * {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

/* Genel içerik alanı beyazlık/taşma ayarları */
.product-features__wrapper,
.product-features__texts{
    white-space: normal !important;
}

/* Scrollbar sadeleştirme */
.product-tabs__nav::-webkit-scrollbar{ height: 7px; }
.product-tabs__nav::-webkit-scrollbar-thumb{ background: rgba(15,23,42,0.06); border-radius: 99px; }

/* Mobil için select (tek tanım, renk zorlaması) */
.tab-select{
    display: none;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 40px 10px 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid rgba(15,23,42,0.08);
    background: #fff !important;
    color: var(--text-color) !important;
    -webkit-text-fill-color: var(--text-color) !important; /* iOS */
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    z-index: 5;
}
.tab-select option{
    color: var(--text-color);
    background: #fff;
}

/* Responsive davranışlar */
@media (max-width: 600px){
    .product-tabs__nav{ display: none !important; }
    .tab-select{ display: block; }
}
@media (max-width: 480px){
    .product-tabs__nav{
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 6px;
        padding: 8px;
    }
    .tab-button{
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* GENEL STİLLER */
.qna-list-container {
    margin: 0 auto;
}

.qna-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.qna-header h4 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 700;
    color: #333;
}

.qna-count-label {
    font-size: 0.9em;
    color: #6c757d;
}

.qna-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin-bottom: 30px;
}

/* SORU/CEVAP ÖĞESİ */
.qna-item {
    margin-bottom: 35px;
    border-radius: 8px;
    overflow: hidden;
}

/* SORU KISMI STİLİ */
.qna-item__question {
    display: flex;
    padding: 15px 15px 10px 15px;
    background-color: #f7f7f7;
    border-radius: 8px 8px 0 0;
    border: 1px solid #eee;
    border-bottom: none;
}

.q-icon {
    font-weight: 700;
    color: #4a4a4a;
    background-color: #e2e6ea;
    padding: 2px 7px;
    border-radius: 4px;
    margin-right: 15px;
    font-size: 0.85em;
    flex-shrink: 0;
    height: 25px;
}

.q-text {
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #333;
}

.q-author {
    font-size: 0.8em;
    color: #888;
    display: block;
}

/* CEVAP KISMI STİLİ */
.qna-item__answer {
    display: flex;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #eee;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
}

.a-icon {
    font-weight: 700;
    color: #007bff; /* Marka Rengi (Mavi) */
    background-color: #e7f3ff; /* Açık Mavi Arka Plan */
    padding: 2px 7px;
    border-radius: 4px;
    margin-right: 15px;
    font-size: 0.85em;
    flex-shrink: 0;
    height: 25px;
}

.a-text {
    margin: 0 0 5px 0;
    line-height: 1.5;
}

.a-author {
    font-size: 0.8em;
    color: #5a5a5a;
    display: block;
    margin-top: 10px;
    font-style: italic;
}

/* MOBİL İYİLEŞTİRMELER */
@media (max-width: 600px) {
    .qna-item__question, .qna-item__answer {
        flex-direction: column;
        padding: 15px 10px;
    }
    .q-icon, .a-icon {
        margin-right: 0;
        margin-bottom: 10px;
        align-self: flex-start;
    }
}

.review-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.review-summary-header h4 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 700;
    color: #333;
}

/* YILDIZ GÖSTERİMİ */
.average-rating {
    display: flex;
    align-items: center;
}

.rating-value {
    font-size: 2em;
    font-weight: 700;
    color: #333;
    margin-right: 10px;
}

.stars {
    color: #ffc107; /* Yıldız rengi */
    font-size: 1.5em;
    margin-right: 10px;
}

.star.half {
    /* Yarım yıldız için özel stil veya maskeleme gerekebilir */
    /* Basit CSS ile yarım yıldız yerine dolu/boş kullanıldı */
    opacity: 0.5;
}

.star.empty {
    color: #ccc;
}

.review-count {
    font-size: 0.9em;
    color: #6c757d;
}

.review-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

/* YORUM YAP BUTONU VE FORM ALANI */
.review-action-btn {
    background-color: #007bff; /* Marka Rengi */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.review-action-btn:hover {
    background-color: #0056b3;
}

.review-form-content {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.hidden-form {
    display: none; /* JavaScript ile görünür hale getirilecek */
}

/* Form Elemanları */
.review-form-content h5 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.submit-review-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.rating-selection .stars-input {
    display: flex;
    flex-direction: row-reverse; /* Yıldızları ters sırala */
}
.rating-selection .stars-input > input {
    display: none;
}
.rating-selection .stars-input > label {
    color: #ccc;
    cursor: pointer;
    font-size: 1.5em;
    padding: 0 2px;
}
.rating-selection .stars-input > input:checked ~ label {
    color: #ffc107;
}

/* YORUM LİSTESİ */
.review-item {
    padding: 20px 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.stars-small {
    color: #ffc107;
    font-size: 1.1em;
}

.review-author {
    font-weight: 600;
    color: #4a4a4a;
}

.review-title {
    font-size: 1.2em;
    font-weight: 700;
    margin: 5px 0;
    color: #333;
}

.review-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.review-meta {
    font-size: 0.85em;
    color: #888;
}

.review-date {
    margin-right: 15px;
}

.review-verified {
    color: #28a745; /* Yeşil - Onaylı olduğunu belirtir */
    font-weight: 600;
}

.review-item-divider {
    border: 0;
    border-top: 1px dashed #eee;
}

/* MOBİL UYUMLULUK */
@media (max-width: 600px) {
    .review-summary-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .average-rating {
        margin-top: 10px;
    }
}

.selected {
    border-color: #2c3e50 !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.product-color-box {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    margin-right: 5px;
    border: 3px solid transparent;
}

.size-option, .dimension-option {
    cursor: pointer;
    border: 3px solid #ccc;
    border-color: #ccc;
    padding: 3px 8px;
    margin-right: 5px;
    background-color: #fff;
    transition: border-color 0.2s;
}

.modal-content{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}
.modal-header{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}
#sepet_adeti {
    font-size: 14px;
    font-weight: 300;
}
.product-option-group-modal {
    /*border: 1px solid #eee;*/
    margin: 26px;
    width: 90%;
    max-width: 700px;
    box-sizing: border-box;
}

.modal-inner {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 600px;
    position: relative;
    border-radius: .3rem;
}

.product-color-selector {
    margin: 15px 0px;
}

.product-color-options {
    display: flex;
    gap: 10px;
    margin: 8px 0px;
}

.product-color-box {
    width: 35px;
    height: 50px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s ease;
}

.product-color-box:hover {
    border-color: #999;
}

.product-color-box.selected {
    border-color: #000;
}

.product-color-selector label {
    font-weight: 600;
}

.specs label {
    font-weight: 600;
}

.size-selector {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.size-option {
    padding: 8px 14px;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 40px;
    text-align: center;
}

.size-option:hover {
    border-color: #999;
    background-color: #f7f7f7;
}

.size-option.active {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.dimension-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    align-items: center;
}

.dimension-selector label {
    margin-right: 10px;
    font-weight: 500;
    font-size: 14px;
}

.dimension-option {
    padding: 8px 14px;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
    text-align: center;
}

.dimension-option:hover {
    border-color: #999;
    background-color: #f7f7f7;
}

.dimension-option.active {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.dimension-selector label {
    font-weight: 600;
}

.add-to-cart {
    width: 45%;
    text-align: center;
}

.sepet_devam_devam {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #f7b731 0%, #fd9644 100%);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(253,150,68,0.15);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.sepet_devam_devam:hover {
    background: linear-gradient(90deg, #fd9644 0%, #f7b731 100%);
    box-shadow: 0 4px 16px rgba(253,150,68,0.25);
    color: #fff !important;
}
.sepet_devam_tamamla {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #3867d6 0%, #8854d0 100%);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(56,103,214,0.15);
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.sepet_devam_tamamla:hover {
    background: linear-gradient(90deg, #8854d0 0%, #3867d6 100%);
    box-shadow: 0 4px 16px rgba(56,103,214,0.25);
    color: #fff !important;
}
.sepet_devam_devam svg, .sepet_devam_tamamla svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    fill: #fff;
}
@media (max-width: 600px) {
    .sepet_devam_devam, .sepet_devam_tamamla {
        font-size: 14px;
        padding: 10px 12px;
        border-radius: 6px;
    }
    .sepet_devam_devam svg, .sepet_devam_tamamla svg {
        width: 18px;
        height: 18px;
    }
}
@media (max-width: 961px) {
    .modal-inner {
        width: 95vw;
        max-width: 98vw;
        margin: 5vw auto;
        padding: 10px;
    }
    .product-option-group-modal {
        width: 98vw;
        max-width: 98vw;
        margin: 8px 0;
        padding: 8px;
        box-sizing: border-box;
    }
    .modal-header, .modal-footer, .modal-body {
        padding: 8px 4px !important;
    }
    .product-color-box {
        width: 28px;
        height: 40px;
    }
    .size-option, .dimension-option {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 30px;
    }
    #sepet_adeti {
        font-size: 12px;
    }
    .modal-title {
        font-size: 15px;
    }
    .popup_sepet_urun img {
        width: 36px !important;
        height: 36px !important;
    }
    .popup_sepet_listesi {
        padding: 0 2px;
    }
}

/* Ana Blok (The Main Block) */
.mini-cart {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    max-width: 100%;
    color: #333;
}

/* Bloğun Elemanı (Block's Element: List Item) */
.mini-cart__item {
    display: flex;
    align-items: flex-start;
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.mini-cart__item:last-child {
    border-bottom: none;
}

/* Eleman: Resim (Element: Image Wrapper) */
.mini-cart__image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Eleman: Detaylar (Element: Details Wrapper) */
.mini-cart__details {
    flex-grow: 1;
    margin-left: 15px;
    margin-right: 25px; /* Sil butonu için yer */
}

/* Alt Eleman: İsim (Sub-Element: Name) */
.mini-cart__name a {
    text-decoration: none;
    color: #222;
    font-weight: bold;
    font-size: 15px;
    display: block;
    margin-bottom: 5px;
}
.mini-cart__name a:hover {
    color: #007bff;
}

/* Alt Eleman: Nitelikler (Sub-Element: Attributes) */
.mini-cart__attributes {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.mini-cart__attributes span {
    margin-right: 10px;
}

/* Alt Eleman: Adet (Sub-Element: Quantity) */
.mini-cart__quantity {
    font-size: 14px;
    color: #555;
}

/* Eleman: Sil (Element: Remove Button) */
.mini-cart__remove {
    position: absolute;
    top: 10px;
    right: 10px;
}

.mini-cart__remove a {
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #aaa;
}

.mini-cart__remove a:hover {
    color: #d9534f; /* Kırmızı */
}
