/* ==========================================================================
   استایل‌های اختصاصی صفحه تک محصول (Single Product)
   توجه: فونت، عرض کانتینر، و ریست‌های اولیه از style.css اصلی خوانده می‌شوند.
   ========================================================================== */

/* متغیرهای رنگی اختصاصی محصول (برای استفاده راحت‌تر و یکپارچگی) */
:root {
    --pr-color-primary: #0A3762;
    /* آبی تیره - رنگ اصلی دکمه‌ها */
    --pr-color-secondary: #02A8F4;
    /* آبی روشن - لینک‌ها و هاور */
    --pr-color-bg-light: #EFF5FA;
    /* پس‌زمینه خاکستری/آبی روشن */
    --pr-color-text-main: #333333;
    --pr-color-text-muted: #666666;
    --pr-color-border: #EEEEEE;
    --pr-radius: 8px;
}

body {
    background: #FAFCFE;
}

main {
    display: flex;
    padding: 25px 80px;
    flex-direction: column;
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
    background-color: #ffffff;
}

/* 2. ساختار اصلی صفحه (لی‌اوت) */
/* .product-page-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
    margin-bottom: 4rem;
} */
.product-content-container {
    display: flex;
    gap: 22px;
}

.product-content {
    width: calc(100% - 340px);
}

.breadcrumb-container {
    padding: 0 0 24px 0;
}

/* 3. سایدبار چسبان (Sticky Sidebar) */
.product-sidebar {
    width: 340px;
    height: auto;
    flex-shrink: 0;
    position: sticky;
    top: 2rem;
    /* فاصله از بالا هنگام چسبیدن */
}

.sidebar-inner {
    position: sticky;
    top: 205px;
}

/* 4. باکس خرید (Purchase Box) */
.purchase-box {
    border: 1px solid #bdbdbd;
    border-radius: var(--pr-radius);
    padding: 1.5rem;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.5rem;
}

.purchase-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #B4B4B4;
}

.purchase-header img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
}

.purchase-title {
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    color: #000;

}

.price-info {
    text-align: left;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pr-color-primary);
    margin-bottom: 1.5rem;
}

.purchase-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.btn-main {
    flex: 1;
    background-color: var(--pr-color-primary);
    color: #fff;
    border: none;
    border-radius: var(--pr-radius);
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-main:hover {
    background-color: #082a4a;
}

.btn-icon {
    background-color: var(--pr-color-bg-light);
    color: var(--pr-color-primary);
    border: none;
    border-radius: var(--pr-radius);
    width: 48px;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.btn-icon:hover {
    background-color: #e0ecf7;
}

.shipping-info {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 24px;
    border-top: solid 1px #B4B4B4;
    padding: 15px 0 0 0;
}

.falnic-rating-container .stars {
    display: none;
}

.shipping-info li {
    color: #696969;
    fill: burlywood;
    font-size: 12px;
    line-height: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.shipping-info li svg {
    width: 18px;
    stroke: #d40000 !important;
}

/* 5. باکس تبلیغاتی سایدبار */
.promo-box {
    background-color: #fff5e6;
    border-radius: 4px;
    padding: 24px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.promo-box p {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.promo-box a {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    display: flex;
    padding: 4px;
    gap: 8px;
    justify-content: center;
}

.configurable-box {
    border-radius: 4px;
    background: #E4ECF3;
    border: solid 1px #DADADA;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.configurable-box p {
    text-align: center;
    font-weight: 600;
    color: #000;
}

.configurable-box a {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    background: #0A3762;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
}

.configurable-box svg {
    fill: #fff;
    stroke: white;
}


/* 6. معرفی محصول (گالری و اطلاعات) */
.product-main-info {
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #000;
}

.product-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    margin-bottom: 0.5rem;
    color: #8F8F8F;
    margin-bottom: 12px;
}

.product-meta {
    display: flex;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: #696969;
    align-items: flex-end;
}

span.rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
    align-items: center;
}

span.product-code {
    padding: 2px 14px 2px 0;
    border-right: 1px solid #DADADA;
}

.product-gallery-and-features {
    display: flex;
    gap: 22px;
    margin-bottom: 33px;
}

/* =========================================
   استایل‌های کلی گالری محصول
========================================= */
.gallery {
    position: relative;
    width: 47%;
    margin: 0 auto;
    direction: rtl;
}

/* =========================================
   اسلایدر اصلی (تصویر بزرگ)
========================================= */
#sync1.main-product-slider .item {
    border: 1px solid #DADADA;
    border-radius: 4px;
    background-color: #ffffff;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}


#sync1.main-product-slider .product-main-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    /* برای جلوگیری از دفرمه شدن عکس */
    display: block;
}

/* دکمه‌های ناوبری اسلایدر اصلی (چپ و راست) */
#sync1 .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 24px !important;
    line-height: 1 !important;
    transition: all 0.3s ease;
}

#sync1 .owl-nav button:hover {
    background: #f8f8f8 !important;
    color: #ef394e !important;
    /* رنگ سازمانی (قابل تغییر) */
}

