:root {
	--wd-text-font: iranyekan;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: iranyekan;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: iranyekan;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: iranyekan;
	--wd-widget-title-font: iranyekan;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: iranyekan;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(232,95,51);
	--wd-alternative-color: rgb(163,122,201);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(232,95,51);
	--btn-accented-bgcolor-hover: rgb(56,56,56);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 233px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(255,255,255);
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(28,28,28);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(28,28,28);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(28,28,28);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: #1c1c1c;
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: #1c1c1c;
	background-image: none;
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-offset-h: 14px;
	--wd-arrow-bg: rgb(150,150,150);
	--wd-arrow-radius: 300px;
}
.wd-nav-arrows.wd-pos-together:not(:where(.wd-custom-style)) {
	--wd-arrow-offset-v: -141px;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 768.98px) {
	.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
		--wd-arrow-size: 30px;
	--wd-arrow-icon-size: 15px;
	--wd-arrow-offset-h: -25px;
	}

}
:root{
--wd-container-w: 1322px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}


rs-slides :is([data-type=text],[data-type=button]) {
font-family: iranyekan !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: iranyekan !important;
}

.wd-page-title {
background-color: rgba(232,232,232,0);
}

/* ==========================================================================
   KARIM COFFEE - MASTER CONSOLIDATED STYLESHEET (WOODMART)
   تمامی اسکوپ‌های وودمارت + استایل‌های سفارشی‌سازی وردپرس در یک فایل واحد
========================================================================== */

/* =========================================
   1. GLOBAL GENERAL, HEADER & NAVIGATION
========================================= */

.woodmart-button-wrapper.inline-element {
    margin-bottom: 0px;
}

.promo-banner,
.banner-hover-background.color-scheme-dark:not(.banner-border) .wrapper-content-banner:after {
    border-radius: 15px;
}

.promo-banner {
    overflow: hidden;
}

:is(.banner-hover-background:not(.banner-background), .banner-hover-border:not(.banner-border)) .wrapper-content-banner {
    padding: 30px 15px !important;
}

:is(.banner-hover-background:not(.banner-background), .banner-hover-border:not(.banner-border)) .wrapper-content-banner:after {
    inset: 10px !important;
}

.woodmart-hover-tiled .product-wrapper {
    background: #fff;
    overflow: hidden;
    border-radius: 15px;
}

.product-grid-item.woodmart-hover-tiled .hover-img img,
.product-grid-item.woodmart-hover-tiled .product-image-link img {
    width: 100%;
}

.labels-rectangular .product-label {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 15px;
    margin-right: 5px;
}

del span.woocommerce-Price-currencySymbol {
    display: none;
}

.wd-dropdown-menu.wd-design-default,
.wd-dropdown-menu.wd-design-default .wd-dropdown {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.wd-dropdown-menu.wd-design-sized,
.wd-nav-vertical .wd-dropdown-menu.wd-design-full-width {
    z-index: 9999;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
}

.wd-dropdown-menu.wd-design-full-width .wd-sub-menu > li,
.wd-dropdown-menu.wd-design-sized .wd-sub-menu > li {
    width: 189px;
}

.wd-sub-menu,
.wd-dropdown {
    background-color: #2e2e2e !important;
}

.wd-sub-menu li a {
    color: #ffffff;
}

.wd-info-box .info-box-title {
    line-height: 1.5;
    margin-bottom: 0;
}

.box-icon-align-right .box-icon-wrapper {
    margin-left: 9px;
}

.owl-stage-outer .wd-info-box .info-box-content {
    margin-top: 15px;
}

.main-page-wrapper {
    margin-top: 0px !important;
    padding-top: 100px;
}

.page-title {
    padding-top: 163px !important;
}

.wd-page-title .container {
    align-items: center !important;
}

/* استایل خط زیر منوها */
.wd-nav[class*="wd-style-underline"] > li:is(:hover, .current-menu-item, .wd-active, .active) > a .nav-link-text:after {
    width: 0;
}

.wd-nav[class*="wd-style-underline"] li:after {
    content: "";
    display: block;
    width: 0;
    height: 5px;
    bottom: -4px;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    transition: width 0.3s ease;
    background-color: #e85f33;
    position: absolute;
}

.wd-nav[class*="wd-style-underline"] > li:hover::after,
.wd-nav[class*="wd-style-underline"] > li.current-menu-item::after,
.wd-nav[class*="wd-style-underline"] > li.wd-active::after,
.wd-nav[class*="wd-style-underline"] > li.active::after {
    width: 100%;
    top: unset !important;
    height: 5px;
    bottom: -4px;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

.wd-nav[class*=wd-style-] > li:hover > a:before {
    opacity: 1;
}

/* تنظیمات عمومی هدر و لوگو */
.whb-general-header {
    z-index: 2 !important;
}

.whb-general-header .site-logo {
    max-height: 275px !important;
    padding-left: 44px;
    margin-bottom: -23px;
}

.whb-general-header .wd-logo:before {
    background-color: transparent !important;
}

body > div.website-wrapper > header > div > div.whb-row.whb-general-header.whb-sticky-row.whb-with-bg.whb-without-border.whb-color-dark.whb-with-shadow.whb-flex-equal-sides > div > div > div.whb-column.whb-col-center.whb-visible-lg > div > a > img {
    max-width: 275px !important;
}

.whb-general-header:before {
    filter: brightness(0) saturate(100%) invert(14%) sepia(97%) saturate(6%) hue-rotate(2deg) brightness(97%) contrast(95%);
}

.whb-sticked .whb-general-header .site-logo {
    max-height: 184px !important;
    padding-left: 44px;
    margin-bottom: -53px;
}

.whb-col-center.whb-visible-lg .site-logo img {
    filter: drop-shadow(-5px 1px 7px #00000052);
}

.whb-sticked.whb-scroll-down .whb-general-header:before {
    content: "";
    background: url("https://karimcoffee.ir/wp-content/uploads/Central_Curve_shadow2.svg") no-repeat;
    top: -167px;
}

.whb-sticked.whb-scroll-down .whb-general-header .wd-logo:before {
    top: -94px;
}

.header-banner {
    z-index: 390 !important;
}

/* المان‌های متفرقه، فرم و وبلاگ */
.text-right-ri .text-left {
    --text-align: right !important;
    text-align: var(--text-align) !important;
    --content-align: flex-start !important;
}

.top-address {
    padding: 5px 5px !important;
}

.social-top a {
    padding: 10px !important;
}

.wd-search-full-screen.wd-opened {
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.5);
}

.wd-post .article-inner {
    border-radius: 15px !important;
}

.blog-design-masonry.blog-style-shadow .article-inner {
    border-radius: 15px;
    overflow: hidden;
}

.blog-post-loop .post-img-wrapp {
    padding: 20px;
    background: #2e2e2e !important;
}

.blog-post-loop .post-img-wrapp a {
    border-radius: 15px !important;
    overflow: hidden;
}

.blog-post-loop .entry-thumbnail img {
    border-radius: 35px;
}

.blog-design-masonry.has-post-thumbnail .post-date {
    display: none;
}

.wd-carousel .wd-post-date.wd-style-with-bg {
    border-top-right-radius: 15px !important;
}

.owl-items-lg-4 .post-slide .post-title {
    max-height: 39px;
    min-height: 39px;
}

.slide-post .entry-header:before {
    content: " ";
    position: absolute;
    width: 150px;
    top: 0px;
    transform: translate(-50%, 0%);
    left: 50%;
    border-radius: 0px 0px 10px 10px;
    height: 8px;
    background-color: var(--wd-primary-color);
}

.wd-post-cat.wd-style-with-bg {
    border-radius: 8px;
}

.meta-categories-wrapp {
    top: -30px;
}

.wd-arrow-inner {
    background: #2e2e2e !important;
}

.btn.btn-full-width {
    width: 85% !important;
}

.wd-prefooter {
    padding-bottom: 0 !important;
}

.select2-dropdown {
    color: #fff !important;
}

.mc4wp-form > div {
    justify-content: flex-start;
}

.mc4wp-form > div > p:first-child {
    max-width: 384px;
}


/* =========================================
   2. DESKTOP SCOPE (min-width: 1025px)
   (ادغام مدیاکوئری دسکتاپ گلوبال + اسکوپ دسکتاپ وودمارت)
========================================= */

@media (min-width: 1025px) {
    .whb-general-header {
        max-width: 1320px;
        margin: auto;
        margin-top: -37px;
        border-radius: 44px;
    }

    .whb-sticked .whb-general-header {
        max-width: 100%;
        margin: auto;
        margin-top: 0px;
        border-radius: 0px;
    }

    .whb-header-bottom {
        border-bottom-right-radius: 41px;
        border-bottom-left-radius: 41px;
        padding: 0 43px;
        max-width: 1150px;
        margin: auto;
    }

    .whb-general-header .wd-logo:before {
        content: '';
        width: 239px;
        height: 239px;
        background: #f5f5f5;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        -khtml-border-radius: 50%;
        border-radius: 50%;
        position: absolute;
        right: 0;
        left: 0;
        bottom: 0;
        margin: auto;
        top: -4px; /* اورراید شده توسط اسکوپ دسکتاپ */
    }

    .whb-sticked .whb-general-header .wd-logo:before {
        top: -14px;
        width: 200px;
        height: 200px;
        background: #fff;
    }

    .whb-general-header:before {
        content: "";
        background: url("https://karimcoffee.ir/wp-content/uploads/Central_Curve_shadow2.svg") no-repeat;
        width: 364px;
        height: 325px;
        display: inline-block;
        margin: auto;
        left: 0;
        right: 0;
        background-size: contain;
        top: -4px;
        position: absolute;
    }

    .whb-sticked .whb-general-header:before {
        content: "";
        background: url("https://karimcoffee.ir/wp-content/uploads/Central_Curve_shadow2.svg") no-repeat;
        top: -117px;
        width: 364px;
        height: 325px;
    }

    .whb-general-header .site-logo {
        z-index: 9999;
        max-height: 190px;
    }

    .whb-sticked .whb-general-header .site-logo {
        max-height: 120px;
        margin-top: 60px;
    }

    .whb-general-header-inner,
    .whb-top-bar-inner {
        padding: 0px 20px;
    }

    body > div.mobile-nav.wd-side-hidden.wd-side-hidden-nav.wd-right.wd-opener-arrow.color-scheme-light.wd-opened > ul.wd-nav.wd-nav-mob-tab.wd-style-underline.wd-swap > li.mobile-tab-title.mobile-pages-title {
        display: none !important;
    }

    body > div.mobile-nav.wd-side-hidden.wd-side-hidden-nav.wd-right.wd-opener-arrow.color-scheme-light.wd-opened > ul.wd-nav.wd-nav-mob-tab.wd-style-underline.wd-swap > li.mobile-tab-title.mobile-categories-title.wd-active {
        flex: 1 0 100% !important;
        max-width: 100% !important;
    }

    .page-title {
        --wd-title-sp: 0px !important;
        background-color: rgb(46 46 46) !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        margin-block: 0 47px !important;
        max-width: 1320px;
        inset: 0;
        margin: auto;
        border-radius: 50px;
        text-align: center;
    }

    .page-title .title {
        font-size: 34px !important;
    }

    .whb-sticky-prepared {
        background-color: #1c1c1c;
    }
}


/* =========================================
   3. TABLET, MOBILE LANDSCAPE & MOBILE SCOPES
   (ادغام ۳ اسکوپ تبلت، لندسکیپ و موبایل وودمارت بدون تکرار کد)
========================================= */

@media (max-width: 1024px) {
    .wd-builder-off {
        padding-block: 0px !important;
    }

    body > div.website-wrapper > header > div > div.whb-row.whb-general-header.whb-sticky-row.whb-with-bg.whb-without-border.whb-color-light.whb-with-shadow.whb-flex-equal-sides > div > div > div.whb-column.whb-mobile-center.whb-hidden-lg > div > div {
        position: relative;
        top: -124px;
        left: 122px;
    }

    body > div.website-wrapper > header > div > div.whb-row.whb-general-header.whb-sticky-row.whb-with-bg.whb-without-border.whb-color-light.whb-with-shadow.whb-flex-equal-sides > div > div > div.whb-column.whb-mobile-center.whb-hidden-lg > div > div > a > div.backlogo-mobile {
        width: 253px;
        position: absolute;
        top: 22px;
        z-index: -1;
    }

    body > div.website-wrapper > header > div > div.whb-row.whb-general-header.whb-sticky-row.whb-with-bg.whb-without-border.whb-color-light.whb-with-shadow.whb-flex-equal-sides > div > div > div.whb-column.whb-mobile-center.whb-hidden-lg > div > div > a > div.logo-mobile {
        position: absolute;
        top: 100px;
        width: 130px;
        right: 48px;
    }

    body > div.website-wrapper > header > div > div.whb-row.whb-general-header.whb-sticky-row.whb-with-bg.whb-without-border.whb-color-light.whb-with-shadow.whb-flex-equal-sides > div > div > div.whb-column.whb-mobile-center.whb-hidden-lg > div > div > a > div.logo-mobile > img {
        filter: drop-shadow(-5px 1px 7px #00000052);
    }

    .page-title {
        --wd-title-sp: 0px !important;
        background-color: rgb(46 46 46) !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        margin-block: 60px 47px !important;
        max-width: 95%;
        inset: 0;
        margin: auto;
        border-radius: 50px;
        text-align: center;
    }
}

/* اختصاصی اسکوپ موبایل وودمارت (Portrait) */
@media (max-width: 576px) {
    .page-title {
        margin-block: 100px 0px !important;
    }

    .offcanvas-sidebar-mobile .shop-content-area:not(.col-lg-12) {
        margin-top: 80px;
    }

    .whb-with-shadow {
        box-shadow: none !important;
    }
}


/* =========================================
   4. WOOCOMMERCE CHECKOUT - PREMIUM DARK DESIGN
========================================= */

.woocommerce-checkout {
    --checkout-bg: #202020;
    --checkout-input: #181818;
    --checkout-border: #383838;
    --checkout-orange: #e85f33;
    --checkout-text: #fff;
    --checkout-muted: #aaa;
}

/* 4.1. CHECKOUT MAIN LAYOUT */
.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    direction: rtl !important;
    align-items: start !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

.woocommerce-checkout form.checkout > wc-order-attribution-inputs {
    display: none !important;
}

.woocommerce-checkout #customer_details {
    grid-column: 1 !important;
    grid-row: 1 !important;
    direction: rtl !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    background: var(--checkout-bg) !important;
    padding: 25px !important;
    border: 1px solid var(--checkout-border) !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.woocommerce-checkout form.checkout > .checkout-order-review {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    float: none !important;
    position: relative !important;
}

.woocommerce-checkout form.checkout > .checkout-order-review::before,
.woocommerce-checkout form.checkout > .checkout-order-review::after {
    display: none !important;
    content: none !important;
}

.woocommerce-checkout #order_review_heading {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    direction: rtl !important;
    text-align: right !important;
    background: var(--checkout-bg) !important;
    color: #fff !important;
    padding: 20px 20px 15px !important;
    margin: 0 !important;
    border: 1px solid var(--checkout-border) !important;
    border-bottom: none !important;
    border-radius: 14px 14px 0 0 !important;
    box-sizing: border-box !important;
    font-size: 19px !important;
    font-weight: 700 !important;
}

.woocommerce-checkout #order_review {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    background: var(--checkout-bg) !important;
    padding: 0 20px 25px !important;
    border: 1px solid var(--checkout-border) !important;
    border-top: none !important;
    border-radius: 0 0 14px 14px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    direction: rtl !important;
    overflow: hidden !important;
}

.woocommerce-checkout #order_review .wd-table-wrapper {
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.woocommerce-checkout #customer_details *,
.woocommerce-checkout #order_review * {
    box-sizing: border-box;
}

/* 4.2. SECTION HEADINGS */
.woocommerce-checkout #customer_details h3,
.woocommerce-checkout #order_review_heading {
    color: #fff !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    direction: rtl !important;
    text-align: right !important;
}

.woocommerce-checkout #customer_details h3 {
    position: relative !important;
    padding-bottom: 15px !important;
    margin: 0 0 25px !important;
    border-bottom: 1px solid var(--checkout-border) !important;
}

.woocommerce-checkout #customer_details h3::after {
    content: "" !important;
    position: absolute !important;
    bottom: -1px !important;
    right: 0 !important;
    left: auto !important;
    width: 55px !important;
    height: 3px !important;
    background: var(--checkout-orange) !important;
    border-radius: 5px !important;
}

/* 4.3. COUPON TOGGLE */
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    width: 100% !important;
    margin-bottom: 25px !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    all: unset !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    direction: rtl !important;
    text-align: right !important;
    background: #252525 !important;
    color: #fff !important;
    padding: 14px 18px !important;
    margin: 0 !important;
    border: 1px solid #444 !important;
    border-right: 4px solid var(--checkout-orange) !important;
    border-radius: 9px !important;
    font-size: 14px !important;
    line-height: 2 !important;
    box-shadow: none !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
    display: none !important;
    content: none !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--checkout-orange) !important;
    color: #fff !important;
    padding: 5px 14px !important;
    margin-right: 8px !important;
    border-radius: 6px !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    cursor: pointer !important;
    transition: all .25s ease !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon:hover {
    background: #fff !important;
    color: var(--checkout-orange) !important;
}

/* 4.4. CUSTOMER FORM FIELDS & NOTES */
.woocommerce-checkout #customer_details .form-row {
    width: 100% !important;
    float: none !important;
    margin: 0 0 19px !important;
    padding: 0 !important;
    clear: both !important;
}

.woocommerce-checkout #customer_details .form-row label {
    display: block !important;
    width: 100% !important;
    color: #ddd !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-align: right !important;
    direction: rtl !important;
    margin-bottom: 9px !important;
}

.woocommerce-checkout #customer_details .required {
    color: var(--checkout-orange) !important;
}

.woocommerce-checkout #customer_details input.input-text,
.woocommerce-checkout #customer_details textarea,
.woocommerce-checkout #customer_details select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px !important;
    background: var(--checkout-input) !important;
    color: #fff !important;
    border: 1px solid #444 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-family: inherit !important;
    font-size: 13px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all .25s ease !important;
}

.woocommerce-checkout #customer_details textarea {
    min-height: 110px !important;
    resize: vertical !important;
}

