/* Visual styling for Persian Woodmart-style Dynamic WooCommerce Tabs */
.custom-product-info-tabs-32aac066 {
    direction: rtl;
    font-family: IRANYekan, IRANYekanX, "Tahoma", sans-serif;
    background: #ffffff;
    width: 100%;
    margin: 0 auto;
    border: none;
}

.wd-nav-wrapper-32aac066 {
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 25px;
    width: 100%;
}

.wd-nav-tabs-32aac066 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.wd-nav-link {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin: 0 15px;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    flex: 1 1 auto;
    white-space: nowrap;
}

.wd-nav-link .wd-tabs-title {
    display: block;
}

.wd-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.wd-nav-link.active::after {
    background-color: #333333;
}

/* Tabs content */
.tab-panel-32aac066 {
    display: none;
    animation: fadeIn_32aac066 0.4s ease;
}

.tab-panel-32aac066.active {
    display: block;
}

@keyframes fadeIn_32aac066 {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.no-content-32aac066 {
    color: #999999;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

/* Specification Attribute Table styling matching Woodmart */
.specs-table-32aac066 {
    width: 100%;
    border-collapse: collapse;
}

.specs-table-32aac066 tr {
    border-bottom: 1px solid #eeeeee;
}

.specs-table-32aac066 tr:last-child {
    border-bottom: none;
}

.specs-table-32aac066 td {
    padding: 12px 10px;
    vertical-align: middle;
}

.specs-table-32aac066 td.label-32aac066 {
    font-weight: bold;
    color: #333333;
    width: 30%;
    padding-right: 0;
}

.specs-table-32aac066 td.value-32aac066 {
    color: #666666;
}

/* Tab 2 - Description formatting preservation */
.desc-content-32aac066 {
    line-height: 1.8;
    color: #444444;
}

.desc-content-32aac066 h1,
.desc-content-32aac066 h2,
.desc-content-32aac066 h3 {
    color: #111111;
    margin-top: 25px;
    margin-bottom: 15px;
}

.desc-content-32aac066 p {
    margin-bottom: 15px;
}

/* FAQ accordion visual styling */
.faq-container-32aac066 {
    border-top: 1px solid #eeeeee;
}

.faq-item-32aac066 {
    border-bottom: 1px solid #eeeeee;
}

.faq-question-32aac066 {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    text-align: right;
    font-weight: 600;
    color: #333333;
}

.faq-toggle-icon-32aac066 {
    font-size: 18px;
    width: 24px;
    height: 24px;
    border: 1px solid #333333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-question-32aac066[aria-expanded="true"] .faq-toggle-icon-32aac066 {
    transform: rotate(45deg);
}

.faq-answer-32aac066 {
    overflow: hidden;
}

.faq-answer-inner-32aac066 {
    padding: 0 0 15px 0;
    line-height: 1.7;
    color: #666666;
}

/* STRICT RESPONSIVE RULES: No wraps, no carousel, single-row on all screen sizes */
@media screen and (max-width: 768px) {
    .wd-nav-link {
        margin: 0 5px;
    }
    .wd-nav-link .wd-tabs-title {
        font-size: 11px;
    }
    .specs-table-32aac066 td.label-32aac066 {
        width: 40%;
    }
}

@media screen and (max-width: 480px) {
    .wd-nav-link {
        margin: 0 2px;
    }
    .wd-nav-link .wd-tabs-title {
        font-size: 10px;
    }
    .specs-table-32aac066 td.label-32aac066 {
        width: 45%;
    }
}
