html:has(.product--detail),
body:has(.product--detail) {
    overflow-x: clip;
}

.product--detail .product__content.tab-root.azdi-ptabs {
    direction: ltr;
    box-sizing: border-box;
    width: 100vw;
    max-width: 100vw;
    margin-top: 48px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 56px max(24px, calc((100vw - 1350px) / 2)) 72px;
    background: #f6f6f6;
    font-family: Alexandria, sans-serif;
}

.product--detail .product__content.tab-root.azdi-ptabs .tab-list {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 56px;
    width: 100%;
    margin: 0 0 40px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #e0e0e0;
    background: transparent;
    list-style: none;
    float: none;
}

.product--detail .product__content.tab-root.azdi-ptabs .tab-list li {
    float: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    list-style: none;
}

.product--detail .product__content.tab-root.azdi-ptabs .tab-list li::before,
.product--detail .product__content.tab-root.azdi-ptabs .tab-list li::after,
.product--detail .product__content.tab-root.azdi-ptabs .tab-list a::before {
    content: none;
    display: none;
}

.product--detail .product__content.tab-root.azdi-ptabs .tab-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #86938d;
    font-family: Alexandria, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.product--detail .product__content.tab-root.azdi-ptabs .tab-list a::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: transparent;
}

.product--detail .product__content.tab-root.azdi-ptabs .tab-list li.active a {
    color: #194a33;
    font-weight: 600;
}

.product--detail .product__content.tab-root.azdi-ptabs .tab-list li.active a::after {
    width: 120px;
    background: #8cbc4f;
}

.product--detail .product__content.tab-root.azdi-ptabs .tabs {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    padding: 36px 40px 40px;
}

.product--detail .product__content.tab-root.azdi-ptabs .tabs .tab {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.product--detail .product__content.tab-root.azdi-ptabs .tabs .tab.active {
    display: block;
}

.product--detail .product__content.tab-root.azdi-ptabs #tab-description,
.product--detail .product__content.tab-root.azdi-ptabs #tab-description .ck-content,
.product--detail .product__content.tab-root.azdi-ptabs #tab-description .document {
    color: #4f6158;
    direction: ltr;
    font-family: Alexandria, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    text-align: left;
}

.product--detail .product__content.tab-root.azdi-ptabs #tab-description p {
    margin: 0 0 20px;
    color: #4f6158;
    direction: ltr;
    font-family: Alexandria, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    text-align: left;
}

.product--detail .product__content.tab-root.azdi-ptabs #tab-description p:last-child {
    margin-bottom: 0;
}

.product--detail .product__content.tab-root.azdi-ptabs #tab-description h1,
.product--detail .product__content.tab-root.azdi-ptabs #tab-description h2,
.product--detail .product__content.tab-root.azdi-ptabs #tab-description h3,
.product--detail .product__content.tab-root.azdi-ptabs #tab-description h4 {
    margin: 20px 0;
    color: #194a33;
    font-family: Alexandria, sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.product--detail .product__content.tab-root.azdi-ptabs #tab-description h1:first-child,
.product--detail .product__content.tab-root.azdi-ptabs #tab-description h2:first-child,
.product--detail .product__content.tab-root.azdi-ptabs #tab-description h3:first-child,
.product--detail .product__content.tab-root.azdi-ptabs #tab-description h4:first-child {
    margin-top: 0;
}

.product--detail .product__content.tab-root.azdi-ptabs #tab-specification,
.product--detail .product__content.tab-root.azdi-ptabs #tab-reviews {
    direction: rtl;
    text-align: start;
}

.product--detail .product__content.tab-root.azdi-ptabs #tab-faq {
    direction: ltr;
    text-align: left;
}

body[dir="rtl"] .product--detail .product__content.tab-root.azdi-ptabs {
    direction: rtl;
}

body[dir="rtl"] .product--detail .product__content.tab-root.azdi-ptabs #tab-description,
body[dir="rtl"] .product--detail .product__content.tab-root.azdi-ptabs #tab-description .ck-content,
body[dir="rtl"] .product--detail .product__content.tab-root.azdi-ptabs #tab-description .document,
body[dir="rtl"] .product--detail .product__content.tab-root.azdi-ptabs #tab-description p,
body[dir="rtl"] .product--detail .product__content.tab-root.azdi-ptabs #tab-faq,
body[dir="rtl"] .product--detail .product__content.tab-root.azdi-ptabs #tab-faq .faq-question-text,
body[dir="rtl"] .product--detail .product__content.tab-root.azdi-ptabs #tab-faq .faq-answer-content {
    direction: ltr;
    text-align: right;
}

.product--detail .product__content.tab-root.azdi-ptabs #tab-specification .row {
    display: block;
    margin: 0;
}

.product--detail .product__content.tab-root.azdi-ptabs #tab-specification .col-md-6 {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.product--detail .product__content.tab-root.azdi-ptabs #tab-specification .spec-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid #e0e0e0;
}

.product--detail .product__content.tab-root.azdi-ptabs #tab-specification .col-md-6:last-child .spec-item:last-child,
.product--detail .product__content.tab-root.azdi-ptabs #tab-specification .spec-item:last-child {
    border-bottom: 0;
}

.product--detail .product__content.tab-root.azdi-ptabs #tab-specification .spec-label,
.product--detail .product__content.tab-root.azdi-ptabs #tab-specification .spec-value {
    unicode-bidi: isolate;
    font-family: Alexandria, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.product--detail .product__content.tab-root.azdi-ptabs #tab-specification .spec-label {
    color: #194a33;
    font-weight: 600;
}

.product--detail .product__content.tab-root.azdi-ptabs #tab-specification .spec-value {
    color: #4f6158;
    direction: ltr;
    font-weight: 400;
    text-align: left;
}

@media (max-width: 767px) {
    .product--detail .product__content.tab-root.azdi-ptabs {
        margin-top: 32px;
        padding: 32px 16px 48px;
    }

    .product--detail .product__content.tab-root.azdi-ptabs .tab-list {
        gap: 24px;
        justify-content: flex-start;
        overflow-x: auto;
        margin-bottom: 24px;
    }

    .product--detail .product__content.tab-root.azdi-ptabs .tab-list a {
        font-size: 14px;
    }

    .product--detail .product__content.tab-root.azdi-ptabs .tab-list li.active a::after {
        width: 72px;
    }

    .product--detail .product__content.tab-root.azdi-ptabs .tabs {
        padding: 24px 16px 28px;
        border-radius: 16px;
    }
}
