@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//mahisshop.ir/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.4.0") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//mahisshop.ir/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//mahisshop.ir/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//mahisshop.ir/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//mahisshop.ir/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//mahisshop.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//mahisshop.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//mahisshop.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//mahisshop.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "iransans", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "iransans", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "iransans", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "iransans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "iransans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "iransans", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(248,37,104);
	--wd-alternative-color: rgb(149,210,179);
	--btn-default-font-family: "iransans", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: rgb(248,37,104);
	--btn-default-bgcolor-hover: rgba(248,37,104,0.82);
	--btn-accented-font-family: "iransans", Arial, Helvetica, sans-serif;
	--btn-accented-bgcolor: rgb(149,210,179);
	--btn-accented-bgcolor-hover: rgba(149,210,179,0.7);
	--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-sticky-btn-height: 95px;
}
.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-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.page :is(.wd-page-content, .whb-header) {
	background-color: rgb(254,250,239);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(254,250,239);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(254,250,239);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(254,250,239);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(254,250,239);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(254,250,239);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(254,250,239);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(248,37,104);
}

@font-face {
	font-family: "iransans";
	src: url("//mahisshop.ir/wp-content/uploads/2026/02/IRANSansWebFaNum.woff2") format("woff2"), 
url("//mahisshop.ir/wp-content/uploads/2026/02/IRANSansWebFaNum.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "iransans";
	src: url("//mahisshop.ir/wp-content/uploads/2026/02/IRANSansWebFaNum_Bold.woff2") format("woff2"), 
url("//mahisshop.ir/wp-content/uploads/2026/02/IRANSansWebFaNum_Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: "iransans";
	src: url("//mahisshop.ir/wp-content/uploads/2026/02/IRANSansWebFaNum_Black.woff2") format("woff2"), 
url("//mahisshop.ir/wp-content/uploads/2026/02/IRANSansWebFaNum_Black.woff") format("woff");
	font-weight: 800;
	font-style: normal;
}

/* عنوان صفحه */
.entry-title.title {
    font-size: 24px !important;
}

/* breadcrumbs در عنوان صفحه */
nav.wd-breadcrumbs {
    background-color: #ffffff36;
    padding: 5px 15px;
    border-radius: 12px;
}

/* دسته بندی ها در صفحه فروشگاه */
span.nav-link-summary {
    background-color: #ffffff36;
    padding: 8px;
    border-radius: 12px;
}

/* صفحه تک محصول */
.summary-inner.wd-set-mb.reset-last-child {
  padding: 20px;
  background-color: white;
  border-radius: 12px;
}
h1.product_title.entry-title.wd-entities-title {
    font-size: 20px;
    font-weight: bold;
}
.wc-tab-inner {
  padding: 20px;
  background-color: white;
  border-radius: 12px;
}


/* کارت نوشته */
.wd-post-title.wd-entities-title.title.post-title {
  font-size: 16px;
  font-weight: bold;
}

/* کیف پول */
.woo-wallet-price span.woocommerce-Price-amount.amount {
	color: white;
}

/* صفحه تسویه حساب */
.woocommerce-shipping-methods label {
    padding: 10px;
    background-color: #fceff3;
    justify-content: center;
    border-radius: 12px;
    display: flex;
    align-items: center;
}
.woocommerce-shipping-methods input.shipping_method {
    top: 14px !important;
}

/* عکس روش های حمل و نقل */
.pws-method-image {
    width: 30px;
    border-radius: 5px  !important;
    margin-left: 10px;
}@media (min-width: 1025px) {
	/* ==================================================
   مینی‌کارت دسکتاپ ماهیس شاپ
   نسخه اصلاح‌شده و بدون بیرون‌زدگی
   ================================================== */


/* ریست محاسبه عرض تمام بخش‌های مینی‌کارت */
body .widget_shopping_cart_content,
body .widget_shopping_cart_content * {
    box-sizing: border-box !important;
}


/* بدنه اصلی مینی‌کارت */
body .widget_shopping_cart_content {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 16px 20px 22px !important;

    overflow-x: hidden !important;

    background: #ffffff !important;
}


/* همه فرزندان مستقیم بدنه */
body .widget_shopping_cart_content > div {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin-right: 0 !important;
    margin-left: 0 !important;
}


/* ==================================================
   لیست محصولات
   ================================================== */

body .widget_shopping_cart_content .bdt-mini-cart-products {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* هر محصول داخل مینی‌کارت */
body .widget_shopping_cart_content .bdt-mini-cart-product-item {
    position: relative !important;

    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) 30px !important;
    align-items: center !important;

    column-gap: 12px !important;
    row-gap: 0 !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 96px !important;

    margin: 0 !important;
    padding: 14px 2px !important;

    overflow: hidden !important;

    border-bottom: 1px solid #eeeeee !important;
}


/* ==================================================
   تصویر محصول
   ================================================== */

body .widget_shopping_cart_content .bdt-mini-cart-product-thumbnail {
    position: static !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    height: 68px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* لینک تصویر */
body .widget_shopping_cart_content
.bdt-mini-cart-product-thumbnail a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    height: 68px !important;

    margin: 0 !important;
    padding: 5px !important;

    overflow: hidden !important;

    background: #f8f8f8 !important;
    border: 1px solid #eeeeee !important;
    border-radius: 11px !important;
}


/* خود تصویر محصول */
body .widget_shopping_cart_content
.bdt-mini-cart-product-thumbnail img {
    display: block !important;

    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    height: 56px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center !important;

    border-radius: 7px !important;
}


/* ==================================================
   اطلاعات محصول
   ================================================== */

body .widget_shopping_cart_content
.bdt-mini-cart-product-item
> .bdt-margin-small-left {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* عنوان محصول */
body .widget_shopping_cart_content .bdt-mini-cart-product-name {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 0 7px !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* لینک عنوان محصول */
body .widget_shopping_cart_content
.bdt-mini-cart-product-name a {
    display: -webkit-box !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    color: #292929 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.75 !important;
    text-align: right !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-decoration: none !important;

    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}


/* هاور عنوان */
body .widget_shopping_cart_content
.bdt-mini-cart-product-name a:hover {
    color: #ff2e63 !important;
}


/* ==================================================
   تعداد و قیمت محصول
   ================================================== */

body .widget_shopping_cart_content
.bdt-mini-cart-product-price {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* تعداد و قیمت در یک ردیف */
body .widget_shopping_cart_content
.bdt-mini-cart-product-price
.quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 5px !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    direction: rtl !important;

    color: #777777 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    white-space: nowrap !important;
}


/* مبلغ محصول */
body .widget_shopping_cart_content
.bdt-mini-cart-product-price
.woocommerce-Price-amount {
    display: inline-flex !important;
    align-items: center !important;

    min-width: 0 !important;
    max-width: 100% !important;

    color: #ff2e63 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}


/* واحد تومان */
body .widget_shopping_cart_content
.bdt-mini-cart-product-price
.woocommerce-Price-currencySymbol {
    margin-right: 3px !important;

    font-size: 11px !important;
    font-weight: 700 !important;
}


/* ==================================================
   دکمه حذف محصول
   ================================================== */

body .widget_shopping_cart_content
.bdt-mini-cart-product-remove {
    position: static !important;
    inset: auto !important;
    transform: none !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
}


/* لینک دکمه حذف */
body .widget_shopping_cart_content
.bdt-mini-cart-product-remove a {
    position: static !important;
    inset: auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #f7f7f7 !important;
    border: 1px solid #eeeeee !important;
    border-radius: 50% !important;

    transform: none !important;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease !important;
}


/* آیکن ضربدر */
body .widget_shopping_cart_content
.bdt-mini-cart-product-remove svg {
    display: block !important;

    width: 11px !important;
    height: 11px !important;

    margin: 0 !important;
}


/* رنگ آیکن ضربدر */
body .widget_shopping_cart_content
.bdt-mini-cart-product-remove svg line {
    stroke: #777777 !important;
    stroke-width: 1.5 !important;
}


/* هاور حذف */
body .widget_shopping_cart_content
.bdt-mini-cart-product-remove a:hover {
    background: #ff2e63 !important;
    border-color: #ff2e63 !important;

    transform: rotate(90deg) !important;
}


/* آیکن حذف در هاور */
body .widget_shopping_cart_content
.bdt-mini-cart-product-remove a:hover svg line {
    stroke: #ffffff !important;
}


/* ==================================================
   جمع فرعی
   ================================================== */

body .widget_shopping_cart_content
.bdt-mini-cart-subtotal {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 17px 2px 14px !important;

    overflow: hidden !important;

    font-size: 14px !important;
}


/* دو ستون جمع فرعی */
body .widget_shopping_cart_content
.bdt-mini-cart-subtotal > div {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* عنوان جمع فرعی */
body .widget_shopping_cart_content
.bdt-mini-cart-subtotal strong {
    display: block !important;

    color: #444444 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}


/* ستون مبلغ جمع فرعی */
body .widget_shopping_cart_content
.bdt-mini-cart-subtotal > div:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    min-width: 0 !important;

    overflow: hidden !important;
}


/* قیمت جمع فرعی */
body .widget_shopping_cart_content
.bdt-mini-cart-subtotal
.woocommerce-Price-amount {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    min-width: 0 !important;
    max-width: 100% !important;

    color: #ff2e63 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
}


/* ==================================================
   دکمه‌های پایین مینی‌کارت
   ================================================== */

body .widget_shopping_cart_content
.bdt-mini-cart-footer-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;

    gap: 10px !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 4px 2px 0 !important;

    overflow: hidden !important;
}


/* استایل مشترک دکمه‌ها */
body .widget_shopping_cart_content
.bdt-mini-cart-footer-buttons
.bdt-button {
    position: relative !important;
    z-index: 1 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 46px !important;

    margin: 0 !important;
    padding: 11px 18px !important;

    overflow: hidden !important;

    border-radius: 12px !important;

    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    text-decoration: none !important;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease !important;
}


/* متن دکمه‌ها */
body .widget_shopping_cart_content
.bdt-mini-cart-footer-buttons
.bdt-button-text {
    position: relative !important;
    z-index: 3 !important;

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    text-align: center !important;
}


/* مشاهده سبد خرید */
body .widget_shopping_cart_content
.bdt-mini-cart-footer-buttons
.bdt-button-view-cart {
    color: #d8215a !important;

    background:
        linear-gradient(
            135deg,
            #fff1f6 0%,
            #ffdce8 100%
        ) !important;

    border: 1px solid #ff8daf !important;

    box-shadow:
        0 6px 18px rgba(255, 46, 99, 0.14) !important;
}


/* تسویه حساب */
body .widget_shopping_cart_content
.bdt-mini-cart-footer-buttons
.bdt-button-checkout {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #ff2e63 0%,
            #e9004d 100%
        ) !important;

    border: 0 !important;

    box-shadow:
        0 8px 22px rgba(255, 46, 99, 0.28) !important;
}


/* لایه افکت شاین */
body .widget_shopping_cart_content
.bdt-mini-cart-footer-buttons
.bdt-button::before {
    content: "" !important;

    position: absolute !important;
    z-index: 2 !important;

    top: -60% !important;
    left: -90% !important;

    width: 55% !important;
    height: 220% !important;

    background:
        linear-gradient(
            120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.12) 25%,
            rgba(255, 255, 255, 0.75) 50%,
            rgba(255, 255, 255, 0.12) 75%,
            transparent 100%
        ) !important;

    transform: skewX(-22deg) !important;

    transition: left 0.7s ease !important;
}


/* حرکت افکت شاین */
body .widget_shopping_cart_content
.bdt-mini-cart-footer-buttons
.bdt-button:hover::before {
    left: 135% !important;
}


/* هاور مشاهده سبد */
body .widget_shopping_cart_content
.bdt-mini-cart-footer-buttons
.bdt-button-view-cart:hover {
    color: #c91850 !important;

    background:
        linear-gradient(
            135deg,
            #ffe8f0 0%,
            #ffc9da 100%
        ) !important;

    box-shadow:
        0 9px 22px rgba(255, 46, 99, 0.22) !important;

    transform: translateY(-2px) !important;
}


/* هاور تسویه حساب */
body .widget_shopping_cart_content
.bdt-mini-cart-footer-buttons
.bdt-button-checkout:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #f5225a 0%,
            #d80046 100%
        ) !important;

    box-shadow:
        0 11px 26px rgba(255, 46, 99, 0.36) !important;

    transform: translateY(-2px) !important;
}


/* ==================================================
   حالت عرض‌های محدود دسکتاپ و تبلت افقی
   ================================================== */

@media (max-width: 1024px) {

    body .widget_shopping_cart_content {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    body .widget_shopping_cart_content
    .bdt-mini-cart-product-item {
        grid-template-columns: 60px minmax(0, 1fr) 28px !important;
        gap: 10px !important;
    }

    body .widget_shopping_cart_content
    .bdt-mini-cart-product-thumbnail,
    body .widget_shopping_cart_content
    .bdt-mini-cart-product-thumbnail a {
        width: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        height: 60px !important;
    }

    body .widget_shopping_cart_content
    .bdt-mini-cart-product-thumbnail img {
        width: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;
        height: 50px !important;
    }
}

/* ==================================================
   اصلاح نهایی بیرون‌زدگی سمت چپ مینی‌کارت
   ================================================== */


/* پنل و تمام محتوای داخلی */
body .widget_shopping_cart_content {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    padding-right: 18px !important;
    padding-left: 18px !important;

    overflow-x: hidden !important;
}


/* لیست محصولات */
body .widget_shopping_cart_content .bdt-mini-cart-products {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* ردیف هر محصول */
body .widget_shopping_cart_content .bdt-mini-cart-product-item {
    position: relative !important;

    display: grid !important;
    grid-template-columns: 60px minmax(0, 1fr) 28px !important;
    grid-template-areas: "image info remove" !important;

    align-items: center !important;

    column-gap: 10px !important;
    row-gap: 0 !important;

    direction: rtl !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;

    padding-top: 14px !important;
    padding-right: 4px !important;
    padding-bottom: 14px !important;
    padding-left: 4px !important;

    overflow: hidden !important;

    transform: none !important;
    inset: auto !important;
}


/* تصویر در ستون سمت راست */
body .widget_shopping_cart_content
.bdt-mini-cart-product-thumbnail {
    grid-area: image !important;

    position: static !important;
    inset: auto !important;
    transform: none !important;

    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    height: 60px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* لینک تصویر */
body .widget_shopping_cart_content
.bdt-mini-cart-product-thumbnail a {
    position: static !important;
    inset: auto !important;
    transform: none !important;

    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    height: 60px !important;

    margin: 0 !important;
    padding: 4px !important;
}


/* خود تصویر */
body .widget_shopping_cart_content
.bdt-mini-cart-product-thumbnail img {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
}


/* ستون نام و قیمت محصول */
body .widget_shopping_cart_content
.bdt-mini-cart-product-item
> .bdt-margin-small-left {
    grid-area: info !important;

    position: static !important;
    inset: auto !important;
    transform: none !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* نام محصول */
body .widget_shopping_cart_content
.bdt-mini-cart-product-name {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 0 6px !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* لینک نام محصول */
body .widget_shopping_cart_content
.bdt-mini-cart-product-name a {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    font-size: 13px !important;
    line-height: 1.7 !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
}


/* ردیف تعداد و قیمت */
body .widget_shopping_cart_content
.bdt-mini-cart-product-price {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    transform: none !important;
}


/* تعداد و قیمت محصول */
body .widget_shopping_cart_content
.bdt-mini-cart-product-price .quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    direction: rtl !important;

    font-size: 12px !important;
    white-space: nowrap !important;

    transform: none !important;
}


/* مبلغ محصول */
body .widget_shopping_cart_content
.bdt-mini-cart-product-price
.woocommerce-Price-amount {
    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;

    direction: rtl !important;
    unicode-bidi: plaintext !important;

    white-space: nowrap !important;

    transform: none !important;
}


/* ستون دکمه حذف */
body .widget_shopping_cart_content
.bdt-mini-cart-product-remove {
    grid-area: remove !important;

    position: static !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    inset: auto !important;
    transform: none !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
}


/* خود دکمه حذف */
body .widget_shopping_cart_content
.bdt-mini-cart-product-remove a {
    position: static !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    inset: auto !important;
    transform: none !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    height: 26px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 50% !important;
}


/* هاور دکمه حذف */
body .widget_shopping_cart_content
.bdt-mini-cart-product-remove a:hover {
    transform: rotate(90deg) !important;
}


/* ==================================================
   اصلاح بخش جمع فرعی
   ================================================== */

body .widget_shopping_cart_content
.bdt-mini-cart-subtotal {
    position: static !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    direction: rtl !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;

    padding-top: 17px !important;
    padding-right: 6px !important;
    padding-bottom: 14px !important;
    padding-left: 6px !important;

    overflow: hidden !important;

    transform: none !important;
}


/* ستون‌های جمع فرعی */
body .widget_shopping_cart_content
.bdt-mini-cart-subtotal > div {
    position: static !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 70px) !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
}


/* ستون مبلغ جمع فرعی */
body .widget_shopping_cart_content
.bdt-mini-cart-subtotal > div:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    margin-right: auto !important;
    margin-left: 0 !important;

    overflow: visible !important;
}


/* مبلغ جمع فرعی */
body .widget_shopping_cart_content
.bdt-mini-cart-subtotal
.woocommerce-Price-amount {
    position: static !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    direction: rtl !important;
    unicode-bidi: plaintext !important;

    font-size: 14px !important;
    white-space: nowrap !important;

    transform: none !important;
}


/* ==================================================
   دکمه‌های پایین
   ================================================== */

body .widget_shopping_cart_content
.bdt-mini-cart-footer-buttons {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;

    padding-top: 4px !important;
    padding-right: 4px !important;
    padding-bottom: 0 !important;
    padding-left: 4px !important;

    overflow: hidden !important;
}


body .widget_shopping_cart_content
.bdt-mini-cart-footer-buttons
.bdt-button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin-right: 0 !important;
    margin-left: 0 !important;
}
}

@media (max-width: 576px) {
	/* ==================================================
   سبد خرید کشویی موبایل ماهیس شاپ
   بر اساس کلاس‌های واقعی BDT Mini Cart
   ================================================== */


/* جلوگیری از بیرون‌زدگی بخش‌های داخلی */
.cart-widget-side *,
.widget_shopping_cart_content * {
    box-sizing: border-box;
}


/* محتوای اصلی سبد خرید */
.cart-widget-side .widget_shopping_cart_content {
    width: 100%;
    padding: 0 20px 24px !important;
    background: #ffffff;
}


/* لیست محصولات */
.cart-widget-side .bdt-mini-cart-products {
    width: 100%;
    padding: 10px 0 0 !important;
    margin: 0 !important;
}


/* هر محصول داخل سبد خرید */
.cart-widget-side .bdt-mini-cart-product-item {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) 30px;
    align-items: center !important;
    gap: 12px !important;

    position: relative;
    width: 100%;
    min-height: 92px;

    padding: 15px 0 !important;
    margin: 0 !important;

    border-bottom: 1px solid #eeeeee;
}


/* بخش تصویر محصول */
.cart-widget-side .bdt-mini-cart-product-thumbnail {
    width: 58px !important;
    min-width: 58px !important;
    height: 58px !important;
    margin: 0 !important;
}


/* لینک تصویر */
.cart-widget-side .bdt-mini-cart-product-thumbnail a {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 58px !important;
    height: 58px !important;

    padding: 4px;
    overflow: hidden;

    background: #f8f8f8;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
}


/* خود تصویر محصول */
.cart-widget-side .bdt-mini-cart-product-thumbnail img {
    display: block !important;

    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center;
    border-radius: 7px;
}


/* ستون اطلاعات محصول */
.cart-widget-side .bdt-mini-cart-product-item > .bdt-margin-small-left {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    width: 100%;

    margin: 0 !important;
    padding: 0 !important;
}


/* عنوان محصول */
.cart-widget-side .bdt-mini-cart-product-name {
    width: 100%;
    margin: 0 0 7px !important;
    padding: 0 !important;
}


/* لینک عنوان محصول */
.cart-widget-side .bdt-mini-cart-product-name a {
    display: -webkit-box !important;
    overflow: hidden;

    color: #292929 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.8 !important;
    text-align: right;

    text-decoration: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/* هاور عنوان محصول */
.cart-widget-side .bdt-mini-cart-product-name a:hover {
    color: #ff2e63 !important;
}


/* بخش تعداد و قیمت */
.cart-widget-side .bdt-mini-cart-product-price {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}


/* تعداد و قیمت در یک راستا */
.cart-widget-side .bdt-mini-cart-product-price .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px;

    direction: rtl;
    margin: 0 !important;

    color: #777777 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    white-space: nowrap;
}


/* قیمت محصول */
.cart-widget-side
.bdt-mini-cart-product-price
.woocommerce-Price-amount {
    display: inline-flex !important;
    align-items: center;
    gap: 3px;

    color: #ff2e63 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: nowrap;
}


/* واحد پول */
.cart-widget-side
.bdt-mini-cart-product-price
.woocommerce-Price-currencySymbol {
    font-size: 11px !important;
    font-weight: 700 !important;
}


/* محل دکمه حذف */
.cart-widget-side .bdt-mini-cart-product-remove {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    margin: 0 !important;
    padding: 0 !important;
}


/* دکمه حذف محصول */
.cart-widget-side .bdt-mini-cart-product-remove a {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 28px !important;
    height: 28px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #f7f7f7;
    border: 1px solid #eeeeee;
    border-radius: 50%;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


/* آیکن ضربدر */
.cart-widget-side .bdt-mini-cart-product-remove svg {
    width: 11px !important;
    height: 11px !important;
}


/* رنگ خطوط ضربدر */
.cart-widget-side .bdt-mini-cart-product-remove svg line {
    stroke: #777777 !important;
    stroke-width: 1.5 !important;
}


/* هاور حذف */
.cart-widget-side .bdt-mini-cart-product-remove a:hover {
    background: #ff2e63 !important;
    border-color: #ff2e63 !important;
    transform: rotate(90deg);
}


/* سفید شدن ضربدر در هاور */
.cart-widget-side .bdt-mini-cart-product-remove a:hover svg line {
    stroke: #ffffff !important;
}


/* بخش جمع فرعی */
.cart-widget-side .bdt-mini-cart-subtotal {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100%;
    margin: 0 !important;
    padding: 18px 0 14px !important;

    border-bottom: 0 !important;

    color: #333333;
    font-size: 14px;
}


/* عنوان جمع فرعی */
.cart-widget-side .bdt-mini-cart-subtotal strong {
    color: #4a4a4a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}


/* قیمت جمع فرعی */
.cart-widget-side
.bdt-mini-cart-subtotal
.woocommerce-Price-amount {
    color: #ff2e63 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}


/* محل قرارگیری دکمه‌ها */
.cart-widget-side .bdt-mini-cart-footer-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 11px !important;

    width: 100%;
    margin: 0 !important;
    padding: 4px 0 0 !important;
}


/* استایل مشترک هر دو دکمه */
.cart-widget-side .bdt-mini-cart-footer-buttons .bdt-button {
    position: relative;
    z-index: 1;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-width: 100% !important;
    min-height: 48px !important;

    margin: 0 !important;
    padding: 12px 18px !important;
    overflow: hidden;

    border: 0 !important;
    border-radius: 13px !important;

    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    text-decoration: none !important;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* وسط‌چین شدن متن دکمه‌ها */
.cart-widget-side
.bdt-mini-cart-footer-buttons
.bdt-button-text {
    position: relative;
    z-index: 3;

    display: block;
    width: 100%;

    text-align: center !important;
    line-height: 1.4 !important;
}


/* دکمه مشاهده سبد خرید */
.cart-widget-side
.bdt-mini-cart-footer-buttons
.bdt-button-view-cart {
    color: #d8215a !important;

    background:
        linear-gradient(
            135deg,
            #fff1f6 0%,
            #ffdce8 100%
        ) !important;

    border: 1px solid #ff8daf !important;

    box-shadow:
        0 6px 18px rgba(255, 46, 99, 0.12);
}


/* دکمه تسویه حساب */
.cart-widget-side
.bdt-mini-cart-footer-buttons
.bdt-button-checkout {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #ff2e63 0%,
            #e9004d 100%
        ) !important;

    box-shadow:
        0 8px 22px rgba(255, 46, 99, 0.28);
}


/* لایه Shine مشترک دکمه‌ها */
.cart-widget-side
.bdt-mini-cart-footer-buttons
.bdt-button::before {
    content: "";

    position: absolute;
    z-index: 2;
    top: -50%;
    left: -90%;

    width: 55%;
    height: 200%;

    background:
        linear-gradient(
            120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.15) 25%,
            rgba(255, 255, 255, 0.75) 50%,
            rgba(255, 255, 255, 0.15) 75%,
            transparent 100%
        );

    transform: skewX(-22deg);

    transition: left 0.7s ease;
}


/* حرکت Shine هنگام هاور */
.cart-widget-side
.bdt-mini-cart-footer-buttons
.bdt-button:hover::before {
    left: 135%;
}


/* هاور دکمه مشاهده سبد خرید */
.cart-widget-side
.bdt-mini-cart-footer-buttons
.bdt-button-view-cart:hover {
    color: #c91850 !important;

    background:
        linear-gradient(
            135deg,
            #ffe8f0 0%,
            #ffc9da 100%
        ) !important;

    box-shadow:
        0 9px 23px rgba(255, 46, 99, 0.2);

    transform: translateY(-2px);
}


/* هاور دکمه تسویه حساب */
.cart-widget-side
.bdt-mini-cart-footer-buttons
.bdt-button-checkout:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #f5225a 0%,
            #d80046 100%
        ) !important;

    box-shadow:
        0 11px 27px rgba(255, 46, 99, 0.38);

    transform: translateY(-2px);
}


/* حالت لمس روی موبایل */
.cart-widget-side
.bdt-mini-cart-footer-buttons
.bdt-button:active {
    transform: translateY(0) scale(0.98);
}


/* نمایش افکت روی دستگاه لمسی */
.cart-widget-side
.bdt-mini-cart-footer-buttons
.bdt-button:active::before {
    left: 135%;
}


/* موبایل‌های باریک */
@media (max-width: 380px) {

    .cart-widget-side .widget_shopping_cart_content {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .cart-widget-side .bdt-mini-cart-product-item {
        grid-template-columns: 52px minmax(0, 1fr) 27px;
        gap: 9px !important;
    }

    .cart-widget-side .bdt-mini-cart-product-thumbnail,
    .cart-widget-side .bdt-mini-cart-product-thumbnail a {
        width: 52px !important;
        min-width: 52px !important;
        height: 52px !important;
    }

    .cart-widget-side .bdt-mini-cart-product-thumbnail img {
        width: 44px !important;
        height: 44px !important;
        max-width: 44px !important;
    }

    .cart-widget-side .bdt-mini-cart-product-name a {
        font-size: 12px !important;
    }

    .cart-widget-side
    .bdt-mini-cart-product-price
    .quantity {
        font-size: 11px !important;
    }

    .cart-widget-side
    .bdt-mini-cart-product-price
    .woocommerce-Price-amount {
        font-size: 12px !important;
    }

    .cart-widget-side
    .bdt-mini-cart-footer-buttons
    .bdt-button {
        min-height: 45px !important;
        font-size: 13px !important;
    }
}
}

