@font-face {
    font-family: 'yekanbakh';
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/YekanBakh-faNum06Bold.woff") format("woff");
}


::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

.blueprint {
    background-image: linear-gradient(to right, rgba(20, 184, 166, .5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 184, 166, .5) 1px, transparent 1px);
    background-size: 32px 32px;
}

.swiper-pagination-bullet {
    width: 9px !important;
    height: 9px !important;
    background: #D9D9D9 !important;
    opacity: 1 !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}


.swiper-pagination-bullet-active {
    width: 24px !important;
    background: #6EB589 !important;
    border-radius: 4px !important;
}

.swiper-pagination-bullet:hover {
    background: #b0b0b0 !important;
    transform: scale(1.1) !important;
}

.swiper-pagination-bullet-active:hover {
    background: #5a9e73 !important;
    transform: scale(1.05) !important;
}


.swiper-pagination-bullet {
    margin: 0 4px !important;
}


.swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
}

form[name="ticket_form"] .elementor-field-group input {
    padding-right: 45px !important;
    padding-left: 15px !important;
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 17px 21px;
}

[x-cloak] {
    display: none !important;
}

/*--------------------------------------------------------------
>>> Testimonial:
----------------------------------------------------------------*/
.ventiran__testimonials--slider .swiper-slide {
    display: flex;
    flex-direction: column;
    height: 100% !important;
    max-height: 340px;
    transition: all 0.3s ease;
}

.ventiran__testimonials--slider .testimonial-top,
.ventiran__testimonials--slider .testimonial-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.ventiran__testimonials--slider .testimonial-content {
    text-align: justify;
}

.ventiran__testimonials--slider {
    position: relative;
    overflow-x: hidden;
}

.ventiran__testimonials--slider .swiper-slide {
    opacity: 0.5 !important;
    transition: opacity 0.5s ease !important;
}

.ventiran__testimonials--slider .swiper-slide-active {
    opacity: 1 !important;
}

/*--------------------------------------------------------------
>>> header:
----------------------------------------------------------------*/
/*.menu-toggle-hidden {*/
/*    position: absolute;*/
/*    opacity: 0;*/
/*    pointer-events: none;*/
/*}*/

/*.box-menu-absolute {*/
/*    display: none;*/
/*    z-index: 999;*/
/*    box-sizing: border-box;*/
/*    transition: all .5s ease;*/
/*    overflow: hidden hidden;*/
/*}*/

/*#menuToggle:checked ~ .box-menu-absolute {*/
/*    display: flex;*/
/*    transition: all .5s ease;*/
/*}*/

/*.box-all-menu:hover .box-menu-absolute {*/
/*    display: flex;*/
/*    transition: all .3s ease;*/
/*}*/

/*--------------------------------------------------------------
>>> faq page:
----------------------------------------------------------------*/
.main-faq .item-cat-faq::before {
    content: none
}

.main-faq .item-cat-faq.active {
    background-color: #f4f9f7
}

.main-faq .item-cat-faq.active .arrow-icn svg {
    fill: #0c2d5b
}

.question-box .itms-wrap {
    clip-path: url("#question_bg");
    background: #fff;
    z-index: 1
}

.question-box::before {
    content: "";
    position: absolute;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    clip-path: url("#question_bg");
    background: #e2f4ed;
    z-index: -1
}

.main-faq .accordion-head .icon::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 16px;
    top: 50%;
    left: 0;
    transform: translate(7px, -50%);
    background-color: #0c2d5b;
    border-radius: 15px;
    transition: all 300ms ease-in-out
}

.main-faq .accordion-head .icon::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 4px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #0c2d5b;
    border-radius: 15px;
    transition: all 300ms ease-in-out
}

.main-faq .accordion-body {
    display: none
}

.main-faq .accordion.opened {
    border: 1px solid #e2f4ed
}

.main-faq .accordion.opened .accordion-head {
    background: #fff
}

.main-faq .accordion.opened .accordion-head .icon::before {
    transform: translate(7px, -50%) rotate(-90deg);
    background-color: #c9d1e0
}

.main-faq .accordion.opened .accordion-head .icon::after {
    background-color: #c9d1e0
}

