@font-face {
    font-family: 'Peyda';
    src: url('../fonts/PeydaFaNumWeb-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Peyda';
    src: url('../fonts/PeydaFaNumWeb-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    margin: 0 !Important;
}

* {

    list-style: none;
}


body {
    font-family: "peyda";
    font-size: 1rem;
    line-height: 2;
    color: var(--black);

}

img {
    height: auto !important;
    max-width: 100%;
}

a {
    text-decoration: none !important;
    color: unset;
}


ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 1.6rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.9rem;
}

h6 {
    font-size: 0.8rem;
}

.text-justify {
    text-align: justify;
}

.oneline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 1;
    -moz-line-clamp: 1;
    -ms-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
}

.towline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    -ms-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.threeline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 3;
    -moz-line-clamp: 3;
    -ms-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}


.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 1rem 0;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
}

.post-content figure {
    margin: 1.2rem 0;
}

.post-content figcaption {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    margin-top: .35rem;
}

/* فهرست‌ها */
.post-content ul, .post-content ol {
    margin: .8rem 0;
    padding-inline-start: 1.25rem;
}

.post-content li {
    margin: .25rem 0;
}

.post-content ul li {
    list-style: disc;
}

.post-content ol li {
    list-style: decimal;
}

/* نقل‌قول */
.post-content blockquote {
    margin: 1.25rem 0;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #fff, #fafafa);
    position: relative;
}

.post-content blockquote::before {
    content: "“";
    position: absolute;
    inset-inline-start: 10px;
    top: -8px;
    font-size: 42px;
    line-height: 1;
    color: #e5e7eb;
    pointer-events: none;
}

.post-content blockquote p {
    margin: 0.35rem 0;
}

/* کد و جداول */
.post-content code {
    background: #111827;
    color: #fff;
    padding: .2em .45em;
    border-radius: 6px;
    font-size: .875em;
}

.post-content pre {
    background: #0b1220;
    color: #d1d5db;
    border-radius: 12px;
    padding: 14px 16px;
    overflow: auto;
    line-height: 1.8;
    margin: 1rem 0;
}

.post-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 15px;
}

.post-content th, .post-content td {
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    vertical-align: top;
}

.post-content thead th {
    background: #f8fafc;
    font-weight: 700;
}

/* لینک‌ها */
.post-content a {
    text-decoration: none;
    color: var(--secondary);
}

.post-content a:hover {
    border-bottom-style: solid;
}

/* صفحه‌بندی داخلی پست */
.page-links {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    border: 1px dashed #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
}

/* ===============================
   4) کامنت‌ها — نمایش ستونی + ریپلای تمیز
   =============================== */


/* ظرف کلی بخش دیدگاه‌ها */
.comments {
    margin-top: 2.2rem;
    border-top: 1px solid rgba(0, 0, 0, .06);
    padding-top: 1.5rem;
}

/* ساختار پایه لیست‌ها */
.comment-list, .children {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* هر کامنت: به‌صورت بلوک (ستونی) */
.comment {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.comment:last-child {
    border-bottom: none;
}

/* هد (آواتار + نام + تاریخ) */
.comment .comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.comment .comment-author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.comment .comment-author .fn {
    font-weight: 800;
    color: #111827;
    font-size: 14px;
}

.comment .comment-metadata a {
    color: inherit;
    text-decoration: none;
}

.comment .comment-metadata a:hover {
    text-decoration: underline;
}

/* متن کامنت */
.comment .comment-content {
    font-size: 15px;
    line-height: 1.9;
    color: #1f2937;
    margin-top: 6px;
}

/* لینک پاسخ */
.comment .reply {
    margin-top: 10px;
}

.comment .reply .comment-reply-link {
    font-size: 13px;
    border: 1px solid rgba(0, 0, 0, .1);
    padding: 4px 12px;
    border-radius: 999px;
    text-decoration: none;
}

.comment .reply .comment-reply-link:hover {
    background: #f3f4f6;
}

/* حالت نویسنده پست */
.bypostauthor > .comment-body,
.bypostauthor > .comment {
    border-inline-start: 3px solid #10b981;
    padding-inline-start: 12px;
    background: linear-gradient(180deg, #ffffff, #fbfffd);
    border-radius: 8px;
}

/* ── ریپلای‌ها (children) : خطوط راهنما و فرورفتگی منطقی ── */
.children {
    margin-top: 10px;
    padding-inline-start: 18px; /* فرورفتگی منطقی برای RTL/LTR */
    border-inline-start: 2px dashed #e5e7eb;
}

.children .comment {
    border-bottom: none; /* داخل شاخه فرعی خط جداکننده نمی‌خواهیم */
    padding: 14px 0 6px 0;
}

/* عمق‌های بیشتر: کمی کم‌رنگ‌تر */
.children .children {
    border-inline-start: 2px dashed #f0f0f0;
    padding-inline-start: 16px;
}

/* رفع بی‌نظمی مارک‌آپ‌های مختلف تم‌ها */
.comment-body {
    margin: 0;
}

.comment-meta + .comment-content {
    margin-top: 4px;
}

/* پیام در انتظار تایید */
.comment-awaiting-moderation {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: #b45309;
    background: #fff7ed;
    border: 1px solid #fdba74;
    padding: 2px 8px;
    border-radius: 8px;
}

/* فرم دیدگاه‌ها — طبق خواسته شما تغییری نمی‌دهیم،
   فقط فاصله‌ی بالا تا لیست را استاندارد می‌کنیم */
.comment-respond {
    margin-top: 1.75rem;
}

.woocommerce p.stars a::before {
    color: #fdba74;
}

.woocommerce #review_form #respond .form-submit input {
    background: unset !important;
    font-size: 16px !important;
    color: var(--primary) !important;
    text-decoration: underline;
    text-underline-offset: 0.5rem;
    padding: 0;
    line-height: 2;
}

h2.woocommerce-Reviews-title {
    font-size: 1rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
    display: none;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
    margin: 0;

}

.woocommerce #reviews #comments ol.commentlist {
    padding: 0;
}

span.woocommerce-review__dash {
    display: none;
}

.commentlist p.meta {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin: 0.5rem 0 !important;
    border-bottom: 1px solid var(--g4);
}

.woocommerce .star-rating {
    float: unset !important;
    color: #fdba74;
}

strong.woocommerce-review__author {
    font-size: 14px;
    color: var(--primary);
}

/* ===============================
   5) ریزبهینه‌سازی‌های ریسپانسیو
   =============================== */
@media (max-width: 991.98px) {
    .single-blog .info {
        font-size: 13px;
    }

    .post-content {
        font-size: 15.5px;
    }
}

@media (max-width: 575.98px) {
    .single-blog .single-excerpt {
        font-size: 15px;
    }

    .post-content {
        font-size: 15px;
    }
}

/* ظرف فرم دیدگاه */
.comment-respond {
    margin-top: 2.25rem;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 14px;
    padding: 16px;
    background: #fff;
}

/* عنوان فرم */
.comment-reply-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 800;
}

/* متن‌های راهنما و لاگین */
.comment-notes,
.logged-in-as {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

/* گروه‌های فرم */
.comment-form p {
    margin-bottom: 10px;
}

/* لیبل‌ها */
.comment-form label {
    display: block;
    font-size: 16px;
    color: var(--black);
    margin-bottom: 6px;
}

/* فیلدهای ورودی */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    background: #fff;
}

/* textarea بزرگ‌تر */
.comment-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* حالت فوکوس */
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(147, 197, 253, .25);
}

/* کوکی‌ها و چک‌باکس */
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-form-cookies-consent input {
    width: 16px;
    height: 16px;
}

/* دکمه ارسال */
.form-submit input[type="submit"] {
    display: inline-block;
    border: none;
    background: #111827;
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}

.form-submit input[type="submit"]:hover {
    background: #0f172a;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.form-submit input[type="submit"]:active {
    transform: translateY(1px);
}

div#wpadminbar {
    position: relative;
}


.footer-shape {
    width: 118px;
    height: 35px;
    aspect-ratio: 98 / 29;

    background: white;

    --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 29 98 29' preserveAspectRatio='none'%3E%3Cpath d='M94.5196 29C110.886 29 65.1008 0 49 0C32.8992 0 -12.8862 29 3.48035 29C19.847 29 23.9386 58 49 58C74.0614 58 78.153 29 94.5196 29Z' fill='black'/%3E%3C/svg%3E");

    -webkit-mask: var(--shape) center / 100% 100% no-repeat;
    mask: var(--shape) center / 100% 100% no-repeat;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

button#to-top-btn {
    background: var(--primary);
    color: white;
    border: unset;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -40%);
}

/* ── Accordion: فقط موبایل ── */
@media (max-width: 767.98px) {


    .footer-accordion-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: none;
        border: none;
        color: inherit;
        padding: 8px 0;
        cursor: pointer;
        font-size: 16px;
        font-weight: normal;
        text-align: right;
    }

    .footer-accordion-toggle i {
        transition: .3s ease;
        transform: rotate(270deg);
    }

    .footer-accordion-toggle[aria-expanded="true"] i {
        transform: rotate(90deg);
        color: var(--secondary);
    }


    .footer-accordion-body {
        overflow: hidden;
        max-height: 0;
        transition: max-height .35s ease, padding .35s ease;
        padding-bottom: 0;
    }

    .footer-accordion-body.is-open {
        max-height: 400px;
        padding-bottom: 14px;
    }

    /* عنوان h5 در دسکتاپ — در موبایل داخل دکمه نمایش داده می‌شه */
    .footer-accordion-col .desktop-title {
        display: none;
    }

    .footer-accordion-wrapper {
        padding: 0.25rem 0.75rem;
        background: #FFFFFF30;
        border-radius: 14px;
    }


}