.woocommerce-checkout #order_comments_field label {
    direction: rtl !important;
    text-align: right !important;
}

.woocommerce-checkout #customer_details input::placeholder,
.woocommerce-checkout #customer_details textarea::placeholder {
    color: #777 !important;
    opacity: 1 !important;
}

.woocommerce-checkout #customer_details input:focus,
.woocommerce-checkout #customer_details textarea:focus,
.woocommerce-checkout #customer_details select:focus {
    border-color: var(--checkout-orange) !important;
    background: #1c1c1c !important;
    box-shadow: 0 0 0 3px rgba(232,95,51,.12) !important;
}

/* 4.5. SELECT2 & PHONE FIELD */
.woocommerce-checkout #customer_details .select2-container {
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce-checkout #customer_details .select2-container--default .select2-selection--single {
    height: 48px !important;
    background: var(--checkout-input) !important;
    border: 1px solid #444 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    transition: .25s ease !important;
}

.woocommerce-checkout #customer_details .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--checkout-orange) !important;
    box-shadow: 0 0 0 3px rgba(232,95,51,.12) !important;
}

.woocommerce-checkout #customer_details .select2-selection__rendered {
    color: #fff !important;
    padding-right: 14px !important;
    font-size: 13px !important;
    text-align: right !important;
}

.woocommerce-checkout #customer_details .select2-selection__arrow {
    height: 46px !important;
}

.woocommerce-checkout #customer_details .digcon {
    display: flex !important;
    align-items: stretch !important;
    gap: 5px !important;
    width: 100% !important;
    direction: rtl !important;
}

.woocommerce-checkout #customer_details .digcon > input[type="tel"] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.woocommerce-checkout #customer_details .digcon .countrycode {
    flex: 0 0 75px !important;
    width: 75px !important;
    min-width: 75px !important;
    padding: 10px !important;
    text-align: center !important;
}

/* 4.6. ORDER REVIEW TABLE */
.woocommerce-checkout #order_review table.shop_table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    direction: rtl !important;
    background: #202020 !important;
    color: #fff !important;
    margin: 0 !important;
    border: 1px solid #383838 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.woocommerce-checkout #order_review table.shop_table thead,
.woocommerce-checkout #order_review table.shop_table tbody,
.woocommerce-checkout #order_review table.shop_table tfoot {
    display: block !important;
    width: 100% !important;
}

.woocommerce-checkout #order_review table.shop_table thead tr,
.woocommerce-checkout #order_review table.shop_table tfoot tr {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid #383838 !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot tr:last-child {
    border-bottom: none !important;
}

.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td {
    background: transparent !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 16px !important;
    vertical-align: middle !important;
    text-align: right !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
}

.woocommerce-checkout #order_review table.shop_table thead tr {
    background: #292929 !important;
}

.woocommerce-checkout #order_review table.shop_table thead th {
    font-size: 13px !important;
    font-weight: 700 !important;
}

.woocommerce-checkout #order_review table.shop_table thead th.product-name {
    width: 70% !important;
    text-align: right !important;
}

.woocommerce-checkout #order_review table.shop_table thead th.product-total {
    width: 30% !important;
    text-align: left !important;
}

.woocommerce-checkout #order_review table.shop_table tbody tr.cart_item {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid #383838 !important;
}

.woocommerce-checkout #order_review table.shop_table td.wd-checkout-prod {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 18px !important;
    padding: 18px 16px !important;
}

.woocommerce-checkout #order_review .wd-checkout-prod-img {
    margin: 0 0 0 6px !important;
    flex-shrink: 0 !important;
}

.woocommerce-checkout #order_review .wd-checkout-prod-img img {
    max-width: 68px !important;
    min-width: 68px !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    display: block !important;
}

.woocommerce-checkout #order_review .wd-checkout-prod-cont {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    gap: 24px !important;
    min-width: 0 !important;
}

.woocommerce-checkout #order_review .wd-checkout-prod-title {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    text-align: right !important;
}

.woocommerce-checkout #order_review .wd-checkout-prod-title a.cart-product-label-link {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

.woocommerce-checkout #order_review .wd-checkout-prod-total {
    flex-shrink: 0 !important;
    text-align: left !important;
    white-space: nowrap !important;
    padding-right: 10px !important;
}

.woocommerce-checkout #order_review .wd-checkout-prod-title .quantity,
.woocommerce-checkout #order_review .quantity {
    display: inline-flex !important;
    width: fit-content !important;
    max-width: max-content !important;
    background: transparent !important;
    border-radius: 6px !important;
    margin-top: 4px !important;
    overflow: visible !important;
}

.woocommerce-checkout #order_review .quantity input.qty,
.woocommerce-checkout #order_review .quantity .btn {
    color: #fff !important;
    background: transparent !important;
    border: 1px solid #484848 !important;
}

.woocommerce-checkout #order_review .quantity input.qty {
    border-right: none !important;
    border-left: none !important;
    width: 34px !important;
}

.woocommerce-checkout #order_review .quantity .btn:hover {
    background: var(--checkout-orange) !important;
    border-color: var(--checkout-orange) !important;
}

.woocommerce-checkout #order_review .wd-checkout-remove-btn {
    color: var(--checkout-orange) !important;
}

.woocommerce-checkout #order_review .woocommerce-Price-amount {
    color: #fff !important;
    font-weight: 600 !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot {
    background: #242424 !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot th {
    width: 55% !important;
    font-weight: 700 !important;
    text-align: right !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot td {
    width: 45% !important;
    font-weight: 700 !important;
    text-align: left !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot tr.woocommerce-shipping-totals {
    flex-direction: column !important;
    align-items: stretch !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot tr.woocommerce-shipping-totals th {
    width: 100% !important;
    padding-bottom: 4px !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot tr.woocommerce-shipping-totals td {
    width: 100% !important;
    text-align: right !important;
    padding-top: 6px !important;
}

.woocommerce-checkout #order_review .order-total .woocommerce-Price-amount {
    color: var(--checkout-orange) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

/* 4.7. SHIPPING METHODS */
.woocommerce-checkout #order_review .woocommerce-shipping-methods {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-checkout #order_review .woocommerce-shipping-methods li {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    background: #191919 !important;
    border: 1px solid #3d3d3d !important;
    border-radius: 9px !important;
    padding: 13px 15px !important;
    margin: 0 !important;
    color: #ccc !important;
    direction: rtl !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

.woocommerce-checkout #order_review .woocommerce-shipping-methods li:hover {
    border-color: #555 !important;
    background: #1e1e1e !important;
}

.woocommerce-checkout #order_review .woocommerce-shipping-methods li:has(input:checked) {
    background: rgba(232, 95, 51, 0.1) !important;
    border-color: var(--checkout-orange) !important;
    box-shadow: 0 0 0 1px rgba(232, 95, 51, 0.25) !important;
}

.woocommerce-checkout #order_review .woocommerce-shipping-methods li:has(input:checked) label {
    color: #fff !important;
    font-weight: 600 !important;
}

.woocommerce-checkout #order_review .woocommerce-shipping-methods input[type="radio"] {
    accent-color: var(--checkout-orange) !important;
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
}

.woocommerce-checkout #order_review .woocommerce-shipping-methods li label {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    color: #ddd !important;
    font-size: 12.5px !important;
    line-height: 1.6 !important;
    cursor: pointer !important;
    margin: 0 !important;
    overflow-wrap: anywhere !important;
}

/* 4.8. PAYMENT METHODS & PLACE ORDER */
.woocommerce-checkout #payment {
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 20px 0 0 !important;
    padding: 0 !important;
    direction: rtl !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    background: #191919 !important;
    border: 1px solid #383838 !important;
    border-radius: 10px !important;
    padding: 15px !important;
    margin: 0 !important;
    color: #fff !important;
    transition: all .25s ease !important;
    text-align: right !important;
}

.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) {
    border-color: var(--checkout-orange) !important;
    background: rgba(232, 95, 51, 0.06) !important;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    display: inline-flex !important;
    align-items: center !important;
    max-width: 100% !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    vertical-align: middle !important;
    gap: 8px !important;
}

.woocommerce-checkout #payment ul.payment_methods input[type="radio"] {
    accent-color: var(--checkout-orange) !important;
    margin: 0 0 0 8px !important;
    width: 17px !important;
    height: 17px !important;
    vertical-align: middle !important;
}

.woocommerce-checkout #payment ul.payment_methods img {
    max-width: 45px !important;
    max-height: 35px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    vertical-align: middle !important;
}

.woocommerce-checkout #payment .payment_box {
    width: 100% !important;
    max-width: 100% !important;
    background: #262626 !important;
    color: #ddd !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin: 12px 0 0 !important;
    font-size: 12px !important;
    line-height: 2 !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout #payment .payment_box::before {
    border-bottom-color: #262626 !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    width: 100% !important;
    margin: 15px 0 !important;
    border-top: none !important;
    padding-top: 0 !important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
    background: #191919 !important;
    border: 1px solid #383838 !important;
    border-radius: 8px !important;
    padding: 14px !important;
    color: #ccc !important;
    font-size: 11px !important;
    line-height: 2.2 !important;
    margin-bottom: 15px !important;
    text-align: right !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label {
    color: #fff !important;
    font-size: 12px !important;
    line-height: 2 !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input {
    accent-color: var(--checkout-orange) !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
    color: var(--checkout-orange) !important;
}

.woocommerce-checkout #payment #place_order {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px !important;
    background: var(--checkout-orange) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 9px !important;
    padding: 14px 20px !important;
    margin: 15px 0 0 !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    box-shadow: none !important;
    transition: all .25s ease !important;
}

.woocommerce-checkout #payment #place_order:hover {
    background: #fff !important;
    color: var(--checkout-orange) !important;
    transform: translateY(-2px) !important;
}

/* 4.9. SHIPPING ADDRESS & FLOATS RESET */
.woocommerce-checkout #ship-to-different-address {
    background: #181818 !important;
    padding: 15px !important;
    border: 1px solid #383838 !important;
    border-radius: 9px !important;
    margin: 15px 0 !important;
}

.woocommerce-checkout #ship-to-different-address label {
    color: #eee !important;
    font-size: 14px !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.woocommerce-checkout #ship-to-different-address input {
    accent-color: var(--checkout-orange) !important;
    width: 17px !important;
    height: 17px !important;
    vertical-align: middle !important;
}

.woocommerce-checkout .shipping_address {
    margin-top: 20px !important;
}

.woocommerce-checkout .col2-set,
.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
    padding: 0 !important;
}

.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message {
    direction: rtl !important;
    text-align: right !important;
}

/* 4.10. CHECKOUT RESPONSIVE */
@media (min-width: 768px) and (max-width: 1024px) {
    .woocommerce-checkout form.checkout {
        gap: 18px !important;
    }
    .woocommerce-checkout #customer_details {
        padding: 18px !important;
    }
    .woocommerce-checkout #order_review {
        padding: 0 12px 18px !important;
    }
    .woocommerce-checkout #order_review_heading {
        padding: 18px 12px 12px !important;
    }
    .woocommerce-checkout #order_review table.shop_table th,
    .woocommerce-checkout #order_review table.shop_table td {
        padding: 10px 8px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 767px) {
    .woocommerce-checkout form.checkout {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 20px !important;
    }

    .woocommerce-checkout #customer_details,
    .woocommerce-checkout form.checkout > .checkout-order-review,
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        float: none !important;
        margin: 0 !important;
    }

    .woocommerce-checkout #customer_details {
        order: 1 !important;
        padding: 16px !important;
        border-radius: 10px !important;
    }

    .woocommerce-checkout form.checkout > .checkout-order-review {
        order: 2 !important;
    }

    .woocommerce-checkout #order_review_heading {
        padding: 16px 16px 12px !important;
        border-radius: 10px 10px 0 0 !important;
    }

    .woocommerce-checkout #order_review {
        padding: 0 12px 16px !important;
        border-radius: 0 0 10px 10px !important;
    }

    .woocommerce-checkout #customer_details h3,
    .woocommerce-checkout #order_review_heading {
        font-size: 17px !important;
    }

    .woocommerce-checkout #customer_details .form-row {
        width: 100% !important;
        float: none !important;
        margin-bottom: 16px !important;
    }

    .woocommerce-checkout #order_review .wd-checkout-prod-cont {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .woocommerce-checkout #order_review .wd-checkout-prod-total {
        align-self: flex-end !important;
    }

    .woocommerce-checkout #order_review .wd-checkout-prod-img img {
        max-width: 55px !important;
        min-width: 55px !important;
    }

    .woocommerce-checkout #payment ul.payment_methods li {
        padding: 12px !important;
    }

    .woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
        padding: 12px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .woocommerce-checkout #customer_details {
        padding: 13px !important;
    }
    .woocommerce-checkout #order_review {
        padding: 0 10px 12px !important;
    }
    .woocommerce-checkout #order_review_heading {
        padding: 14px 12px 10px !important;
    }
    .woocommerce-checkout #order_review table.shop_table th,
    .woocommerce-checkout #order_review table.shop_table td {
        padding: 10px 8px !important;
        font-size: 11px !important;
    }
    .woocommerce-checkout #order_review .wd-checkout-prod-img img {
        max-width: 48px !important;
        min-width: 48px !important;
    }
    .woocommerce-checkout #payment #place_order {
        font-size: 14px !important;
    }
}


/* =========================================
   5. CHECKOUT STEPS (BREADCRUMB)
========================================= */

.wd-page-title.page-title:has(.wd-checkout-steps) {
    padding-bottom: 30px !important;
    margin-bottom: 10px !important;
    background: transparent !important;
    margin-top: -50px!important;
}

.wd-checkout-steps {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    background: #202020 !important;
    border: 1px solid #383838 !important;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    margin: 0 auto !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
    direction: rtl !important;
    list-style: none !important;
    counter-reset: checkout-step !important;
    box-sizing: border-box !important;
}

.wd-checkout-steps li {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    counter-increment: checkout-step !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.wd-checkout-steps li > a,
.wd-checkout-steps li > span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    margin: 0 !important;
    border-radius: 40px !important;
    color: #999 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    transition: all 0.25s ease !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
}

.wd-checkout-steps li > a::before,
.wd-checkout-steps li > span::before {
    content: counter(checkout-step) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: #181818 !important;
    border: 1px solid #444 !important;
    color: #aaa !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    transition: all 0.25s ease !important;
    flex-shrink: 0 !important;
}

.wd-checkout-steps li > a:hover {
    color: #fff !important;
    background: #292929 !important;
}

.wd-checkout-steps li > a:hover::before {
    border-color: #e85f33 !important;
    color: #e85f33 !important;
}

.wd-checkout-steps li.step-active > a,
.wd-checkout-steps li.step-active > span {
    background: rgba(232, 95, 51, 0.14) !important;
    border: 1px solid #e85f33 !important;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 0 15px rgba(232, 95, 51, 0.18) !important;
}

.wd-checkout-steps li.step-active > a::before,
.wd-checkout-steps li.step-active > span::before {
    background: #e85f33 !important;
    border-color: #e85f33 !important;
    color: #fff !important;
}

.wd-checkout-steps li:not(:last-child)::after {
    content: "\f121" !important;
    font-family: "woodmart-font" !important;
    font-size: 11px !important;
    color: #555 !important;
    opacity: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    transform: none !important;
}

@media (max-width: 1024px) {
    .wd-page-title.page-title:has(.wd-checkout-steps) {
        padding-top: 0px !important;
        padding-bottom: 15px !important;
        margin-top: 85px !important; /* فاصله استاندارد از زیر لوگوی موبایل و تبلت */
        margin-bottom: 15px !important;
    }
}

@media (max-width: 768.98px) {
    .wd-checkout-steps li,
    .wd-checkout-steps .step-inactive {
        display: inline-flex !important;
    }

    .wd-checkout-steps {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: 94% !important;
        max-width: 94% !important;
        justify-content: space-between !important;
        padding: 7px 10px !important;
        gap: 4px !important;
        border-radius: 30px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        margin-top: 0px !important; /* حذف -50px که باعث رفتن زیر لوگو می‌شد */
    }

    .wd-checkout-steps::-webkit-scrollbar {
        display: none !important;
    }

    .wd-checkout-steps li {
        gap: 4px !important;
        font-size: 11px !important;
    }

    .wd-checkout-steps li > a,
    .wd-checkout-steps li > span {
        padding: 5px 8px !important;
        gap: 4px !important;
    }

    .wd-checkout-steps li > a::before,
    .wd-checkout-steps li > span::before {
        width: 18px !important;
        height: 18px !important;
        font-size: 10px !important;
    }

    .wd-checkout-steps li:not(:last-child)::after {
        font-size: 8px !important;
    }
}


/* =========================================
   newcods
========================================= */

.wd-content-layout{
    padding-block:0px!important
}

/* ==========================================================================
   KARIM COFFEE - BLOG ARCHIVE & SIDEBAR (EXACT DOM MATCH - WOODMART 8.6)
========================================================================== */

:root {
    --kc-blog-card: #202020;
    --kc-blog-inner: #181818;
    --kc-blog-border: #383838;
    --kc-blog-orange: #e85f33;
    --kc-blog-text: #ffffff;
    --kc-blog-muted: #aaaaaa;
}

/* =========================================
   1. BLOG GRID & POST CARDS (کارت‌های مقالات)
========================================= */

/* تنظیم فاصله استاندارد بین کارت‌های شبکه مقالات */
.wd-posts.wd-blog-holder {
    --wd-gap-lg: 24px !important;
    --wd-gap-sm: 16px !important;
    align-items: stretch !important;
}

.wd-post.blog-design-meta-image {
    display: flex !important;
    height: 100% !important;
}