#sync1 .owl-nav button.owl-next {
    right: 10px;
}

#sync1 .owl-nav button.owl-prev {
    left: 10px;
}

/* =========================================
   اسلایدر تامبنیل‌ها (تصاویر کوچک)
========================================= */
#sync2.thumb-product-slider {
    margin-top: 15px;
}

#sync2.thumb-product-slider .item {
    border: 1px solid #dadada;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

#sync2.thumb-product-slider .gallery-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: opacity 0.3s ease;
    outline: 9px solid #dadada;
    opacity: 0.7;
}

/* حالت هاور و اکتیو برای تامبنیل‌ها */
#sync2.thumb-product-slider .item:hover .gallery-thumb {
    opacity: 1;
}

#sync2.thumb-product-slider .owl-item.current .item {
    border-color: #a5a5a5;
    /* رنگ حاشیه تصویر فعال - قابل تغییر */
}

#sync2.thumb-product-slider .owl-item.current .gallery-thumb {
    opacity: 1;
}

#sync1.owl-carousel {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

div#sync2.owl-carousel {
    display: flex;
    gap: 10px;
}

div#sync2.owl-carousel .item {
    aspect-ratio: 1 / 1;
}

.float-tabs {
    display: flex;
    height: 65px;
    position: sticky;
    top: 122px;
    z-index: 1;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.float-tabs>div {
    display: flex;
    border: 1px solid #B4B4B4;
    border-radius: 8px;
    font-size: 16px;
    overflow: hidden;
}

.float-tabs>div>span {
    background: #fff;
    border-left: solid 1px #B4B4B4;
    padding: 8px 30px;
    align-content: center;
    cursor: pointer;
    transition: .3s;
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;

}

.float-tabs>div>span:last-child {
    border-left: none;
}

.float-tabs>div>span:hover {
    transition: .3s;
    background: #0a3762;
    color: #fff;

}



.container-interaction {
    z-index: 9;
    gap: 8px;
    display: flex;
    position: absolute;
    right: 8px;
    top: 8px;
    flex-direction: column;
    align-items: center;
}

.container-interaction>* {
    display: flex;
    padding: 0;
    margin: 0;
    width: 25px;
    height: 25px;
    overflow: hidden;
    background: #fff;
    justify-content: center;
    align-items: center;
}

.container-interaction>*:hover,
.container-interaction>*:focus {
    background: #fff;
    outline: none;
}

.gallery img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.base-info {
    width: 50%;

}

.features-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-preview span {
    font-weight: 650;
    font-size: 16px;
    margin-bottom: 4px;
}

.features-list {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
}

.features-list li {
    font-size: 14px;
    width: calc(50% - 10px);
    background-color: #ececec;
    padding: 12px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e2e2;
}

.features-list li strong {
    color: #000000;
    font-size: 14px;
    font-weight: 500;
}

.features-list span {
    font-weight: 600;
    font-size: 14px;
    color: #696969;
}

.view-all-features-btn {
    display: flex;
    font-size: 14px;
    font-weight: 500;
    gap: 8px;
    border: 2px solid #0A3762;
    border-radius: 8px;
    width: 194px;
    justify-content: center;
    padding: 11px;
    color: #0A3762;
    transition: 200ms;
}

.view-all-features-btn:hover {
    background-color: #D6E6F3;
}

/* 7. مشخصات فنی */
#tech-specs-section {
    margin-top: 33px;
}