/* دسکتاپ: همه چیز عادی */
@media (min-width: 768px) {
    .footer-accordion-toggle {
        display: none;
    }

    .footer-accordion-body {
        max-height: none !important;
        overflow: visible !important;
    }

    .footer-accordion-col .desktop-title {
        display: block;
    }
}

:root {
    --primary: #13427F;
    --secondary: #F08B00;
    --black: #131313;
    --g1: #354151;
    --g2: #546275;
    --g3: #798596;
    --g4: #D1D4D9;
    --g5: #F2F3F5;
    --g6: #F7F8FA;
    --white: #ffffff;
}

/* Text Colors */
/* Text Colors */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-black {
    color: var(--black) !important;
}

.text-g1 {
    color: var(--g1) !important;
}

.text-g2 {
    color: var(--g2) !important;
}

.text-g3 {
    color: var(--g3) !important;
}

.text-g4 {
    color: var(--g4) !important;
}

.text-g5 {
    color: var(--g5) !important;
}

.text-g6 {
    color: var(--g6) !important;
}

.text-white {
    color: var(--white) !important;
}

.text-white-70 {
    color: #ffffff70 !important;
}

/* Background Colors */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-black {
    background-color: var(--black) !important;
}

.bg-g1 {
    background-color: var(--g1) !important;
}

.bg-g2 {
    background-color: var(--g2) !important;
}

.bg-g3 {
    background-color: var(--g3) !important;
}

.bg-g4 {
    background-color: var(--g4) !important;
}

.bg-g5 {
    background-color: var(--g5) !important;
}

.bg-g6 {
    background-color: var(--g6) !important;
}

.bg-white {
    background-color: var(--white) !important;
}

/* Border Colors */
.border-primary {
    border-color: var(--primary) !important;
}

.border-secondary {
    border-color: var(--secondary) !important;
}

.border-black {
    border-color: var(--black) !important;
}

.border-g1 {
    border-color: var(--g1) !important;
}

.border-g2 {
    border-color: var(--g2) !important;
}

.border-g3 {
    border-color: var(--g3) !important;
}

.border-g4 {
    border-color: var(--g4) !important;
}

.border-g5 {
    border-color: var(--g5) !important;
}

.border-g6 {
    border-color: var(--g6) !important;
}

.border-white {
    border-color: var(--white) !important;
}

/* Hover Text */
.hover-text-primary:hover {
    color: var(--primary) !important;
}

.hover-text-secondary:hover {
    color: var(--secondary) !important;
}

.hover-text-black:hover {
    color: var(--black) !important;
}

.hover-text-g1:hover {
    color: var(--g1) !important;
}

.hover-text-g2:hover {
    color: var(--g2) !important;
}

.hover-text-g3:hover {
    color: var(--g3) !important;
}

.hover-text-g4:hover {
    color: var(--g4) !important;
}

.hover-text-g5:hover {
    color: var(--g5) !important;
}

.hover-text-g6:hover {
    color: var(--g6) !important;
}

.hover-text-white:hover {
    color: var(--white) !important;
}

/* Hover Background */
.hover-bg-primary:hover {
    background-color: var(--primary) !important;
}

.hover-bg-secondary:hover {
    background-color: var(--secondary) !important;
}

.hover-bg-black:hover {
    background-color: var(--black) !important;
}

.hover-bg-g1:hover {
    background-color: var(--g1) !important;
}

.hover-bg-g2:hover {
    background-color: var(--g2) !important;
}

.hover-bg-g3:hover {
    background-color: var(--g3) !important;
}

.hover-bg-g4:hover {
    background-color: var(--g4) !important;
}

.hover-bg-g5:hover {
    background-color: var(--g5) !important;
}

.hover-bg-g6:hover {
    background-color: var(--g6) !important;
}

.hover-bg-white:hover {
    background-color: var(--white) !important;
}

/* Hover Border */
.hover-border-primary:hover {
    border-color: var(--primary) !important;
}

.hover-border-secondary:hover {
    border-color: var(--secondary) !important;
}

.hover-border-black:hover {
    border-color: var(--black) !important;
}

.hover-border-g1:hover {
    border-color: var(--g1) !important;
}

.hover-border-g2:hover {
    border-color: var(--g2) !important;
}

.hover-border-g3:hover {
    border-color: var(--g3) !important;
}

.hover-border-g4:hover {
    border-color: var(--g4) !important;
}

.hover-border-g5:hover {
    border-color: var(--g5) !important;
}

.hover-border-g6:hover {
    border-color: var(--g6) !important;
}

.hover-border-white:hover {
    border-color: var(--white) !important;
}

/* Font Sizes - Desktop: 8px to 28px */
.fs-8 {
    font-size: 0.5rem;
}

.fs-9 {
    font-size: 0.5625rem;
}

.fs-10 {
    font-size: 0.625rem;
}

.fs-11 {
    font-size: 0.6875rem;
}

.fs-12 {
    font-size: 0.75rem;
}

.fs-13 {
    font-size: 0.8125rem;
}

.fs-14 {
    font-size: 0.875rem;
}

.fs-15 {
    font-size: 0.9375rem;
}

.fs-16 {
    font-size: 1rem;
}

.fs-17 {
    font-size: 1.0625rem;
}

.fs-18 {
    font-size: 1.125rem;
}

.fs-19 {
    font-size: 1.1875rem;
}

.fs-20 {
    font-size: 1.25rem;
}

.fs-21 {
    font-size: 1.3125rem;
}

.fs-22 {
    font-size: 1.375rem;
}

.fs-23 {
    font-size: 1.4375rem;
}

.fs-24 {
    font-size: 1.5rem;
}

.fs-25 {
    font-size: 1.5625rem;
}

.fs-26 {
    font-size: 1.625rem;
}

.fs-27 {
    font-size: 1.6875rem;
}

.fs-28 {
    font-size: 1.75rem;
}

.fs-32 {
    font-size: 2rem;
}

.fs-36 {
    font-size: 2.25rem;
}

.fs-40 {
    font-size: 2.5rem;
}

.fs-44 {
    font-size: 2.75rem;
}

.fs-48 {
    font-size: 3rem;
}

.fs-50 {
    font-size: 3.125rem;
}


/* Font Sizes - Mobile: 8px to 28px */
@media (max-width: 768px) {
    .fsm-8 {
        font-size: 0.5rem;
    }

    .fsm-9 {
        font-size: 0.5625rem;
    }

    .fsm-10 {
        font-size: 0.625rem;
    }

    .fsm-11 {
        font-size: 0.6875rem;
    }

    .fsm-12 {
        font-size: 0.75rem;
    }

    .fsm-13 {
        font-size: 0.8125rem;
    }

    .fsm-14 {
        font-size: 0.875rem;
    }

    .fsm-15 {
        font-size: 0.9375rem;
    }

    .fsm-16 {
        font-size: 1rem;
    }

    .fsm-17 {
        font-size: 1.0625rem;
    }

    .fsm-18 {
        font-size: 1.125rem;
    }

    .fsm-19 {
        font-size: 1.1875rem;
    }

    .fsm-20 {
        font-size: 1.25rem;
    }

    .fsm-21 {
        font-size: 1.3125rem;
    }

    .fsm-22 {
        font-size: 1.375rem;
    }

    .fsm-23 {
        font-size: 1.4375rem;
    }

    .fsm-24 {
        font-size: 1.5rem;
    }

    .fsm-25 {
        font-size: 1.5625rem;
    }

    .fsm-26 {
        font-size: 1.625rem;
    }

    .fsm-27 {
        font-size: 1.6875rem;
    }

    .fsm-28 {
        font-size: 1.75rem;
    }

    .fsm-32 {
        font-size: 2rem;
    }

    .fsm-36 {
        font-size: 2.25rem;
    }

    .fsm-40 {
        font-size: 2.5rem;
    }

    .fsm-44 {
        font-size: 2.75rem;
    }

    .fsm-48 {
        font-size: 3rem;
    }

    .fsm-50 {
        font-size: 3.125rem;
    }
}


.slider .info-box {

    right: 5%;
    top: 50%;
    transform: translateY(-50%);

}

.slider-control-wrapper {
    position: absolute;
    bottom: 0.5rem;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 1rem;
    border-radius: 80px;
}

span.swiper-pagination-bullet {
    opacity: 1;
    background: var(--g4);
    height: 12px;
    width: 3px;
    border-radius: 16px;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--primary);
    height: 18px;
}

/* ─── هدر موبایل: چیدمان پایه (همه اندازه‌های زیر 992px) ─── */
.mobile-header {
    height: 64px;
    padding: 8px 0;
}

.mobile-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 100%;
}