.main-faq .accordion.opened .accordion-head .ttl {
    color: #95a1b9
}

.main-faq .accordion:not(.opened) .accordion-head:hover {
    background-color: #f2f4f8
}

.main-faq .accordion:not(.opened) .accordion-head:hover .icon::before {
    background-color: #e43431
}

.main-faq .accordion:not(.opened) .accordion-head:hover .icon::after {
    background-color: #e43431
}

/*--------------------------------------------------------------
>>> report page:
----------------------------------------------------------------*/
.box-report input, .box-report textarea {
    background: none;
}

.box-report input[type="radio"]:checked + .itms {
    box-shadow: inset 3.597px 3.473px 2.5px rgb(12 45 91 / .35);
    background-color: var(--color-primary);
}

/*--------------------------------------------------------------
>>> header info:
----------------------------------------------------------------*/
.drop-shadow-social-call-hover {
    filter: drop-shadow(0px 2px 0px rgba(126, 163, 163, 0.18));
}

.box-right-info-hover::before {
    position: absolute;
    content: "";
    bottom: -2.5rem;
    top: -2.5rem;
    left: 0px;
    width: 1px;
    background: rgb(233, 242, 242);
}

.icon-special::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 12px;
    transition: 3s;
    background: #78a2a2;
    filter: blur(10px);
    z-index: -1;
    opacity: .2;
    width: 33px;
    height: 13px;
}

.icon-special .border-special {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
}

.icon-special {
    position: relative;
    background: #fff;
}

.icon-special .border-special::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgb(233, 243, 243) 0%, rgb(255, 255, 255) 100%);
    transition: 3s;
    z-index: -1;
}

.icon-special .border-special:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: #fff;
    transition: 3s;
    z-index: -1;
}

/*.box-hover-call-header-open {*/
/*    opacity: 0;*/
/*    visibility: hidden;*/
/*}*/

/*.box-hover-call-header-open.active {*/
/*    opacity: 1;*/
/*    visibility: visible;*/
/*}*/

.header-menu__main--nav li a {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    color: var(--color-ink);
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
}

.header-menu__main--nav li:hover a {
    color: var(--color-brand);
}

/*--------------------------------------------------------------
>>> header :
----------------------------------------------------------------*/
.icon-special::before {
    content: "";
    position: absolute;
    opacity: .039;
    top: 0;
    right: 0;
    width: 70%;
    height: 70%;
    background: #6d9696;
    filter: blur(6px);
}

.item-tooltip + span {
    transform: scale(0);
    top: -30px;
    width: 100%;
    text-align: center;
    left: -50%;
}

.item-tooltip:hover + span {
    transform: scale(1);
}

.quick-inquiry {
    /*filter: drop-shadow(0 3px 0 #06d484);*/
    background-color: #04354D;
    border: 1px solid #021522;
    transition: all 0.3s;
    display: flex;
}

.box-poupup {
    position: fixed;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    opacity: 0;
    transition: all 0.3s;
    min-width: 695px;
    z-index: 999999;
    visibility: hidden;
    max-height: 95vh;
    overflow: auto;
    background: #fff;
    border-radius: 25px;
    padding: 20px 48px 30px;
}

.box-poupup.active {
    opacity: 1;
    visibility: visible;
}

.box-poupup.active {
    background-color: #F6F6F6;
    border: 1px solid #EFE3D9;
    border-radius: 15px;
    padding: 20px;
}

@media (max-width: 767.98px) {
    .box-poupup {
        width: 100%;
        border-radius: 0;
        max-height: 100vh;
        min-width: 100%;
        top: 0;
        transform: unset;
        right: 0;
        left: 0;
        bottom: 0;
        padding: 5px 15px 15px;
    }
}

/*--------------------------------------------------------------
>>> search:
----------------------------------------------------------------*/
.box-search-header {
    box-shadow: inset 0px 3px 10px rgba(232, 239, 239, 0.75);
    background-color: #ffffff;
}

.box-search-header button {
    box-shadow: inset 0 3px 10px rgba(232, 239, 239, .75);
}

.box-search {
    filter: drop-shadow(0 3px 10.5px rgba(184, 208, 208, .45));
    background: #fff;
}