/* باکس اصلی هر کارت مقاله */
.wd-post.blog-design-meta-image .wd-post-inner {
    background-color: var(--kc-blog-card) !important;
    border: 1px solid var(--kc-blog-border) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* افکت هاور روی کارت مقاله */
.wd-post.blog-design-meta-image:hover .wd-post-inner {
    border-color: var(--kc-blog-orange) !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 14px 32px rgba(232, 95, 51, 0.16) !important;
}

/* بخش تصویر مقاله - یکدست کردن ارتفاع تمام تصاویر با نسبت 16:10 */
.wd-post.blog-design-meta-image .wd-post-thumb {
    position: relative !important;
    margin: 10px 10px 0 10px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    aspect-ratio: 16 / 10 !important;
    background: var(--kc-blog-inner) !important;
    flex-shrink: 0 !important;
}

/* گرادینت ملایم پایین عکس برای خوانایی نام نویسنده و آیکون‌ها */
.wd-post.blog-design-meta-image .wd-post-thumb::after {
    content: "" !important;
    position: absolute !important;
    inset: auto 0 0 0 !important;
    height: 55% !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.wd-post.blog-design-meta-image .wd-post-img,
.wd-post.blog-design-meta-image .wd-post-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}

.wd-post.blog-design-meta-image:hover .wd-post-img img {
    transform: scale(1.07) !important;
}

/* هدر روی تصویر (نویسنده، اشتراک‌گذاری و دیدگاه) */
.wd-post.blog-design-meta-image .wd-post-header {
    z-index: 2 !important;
    padding: 10px 12px !important;
}

.wd-post.blog-design-meta-image .wd-post-author {
    background: rgba(24, 24, 24, 0.75) !important;
    backdrop-filter: blur(4px) !important;
    padding: 4px 10px 4px 6px !important;
    border-radius: 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-size: 11.5px !important;
}

/* بخش محتوای متنی کارت */
.wd-post.blog-design-meta-image .wd-post-content {
    background: transparent !important;
    padding: 18px 18px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    text-align: right !important;
    direction: rtl !important;
}

/* دسته‌بندی و تاریخ انتشار بالای عنوان */
.wd-post.blog-design-meta-image .wd-post-entry-meta {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
    font-size: 11.5px !important;
}

/* بج کپسولی برای دسته‌بندی مقاله */
.wd-post.blog-design-meta-image .wd-post-cat a {
    display: inline-block !important;
    background: rgba(232, 95, 51, 0.14) !important;
    color: var(--kc-blog-orange) !important;
    border: 1px solid rgba(232, 95, 51, 0.3) !important;
    padding: 2px 10px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.wd-post.blog-design-meta-image .wd-post-cat a:hover {
    background: var(--kc-blog-orange) !important;
    color: #fff !important;
}

.wd-post.blog-design-meta-image .wd-post-date {
    color: var(--kc-blog-muted) !important;
}

/* عنوان مقاله (تراز در ۲ خط) */
.wd-post.blog-design-meta-image .wd-post-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.65 !important;
    margin: 0 0 10px 0 !important;
    min-height: 52px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.wd-post.blog-design-meta-image .wd-post-title a {
    color: var(--kc-blog-text) !important;
    transition: color 0.25s ease !important;
}

.wd-post.blog-design-meta-image:hover .wd-post-title a {
    color: var(--kc-blog-orange) !important;
}

/* خلاصه مقاله (تراز در ۳ خط) */
.wd-post.blog-design-meta-image .wd-post-excerpt {
    color: #bbbbbb !important;
    font-size: 13px !important;
    line-height: 1.85 !important;
    margin-bottom: 18px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* بخش دکمه ادامه مطلب (چسبیده به پایین کارت) */
.wd-post.blog-design-meta-image .wd-post-read-more {
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid #2e2e2e !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.wd-post.blog-design-meta-image .wd-post-read-more a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: var(--kc-blog-inner) !important;
    color: var(--kc-blog-orange) !important;
    border: 1px solid #3a3a3a !important;
    padding: 7px 16px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.wd-post.blog-design-meta-image .wd-post-read-more a::after {
    font-size: 11px !important;
    transition: transform 0.25s ease !important;
}

.wd-post.blog-design-meta-image:hover .wd-post-read-more a {
    background: var(--kc-blog-orange) !important;
    border-color: var(--kc-blog-orange) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(232, 95, 51, 0.3) !important;
}

.wd-post.blog-design-meta-image:hover .wd-post-read-more a::after {
    transform: translateX(-3px) !important;
}


/* =========================================
   2. SIDEBAR WIDGETS (سایدبار دسته‌بندی و محصولات)
========================================= */

/* باکس دور هر ابزارک در سایدبار دسکتاپ */
@media (min-width: 1025px) {
    .wd-sidebar .wd-widget.sidebar-widget {
        background: var(--kc-blog-card) !important;
        border: 1px solid var(--kc-blog-border) !important;
        border-radius: 16px !important;
        padding: 22px 20px !important;
        margin-bottom: 28px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22) !important;
    }
}

/* استایل عنوان ابزارک‌ها (همراه با خط نارنجی کریم کافه) */
.wd-sidebar .widget-title {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    position: relative !important;
    padding-bottom: 14px !important;
    margin-bottom: 18px !important;
    border-bottom: 1px solid var(--kc-blog-border) !important;
    text-align: right !important;
}

.wd-sidebar .widget-title::after {
    content: "" !important;
    position: absolute !important;
    bottom: -1px !important;
    right: 0 !important;
    width: 50px !important;
    height: 3px !important;
    background: var(--kc-blog-orange) !important;
    border-radius: 5px !important;
}

/* لیست دسته‌بندی مقالات */
.wd-sidebar .widget_categories ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.wd-sidebar .widget_categories ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.wd-sidebar .widget_categories ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: var(--kc-blog-inner) !important;
    border: 1px solid #2e2e2e !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    color: #dddddd !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.25s ease !important;
}

/* فلش کوچک سمت چپ هر دسته‌بندی */
.wd-sidebar .widget_categories ul li a::after {
    content: "\f121" !important;
    font-family: "woodmart-font" !important;
    font-size: 9px !important;
    color: #666 !important;
    transition: all 0.25s ease !important;
}

.wd-sidebar .widget_categories ul li a:hover,
.wd-sidebar .widget_categories ul li.current-cat a {
    background: rgba(232, 95, 51, 0.1) !important;
    border-color: var(--kc-blog-orange) !important;
    color: #fff !important;
    padding-right: 18px !important;
}

.wd-sidebar .widget_categories ul li a:hover::after,
.wd-sidebar .widget_categories ul li.current-cat a::after {
    color: var(--kc-blog-orange) !important;
    transform: translateX(-3px) !important;
}

/* لیست آخرین محصولات در سایدبار (منطبق با .widget-product-wrap) */
.wd-sidebar .product_list_widget {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wd-sidebar .product_list_widget li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.wd-sidebar .product_list_widget li .widget-product-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: var(--kc-blog-inner) !important;
    border: 1px solid #2e2e2e !important;
    border-radius: 12px !important;
    padding: 10px !important;
    transition: all 0.25s ease !important;
}

.wd-sidebar .product_list_widget li:hover .widget-product-wrap {
    border-color: var(--kc-blog-orange) !important;
    background: #1d1d1d !important;
    transform: translateX(-3px) !important;
}

.wd-sidebar .product_list_widget li .widget-product-img {
    flex: 0 0 62px !important;
    width: 62px !important;
    height: 62px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    padding: 3px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wd-sidebar .product_list_widget li .widget-product-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 6px !important;
}

.wd-sidebar .product_list_widget li .widget-product-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    text-align: right !important;
}

.wd-sidebar .product_list_widget li .wd-entities-title {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: #eeeeee !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.25s ease !important;
}

.wd-sidebar .product_list_widget li:hover .wd-entities-title {
    color: var(--kc-blog-orange) !important;
}

.wd-sidebar .product_list_widget li .price,
.wd-sidebar .product_list_widget li .woocommerce-Price-amount {
    color: var(--kc-blog-orange) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}


/* =========================================
   3. RESPONSIVE (تبلت و موبایل)
========================================= */

/* در تبلت (768 تا 1024) نمایش ۲ ستونه به جای ۳ ستون فشرده */
@media (min-width: 768px) and (max-width: 1024px) {
    .wd-posts.wd-blog-holder {
        --wd-col-md: 2 !important;
        --wd-gap-lg: 20px !important;
    }
}

/* استایل سایدبار کشویی (Off-Canvas) در تبلت و موبایل */
@media (max-width: 1024px) {
    .wd-sidebar.sidebar-container {
        background: #1a1a1a !important;
    }

    .wd-sidebar .widget-area {
        padding: 15px !important;
    }

    .wd-sidebar .wd-widget.sidebar-widget {
        background: var(--kc-blog-card) !important;
        border: 1px solid var(--kc-blog-border) !important;
        border-radius: 14px !important;
        padding: 16px !important;
        margin-bottom: 20px !important;
    }
}

/* موبایل (زیر 767px) */
@media (max-width: 767px) {
    .wd-posts.wd-blog-holder {
        --wd-gap-sm: 18px !important;
    }

    .wd-post.blog-design-meta-image .wd-post-content {
        padding: 15px 16px 18px !important;
    }

    .wd-post.blog-design-meta-image .wd-post-title {
        font-size: 15px !important;
        min-height: auto !important;
    }

    .wd-post.blog-design-meta-image .wd-post-excerpt {
        font-size: 12.5px !important;
        -webkit-line-clamp: 2 !important;
        margin-bottom: 14px !important;
    }
}
/* ==========================================================================
   KARIM COFFEE - PAGE TITLE & SIDEBAR MINI-CART PREMIUM DESIGN
========================================================================== */

/* =========================================
   1. MODERN PAGE TITLE (بخش عنوان صفحات)
   (اعمال روی تمام صفحات به جز سبد خرید و تسویه حساب که مراحل خرید دارند)
========================================= */

.wd-page-title.page-title:not(:has(.wd-checkout-steps)) {
    background: linear-gradient(145deg, #232323 0%, #1a1a1a 100%) !important;
    border: 1px solid #383838 !important;
    border-radius: 22px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28) !important;
    padding: 22px 24px !important;
    position: relative !important;
    overflow: hidden !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* خط نارنجی درخشان بالای باکس عنوان */
.wd-page-title.page-title:not(:has(.wd-checkout-steps))::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90px !important;
    height: 3px !important;
    background: #e85f33 !important;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 2px 12px rgba(232, 95, 51, 0.7) !important;
}

.wd-page-title.page-title:not(:has(.wd-checkout-steps)) .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

/* تایتل اصلی صفحه (مثلاً مقالات) */
.wd-page-title.page-title:not(:has(.wd-checkout-steps)) .entry-title.title {
    color: #ffffff !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.3px !important;
}

/* مسیر راهنما (خانه / وبلاگ) به شکل کپسول کوچک */
.wd-page-title.page-title:not(:has(.wd-checkout-steps)) .wd-breadcrumbs,
.wd-page-title.page-title:not(:has(.wd-checkout-steps)) .yoast-breadcrumb {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #141414 !important;
    border: 1px solid #2e2e2e !important;
    padding: 5px 16px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.wd-page-title.page-title:not(:has(.wd-checkout-steps)) .wd-breadcrumbs a {
    color: #aaaaaa !important;
    transition: color 0.25s ease !important;
}

.wd-page-title.page-title:not(:has(.wd-checkout-steps)) .wd-breadcrumbs a:hover {
    color: #e85f33 !important;
}

.wd-page-title.page-title:not(:has(.wd-checkout-steps)) .wd-breadcrumbs .wd-delimiter {
    color: #555555 !important;
    margin: 0 2px !important;
}

.wd-page-title.page-title:not(:has(.wd-checkout-steps)) .wd-breadcrumbs .wd-last {
    color: #e85f33 !important;
    font-weight: 600 !important;
}

/* تنظیم دقیق فاصله عنوان در دسکتاپ، تبلت و موبایل */
@media (min-width: 1025px) {
    .wd-page-title.page-title:not(:has(.wd-checkout-steps)) {
        max-width: 1320px !important;
        margin-top: 10px !important;
        margin-bottom: 40px !important;
    }
}

@media (min-width: 577px) and (max-width: 1024px) {
    .wd-page-title.page-title:not(:has(.wd-checkout-steps)) {
        max-width: 95% !important;
        margin-top: 65px !important;
        margin-bottom: 30px !important;
        padding: 18px 20px !important;
    }
}

@media (max-width: 576px) {
    /* حذف پدینگ اضافی بالای صفحه در موبایل تا همه چیز سر جای خودش قرار بگیرد */
    .main-page-wrapper {
        padding-top: 20px !important;
    }

    .wd-page-title.page-title:not(:has(.wd-checkout-steps)) {
        max-width: 92% !important;
        margin-top: 85px !important;  /* فاصله دقیق از زیر لوگوی موبایل */
        margin-bottom: 24px !important; /* ایجاد فاصله تمیز تا اولین کارت مقاله */
        padding: 16px 18px !important;
        border-radius: 18px !important;
    }

    .wd-page-title.page-title:not(:has(.wd-checkout-steps)) .entry-title.title {
        font-size: 20px !important;
    }

    .wd-page-title.page-title:not(:has(.wd-checkout-steps)) .wd-breadcrumbs {
        font-size: 11px !important;
        padding: 4px 13px !important;
    }
}

/* ==========================================================================
   KARIM COFFEE - COMPACT MINI-CART, DRILLDOWN MENU & AJAX SEARCH
========================================================================== */

/* =========================================
   1. SIDEBAR MINI-CART (سبد خرید سریع - فشرده و اصلاح شده)
========================================= */

.cart-widget-side.wd-side-hidden {
    background-color: #161616 !important;
    border-right: 1px solid #2e2e2e !important;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.65) !important;
}

/* هدر سبد خرید */
.cart-widget-side .wd-heading {
    background-color: #1e1e1e !important;
    border-bottom: 1px solid #2e2e2e !important;
    padding: 14px 18px !important;
}

.cart-widget-side .wd-heading .title {
    color: #ffffff !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.cart-widget-side .wd-heading .title::before {
    content: "" !important;
    width: 8px !important;
    height: 8px !important;
    background: #e85f33 !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.cart-widget-side .wd-heading .close-side-widget a {
    background: #282828 !important;
    border: 1px solid #3a3a3a !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    color: #cccccc !important;
    font-size: 12px !important;
    transition: all 0.25s ease !important;
}

.cart-widget-side .wd-heading .close-side-widget a:hover {
    background: #e85f33 !important;
    border-color: #e85f33 !important;
    color: #ffffff !important;
}

/* لیست محصولات سبد خرید با فاصله کمتر */
.cart-widget-side .woocommerce-mini-cart {
    padding: 10px 12px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

/* کارت محصول با ارتفاع کمتر و چیدمان فشرده */
.cart-widget-side .woocommerce-mini-cart-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    background: #202020 !important;
    border: 1px solid #333333 !important;
    border-radius: 12px !important;
    padding: 10px 10px 10px 32px !important;
    margin: 0 !important;
    position: relative !important;
    direction: rtl !important;
    overflow: hidden !important;
    transition: border-color 0.25s ease !important;
}

.cart-widget-side .woocommerce-mini-cart-item:hover {
    border-color: #e85f33 !important;
}

.cart-widget-side .woocommerce-mini-cart-item > a.cart-item-link {
    display: none !important;
}

/* تصویر محصول در کادر مربعی جمع‌وجور 58x58 */
.cart-widget-side .woocommerce-mini-cart-item .cart-item-image {
    flex: 0 0 58px !important;
    width: 58px !important;
    height: 58px !important;
    margin: 0 !important;
    padding: 3px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    float: none !important;
}

.cart-widget-side .woocommerce-mini-cart-item .cart-item-image img,
.cart-widget-side .woocommerce-mini-cart-item img.attachment-woocommerce_thumbnail {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    float: none !important;
    display: block !important;
}

/* ستون اطلاعات محصول با چیدمان Flex Wrap برای قرار گرفتن تعداد و قیمت در کنار هم */
.cart-widget-side .woocommerce-mini-cart-item .cart-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px 8px !important;
    text-align: right !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* عنوان کامل محصول با خط‌چین فشرده */
.cart-widget-side .woocommerce-mini-cart-item .wd-entities-title {
    flex: 0 0 100% !important;
    width: 100% !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* رفع کامل مشکل دو ضربدر بودن دکمه حذف */
.cart-widget-side .woocommerce-mini-cart-item a.remove {
    position: absolute !important;
    top: 9px !important;
    left: 8px !important;
    right: auto !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: #2a2a2a !important;
    color: #aaaaaa !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    padding: 0 !important;
    transition: all 0.2s ease !important;
    z-index: 3 !important;
}

/* حذف ضربدر دوم که توسط وودمارت اضافه می‌شد */
.cart-widget-side .woocommerce-mini-cart-item a.remove::after,
.cart-widget-side .woocommerce-mini-cart-item a.remove::before {
    display: none !important;
    content: none !important;
}

.cart-widget-side .woocommerce-mini-cart-item a.remove:hover {
    background: #e85f33 !important;
    color: #ffffff !important;
}

/* دکمه‌های مثبت و منفی (+ / -) با ارتفاع جمع‌وجور 28px */
.cart-widget-side .woocommerce-mini-cart-item div.quantity {
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    background: #161616 !important;
    border: 1px solid #3d3d3d !important;
    border-radius: 7px !important;
    overflow: hidden !important;
    margin: 0 !important;
    height: 28px !important;
    min-height: 28px !important;
    flex-shrink: 0 !important;
}

.cart-widget-side .woocommerce-mini-cart-item div.quantity input.qty {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    border-right: 1px solid #333333 !important;
    border-left: 1px solid #333333 !important;
    width: 30px !important;
    height: 28px !important;
    min-height: 28px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 0 !important;
}

.cart-widget-side .woocommerce-mini-cart-item div.quantity .minus,
.cart-widget-side .woocommerce-mini-cart-item div.quantity .plus {
    background: transparent !important;
    color: #dddddd !important;
    border: none !important;
    width: 24px !important;
    height: 28px !important;
    min-height: 28px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.cart-widget-side .woocommerce-mini-cart-item div.quantity .minus:hover,
.cart-widget-side .woocommerce-mini-cart-item div.quantity .plus:hover {
    background: #e85f33 !important;
    color: #ffffff !important;
}

/* چیدمان جدید: «تعداد انتخاب‌شده شما: ۲ ×» در سطر اول و «قیمت» در سطر دوم */
.cart-widget-side .woocommerce-mini-cart-item span.quantity {
    display: block !important;
    width: 100% !important;
    background: rgba(232, 95, 51, 0.08) !important;
    border: none !important;
    border-right: 3px solid #e85f33 !important;
    border-radius: 6px !important;
    padding: 5px 9px !important;
    margin: 2px 0 0 0 !important;
    color: #ffffff !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    text-align: right !important;
    direction: rtl !important;
}

/* متن «تعداد انتخاب‌شده شما:» دقیقاً روبه‌روی عدد 2x در خط اول */
.cart-widget-side .woocommerce-mini-cart-item span.quantity::before {
    content: "تعداد انتخاب‌شده شما: " !important;
    display: inline !important;
    color: #bbbbbb !important;
    font-weight: 500 !important;
    font-size: 11px !important;
}

/* انتقال قیمت به سطر دوم (زیر متن تعداد) */
.cart-widget-side .woocommerce-mini-cart-item span.quantity .woocommerce-Price-amount {
    display: block !important;
    width: 100% !important;
    color: #e85f33 !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    margin-top: 2px !important;
}

/* فوتر سبد خرید بدون هیچ خط و نقطه‌چین */
.cart-widget-side .shopping-cart-widget-footer {
    background-color: #1c1c1c !important;
    border-top: none !important;
    padding: 14px 16px 18px !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45) !important;
}

.cart-widget-side .shopping-cart-widget-footer::before,
.cart-widget-side .shopping-cart-widget-footer::after {
    display: none !important;
    border: none !important;
}

.cart-widget-side .woocommerce-mini-cart__total {
    background: #252525 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 11px 14px !important;
    margin: 0 0 12px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.cart-widget-side .woocommerce-mini-cart__total strong {
    color: #dddddd !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.cart-widget-side .woocommerce-mini-cart__total .woocommerce-Price-amount {
    color: #e85f33 !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
}

.cart-widget-side .woocommerce-mini-cart__buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
}

.cart-widget-side .woocommerce-mini-cart__buttons a.btn-cart {
    background-color: #141414 !important;
    color: #ffffff !important;
    border: 1px solid #383838 !important;
    border-radius: 10px !important;
    padding: 11px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
}

.cart-widget-side .woocommerce-mini-cart__buttons a.btn-cart:hover {
    border-color: #e85f33 !important;
    color: #e85f33 !important;
}

.cart-widget-side .woocommerce-mini-cart__buttons a.checkout {
    background-color: #e85f33 !important;
    color: #ffffff !important;
    border: 1px solid #e85f33 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 18px rgba(232, 95, 51, 0.28) !important;
    transition: all 0.25s ease !important;
}

.cart-widget-side .woocommerce-mini-cart__buttons a.checkout:hover {
    background-color: #ffffff !important;
    color: #e85f33 !important;
    border-color: #ffffff !important;
}


/* =========================================
   2. SIDEBAR MENU (حالت آکاردئونی باز و بسته شونده بدون دکمه Back)
========================================= */

.mobile-nav.wd-side-hidden {
    background-color: #161616 !important;
    border-left: 1px solid #2e2e2e !important;
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.65) !important;
    scrollbar-width: thin !important;
    scrollbar-color: #383838 #161616 !important;
}

.mobile-nav.wd-side-hidden::-webkit-scrollbar {
    width: 5px !important;
}

.mobile-nav.wd-side-hidden::-webkit-scrollbar-track {
    background: #161616 !important;
}

.mobile-nav.wd-side-hidden::-webkit-scrollbar-thumb {
    background-color: #383838 !important;
    border-radius: 10px !important;
}

/* هدر بالای منوی سایدبار */
.mobile-nav .wd-heading {
    background-color: #1e1e1e !important;
    border-bottom: 1px solid #2e2e2e !important;
    padding: 14px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

.mobile-nav .wd-heading .close-side-widget a {
    background: #282828 !important;
    border: 1px solid #3a3a3a !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    color: #dddddd !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.mobile-nav .wd-heading .close-side-widget a:hover {
    background: #e85f33 !important;
    border-color: #e85f33 !important;
    color: #ffffff !important;
}

/* تب بالای منو */
.mobile-nav .wd-nav-mob-tab {
    margin: 10px 14px 4px 14px !important;
    background: #202020 !important;
    border: 1px solid #333333 !important;
    border-radius: 11px !important;
    overflow: hidden !important;
}

.mobile-nav .wd-nav-mob-tab > li > a {
    background: transparent !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 12px 16px !important;
    text-align: center !important;
    justify-content: center !important;
}

.mobile-nav .wd-nav-mob-tab > li.wd-active > a {
    background: rgba(232, 95, 51, 0.12) !important;
    color: #e85f33 !important;
}

/* کانتینر اصلی لیست منو */
.mobile-nav ul.wd-nav-mobile {
    padding: 10px 14px 24px 14px !important;
}

/* مخفی کردن کامل دکمه Back to منو در تمام حالت‌ها */
.mobile-nav .wd-nav-mobile li.wd-drilldown-back {
    display: none !important;
}

/* آیتم‌های منو */
.mobile-nav .wd-nav-mobile li {
    border: none !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    position: relative !important;
}

/* استایل کارتی روی لینک هر آیتم */
.mobile-nav .wd-nav-mobile li > a {
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 10px 14px !important;
    background: #202020 !important;
    border: 1px solid #2e2e2e !important;
    border-radius: 11px !important;
    color: #eeeeee !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    transition: all 0.25s ease !important;
}

.mobile-nav .wd-nav-mobile li > a:hover {
    background: #262626 !important;
    border-color: #484848 !important;
    color: #ffffff !important;
}

/* جا باز کردن در سمت چپ برای دکمه فلش */
.mobile-nav .wd-nav-mobile li.menu-item-has-children > a {
    padding-left: 50px !important;
}

/* وقتی زیرمنوی یک آیتم باز است، کادر والد هم نارنجی شود */
.mobile-nav .wd-nav-mobile li.opener-page > a,
.mobile-nav .wd-nav-mobile li.wd-drilldown-show > a,
.mobile-nav .wd-nav-mobile li.current-menu-item > a {
    border-color: #e85f33 !important;
    background: rgba(232, 95, 51, 0.1) !important;
    color: #e85f33 !important;
    font-weight: 700 !important;
}

/* دکمه فلش باز و بسته کردن زیرمنو */
.mobile-nav .wd-nav-mobile li > .wd-nav-opener {
    position: absolute !important;
    left: 1px !important;
    top: 1px !important;
    width: 42px !important;
    height: 42px !important;
    border: none !important;
    border-right: 1px solid #2e2e2e !important;
    border-radius: 10px 0 0 10px !important;
    background: #1b1b1b !important;
    color: #e85f33 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 5 !important;
    transition: all 0.25s ease !important;
}

/* نارنجی شدن دکمه فلش در زمان باز بودن زیرمنو */
.mobile-nav .wd-nav-mobile li > .wd-nav-opener:hover,
.mobile-nav .wd-nav-mobile li.opener-page > .wd-nav-opener,
.mobile-nav .wd-nav-mobile li.wd-drilldown-show > .wd-nav-opener {
    background: #e85f33 !important;
    color: #ffffff !important;
    border-right-color: #e85f33 !important;
}

/* چرخش ۹۰ درجه‌ای آیکون فلش به سمت پایین وقتی زیرمنو باز می‌شود */
.mobile-nav .wd-nav-mobile li > .wd-nav-opener::after {
    transition: transform 0.25s ease !important;
}

.mobile-nav .wd-nav-mobile li.opener-page > .wd-nav-opener::after,
.mobile-nav .wd-nav-mobile li.wd-drilldown-show > .wd-nav-opener::after {
    transform: rotate(-90deg) !important;
}

/* استایل زیرمنوها با خط راهنمای نارنجی در سمت راست و تورفتگی ملایم */
.mobile-nav .wd-nav-mobile .wd-sub-menu,
.mobile-nav .wd-nav-mobile .sub-sub-menu {
    background-color: transparent !important;
    border: none !important;
    border-right: 2px solid rgba(232, 95, 51, 0.45) !important;
    margin: 8px 6px 10px 0 !important;
    padding: 2px 10px 2px 0 !important;
}

/* کارت‌های داخل زیرمنو کمی ظریف‌تر باشند تا سلسله‌مراتب مشخص شود */
.mobile-nav .wd-nav-mobile .wd-sub-menu li > a,
.mobile-nav .wd-nav-mobile .sub-sub-menu li > a {
    background: #1b1b1b !important;
    min-height: 40px !important;
    font-size: 12.5px !important;
}

.mobile-nav .wd-nav-mobile .wd-sub-menu li > .wd-nav-opener,
.mobile-nav .wd-nav-mobile .sub-sub-menu li > .wd-nav-opener {
    height: 38px !important;
    width: 38px !important;
}


/* =========================================
   3. AJAX SEARCH RESULTS (دیزاین نتایج جستجو در منو و هدر)
========================================= */

/* کادر ورودی جستجو */
.mobile-nav .wd-search-form {
    padding: 12px 14px 4px 14px !important;
    border-bottom: none !important;
}

.mobile-nav .wd-search-form form.searchform {
    background: #202020 !important;
    border: 1px solid #383838 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.25s ease !important;
}

.mobile-nav .wd-search-form form.searchform:focus-within {
    border-color: #e85f33 !important;
    box-shadow: 0 0 0 3px rgba(232, 95, 51, 0.15) !important;
}

.mobile-nav .wd-search-form input.s {
    height: 44px !important;
    padding: 0 14px 0 70px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    border: none !important;
    background: transparent !important;
}

.mobile-nav .wd-search-form button.searchsubmit {
    color: #e85f33 !important;
    width: 42px !important;
}

/* باکس دراپ‌داون نتایج جستجو */
.wd-search-results.wd-dropdown-results {
    background: #1a1a1a !important;
    border: 1px solid #383838 !important;
    border-radius: 14px !important;
    margin-top: 8px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
    overflow: hidden !important;
}

.wd-search-suggestions .wd-suggestions-group {
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

/* کارت هر محصول در نتایج جستجو */
.wd-search-suggestions .wd-suggestion {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #232323 !important;
    border: 1px solid #333333 !important;
    border-radius: 10px !important;
    padding: 8px 10px !important;
    margin: 0 !important;
    position: relative !important;
    transition: all 0.25s ease !important;
}

.wd-search-suggestions .wd-suggestion:hover {
    border-color: #e85f33 !important;
    background: #282828 !important;
    transform: translateX(-2px) !important;
}

/* عکس محصول در نتایج جستجو */
.wd-search-suggestions .wd-suggestion-thumb {
    flex: 0 0 54px !important;
    width: 54px !important;
    height: 54px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    padding: 3px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wd-search-suggestions .wd-suggestion-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 5px !important;
}

/* عنوان و قیمت محصول در نتایج جستجو */
.wd-search-suggestions .wd-suggestion-content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: right !important;
}

.wd-search-suggestions .wd-suggestion-content .wd-entities-title {
    color: #eeeeee !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    margin-bottom: 4px !important;
}

/* هایلایت کلمه سرچ‌شده با رنگ نارنجی */
.wd-search-suggestions .wd-suggestion-content .wd-entities-title strong {
    color: #e85f33 !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

.wd-search-suggestions .wd-suggestion-content .price,
.wd-search-suggestions .wd-suggestion-content .woocommerce-Price-amount {
    color: #e85f33 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

/* دکمه «مشاهده همه نتایج» در پایین لیست سرچ */
.wd-search-suggestions a.wd-all-results {
    display: block !important;
    margin: 4px 10px 10px 10px !important;
    padding: 10px 14px !important;
    background: #e85f33 !important;
    color: #ffffff !important;
    border-radius: 9px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-align: center !important;
    border: none !important;
    transition: all 0.25s ease !important;
}

.wd-search-suggestions a.wd-all-results:hover {
    background: #ffffff !important;
    color: #e85f33 !important;
}


/* =========================================
   4. WHATSAPP OVERLAP FIX
========================================= */

body:has(.wd-side-hidden.wd-opened) .whatsapp-float-button-compact {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
}

/* =========================================
   رفع مشکل نمایش آیتم‌های منوی موبایل
========================================= */
.mobile-nav .mobile-categories-title,
.mobile-nav ul.mobile-categories-menu {
    display: none !important;
}

.mobile-nav .mobile-pages-title {
    flex: 1 0 100% !important;
    max-width: 100% !important;
}

.mobile-nav ul.mobile-pages-menu {
    display: flex !important;
}


/* =========================================================
   KARIM COFFEE - SINGLE BLOG POST (FIXED & REFINED)
========================================================= */

/* 1. اصلاح فاصله از هدر و حذف فضای پرت بالای مقاله */
/* =========================================================
   اصلاح باکس عنوان (Page Title) در صفحه تکی مقالات
   هماهنگ‌سازی کامل با استایل عنوان سایر صفحات سایت
========================================================= */

.single-post .wd-page-title.title-blog {
    background: linear-gradient(145deg, #232323 0%, #1a1a1a 100%) !important;
    border: 1px solid #383838 !important;
    border-radius: 22px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28) !important;
    padding: 22px 24px !important;
    margin-bottom: 35px !important;
    position: relative !important;
    overflow: hidden !important;
}

.single-post .wd-page-title .wd-page-title-bg {
    display: none !important;
}

.single-post .wd-page-title .entry-title.title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.single-post .wd-breadcrumbs {
    background: #141414 !important;
    border: 1px solid #2e2e2e !important;
    padding: 5px 16px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
}

.single-post .wd-breadcrumbs a {
    color: #aaaaaa !important;
}

.single-post .wd-breadcrumbs a:hover,
.single-post .wd-breadcrumbs .wd-last a {
    color: #e85f33 !important;
}

/* تنظیم فاصله دقیق از هدر در دسکتاپ، تبلت و موبایل */
@media (min-width: 1025px) {
    .single-post .wd-page-title.title-blog {
        max-width: 1320px !important;
        margin-top: 10px !important;
        margin-bottom: 40px !important;
    }
}

@media (min-width: 577px) and (max-width: 1024px) {
    .single-post .wd-page-title.title-blog {
        max-width: 95% !important;
        margin-top: 65px !important;
        margin-bottom: 30px !important;
        padding: 18px 20px !important;
    }
}

@media (max-width: 576px) {
    .single-post .wd-page-title.title-blog {
        max-width: 92% !important;
        margin-top: 85px !important;
        margin-bottom: 24px !important;
        padding: 16px 18px !important;
        border-radius: 18px !important;
    }

    .single-post .wd-page-title .entry-title.title {
        font-size: 20px !important;
    }
}

/* 2. کارت اصلی مقاله */
.single-post article.post-single-page {
    background: #202020 !important;
    border: 1px solid #383838 !important;
    border-radius: 16px !important;
    padding: 28px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

.single-post .wd-single-post-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 25px !important;
}

/* رفع بیرون‌زدگی متن دسته‌بندی مقاله */
.single-post .wd-post-cat.wd-style-with-bg {
    background-color: rgba(232, 95, 51, 0.14) !important;
    border: 1px solid #e85f33 !important;
    border-radius: 20px !important;
    padding: 5px 16px !important;
    margin: 0 0 14px 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    min-height: unset !important;
    line-height: 1.6 !important;
    position: static !important;
}

.single-post .wd-post-cat.wd-style-with-bg a {
    color: #e85f33 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block !important;
}

.single-post h1.wd-post-title {
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
}

.single-post .wd-post-meta {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    background: #181818 !important;
    border: 1px solid #303030 !important;
    padding: 7px 16px !important;
    border-radius: 30px !important;
    color: #aaa !important;
    font-size: 12px !important;
    margin-bottom: 22px !important;
}

.single-post .wd-post-meta a {
    color: #eee !important;
}

.single-post .wd-post-image {
    width: 100% !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid #333 !important;
    margin-bottom: 10px !important;
    max-height: 500px !important;
}

.single-post .wd-post-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* 3. محتوای داخل مقاله */
.single-post .wd-entry-content {
    color: #d8d8d8 !important;
    font-size: 15px !important;
    line-height: 2.1 !important;
    text-align: justify !important;
}

.single-post .wd-entry-content h1,
.single-post .wd-entry-content h2,
.single-post .wd-entry-content h3,
.single-post .wd-entry-content h4 {
    color: #fff !important;
    font-weight: 700 !important;
    margin-top: 28px !important;
    margin-bottom: 14px !important;
    padding-right: 12px !important;
    border-right: 4px solid #e85f33 !important;
    line-height: 1.5 !important;
    text-align: right !important;
}

.single-post .wd-entry-content h1 { font-size: 20px !important; }
.single-post .wd-entry-content h2 { font-size: 18px !important; }
.single-post .wd-entry-content h3 { font-size: 16.5px !important; }

.single-post .wd-entry-content a {
    color: #e85f33 !important;
    font-weight: 600 !important;
}

.single-post .wd-entry-content ul,
.single-post .wd-entry-content ol {
    background: #181818 !important;
    border: 1px solid #303030 !important;
    border-radius: 12px !important;
    padding: 18px 32px 18px 18px !important;
    margin: 18px 0 !important;
}

.single-post .wd-entry-content li {
    margin-bottom: 8px !important;
    color: #ddd !important;
}

.single-post .wd-entry-content li:last-child {
    margin-bottom: 0 !important;
}

.single-post .wd-entry-content li strong {
    color: #e85f33 !important;
}

/* جداول داخل مقاله */
.single-post .wd-entry-content table,
.single-post .wd-entry-content table.caffeine-table {
    width: 100% !important;
    max-width: 100% !important;
    background: #181818 !important;
    border: 1px solid #383838 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border-collapse: collapse !important;
    margin: 22px 0 !important;
}

.single-post .wd-entry-content table thead th,
.single-post .wd-entry-content .caffeine-table thead th {
    background: #282828 !important;
    color: #e85f33 !important;
    border-bottom: 2px solid #383838 !important;
    padding: 12px 15px !important;
    font-size: 13.5px !important;
}

.single-post .wd-entry-content table th,
.single-post .wd-entry-content table td,
.single-post .wd-entry-content .caffeine-table td {
    background: transparent !important;
    color: #e0e0e0 !important;
    border-bottom: 1px solid #2e2e2e !important;
    padding: 12px 15px !important;
    font-size: 13px !important;
}

.single-post .wd-entry-content table tr:nth-child(even) td,
.single-post .wd-entry-content .caffeine-table tr:nth-child(even) {
    background: #1d1d1d !important;
}

.single-post .wd-entry-content table td[colspan],
.single-post .wd-entry-content .caffeine-table td[colspan] {
    background: rgba(232, 95, 51, 0.12) !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-align: center !important;
}

/* 4. وسط‌چین کردن آیکون‌های سوشال مدیا در فوتر مقاله */
.single-post .wd-single-footer {
    background: #202020 !important;
    border: 1px solid #383838 !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.single-post .wd-single-footer .wd-social-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.single-post .wd-page-nav,
.single-post #comments.comments-area {
    background: #202020 !important;
    border: 1px solid #383838 !important;
    border-radius: 14px !important;
    padding: 20px 25px !important;
    margin-bottom: 25px !important;
}

.single-post #comments .comment-reply-title {
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #383838 !important;
    padding-bottom: 12px !important;
    margin-bottom: 18px !important;
}

.single-post #commentform textarea {
    background: #181818 !important;
    border: 1px solid #444 !important;
    border-radius: 10px !important;
    color: #fff !important;
    padding: 12px 15px !important;
}

.single-post #commentform .submit {
    background: #e85f33 !important;
    color: #fff !important;
    border-radius: 9px !important;
    padding: 11px 26px !important;
    font-weight: 700 !important;
    border: none !important;
}

/* 5. سایدبار وبلاگ (تک‌کادره کردن آخرین محصولات و دسته‌بندی‌ها) */
.single-post aside.sidebar-container .wd-widget {
    background: #202020 !important;
    border: 1px solid #383838 !important;
    border-radius: 14px !important;
    padding: 20px !important;
    margin-bottom: 22px !important;
}

.single-post aside.sidebar-container .widget-title {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding-bottom: 12px !important;
    margin-bottom: 14px !important;
    border-bottom: 1px solid #383838 !important;
    position: relative !important;
}

.single-post aside.sidebar-container .widget-title::after {
    content: "" !important;
    position: absolute !important;
    bottom: -1px !important;
    right: 0 !important;
    width: 40px !important;
    height: 3px !important;
    background: #e85f33 !important;
    border-radius: 4px !important;
}

/* حذف کادر دوم از آیتم‌های دسته‌بندی و آخرین محصولات */
.single-post .widget_categories ul li {
    margin: 0 !important;
    border-bottom: 1px solid #2e2e2e !important;
}

.single-post .widget_categories ul li:last-child {
    border-bottom: none !important;
}

.single-post .widget_categories ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: transparent !important;
    border: none !important;
    padding: 10px 4px !important;
    color: #ccc !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
}

.single-post .widget_categories ul li a:hover {
    color: #e85f33 !important;
    padding-right: 10px !important;
}

.single-post .product_list_widget > li {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #2e2e2e !important;
    border-radius: 0 !important;
    padding: 12px 0 !important;
    margin: 0 !important;
}

.single-post .product_list_widget > li:first-child {
    padding-top: 2px !important;
}

.single-post .product_list_widget > li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.single-post .product_list_widget .wd-entities-title {
    color: #eee !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
}

.single-post .product_list_widget .price .amount {
    color: #e85f33 !important;
    font-size: 12.5px !important;
}


/* =========================================================
   KARIM COFFEE - SINGLE PRODUCT PAGE (FIXED & COMPACT)
   * بدون هیچ‌گونه تغییر در بخش دیجی‌پی (.tib-card) *
========================================================= */

.single-product .main-page-wrapper {
    padding-top: 155px !important;
}

/* 1. رفع بیرون‌زدگی کادر مسیر محصول (Breadcrumb) و تراز کردن آن با باکس‌های پایین */
.single-product .elementor-element-d5cbb25 {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 18px !important;
}

.single-product .elementor-element-d5cbb25 > .elementor-container {
    background: #202020 !important;
    border: 1px solid #383838 !important;
    border-radius: 12px !important;
    padding: 10px 18px !important;
    margin: 0 auto !important;
    max-width: 1190px !important; /* هم‌عرض با گالری و باکس مشخصات */
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    box-sizing: border-box !important;
}

.single-product .elementor-element-d5cbb25 .elementor-column {
    width: auto !important;
}

.single-product .elementor-element-d5cbb25 .elementor-widget-wrap {
    padding: 0 !important;
}

.single-product .woocommerce-breadcrumb {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
}

.single-product .woocommerce-breadcrumb a {
    color: #aaa !important;
}

.single-product .woocommerce-breadcrumb a:hover,
.single-product .woocommerce-breadcrumb .wd-last {
    color: #e85f33 !important;
    font-weight: 600 !important;
}

/* 2. کارت گالری تصویر محصول */
.single-product .wd-single-gallery .woocommerce-product-gallery {
    background: #202020 !important;
    border: 1px solid #383838 !important;
    border-radius: 16px !important;
    padding: 16px !important;
}

.single-product .woocommerce-product-gallery__image {
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* 3. کارت مشخصات محصول (فشرده‌سازی و حذف فضاهای خالی اضافی) */
.single-product .elementor-2523 .elementor-element.elementor-element-ca37298,
.single-product .elementor-2523 .elementor-element.elementor-element-c055ecc {
    background: #202020 !important;
    border: 1px solid #383838 !important;
    border-radius: 16px !important;
    padding: 22px 24px !important;
}

.single-product .elementor-element-ca37298 > .e-con-inner,
.single-product .elementor-element-c055ecc > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important; /* حذف فاصله‌های پرت بین المان‌ها */
    padding: 0 !important;
}

/* حذف ویجت شورت‌کد خالی که فضای اضافه اشغال کرده بود */
.single-product .elementor-element-fb5df29,
.single-product .elementor-element-4665252 {
    display: none !important;
}

/* راست‌چین کردن یکدست تمام بخش‌های مشخصات در دسکتاپ و موبایل */
.single-product .wd-single-title,
.single-product .wd-single-price,
.single-product .wd-single-add-cart,
.single-product .wd-single-meta {
    text-align: right !important;
    margin: 0 !important;
}

/* عنوان محصول */
.single-product h1.product_title {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #333 !important;
    text-align: right !important;
}

/* قیمت محصول (طراحی تمیز و بدون کادر اضافه) */
.single-product .wd-single-price .price {
    background: transparent !important;
    border: none !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    display: block !important;
}

.single-product .wd-single-price .price .amount {
    color: #e85f33 !important;
    font-size: 23px !important;
    font-weight: 800 !important;
}

/* بج موجودی و فرم سبد خرید */
.single-product p.stock.wd-style-bordered {
    margin: 0 0 10px 0 !important;
    text-align:right!important;
}

.single-product p.stock.wd-style-bordered span {
    background: rgba(133, 185, 81, 0.12) !important;
    border: 1px solid #85b951 !important;
    color: #a3e635 !important;
    border-radius: 6px !important;
    padding: 4px 12px !important;
    font-size: 12px !important;

}

.single-product form.cart {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin: 0 !important;
    width: 100% !important;
}

.single-product form.cart .quantity {
    height: 46px !important;
    background: #181818 !important;
    border: 1px solid #444 !important;
    border-radius: 9px !important;
    overflow: hidden !important;
    display: inline-flex !important;
    flex-shrink: 0 !important;
}

.single-product form.cart .quantity input.qty,
.single-product form.cart .quantity .btn {
    height: 100% !important;
    min-height: unset !important;
    background: transparent !important;
    color: #fff !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.single-product form.cart .quantity input.qty {
    width: 38px !important;
    border-right: 1px solid #333 !important;
    border-left: 1px solid #333 !important;
}

.single-product form.cart .quantity .btn {
    width: 30px !important;
}

.single-product form.cart .quantity .btn:hover {
    background: #e85f33 !important;
    color: #fff !important;
}

.single-product form.cart .single_add_to_cart_button {
    flex: 1 1 auto !important;
    min-height: 46px !important;
    background: #e85f33 !important;
    color: #fff !important;
    border-radius: 9px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: none !important;
}

.single-product form.cart .single_add_to_cart_button:hover {
    background: #fff !important;
    color: #e85f33 !important;
}

/* تنظیم فاصله کارت دیجی‌پی بدون تغییر در استایل داخلی آن */
.single-product .tib-card {
    margin: 6px 0 !important;
}

/* چیدمان دکمه‌های علاقه‌مندی و مقایسه کنار هم در یک خط */
.single-product .elementor-element-fe1bec1,
.single-product .elementor-element-ad38e1c {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 4px 0 !important;
    margin: 0 !important;
}

.single-product .wd-single-action-btn {
    width: auto !important;
    margin: 0 !important;
}

.single-product .wd-single-action-btn .wd-action-btn a {
    background: #181818 !important;
    border: 1px solid #383838 !important;
    padding: 7px 14px !important;
    border-radius: 8px !important;
    color: #ccc !important;
    font-size: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.single-product .wd-single-action-btn .wd-action-btn a:hover {
    border-color: #e85f33 !important;
    color: #fff !important;
}

/* متای محصول (شناسه و دسته‌ها) به صورت جمع‌وجور */
.single-product .product_meta {
    background: #181818 !important;
    border: 1px solid #2e2e2e !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    font-size: 12px !important;
    text-align: right !important;
}

.single-product .product_meta > span {
    margin: 0 !important;
}

.single-product .product_meta .meta-label {
    color: #fff !important;
    margin-left: 5px !important;
}

.single-product .product_meta a,
.single-product .product_meta .sku {
    color: #aaa !important;
}

/* ردیف اشتراک‌گذاری و دکمه استوری در یک خط تراز */
.single-product .elementor-element-dc8663c,
.single-product .elementor-element-7c27b7e {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding-top: 8px !important;
    border-top: 1px solid #303030 !important;
    margin: 0 !important;
}

.single-product .generate-story-btn {
    background: rgba(232, 95, 51, 0.12) !important;
    border: 1px solid #e85f33 !important;
    padding: 5px 12px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #fff !important;
    font-size: 12px !important;
    width: auto !important;
    height: auto !important;
}

/* 4. اصلاح کامل تب‌های توضیحات/نظرات (حذف خط زیر دکمه و رفع بریدگی موبایل) */
.single-product .wd-single-tabs .woocommerce-tabs {
    background: #202020 !important;
    border: 1px solid #383838 !important;
    border-radius: 16px !important;
    padding: 22px !important;
    margin-top: 25px !important;
}

.single-product .wd-nav-tabs-wrapper {
    border-bottom: 1px solid #383838 !important;
    margin-bottom: 20px !important;
    padding-bottom: 14px !important;
    overflow: visible !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
}

.single-product .wd-nav-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    overflow: visible !important;
}

/* حذف خط نارنجی اضافی زیر تب‌ها که از استایل منوی هدر به ارث رسیده بود */
.single-product .wd-nav-tabs > li::after,
.single-product .wd-nav-tabs > li > a .nav-link-text::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
}

