/* Product detail tabs — consume section CSS vars (nordia storefront) */

.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-action,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-action .tf-tab-title,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-action [data-tf-field="title"],
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tf-btn-tab,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tf-btn-tab [data-tf-field="title"],
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tf-btn-tab,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tf-btn-tab [data-tf-field="title"] {
    color: var(--tf-title-color) !important;
    font-size: var(--tf-title-font-size) !important;
    font-weight: var(--tf-title-font-weight) !important;
    font-family: var(--tf-title-font-family) !important;
}

.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-content,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-content .tf-pd__desc,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-content .tf-pd-features,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-content .cl-text-5,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-content .product-desc_benefit,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-content .product-desc_benefit .title,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-content .product-desc_benefit .desc,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane .tf-pd__desc,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane .tf-pd-features,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane .cl-text-5,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane [data-tf-field="content"],
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane .product-desc_benefit,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane .product-desc_benefit .title,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane .product-desc_benefit .desc,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tab-pane,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tab-pane .tf-pd__desc,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tab-pane .cl-text-5,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tab-pane [data-tf-field="content"],
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tab-pane .product-desc_benefit,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tab-pane .product-desc_benefit .title,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tab-pane .product-desc_benefit .desc {
    color: var(--tf-answer-color) !important;
    font-size: var(--tf-answer-font-size) !important;
    font-weight: var(--tf-answer-font-weight) !important;
    font-family: var(--tf-answer-font-family) !important;
}

/* Keep rich text leading proportional when the answer font size is increased. */
.tf-section[data-tf-type="product.detail_tabs"] .tf-pd__desc,
.tf-section[data-tf-type="product.detail_tabs"] [data-tf-field="content"] {
    line-height: 1.6 !important;
}

.tf-section[data-tf-type="product.detail_tabs"] .tf-pd__desc :where(p, li, blockquote, div),
.tf-section[data-tf-type="product.detail_tabs"] [data-tf-field="content"] :where(p, li, blockquote, div) {
    line-height: inherit !important;
}

.tf-section[data-tf-type="product.detail_tabs"] .tf-pd__desc :where(h1, h2, h3, h4, h5, h6),
.tf-section[data-tf-type="product.detail_tabs"] [data-tf-field="content"] :where(h1, h2, h3, h4, h5, h6) {
    line-height: 1.2 !important;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rating_image-list .image-item img,
.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .review_image .image-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .review_image .image-item {
    width: 148px;
    height: 148px;
    border-radius: 8px;
    overflow: hidden;
}

/* Open accordion: item ::after already draws the bottom rule — don't double it */
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-item:has(.collapse.show) .accordion-content {
    padding-bottom: 20px;
}

.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-item:has(.collapse.show) .product-desc_review .list-comment .box-comment:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Sekmeli (list-tab-btn-1): başlık ↔ içerik boşluğu — açık listeyi etkilemez */
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs:not(.tf-product-desc-open) > .list-tab-btn-1 {
    margin-bottom: 32px;
}

@media (min-width: 1440px) {
    .tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs:not(.tf-product-desc-open) > .list-tab-btn-1 {
        margin-bottom: 40px;
    }
}

.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs:not(.tf-product-desc-open) > .tab-content .tab-pane > .tf-pd__desc,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs:not(.tf-product-desc-open) > .tab-content .tab-pane > p.cl-text-5 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.7;
}