/* ============================================ */
/* استایل‌های تکمیلی جستجو */
/* ============================================ */

/* انیمیشن لودینگ */
.search-loading {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid #e5e7eb;
    border-top-color: #233564;
    border-radius: 50%;
    animation: search-spin 0.6s linear infinite;
}

@keyframes search-spin {
    to {
        transform: rotate(360deg);
    }
}

/* اسکرول‌بار سفارشی */
.box-search-ajax-main::-webkit-scrollbar {
    width: 6px;
}

.box-search-ajax-main::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.box-search-ajax-main::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.box-search-ajax-main::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* جلوگیری از اسکرول پشت مودال */
body.modal-open {
    overflow: hidden;
}

/*--------------------------------------------------------------
>>> mega menu:
----------------------------------------------------------------*/
#menumobile {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -100%;
    width: 350px;
    z-index: 99991;
    transition: all 0.5s;
    box-sizing: border-box;
    overflow: hidden;
    overflow-y: auto;
}

.js-topPushNav.isOpen, .pushNav_level.isOpen {
    right: 0;
}

.aspect-ratio-3-2 {
    aspect-ratio: 3/2;
}

.box-menu-shadow {
    filter: drop-shadow(0 3px 0 rgba(184, 208, 208, .75));
    background: #fff
}

.box-all-menu.z99999 .menu-product-icon::after {
    display: none
}

.menu-tab-list li a {
    padding-right: 14px;
    padding-left: 14px;
    position: relative
}

.menu-tab-list li a::before {
    position: absolute;
    content: "";
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 1px;
    background: #e5f1f1
}

.menu-tab-list li a:hover {
    background: #e5f1f1
}

.menu-tab-list li a:hover span, .menu-tab-list li a:hover i, .menu-tab-list li a:hover a {
    color: #233564
}

.ListMegaMenu li.active a {
    padding-bottom: 16px;
    padding-top: 12px
}

.ListMegaMenu li.active a::before {
    content: "";
    width: 6px;
    height: 15px;
    border-radius: 3px;
    background-color: #f23248;
    display: inline-flex;
    margin-left: 18px;
    transform: translateY(calc(-50% + 12px))
}

.ListMegaMenu li:nth-child(1) a {
    padding-top: 7px
}

.item-tab-menu {
    visibility: hidden;
    opacity: 0;
    height: 0
}

.item-tab-menu.active {
    visibility: visible;
    opacity: 1;
    height: auto
}

.box-right-info-hover {
    position: relative
}

.box-right-info-hover::before {
    position: absolute;
    content: "";
    bottom: -2.5rem;
    top: -2.5rem;
    left: 0;
    width: 1px;
    background: #e9f2f2
}

.box-right-info-hover::after {
    position: absolute;
    content: "";
    bottom: -2.5rem;
    top: -2.5rem;
    left: 1px;
    width: 1px;
    background: #fff
}

.drop-shadow-social-call-hover {
    filter: drop-shadow(0 2px 0 rgba(126, 163, 163, .18))
}

/*--------------------------------------------------------------
>>> woocommerce:
----------------------------------------------------------------*/
.woocommerce-message .button.wc-forward {
    color: var(--color-ink);
}

.woocommerce-cart .product-thumbnail img {
    max-width: 75px;
    max-height: 75px;
    object-fit: cover;
    border-radius: 12px;
}

/*--------------------------------------------------------------
>>> mega menu mobile:
----------------------------------------------------------------*/
.pushNav, .pushNav a {
    font-size: 15px;
    font-weight: 100;
    color: #fff;
    text-decoration: none;
}

.pushNav {
    margin: 0;
    list-style-type: none;
    padding: 40px;
    background: #14396C;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
    overflow: hidden;
    transition: ease-in-out 0.5s;
}

.isOpen, .come-submenu {
    right: 0 !important;
}

@media screen and (max-width: 768px) {
    #menumobile {
        width: 95%;
    }
}

.main-mm ul li a:hover {
    color: var(--color2);
}

.main-mm ul li a {
    position: relative;
    width: 80%;
    font-size: 15px;
    font-weight: 700;
    padding: 1em 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.4s ease-in-out;
}

