/* WooCommerce Ürün Schema & SSS - Frontend */

.wcsf-frontend {
    margin-top: 30px;
}

.wcsf-frontend .wcsf-title {
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    margin: 0 0 16px;
    color: #111;
}

/* Teknik özellik tablosu */
.wcsf-specs {
    margin-bottom: 36px;
}

.wcsf-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 16px;
}

.wcsf-spec-table th,
.wcsf-spec-table td {
    text-align: left;
    padding: 11px 14px;
    border: 1px solid #ededed;
    vertical-align: top;
    font-size: 15px;
}

.wcsf-spec-table th {
    width: 38%;
    background: #fafafa;
    font-weight: 600;
    color: #333;
}

.wcsf-compat {
    background: #f6f9ff;
    border: 1px solid #e2ecfb;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.6;
}

/* ---------------------------------------------------------------------
 * SSS akordeon — sola yaslı, hafif, modern, mobil uyumlu.
 * Tema (Woodmart) stillerini ezmek için kritik kurallarda !important.
 * ------------------------------------------------------------------- */
.wcsf-faq {
    margin-bottom: 20px;
}

.wcsf-faq-list {
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.wcsf-faq-item + .wcsf-faq-item {
    border-top: 1px solid #ececec;
}

.wcsf-faq-question {
    width: 100%;
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between !important;
    gap: 16px;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 18px 20px !important;
    margin: 0 !important;
    text-align: left !important;
    font-size: 16px;
    font-weight: 600;
    color: #1f2430;
    cursor: pointer;
    line-height: 1.5;
    text-transform: none !important;
    letter-spacing: normal !important;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.wcsf-faq-question:hover,
.wcsf-faq-question:focus {
    background: #f7f8fa !important;
    color: #111 !important;
    outline: none;
}

.wcsf-faq-q-text {
    flex: 1 1 auto;
    text-align: left;
}

/* Chevron (aşağı ok); açıkken yukarı döner */
.wcsf-faq-icon {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-right: 2px solid #9aa1ab;
    border-bottom: 2px solid #9aa1ab;
    transform: rotate(45deg);
    transition: transform 0.25s ease, border-color 0.2s ease;
}

.wcsf-faq-question:hover .wcsf-faq-icon {
    border-color: #111;
}

.wcsf-faq-item.is-open .wcsf-faq-icon {
    transform: rotate(-135deg);
    margin-top: 10px;
}

.wcsf-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.wcsf-faq-answer-inner {
    padding: 0 20px 18px;
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    text-align: left;
}

.wcsf-faq-answer-inner p {
    margin: 0 0 10px;
}

.wcsf-faq-answer-inner p:last-child {
    margin-bottom: 0;
}

/* Mobil */
@media (max-width: 575px) {
    .wcsf-frontend {
        margin-top: 22px;
    }
    .wcsf-frontend .wcsf-title {
        font-size: 18px;
    }
    .wcsf-faq-question {
        font-size: 15px;
        padding: 15px 15px !important;
        gap: 12px;
    }
    .wcsf-faq-answer-inner {
        font-size: 14px;
        padding: 0 15px 15px;
    }
    .wcsf-spec-table th,
    .wcsf-spec-table td {
        padding: 9px 11px;
        font-size: 14px;
    }
    .wcsf-spec-table th {
        width: 45%;
    }
}