#product-description-section .section-title,
#tech-specs-section .section-title,
#comments-section .section-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    margin: 16px 0;
    position: relative;
    color: #2B5684;
    padding: 0 14px 0 0;
    display: block;
}

#section-var-title h2 {
    padding: 0;
    margin: 0;
}

#section-var-title {
    padding: 0;
}

#section-var-title::before {
    display: none;
}

aside .section-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 0 0 24px 0;
    display: block;
}

.promo-box img {
    width: 168px;
    margin: 0 0 12px 0;
}

@media (min-width: 992px) {
    .variant-product-card {
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
        border: 1px solid #dadada;
        overflow: hidden;
        display: flex;
        text-align: center;
        padding: 30px;
        transition: all 0.3s ease;
        gap: 13px;
    }

    .variant-products-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 32px;
    }

    .variant-product-info {
        order: 1;
        flex-basis: 100%;
        margin-bottom: 0;
        padding-right: 1rem;
    }

    .variant-product-description {
        margin-bottom: 0;
    }

    .variant-product-pricing {
        order: 3;
        flex-basis: 25%;
        align-items: flex-end;
        margin-right: auto;
        padding: 0 1rem;
        justify-content: center;
    }

    .variant-product-offer {
        justify-content: flex-end;
    }

    .variant-product-action {
        order: 4;
        flex-basis: 25%;
        width: auto;
        flex-direction: row;
    }

    .variant-product-button {
        width: auto;
        padding: 0.85rem 2rem;
    }
}

@media (max-width: 1024px) {
    .variant-product-action {
        width: 100%;
        order: 4;
        flex-direction: column;
    }

    .variant-product-pricing {
        flex-flow: row;
        justify-content: left;
        order: 3;
        padding: 1rem 0;
    }

    .variant-product-offer {
        flex-flow: row-reverse;
    }

    .variant-product-title {
        font-size: 15px;
        font-weight: 600;
        line-height: normal;
        color: #000 !important;
        margin: 0;
        width: 100%;
        order: 0;
        text-align: right;
    }

    .variant-product-button {
        flex-basis: 100%;
    }

    .variant-product-pricing-actions {
        flex-flow: column;
    }

    .float-tabs {
        padding: 14px 0;
        top: 58px;
    }
}

@media (max-width: 992px) {

    .variant-products .shop-archive-button-container .box-call-iconcall,
    .variant-products .shop-archive-button-container .box-invoice-request-active {
        flex-basis: 50%;
    }
}

.variant-product-title p {
    margin: 0;
    text-align: right;
}

h3.variant-product-title {
    margin: 0;
    text-align: right;
}

#product-description-section .section-title::before,
#tech-specs-section .section-title::before,
#comments-section .section-title::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--pr-color-primary);
    border-radius: 50%;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--pr-color-border);
    font-size: 0.95rem;
}

.specs-table tr:nth-child(even) {
    background-color: #fafafa;
}

.specs-table td:first-child {
    width: 35%;
    color: var(--pr-color-text-muted);
    background-color: var(--pr-color-bg-light);
    font-weight: 500;
}

.show-more-specs {
    background: none;
    border: none;
    color: var(--pr-color-secondary);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    padding: 0;
}

/* 8. نظرات کاربران */
.comments-section {
    margin-top: 64px;
    padding: 0;
}

.comments-header h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.comments-header h3 {
    font-size: 1rem;
    color: var(--pr-color-text-muted);
    margin-bottom: 2rem;
}

.comment-form .form-group {
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.stars span {
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
}

.stars span:hover {
    color: #f5b301;
    /* رنگ ستاره */
}

.comment-form textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1rem;
    font-size: 0.95rem;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
}