.openLevel, .closeLevel, .pushNav a {
    font-size: 15px;
    font-weight: 700;
    padding: 1em 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.4s ease-in-out;
}

.pushNav, .pushNav a {
    font-size: 15px;
    font-weight: 100;
    color: #fff;
    text-decoration: none;
}

.main-mm ul li > .sub-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 350px;
    background: #14396C;
    right: -350px;
    transition: 0.3s;
    z-index: 9;
    padding: 40px;
}

.childer {
    position: absolute;
    left: -28%;
    cursor: pointer;
    top: 10px;
    width: 25px;
    height: 25px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.childer i {
    position: absolute;
    cursor: pointer;
    top: 9px;
    border: solid rgb(255, 255, 255);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2.5px;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    left: 10px;
}

/*--------------------------------------------------------------
>>> menu mobile normall:
----------------------------------------------------------------*/
/* Mobile Menu Items */
.mobile_menu_ul_main li a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s ease;
}

.mobile_menu_ul_main li a:hover,
.mobile_menu_ul_main li.current-menu-item a {
    background-color: rgb(20 184 166 / 0.08); /* brand/8 */
    color: #14b8a6;
}

.mobile_menu_ul_main li.current-menu-item a {
    background-color: rgb(20 184 166 / 0.12);
}

/* زیرمنو */
.mobile_menu_ul_main .sub-menu {
    padding-right: 16px;
    margin-top: 4px;
    border-right: 2px solid #f1f5f9;
}

.mobile_menu_ul_main .sub-menu li a {
    font-size: 13px;
    padding: 10px 14px;
    font-weight: 500;
}

/*--------------------------------------------------------------
>>> footer:
----------------------------------------------------------------*/
.wave-footer {
    position: absolute;
    top: 79px;
    right: 26px;
    width: 304px;
    height: 122px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 13;
    transform: translate(0%, -100%);
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='304' height='122'%3E%3Cpath d='M0 0 C100.32 0 200.64 0 304 0 C304 14.19 304 28.38 304 43 C300.35 43.25 296.7 43.49 292.94 43.75 C283.2 44.51 274.27 45.8 265 49 C263.98 49.35 262.97 49.7 261.92 50.05 C239.84 58.45 222.43 76.37 206.19 92.9 C192.4 106.91 176.97 122.08 156.12 122.38 C128.42 122.42 107.35 98.41 88.56 80.7 C61.4 55.56 37.51 44.97 0 43 C0 28.81 0 14.62 0 0 Z' fill='%23ffffff' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.footer-map::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('../img/map.png') no-repeat;
    z-index: -1;
}

.access-mobile {
    filter: drop-shadow(0px 2px 0px #dce7e7);
    background: #fff;
    transition: all 0.3s;
}

.title-contact {
    position: relative;
    z-index: 1;
}

.title-contact::before {
    position: absolute;
    content: "";
    height: 1px;
    background-color: #e7eeee;
    left: 0;
    right: 0;
    top: 50%;
    z-index: -1;
}

.box-contactus input, .box-contactus textarea {
    border-radius: 14px;
    background-color: #f4f7f7;
    font-size: 12px !important;
    color: #88a3a3;
    font-weight: 700;
    height: 57px;
    padding: 23px 25px !important;
    width: 100% !important;
    margin-bottom: 12px !important;
}


.box-contactus .acf-button {
    padding: 21px 10px;
    width: 100%;
    justify-content: center;
    height: unset;
    border-radius: 14px;
    filter: drop-shadow(0px 2px 0px rgba(62, 108, 108, 0.23));
    background-color: #ffffff;
    border: 1px solid #e7f2f2;
    font-size: 15px;
    color: #233564;
    font-weight: bold;
}


#mask {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    opacity: .102;
    background-color: #010717;
}

#mask-special {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    background-color: #a6bebe;
    opacity: .302;
}

.license-list li img {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.license-list li:first-child img {
    opacity: 1;
}

.license-list li img:hover {
    opacity: 1;
}

/*--------------------------------------------------------------
>>> single:
----------------------------------------------------------------*/
@media (min-width: 1024px) {
    .post-contents-wrapper .sidebar-right .share-wrap li:hover .txt {
        transform: translateX(0);
        opacity: 100%;
    }
}


summary::-webkit-details-marker {
    display: none;
}

summary {
    list-style: none;
}

details summary .icon svg {
    transition: transform 0.3s ease;
}

details[open] summary .icon svg {
    transform: rotate(-90deg);
}

#ventiran-cart-modal.show {
    display: flex;
}