.single-product .wd-nav-tabs > li > a {
    padding: 9px 18px !important;
    border-radius: 8px !important;
    background: #181818 !important;
    border: 1px solid #333 !important;
    color: #aaa !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
}

.single-product .wd-nav-tabs > li.active > a,
.single-product .wd-nav-tabs > li > a:hover {
    background: #e85f33 !important;
    border-color: #e85f33 !important;
    color: #fff !important;
}

/* 5. اسلایدر محصولات مرتبط */
.single-product .wd-products-element .product-wrapper {
    background: #202020 !important;
    border: 1px solid #383838 !important;
    border-radius: 14px !important;
    padding: 12px !important;
}

.single-product .wd-products-element .wd-entities-title a {
    color: #fff !important;
    font-size: 13px !important;
}

/* =========================================================
   واکنش‌گرایی موبایل و تبلت
========================================================= */

@media (max-width: 1024px) {
    .single-product .main-page-wrapper {
        padding-top: 95px !important;
    }
}

@media (max-width: 767px) {
    /* موبایل وبلاگ */
    .single-post article.post-single-page {
        padding: 18px 14px !important;
        border-radius: 12px !important;
    }

    .single-post h1.wd-post-title {
        font-size: 19px !important;
    }

    /* موبایل محصول تکی - رفع بیرون‌زدگی بردکرامب */
    .single-product .elementor-element-d5cbb25 {
        padding: 0 12px !important;
        margin-bottom: 12px !important;
    }

    .single-product .elementor-element-d5cbb25 > .elementor-container {
        padding: 10px 14px !important;
        gap: 8px !important;
    }

    /* نمایش کامل مسیر محصول در موبایل */
    .single-product .woocommerce-breadcrumb .wd-last-link ~ span {
        display: inline !important;
    }

    .single-product .elementor-2523 .elementor-element.elementor-element-c055ecc {
        padding: 18px 16px !important;
        border-radius: 14px !important;
        margin-top: 10px !important;
    }

    .single-product h1.product_title {
        font-size: 17px !important;
    }

    .single-product .wd-single-price .price .amount {
        font-size: 20px !important;
    }

    /* تب‌های توضیحات در موبایل بدون اسکرول و بدون بریدگی */
    .single-product .wd-single-tabs .woocommerce-tabs {
        padding: 16px 14px !important;
    }

    .single-product .wd-nav-tabs {
        gap: 6px !important;
    }

    .single-product .wd-nav-tabs > li > a {
        padding: 7px 12px !important;
        font-size: 12px !important;
    }
}
/* ==========================================================================
   KARIM COFFEE - SHOP & PRODUCT ARCHIVE (FINAL COMPLETE & SYNCED)
========================================================================== */