.mobile-header__item {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.mobile-header__logo {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.mobile-header__actions {
    gap: 12px;
}

.mobile-header__logo img,
.mobile-logo {
    max-width: 110px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.mobile-header__item .icon {
    font-size: 22px;
    color: var(--g1);
}

.mobile-header__actions .action-search,
.mobile-header__actions .header-cart {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--g1);
    text-decoration: none;
    line-height: 1;
}

/* موبایل کوچک (زیر 380px) */
@media (max-width: 379.98px) {
    .mobile-header {
        height: 56px;
        padding: 6px 0;
    }

    .mobile-header__inner {
        gap: 4px;
    }

    .mobile-header__actions {
        gap: 8px;
    }

    .mobile-header__logo img,
    .mobile-logo {
        max-width: 80px !important;
        max-height: 36px !important;
    }

    .mobile-header__item .icon {
        font-size: 20px !important;
    }
}

/* ─── Mobile Nav Off-Canvas ─── */
.mobile-nav-wrapper {
    display: contents;
}

.mobile-nav__hamburger {
    background: transparent;
    border: 0;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* صحنه: ظرف ثابت */
.mobile-nav__scene {
    position: fixed;
    inset: 0;
    z-index: 1050;
    pointer-events: none;
}

/* پنل آف-کنواس — پیش‌فرض: پنهان در خارج از صفحه */
.mobile-nav__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: #fff;
    overflow-y: auto;
    transform: translateX(110%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    direction: rtl;
    z-index: 2;
    pointer-events: auto;
}

/* پنل باز */
.mobile-nav__panel.is-open {
    transform: translateX(0);
}

/* هدر پنل */
.mobile-nav__panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.mobile-nav__logo img {
    max-width: 100px;
    height: auto;
}

.mobile-nav__close {
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    padding: 0 4px;
}

/* آیتم‌های منو */
.mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav__item {
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.mobile-nav__link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    color: #222;
    text-decoration: none;
    font-size: 15px;
}

.mobile-nav__link:hover {
    color: #2b67b6;
}

.mobile-nav__link--sub {
    padding-right: 32px;
    font-size: 14px;
    color: #555;
}

/* دکمه تاگل زیرمنو */
.mobile-nav__toggle {
    background: transparent;
    border: 0;
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.mobile-nav__toggle-icon {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    transform: rotate(45deg);
    transition: transform 0.2s;
}

.mobile-nav__toggle[aria-expanded="true"] .mobile-nav__toggle-icon {
    transform: rotate(-135deg);
}

/* زیرمنو */
.mobile-nav__dropdown {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    background: #f9f9f9;
}

.mobile-nav__dropdown[hidden] {
    display: none;
}

/* Overlay */
.mobile-nav__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-nav__overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* ─── تبلت (768px تا 991px) ─── */
@media (min-width: 768px) and (max-width: 991.98px) {
    .mobile-header {
        height: 68px;
        padding: 12px 0;
    }

    .mobile-header__logo img,
    .mobile-logo {
        max-width: 130px !important;
        max-height: 44px !important;
    }

    .mobile-header__item {
        min-width: 56px;
    }

    .mobile-header__actions {
        gap: 16px;
    }


}

@media (max-width: 590px) {
    .slider .info-box.position-absolute {
        top: 5%;
        right: 5%;
        width: 90%;
        transform: unset;
        text-align: center !important;
    }
}

span.price {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}


.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--primary);
    color: white;
}

.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
    margin: 0;
    text-decoration: none;
    line-height: 1;
    font-size: 1em;
    font-weight: 400;
    padding: unset;
    min-width: unset;
    height: 2rem;
    width: 2rem;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    background: var(--g4);
    border-radius: 50%;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-block;
    white-space: nowrap;
    padding: 0;
    clear: both;
    border: unset;
    border-left: unset;
    margin: 1px;
    margin-top: 2rem;

}

.woocommerce nav.woocommerce-pagination ul li {
    border-left: unset;
    padding: 0;
    margin: 0;
    float: unset;
    display: inline;
    overflow: hidden;
}

.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    gap: .5rem;
    white-space: nowrap;
    padding: 0;
    clear: both;
    border: unset;
    border-left: unset;
    margin: 1px;
    justify-content: center;
    margin-top: 2em;
}

.order-by-wrapper {
    width: max-content;
    background: var(--g4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1rem;
    border-radius: 12px;
    gap: .5rem;
}

.woocommerce .woocommerce-ordering select {
    vertical-align: top;
    background: unset;
    border: unset;
}

.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border: 1px solid var(--g3, #cacccf);
    border-radius: 10px;
    background: #fff;
    color: var(--secondary, #2D3034);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease;
    margin: 0 !important;
}


/* =========================
   WooCommerce Checkout Fix
   ========================= */

.woocommerce-checkout {
    background: var(--g4);
}

.woocommerce-checkout .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px 60px;
}

/* پیام‌ها */
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-error {
    background: var(--g3);
    border: none;
    border-radius: 14px;
    color: var(--primary);
    padding: 14px 18px;
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-error {
    background: #fff1f1;
    color: #b42318;
}

/* فرم اصلی */
.woocommerce-checkout form.checkout {

}

.woocommerce-checkout .woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
    position: static;

    margin-top: 4px;
}

/* ستون اطلاعات مشتری */
.woocommerce-checkout #customer_details {
    flex: 1 1 700px;
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(0, 56, 77, 0.08);
}

/* ستون جمع سفارش */
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    flex: 0 0 320px;
    width: 320px;
}

.woocommerce-checkout #order_review_heading {
    background: var(--g4);
    border-radius: 18px 18px 0 0;
    padding: 20px;
    margin: 0;
    box-shadow: 0 10px 28px rgba(0, 56, 77, 0.08);
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
    width: 100%;
}

.woocommerce-checkout #order_review {
    background: #fff;
    border-radius: 0 0 18px 18px;
    padding: 16px 20px 20px;
    box-shadow: 0 10px 28px rgba(0, 56, 77, 0.08);
    position: sticky;
    top: 20px;
    width: 100%;
}

/* عنوان‌ها */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 20px;
}

/* اصلاح ساختار col2-set */
.woocommerce-checkout .col2-set {
    display: block;
    width: 100%;
    margin: 0;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* حذف کامل ستون یادداشت سفارش از ظاهر */
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_comments_field,
.woocommerce-checkout textarea#order_comments {
    display: none !important;
}

/* فرم‌ها */
.woocommerce-checkout .form-row {
    margin-bottom: 16px;
}

.woocommerce-checkout .form-row label {
    display: block;
    color: var(--black);
    font-weight: 700;
    margin-bottom: 8px;
}

.woocommerce-checkout .form-row .required {
    color: var(--secondary);
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container--default .select2-selection--single {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--g4);
    border-radius: 12px;
    background: #f7f7f7;
    color: var(--black);
    padding: 0 14px;
    transition: all 0.25s ease;
}

.woocommerce-checkout .form-row textarea {
    min-height: 120px;
    padding: 14px;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 175, 239, 0.15);
    background: #fff;
}

/* select2 */
.woocommerce-checkout .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal;
    padding-right: 0;
    padding-left: 0;
    color: var(--black);
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px;
}

/* جدول سفارش */
.woocommerce-checkout table.shop_table {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    background: var(--g4);
    margin-bottom: 20px;
}

.woocommerce-checkout table.shop_table thead th {
    background: var(--primary);
    color: #fff;
    padding: 14px 12px;
    font-weight: 800;
    border: none;
}

.woocommerce-checkout table.shop_table td,
.woocommerce-checkout table.shop_table th {
    border-top: 1px solid var(--g4);
    padding: 14px 12px;
}

.woocommerce-checkout table.shop_table tbody td,
.woocommerce-checkout table.shop_table tfoot td,
.woocommerce-checkout table.shop_table tfoot th {
    color: var(--black);
    background: #fff;
}

.woocommerce-checkout table.shop_table .order-total th,
.woocommerce-checkout table.shop_table .order-total td {
    color: var(--primary);
    font-weight: 900;
    font-size: 17px;
}

/* باکس پرداخت */
.woocommerce-checkout #payment {
    background: var(--g4);
    border-radius: 16px;
    overflow: hidden;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid rgba(0, 56, 77, 0.1);
    padding: 16px;
    margin: 0;
}

.woocommerce-checkout #payment ul.payment_methods li {
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--black);
}

.woocommerce-checkout #payment div.payment_box {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    color: var(--g1);
    margin-top: 10px;
}

.woocommerce-checkout #payment div.form-row {
    padding: 16px;
}

/* دکمه ثبت سفارش */
.woocommerce-checkout #place_order {
    width: 100%;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 800;
    transition: all 0.25s ease;
}

.woocommerce-checkout #place_order:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* دکمه‌های عمومی */
.woocommerce-checkout .button,
.woocommerce-checkout button.button,
.woocommerce-checkout input.button,
.woocommerce-checkout a.button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
}

.woocommerce-checkout .button:hover,
.woocommerce-checkout button.button:hover,
.woocommerce-checkout input.button:hover,
.woocommerce-checkout a.button:hover {
    background: var(--secondary);
    color: #fff;
}

/* RTL */
.rtl.woocommerce-checkout table.shop_table th,
.rtl.woocommerce-checkout table.shop_table td,
.rtl.woocommerce-checkout .form-row label,
.rtl.woocommerce-checkout #customer_details,
.rtl.woocommerce-checkout #order_review,
.rtl.woocommerce-checkout #order_review_heading {
    text-align: right;
}

/* موبایل */
@media (max-width: 992px) {
    .woocommerce-checkout form.checkout {
        flex-direction: column;
    }

    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        width: 100%;
        flex: 1 1 100%;
    }

    .woocommerce-checkout #order_review {
        position: static;
    }
}