#ventiran-cart-modal.show .cart-modal-box {
    transform: translateY(0);
}


#product-price-sticky {
    will-change: transform;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

/* اطمینان از اینکه محتوای پایین صفحه زیر نوار نره */
@media (max-width: 1023px) {
    body.single-product {
        padding-bottom: 0;
    }

    #ventiran-cart-modal.show .cart-modal-box {
        transform: translateY(-100%) !important;
    }

    /* وقتی نوار فیکس نمایش داده میشه، فاصله اضافه بشه */
    #product-price-sticky.translate-y-0 ~ .site-footer,
    #product-price-sticky.translate-y-0 ~ footer {
        margin-bottom: 100px;
    }
}

/* اسکرول‌بار نوار */
#product-price-sticky .sticky-cart-form-wrapper {
    display: flex;
    align-items: center;
}

/* کوچک‌سازی فرم افزودن به سبد در حالت فیکس */
#product-price-sticky .quantity,
#product-price-sticky form.cart {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

#product-price-sticky .single_add_to_cart_button {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 0.75rem;
    white-space: nowrap;
    background: linear-gradient(to bottom right, var(--brand, #ff6124), var(--primary, #f13147));
    color: white;
    transition: all 0.2s ease;
}

#product-price-sticky .single_add_to_cart_button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 97, 36, 0.3);
}

.price-block.fullscreen {
    z-index: 9999999;
    background: #fff !important;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    overflow-y: auto;
}

/* ============================================================ */
/* Thank You Page — WooCommerce                                 */
/* ============================================================ */

.woocommerce-order .woocommerce-order-overview {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-order .woocommerce-order-overview li {
    margin: 0;
    padding: 0;
}

.woocommerce-order .woocommerce-order-overview li::before,
.woocommerce-order .woocommerce-order-overview li::after {
    display: none;
}

/* حذف استایل پیش‌فرض پیام */
.woocommerce-order .woocommerce-notice {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

/* اسکرول‌بار تمیز برای جزئیات بیشتر */
.woocommerce-thankyou-extras::-webkit-scrollbar {
    width: 6px;
}

.woocommerce-thankyou-extras::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
}

/* استایل جدول‌های داخل woocommerce_thankyou hook */
.woocommerce-order .woocommerce-table,
.woocommerce-order .shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.woocommerce-order .woocommerce-table th,
.woocommerce-order .shop_table th {
    background: #f8fafc;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-align: right;
    border-bottom: 1px solid #e2e8f0;
}

.woocommerce-order .woocommerce-table td,
.woocommerce-order .shop_table td {
    padding: 14px 16px;
    font-size: 14px;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
}

.woocommerce-order .woocommerce-table tr:last-child td,
.woocommerce-order .shop_table tr:last-child td {
    border-bottom: 0;
}

/* استایل دکمه‌های ووکامرس */
.woocommerce-order .button {
    text-decoration: none;
}

.woocommerce-order-received .entry-title {
    display: none !important;
}

/* ============================================================ */
/* Payment Methods — WooCommerce Pay Page                       */
/* ============================================================ */

/* لیست روش‌های پرداخت */
.wc_payment_methods .wc_payment_method {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* هر روش پرداخت — کارت */
.wc_payment_methods .wc_payment_method > label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    position: relative;
}

.wc_payment_methods .wc_payment_method > label:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

/* رادیو باتن */
.wc_payment_methods .wc_payment_method input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    margin: 0;
}

.wc_payment_methods .wc_payment_method input[type="radio"]:checked {
    border-color: #ff6124;
    background: #ff6124;
    box-shadow: inset 0 0 0 4px #fff;
}

/* حالت انتخاب‌شده */
.wc_payment_methods .wc_payment_method input[type="radio"]:checked ~ label,
.wc_payment_methods .wc_payment_method:has(input[type="radio"]:checked) > label {
    border-color: #ff6124;
    background: linear-gradient(to left, rgba(255, 97, 36, 0.05), rgba(241, 49, 71, 0.03));
    box-shadow: 0 0 0 3px rgba(255, 97, 36, 0.1);
}