/* 1. تنظیم فاصله صفحه آرشیو از هدر در دسکتاپ، تبلت و موبایل */
.woodmart-archive-shop .main-page-wrapper {
    padding-top: 155px !important;
}

@media (max-width: 1024px) {
    .woodmart-archive-shop .main-page-wrapper {
        padding-top: 95px !important;
    }
}

/* 2. نوار ابزار بالای محصولات (بردکرامب، مرتب‌سازی و تعداد نمایش) */
.woodmart-archive-shop .shop-loop-head {
    background: #202020 !important;
    border: 1px solid #383838 !important;
    border-radius: 16px !important;
    padding: 16px 20px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
}

.woodmart-archive-shop .wd-shop-tools:not(:last-child) {
    border-bottom-color: #303030 !important;
}

.woodmart-archive-shop .shop-loop-head .wd-breadcrumbs {
    background: #141414 !important;
    border: 1px solid #2e2e2e !important;
    padding: 5px 15px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
}

.woodmart-archive-shop .shop-loop-head .wd-breadcrumbs a {
    color: #aaaaaa !important;
}

.woodmart-archive-shop .shop-loop-head .wd-breadcrumbs a:hover,
.woodmart-archive-shop .shop-loop-head .wd-breadcrumbs .wd-last {
    color: #e85f33 !important;
    font-weight: 600 !important;
}

.woodmart-archive-shop .woocommerce-result-count,
.woodmart-archive-shop .wd-products-per-page {
    color: #aaaaaa !important;
    font-size: 12.5px !important;
}

.woodmart-archive-shop .wd-products-per-page a {
    color: #cccccc !important;
}

.woodmart-archive-shop .wd-products-per-page a.current-variation,
.woodmart-archive-shop .wd-products-per-page a:hover {
    color: #e85f33 !important;
}

.woodmart-archive-shop .wd-products-shop-view a {
    color: #666666 !important;
    transition: color 0.2s ease !important;
}

.woodmart-archive-shop .wd-products-shop-view a.current-variation,
.woodmart-archive-shop .wd-products-shop-view a:hover {
    color: #e85f33 !important;
}

.woodmart-archive-shop .wd-show-sidebar-btn a {
    background: #181818 !important;
    border: 1px solid #383838 !important;
    border-radius: 9px !important;
    padding: 7px 14px !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
}

.woodmart-archive-shop .wd-show-sidebar-btn a:hover {
    border-color: #e85f33 !important;
    color: #e85f33 !important;
}

.woodmart-archive-shop .woocommerce-ordering select.orderby {
    background-color: #181818 !important;
    color: #ffffff !important;
    border: 1px solid #383838 !important;
    border-radius: 9px !important;
    padding: 7px 12px 7px 26px !important;
    font-size: 12.5px !important;
}

.woodmart-archive-shop .woocommerce-ordering select.orderby option {
    background-color: #202020 !important;
    color: #ffffff !important;
}

@media (max-width: 768.98px) {
    .woodmart-archive-shop .woocommerce-ordering.wd-ordering-mb-icon::after {
        color: #e85f33 !important;
    }
    .woodmart-archive-shop .woocommerce-ordering.wd-ordering-mb-icon select.orderby {
        background-color: transparent !important;
        border: none !important;
    }
}

/* 3. فاصله استاندارد بین کارت‌های محصولات */
.woodmart-archive-shop .products.wd-products,
.woodmart-archive-shop .products.products-bordered-grid {
    --wd-gap-lg: 20px !important;
    --wd-gap-sm: 12px !important;
    gap: 20px !important;
    border: none !important;
    margin: 0 !important;
    align-items: stretch !important;
}

.woodmart-archive-shop .products-bordered-grid .wd-product,
.woodmart-archive-shop .products-bordered-grid .wd-product::before,
.woodmart-archive-shop .products-bordered-grid .wd-product::after {
    border: none !important;
    padding: 0 !important;
}

.woodmart-archive-shop .wd-product .wd-product-wrapper {
    background: #202020 !important;
    border: 1px solid #383838 !important;
    border-radius: 16px !important;
    padding: 12px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease !important;
}

.woodmart-archive-shop .wd-product:hover .wd-product-wrapper {
    border-color: #e85f33 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(232, 95, 51, 0.16) !important;
}

.woodmart-archive-shop .wd-product .wd-product-card-bg {
    display: none !important;
}

/* کادر تصویر محصول */
.woodmart-archive-shop .wd-product .wd-product-thumb {
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
    padding: 6px !important;
}

.woodmart-archive-shop .wd-product .wd-product-thumb img {
    border-radius: 8px !important;
    transition: transform 0.4s ease !important;
}

.woodmart-archive-shop .wd-product:hover .wd-product-thumb img {
    transform: scale(1.04) !important;
}

.woodmart-archive-shop .wd-product .wrapp-swatches .wd-compare-btn a {
    background: rgba(32, 32, 32, 0.88) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}

.woodmart-archive-shop .wd-product .wrapp-swatches .wd-compare-btn a:hover {
    background: #e85f33 !important;
}

/* اطلاعات پایین کارت */
.woodmart-archive-shop .wd-product .product-information {
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    text-align: right !important;
    padding: 0 2px !important;
}

.woodmart-archive-shop .wd-product .wd-entities-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.65 !important;
    margin-bottom: 10px !important;
    min-height: 43px !important;
}

.woodmart-archive-shop .wd-product .wd-entities-title a {
    color: #f0f0f0 !important;
    transition: color 0.2s ease !important;
}