@media (max-width: 768px) {
    .woocommerce-checkout .woocommerce {
        padding: 20px 12px 40px;
    }

    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review {
        padding: 16px;
    }

    .woocommerce-checkout #order_review_heading {
        padding: 16px 16px 0;
        font-size: 21px;
    }

    .woocommerce-checkout .woocommerce-billing-fields h3,
    .woocommerce-checkout .woocommerce-shipping-fields h3 {
        font-size: 21px;
    }

    section.wr-offer-section {
        margin: 0;
    }

    section.main-header.bg-main.text-white {
        display: none;
    }
}

/* WooCommerce Cart Page */
.woocommerce-cart {
    background: var(--g4);
}

.woocommerce-cart .site-main,
.woocommerce-cart main {
    padding: 40px 0;
}

/* Cart wrapper */
.woocommerce-cart .woocommerce {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Notices */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error {
    border: none;
    border-radius: 14px;
    background: var(--g4);
    color: var(--primary);
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0, 56, 77, 0.08);
}

.woocommerce-cart .woocommerce-message::before,
.woocommerce-cart .woocommerce-info::before {
    color: var(--secondary);
}

/* Cart table */
.woocommerce-cart table.shop_table {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 56, 77, 0.08);
}

.woocommerce-cart table.shop_table th {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    padding: 18px 16px;
    border: none;
}

.woocommerce-cart table.shop_table td {
    border-top: 1px solid var(--g4);
    padding: 18px 16px;
    color: var(--black);
    vertical-align: middle;
}

/* Product image */
.woocommerce-cart table.cart img {
    width: 76px;
    border-radius: 14px;
}

/* Product name */
.woocommerce-cart table.cart .product-name a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.woocommerce-cart table.cart .product-name a:hover {
    color: var(--secondary);
}

/* Remove product */
.woocommerce-cart a.remove {
    width: 32px;
    height: 32px;
    line-height: 30px;
    border-radius: 50%;
    background: #fff;
    color: var(--g2) !important;
    border: 1px solid var(--g4);
    transition: 0.25s ease;
}

.woocommerce-cart a.remove:hover {
    background: #ffeded;
    color: #d63638 !important;
}

/* Quantity */
.woocommerce-cart .quantity .qty {
    width: 82px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--g4);
    background: var(--g4);
    color: var(--black);
    text-align: center;
    font-weight: 600;
}

.woocommerce-cart .quantity .qty:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 175, 239, 0.16);
}

/* Coupon */
.woocommerce-cart .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 1rem;
}

.woocommerce-cart .coupon input.input-text {
    min-width: 220px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--g4);
    background: var(--g4);
    color: var(--black);
    padding: 0 14px;
}

.woocommerce-cart .coupon input.input-text:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 175, 239, 0.16);
}

/* Buttons */
.woocommerce-cart .button,
.woocommerce-cart button.button,
.woocommerce-cart input.button,
.woocommerce-cart a.button {
    border: none;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    padding: 14px 22px;
    font-weight: 700;
    transition: 0.25s ease;
}

.woocommerce-cart .button:hover,
.woocommerce-cart button.button:hover,
.woocommerce-cart input.button:hover,
.woocommerce-cart a.button:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
}

.woocommerce-cart .button:disabled,
.woocommerce-cart button.button:disabled,
.woocommerce-cart input.button:disabled {
    background: var(--g3);
    color: #fff;
    opacity: 1;
}

/* Cart totals */
.woocommerce-cart .cart-collaterals {
    margin-top: 30px;
}

.woocommerce-cart .cart_totals {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(0, 56, 77, 0.08);
}

.woocommerce-cart .cart_totals h2 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 18px;
}

.woocommerce-cart .cart_totals table.shop_table {
    box-shadow: none;
    border-radius: 14px;
    background: var(--g4);
}

.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
    background: transparent;
    color: var(--black);
    border-top: 1px solid var(--g4);
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    color: var(--primary);
    font-size: 18px;
    font-weight: 800;
}

/* Checkout button */
.woocommerce-cart .wc-proceed-to-checkout {
    padding: 20px 0 0;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    border-radius: 16px;
    background: var(--secondary);
    color: #fff;
    padding: 16px 24px;
    font-size: 17px;
    font-weight: 800;
    text-align: center;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--primary);
    color: #fff;
}

/* Cross sells */
.woocommerce-cart .cross-sells {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(0, 56, 77, 0.08);
}

.woocommerce-cart .cross-sells h2 {
    color: var(--primary);
    font-weight: 800;
}

/* Empty cart */
.woocommerce-cart .cart-empty {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    color: var(--primary);
    text-align: center;
    box-shadow: 0 12px 32px rgba(0, 56, 77, 0.08);
}

.woocommerce-cart .return-to-shop {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-cart .woocommerce {
        padding: 0 12px;
    }

    .woocommerce-cart table.shop_table {
        border-radius: 14px;
    }

    .woocommerce-cart table.shop_table td {
        padding: 14px 12px;
    }

    .woocommerce-cart table.cart img {
        width: 64px;
    }

    .woocommerce-cart .coupon {
        flex-direction: column;
        align-items: stretch;
    }

    .woocommerce-cart .coupon input.input-text,
    .woocommerce-cart .coupon .button {
        width: 100%;
    }

    .woocommerce-cart .cart_totals {
        padding: 18px;
    }

    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        font-size: 16px;
    }

    .woocommerce-cart .button:disabled, .woocommerce-cart button.button:disabled, .woocommerce-cart input.button:disabled {
        float: unset;
    }

}

td.product-quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

td.product-quantity .quantity {
    display: flex;
    align-items: center;
    gap: .5rem;

}

/* RTL support */
.rtl.woocommerce-cart table.shop_table th,
.rtl.woocommerce-cart table.shop_table td {
    text-align: right;
}

.rtl.woocommerce-cart .coupon {
    float: right;
}


.woocommerce-cart {
    background: var(--g4);
}

.woocommerce-cart .site-main,
.woocommerce-cart main {
    padding: 40px 0;
}

/* Cart wrapper */
.woocommerce-cart .woocommerce {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Notices */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error {
    border: none;
    border-radius: 14px;
    background: var(--g4);
    color: var(--primary);
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0, 56, 77, 0.08);
}

.woocommerce-cart .woocommerce-message::before,
.woocommerce-cart .woocommerce-info::before {
    color: var(--secondary);
}

/* Cart table */
.woocommerce-cart table.shop_table {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 56, 77, 0.08);
}

.woocommerce-cart table.shop_table th {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    padding: 18px 16px;
    border: none;
}

.woocommerce-cart table.shop_table td {
    border-top: 1px solid var(--g4);
    padding: 18px 16px;
    color: var(--black);
    vertical-align: middle;
}

/* Product image */
.woocommerce-cart table.cart img {
    width: 76px;
    border-radius: 14px;
}

/* Product name */
.woocommerce-cart table.cart .product-name a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.woocommerce-cart table.cart .product-name a:hover {
    color: var(--secondary);
}

/* Remove product */
.woocommerce-cart a.remove {
    width: 32px;
    height: 32px;
    line-height: 30px;
    border-radius: 50%;
    background: #fff;
    color: var(--g1) !important;
    border: 1px solid var(--g4);
    transition: 0.25s ease;
}

.woocommerce-cart a.remove:hover {
    background: #ffeded;
    color: #d63638 !important;
}

/* Quantity */
.woocommerce-cart .quantity .qty {
    width: 82px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--g4);
    background: var(--g4);
    color: var(--black);
    text-align: center;
    font-weight: 600;
}

.woocommerce-cart .quantity .qty:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 175, 239, 0.16);
}

/* Coupon */
.woocommerce-cart .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
}

.woocommerce-cart .coupon input.input-text {
    min-width: 220px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--g4);
    background: var(--g4);
    color: var(--black);
    padding: 0 14px;
}

.woocommerce-cart .coupon input.input-text:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 175, 239, 0.16);
}

/* Buttons */
.woocommerce-cart .button,
.woocommerce-cart button.button,
.woocommerce-cart input.button,
.woocommerce-cart a.button {
    border: none;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    padding: 14px 22px;
    font-weight: 700;
    transition: 0.25s ease;
}

.woocommerce-cart .button:hover,
.woocommerce-cart button.button:hover,
.woocommerce-cart input.button:hover,
.woocommerce-cart a.button:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
}

.woocommerce-cart .button:disabled,
.woocommerce-cart button.button:disabled,
.woocommerce-cart input.button:disabled {
    background: var(--g3);
    color: #fff;
    opacity: 1;
}

/* Cart totals */
.woocommerce-cart .cart-collaterals {
    margin-top: 30px;
}

.woocommerce-cart .cart_totals {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(0, 56, 77, 0.08);
}

.woocommerce-cart .cart_totals h2 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 18px;
}

.woocommerce-cart .cart_totals table.shop_table {
    box-shadow: none;
    border-radius: 14px;
    background: var(--g4);
}

.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
    background: transparent;
    color: var(--black);
    border-top: 1px solid var(--g4);
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    color: var(--primary);
    font-size: 18px;
    font-weight: 800;
}

/* Checkout button */
.woocommerce-cart .wc-proceed-to-checkout {
    padding: 20px 0 0;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    border-radius: 16px;
    background: var(--secondary);
    color: #fff;
    padding: 16px 24px;
    font-size: 17px;
    font-weight: 800;
    text-align: center;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--primary);
    color: #fff;
}