.comment-form textarea:focus {
    border-color: var(--pr-color-secondary);
}

.submit-btn {
    background-color: var(--pr-color-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    cursor: pointer;
}

/* 9. لینک‌های خدمات */
.services-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 92px;
}

.services-links a,
.services-links span {
    border: 1px solid #DADADA;
    padding: 18px 35px;
    border-radius: 6px;
    display: flex;
    gap: 8px;
    width: 100%;
    justify-content: center;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    transition: 300ms;
    align-items: center;
}

.services-links span:hover,
.services-links a:hover {
    border-color: #0A3762;
    box-shadow: 0px 15px 50px 0px rgba(0, 0, 0, 0.1);
    color: #000;
}

/* 10. بنر تماس (CTA) */
.cta-banner {
    background-repeat: no-repeat;
    padding: 2rem 3rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 4rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    background-image: url(https://stage.falnic.com/wp-content/uploads/201527-WB-bannercall-desktop-v1-002-1-2.webp);
    min-height: 310px;
    border-radius: 8px;
    flex-direction: column;
    gap: 16px;
}

.cta-content p {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cta-content span {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
}

.cta-button {
    background-color: #e88f00;
    color: #fff;
    border: none;
    padding: 16px 50px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 200ms;
}

.cta-button:hover {
    outline: 3px solid #F0CF99;
    color: #fff;

}

.cta-image {
    position: absolute;
    left: 10%;
    bottom: -20px;
    opacity: 0.2;
    /* استایل موقت تا زمان جایگذاری تصویر دقیق */
}

/* 11. راه‌های ارتباطی */
.contact-methods {
    margin: 32px 0;
}

.contact-methods span {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: var(--e-global-color-9da9380);
    margin: 10px auto;
    display: flex;
    justify-content: center;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    background-color: #fff;
    padding: 16px 14px 16px 14px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #DADADA;
    transition: 300ms;
}

.card:hover {
    border-color: #0A3762;
}

img#ai-button {
    width: 176px;
    margin: 0 0 14px 0;
    cursor: pointer;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.card p,
.card a {
    color: var(--pr-color-text-muted);
    font-size: 0.9rem;
    direction: ltr;
}








.falnic-attributes-table tbody>tr:nth-child(odd)>td,
table tbody>tr:nth-child(odd)>th {
    background-color: unset;
}

#product-description-section table tbody+tbody {
    border-block-start: none;
}

.product-full-description {
    max-height: 500px;
    /* ارتفاع اولیه محدود */
    overflow: hidden;
    position: relative;
    /* انیمیشن نرم برای تغییر ارتفاع */
    transition: max-height 0.5s ease-in-out;
}

/* گرادینت پایین برای نشان دادن ادامه متن */
.product-full-description::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #ffffff, #ffffffb3, #ffffff00);
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}


/* وقتی باز شد، گرادینت محو شود */
.product-full-description.active::after {
    opacity: 0;
    height: 0;
}

/* استایل برای دکمه */
.show-more-specs {
    cursor: pointer;
    color: #0A3762;
    display: flex;
    margin-top: 10px;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 30px;
    gap: 6px;
}


.tech-specs-container {
    max-height: 500px;
    /* ارتفاع اولیه محدود */
    overflow: hidden;
    position: relative;
    /* انیمیشن نرم برای تغییر ارتفاع */
    transition: max-height 0.5s ease-in-out;
}

.promo-box svg {
    stroke: #E88F00;
}

/* گرادینت پایین برای نشان دادن ادامه متن */
.tech-specs-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #ffffff, #ffffffb3, #ffffff00);
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}


/* وقتی باز شد، گرادینت محو شود */
.tech-specs-container.active::after {
    opacity: 0;
}

/*ردیف فرد*/
.falnic-attributes-table tr.trodd {
    background: #D6E6F3 !important;
}

/*ردیف زوج*/
.falnic-attributes-table tr.treven {
    background: #ffffff !important;
}