.woodmart-archive-shop .wd-product:hover .wd-entities-title a {
    color: #e85f33 !important;
}

.woodmart-archive-shop .wd-product .product-rating-price {
    margin-top: auto !important;
    margin-bottom: 10px !important;
}

.woodmart-archive-shop .wd-product .price,
.woodmart-archive-shop .wd-product .price .amount {
    color: #e85f33 !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
}

/* 4. فوتر کارت محصولات: قفل دائمی متن دکمه خرید (جلوگیری از تبدیل به آیکون در هاور و آن‌هاور) */
.woodmart-archive-shop .wd-product .wd-product-card-hover,
.woodmart-archive-shop .wd-product:hover .wd-product-card-hover {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 10px 0 0 0 !important;
    border-top: 1px solid #2e2e2e !important;
}

.woodmart-archive-shop .wd-product .hover-content {
    display: none !important;
}

.woodmart-archive-shop .wd-product .wd-bottom-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    border: none !important;
}

.woodmart-archive-shop .wd-product .wd-bottom-actions > div,
.woodmart-archive-shop .wd-product .wd-bottom-actions > div::before,
.woodmart-archive-shop .wd-product .wd-bottom-actions > div::after,
.woodmart-archive-shop .wd-product .wrap-wishlist-button,
.woodmart-archive-shop .wd-product .wd-add-btn,
.woodmart-archive-shop .wd-product .wrap-quickview-button {
    border: none !important;
    box-shadow: none !important;
}

.woodmart-archive-shop .wd-product .wd-bottom-actions > div::before,
.woodmart-archive-shop .wd-product .wd-bottom-actions > div::after {
    display: none !important;
    content: none !important;
}