/* Cross sells */
.woocommerce-cart .cross-sells {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(0, 56, 77, 0.08);
}

.woocommerce-cart .cross-sells h2 {
    color: var(--primary);
    font-weight: 800;
}

/* Empty cart */
.woocommerce-cart .cart-empty {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    color: var(--primary);
    text-align: center;
    box-shadow: 0 12px 32px rgba(0, 56, 77, 0.08);
}

.woocommerce-cart .return-to-shop {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-cart .woocommerce {
        padding: 0 12px;
    }

    .woocommerce-cart table.shop_table {
        border-radius: 14px;
    }

    .woocommerce-cart table.shop_table td {
        padding: 14px 12px;
    }

    .woocommerce-cart table.cart img {
        width: 64px;
    }

    .woocommerce-cart .coupon {
        flex-direction: column;
        align-items: stretch;
    }

    .woocommerce-cart .coupon input.input-text,
    .woocommerce-cart .coupon .button {
        width: 100%;
    }

    .woocommerce-cart .cart_totals {
        padding: 18px;
    }

    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        font-size: 16px;
    }

    .woocommerce-cart .button:disabled, .woocommerce-cart button.button:disabled, .woocommerce-cart input.button:disabled {
        float: unset;
    }

}

td.product-quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

td.product-quantity .quantity {
    display: flex;
    align-items: center;
    gap: .5rem;

}

/* RTL support */
.rtl.woocommerce-cart table.shop_table th,
.rtl.woocommerce-cart table.shop_table td {
    text-align: right;
}

.rtl.woocommerce-cart .coupon {
    float: right;
}

input.plus, input.minus {
    background: var(--primary);
    color: white;
    border: unset;
    padding: .25rem .5rem;
    border-radius: .3rem;
}

button[type="submit"].button[name="update_cart"] {
    border: none;
    border-radius: 14px;
    color: #fff;
    padding: 14px 22px !important;
    font-weight: 700;
    transition: 0.25s ease;
}

/* =========================================================
   Blog Archive
   ========================================================= */
.blog-hero {
    padding: 84px 0 72px;
    background: radial-gradient(circle at 82% 18%, rgba(244, 42, 43, .10), transparent 28%),
    linear-gradient(110deg, #f6f6f6 0%, #ffffff 56%, #f2f2f2 100%);
    overflow: hidden;
}

.blog-hero h1 {
    font-size: clamp(1.85rem, 3.5vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.22;
    max-width: 780px;
    margin: 0 auto .8rem;
}

.blog-hero p {
    color: #4b5563;
    max-width: 620px;
    margin-inline: auto;
    font-size: .97rem;
    line-height: 1.78;
}

.blog-archive-section {
    padding: 72px 0 80px;
}

/* Featured post card */
.featured-post {
    display: grid;
    grid-template-columns: 1.03fr 1fr;
    max-width: 1060px;
    margin: 0 auto 34px;
    background: #fff;
    border: 1px solid var(--g3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 42px rgba(0, 0, 0, .07);;
}

.featured-media img {
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
    display: block;
}

.featured-content {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-badge,
.card-badge {
    width: fit-content;
    color: var(--primary);
    background: rgba(2, 95, 99, 0.1);
    border-radius: 32px;
    padding: .25rem .65rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: .95rem;
    display: inline-block;
}

.featured-content h2 {
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.035em;
    margin-bottom: 1rem;
}

.featured-content p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--g2);
    font-size: .82rem;
    margin-bottom: 1.2rem;
}

.post-meta i {
    color: var(--primary);
    margin-right: 4px;
}

/* Grid */
.blog-grid {
    max-width: 1060px;
    margin-inline: auto;
}

.blog-archive-section .blog-card img {
    width: 100%;
    aspect-ratio: 1.55 / 1;
    object-fit: cover;
    display: block;
    transition: .35s ease;
}


.blog-card-body {
    padding: 20px 22px 26px;
    border: 1px solid var(--g3);
    box-shadow: 0 16px 42px rgba(0, 0, 0, .07);
}

.blog-card-body h3 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: .7rem;
}

.blog-card-body h3 a {
    color: inherit;
}

.blog-card-body h3 a:hover {
    color: var(--primary);
}

.blog-card-body p {
    color: #4b5563;
    font-size: .9rem;
    line-height: 1.72;
    margin-bottom: 1rem;
}

/* Pagination */
.blog-pagination {
    margin-top: 52px;
}

.blog-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--g3);
    border-radius: 12px;
    font-size: .9rem;
    color: var(--black);
    background: white;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.blog-pagination .prev.page-numbers,
.blog-pagination .next.page-numbers {
    padding: 0 20px;
    font-size: .88rem;
    font-weight: 500;
}

.blog-pagination .dots {
    border: 0;
    background: transparent;
    min-width: auto;
    color: var(--g4);
    cursor: default;
    pointer-events: none;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(2, 95, 99, 0.1);
    border-radius: 32px;
    padding: .35rem .85rem;
    font-size: .82rem;
    margin-bottom: 1.1rem;
}


/* =====================================================
   Blog Single Page
   ===================================================== */

.article-hero {
    padding: 76px 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .28)),
    center/cover no-repeat;
    background-color: #1e1e1e;
    color: #fff;
}

.article-hero h1 {
    font-size: 2rem;
    line-height: 2;
    font-weight: 780;
    letter-spacing: -.05em;
    margin-bottom: 1rem;
}

.article-hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, .88);
    line-height: 1.85;
}

.article-hero .hero-actions {
    justify-content: flex-start;
    margin-top: 26px;
}

.article-hero .section-eyebrow--hero {
    color: #fff;
    background: var(--primary);
}

.breadcrumb-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, .74);
    margin-bottom: 1rem;
    font-size: .88rem;
}

.breadcrumb-mini a {
    color: rgba(255, 255, 255, .82);
}

.breadcrumb-mini a:hover {
    color: #fff;
}

.hero-camera {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .11)
}

/* Article layout */
.article-section {
    background: #fff;
}

.article-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 820px);
    justify-content: center;
    gap: 44px;
}

.toc-sidebar {
    position: sticky;
    top: 98px;
    align-self: start;
}

.toc-card {
    border: 1px solid var(--g3);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
}

.toc-card h2 {
    font-size: 1rem;
    font-weight: 750;
    margin-bottom: 14px;
}

.toc-card a, #post-toc a {
    display: block;
    color: #4b5563;
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--g3);
    font-size: .8rem;
}

.toc-card a:last-child,
#post-toc a:last-child {
    border-bottom: 0;
}

.toc-card a:hover,
#post-toc a:hover {
    color: var(--primary);
}

/* Article content */
.article-content {
    min-width: 0;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    width: fit-content;
    max-width: calc(100% - 32px);
    margin: -26px auto 36px;
    padding: 7px;
    border: 1px solid var(--border-soft, rgba(209, 212, 217, 0.65));
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px var(--card-shadow, rgba(19, 19, 19, 0.08));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    z-index: 3;
}

.article-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--g2);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    background: transparent;
}

.article-meta__item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--g6);
    color: var(--primary);
    font-size: 14px;
    line-height: 1;
}

.article-meta__item:not(:last-child) {
    border-inline-end: 1px solid var(--g5);
    border-radius: 0;
}

.article-meta__item a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-meta__item a:hover {
    color: var(--primary);
}

.article-meta__item--category {
    color: var(--secondary);
}

.article-meta__item--category i {
    background: color-mix(in srgb, var(--secondary), transparent 88%);
    color: var(--secondary);
}

@media (max-width: 768px) {
    .article-meta {
        margin: -20px auto 30px;
        border-radius: 18px;
        justify-content: flex-start;
        width: calc(100% - 32px);
        max-width: none;
    }

    .article-meta__item {
        flex: 1 1 auto;
        justify-content: center;
    }

    .article-meta__item:not(:last-child) {
        border-inline-end: 0;
    }
}

@media (max-width: 480px) {
    .article-meta {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 8px;
        border-radius: 18px;
        margin: -16px 16px 28px;
        width: auto;
    }

    .article-meta__item {
        justify-content: flex-start;
        min-height: 38px;
        padding: 0 10px;
        background: var(--g6);
    }
}

.article-content h2 {
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: -.025em;
    margin: 42px 0 16px;
}

.article-content h3 {
    font-size: 1.05rem;
    font-weight: 750;
    margin: 28px 0 12px;
}

.article-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 28px 0 12px;
}

.article-content h5 {
    font-size: .9rem;
    font-weight: 600;
    margin: 28px 0 12px;
}

.article-content h6 {
    font-size: 0.8rem;
    font-weight: 500;
    margin: 28px 0 12px;
}

.article-content p {
    color: #4b5563;
    line-height: 1.9;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Feature callout (product_callout shortcode) */
.feature-callout,
.download-banner {
    margin: 34px 0;
    background: var(--g4);
    border-radius: 16px;
    padding: 1.2rem 1.75rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: center;
}

.callout-label {
    color: var(--primary);
    font-weight: 700;
    font-size: .85rem;
    display: inline-block;
    margin-bottom: .6rem;
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
}

.feature-callout h3,
.download-banner h3 {
    font-size: 1.35rem;
    margin-top: 0;
}

.feature-callout ul,
.download-banner ul {
    color: #4b5563;
}

.feature-callout img,
.download-banner img {
    width: 100%;
    border-radius: 12px;
    margin: 0 !important;
}

/* Article table */
.article-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
    border: 1px solid var(--g3);
}