.falnic-attributes-table {
    overflow: hidden;
    outline: 1px solid #DADADA;
    border-radius: 8px
}

/*دسکتاپ*/
/*تیترموبایل*/
.falnic-attributes-table tr.trth {
    background: #1f608d !important;
    color: white;
}

.falnic-attributes-table tr.trth th {
    display: none;
}

/*سرتیتر*/
.falnic-attributes-table tr th {
    background: #fff !important;
    color: #000000;
    padding: 24px;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 16px;
    font-weight: +00;
    width: 0% !important;
    border: none;
    border-left: 1px solid #EDEDED;
    border-right: 1px solid #EDEDED;

}

.falnic-attributes-table tr {
    border-bottom: 1px solid #EDEDED;
    border-left: 1px solid #EDEDED;
}

/*ردیف دو و سه*/

/*ردیف اول*/
.atl {
    padding: 16px 48px;
    color: #000000;
    font-weight: 600;
    font-size: 14px;
    width: 50%;
    border: none;
    vertical-align: middle;
}

/*ردیف دوم*/
.atv {
    padding: 16px 48px;
    color: #444444;
    font-weight: 400;
    font-size: 14px;
    border: none;
    width: 50%;
    vertical-align: middle;
}

/*برای موبایل*/
@media(max-width: 840px) {
    .falnic-attributes-table tr th {
        display: none;
        background: #ffffff !important;
        color: #000000;
        text-align: right;
        border: 0 !important;
    }

    /*تیتر موبایل*/
    .falnic-attributes-table tr.trth th {
        display: table-cell !important;
        padding: 16px 16px 16px 16px;
    }

    /*ذیدف دوم*/
    .atv {
        padding: 16px 16px 16px 16px;
        vertical-align: top;
    }

    /*ردیف اول*/
    .atl {
        padding: 16px 16px 16px 16px;
        vertical-align: top;
    }

}

.falnic-share-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

.falnic-cta-container .cta-invoice:hover,
.falnic-cta-buttons a,
.falnic-cta-container .cta-invoice:focus {
    background: #0A3762 !important;
}

.variant-product-pricing-actions .falnic-cta-container {
    width: auto;
    min-width: 205px;
    display: flex;
    gap: 14px;
}

.variant-product-pricing-actions .falnic-cta-buttons {
    min-width: 205px;
}

.falnic-product-card .product-title {
    display: flex;
    width: 100%;
    margin: 0;
}

.falnic-share-modal-content {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    width: 450px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: right;
    box-sizing: border-box;
}

.falnic-share-modal-content .falnic-share-close {
    color: #000000 !important;
    position: absolute;
    left: 24px;
    top: 16px;
    font-size: 32px;
    font-weight: 400;
    cursor: pointer;
    line-height: 1;
}

.falnic-share-modal-content .falnic-share-close:hover {
    color: #000;
}

.falnic-share-modal-content .falnic-share-title {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #DADADA;
    display: block;
    width: 100%;
    text-align: right;
}

.falnic-share-modal-content .falnic-share-description {
    font-size: 14px;
    color: #000000;
    margin: 20px 0;
    text-align: center;
    font-weight: 400;
}

.falnic-share-modal-content .falnic-copy-link-container {
    margin-bottom: 24px;
}

.falnic-share-modal-content button.falnic-copy-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0A3762 !important;
    background-color: #fff !important;
    border: 2px solid #0A3762 !important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    margin-top: 0;
}

.falnic-share-modal-content button.falnic-copy-link:hover {
    background-color: #D6E6F3 !important;
}

.falnic-share-modal-content button.falnic-copy-link svg {
    margin-left: 8px;
}

.falnic-share-modal-content button.falnic-copy-link span {
    color: #0A3762;
    font-weight: 500;
    font-size: 12px;
}

.falnic-share-modal-content .falnic-social-subtitle {
    font-size: 14px;
    color: #000000;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 400;
}

.falnic-share-modal-content .falnic-social-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    gap: 16px !important;
}