/* Sekmeli özellikler: ikon/arka plan yok — sadece ad + içerik */
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs:not(.tf-product-desc-open) > .tab-content .tab-pane .tf-pd-features {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs:not(.tf-product-desc-open) > .tab-content .tab-pane .tf-pd-features th,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs:not(.tf-product-desc-open) > .tab-content .tab-pane .tf-pd-features td {
    padding: 14px 0;
    vertical-align: top;
    border-bottom: 1px solid var(--line-5, #e8e8e8);
    background: transparent;
}

.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs:not(.tf-product-desc-open) > .tab-content .tab-pane .tf-pd-features tr:last-child th,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs:not(.tf-product-desc-open) > .tab-content .tab-pane .tf-pd-features tr:last-child td {
    border-bottom: 0;
    padding-bottom: 0;
}

.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs:not(.tf-product-desc-open) > .tab-content .tab-pane .tf-pd-features th {
    width: 36%;
    padding-right: 24px;
    font-weight: 500;
    text-align: left;
}

.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs:not(.tf-product-desc-open) > .tab-content .tab-pane .tf-pd-features td {
    color: var(--text-2, #6b7280);
    font-weight: 400;
}

/* Nordia reviews — refined presentation without changing the review markup */
.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review > *:not(:last-child) {
    margin-bottom: 28px;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .review-rating {
    gap: 32px;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rating_average {
    gap: 4px;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rating_average .rate__number {
    align-items: center;
    gap: 12px;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rating_average .rate__number .h2 {
    font-family: var(--font-instrument-serif, "Instrument Serif", serif);
    font-size: 42px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rating_average .star-wrap {
    gap: 3px;
    padding-bottom: 0;
    color: #f5c518;
    font-size: 16px;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rate__text {
    margin: 6px 0 0;
    color: #737373;
    font-size: 14px;
    line-height: 1.45;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rating_progress-list {
    gap: 7px;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rate_progress-item {
    gap: 10px;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rate_progress-item .number-star {
    min-width: 67px;
    justify-content: flex-start;
    gap: 2px;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rate_progress-item .number-star .bi {
    color: #f5c518;
    font-size: 11px;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rate_progress-item .number-star .bi-star {
    color: #dddcd7;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rate_progress-item .number-percent {
    color: #525252;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rate_progress-item .progress {
    height: 5px;
    background: #e8e6e1;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rate_progress-item .progress-bar {
    background: #2a2927;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review > .br-line {
    opacity: 0.65;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .list-comment .box-comment {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 24px;
    row-gap: 16px;
    padding: 24px 0;
    border: 0;
    border-bottom: 1px solid var(--line-5, #e8e8e8);
    background: transparent;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .list-comment .box-comment:hover {
    border-bottom-color: #d4d1ca;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .list-comment .box-comment:not(:last-child) {
    margin-bottom: 0;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .list-comment .box-comment:first-child {
    padding-top: 0;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .list-comment .box-comment:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .box-comment .col-left {
    grid-column: 1;
    grid-row: 1;
    width: auto;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .box-comment .col-center {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .box-comment .col-right {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    text-align: right;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .comment-author {
    margin-bottom: 0;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .comment-author .more {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 10px;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .comment-author .author-name {
    margin-bottom: 0;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .review-purchase-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #52705e;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .review-purchase-verified .bi {
    color: #5d8069;
    font-size: 13px;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .comment-review {
    gap: 12px;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .comment-review > .star-wrap {
    gap: 3px !important;
    color: #f5c518;
    font-size: 15px !important;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .comment-review .review_text {
    gap: 8px;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .comment-review .review_text .text-1 {
    margin-bottom: 0;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.4;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .comment-review .review_text .text-2 {
    line-height: 1.7;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .comment-action .review_date {
    margin-bottom: 0;
    font-size: 12px !important;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .review_image .image-item {
    width: 92px;
    height: 92px;
    border: 1px solid var(--line-5, #e8e8e8);
    border-radius: 10px;
}

@media (max-width: 767px) {
    .tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .list-comment .box-comment {
        column-gap: 16px;
        row-gap: 14px;
        padding: 20px 0;
    }
}

@media (max-width: 575px) {
    .tf-section[data-tf-type="product.detail_tabs"] .product-desc_review > *:not(:last-child) {
        margin-bottom: 22px;
    }

    .tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .review-rating {
        gap: 22px;
    }

    .tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rating_average {
        width: 100%;
    }

    .tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .rating_average .rate__number .h2 {
        font-size: 40px;
    }

    .tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .list-comment .box-comment {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .box-comment .col-left,
    .tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .box-comment .col-right {
        width: auto;
    }

    .tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .box-comment .col-center {
        grid-column: 1 / -1;
        width: 100%;
    }

    .tf-section[data-tf-type="product.detail_tabs"] .product-desc_review .box-comment .col-right {
        text-align: right;
    }
}

.tf-pd-inst { font-family: var(--tf-answer-font-family, inherit); }
.tf-pd-inst__chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 0 0 6px; padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}
.tf-pd-inst__chip {
    display: inline-flex; align-items: center; justify-content: center;
    height: 44px; min-width: 88px; padding: 0 16px;
    background: #fff; border: 1px solid rgba(0,0,0,.12);
    border-radius: 10px; cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.tf-pd-inst__chip:hover { border-color: rgba(0,0,0,.3); }
.tf-pd-inst__chip.is-active {
    border-color: var(--tf-title-color, var(--tf-color-text, #111));
    box-shadow: inset 0 0 0 1px var(--tf-title-color, var(--tf-color-text, #111));
}
.tf-pd-inst__chip-logo {
    height: 20px !important; max-height: 20px !important;
    width: auto !important; max-width: 78px !important;
    object-fit: contain !important; display: block;
}
.tf-pd-inst__chip span {
    font-size: .82rem; font-weight: 600;
    color: var(--tf-title-color, var(--tf-color-text, #1a1a18));
    font-family: var(--tf-title-font-family, inherit);
}

.tf-pd-inst__table { width: 100%; border-collapse: collapse; display: none; }
.tf-pd-inst__table.is-active { display: table; }
.tf-pd-inst__table td {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-family: var(--tf-answer-font-family, inherit);
    vertical-align: baseline;
}
.tf-pd-inst__table tr:last-child td { border-bottom: none; }
.tf-pd-inst__c {
    font-size: .9rem;
    color: var(--tf-answer-color, rgba(0,0,0,.7));
}
.tf-pd-inst__m {
    text-align: right; white-space: nowrap;
    font-size: 1rem; font-weight: 700;
    color: var(--tf-title-color, var(--tf-color-text, #111));
    font-family: var(--tf-title-font-family, inherit);
}
.tf-pd-inst__m small { font-size: .68rem; font-weight: 500; opacity: .55; margin-left: 2px; }
.tf-pd-inst__t {
    text-align: right; white-space: nowrap;
    width: 1%; padding-left: 28px;
    font-size: .8rem; color: rgba(0,0,0,.45);
}
.tf-pd-inst__note {
    margin: 16px 0 0; font-size: .78rem;
    color: var(--tf-answer-color, rgba(0,0,0,.5)); opacity: .8;
}

@media (max-width: 575.98px) {
    .tf-pd-inst__chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .tf-pd-inst__chips::-webkit-scrollbar { display: none; }
    .tf-pd-inst__chip { flex: 0 0 auto; }
    .tf-pd-inst__t { display: none; }
}