.article-table th,
.article-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--g3);
}

.article-table th {
    background: #f0f0f0;
}

.article-table tr:nth-child(even) td {
    background: #fafafa;
}

/* Article image */
.article-image {
    margin: 38px 0;
}

.article-image img {
    width: 100%;
    border-radius: 16px;
}

.article-image figcaption {
    color: var(--g2);
    font-size: .9rem;
    margin-top: 10px;
}

/* Check list */
.check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    gap: 12px;
}

.check-list li {
    color: #4b5563;
    display: flex;
    gap: 10px;
    align-items: center;
}

.check-list i {
    color: var(--primary);
}

/* FAQ accordion */
.faq-accordion {
    margin-top: 22px;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgb(224, 242, 243);
    color: var(--primary);
}

/* Blog single contact section */
.bs-contact-section {
    padding: 84px 0 94px;
    background: var(--g4);
}

.bs-contact-form {
    max-width: 1060px;
    margin-inline: auto;
    background: #fff;
    border-radius: 16px;
    padding: clamp(26px, 4vw, 58px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, .11)
}

.bs-contact-form .form-control {
    min-height: 52px;
    border: 1px solid #c5ccd6;
    border-radius: 0;
    box-shadow: none;
    font-size: .9rem;
    padding: .85rem 1rem;
}

.bs-contact-form textarea.form-control {
    min-height: 88px;
}

.bs-contact-form .form-control:focus {
    border-color: rgba(255, 37, 43, .55);
    box-shadow: 0 0 0 .2rem rgba(255, 37, 43, .08);
}

/* Chat widget */
.chat-widget {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    z-index: 1001;
    box-shadow: 0 12px 30px rgba(206, 231, 232, 0.85);
    font-size: 1.45rem;
}

.chat-bubble {
    position: fixed;
    right: 92px;
    bottom: 26px;
    width: min(320px, calc(100vw - 130px));
    background: #fff;
    border-radius: 12px;
    padding: 18px 42px 18px 18px;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .11);
    z-index: 1001;
    display: none;
}

.chat-bubble.show {
    display: block;
}

.chat-bubble strong {
    display: block;
    margin-bottom: .3rem;
}

.chat-bubble p {
    margin: 0;
    color: var(--g2);
    font-size: .9rem;
}

.chat-close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 1.15rem;
}

/* Blog single responsive */
@media (max-width: 991.98px) {
    .article-hero {
        text-align: center;
        padding: 58px 0;
    }

    .article-hero .hero-actions {
        justify-content: center;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .toc-sidebar {
        position: static;
    }

    .toc-card {
        display: none;
    }

    .feature-callout,
    .download-banner {
        grid-template-columns: 1fr;
    }

    .bs-contact-section {
        padding: 64px 0;
    }
}

@media (max-width: 575.98px) {
    .article-meta {
        gap: 10px;
    }

    .bs-contact-form {
        box-shadow: 0 16px 42px rgba(0, 0, 0, .07);
    }

    .chat-bubble {
        right: 16px;
        bottom: 92px;
        width: calc(100vw - 32px);
    }

    .chat-widget {
        right: 18px;
        bottom: 22px;
    }
}

.breadcrumb-wrap span:last-of-type {
    color: black;
}

.oneline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 1;
    -moz-line-clamp: 1;
    -ms-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
}

.towline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    -ms-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.threeline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 3;
    -moz-line-clamp: 3;
    -ms-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.top-header a.nav-link {
    color: var(--g2);
}

.bottom-header a.nav-link {
    color: white;
}

.bottom-header a.nav-link.active {
    color: white;
}

a.header-search i {
    font-size: 20px;
    font-weight: 600;
}

a.header-login {
    border-radius: 14px;
    border: 1px solid var(--g4);
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

a.header-cart.position-relative {
    height: 40px;
    border: 1px solid var(--g4);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem;
    font-size: 14px;
    color: var(--black);
}

span.header-cart__badge.is-visible {
    position: absolute;
    top: 0;
    right: 0.3rem;
}

.tab-icon i {
    font-size: 25px;
}

#header .bottom-header {
    max-height: 80px;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);

    transition: max-height 300ms ease,
    opacity 200ms ease,
    transform 300ms ease,
    padding 300ms ease;
}

#header.is-stuck .bottom-header {
    max-height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

footer i {
    font-size: 20px;
}

.footer-menu li {
    margin: 0.5rem 0;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    color: white;
}

.footer-menu li a {
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
}

#wpadminbar {
    position: absolute;
}

button.header-search.search-modal-trigger i {
    font-size: 20px;
}

form#doc-filter-form label.form-label {
    position: absolute !important;
    top: 0;
    left: 1.5rem;
    transform: translateY(-50%);
    background: black;
    padding: 0 0.5rem;
}

@media (max-width: 768px) {
    .solution-tabs .nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        justify-content: unset;
        padding: 0.5rem 0;
    }

    .solution-tabs .nav .nav-link {
        flex-shrink: 0;
    }
}

/* =========================================================
   Blog Single – Sticky bar + Author card + Trusted swiper
   ========================================================= */

/* Sticky article bar */
.sticky-blog-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--g3);
    padding: .6rem 0;
    transform: translateY(-110%);
    transition: transform .3s ease;
    pointer-events: none;
}

.sticky-blog-bar.is-visible {
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-blog-title {
    font-size: .88rem;
    font-weight: 600;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 420px;
}

.sticky-blog-bar .btn-sm {
    padding: .42rem 1rem;
    font-size: .82rem;
    border-radius: 32px;
}

/* Article reading progress bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--primary);
    z-index: 1200;
    transition: width .1s linear;
}

/* Trusted logos swiper */
.blog-trusted-swiper {
    padding: 4px 0 8px;
}

.trusted-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trusted-slide img {
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .72;
}

.trusted-slide img:hover {
    filter: none;
    opacity: 1;
}

/* Author card in sidebar */
.author-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--g3);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--g3);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-label {
    font-size: .75rem;
    color: var(--g2);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.author-name {
    font-size: .9rem;
    font-weight: 600;
    color: var(--black);
}

/* TOC active link */
#post-toc a.active,
.toc-card a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Section eyebrow white variant (hero context) */
.section-eyebrow--hero {
    color: #fff;
    background: rgba(255, 37, 43, .92);
}

.section-eyebrow--hero a {
    color: inherit;
}

/* Article hero: dark fallback; full background set inline from ACF */
.article-hero {
    background-color: #1e1e1e;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Tables inside article content */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
    border: 1px solid var(--g3);
    font-size: .93rem;
}

.post-content table th,
.post-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--g3);
    text-align: left;
}

.post-content table th {
    background: #f0f0f0;
    font-weight: 600;
}

.post-content table tr:nth-child(even) td {
    background: #fafafa;
}

@media (max-width: 991.98px) {
    .sticky-blog-bar .sticky-blog-title {
        display: none;
    }

    .sticky-blog-bar .d-flex.gap-2 {
        width: 100%;
        justify-content: center;
    }

    .author-card {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .sticky-blog-bar .btn-sm {
        flex: 1;
        text-align: center;
    }
}


.accordion-button::after {
    margin: 0;
    margin-right: auto;
}


/* ----- Wrapper ----- */
body .gform_wrapper {
    margin: 0;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gform-theme--foundation .gform_fields {
    row-gap: 0.5rem !important;
}

input#gform_submit_button_1 {
    display: block;
    width: 100%;
    background: var(--primary);
}

/* ----- Form Title & Description ----- */
body .gform_heading .gform_title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #111;
}

body .gform_heading .gform_description {
    text-align: center;
    color: #666;
    font-size: 15px;
    margin-bottom: 25px;
}

/* ----- Fields ----- */
body .gform_wrapper .gfield {
    margin-bottom: 20px;
}

body .gform_wrapper .gfield_label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

/* ----- Inputs, Selects, Textarea ----- */
body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper input[type="tel"],
body .gform_wrapper input[type="url"],
body .gform_wrapper input[type="number"],
body .gform_wrapper input[type="password"],
body .gform_wrapper textarea,
body .gform_wrapper select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fafafa;
    transition: all .2s ease;
}

body .gform_wrapper input:focus,
body .gform_wrapper textarea:focus,
body .gform_wrapper select:focus {
    border-color: #d8bd65; /* رنگ برند شما */
    box-shadow: 0 0 0 3px rgba(216, 189, 101, 0.35);
    background: #fff;
    outline: none;
}

/* ----- Placeholders ----- */
body .gform_wrapper ::placeholder {
    color: #999;
}

/* ----- Submit Button ----- */
body .gform_wrapper .gform_footer input[type="submit"],
body .gform_wrapper .gform_page_footer input[type="button"],
body .gform_wrapper .gform_page_footer input[type="submit"] {
    display: inline-block;
    background: #d8bd65; /* طلایی برند */
    border: none;
    color: #000;
    font-weight: 600;
    padding: 12px 26px;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all .25s ease;
}