.falnic-share-modal-content .falnic-social-icons {
    display: flex !important;
    align-items: center !important;
    direction: ltr !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100%;
}

.falnic-share-modal-content .falnic-social-icons a.social-icon svg {
    width: 26px;
    height: 26px;
}

@media (max-width: 880px) {
    .breadcrumb-container {
        padding: 0 16px 0 0;
    }

    .variant-product-pricing-actions .falnic-cta-container {
        flex-direction: column;
        gap: 8px;
    }

    .falnic-share-modal-content {
        border-radius: 4px;
        width: 100% !important;
    }

    main {
        padding: 0;
    }

    .product-content-container {
        flex-direction: column;
        padding: 16px;
    }

    .falnic-share-modal {
        z-index: 999999999999 !important;
        align-items: flex-end;
    }

    .falnic-share-icon {
        padding: 0 !important;
    }

    .product-content {
        width: 100%;
    }
}

.falnic-wishlist-ajax.active * {
    fill: red;
    stroke: red !important;
}


#product-description-section a {
    color: #2B5684;
    text-decoration: underline;
    text-decoration-color: #2B5684;
    text-underline-offset: 7px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}





#product-description-section a {
    color: #2B5684;
    text-decoration: underline;
    text-decoration-color: #2B5684;
    text-underline-offset: 7px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

#product-description-section h2,
#product-description-section h3,
#product-description-section h4,
#product-description-section h5 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: #000000;
}

#product-description-section h1 {
    font-size: 26px;
    color: #000;
}

#product-description-section img {
    width: auto;
    display: block;
    border-radius: 8px;
    margin: 0 auto 24px;
}

#product-description-section p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #000;
}

@media (max-width: 840px) {

    #product-description-section h1,
    #product-description-section h2,
    #product-description-section h3,
    #product-description-section h4,
    #product-description-section h5 {
        font-size: 16px;
        line-height: 20px;
    }

    #product-description-section a {
        font-size: 14px;
        line-height: 22px;
        font-weight: 600;
    }
}

#product-description-section ol,
#product-description-section ul {
    padding: 0 20px 16px 0;
}






/* کانتینر اصلی */
.falnic-custom-reviews {
    direction: rtl;
}

/* استایل فرم ثبت نظر */
.falnic-form textarea {
    width: 100%;
    border: 1px solid #B4B4B4;
    border-radius: 8px;
    padding: 18px 14px;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s;
    height: 128px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.falnic-form textarea:focus {
    border-color: #979797bb;
}

input#author,
input#email {
    margin-bottom: 16px;
    width: 100%;
    border: 1px solid #B4B4B4;
    border-radius: 8px;
    padding: 12px 14px;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s;
    font-size: 14px;
    font-weight: 500;
}

section.section-short-description {
    box-shadow: 0 15px 50px 0 rgba(246, 237, 255, 1);
    padding: 20px 20px 28px 20px;
    border: 2px solid rgba(140, 32, 255, 1);
    border-radius: 8px;
}

.product-short-descriptionp {
    font-size: 14px;
    color: #000;
    font-weight: 400;
}

.services-links svg path {
    stroke: #0a3761;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    margin: 15px 0;
}

.falnic-form .submit {
    width: 469px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: #0A3762;
    border: 2px solid #0A3762;
    border-radius: 8px;
    padding: 10px;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

p.logged-in-as {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: right;
}

.falnic-rating-container label {
    color: #444444;
    font-weight: 500;
    font-size: 14px;
}

.falnic-form .submit:hover {
    background-color: #D6E6F3;
    outline: none;
}

/* استایل لیست کامنت ها */
.falnic-commentlist {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
}

.falnic-comment-item {
    margin-bottom: 20px;
}

/* استایل کارت هر کامنت */
.comment-body {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    background: #fff;
}

/* نظرات تو در تو (ریپلای) */
.falnic-commentlist .children {
    list-style: none;
    padding-right: 75px !important;
    padding-top: 20px;
    position: relative;
}

/* استایل برای اولین children */
.children::before {
    content: '';
    height: 95%;
    display: block;
    width: 2px;
    background-color: #6E96C9;
    position: absolute;
    right: 54px;
    top: calc(50% - -10px);
    transform: translateY(-50%);
}

/* حذف استایل برای children های تو در تو (سطح ۲ به بعد) */
.children .children::before {
    display: none;
    content: none;
}

.falnic-commentlist .children {
    position: relative;
}

.falnic-commentlist .children .comment-body {
    margin-right: 20px;
    position: relative;
}

a#falnic-load-more-comments {
    color: #0A3762;
    padding: 12px 30px;
    display: flex;
    gap: 8px;
}