/* آیکون درگاه */
.wc_payment_methods .wc_payment_method img {
    max-height: 28px;
    width: auto;
    margin-right: auto;
    border-radius: 6px;
}

/* توضیحات درگاه */
.wc_payment_methods .wc_payment_method .payment_box {
    margin-top: 10px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.7;
}

.wc_payment_methods .wc_payment_method .payment_box p {
    margin: 0 0 8px;
}

.wc_payment_methods .wc_payment_method .payment_box p:last-child {
    margin-bottom: 0;
}

/* فیلدهای داخل payment_box */
.wc_payment_methods .wc_payment_method .payment_box input[type="text"],
.wc_payment_methods .wc_payment_method .payment_box input[type="email"],
.wc_payment_methods .wc_payment_method .payment_box input[type="tel"],
.wc_payment_methods .wc_payment_method .payment_box input[type="number"],
.wc_payment_methods .wc_payment_method .payment_box select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    background: #fff;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
}

.wc_payment_methods .wc_payment_method .payment_box input:focus,
.wc_payment_methods .wc_payment_method .payment_box select:focus {
    border-color: #ff6124;
    box-shadow: 0 0 0 3px rgba(255, 97, 36, 0.12);
}

/* ============================================================ */
/* جدول اقلام — حذف استایل پیش‌فرض ووکامرس                       */
/* ============================================================ */
#order_review .shop_table {
    border-collapse: separate;
    border-spacing: 0;
}

#order_review .shop_table th,
#order_review .shop_table td {
    border: 0;
    vertical-align: middle;
}

#order_review .shop_table tbody tr:last-child td {
    border-bottom: 0;
}

/* حذف استایل پیش‌فرض متادیتای آیتم */
#order_review .shop_table .wc-item-meta {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    font-size: 11px;
    color: #64748b;
}

#order_review .shop_table .wc-item-meta li {
    margin: 2px 0;
    padding: 0;
}

#order_review .shop_table .wc-item-meta li::before {
    content: '•';
    margin-left: 6px;
    color: #cbd5e1;
}

#order_review .shop_table .wc-item-meta strong {
    font-weight: 700;
    color: #475569;
}

/* ============================================================ */
/* ریسپانسیو موبایل                                              */
/* ============================================================ */
@media (max-width: 640px) {
    #order_review .shop_table thead {
        display: none;
    }

    #order_review .shop_table tbody tr {
        display: block;
        padding: 12px;
        border-bottom: 1px solid #f1f5f9;
    }

    #order_review .shop_table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        text-align: right !important;
        border: 0;
    }

    #order_review .shop_table tbody td::before {
        content: attr(class);
        font-size: 11px;
        font-weight: 700;
        color: #94a3b8;
        text-transform: uppercase;
    }

    #order_review .shop_table tfoot th,
    #order_review .shop_table tfoot td {
        padding: 12px 0;
    }
}

/* ============================================================ */
/* انیمیشن دکمه پرداخت                                           */
/* ============================================================ */
#place_order:disabled,
#place_order.loading {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

#place_order .wc-forward,
#place_order::after {
    display: none;
}

/* ============================================================ */
/* My Account Orders Table — Reset WooCommerce Defaults         */
/* ============================================================ */