body .gform_wrapper .gform_footer input[type="submit"]:hover,
body .gform_wrapper .gform_page_footer input[type="submit"]:hover {
    background: #c2a94d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ----- Error Messages ----- */
body .gform_wrapper .gform_validation_errors {
    border: 1px solid #dc3545;
    background: #f8d7da;
    color: #842029;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

body .gform_wrapper .validation_message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
}

/* ----- Success Confirmation ----- */
body .gform_confirmation_message {
    border: 1px solid #198754;
    background: #d1e7dd;
    color: #0f5132;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    margin-top: 20px;
}


.contact-image-wrapper {
    height: 100%;
    width: 100%;
    border-radius: 1rem;
    background-size: cover !important;
    background-position: center center !important;
}


/* ==========================================================================
   AJAX Product Search — trigger button + modal + live results
   ========================================================================== */

/* desktop trigger (looks like a search field) */
.header-search.search-modal-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 230px;
    height: 40px;
    padding: 0 16px;
    border: unset;
    border-radius: 14px;
    background: unset;
    color: var(--g3);
    font-size: 14px;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

button.btn-close {
    margin-left: unset !important;
    margin-right: auto !important;
}

.header-search.search-modal-trigger:hover {
    border-color: var(--primary);
    color: var(--secondary);
    background: #fff;
}

.header-search.search-modal-trigger i {
    font-size: 20px;
}

/* modal shell */
.search-modal .modal-content {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
}

.search-modal .modal-header {
    padding: 1rem 1.25rem .5rem;
}

.search-modal .modal-body {
    padding: .5rem 1.25rem 1.5rem;
}

/* input */
.search-wrapper {
    position: relative;
}

.search-wrapper__icon {
    position: absolute;
    inset-inline-start: 16px;
    top: 26px;
    transform: translateY(-50%);
    color: var(--g2);
    font-size: 20px;
    pointer-events: none;
}

.search-input {
    width: 100%;
    height: 52px;
    padding: 0 48px;
    border: 1px solid var(--g3);
    border-radius: 12px;
    background: #fff;
    color: var(--secondary);
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease;
}

.search-input:focus {
    border-color: var(--primary);
}

.search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

/* results */
.ajax-search-results {
    display: none;
    margin-top: 14px;
    max-height: 58vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

.ajax-search-results .no-result {
    margin: 0;
    padding: 1.5rem 0;
    text-align: center;
    color: var(--g1);
    font-size: 14px;
}

.search-section-label {
    margin: 16px 0 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--secondary);
}

.search-section-label:first-child {
    margin-top: 4px;
}

.search-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.search-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--g3);
    border-radius: 999px;
    color: var(--secondary);
    font-size: 13px;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.search-badge:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.search-badge--brand img {
    height: 22px;
    width: auto;
    border-radius: 4px;
}

.ajax-search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ajax-search-results ul li + li {
    border-top: 1px solid var(--g4);
}

.ajax-search-results ul li a {
    border-radius: 10px;
    transition: background .2s ease;
}

.ajax-search-results ul li a:hover {
    background: #f7f9f9;
}

.filter-wrapper {
    width: 100%;
}

/* لوپ محصولات: تبدیل چیدمان float پیش‌فرض ووکامرس به گرید هم‌ارتفاع
   تا کارت‌ها بدون بهم‌ریختگی در ردیف‌های منظم چیده شوند. */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0 0 2rem !important;
    padding: 0 !important;
    list-style: none !important;
}

/* حذف کلیرفیکس float ووکامرس که در گرید فاصلهٔ اضافه ایجاد می‌کند */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    content: none !important;
    display: none !important;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    display: flex;
    flex-direction: column;
    padding: 14px;
    border: 1px solid var(--g4);
    border-radius: 16px;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}

/* کارت داخلی تمام‌ارتفاع تا قیمت/دکمه در پایین هم‌تراز شوند */
.woocommerce ul.products li.product > a,
.woocommerce-page ul.products li.product > a {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.woocommerce ul.products li.product .view-cta,
.woocommerce-page ul.products li.product .view-cta {
    margin-top: auto;
}

@media (max-width: 991.98px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 575.98px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: 1fr;
    }
}

.category-link svg.tab {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.category-link svg.tab path {
    transition: .5s linear;
}

.category-link:hover svg.tab path {
    opacity: 1;
}

.category-link i {
    color: var(--primary);
    transition: .5s linear;
}

.category-link:hover i {
    color: var(--secondary);
    transition: .5s linear;
}


.wr-product-wrapper {
    border: 1px solid var(--g4);
    padding: 1rem;
    border-radius: 1rem;
    transition: 0.5s linear;
}

.wr-product-wrapper:hover {
    border: 1px solid var(--primary);

}

.product-box h3 {
    line-height: 1.5;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
}

ins span.woocommerce-Price-currencySymbol {
    font-weight: 100;
    margin-right: 0.3rem;
}

.price-wrapper del {
    font-size: 14px;
    color: var(--g3);
    font-weight: normal;
}

.price-wrapper ins {
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
}

.product-parent-cat {
    background: #13427F18;
    display: inline-block;
    width: max-content;
    padding: 4px 12px;
    border-radius: 1.5rem;
}

button.slide-nav-next, button.slide-nav-prev {
    background: white;
    border: 1px solid var(--g4);
    font-size: 24px;
    padding: 0;
    line-height: 1;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--g4);
    transform: translateX(-40%);
}

button.slide-nav-prev {
    transform: translateX(40%);
}

.product-control-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 999;
}

/* موبایل: فلش‌ها از حالت ابسلوت خارج و در پایین اسلایدر کنار هم نمایش داده شوند */
@media (max-width: 767.98px) {
    .product-control-wrapper {
        position: static;
        top: auto;
        left: auto;
        width: auto;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .product-control-wrapper button.slide-nav-next,
    .product-control-wrapper button.slide-nav-prev {
        transform: none;
    }
}


span.view-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: max-content;
    color: var(--primary);
    border: 1px solid var(--g4);
    padding: 0.5rem 0.5rem;
    line-height: 1;
    font-size: 14px;
    position: absolute;
    bottom: 0;
    transform: translateY(50%);
    left: 1rem;
    border-radius: 0.75rem;
    background: white;
    transition: 0.7s linear;
}

.wr-product-wrapper:hover span.view-cta {
    border: 1px solid var(--primary);
    color: var(--black);

}

span.view-cta i {
    font-size: 22px;
    transition: 0.7s linear;

}

.wr-product-wrapper:hover span.view-cta i {
    color: var(--secondary);

}

section.product .swiper-slide, section.tabs .swiper-slide {
    padding-bottom: 1.5rem;
}

.service-icon-wrapper {
    background: var(--primary);
    line-height: 1;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 8px;
}

.wr-products-tabs {
    background: #008F781F !important;
    padding: 0.75rem 1.5rem !important;
    width: max-content;
    margin: 0 auto;
    border-radius: 100px;
}

.wr-products-tabs .nav-link {
    color: var(--black);
    border-radius: 100px;
    transition: 0.5s linear;
}

.wr-products-tabs .nav-link.active, .wr-products-tabs .nav-link:hover {
    background: var(--primary) !important;
    color: white !important;
}

/* موبایل: جلوگیری از اسکرول افقی کل صفحه؛ تب‌ها داخل خودشان اسکرول شوند */
@media (max-width: 767.98px) {
    .wr-products-tabs {
        width: 100%;
        max-width: 100%;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .wr-products-tabs::-webkit-scrollbar {
        display: none;
    }

    .wr-products-tabs .nav-item,
    .wr-products-tabs .nav-link {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

.tb-items {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
    "icon title"
    "text text";
    align-items: center;
    gap: 3px 10px;
}

.tb-items span {
    grid-area: icon;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border: 4px solid #fae7cc;
    display: block;
    box-sizing: content-box;
    border-radius: 50%;
}

.tb-items b {
    grid-area: title;
}

.tb-items p {
    grid-area: text;
    margin: 0;
}

/* Product Callout */
.product-callout {
    position: relative;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: center;
    margin: 36px 0;
    padding: 28px;
    border: 1px solid color-mix(in srgb, var(--g4), transparent 45%);
    border-radius: 24px;
    background: radial-gradient(circle at top right, color-mix(in srgb, var(--primary), transparent 86%), transparent 34%),
    linear-gradient(135deg, var(--white) 0%, var(--g6) 100%);
    box-shadow: 0 18px 45px color-mix(in srgb, var(--black), transparent 92%);
    overflow: hidden;
}

.product-callout::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 24px;
    bottom: 24px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--primary), color-mix(in srgb, var(--primary), var(--black) 16%));
}

.product-callout__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    padding: 22px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g4), transparent 55%);
}

.product-callout__image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.product-callout:hover .product-callout__image {
    transform: scale(1.04);
}

.product-callout__content {
    min-width: 0;
}

.product-callout__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary), transparent 90%);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.product-callout__title {
    margin: 0 0 12px;
    color: var(--black);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 900;
    line-height: 1.65;
    letter-spacing: -0.02em;
}

.product-callout__price {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 20px;
    font-weight: 900;
}

.product-callout__price del {
    margin-inline-end: 8px;
    color: var(--g3);
    font-size: 14px;
    font-weight: 500;
}

.product-callout__price ins {
    text-decoration: none;
}

.product-callout__features {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.product-callout__features li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 14px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--white), transparent 18%);
    border: 1px solid color-mix(in srgb, var(--g4), transparent 55%);
    color: var(--g1);
    font-size: 14px;
}

.product-callout__features li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary), transparent 88%);
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.product-callout__features span {
    color: var(--g2);
    font-weight: 600;
}