.falnic-load-more-wrapper {
    cursor: pointer;
    color: #0A3762;
    display: flex;
    margin-top: 10px;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 30px;
    gap: 6px;
}

/* هدر کامنت (آواتار و نام) */
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.comment-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid #f3f4f6;
}

.comment-meta {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: bold;
    color: #374151;
    font-size: 15px;
}

.author-name.is-admin {
    color: #3F3F3F;
    font-weight: 600;
    font-size: 14px;
}

.comment-date {
    font-size: 12px;
    color: #9ca3af;
}

/* ستاره ها */
.comment-rating .star {
    color: #d1d5db;
    font-size: 18px;
    fill: #fff;
    stroke: #fbbf24;
}

.comment-rating .star.filled {
    color: #fbbf24;
    fill: #fbbf24;
}

/* متن کامنت */
.comment-content {
    font-size: 14px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 15px;
}

/* دکمه پاسخ */
.comment-actions {
    text-align: right;
}

.comment-reply-link {
    display: inline-flex;
    gap: 5px;
    color: #1e3a8a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.comment-reply-link:hover {
    color: #1d4ed8;
}

#comments .comment-meta {
    display: flex;
    justify-content: space-between;
    margin-block-end: .9rem;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

/* حالت لودینگ AJAX */
.comment-loading {
    opacity: 0.6;
    pointer-events: none;
}

.comment-body {
    border: 1px solid #D1D1D1;
    border-radius: 8px;
    padding: 12px 20px;
    background: #fff;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.06);
}

/* استایل کامنت‌های در انتظار تایید */
.unapproved-comment>.comment-body {
    background-color: #f8fafc !important;
    /* یک رنگ متفاوت ملایم */
    border: 1px dashed #94a3b8 !important;
    opacity: 0.85;
}

.awaiting-approval-msg {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ea580c;
    /* رنگ هشدار نارنجی/قرمز */
    background: #ffedd5;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 12px;
}

p.woocommerce-noreviews {
    font-size: 14px;
    margin: 14px 0;
    color: #000;
}

/* انیمیشن چرخش آیکون در زمان لودینگ */
.comment-loading button[type="submit"] svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* استایل ستاره‌های فرم */
.falnic-rating-container {
    margin-bottom: 15px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.falnic-stars {
    display: flex;
    gap: 5px;
    cursor: pointer;
    font-size: 24px;
}

/* حالت پیش‌فرض (خالی) */
.falnic-stars span {
    transition: all 0.2s ease;
    stroke: #f59e0b;
    fill: #fff;
}

/* ۱. وقتی روی یک ستاره هاور می‌شود، خودش پر شود */
.falnic-stars span:hover {
    color: #f59e0b;
    fill: #f59e0b;
}

/* ۲. ستاره‌های *قبل* از ستاره‌ای که هاور شده هم پر شوند */
.falnic-stars span:has(~ span:hover) {
    color: #f59e0b;
    fill: #f59e0b;
}

/* ۳. حالتی که با کلیک پر شده است (باید توسط جاوااسکریپت کلاس filled به خود ستاره و ستاره‌های قبلی داده شود) */
.falnic-stars span.filled {
    color: #f59e0b;
    fill: #f59e0b;
}

/* محصولات مرتبط پایین صفحه */
#similar-product-single .sh_desc {
    display: none;
}

#similar-product-single .falnic-product-title {
    margin: 0 !important;
}