.my_account_orders {
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

.my_account_orders th,
.my_account_orders td {
    border: 0;
    vertical-align: middle;
}

.my_account_orders tbody tr:last-child td {
    border-bottom: 0;
}

/* حذف دکمه پیش‌فرض ووکامرس */
.my_account_orders .button {
    text-decoration: none;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    box-shadow: none;
}

/* موبایل: حذف ساختار جدول */
/*@media (max-width: 1023px) {*/
/*    .shop_table_responsive.shop_table {*/
/*        display: none;*/
/*    }*/
/*}*/

/* اطمینان از هم‌ترازی دکمه‌ها */
.my_account_orders .order-actions {
    text-align: left;
}

.my_account_orders .order-actions a {
    display: inline-flex;
}

/* ============================================================ */
/* My Account — Orders Table                                    */
/* ============================================================ */

/* جدول سفارشات */
.woocommerce-MyAccount-content .woocommerce-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.woocommerce-MyAccount-content .woocommerce-orders-table thead {
    background: #f8fafc;
}

.woocommerce-MyAccount-content .woocommerce-orders-table thead th {
    padding: 14px 16px;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: right;
    border-bottom: 1px solid #e2e8f0;
}

.woocommerce-MyAccount-content .woocommerce-orders-table tbody td {
    padding: 16px;
    font-size: 13px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:last-child td {
    border-bottom: 0;
}

.woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:hover {
    background: #f8fafc;
}

/* ستون شماره سفارش */
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-number a {
    font-weight: 800;
    color: #ff6124;
    text-decoration: none;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-number a:hover {
    text-decoration: underline;
}

/* ستون وضعیت */
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-status {
    font-weight: 700;
    font-size: 12px;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-status mark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-status mark.completed {
    background: #dcfce7;
    color: #166534;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-status mark.processing {
    background: #dbeafe;
    color: #1e40af;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-status mark.pending {
    background: #fef3c7;
    color: #92400e;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-status mark.cancelled,
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-status mark.failed {
    background: #fee2e2;
    color: #991b1b;
}

/* ستون عملیات — دکمه‌ها */
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #ff6124;
    transform: translateY(-1px);
}

/* دکمه پیش‌فاکتور — استایل خاص */
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button--preorder,
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .preorder {
    background: linear-gradient(to bottom right, #ff6124, #f13147);
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 97, 36, 0.25);
}

.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button--preorder:hover,
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .preorder:hover {
    box-shadow: 0 6px 16px rgba(255, 97, 36, 0.35);
    transform: translateY(-1px);
}

/* دکمه پرداخت (برای سفارشات pending) */
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button.pay {
    background: #10b981;
    color: #fff !important;
    border-color: transparent;
}

/* ============================================================ */
/* ریسپانسیو موبایل                                              */
/* ============================================================ */
@media (max-width: 768px) {
    .woocommerce-MyAccount-content .woocommerce-orders-table thead {
        display: none;
    }

    .woocommerce-MyAccount-content .woocommerce-orders-table tbody tr {
        display: block;
        padding: 14px;
        border-bottom: 1px solid #f1f5f9;
        background: #fff;
    }

    .woocommerce-MyAccount-content .woocommerce-orders-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border: 0;
        font-size: 13px;
    }

    .woocommerce-MyAccount-content .woocommerce-orders-table tbody td::before {
        content: attr(data-title);
        font-size: 11px;
        font-weight: 800;
        color: #94a3b8;
        text-transform: uppercase;
    }

    .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions {
        justify-content: stretch;
        padding-top: 12px;
        border-top: 1px dashed #e2e8f0;
        margin-top: 8px;
    }

    .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button {
        flex: 1;
    }
}

/* ============================================================ */
/* My Account — Orders Table                                    */
/* ============================================================ */

/* جدول در دسکتاپ */
.woocommerce-orders-table {
    border-collapse: separate;
    border-spacing: 0;
}

.woocommerce-orders-table thead th {
    border: 0;
}

.woocommerce-orders-table tbody td,
.woocommerce-orders-table tbody th {
    border: 0;
    vertical-align: middle;
}

/* حالت موبایل — تبدیل به کارت */
@media (max-width: 767px) {
    .woocommerce-orders-table thead {
        display: none;
    }

    .woocommerce-orders-table,
    .woocommerce-orders-table tbody {
        display: block;
    }

    .woocommerce-orders-table tbody tr {
        display: block;
        padding: 14px;
        border-bottom: 1px solid #f1f5f9;
        background: #fff;
    }

    .woocommerce-orders-table tbody tr:last-child {
        border-bottom: 0;
    }

    /* نمایش label کنار مقدار */
    .woocommerce-orders-table tbody td::before,
    .woocommerce-orders-table tbody th::before {
        content: attr(data-title);
        font-size: 11px;
        font-weight: 800;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    /* ستون عملیات — تمام عرض */
    .woocommerce-orders-table__cell-order-actions {
        padding-top: 12px;
        margin-top: 8px;
        border-top: 1px dashed #e2e8f0;
    }

    .woocommerce-orders-table__cell-order-actions::before {
        display: none !important;
    }

    .woocommerce-orders-table__cell-order-actions > div {
        width: 100%;
    }

    .woocommerce-orders-table__cell-order-actions .button {
        flex: 1;
    }
}

/* ============================================================ */
/* View Order — Order Details (via do_action)                   */
/* ============================================================ */

/* جدول جزئیات سفارش */
.woocommerce-order-details-wrapper .woocommerce-table--order-details,
.woocommerce-order-details-wrapper .shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.woocommerce-order-details-wrapper .woocommerce-table--order-details thead th,
.woocommerce-order-details-wrapper .shop_table thead th {
    background: #f8fafc;
    padding: 14px 18px;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: right;
    border-bottom: 1px solid #e2e8f0;
}

.woocommerce-order-details-wrapper .woocommerce-table--order-details tbody td,
.woocommerce-order-details-wrapper .woocommerce-table--order-details tbody th,
.woocommerce-order-details-wrapper .shop_table tbody td,
.woocommerce-order-details-wrapper .shop_table tbody th {
    padding: 16px 18px;
    font-size: 13px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    text-align: right;
}

.woocommerce-order-details-wrapper .woocommerce-table--order-details tbody tr:last-child td,
.woocommerce-order-details-wrapper .shop_table tbody tr:last-child td {
    border-bottom: 0;
}

.woocommerce-order-details-wrapper .woocommerce-table--order-details tbody tr:hover,
.woocommerce-order-details-wrapper .shop_table tbody tr:hover {
    background: #f8fafc;
}

/* ردیف‌های جمع‌بندی */
.woocommerce-order-details-wrapper .woocommerce-table--order-details tfoot th,
.woocommerce-order-details-wrapper .woocommerce-table--order-details tfoot td {
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    background: #f8fafc;
    text-align: right;
    border-top: 1px solid #e2e8f0;
}

.woocommerce-order-details-wrapper .woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-order-details-wrapper .woocommerce-table--order-details tfoot tr:last-child td {
    background: linear-gradient(to left, rgba(255, 97, 36, 0.06), rgba(241, 49, 71, 0.04));
    color: #0f172a;
    font-weight: 800;
    font-size: 15px;
}

.woocommerce-order-details-wrapper .woocommerce-table--order-details tfoot tr:last-child td {
    color: #ff6124;
}

/* تیتر بخش‌های do_action */
.woocommerce-order-details-wrapper h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    margin: 24px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.woocommerce-order-details-wrapper h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(to bottom, #ff6124, #f13147);
}

/* آدرس‌های مشتری */
.woocommerce-customer-details {
    margin-top: 24px;
}

.woocommerce-customer-details address {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-style: normal;
    font-size: 13px;
    line-height: 2;
    color: #475569;
}

.woocommerce-customer-details address p {
    margin: 0;
}

/* ============================================================ */
/* حالت ریسپانسیو                                                */
/* ============================================================ */
@media (max-width: 640px) {
    .woocommerce-order-details-wrapper .shop_table thead {
        display: none;
    }

    .woocommerce-order-details-wrapper .shop_table tbody tr {
        display: block;
        padding: 14px;
        border-bottom: 1px solid #f1f5f9;
    }

    .woocommerce-order-details-wrapper .shop_table tbody td,
    .woocommerce-order-details-wrapper .shop_table tbody th {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        border: 0;
        text-align: right;
    }
}

/* ============================================================ */
/* Order Status Message — حذف استایل mark پیش‌فرض                */
/* ============================================================ */
.woocommerce-order-status-message mark {
    background: linear-gradient(to bottom, transparent 60%, rgba(255, 97, 36, 0.18) 60%);
    color: inherit;
    font-weight: 800;
    padding: 0 2px;
    border-radius: 2px;
}

.woocommerce-order-status-message mark.order-number {
    color: #ff6124;
}

.woocommerce-order-status-message mark.order-status {
    color: #0f172a;
}

.woocommerce-product-gallery__wrapper img {
    border-radius: 12px !important;
}