.product-callout__features strong {
    margin-inline-start: auto;
    color: var(--black);
    font-weight: 800;
    text-align: left;
}

.product-callout__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary), var(--black) 14%));
    color: var(--white) !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--primary), transparent 78%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.product-callout__button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 16px 30px color-mix(in srgb, var(--primary), transparent 72%);
}

.product-callout__button svg {
    transition: transform 0.2s ease;
}

.product-callout__button:hover svg {
    transform: translateX(-3px);
}


/* Download Banner */
.download-banner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 30px;
    align-items: center;
    margin: 36px 0;
    padding: 30px;
    border-radius: 26px;
    border: 1px solid color-mix(in srgb, var(--g4), transparent 45%);
    background: radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--primary), transparent 84%), transparent 32%),
    linear-gradient(135deg, var(--white) 0%, var(--g6) 100%);
    box-shadow: 0 20px 48px color-mix(in srgb, var(--black), transparent 92%);
    overflow: hidden;
}

.download-banner::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 26px;
    bottom: 26px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--primary), color-mix(in srgb, var(--primary), var(--black) 16%));
}

.download-banner__content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.download-banner__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary), transparent 90%);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.download-banner__title {
    margin: 0 0 10px;
    color: var(--black);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 900;
    line-height: 1.55;
    letter-spacing: -0.02em;
}

.download-banner__title strong,
.download-banner__title span {
    color: var(--primary);
}

.download-banner__desc {
    max-width: 560px;
    margin: 0 0 22px;
    color: var(--g2);
    font-size: 15px;
    font-weight: 500;
    line-height: 2;
}

.download-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary), var(--black) 14%));
    color: var(--white) !important;
    font-size: 15px;
    font-weight: 850;
    text-decoration: none !important;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--primary), transparent 78%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.download-banner__button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 16px 30px color-mix(in srgb, var(--primary), transparent 72%);
}

.download-banner__button svg {
    transition: transform 0.2s ease;
}

.download-banner__button:hover svg {
    transform: translateX(-3px);
}

.download-banner__media {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    padding: 12px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g4), transparent 55%),
    0 14px 30px color-mix(in srgb, var(--black), transparent 92%);
    overflow: hidden;
}

.download-banner__image {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.download-banner:hover .download-banner__image {
    transform: scale(1.04);
}


/* Responsive */
@media (max-width: 768px) {
    .product-callout,
    .download-banner {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 24px;
        border-radius: 22px;
        text-align: right;
    }

    .product-callout::before,
    .download-banner::before {
        top: 0;
        bottom: auto;
        inset-inline-start: 22px;
        inset-inline-end: 22px;
        width: auto;
        height: 4px;
    }

    .download-banner__media {
        order: -1;
    }

    .product-callout__media,
    .download-banner__media {
        min-height: 150px;
    }

    .download-banner__image {
        max-width: 100%;
    }

    .product-callout__button,
    .download-banner__button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-callout,
    .download-banner {
        padding: 20px;
    }

    .download-banner__title {
        font-size: 21px;
    }

    .download-banner__desc {
        font-size: 14px;
    }

    .product-callout__features li {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .product-callout__features strong {
        width: 100%;
        text-align: right;
        margin-inline-start: 36px;
    }
}


.testimonial-section {
    --green-height: 330px;

    position: relative;
    overflow: hidden;
    padding: 36px 0 48px;
    background: linear-gradient(
            to bottom,
            #13427F 0,
            #13427F var(--green-height),
            #ffffff var(--green-height),
            #ffffff 100%
    );
}

.testimonial-section__title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.6;
    margin: 0 0 8px;
    color: #fff;
}

.testimonial-section__subtitle {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9;
    margin: 0 0 40px;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-section__container {
    position: relative;
}

.testimonial-swiper {
    overflow: visible;
    padding-bottom: 16px;
}

.testimonial-swiper .swiper-wrapper {
    align-items: center;
}

.testimonial-swiper .swiper-slide {
    width: 52%;
    filter: blur(4px);
    transform: scale(0.78);
    transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

.testimonial-swiper .swiper-slide-active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    z-index: 5;
}

.testimonial-video-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #ddd;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-video-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-swiper .swiper-slide-active .testimonial-video-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 70, 70, 0.16);
    pointer-events: none;
}

.testimonial-video-card__play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin: auto;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    backdrop-filter: blur(2px);
}

.testimonial-swiper .swiper-slide-active .testimonial-video-card__play {
    display: flex;
}

.testimonial-video-card__play i {
    position: relative;
    right: -2px;
}

.testimonial-quote {
    text-align: center;
    color: #f59a00;
    font-size: 90px;
    font-weight: 900;
    line-height: 0.65;
    margin-top: 0;
    user-select: none;
}

.testimonial-content__name {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.8;
    margin: 0 0 12px;
    color: #222;
}

.testimonial-content__text {
    max-width: 620px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 2.1;
    color: #333;
}

.testimonial-nav {
    position: absolute;
    top: 338px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #6b7280;
    font-size: 25px;
    line-height: 1;
    transition: 0.3s ease;
}

.testimonial-nav:hover {
    background: #00866f;
    border-color: #00866f;
    color: #fff;
}

.testimonial-nav--prev {
    right: 22%;
}

.testimonial-nav--next {
    left: 22%;
}

.testimonial-video-modal__content {
    position: relative;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
}

.testimonial-video-modal__body {
    padding: 0;
}

.testimonial-video-modal__close {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 1;
}

.testimonial-video-modal__video {
    display: block;
    width: 100%;
    max-height: 80vh;
    background: #000;
}

@media (max-width: 1199px) {
    .testimonial-nav--prev {
        right: 15%;
    }

    .testimonial-nav--next {
        left: 15%;
    }
}

@media (max-width: 991px) {
    .testimonial-section {
        --green-height: 300px;
        padding-top: 32px;
    }

    .testimonial-section__subtitle {
        margin-bottom: 36px;
    }

    .testimonial-swiper .swiper-slide {
        width: 70%;
    }

    .testimonial-video-card {
        height: 240px;
    }

    .testimonial-nav {
        top: 295px;
    }

    .testimonial-nav--prev {
        right: 8%;
    }

    .testimonial-nav--next {
        left: 8%;
    }
}

@media (max-width: 575px) {
    .testimonial-section {
        --green-height: 260px;
        padding: 28px 0 40px;
    }

    .testimonial-section__title {
        font-size: 21px;
    }

    .testimonial-section__subtitle {
        font-size: 13px;
        margin-bottom: 30px;
    }

    .testimonial-swiper .swiper-slide {
        width: 82%;
        transform: scale(0.86);
    }

    .testimonial-swiper .swiper-slide-active {
        transform: scale(1);
    }

    .testimonial-video-card {
        height: 210px;
        border-radius: 12px;
    }

    .testimonial-video-card__play {
        width: 58px;
        height: 58px;
        font-size: 28px;
    }

    .testimonial-quote {
        font-size: 72px;
    }

    .testimonial-content__name {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .testimonial-content__text {
        font-size: 14px;
        line-height: 2;
        padding-inline: 16px;
    }

    .testimonial-nav {
        top: 258px;
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .testimonial-nav--prev {
        right: 4%;
    }

    .testimonial-nav--next {
        left: 4%;
    }

    .testimonial-video-modal .modal-dialog {
        margin-inline: 12px;
    }
}

section.wrwi-selector {
    border: 1px solid var(--g4);
    padding: 0.5rem;
    border-radius: 1rem;
}

.wrwi-option::before {
    content: unset;
}

label.wrwi-option {
    border: unset !important;
    box-shadow: unset !important;
    background: unset !important;
    padding: 0 !important;
}

.wrwi-options {
    gap: 0 !important;
}

.wrwi-option__choice {
    padding-right: 0.5rem !important;
    padding-left: 0 !important;
}

.wrwi-selector__title {
    background: var(--g2);
    color: white;
    padding: 0.3rem;
    border-radius: 12px;
    text-align: center;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.wrwi-selector__title:before {
    content: '\E018';
    font-family: 'Iconly';
    font-size: 18px;
}

.wr-purchase-note {
    border: 1px solid var(--g4);
    padding: 0.5rem;
    border-radius: 1rem;
}

ul.product-info-list {
    padding-right: 0.5rem;

}

ul.product-info-list li:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-left: 0.5rem;
}

header.custom-products-archive-header {
    background:  #13427F14;
    padding: 2rem 1rem 1rem 1rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    margin-bottom: 2rem ;
}

header.custom-products-archive-header:before {
    background: white;
    height: 1rem;
    width: 15%;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    content: '';
    transform: translateX(-50%);
    border-radius: 0 0 1rem 1rem;
}

.term-description{
    padding: 2rem;
    border: 1px solid var(--g4);
    border-radius: 12px;
}
.term-description h2{
    font-weight: bold;
}
.term-description ul li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-inline-end: .5rem;
    border-radius: 50%;
    background: var(--primary);
}

.call-wrapper {
    z-index: 99999999999;
    position: fixed;
    bottom: 5%;
    left: 5%;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 50px;
    height: 50px;

    background: var(--primary);
    color: white;
    border-radius: 50%;

    animation: callFloat 2.5s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.call-wrapper::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--primary);
    z-index: -1;

    animation: callPulse 2s ease-out infinite;
}

.call-wrapper a {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.call-wrapper:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

@keyframes callFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes callPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}