#similar-product-single .falnic-product-details {
    height: 166px !important;
}

.iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 800px) {
    #similar-product-single .falnic-product-card-inner {
        flex-direction: column;
    }

    .configurable-box {
        display: none;
    }

    #similar-product-single .falnic-product-bottom {
        display: block;
        position: static;
        height: auto;
    }

    #similar-product-single .falnic-product-card-inner {
        flex-direction: column !important;
    }

    #similar-product-single .falnic-product-details {
        height: auto !important;
        padding: 4px;
    }

    @media screen and (min-width: 601px) and (max-width: 990px) {
        #similar-product-single .falnic-product-details {
            height: 166px !important;
            padding: 16px;
        }
    }

    #similar-product-single .btn-inquiry-price.contact-us-btn {
        width: 17% !important;
        height: 40px;
        margin: 0 !important;
    }

    #similar-product-single .falnic-product-price {
        transform: unset;
        padding: 0 12px;
    }

    #similar-product-single .falnic-product-title a {
        padding: 0 12px;
    }

    #similar-product-single .falnic-product-card-inner {

        border: 1px solid #DADADA !important;
        border-radius: 8px !important;
        margin: 0;
        padding: 0;
    }

    #similar-product-single .falnic-product-image a {

        width: 60% !important;
        display: flex;
        align-items: center;
    }

}

/*@media (max-width: 1351px) {*/
/*    main {*/
/*        padding: 25px 24px;*/
/*    }*/

/*    .product-content-container {*/
/*        display: flex;*/
/*        padding: 25px 24px;*/
/*    }*/
/*}*/

/*@media (max-width: 1280px) {*/
/*    .product-sidebar {*/
/*        width: 100%;*/
/*    }*/
/*}*/

@media (max-width: 600px) {
    .services-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin: 24px 0;
    }

    .falnic-product-rating {
        top: 17px;
        left: 4px;
        right: auto;
        bottom: auto;
    }

    .falnic-product-rating {
        top: 11px;
        left: 4px;
        right: auto;
    }

    .services-links a,
    .services-links span {
        padding: 11px 9px;
        gap: 8px;
        font-size: 11px;
        width: 48%;
    }

    .services-links a svg,
    .services-links span svg {
        width: 20px;
    }

    .product-gallery-and-features {
        flex-direction: column;
    }

    .float-tabs>div>span {
        padding: 8px 14px;
        font-size: 14px;
    }

    .gallery {
        width: 100%;
    }

    .base-info {
        width: 100%;
    }

    .falnic-form .submit {
        width: 100%;
    }

    .contact-cards {
        grid-template-columns: repeat(1, 1fr);
    }

    .falnic-commentlist .children {
        padding-right: 6px !important;
    }

    .falnic-commentlist .children::before {
        right: 5px;
    }

    #comments .comment-meta {
        margin-block-end: 0;
    }

    .cta-banner {
        background-image: url(https://stage.falnic.com/wp-content/uploads/Frame-1000005156-2.webp);
        min-height: 376px;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 24px 14px;
        justify-content: flex-start;
        align-items: center;
        margin: 16px 0;
    }

    .cta-content p {
        font-size: 18px;
        font-weight: 600;
    }

    .cta-content span {
        font-size: 14px;
        font-weight: 400;
    }

    .cta-button {
        padding: 3px 48px;
        font-size: 12px;
        height: 40px;
        min-width: 100%;
    }

    .purchase-header {
        display: none;

    }

    .shipping-info {
        display: none;
    }

    .promo-box {

        display: none;
    }

    .product-sidebar {
        position: fixed;
        bottom: 55px;
        height: fit-content;
        z-index: 101;
        left: 0;
        top: auto;
        display: flex;
        align-items: flex-end;
        width: 100%;
    }

    .purchase-box {
        padding: 16px;
    }

    .sidebar-inner {
        width: 100%;
    }

    .purchase-box {
        margin-bottom: 0;
    }

    main.product-page-container {
        padding-top: 0px;
    }
}