.woodmart-archive-shop .wd-product .wd-add-btn {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.woodmart-archive-shop .wd-product .wd-add-btn a.button,
.woodmart-archive-shop .wd-product .wd-add-btn a.button.wd-btn-icon,
.woodmart-archive-shop .wd-product:hover .wd-add-btn a.button,
.woodmart-archive-shop .wd-product:hover .wd-add-btn a.button.wd-btn-icon,
.woodmart-archive-shop .wd-product .wd-add-btn a.button:hover,
.woodmart-archive-shop .wd-product .wd-add-btn a.button:focus,
.woodmart-archive-shop .wd-product .wd-add-btn a.button:active {
    --wd-btn-icon: none !important;
    width: 100% !important;
    border-radius: 9px !important;
    min-height: 36px !important;
    height: 36px !important;
    padding: 0 8px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    position: relative !important;
    overflow: hidden !important;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
}

.woodmart-archive-shop .wd-product .wd-add-btn a.button {
    background: #181818 !important;
    border: 1px solid #3a3a3a !important;
    color: #ffffff !important;
}

.woodmart-archive-shop .wd-product:hover .wd-add-btn a.button,
.woodmart-archive-shop .wd-product .wd-add-btn a.button:hover {
    background: #e85f33 !important;
    border-color: #e85f33 !important;
    color: #ffffff !important;
}

/* حذف کامل آیکون سبد خرید و شبه‌المان‌های وودمارت در تمام وضعیت‌ها */
.woodmart-archive-shop .wd-product .wd-add-btn a.button .wd-action-icon,
.woodmart-archive-shop .wd-product .wd-add-btn a.button.wd-btn-icon .wd-action-icon,
.woodmart-archive-shop .wd-product .wd-add-btn a.button::before,
.woodmart-archive-shop .wd-product .wd-add-btn a.button::after,
.woodmart-archive-shop .wd-product:hover .wd-add-btn a.button::before,
.woodmart-archive-shop .wd-product:hover .wd-add-btn a.button::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* تراز عمودی و افقی ثابت متن دکمه خرید */
.woodmart-archive-shop .wd-product .wd-add-btn a.button .wd-action-text,
.woodmart-archive-shop .wd-product .wd-add-btn a.button.wd-btn-icon .wd-action-text,
.woodmart-archive-shop .wd-product:hover .wd-add-btn a.button .wd-action-text,
.woodmart-archive-shop .wd-product:hover .wd-add-btn a.button.wd-btn-icon .wd-action-text,
.woodmart-archive-shop .wd-product .wd-add-btn a.button:hover .wd-action-text,
.woodmart-archive-shop .wd-product .wd-add-btn a.button:focus .wd-action-text,
.woodmart-archive-shop .wd-product .wd-add-btn a.button:active .wd-action-text {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    translate: none !important;
    transition: none !important;
    animation: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    clip: auto !important;
    overflow: visible !important;
    font-size: inherit !important;
    line-height: 1 !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* دکمه‌های علاقه‌مندی و مشاهده سریع */
.woodmart-archive-shop .wd-product .wrap-wishlist-button,
.woodmart-archive-shop .wd-product .wrap-quickview-button {
    flex: 0 0 36px !important;
    width: 36px !important;
}

.woodmart-archive-shop .wd-product .wrap-wishlist-button a,
.woodmart-archive-shop .wd-product .wrap-quickview-button a {
    width: 36px !important;
    height: 36px !important;
    background: #181818 !important;
    border: 1px solid #3a3a3a !important;
    border-radius: 9px !important;
    color: #cccccc !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.woodmart-archive-shop .wd-product .wrap-wishlist-button a:hover,
.woodmart-archive-shop .wd-product .wrap-quickview-button a:hover {
    border-color: #e85f33 !important;
    color: #e85f33 !important;
}

/* 5. دکمه بارگیری بیشتر محصولات (Load More) */
.woodmart-archive-shop .wd-loop-footer {
    margin-top: 32px !important;
    margin-bottom: 20px !important;
}

.woodmart-archive-shop a.wd-products-load-more {
    background: #202020 !important;
    border: 1px solid #e85f33 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 11px 32px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 20px rgba(232, 95, 51, 0.18) !important;
    transition: all 0.25s ease !important;
}

.woodmart-archive-shop a.wd-products-load-more:hover {
    background: #e85f33 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* 6. سایدبار فروشگاه: دسته‌بندی محصولات (بسته بودن پیش‌فرض زیرمنوها) */
.wd-sidebar .widget_product_categories ul.product-categories {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
}

.wd-sidebar .widget_product_categories ul.product-categories li {
    margin: 0 !important;
    position: relative !important;
}

.wd-sidebar .widget_product_categories ul.product-categories li > a {
    display: flex !important;
    align-items: center !important;
    background: #181818 !important;
    border: 1px solid #2e2e2e !important;
    border-radius: 10px !important;
    padding: 9px 12px 9px 36px !important;
    color: #dddddd !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    transition: all 0.25s ease !important;
}

.wd-sidebar .widget_product_categories ul.product-categories li > a:hover,
.wd-sidebar .widget_product_categories ul.product-categories li.current-cat > a {
    background: rgba(232, 95, 51, 0.12) !important;
    border-color: #e85f33 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.wd-sidebar .widget_product_categories .wd-cats-toggle {
    top: 6px !important;
    left: 6px !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    background: #242424 !important;
    color: #e85f33 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wd-sidebar .widget_product_categories ul.children {
    margin: 6px 8px 4px 0 !important;
    padding: 0 10px 0 0 !important;
    border-right: 2px solid rgba(232, 95, 51, 0.4) !important;
    list-style: none !important;
}

.wd-sidebar .widget_product_categories ul.children li {
    margin-bottom: 6px !important;
}

.wd-sidebar .widget_product_categories ul.children li:last-child {
    margin-bottom: 0 !important;
}

.wd-sidebar .widget_product_categories ul.children li > a {
    background: #141414 !important;
    font-size: 12px !important;
    padding: 7px 10px 7px 32px !important;
}

/* 7. میله فیلتر بر اساس قیمت (Price Slider - دسکتاپ و موبایل) */
.wd-sidebar .widget_price_filter .price_slider_wrapper {
    padding: 8px 4px 0 4px !important;
}

.wd-sidebar .widget_price_filter .ui-slider {
    position: relative !important;
    width: calc(100% - 16px) !important;
    margin: 12px auto 22px auto !important;
    height: 6px !important;
    background: #333333 !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.wd-sidebar .widget_price_filter .ui-slider::before,
.wd-sidebar .widget_price_filter .ui-slider::after {
    display: none !important;
    content: none !important;
    border: none !important;
}

.wd-sidebar .widget_price_filter .ui-slider .ui-slider-range {
    position: absolute !important;
    top: 0 !important;
    height: 100% !important;
    background: #e85f33 !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.wd-sidebar .widget_price_filter .ui-slider .ui-slider-handle {
    position: absolute !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    width: 16px !important;
    height: 16px !important;
    background: #e85f33 !important;
    border: 2.5px solid #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    cursor: grab !important;
    outline: none !important;
}

.wd-sidebar .widget_price_filter .ui-slider .ui-slider-handle::before,
.wd-sidebar .widget_price_filter .ui-slider .ui-slider-handle::after {
    display: none !important;
    content: none !important;
}

.wd-sidebar .widget_price_filter .price_slider_amount {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    text-align: right !important;
}

.wd-sidebar .widget_price_filter .price_label {
    background: #181818 !important;
    border: 1px solid #2e2e2e !important;
    border-radius: 9px !important;
    padding: 8px 12px !important;
    color: #bbbbbb !important;
    font-size: 12px !important;
    text-align: center !important;
    line-height: 1.6 !important;
}

.wd-sidebar .widget_price_filter .price_label span {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.wd-sidebar .widget_price_filter .price_slider_amount .button {
    width: 100% !important;
    background: #e85f33 !important;
    color: #ffffff !important;
    border-radius: 9px !important;
    padding: 9px 18px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    border: none !important;
    text-align: center !important;
    transition: all 0.25s ease !important;
}

.wd-sidebar .widget_price_filter .price_slider_amount .button:hover {
    background: #ffffff !important;
    color: #e85f33 !important;
}

/* 8. واکنش‌گرایی موبایل: عنوان کامل، فونت ثابت دکمه سبد و تراز کامل */
@media (max-width: 767px) {
    .woodmart-archive-shop .products.wd-products,
    .woodmart-archive-shop .products.products-bordered-grid {
        --wd-gap-sm: 10px !important;
        gap: 10px !important;
    }

    .woodmart-archive-shop .wd-product:hover .wd-product-wrapper {
        transform: none !important;
    }

    .woodmart-archive-shop .wd-product .wd-product-wrapper {
        padding: 7px !important;
        border-radius: 13px !important;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }

    .woodmart-archive-shop .wd-product .wd-product-thumb {
        margin-bottom: 8px !important;
        padding: 4px !important;
        border-radius: 9px !important;
    }

    .woodmart-archive-shop .wd-product .product-information {
        padding: 0 2px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        flex: 1 1 auto !important;
    }

    /* نمایش کامل عنوان بدون نقطه‌چین */
    .woodmart-archive-shop .wd-product .wd-entities-title {
        width: 100% !important;
        font-size: 11px !important;
        line-height: 1.6 !important;
        margin: 0 0 8px 0 !important;
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        text-align: center !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        -webkit-box-orient: unset !important;
        overflow: visible !important;
        white-space: normal !important;
    }

    /* قیمت محصول */
    .woodmart-archive-shop .wd-product .product-rating-price {
        width: 100% !important;
        margin: auto 0 8px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .woodmart-archive-shop .wd-product .wrapp-product-price {
        width: 100% !important;
        text-align: center !important;
    }

    .woodmart-archive-shop .wd-product .price,
    .woodmart-archive-shop .wd-product .price .amount {
        font-size: 12.5px !important;
        font-weight: 800 !important;
    }

    /* فوتر کارت */
    .woodmart-archive-shop .wd-product .wd-product-card-hover,
    .woodmart-archive-shop .wd-product:hover .wd-product-card-hover {
        width: 100% !important;
        padding-top: 7px !important;
        margin-top: 0 !important;
        border-top: 1px solid #2e2e2e !important;
    }

    .woodmart-archive-shop .wd-product .wd-bottom-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 3px !important;
        width: 100% !important;
    }

    /* دکمه‌های کوچک قلب و ذره‌بین */
    .woodmart-archive-shop .wd-product .wrap-wishlist-button,
    .woodmart-archive-shop .wd-product .wrap-quickview-button {
        order: unset !important;
        flex: 0 0 24px !important;
        width: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        height: 28px !important;
        margin: 0 !important;
    }

    .woodmart-archive-shop .wd-product .wrap-wishlist-button .wd-action-btn,
    .woodmart-archive-shop .wd-product .wrap-quickview-button .wd-action-btn {
        width: 24px !important;
        height: 28px !important;
        display: flex !important;
        --wd-action-icon-size: 11px !important;
    }

    .woodmart-archive-shop .wd-product .wrap-wishlist-button a,
    .woodmart-archive-shop .wd-product .wrap-quickview-button a {
        width: 24px !important;
        height: 28px !important;
        min-width: 24px !important;
        padding: 0 !important;
        background: #181818 !important;
        border: 1px solid #383838 !important;
        border-radius: 6px !important;
        color: #cccccc !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 11px !important;
    }

    .woodmart-archive-shop .wd-product .wrap-wishlist-button .wd-action-icon::before,
    .woodmart-archive-shop .wd-product .wrap-quickview-button .wd-action-icon::before {
        font-size: 11px !important;
    }

    /* دکمه نارنجی سبد خرید در موبایل (قفل شده در برابر کلاس wd-btn-icon) */
    .woodmart-archive-shop .wd-product .wd-add-btn {
        order: unset !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        margin: 0 !important;
    }

    .woodmart-archive-shop .wd-product .wd-add-btn a.button,
    .woodmart-archive-shop .wd-product .wd-add-btn a.button.wd-btn-icon,
    .woodmart-archive-shop .wd-product:hover .wd-add-btn a.button,
    .woodmart-archive-shop .wd-product:hover .wd-add-btn a.button.wd-btn-icon,
    .woodmart-archive-shop .wd-product .wd-add-btn a.button:hover,
    .woodmart-archive-shop .wd-product .wd-add-btn a.button:focus,
    .woodmart-archive-shop .wd-product .wd-add-btn a.button:active {
        width: 100% !important;
        height: 28px !important;
        min-height: 28px !important;
        padding: 0 3px !important;
        font-size: 8.5px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        background: #e85f33 !important;
        border: 1px solid #e85f33 !important;
        color: #ffffff !important;
        border-radius: 6px !important;
        letter-spacing: -0.3px !important;
        overflow: hidden !important;
        transform: none !important;
    }

    .woodmart-archive-shop .wd-product .wd-add-btn a.button .wd-action-text,
    .woodmart-archive-shop .wd-product .wd-add-btn a.button.wd-btn-icon .wd-action-text,
    .woodmart-archive-shop .wd-product:hover .wd-add-btn a.button .wd-action-text,
    .woodmart-archive-shop .wd-product:hover .wd-add-btn a.button.wd-btn-icon .wd-action-text,
    .woodmart-archive-shop .wd-product .wd-add-btn a.button:hover .wd-action-text,
    .woodmart-archive-shop .wd-product .wd-add-btn a.button:focus .wd-action-text,
    .woodmart-archive-shop .wd-product .wd-add-btn a.button:active .wd-action-text {
        font-size: 8.5px !important;
        line-height: 1 !important;
        letter-spacing: -0.3px !important;
        transform: none !important;
        translate: none !important;
    }
}

/* موبایل‌های خیلی باریک (زیر 375px) */
@media (max-width: 375px) {
    .woodmart-archive-shop .wd-product .wrap-wishlist-button,
    .woodmart-archive-shop .wd-product .wrap-quickview-button {
        flex: 0 0 22px !important;
        width: 22px !important;
        min-width: 22px !important;
    }

    .woodmart-archive-shop .wd-product .wrap-wishlist-button a,
    .woodmart-archive-shop .wd-product .wrap-quickview-button a {
        width: 22px !important;
        min-width: 22px !important;
    }

    .woodmart-archive-shop .wd-product .wd-add-btn a.button,
    .woodmart-archive-shop .wd-product .wd-add-btn a.button.wd-btn-icon,
    .woodmart-archive-shop .wd-product:hover .wd-add-btn a.button,
    .woodmart-archive-shop .wd-product:hover .wd-add-btn a.button.wd-btn-icon {
        font-size: 8px !important;
        padding: 0 2px !important;
    }
}

/* ==========================================================================
   KARIM COFFEE - WOOCOMMERCE CART PAGE (FIXED DESKTOP & MOBILE)
========================================================================== */

.woocommerce-cart {
    --cart-bg: #202020;
    --cart-inner: #181818;
    --cart-border: #383838;
    --cart-orange: #e85f33;
}

.woocommerce-cart .cart-content-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 28px !important;
    direction: rtl !important;
}

/* -----------------------------------------
   1. جدول محصولات سبد خرید (دسکتاپ)
----------------------------------------- */
.woocommerce-cart .woocommerce-cart-form {
    background: var(--cart-bg) !important;
    border: 1px solid var(--cart-border) !important;
    border-radius: 16px !important;
    padding: 22px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    box-sizing: border-box !important;
}

.woocommerce-cart table.shop_table.cart {
    width: 100% !important;
    border-collapse: collapse !important;
    background: transparent !important;
    margin: 0 !important;
    border: none !important;
}

.woocommerce-cart table.shop_table.cart thead th {
    background: #272727 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 14px 12px !important;
    border-bottom: 1px solid var(--cart-border) !important;
    text-align: right !important;
}

.woocommerce-cart table.shop_table.cart thead th:first-child {
    border-radius: 0 10px 10px 0 !important;
}

.woocommerce-cart table.shop_table.cart thead th:last-child {
    border-radius: 10px 0 0 10px !important;
}

.woocommerce-cart table.shop_table.cart tbody tr.cart_item {
    border-bottom: 1px solid #2e2e2e !important;
    transition: background-color 0.2s ease !important;
}

.woocommerce-cart table.shop_table.cart tbody tr.cart_item:hover {
    background: rgba(255, 255, 255, 0.02) !important;
}

.woocommerce-cart table.shop_table.cart tbody td {
    padding: 16px 12px !important;
    vertical-align: middle !important;
    border: none !important;
    color: #eeeeee !important;
    font-size: 13px !important;
}

/* رفع مشکل دو ضربدر بودن دکمه حذف (دسکتاپ و موبایل) */
.woocommerce-cart table.shop_table.cart td.product-remove a.remove {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background: #2a2a2a !important;
    color: #aaaaaa !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    padding: 0 !important;
    transition: all 0.25s ease !important;
}

.woocommerce-cart table.shop_table.cart td.product-remove a.remove::before,
.woocommerce-cart table.shop_table.cart td.product-remove a.remove::after {
    display: none !important;
    content: none !important;
}

.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover {
    background: var(--cart-orange) !important;
    color: #ffffff !important;
}

/* تصویر محصول در جدول */
.woocommerce-cart table.shop_table.cart td.product-thumbnail a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 68px !important;
    height: 68px !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    padding: 4px !important;
    overflow: hidden !important;
}

.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    border-radius: 7px !important;
}

/* نام محصول */
.woocommerce-cart table.shop_table.cart td.product-name a {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    transition: color 0.2s ease !important;
}

.woocommerce-cart table.shop_table.cart td.product-name a:hover {
    color: var(--cart-orange) !important;
}

/* قیمت و جمع جزء */
.woocommerce-cart table.shop_table.cart td.product-price .amount {
    color: #cccccc !important;
    font-weight: 600 !important;
}

.woocommerce-cart table.shop_table.cart td.product-subtotal .amount {
    color: var(--cart-orange) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* دکمه‌های + و - تعداد */
.woocommerce-cart table.shop_table.cart div.quantity {
    display: inline-flex !important;
    align-items: center !important;
    background: var(--cart-inner) !important;
    border: 1px solid #444444 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    height: 36px !important;
    min-height: 36px !important;
}

.woocommerce-cart table.shop_table.cart div.quantity input.qty {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    border-right: 1px solid #333333 !important;
    border-left: 1px solid #333333 !important;
    width: 34px !important;
    height: 36px !important;
    min-height: 36px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 0 !important;
}

.woocommerce-cart table.shop_table.cart div.quantity .minus,
.woocommerce-cart table.shop_table.cart div.quantity .plus {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    width: 28px !important;
    height: 36px !important;
    min-height: 36px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.woocommerce-cart table.shop_table.cart div.quantity .minus:hover,
.woocommerce-cart table.shop_table.cart div.quantity .plus:hover {
    background: var(--cart-orange) !important;
    color: #ffffff !important;
}

/* -----------------------------------------
   2. اصلاح باکس کد تخفیف و دکمه بروزرسانی (خنثی‌سازی استایل وودمارت)
----------------------------------------- */
.woocommerce-cart tr.wd-cart-action-row td.actions {
    padding: 20px 0 0 0 !important;
    border: none !important;
}

.woocommerce-cart .cart-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
}

.woocommerce-cart .wd-coupon-form {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    background: var(--cart-inner) !important;
    border: 1px solid var(--cart-border) !important;
    border-radius: 10px !important;
    padding: 6px !important;
    flex: 1 1 320px !important;
    max-width: 400px !important;
    margin: 0 !important;
}

.woocommerce-cart .wd-coupon-form input#coupon_code {
    position: static !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    text-align: right !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.woocommerce-cart .wd-coupon-form input#coupon_code::placeholder {
    color: #777777 !important;
}

.woocommerce-cart .wd-coupon-form button[name="apply_coupon"] {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    flex: 0 0 auto !important;
    width: auto !important;
    background: var(--cart-orange) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 7px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 16px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    margin: 0 !important;
    transition: all 0.25s ease !important;
}

.woocommerce-cart .wd-coupon-form button[name="apply_coupon"]:hover {
    background: #ffffff !important;
    color: var(--cart-orange) !important;
}

.woocommerce-cart .cart-actions button[name="update_cart"] {
    background: #2a2a2a !important;
    color: #ffffff !important;
    border: 1px solid #444444 !important;
    border-radius: 10px !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 22px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    transition: all 0.25s ease !important;
}

.woocommerce-cart .cart-actions button[name="update_cart"]:not(:disabled):hover {
    border-color: var(--cart-orange) !important;
    background: var(--cart-orange) !important;
    color: #ffffff !important;
}

.woocommerce-cart .cart-actions button[name="update_cart"]:disabled {
    opacity: 0.45 !important;
}

/* -----------------------------------------
   3. باکس جمع کل سبد خرید (اصلاح کامل دسکتاپ و موبایل بدون بیرون‌زدگی)
----------------------------------------- */
.woocommerce-cart .cart_totals .cart-totals-inner {
    background: var(--cart-bg) !important;
    border: 1px solid var(--cart-border) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden !important;
}

.woocommerce-cart .cart_totals h2 {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: right !important;
    position: relative !important;
    padding-bottom: 14px !important;
    margin: 0 0 18px 0 !important;
    border-bottom: 1px solid var(--cart-border) !important;
}

.woocommerce-cart .cart_totals h2::after {
    content: "" !important;
    position: absolute !important;
    bottom: -1px !important;
    right: 0 !important;
    width: 50px !important;
    height: 3px !important;
    background: var(--cart-orange) !important;
    border-radius: 5px !important;
}

.woocommerce-cart .cart_totals table.shop_table,
.woocommerce-cart .cart_totals table.shop_table tbody {
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    margin: 0 0 18px 0 !important;
}

/* حذف برچسب‌های تکراری td::before وودمارت در جدول جمع کل موبایل */
.woocommerce-cart .cart_totals table.shop_table td::before {
    display: none !important;
    content: none !important;
}

/* ردیف‌های عادی جدول (جمع جزء، هزینه پرداخت، مجموع) -> افقی و دوطرفه */
.woocommerce-cart .cart_totals table.shop_table tr:not(.woocommerce-shipping-totals) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #2e2e2e !important;
}

.woocommerce-cart .cart_totals table.shop_table tr:last-child {
    border-bottom: none !important;
}

.woocommerce-cart .cart_totals table.shop_table tr:not(.woocommerce-shipping-totals) th {
    display: block !important;
    color: #cccccc !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-align: right !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    width: auto !important;
    flex: 0 0 auto !important;
}

.woocommerce-cart .cart_totals table.shop_table tr:not(.woocommerce-shipping-totals) td {
    display: block !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    text-align: left !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    width: auto !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
}

/* بزرگ و شاخص کردن ردیف «جمع جزء» و مبلغ روبه‌روی آن */
.woocommerce-cart .cart_totals tr.cart-subtotal th {
    color: #ffffff !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
}

.woocommerce-cart .cart_totals tr.cart-subtotal td .amount {
    color: #ffffff !important;
    font-size: 16.5px !important;
    font-weight: 800 !important;
}

.woocommerce-cart .cart_totals .fee .wcgfcm-free-fee {
    color: #a3e635 !important;
    font-weight: 700 !important;
}

.woocommerce-cart .cart_totals .order-total th {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

.woocommerce-cart .cart_totals .order-total .amount {
    color: var(--cart-orange) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

/* ردیف مرسوله -> کاملاً عمودی (عنوان بالا، گزینه‌ها زیر آن در تمام عرض کادر) */
.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #2e2e2e !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals th {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: right !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: right !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 0 12px 0 !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    background: var(--cart-inner) !important;
    border: 1px solid #353535 !important;
    border-radius: 9px !important;
    padding: 12px 14px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li:has(input:checked) {
    background: rgba(232, 95, 51, 0.1) !important;
    border-color: var(--cart-orange) !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods input[type="radio"] {
    accent-color: var(--cart-orange) !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li label {
    display: block !important;
    flex: 1 1 auto !important;
    color: #dddddd !important;
    font-size: 12.5px !important;
    line-height: 1.65 !important;
    text-align: right !important;
    margin: 0 !important;
    cursor: pointer !important;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li:has(input:checked) label {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.woocommerce-cart .woocommerce-shipping-destination {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: var(--cart-inner) !important;
    border-right: 3px solid var(--cart-orange) !important;
    padding: 11px 14px !important;
    border-radius: 8px !important;
    color: #bbbbbb !important;
    font-size: 12px !important;
    line-height: 1.85 !important;
    text-align: right !important;
    margin-bottom: 10px !important;
}

.woocommerce-cart .woocommerce-shipping-destination strong {
    color: #ffffff !important;
}

/* فرم تغییر آدرس و محاسبه حمل و نقل */
.woocommerce-cart a.shipping-calculator-button {
    display: inline-block !important;
    color: var(--cart-orange) !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

.woocommerce-cart .shipping-calculator-form {
    background: var(--cart-inner) !important;
    border: 1px solid var(--cart-border) !important;
    border-radius: 10px !important;
    padding: 14px !important;
    margin-top: 8px !important;
}

.woocommerce-cart .shipping-calculator-form label {
    color: #cccccc !important;
    font-size: 12px !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.woocommerce-cart .shipping-calculator-form input.input-text,
.woocommerce-cart .shipping-calculator-form select,
.woocommerce-cart .shipping-calculator-form .select2-container--default .select2-selection--single {
    background: #121212 !important;
    color: #ffffff !important;
    border: 1px solid #3a3a3a !important;
    border-radius: 8px !important;
    height: 42px !important;
    min-height: 42px !important;
}

.woocommerce-cart .shipping-calculator-form .select2-selection__rendered {
    color: #ffffff !important;
    line-height: 40px !important;
    text-align: right !important;
}

.woocommerce-cart .shipping-calculator-form button[name="calc_shipping"] {
    width: 100% !important;
    background: #2a2a2a !important;
    border: 1px solid var(--cart-orange) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 10px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
}

.woocommerce-cart .shipping-calculator-form button[name="calc_shipping"]:hover {
    background: var(--cart-orange) !important;
}

/* دکمه اصلی ادامه جهت تسویه حساب */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 50px !important;
    background: var(--cart-orange) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 20px rgba(232, 95, 51, 0.28) !important;
    transition: all 0.25s ease !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #ffffff !important;
    color: var(--cart-orange) !important;
    transform: translateY(-2px) !important;
}

/* -----------------------------------------
   4. چیدمان تک‌ردیفه (عکس + عنوان + ضربدر در یک خط) در موبایل
----------------------------------------- */
@media (max-width: 768.98px) {
    /* الف) فیت شدن کامل ۳ گام خرید در عرض موبایل */
    .wd-checkout-steps {
        width: 95% !important;
        max-width: 95% !important;
        padding: 6px 6px !important;
        gap: 2px !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    .wd-checkout-steps li {
        gap: 3px !important;
        font-size: 9.5px !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
    }

    .wd-checkout-steps li > a,
    .wd-checkout-steps li > span {
        padding: 4px 6px !important;
        gap: 4px !important;
        font-size: 9.5px !important;
    }

    .wd-checkout-steps li > a::before,
    .wd-checkout-steps li > span::before {
        width: 16px !important;
        height: 16px !important;
        font-size: 9px !important;
    }

    .wd-checkout-steps li:not(:last-child)::after {
        font-size: 7px !important;
    }

    /* ب) کارت محصول سبد خرید: عکس + عنوان + ضربدر در یک خط و یک راستا */
    .woocommerce-cart .woocommerce-cart-form {
        padding: 12px !important;
        border-radius: 14px !important;
    }

    .woocommerce-cart table.shop_table_responsive,
    .woocommerce-cart table.shop_table_responsive tbody {
        display: block !important;
        width: 100% !important;
    }

    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px 8px !important;
        background: var(--cart-inner) !important;
        border: 1px solid #303030 !important;
        border-radius: 12px !important;
        padding: 12px !important;
        margin-bottom: 12px !important;
        position: relative !important;
    }

    /* بازنشانی کامل float و عرض‌های پیش‌فرض وودمارت روی سلول‌های ردیف اول */
    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-thumbnail,
    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-name,
    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-remove {
        position: static !important;
        inset: auto !important;
        float: none !important;
        clear: none !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: unset !important;
    }

    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-thumbnail::before,
    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-name::before,
    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-remove::before {
        display: none !important;
        content: none !important;
    }

    /* ۱. تصویر محصول (سمت راست - ترتیب 1) */
    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-thumbnail {
        order: 1 !important;
        flex: 0 0 54px !important;
        width: 54px !important;
        max-width: 54px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-thumbnail a {
        width: 54px !important;
        height: 54px !important;
        padding: 3px !important;
        border-radius: 8px !important;
        display: flex !important;
    }

    /* ۲. عنوان محصول (وسط - ترتیب 2 - هم‌راستا با عکس و ضربدر) */
    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-name {
        order: 2 !important;
        flex: 1 1 0% !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        text-align: right !important;
    }

    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-name a {
        font-size: 11.5px !important;
        font-weight: 600 !important;
        line-height: 1.55 !important;
        display: block !important;
        text-align: right !important;
        margin: 0 !important;
        word-break: break-word !important;
    }

    /* ۳. ضربدر حذف (سمت چپ - ترتیب 3 - دقیقاً در یک خط با عکس و عنوان) */
    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-remove {
        order: 3 !important;
        flex: 0 0 26px !important;
        width: 26px !important;
        max-width: 26px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* ۴. ردیف‌های قیمت، تعداد و جمع جزء (زیر ردیف اول - ترتیب 4) */
    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-price,
    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-quantity,
    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-subtotal {
        order: 4 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 7px 0 0 0 !important;
        margin: 0 !important;
        border-top: 1px solid #262626 !important;
        border-bottom: none !important;
        font-size: 12px !important;
    }

    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td::before {
        color: #999999 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        margin: 0 !important;
    }

    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-quantity div.quantity {
        height: 30px !important;
        min-height: 30px !important;
    }

    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-quantity div.quantity input.qty,
    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-quantity div.quantity .minus,
    .woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-quantity div.quantity .plus {
        height: 30px !important;
        min-height: 30px !important;
    }

    /* باکس کد تخفیف و دکمه بروزرسانی در موبایل */
    .woocommerce-cart .wd-coupon-form {
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 5px !important;
        flex-direction: row !important;
    }

    .woocommerce-cart .wd-coupon-form input#coupon_code {
        height: 38px !important;
        min-height: 38px !important;
        font-size: 12px !important;
    }

    .woocommerce-cart .wd-coupon-form button[name="apply_coupon"] {
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 12px !important;
        font-size: 11px !important;
    }

    .woocommerce-cart .cart-actions button[name="update_cart"] {
        width: 100% !important;
        height: 44px !important;
        min-height: 44px !important;
    }

    .woocommerce-cart .cart_totals .cart-totals-inner {
        padding: 18px 16px !important;
        border-radius: 14px !important;
    }
}

/* ==========================================================================
   KARIM COFFEE - ORDER RECEIVED / THANK YOU PAGE (FIXED ICON & FULL WIDTH)
========================================================================== */

.woocommerce-order-received {
    --ty-bg: #202020;
    --ty-inner: #181818;
    --ty-border: #383838;
    --ty-orange: #e85f33;
    --ty-green: #22c55e;
}

/* 1. مخفی کردن بنر تخفیف خرید اول در صفحه تشکر */
.woocommerce-order-received #checkout-smart-banner-container {
    display: none !important;
}

/* کانتینر اصلی صفحه تشکر */
.woocommerce-order-received .woocommerce-order {
    max-width: 860px !important;
    margin: 0 auto 30px auto !important;
    direction: rtl !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* 2. باکس متن پیام سپاسگزاری اختصاصی فروشگاه */
.woocommerce-order-received .wd-order-extra-content {
    background: var(--ty-bg) !important;
    border: 1px solid var(--ty-border) !important;
    border-right: 4px solid var(--ty-orange) !important;
    border-radius: 14px !important;
    padding: 18px 22px !important;
    margin: 0 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22) !important;
}

.woocommerce-order-received .wd-order-extra-content p {
    color: #e0e0e0 !important;
    font-size: 13.5px !important;
    line-height: 2 !important;
    text-align: center !important;
    margin: 0 !important;
}

/* 3. باکس اعلان وضعیت دریافت سفارش همراه با آیکون تیک سبز */
.woocommerce-order-received p.woocommerce-thankyou-order-received {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.45) !important;
    color: #4ade80 !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.1) !important;
}

.woocommerce-order-received p.woocommerce-thankyou-order-received::before {
    content: "" !important;
    display: inline-block !important;
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
    background-color: #4ade80 !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain !important;
}

/* اگر پرداخت ناموفق یا لغو شده باشد */
.woocommerce-order-received p.woocommerce-thankyou-order-failed {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
    color: #f87171 !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
}

/* 4. باکس کارت‌های خلاصه سفارش (شماره سفارش، تاریخ، قیمت نهایی، روش پرداخت) */
.woocommerce-order-received ul.woocommerce-thankyou-order-details {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    background: var(--ty-bg) !important;
    border: 1px solid var(--ty-border) !important;
    border-radius: 16px !important;
    padding: 18px !important;
    margin: 0 !important;
    list-style: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

.woocommerce-order-received ul.woocommerce-thankyou-order-details li {
    background: var(--ty-inner) !important;
    border: 1px solid #2e2e2e !important;
    border-radius: 12px !important;
    padding: 14px 12px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
    max-width: 100% !important;
    flex: none !important;
}

.woocommerce-order-received ul.woocommerce-thankyou-order-details li span {
    color: #999999 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.woocommerce-order-received ul.woocommerce-thankyou-order-details li strong {
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}

.woocommerce-order-received ul.woocommerce-thankyou-order-details li.total strong .amount {
    color: var(--ty-orange) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

/* 5. باکس جدول مشخصات سفارش (تمام‌عرض در دسکتاپ و موبایل) */
.woocommerce-order-received section.woocommerce-order-details {
    background: var(--ty-bg) !important;
    border: 1px solid var(--ty-border) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin: 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

.woocommerce-order-received h2.woocommerce-order-details__title {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: right !important;
    position: relative !important;
    padding-bottom: 14px !important;
    margin: 0 0 20px 0 !important;
    border-bottom: 1px solid var(--ty-border) !important;
}

.woocommerce-order-received h2.woocommerce-order-details__title::after {
    content: "" !important;
    position: absolute !important;
    bottom: -1px !important;
    right: 0 !important;
    width: 50px !important;
    height: 3px !important;
    background: var(--ty-orange) !important;
    border-radius: 5px !important;
}

/* تبدیل کل ساختار جدول به بلوک تمام‌عرض تا هیچ ستونی در موبایل جمع نشود */
.woocommerce-order-received table.woocommerce-table--order-details,
.woocommerce-order-received table.woocommerce-table--order-details thead,
.woocommerce-order-received table.woocommerce-table--order-details tbody,
.woocommerce-order-received table.woocommerce-table--order-details tfoot {
    display: block !important;
    width: 100% !important;
}

.woocommerce-order-received table.woocommerce-table--order-details {
    background: var(--ty-inner) !important;
    border: 1px solid #303030 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.woocommerce-order-received table.woocommerce-table--order-details thead tr,
.woocommerce-order-received table.woocommerce-table--order-details tbody tr {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
}

.woocommerce-order-received table.woocommerce-table--order-details thead tr {
    background: #272727 !important;
    border-bottom: 1px solid var(--ty-border) !important;
}

.woocommerce-order-received table.woocommerce-table--order-details thead th {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 14px 16px !important;
    border: none !important;
    width: auto !important;
    max-width: none !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tbody tr {
    border-bottom: 1px solid #282828 !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tbody td {
    padding: 14px 16px !important;
    border: none !important;
    color: #eeeeee !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    width: auto !important;
    max-width: none !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tbody td.product-name {
    flex: 1 1 auto !important;
    text-align: right !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tbody td.product-name a {
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tbody td.product-name a:hover {
    color: var(--ty-orange) !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tbody td.product-name strong.product-quantity {
    display: inline-block !important;
    background: rgba(232, 95, 51, 0.14) !important;
    color: var(--ty-orange) !important;
    border: 1px solid rgba(232, 95, 51, 0.3) !important;
    padding: 1px 8px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    margin-right: 6px !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tbody td.product-total {
    flex: 0 0 auto !important;
    text-align: left !important;
    white-space: nowrap !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tbody td.product-total .amount {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* فوتر جدول (جمع جزء، حمل و نقل، هزینه خدمات، روش پرداخت، قیمت نهایی، عملیات‌ها) */
.woocommerce-order-received table.woocommerce-table--order-details tfoot {
    background: #1c1c1c !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tfoot tr {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    border-top: 1px solid #2a2a2a !important;
    padding: 13px 16px !important;
    box-sizing: border-box !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tfoot th {
    color: #bbbbbb !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: right !important;
    padding: 0 !important;
    border: none !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tfoot td {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: left !important;
    padding: 0 !important;
    border: none !important;
    width: auto !important;
    max-width: none !important;
    flex: 1 1 auto !important;
}

/* ردیف قیمت نهایی */
.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:nth-last-child(2) th {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:nth-last-child(2) td .amount {
    color: var(--ty-orange) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

/* دکمه‌های عملیات (پرداخت / لغو) */
.woocommerce-order-received table.woocommerce-table--order-details tfoot td a.order-actions-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    min-height: 38px !important;
    transition: all 0.25s ease !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tfoot td a.order-actions-button.pay {
    background: var(--ty-orange) !important;
    color: #ffffff !important;
    border: 1px solid var(--ty-orange) !important;
    margin-left: 8px !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tfoot td a.order-actions-button.pay:hover {
    background: #ffffff !important;
    color: var(--ty-orange) !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tfoot td a.order-actions-button.cancel {
    background: #282828 !important;
    color: #cccccc !important;
    border: 1px solid #444444 !important;
}

.woocommerce-order-received table.woocommerce-table--order-details tfoot td a.order-actions-button.cancel:hover {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
}

/* باکس آدرس صورتحساب و حمل و نقل */
.woocommerce-order-received .woocommerce-customer-details {
    background: var(--ty-bg) !important;
    border: 1px solid var(--ty-border) !important;
    border-radius: 16px !important;
    padding: 22px !important;
    margin: 0 !important;
}

.woocommerce-order-received .woocommerce-customer-details h2.woocommerce-column__title {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding-bottom: 12px !important;
    margin-bottom: 14px !important;
    border-bottom: 1px solid var(--ty-border) !important;
}

.woocommerce-order-received .woocommerce-customer-details address {
    background: var(--ty-inner) !important;
    border: 1px solid #2e2e2e !important;
    border-radius: 10px !important;
    padding: 14px !important;
    color: #dddddd !important;
    font-size: 13px !important;
    line-height: 2 !important;
}

/* ==========================================================================
   واکنش‌گرایی تبلت و موبایل صفحه تشکر پرداخت
========================================================================== */
@media (max-width: 768.98px) {
    .woocommerce-order-received .wd-order-extra-content {
        padding: 14px 16px !important;
    }

    .woocommerce-order-received .wd-order-extra-content p {
        font-size: 12.5px !important;
        line-height: 1.9 !important;
    }

    .woocommerce-order-received p.woocommerce-thankyou-order-received {
        font-size: 15px !important;
        padding: 15px 14px !important;
    }

    /* تبدیل 4 کارت خلاصه سفارش به شبکه 2 در 2 تمیز در موبایل */
    .woocommerce-order-received ul.woocommerce-thankyou-order-details {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 12px !important;
        border-radius: 14px !important;
    }

    .woocommerce-order-received ul.woocommerce-thankyou-order-details li {
        padding: 12px 8px !important;
    }

    .woocommerce-order-received ul.woocommerce-thankyou-order-details li strong {
        font-size: 12.5px !important;
    }

    .woocommerce-order-received section.woocommerce-order-details {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }

    .woocommerce-order-received table.woocommerce-table--order-details thead th,
    .woocommerce-order-received table.woocommerce-table--order-details tbody td {
        padding: 11px 12px !important;
        font-size: 12px !important;
    }

    .woocommerce-order-received table.woocommerce-table--order-details tfoot tr {
        padding: 11px 12px !important;
        flex-wrap: wrap !important;
    }

    .woocommerce-order-received table.woocommerce-table--order-details tfoot th,
    .woocommerce-order-received table.woocommerce-table--order-details tfoot td {
        font-size: 12px !important;
    }

    .woocommerce-order-received table.woocommerce-table--order-details tfoot td a.order-actions-button {
        padding: 7px 14px !important;
        font-size: 12px !important;
    }
}
/* ==========================================================================
   اصلاح دقیق هدر دسکتاپ (بدون هیچ‌گونه اثر روی هدر موبایل و تبلت)
========================================================================== */

@media (min-width: 1025px) {
    /* 1. هم‌اندازه کردن کادر هر سه آیکون (34x34) و یکسان‌سازی کامل فاصله و تراز عمودی */
    .whb-general-header .whb-col-left.whb-column8 {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
    }

    .whb-general-header .whb-y44vgu0l4o7ai2qgq2hp.wd-tools-element {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .whb-general-header .whb-y44vgu0l4o7ai2qgq2hp.wd-tools-element > a {
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .whb-general-header .whb-y44vgu0l4o7ai2qgq2hp.wd-tools-element > a > .wd-tools-icon {
        width: 34px !important;
        height: 34px !important;
        background-color: transparent !important;
        border-radius: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }

    .whb-general-header .whb-y44vgu0l4o7ai2qgq2hp.wd-tools-element > a > .wd-tools-icon::before {
        font-size: 20px !important;
        line-height: 1 !important;
        display: block !important;
    }

    /* حذف فاصله‌اندازی تگ link و مخفی ماندن واتساپ نسخه موبایل */
    .whb-general-header .whb-07sq4324oc66g2g47rnw.wd-social-icons > link,
    .whb-general-header .whb-07sq4324oc66g2g47rnw.wd-social-icons > style,
    .whb-general-header .whb-07sq4324oc66g2g47rnw.wd-social-icons .wd-hide-lg {
        display: none !important;
    }

    .whb-general-header .whb-07sq4324oc66g2g47rnw.wd-social-icons {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 0 !important;
    }

    .whb-general-header .whb-07sq4324oc66g2g47rnw.wd-social-icons .wd-social-icon:not(.wd-hide-lg) {
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }

    .whb-general-header .whb-07sq4324oc66g2g47rnw.wd-social-icons .wd-social-icon:not(.wd-hide-lg) .wd-icon {
        width: auto !important;
        height: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }

    .whb-general-header .whb-07sq4324oc66g2g47rnw.wd-social-icons .wd-social-icon:not(.wd-hide-lg) .wd-icon::before {
        font-size: 20px !important;
        line-height: 1 !important;
        display: block !important;
    }

    /* 2. حذف پس‌زمینه نارنجی از پشت آیکون جستجو در سمت چپ هدر */
    .whb-row .whb-sbo223hcef74cxvn0qlm.wd-tools-element .wd-tools-inner,
    .whb-row .whb-sbo223hcef74cxvn0qlm.wd-tools-element > a > .wd-tools-icon {
        background-color: transparent !important;
    }

    /* 3. حذف خط دوم زیر متن در منوی پایین هدر و حفظ فقط خط کپسولی */
    .whb-header-bottom ul.wd-nav > li > a > span.nav-link-text::after,
    .whb-header-bottom ul.wd-nav > li:hover > a > span.nav-link-text::after,
    .whb-header-bottom ul.wd-nav > li.current-menu-item > a > span.nav-link-text::after,
    .whb-header-bottom ul.wd-nav > li.wd-active > a > span.nav-link-text::after,
    .whb-header-bottom ul.wd-nav > li.active > a > span.nav-link-text::after {
        display: none !important;
        content: none !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
    }
}
/* ==========================================================================
   اصلاحات تکمیلی صفحه محصول تکی (حذف خط کنار دکمه سبد، تراز موجودی و دکمه استوری)
========================================================================== */

/* 1. حذف خط عمودی کنار دکمه افزودن به سبد خرید در دسکتاپ و موبایل (هنگام تک‌موجودی بودن) */
.single-product form.cart .quantity.hidden {
    display: none !important;
}

/* 2. وسط‌چین کردن محتوای داخل دکمه استوری کنید */
.single-product .generate-story-btn {
    justify-content: center !important;
}

/* 3. وسط‌چین کردن بج «موجود» و ردیف «استوری کنید» در موبایل */
@media (max-width: 767px) {
    .single-product p.stock.wd-style-bordered {
        text-align: center !important;
        width: 100% !important;
    }

    .single-product .elementor-element-dc8663c,
    .single-product .elementor-element-7c27b7e {
        justify-content: center !important;
        text-align: center !important;
    }

    .single-product .elementor-element-dc8663c .wd-social-icons,
    .single-product .elementor-element-7c27b7e .wd-social-icons {
        justify-content: center !important;
        width: 100% !important;
    }

    .single-product .elementor-widget-shortcode:has(.generate-story-btn),
    .single-product .sg-wrapper {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }
}
/* ==========================================================================
   هماهنگ‌سازی کامل دیزاین لیست محصولات صفحه تسویه حساب با صفحه سبد خرید
   (نسخه دسکتاپ و موبایل - بدون تغییر در بخش ارسال، پرداخت و دیجی‌پی)
========================================================================== */

/* 1. استایل مشترک دکمه حذف دایره‌ای، کادر سفید تصویر، شمارنده تعداد و مبلغ نارنجی */
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tfoot {
    background: #242424 !important;
    border: 1px solid #383838 !important;
    border-radius: 12px !important;
    margin-top: 14px !important;
    overflow: hidden !important;
}

/* دکمه ضربدر حذف (دایره 26x26 دقیقاً مشابه صفحه سبد خرید) */
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-remove-btn-wrapp {
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table a.wd-checkout-remove-btn {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background: #2a2a2a !important;
    color: #aaaaaa !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    line-height: 1 !important;
    padding: 0 !important;
    transition: all 0.25s ease !important;
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table a.wd-checkout-remove-btn:hover {
    background: #e85f33 !important;
    color: #ffffff !important;
}

/* کادر سفید گرد دور تصویر محصول */
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-img {
    margin: 0 !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-img a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-img img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    object-fit: contain !important;
    display: block !important;
}

/* عنوان و مبلغ جمع جزء محصول */
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table a.cart-product-label-link {
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table a.cart-product-label-link:hover {
    color: #e85f33 !important;
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-total .woocommerce-Price-amount {
    color: #e85f33 !important;
    font-weight: 700 !important;
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .quantity.hidden {
    display: none !important;
}

/* --------------------------------------------------------------------------
   2. نسخه دسکتاپ و تبلت (min-width: 769px): چیدمان جدولی یک‌خطی مشابه سبد خرید
-------------------------------------------------------------------------- */
@media (min-width: 769px) {
    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table thead tr {
        background: #272727 !important;
        border-bottom: 1px solid #383838 !important;
        border-radius: 10px !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table thead th {
        padding: 14px 12px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table thead th:first-child {
        border-radius: 0 10px 10px 0 !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table thead th:last-child {
        border-radius: 10px 0 0 10px !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tbody tr.cart_item {
        border-bottom: 1px solid #2e2e2e !important;
        transition: background-color 0.2s ease !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tbody tr.cart_item:hover {
        background: rgba(255, 255, 255, 0.02) !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table td.wd-checkout-prod {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 14px !important;
        padding: 16px 12px !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-remove-btn-wrapp {
        order: 1 !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-img {
        order: 2 !important;
        flex: 0 0 64px !important;
        width: 64px !important;
        height: 64px !important;
        border-radius: 10px !important;
        padding: 4px !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-img img {
        border-radius: 7px !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-cont {
        order: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex: 1 1 auto !important;
        gap: 14px !important;
        min-width: 0 !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-title {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex: 1 1 auto !important;
        gap: 8px 14px !important;
        margin: 0 !important;
        min-width: 0 !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table a.cart-product-label-link {
        flex: 1 1 160px !important;
        min-width: 0 !important;
        font-size: 13px !important;
        line-height: 1.7 !important;
        text-align: right !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .quantity {
        display: inline-flex !important;
        align-items: center !important;
        background: #181818 !important;
        border: 1px solid #444444 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        height: 36px !important;
        min-height: 36px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .quantity input.qty {
        background: transparent !important;
        color: #ffffff !important;
        border: none !important;
        border-right: 1px solid #333333 !important;
        border-left: 1px solid #333333 !important;
        width: 34px !important;
        height: 36px !important;
        min-height: 36px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-align: center !important;
        padding: 0 !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .quantity .minus,
    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .quantity .plus {
        background: transparent !important;
        color: #ffffff !important;
        border: none !important;
        width: 28px !important;
        height: 36px !important;
        min-height: 36px !important;
        font-size: 14px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: background-color 0.2s ease !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .quantity .minus:hover,
    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .quantity .plus:hover {
        background: #e85f33 !important;
        color: #ffffff !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-total {
        flex: 0 0 auto !important;
        text-align: left !important;
        white-space: nowrap !important;
        padding: 0 !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-total .woocommerce-Price-amount {
        font-size: 14px !important;
    }
}

/* --------------------------------------------------------------------------
   3. نسخه موبایل (max-width: 768.98px): کارت محصول مجزا دقیقاً مشابه موبایل سبد خرید
-------------------------------------------------------------------------- */
@media (max-width: 768.98px) {
    /* مخفی کردن هدر جدول در موبایل (مشابه صفحه سبد خرید) */
    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table thead {
        display: none !important;
    }

    /* تبدیل هر محصول به کارت مجزا با پس‌زمینه #181818 */
    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tbody tr.cart_item {
        display: block !important;
        background: #181818 !important;
        border: 1px solid #303030 !important;
        border-radius: 12px !important;
        padding: 12px !important;
        margin-bottom: 12px !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table td.wd-checkout-prod {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        row-gap: 10px !important;
        column-gap: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* باز کردن کانتینرهای میانی تا اجزا در ردیف‌های جداگانه کارت بچینند */
    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-cont,
    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-title {
        display: contents !important;
    }

    /* ردیف اول - 1. تصویر محصول (سمت راست) */
    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-img {
        order: 1 !important;
        flex: 0 0 54px !important;
        width: 54px !important;
        height: 54px !important;
        padding: 3px !important;
        border-radius: 8px !important;
        margin-left: 10px !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-img img {
        max-width: 100% !important;
        min-width: 0 !important;
        border-radius: 6px !important;
    }

    /* ردیف اول - 2. عنوان محصول (وسط) */
    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table a.cart-product-label-link {
        order: 2 !important;
        flex: 1 1 0% !important;
        width: auto !important;
        min-width: 0 !important;
        font-size: 11.5px !important;
        line-height: 1.55 !important;
        text-align: right !important;
        margin-left: 8px !important;
        word-break: break-word !important;
    }

    /* ردیف اول - 3. دکمه ضربدر حذف (سمت چپ) */
    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-remove-btn-wrapp {
        order: 3 !important;
        flex: 0 0 26px !important;
        width: 26px !important;
    }

    /* ردیف دوم: برچسب «تعداد» در راست + کنترل [- 1 +] در چپ */
    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .quantity {
        order: 4 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        background: transparent !important;
        border: none !important;
        border-top: 1px solid #262626 !important;
        border-radius: 0 !important;
        padding: 8px 0 0 0 !important;
        margin: 0 !important;
        height: auto !important;
        min-height: unset !important;
        overflow: visible !important;
        direction: rtl !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .quantity::before {
        content: "تعداد" !important;
        margin-left: auto !important;
        color: #999999 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .quantity .minus {
        background: #181818 !important;
        color: #ffffff !important;
        border: 1px solid #444444 !important;
        border-left: none !important;
        border-radius: 0 8px 8px 0 !important;
        width: 28px !important;
        height: 30px !important;
        min-height: 30px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .quantity input.qty {
        background: #181818 !important;
        color: #ffffff !important;
        border: none !important;
        border-top: 1px solid #444444 !important;
        border-bottom: 1px solid #444444 !important;
        border-radius: 0 !important;
        width: 34px !important;
        height: 30px !important;
        min-height: 30px !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        text-align: center !important;
        padding: 0 !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .quantity .plus {
        background: #181818 !important;
        color: #ffffff !important;
        border: 1px solid #444444 !important;
        border-right: none !important;
        border-radius: 8px 0 0 8px !important;
        width: 28px !important;
        height: 30px !important;
        min-height: 30px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .quantity .minus:hover,
    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .quantity .plus:hover {
        background: #e85f33 !important;
        border-color: #e85f33 !important;
        color: #ffffff !important;
    }

    /* ردیف سوم: برچسب «جمع جزء» در راست + مبلغ نارنجی در چپ */
    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-total {
        order: 5 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        border-top: 1px solid #262626 !important;
        padding: 8px 0 0 0 !important;
        margin: 0 !important;
        text-align: left !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-total::before {
        content: "جمع جزء" !important;
        color: #999999 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .wd-checkout-prod-total .woocommerce-Price-amount {
        font-size: 13.5px !important;
    }
}
.woocommerce-Price-amount.amount,
.woocommerce-Price-amount.amount bdi {
    direction: rtl !important;
    unicode-bidi: isolate !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}