/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Local Vazirmatn Fonts */
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


@media (min-width: 1025px) {
	.whb-header_331220 .whb-visible-lg .wd-tools-element > a,
	.whb-header_331220 .whb-visible-lg .wd-nav > li > a,
	.whb-header_331220 .whb-visible-lg .wd-header-search-form input.s { color: #1A1A1F !important; }
	.whb-header_331220 .whb-visible-lg .wd-tools-element:hover > a,
	.whb-header_331220 .whb-visible-lg .wd-tools-element > a:focus-visible,
	.whb-header_331220 .whb-visible-lg .wd-nav > li:hover > a,
	.whb-header_331220 .whb-visible-lg .wd-nav > li.current-menu-item > a,
	.whb-header_331220 .whb-visible-lg .wd-nav > li.current-menu-ancestor > a,
	.whb-header_331220 .whb-visible-lg .wd-nav > li > a:focus-visible { color: #E30613 !important; }
	.whb-header_331220 .whb-visible-lg .wd-header-my-account .wd-tools-icon,
	.whb-header_331220 .whb-visible-lg .wd-header-my-account .wd-tools-icon::before,
	.whb-header_331220 .whb-visible-lg .wd-header-wishlist .wd-tools-icon,
	.whb-header_331220 .whb-visible-lg .wd-header-wishlist .wd-tools-icon::before { color: #1A1A1F !important; }
	.whb-header_331220 .whb-visible-lg .wd-header-my-account:hover .wd-tools-icon,
	.whb-header_331220 .whb-visible-lg .wd-header-my-account:hover .wd-tools-icon::before,
	.whb-header_331220 .whb-visible-lg .wd-header-wishlist:hover .wd-tools-icon,
	.whb-header_331220 .whb-visible-lg .wd-header-wishlist:hover .wd-tools-icon::before { color: #E30613 !important; }
}

footer.wd-footer.footer-container {
    display: block !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mobile-bastani-footer {
	direction: rtl;
	background: #FFFFFF;
	border-top: 3px solid #E30613;
	color: #1A1A1F;
	font-family: inherit;
	margin-top: 48px;
	padding: 44px 24px;
}
.mobile-bastani-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
	gap: 48px;
	align-items: start;
	max-width: 1200px;
	margin: 0 auto;
}
.mobile-bastani-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.mobile-bastani-footer__brand img { display: block; width: min(220px, 100%); height: auto; }
.mobile-bastani-footer__brand strong { font-size: 1.1rem; font-weight: 700; }
.mobile-bastani-footer__links h2 { color: #1A1A1F; font-size: 1.05rem; margin: 0 0 18px; }
.mobile-bastani-footer__links ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.mobile-bastani-footer__links a { color: #1A1A1F; text-decoration: none; }
.mobile-bastani-footer__links a:hover,
.mobile-bastani-footer__links a:focus-visible { color: #E30613; }

.mobile-bastani-clean-page {
	direction: rtl;
	background: linear-gradient(135deg, #F7F7F8 0%, #FFFFFF 100%);
	padding: clamp(52px, 8vw, 104px) 24px;
}
.mobile-bastani-clean-card {
	background: #FFFFFF;
	border-right: 4px solid #E30613;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(26, 26, 31, 0.08);
	color: #1A1A1F;
	max-width: 860px;
	margin: 0 auto;
	padding: clamp(32px, 6vw, 64px);
	text-align: right;
}
.mobile-bastani-eyebrow { color: #E30613; display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 12px; }
.mobile-bastani-clean-card h1 { color: #1A1A1F; font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 16px; }
.mobile-bastani-clean-card p { color: #1A1A1F; font-size: 1rem; line-height: 2; margin: 0; }

/* ==========================================================================
   PHASE 4.1: SHOP ARCHIVE, CATALOG TOOLBAR, FILTERS & QUICK SHOP STABILIZATION
   ========================================================================== */

/* 1. Hide Confusing / Redundant Elements & Top Carousel */
.elementor-element-1ad6cc9,
.elementor-element-9a429a8,
.elementor-element-a0904b9 {
	display: none !important;
}

/* 2. Archive Header & Native WooCommerce Sorting */
.woodmart-archive-shop .wd-woo-page-title .entry-title {
	margin: 0 0 18px;
	color: #1A1A1F;
	font-family: 'Vazirmatn', sans-serif;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.45;
	text-align: right;
}
.woodmart-archive-shop .wd-shop-ordering,
.woodmart-archive-shop .woocommerce-ordering.wd-ordering-mb-icon {
	display: block !important;
	position: relative;
}
.woodmart-archive-shop .wd-shop-ordering .woocommerce-ordering select.orderby {
	display: block !important;
	width: 100%;
	height: 42px !important;
	padding: 8px 14px 8px 38px !important;
	appearance: none;
	-webkit-appearance: none;
	direction: rtl;
	background-color: #FFFFFF !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231A1A1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: left 12px center !important;
	border: 1.5px solid #DFDFE6 !important;
	border-radius: 10px !important;
	color: #1A1A1F !important;
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 13.5px !important;
	line-height: 24px !important;
	cursor: pointer;
	outline: none;
}
.woodmart-archive-shop .wd-shop-ordering .woocommerce-ordering select.orderby:focus-visible {
	border-color: #E30613 !important;
	outline: 2px solid #E30613;
	outline-offset: 2px;
}

/* 3. Desktop Sidebar & Product Grid (min-width: 992px) */
@media (min-width: 992px) {
	.elementor-element-29022e9 {
		display: block !important;
		width: 270px !important;
		max-width: 270px !important;
		flex: 0 0 270px !important;
		padding-left: 28px !important;
		border-left: 1px solid #EDEDF2 !important;
	}
	.elementor-element-6e35ee3 {
		display: block !important;
		width: calc(100% - 270px) !important;
		max-width: calc(100% - 270px) !important;
		flex: 1 1 calc(100% - 270px) !important;
		padding-right: 12px !important;
	}
	.elementor-element-23042f1 {
		display: none !important;
	}
}

/* 4. Mobile Toolbar & Off-Canvas Filter (< 991px) */
@media (max-width: 991px) {
	.elementor-element-6e35ee3 {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
	}

	/* 2-column flex layout for toolbar */
	.elementor-element-db664df > .e-con-inner {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 8px !important;
	}

	/* Filter button takes ~48% width, height 42px */
	.elementor-element-23042f1 {
		display: flex !important;
		flex: 1 1 48% !important;
		max-width: 49% !important;
		margin: 0 !important;
	}
	.elementor-element-23042f1 .wd-off-canvas-btn {
		width: 100% !important;
	}
	.elementor-element-23042f1 .wd-off-canvas-btn a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 8px !important;
		width: 100% !important;
		height: 42px !important;
		min-height: 42px !important;
		padding: 0 12px !important;
		background: #FAFAFC !important;
		border: 1.5px solid #DFDFE6 !important;
		border-radius: 10px !important;
		color: #1A1A1F !important;
		font-family: 'Vazirmatn', sans-serif !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		text-decoration: none !important;
		box-sizing: border-box !important;
	}

	/* Native sorting remains visible beside the filter button. */
	.elementor-element-0605206 {
		display: flex !important;
		flex: 1 1 48% !important;
		max-width: 49% !important;
		margin: 0 !important;
	}
	.elementor-element-0605206 .woocommerce-ordering {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
	}
	.elementor-element-0605206 .woocommerce-ordering select.orderby {
		width: 100% !important;
		font-size: 12.5px !important;
	}

	.wd-side-hidden.wd-col-offcanvas-sm,
	.wd-side-hidden.wd-col-offcanvas-md-sm {
		bottom: 64px !important;
		z-index: 9998 !important;
	}
}

/* 5. Product Grid Items Standardization */
.product-grid-item,
.product-grid-item.wd-product,
.product-grid-item .wd-product {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	min-height: 420px !important;
	overflow: hidden !important;
	background: #FFFFFF !important;
	border: 1px solid #EDEDF2 !important;
	border-radius: 12px !important;
	padding: 12px !important;
	box-sizing: border-box !important;
	position: relative !important;
	transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}
.product-grid-item:hover,
.product-grid-item.wd-product:hover,
.product-grid-item .wd-product:hover {
	border-color: #DFDFE6 !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

.product-grid-item .product-wrapper {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	flex: 1 1 auto !important;
}

/* Standardize image containers */
.product-grid-item .product-element-top {
	height: 200px !important;
	min-height: 200px !important;
	max-height: 200px !important;
	background: #FAFAFC !important;
	border-radius: 8px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: hidden !important;
	margin-bottom: 12px !important;
	position: relative !important;
}
.product-grid-item .product-element-top img,
.product-grid-item .product-image-link img {
	object-fit: contain !important;
	max-height: 180px !important;
	width: auto !important;
	margin: 0 auto !important;
}

/* Standardize product titles (clamp 2 lines, height 44px) */
.product-grid-item .wd-entities-title,
.product-grid-item .woocommerce-loop-product__title {
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 14px !important;
	line-height: 22px !important;
	height: 44px !important;
	max-height: 44px !important;
	overflow: hidden !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	text-overflow: ellipsis !important;
	margin: 0 0 8px 0 !important;
	color: #1A1A1F !important;
}

/* Prevent price overflow */
.product-grid-item .price {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: baseline !important;
	font-size: 13px !important;
	margin-top: auto !important;
	gap: 4px 6px !important;
	line-height: 1.5 !important;
	word-break: break-word !important;
}
.product-grid-item .price ins,
.product-grid-item .price .woocommerce-Price-amount {
	font-family: 'Vazirmatn', sans-serif !important;
	font-weight: 700 !important;
	color: #1A1A1F !important;
	text-decoration: none !important;
}
.product-grid-item .price del {
	font-size: 11.5px !important;
	color: #8E8E98 !important;
}

/* Completely eliminate hover leak */
.product-grid-item .shop_attributes,
.product-grid-item .hover-content-wrap,
.product-grid-item .wd-more-desc {
	display: none !important;
}

/* 6. Filter Widgets Styling */
.elementor-element-29022e9 .sidebar-widget {
	margin-bottom: 28px !important;
	padding-bottom: 24px !important;
	border-bottom: 1px solid #EDEDF2 !important;
}
.elementor-element-29022e9 .sidebar-widget:last-child {
	border-bottom: none !important;
}
.elementor-element-29022e9 .widget-title {
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #1A1A1F !important;
	margin-bottom: 16px !important;
	letter-spacing: -0.2px !important;
}

/* Brand Filter List */
.woodmart-woocommerce-layered-nav .wd-filter-list li {
	margin-bottom: 10px !important;
	font-size: 13.5px !important;
}
.woodmart-woocommerce-layered-nav .wd-filter-list a {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	color: #2E2E38 !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}
.woodmart-woocommerce-layered-nav .wd-filter-list a:hover,
.woodmart-woocommerce-layered-nav .wd-filter-list li.chosen a {
	color: #E30613 !important;
	font-weight: 600 !important;
}
.woodmart-woocommerce-layered-nav .count {
	font-family: 'Vazirmatn', 'Sora', sans-serif !important;
	font-size: 11px !important;
	background: #F1F1F4 !important;
	color: #555562 !important;
	border-radius: 6px !important;
	padding: 2px 7px !important;
}
.woodmart-woocommerce-layered-nav li.chosen .count {
	background: #FFEBEB !important;
	color: #E30613 !important;
}

/* Price Filter UI: one RTL geometry model with contained handles */
.woodmart-archive-shop .widget_price_filter .price_slider_wrapper {
	direction: rtl;
	box-sizing: border-box;
	width: 100%;
	padding: 8px 18px;
}
.woodmart-archive-shop .widget_price_filter .ui-slider {
	position: relative;
	height: 6px !important;
	margin: 16px 0 24px !important;
	background: #EDEDF2 !important;
	border: 0 !important;
	border-radius: 999px !important;
}
.woodmart-archive-shop .widget_price_filter .ui-slider .ui-slider-range {
	position: absolute;
	top: 0 !important;
	height: 100% !important;
	background: #E30613 !important;
	border-radius: 999px !important;
}
.woodmart-archive-shop .widget_price_filter .ui-slider .ui-slider-handle {
	position: absolute;
	top: 50% !important;
	width: 16px !important;
	height: 16px !important;
	margin: 0 0 0 -8px !important;
	transform: translateY(-50%) !important;
	box-sizing: border-box;
	background: #FFFFFF !important;
	border: 3px solid #E30613 !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	cursor: grab;
	outline: none;
	z-index: 2;
}
.woodmart-archive-shop .widget_price_filter .ui-slider .ui-slider-handle:focus-visible {
	outline: 2px solid #1A1A1F;
	outline-offset: 3px;
}
.woodmart-archive-shop .widget_price_filter .price_slider_amount {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 14px;
	direction: rtl;
}
.woodmart-archive-shop .widget_price_filter .price_slider_amount .button {
	flex: 0 0 auto;
	padding: 7px 16px !important;
	background: #E30613 !important;
	border: 0 !important;
	border-radius: 8px !important;
	color: #FFFFFF !important;
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
}
.woodmart-archive-shop .widget_price_filter .price_slider_amount .button:hover {
	background: #C40510 !important;
}
.woodmart-archive-shop .widget_price_filter .price_label {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	direction: rtl;
	color: #444450;
	font-family: 'Vazirmatn', sans-serif;
	font-size: 12.5px;
	line-height: 1.8;
}

/* In-Stock Toggle Switch Widget */
.mb-stock-toggle-card {
	background: #FAFAFC;
	border: 1px solid #EDEDF2;
	border-radius: 12px;
	padding: 12px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	user-select: none;
	margin-bottom: 24px;
	transition: border-color 0.2s;
}
.mb-stock-toggle-card:hover {
	border-color: #DFDFE6;
}
.mb-stock-toggle-label {
	font-family: 'Vazirmatn', sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	color: #1A1A1F;
}
.mb-toggle-switch {
	position: relative;
	width: 42px;
	height: 24px;
	background: #DFDFE6;
	border-radius: 12px;
	transition: background 0.25s ease;
	flex-shrink: 0;
}
.mb-toggle-switch.is-active {
	background: #E30613;
}
.mb-toggle-handle {
	position: absolute;
	top: 3px;
	right: 3px;
	width: 18px;
	height: 18px;
	background: #FFFFFF;
	border-radius: 50%;
	transition: transform 0.25s ease;
	box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.mb-toggle-switch.is-active .mb-toggle-handle {
	transform: translateX(-18px);
}

/* 7. Active Filters Bar */
.mb-active-filters-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
	padding: 12px 16px;
	background: #FAFAFC;
	border: 1px solid #EDEDF2;
	border-radius: 12px;
}
.mb-active-filters-title {
	font-family: 'Vazirmatn', sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	color: #71717A;
}
.mb-active-chips-wrap {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}
.mb-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #FFFFFF;
	border: 1px solid #DFDFE6;
	border-radius: 16px;
	padding: 4px 10px;
	font-family: 'Vazirmatn', sans-serif;
	font-size: 12px;
	color: #1A1A1F;
	text-decoration: none !important;
	transition: all 0.2s ease;
}
.mb-filter-chip:hover {
	border-color: #E30613;
	color: #E30613;
}
.mb-chip-close {
	color: #8E8E98;
	transition: color 0.2s;
}
.mb-filter-chip:hover .mb-chip-close {
	color: #E30613;
}
.mb-clear-all-filters {
	font-family: 'Vazirmatn', sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #E30613 !important;
	text-decoration: underline !important;
	margin-right: 6px;
	cursor: pointer;
}

/* 8. Quick Shop Popup Styling */
.quick-shop-wrapper,
.quick-shop-form {
	direction: rtl !important;
	text-align: right !important;
}
.quick-shop-wrapper .single_add_to_cart_button,
.quick-shop-wrapper .single_add_to_cart_button.button,
.quick-shop-wrapper .single_add_to_cart_button.alt {
	background-color: #E30613 !important;
	color: #FFFFFF !important;
	border-radius: 10px !important;
	border: none !important;
	font-family: 'Vazirmatn', sans-serif !important;
	font-weight: 700 !important;
}
.quick-shop-wrapper .single_add_to_cart_button:hover {
	background-color: #C40510 !important;
}
.quick-shop-wrapper table.variations {
	direction: rtl !important;
	text-align: right !important;
}

.mfp-wrap.wd-popup-quick-shop,
.wd-popup-quick-shop,
.wd-quick-shop-2,
.product-quick-shop,
div[id*="quick-shop"] {
	direction: rtl !important;
	text-align: right !important;
}
.wd-popup-quick-shop .mfp-content,
.product-quick-shop .product-quick-view,
.wd-quick-shop-2 .variations_form {
	direction: rtl !important;
	text-align: right !important;
}
.wd-popup-quick-shop .entry-title,
.product-quick-shop .entry-title {
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #1A1A1F !important;
	line-height: 1.4 !important;
	margin-bottom: 12px !important;
}
.wd-popup-quick-shop .price,
.product-quick-shop .price {
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 16px !important;
	color: #1A1A1F !important;
	margin-bottom: 16px !important;
}
.wd-popup-quick-shop table.variations,
.product-quick-shop table.variations {
	width: 100% !important;
	border-collapse: collapse !important;
	margin-bottom: 16px !important;
}
.wd-popup-quick-shop table.variations td,
.wd-popup-quick-shop table.variations th,
.product-quick-shop table.variations td,
.product-quick-shop table.variations th {
	padding: 8px 4px !important;
	vertical-align: middle !important;
	border: none !important;
	text-align: right !important;
}
.wd-popup-quick-shop table.variations .label label,
.product-quick-shop table.variations .label label {
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: #444450 !important;
}
.wd-popup-quick-shop table.variations select,
.product-quick-shop table.variations select {
	font-family: 'Vazirmatn', sans-serif !important;
	border: 1.5px solid #DFDFE6 !important;
	border-radius: 8px !important;
	height: 38px !important;
	padding: 4px 12px !important;
	background-color: #FFFFFF !important;
}
.wd-popup-quick-shop .single_add_to_cart_button,
.product-quick-shop .single_add_to_cart_button {
	background-color: #E30613 !important;
	color: #FFFFFF !important;
	border-radius: 10px !important;
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	height: 44px !important;
	line-height: 44px !important;
	padding: 0 24px !important;
	border: none !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease !important;
}
.wd-popup-quick-shop .single_add_to_cart_button:hover,
.product-quick-shop .single_add_to_cart_button:hover {
	background-color: #C40510 !important;
}
.wd-popup-quick-shop .wd-view-details-btn,
.product-quick-shop .wd-view-details-btn {
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #555562 !important;
	text-decoration: underline !important;
	display: inline-block !important;
	margin-top: 10px !important;
}
.wd-popup-quick-shop .wd-view-details-btn:hover,
.product-quick-shop .wd-view-details-btn:hover {
	color: #E30613 !important;
}

/* 9. Polished Empty State for Archive/Search */
.mb-archive-empty-state {
	direction: rtl;
	background: #FAFAFC;
	border: 1.5px solid #EDEDF2;
	border-radius: 16px;
	padding: 48px 24px;
	margin: 24px 0 48px;
	text-align: center;
}
.mb-empty-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #FFEBEB;
	border-radius: 50%;
}
.mb-empty-title {
	font-family: 'Vazirmatn', sans-serif;
	font-size: 20px;
	font-weight: 800;
	color: #1A1A1F;
	margin: 0 0 10px;
}
.mb-empty-desc {
	font-family: 'Vazirmatn', sans-serif;
	font-size: 14px;
	color: #555562;
	max-width: 480px;
	margin: 0 auto 24px;
	line-height: 1.8;
}
.mb-empty-search-form {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	max-width: 440px;
	margin: 0 auto 28px;
}
.mb-empty-search-input {
	flex: 1;
	height: 46px;
	background: #FFFFFF;
	border: 1.5px solid #DFDFE6;
	border-radius: 10px;
	padding: 0 16px;
	font-family: 'Vazirmatn', sans-serif;
	font-size: 14px;
	color: #1A1A1F;
	outline: none;
	transition: border-color 0.2s;
}
.mb-empty-search-input:focus {
	border-color: #E30613;
}
.mb-empty-search-btn {
	height: 46px;
	padding: 0 20px;
	background: #E30613;
	color: #FFFFFF;
	border: none;
	border-radius: 10px;
	font-family: 'Vazirmatn', sans-serif;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s;
}
.mb-empty-search-btn:hover {
	background: #C40510;
}
.mb-empty-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}
.mb-empty-btn {
	display: inline-flex;
	align-items: center;
	height: 42px;
	padding: 0 20px;
	border-radius: 10px;
	font-family: 'Vazirmatn', sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.2s;
}
.mb-btn-primary {
	background: #E30613;
	color: #FFFFFF !important;
}
.mb-btn-primary:hover {
	background: #C40510;
}
.mb-btn-outline {
	background: #FFFFFF;
	color: #1A1A1F !important;
	border: 1.5px solid #DFDFE6;
}
.mb-btn-outline:hover {
	border-color: #E30613;
	color: #E30613 !important;
}
:is(.term-mobile-phones, .term-accessories, .post-type-archive-product, .search-results, .search-no-results) .entry-title { color: #1A1A1F; }
.mobile-bastani-empty-state {
	display: none !important;
}
.mobile-bastani-empty-state p { margin: 0; }
.wd-toolbar .wd-header-compare,
.wd-toolbar .wd-cart-number > span { display: none !important; }

.woocommerce-cart .wp-block-woocommerce-empty-cart-block > hr,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title),
.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-woocommerce-product-new { display: none !important; }

/* Mobile Bastani brand correction - production 2026. */
.whb-header_331220 .site-logo {
	box-sizing: content-box;
	padding-inline: 9px;
}
.whb-header_331220 .site-logo img {
	display: block;
	width: 200px !important;
	max-width: 200px !important;
	height: auto !important;
	max-height: none !important;
	object-fit: contain;
}
.whb-header_331220 .whb-header-bottom {
	background-color: #FFFFFF !important;
	background-image: none !important;
}
body.page-id-2024 #main-content .elementor-element-332c1d6 {
	background-color: #FFFFFF !important;
	background-image: none !important;
}
body.page-id-2024 #main-content .e-ac19bfa-7b108c0 {
	opacity: 1 !important;
}
body.page-id-2024 #main-content .elementor-element-29f5c1d,
body.page-id-2024 #main-content .elementor-element-1961386 {
	background-color: #FFFFFF !important;
	background-image: none !important;
	border-color: #1A1A1F !important;
	box-shadow: none !important;
	opacity: 1 !important;
}
@media (max-width: 1024px) {
	.whb-header_331220 .site-logo {
		padding-inline: 6px;
	}
	.whb-header_331220 .site-logo img {
		width: 140px !important;
		max-width: 140px !important;
	}
}

@media (max-width: 767px) {
	.mobile-bastani-footer { margin-top: 32px; padding: 36px 20px 88px; }
	.mobile-bastani-footer__inner { grid-template-columns: 1fr; gap: 32px; }
	.mobile-bastani-footer__links ul { grid-template-columns: 1fr; }
	.mobile-bastani-clean-page { padding: 40px 16px; }
	.mobile-bastani-clean-card { padding: 28px 24px; }
}


/* Mobile Bastani professional homepage design pass - production 2026. */
.mobile-bastani-clean-page,
.mobile-bastani-empty-state {
	background: #FFFFFF;
}
.mobile-bastani-clean-card {
	box-shadow: none;
}

body.page-id-2024 #main-content {
	background: #FFFFFF;
	color: #1A1A1F;
	overflow: clip;
}
body.page-id-2024 #main-content .elementor-element-332c1d6 {
	direction: rtl;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 0 !important;
	max-width: 1200px;
	min-height: 480px;
	margin: 40px auto 104px !important;
	padding: clamp(48px, 6vw, 76px) !important;
	background: #FFFFFF !important;
	border: 1px solid #1A1A1F;
	border-top: 8px solid #E30613;
	border-radius: 24px;
	box-shadow: none !important;
	overflow: hidden;
}
body.page-id-2024 #main-content .elementor-element-05a41dd {
	display: flex !important;
	flex: none;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 0 !important;
	width: auto !important;
	max-width: 820px;
	padding: 0 !important;
	text-align: right;
}
body.page-id-2024 #main-content .e-2a381e6-3d590b7 {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	margin: 0 0 20px;
	padding: 6px 14px;
	background: #E30613;
	border-radius: 999px;
	color: #FFFFFF !important;
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.5;
}
body.page-id-2024 #main-content .e-093e4b5-c46a592 {
	max-width: 780px;
	margin: 0;
	color: #1A1A1F !important;
	font-size: clamp(2.55rem, 4.5vw, 4.2rem);
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1.28;
}
body.page-id-2024 #main-content .e-ac19bfa-7b108c0 {
	max-width: 540px;
	margin: 24px 0 0;
	color: #1A1A1F !important;
	font-size: clamp(1rem, 1.35vw, 1.12rem);
	font-weight: 400;
	line-height: 2;
	opacity: 1 !important;
}
body.page-id-2024 #main-content .e-a08e623-9da67fc {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	margin-top: 32px;
	padding: 14px 30px;
	background: #E30613 !important;
	border: 2px solid #E30613 !important;
	border-radius: 9px;
	box-shadow: none !important;
	color: #FFFFFF !important;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.5;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
body.page-id-2024 #main-content .e-a08e623-9da67fc:hover {
	background: #1A1A1F !important;
	border-color: #1A1A1F !important;
	color: #FFFFFF !important;
}
body.page-id-2024 #main-content .e-a08e623-9da67fc:focus-visible {
	outline: 3px solid #1A1A1F;
	outline-offset: 3px;
}
body.page-id-2024 #main-content .elementor-element-e183310 {
	direction: rtl;
	max-width: 1200px;
	margin: 0 auto !important;
	padding: 0 0 104px !important;
	background: #FFFFFF !important;
	gap: 36px !important;
}
body.page-id-2024 #main-content .e-accf293-7dc7860 {
	position: relative;
	margin: 0;
	padding-right: 22px;
	color: #1A1A1F !important;
	font-size: clamp(1.9rem, 3vw, 2.65rem);
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.4;
	text-align: right;
}
body.page-id-2024 #main-content .e-accf293-7dc7860::before {
	content: "";
	position: absolute;
	top: 0.16em;
	right: 0;
	width: 6px;
	height: 1.12em;
	background: #E30613;
	border-radius: 3px;
}
body.page-id-2024 #main-content .elementor-element-4f86bcc {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 24px !important;
	width: 100% !important;
	padding: 0 !important;
}
body.page-id-2024 #main-content .elementor-element-29f5c1d,
body.page-id-2024 #main-content .elementor-element-1961386 {
	position: relative;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: flex-end !important;
	min-width: 0;
	min-height: 280px;
	padding: 36px !important;
	background: #FFFFFF !important;
	background-image: none !important;
	border: 1px solid #1A1A1F !important;
	border-radius: 18px;
	box-shadow: none !important;
	color: #1A1A1F !important;
	overflow: hidden;
	text-align: right;
	text-decoration: none;
	transition: border-color 180ms ease, transform 180ms ease;
}
body.page-id-2024 #main-content .elementor-element-29f5c1d::before,
body.page-id-2024 #main-content .elementor-element-1961386::before {
	position: absolute;
	top: 28px;
	left: 32px;
	color: #E30613;
	font-family: Sora, sans-serif;
	font-size: 3.4rem;
	font-weight: 800;
	line-height: 1;
}
body.page-id-2024 #main-content .elementor-element-29f5c1d::before { content: "01"; }
body.page-id-2024 #main-content .elementor-element-1961386::before { content: "02"; }
body.page-id-2024 #main-content .elementor-element-29f5c1d::after,
body.page-id-2024 #main-content .elementor-element-1961386::after {
	content: "←";
	position: absolute;
	top: 30px;
	right: 34px;
	color: #1A1A1F;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}
body.page-id-2024 #main-content .elementor-element-29f5c1d:hover,
body.page-id-2024 #main-content .elementor-element-1961386:hover {
	border-color: #E30613 !important;
	transform: translateY(-4px);
}
body.page-id-2024 #main-content .elementor-element-29f5c1d:focus-visible,
body.page-id-2024 #main-content .elementor-element-1961386:focus-visible {
	outline: 3px solid #E30613;
	outline-offset: 4px;
}
body.page-id-2024 #main-content :is(.e-352a5a8-978f0d4, .e-e325eb2-d45fba3) {
	margin: 0;
	color: #1A1A1F !important;
	font-size: clamp(1.65rem, 2.5vw, 2.15rem);
	font-weight: 900;
	line-height: 1.45;
}
body.page-id-2024 #main-content :is(.e-19f5322-bdefb81, .e-b817b39-9a2b4b8) {
	margin-top: 10px;
	color: #1A1A1F !important;
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.8;
}
.mobile-bastani-footer {
	margin-top: 0;
	padding: 64px 24px;
	background: #FFFFFF;
	border-top: 4px solid #E30613;
	box-shadow: none;
}
.mobile-bastani-footer__inner {
	grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
	gap: 72px;
	max-width: 1200px;
}
.mobile-bastani-footer__brand { gap: 18px; }
.mobile-bastani-footer__brand img {
	width: 220px;
	min-width: 140px;
	max-width: 100%;
}
.mobile-bastani-footer__brand strong {
	color: #1A1A1F;
	font-size: 1.18rem;
	font-weight: 900;
}
.mobile-bastani-footer__links h2 {
	margin-bottom: 22px;
	font-size: 1.2rem;
	font-weight: 900;
}
.mobile-bastani-footer__links a {
	display: inline-flex;
	padding-block: 4px;
	font-weight: 600;
	transition: color 180ms ease;
}
.mobile-bastani-footer__links a:focus-visible {
	outline: 2px solid #E30613;
	outline-offset: 3px;
}

@media (min-width: 768px) and (max-width: 1220px) {
	body.page-id-2024 #main-content .elementor-element-332c1d6,
	body.page-id-2024 #main-content .elementor-element-e183310 {
		margin-inline: 24px !important;
	}
	body.page-id-2024 #main-content .elementor-element-332c1d6 {
		gap: 0 !important;
		padding: 56px 48px !important;
	}
}

@media (max-width: 767px) {
	body.page-id-2024 #main-content .elementor-element-332c1d6 {
		flex-direction: column !important;
		gap: 0 !important;
		min-height: 0;
		margin: 24px 16px 68px !important;
		padding: 32px 24px !important;
		border-radius: 18px;
	}
	body.page-id-2024 #main-content .elementor-element-05a41dd {
		width: 100% !important;
		max-width: none;
	}
	body.page-id-2024 #main-content .e-2a381e6-3d590b7 { margin-bottom: 16px; }
	body.page-id-2024 #main-content .e-093e4b5-c46a592 {
		font-size: clamp(2rem, 11vw, 2.75rem);
		letter-spacing: -0.025em;
	}
	body.page-id-2024 #main-content .e-ac19bfa-7b108c0 { margin-top: 18px; }
	body.page-id-2024 #main-content .e-a08e623-9da67fc {
		width: 100%;
		margin-top: 26px;
	}
	body.page-id-2024 #main-content .elementor-element-e183310 {
		margin-inline: 16px !important;
		padding-bottom: 72px !important;
		gap: 26px !important;
	}
	body.page-id-2024 #main-content .elementor-element-4f86bcc {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 18px !important;
	}
	body.page-id-2024 #main-content .elementor-element-29f5c1d,
	body.page-id-2024 #main-content .elementor-element-1961386 {
		min-height: 230px;
		padding: 28px !important;
		border-radius: 14px;
	}
	body.page-id-2024 #main-content .elementor-element-29f5c1d::before,
	body.page-id-2024 #main-content .elementor-element-1961386::before {
		top: 24px;
		left: 26px;
		font-size: 2.8rem;
	}
	body.page-id-2024 #main-content .elementor-element-29f5c1d::after,
	body.page-id-2024 #main-content .elementor-element-1961386::after {
		top: 26px;
		right: 28px;
	}
	.mobile-bastani-footer { padding: 48px 20px 96px; }
	.mobile-bastani-footer__inner { gap: 36px; }
	.mobile-bastani-footer__brand img { width: 200px; }
}
/* Mobile footer stacking correction. */@media (max-width: 767px) {.mobile-bastani-footer__inner {display: grid;grid-template-columns: minmax(0, 1fr) !important;gap: 36px;}.mobile-bastani-footer__brand,.mobile-bastani-footer__links {width: 100%;min-width: 0;}}


/* Mobile Bastani WooCommerce UI consistency pass - production 2026. */
body.page-id-2024 #main-content .elementor-element-29f5c1d::before,
body.page-id-2024 #main-content .elementor-element-1961386::before {
	content: none !important;
	display: none !important;
}

body.page-id-118 .wd-wishlist-content {
	max-width: 760px;
	margin-inline: auto;
	padding: clamp(40px, 7vw, 72px) clamp(24px, 6vw, 56px);
	background: #FFFFFF;
	border: 1px solid #1A1A1F;
	border-top: 5px solid #E30613;
	border-radius: 16px;
	box-shadow: none;
	color: #1A1A1F;
	text-align: center;
}
body.page-id-118 .wd-wishlist-content .wd-empty-page {
	margin: 0;
	color: #1A1A1F;
	font-family: Vazirmatn, Arial, Helvetica, sans-serif;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 900;
	line-height: 1.5;
}
body.page-id-118 .wd-wishlist-content .wd-empty-page-text {
	max-width: 560px;
	margin: 18px auto 0;
	color: #1A1A1F;
	font-size: 1rem;
	line-height: 2;
}
body.page-id-118 .wd-wishlist-content .return-to-shop {
	margin: 28px 0 0;
}

:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) .woocommerce-MyAccount-content :is(.button, button:not(.show-password-input), input[type="submit"]),
body.page-id-118 .wd-wishlist-content .return-to-shop .button,
.cart-widget-side .wc-backward {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	background-color: #E30613 !important;
	background-image: none !important;
	border: 2px solid #E30613 !important;
	border-radius: 8px;
	box-shadow: none !important;
	color: #FFFFFF !important;
	font-family: Vazirmatn, Arial, Helvetica, sans-serif;
	font-weight: 800;
	line-height: 1.5;
	text-decoration: none;
}
:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) .woocommerce-MyAccount-content :is(.button, button:not(.show-password-input), input[type="submit"]):hover,
body.page-id-118 .wd-wishlist-content .return-to-shop .button:hover,
.cart-widget-side .wc-backward:hover {
	background-color: #1A1A1F !important;
	border-color: #1A1A1F !important;
	color: #FFFFFF !important;
}
:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) .woocommerce-MyAccount-content :is(.button, button:not(.show-password-input), input[type="submit"]):focus-visible,
body.page-id-118 .wd-wishlist-content .return-to-shop .button:focus-visible,
.cart-widget-side .wc-backward:focus-visible {
	outline: 3px solid #1A1A1F;
	outline-offset: 3px;
}

.woocommerce-account .woocommerce-Addresses .edit {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 16px;
	background: #FFFFFF;
	border: 1px solid #1A1A1F;
	border-radius: 7px;
	color: #1A1A1F;
	font-weight: 700;
	text-decoration: none;
}
.woocommerce-account .woocommerce-Addresses .edit:hover,
.woocommerce-account .woocommerce-Addresses .edit:focus-visible {
	border-color: #E30613;
	color: #E30613;
}

:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner) {
	position: relative;
	margin-bottom: 24px;
	padding: 20px 22px;
	background: #FFFFFF !important;
	background-image: none !important;
	border: 1px solid #1A1A1F !important;
	border-inline-start: 5px solid #E30613 !important;
	border-radius: 10px;
	box-shadow: none !important;
	color: #1A1A1F !important;
	font-family: Vazirmatn, Arial, Helvetica, sans-serif;
	line-height: 1.9;
}
:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) .woocommerce-message {
	border-inline-start-color: #1A1A1F !important;
}
:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) .woocommerce-error {
	border-width: 2px !important;
	border-inline-start-width: 6px !important;
}
:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
	color: #E30613 !important;
}
:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a:not(.button) {
	color: #1A1A1F;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-color: #E30613;
	text-underline-offset: 3px;
}

.woocommerce-account .woocommerce-MyAccount-content :is(input.input-text, textarea, select) {
	min-height: 46px;
	background: #FFFFFF;
	border: 1px solid #1A1A1F;
	border-radius: 7px;
	box-shadow: none;
	color: #1A1A1F;
	font-family: Vazirmatn, Arial, Helvetica, sans-serif;
}
.woocommerce-account .woocommerce-MyAccount-content :is(input.input-text, textarea, select):focus {
	border-color: #E30613;
	box-shadow: none;
	outline: 2px solid #E30613;
	outline-offset: 2px;
}

.mobile-bastani-empty-state {
	display: grid;
	place-items: center;
	min-height: 190px;
	max-width: 900px;
	margin: 28px auto 64px;
	padding: clamp(32px, 6vw, 56px);
	background: #FFFFFF;
	border: 1px solid #1A1A1F;
	border-top: 5px solid #E30613;
	border-radius: 14px;
	box-shadow: none;
	color: #1A1A1F;
	font-size: clamp(1rem, 2vw, 1.1rem);
	font-weight: 700;
	line-height: 2;
	text-align: center;
}

@media (max-width: 767px) {
	body.page-id-118 .wd-wishlist-content {
		padding: 36px 22px;
		border-radius: 12px;
	}
	:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) .woocommerce-MyAccount-content :is(.button, button:not(.show-password-input), input[type="submit"]),
	body.page-id-118 .wd-wishlist-content .return-to-shop .button,
	.cart-widget-side .wc-backward {
		width: 100%;
	}
	:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner) {
		padding: 18px;
	}
	.mobile-bastani-empty-state {
		min-height: 160px;
		margin: 20px 0 48px;
		padding: 32px 22px;
	}
}

/* Account password visibility controls remain secondary, not primary actions. */
.woocommerce-account .woocommerce-MyAccount-content button.show-password-input {
	background: transparent !important;
	border-color: transparent !important;
	color: #1A1A1F !important;
	box-shadow: none !important;
}
.woocommerce-account .woocommerce-MyAccount-content button.show-password-input:hover,
.woocommerce-account .woocommerce-MyAccount-content button.show-password-input:focus-visible {
	background: transparent !important;
	border-color: transparent !important;
	color: #E30613 !important;
}


/* ==========================================================================
   Mobile Bastani Homepage Redesign - Phase 2 Production System
   ========================================================================== */
:root {
	--mb-red: #E30613;
	--mb-red-hover: #C50510;
	--mb-charcoal: #1A1A1F;
	--mb-charcoal-card: #222228;
	--mb-white: #FFFFFF;
	--mb-border: #E6E6E8;
	--mb-bg: #F8F8FA;
	--mb-muted: #71717A;
	--mb-radius: 12px;
	--mb-radius-sm: 8px;
	--mb-radius-lg: 16px;
}

body.page-id-2024 .main-page-wrapper {
	background: #FFFFFF !important;
	padding-block: 0 !important;
}

.mb-demo-home {
	direction: rtl;
	background: #FFFFFF;
	color: var(--mb-charcoal);
	font-family: Vazirmatn, Arial, sans-serif;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px 48px;
}

/* Base Buttons */
.mb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	border-radius: var(--mb-radius-sm);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
}
.mb-btn--primary {
	background: var(--mb-red) !important;
	border: 2px solid var(--mb-red) !important;
	color: #FFFFFF !important;
}
.mb-btn--primary:hover {
	background: var(--mb-red-hover) !important;
	border-color: var(--mb-red-hover) !important;
	color: #FFFFFF !important;
}
.mb-btn--ghost {
	background: transparent !important;
	border: 2px solid rgba(255, 255, 255, 0.4) !important;
	color: #FFFFFF !important;
}
.mb-btn--ghost:hover {
	background: #FFFFFF !important;
	border-color: #FFFFFF !important;
	color: var(--mb-charcoal) !important;
}
.mb-btn--ghost-dark {
	background: transparent !important;
	border: 2px solid var(--mb-charcoal) !important;
	color: var(--mb-charcoal) !important;
}
.mb-btn--ghost-dark:hover {
	background: var(--mb-charcoal) !important;
	color: #FFFFFF !important;
}

/* Sections */
.mb-section {
	margin-bottom: 56px;
}
.mb-section__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid #F0F0F2;
}
.mb-section__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 800;
	color: var(--mb-charcoal);
	margin-bottom: 4px;
}
.mb-section__kicker:before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 3px;
	background: var(--mb-charcoal);
	border-radius: 2px;
}
.mb-section__kicker--red {
	color: var(--mb-red);
}
.mb-section__kicker--red:before {
	background: var(--mb-red);
}
.mb-section__title {
	margin: 0;
	font-size: clamp(22px, 2.8vw, 32px);
	font-weight: 900;
	color: var(--mb-charcoal);
	line-height: 1.3;
}
.mb-section__link {
	font-size: 14px;
	font-weight: 700;
	color: var(--mb-charcoal);
	text-decoration: none;
	transition: color 0.2s ease;
	white-space: nowrap;
}
.mb-section__link:hover {
	color: var(--mb-red);
}

/* 1. HERO */
.mb-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
	gap: 40px;
	align-items: center;
	background: #111115;
	color: #FFFFFF;
	border-radius: var(--mb-radius-lg);
	margin: 24px 0 48px;
	padding: clamp(32px, 4.5vw, 52px) clamp(24px, 4vw, 56px);
	border: 1px solid #282830;
	overflow: hidden;
}
.mb-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.mb-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(227, 6, 19, 0.15);
	border: 1px solid rgba(227, 6, 19, 0.4);
	color: #FF5A66;
	font-size: 13px;
	font-weight: 800;
	padding: 4px 14px;
	border-radius: 999px;
	margin-bottom: 16px;
}
.mb-hero__badge-dot {
	width: 7px;
	height: 7px;
	background: var(--mb-red);
	border-radius: 50%;
}
.mb-hero__title {
	margin: 0 0 14px;
	font-size: clamp(26px, 3.8vw, 44px);
	font-weight: 900;
	line-height: 1.25;
	color: #FFFFFF;
	letter-spacing: -0.02em;
}
.mb-hero__desc {
	margin: 0 0 20px;
	font-size: clamp(14px, 1.3vw, 16px);
	line-height: 1.9;
	color: #D1D1D6;
	max-width: 580px;
}
.mb-hero__highlight {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	background: #1E1E26;
	border: 1px solid #32323D;
	padding: 8px 14px;
	border-radius: var(--mb-radius-sm);
	margin-bottom: 24px;
}
.mb-hero__highlight-name {
	font-family: Sora, sans-serif;
	font-size: 14px;
	font-weight: 800;
	color: #FFFFFF;
}
.mb-hero__highlight-price {
	font-size: 13px;
	font-weight: 700;
	color: #FF6670;
}
.mb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.mb-hero__visual {
	display: flex;
	align-items: center;
	justify-content: center;
}
.mb-hero__img-wrap {
	display: block;
	width: 100%;
	background: #000000;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.25s ease;
}
.mb-hero__img-wrap:hover {
	transform: scale(1.02);
}
.mb-hero__img {
	display: block;
	width: 100%;
	max-height: 380px;
	object-fit: contain;
}

/* 2. CATEGORIES */
.mb-categories {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.mb-cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 180px;
	padding: 28px 32px;
	background: #FFFFFF;
	border: 1px solid var(--mb-border);
	border-top: 4px solid var(--mb-charcoal);
	border-radius: var(--mb-radius);
	text-decoration: none;
	transition: all 0.2s ease;
}
.mb-cat-card--phones {
	border-top-color: var(--mb-red);
}
.mb-cat-card:hover {
	border-color: var(--mb-red);
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(26, 26, 31, 0.06);
}
.mb-cat-card__badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	color: var(--mb-muted);
	margin-bottom: 8px;
}
.mb-cat-card__title {
	margin: 0 0 6px;
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 900;
	color: var(--mb-charcoal);
}
.mb-cat-card__desc {
	margin: 0 0 16px;
	font-size: 13px;
	color: var(--mb-muted);
	line-height: 1.7;
}
.mb-cat-card__link {
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	font-weight: 800;
	color: var(--mb-red);
}

/* 3. PRODUCT CARDS */
.mb-products-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.mb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #FFFFFF;
	border: 1px solid var(--mb-border);
	border-radius: var(--mb-radius);
	padding: 16px;
	text-decoration: none;
	transition: all 0.2s ease;
}
.mb-card:hover {
	border-color: var(--mb-red);
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(26, 26, 31, 0.08);
}
.mb-card__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: var(--mb-red);
	color: #FFFFFF;
	font-family: Sora, sans-serif;
	font-size: 11px;
	font-weight: 800;
	padding: 3px 8px;
	border-radius: 4px;
	z-index: 2;
}
.mb-card__img-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 190px;
	margin-bottom: 12px;
	overflow: hidden;
	border-radius: var(--mb-radius-sm);
	background: #FAFAFB;
}
.mb-card__img {
	max-height: 160px;
	max-width: 90%;
	width: auto;
	object-fit: contain;
	transition: transform 0.25s ease;
}
.mb-card:hover .mb-card__img {
	transform: scale(1.05);
}
.mb-card__body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	justify-content: flex-end;
}
.mb-card__brand {
	font-family: Sora, sans-serif;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--mb-muted);
	letter-spacing: 0.04em;
	margin-bottom: 4px;
	display: block;
}
.mb-card__title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
	color: var(--mb-charcoal);
	min-height: 40px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.mb-card__title a {
	color: var(--mb-charcoal);
	text-decoration: none;
	transition: color 0.18s ease;
}
.mb-card__title a:hover {
	color: var(--mb-red);
}
.mb-card__pricing {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 14px;
}
.mb-card__price-old {
	font-family: Sora, Vazirmatn, sans-serif;
	font-size: 12px;
	color: #A1A1AA;
	text-decoration: line-through;
}
.mb-card__price-current {
	font-family: Sora, Vazirmatn, sans-serif;
	font-size: 16px;
	font-weight: 900;
	color: var(--mb-red);
}
.mb-card__price-current .currency,
.mb-card__price-old .currency {
	font-family: Vazirmatn, sans-serif;
	font-size: 11px;
	font-weight: 600;
	color: var(--mb-muted);
}
.mb-card__btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 9px 12px;
	background: #F4F4F6;
	color: var(--mb-charcoal);
	border: 1px solid var(--mb-border);
	border-radius: var(--mb-radius-sm);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	transition: all 0.2s ease;
}
.mb-card:hover .mb-card__btn {
	background: var(--mb-red);
	border-color: var(--mb-red);
	color: #FFFFFF;
}

/* 4. BRAND SECTION */
.mb-brands-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}
.mb-brand-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px 14px;
	background: #FFFFFF;
	border: 1px solid var(--mb-border);
	border-radius: var(--mb-radius);
	text-decoration: none;
	color: var(--mb-charcoal);
	transition: all 0.2s ease;
}
.mb-brand-card:hover {
	border-color: var(--mb-red);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(26, 26, 31, 0.06);
}
.mb-brand-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	margin-bottom: 10px;
	color: var(--mb-charcoal);
	transition: transform 0.2s ease;
}
.mb-brand-card:hover .mb-brand-card__logo {
	transform: scale(1.06);
}
.mb-brand-card__name {
	font-family: Sora, sans-serif;
	font-size: 15px;
	font-weight: 800;
	color: var(--mb-charcoal);
	margin-bottom: 2px;
}
.mb-brand-card__meta {
	font-size: 11px;
	color: var(--mb-muted);
	font-weight: 600;
}

/* 5. EDITORIAL SPOTLIGHT */
.mb-spotlight {
	background: #FAFAFC;
	border: 1px solid var(--mb-border);
	border-inline-start: 6px solid var(--mb-red);
	border-radius: var(--mb-radius-lg);
	padding: clamp(28px, 4vw, 48px);
	margin-bottom: 56px;
}
.mb-spotlight__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
	gap: 36px;
	align-items: center;
}
.mb-spotlight__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 800;
	color: var(--mb-red);
	margin-bottom: 8px;
}
.mb-spotlight__kicker:before {
	content: "";
	width: 14px;
	height: 3px;
	background: var(--mb-red);
	border-radius: 2px;
}
.mb-spotlight__title {
	margin: 0 0 10px;
	font-size: clamp(22px, 2.5vw, 34px);
	font-weight: 900;
	color: var(--mb-charcoal);
	font-family: Sora, Vazirmatn, sans-serif;
}
.mb-spotlight__subtitle {
	margin: 0 0 18px;
	font-size: 15px;
	color: #4B4B52;
	line-height: 1.85;
}
.mb-spotlight__list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.mb-spotlight__list li {
	font-size: 13px;
	color: #3F3F46;
	line-height: 1.6;
	position: relative;
	padding-inline-start: 16px;
}
.mb-spotlight__list li:before {
	content: "•";
	position: absolute;
	right: 0;
	color: var(--mb-red);
	font-weight: 900;
}
.mb-spotlight__list span {
	font-weight: 800;
	color: var(--mb-charcoal);
}
.mb-spotlight__pricing {
	margin-bottom: 22px;
}
.mb-spotlight__price-tag {
	display: inline-block;
	background: #FFFFFF;
	border: 1px solid var(--mb-border);
	padding: 6px 14px;
	border-radius: var(--mb-radius-sm);
	font-size: 13px;
	font-weight: 800;
	color: var(--mb-red);
}
.mb-spotlight__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.mb-spotlight__visual {
	display: flex;
	align-items: center;
	justify-content: center;
}
.mb-spotlight__img {
	max-height: 320px;
	max-width: 100%;
	object-fit: contain;
}

/* 6. FINAL CTA BANNER */
.mb-final-cta {
	background: #111115;
	color: #FFFFFF;
	border-radius: var(--mb-radius-lg);
	padding: clamp(36px, 5vw, 60px) 24px;
	text-align: center;
	margin-bottom: 48px;
	border: 1px solid #282830;
	border-top: 4px solid var(--mb-red);
}
.mb-final-cta__inner {
	max-width: 720px;
	margin: 0 auto;
}
.mb-final-cta__badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	color: #FF5A66;
	letter-spacing: 0.05em;
	margin-bottom: 12px;
}
.mb-final-cta__title {
	margin: 0 0 14px;
	font-size: clamp(24px, 3.2vw, 36px);
	font-weight: 900;
	color: #FFFFFF;
	line-height: 1.3;
}
.mb-final-cta__desc {
	margin: 0 auto 24px;
	font-size: clamp(14px, 1.2vw, 16px);
	color: #D1D1D6;
	line-height: 1.9;
	max-width: 600px;
}
.mb-final-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

/* Tablet (~900px to 1024px) */
@media (max-width: 1024px) {
	.mb-hero {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 36px 24px;
	}
	.mb-hero__img {
		max-height: 280px;
	}
	.mb-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
	.mb-brands-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.mb-spotlight__inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.mb-spotlight__visual {
		order: -1;
	}
	.mb-spotlight__img {
		max-height: 240px;
	}
}

/* Mobile (~390px to 640px) */
@media (max-width: 640px) {
	.mb-demo-home {
		padding: 0 12px 36px;
	}
	.mb-hero {
		padding: 24px 16px;
		margin-bottom: 36px;
		border-radius: 12px;
	}
	.mb-hero__title {
		font-size: 24px;
	}
	.mb-hero__desc {
		font-size: 13px;
		line-height: 1.8;
	}
	.mb-hero__actions {
		width: 100%;
		flex-direction: column;
	}
	.mb-hero__actions .mb-btn {
		width: 100%;
	}
	.mb-hero__img {
		max-height: 220px;
	}

	.mb-categories {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.mb-cat-card {
		padding: 20px;
		min-height: auto;
	}

	.mb-section {
		margin-bottom: 40px;
	}
	.mb-section__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.mb-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.mb-card {
		padding: 10px;
		border-radius: 10px;
	}
	.mb-card__img-wrap {
		height: 135px;
		margin-bottom: 8px;
	}
	.mb-card__img {
		max-height: 115px;
	}
	.mb-card__title {
		font-size: 12px;
		min-height: 34px;
		margin-bottom: 6px;
	}
	.mb-card__brand {
		font-size: 10px;
	}
	.mb-card__price-current {
		font-size: 13px;
	}
	.mb-card__price-old {
		font-size: 11px;
	}
	.mb-card__btn {
		padding: 7px 8px;
		font-size: 11px;
	}

	.mb-brands-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.mb-brand-card {
		padding: 18px 10px;
	}
	.mb-brand-card__logo {
		height: 38px;
		margin-bottom: 6px;
	}

	.mb-spotlight {
		padding: 20px 16px;
		border-radius: 12px;
		margin-bottom: 40px;
	}
	.mb-spotlight__title {
		font-size: 22px;
	}
	.mb-spotlight__subtitle {
		font-size: 13px;
	}
	.mb-spotlight__actions {
		width: 100%;
		flex-direction: column;
	}
	.mb-spotlight__actions .mb-btn {
		width: 100%;
	}

	.mb-final-cta {
		padding: 28px 16px;
		border-radius: 12px;
		margin-bottom: 32px;
	}
	.mb-final-cta__actions {
		width: 100%;
		flex-direction: column;
	}
	.mb-final-cta__actions .mb-btn {
		width: 100%;
	}
}


/* ==========================================================================
   Storefront UI Refinement Pass
   ========================================================================== */

/* 1. Desktop Header & Primary Navigation */
.whb-header .wd-nav-main > li > a {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1A1A1F !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    transition: color 0.2s ease !important;
    position: relative !important;
}
.whb-header .wd-nav-main > li > a:hover,
.whb-header .wd-nav-main > li.current-menu-item > a {
    color: #E30613 !important;
}
.whb-header .wd-nav-main > li > a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 50% !important;
    transform: translateX(-50%) scaleX(0) !important;
    width: 20px !important;
    height: 2px !important;
    background-color: #E30613 !important;
    transition: transform 0.2s ease !important;
    border-radius: 2px !important;
}
.whb-header .wd-nav-main > li:hover > a::after,
.whb-header .wd-nav-main > li.current-menu-item > a::after {
    transform: translateX(-50%) scaleX(1) !important;
}

/* 2. Header Cart & Wishlist Badges */
.whb-header .wd-header-cart .wd-cart-subtotal,
.whb-header .wd-header-cart .subtotal-divider {
    display: none !important;
}
.whb-header .wd-tools-element .wd-tools-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 9999px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    padding: 0 4px !important;
    background-color: #E30613 !important;
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
    top: -4px !important;
    right: auto !important;
    left: -6px !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* 3. Mobile Off-Canvas Drawer */
.mobile-nav {
    background-color: #ffffff !important;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1) !important;
}
.mobile-nav .wd-nav-mobile {
    padding: 12px 16px !important;
}
.mobile-nav .wd-nav-mobile > li > a {
    display: flex !important;
    align-items: center !important;
    min-height: 48px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    border-bottom: 1px solid #F0F0F4 !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}
.mobile-nav .wd-nav-mobile > li:last-child > a {
    border-bottom: none !important;
}
.mobile-nav .wd-nav-mobile > li > a:hover,
.mobile-nav .wd-nav-mobile > li.current-menu-item > a {
    background-color: #FFF5F5 !important;
    color: #E30613 !important;
}
.mobile-nav .close-side-widget {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #ECECEF !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
}

/* 4. Live Search Autocomplete Dropdown */
.wd-search-results.wd-dropdown-results {
    border-radius: 12px !important;
    border: 1px solid #E5E5EA !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12) !important;
    background: #ffffff !important;
    overflow: hidden !important;
    margin-top: 8px !important;
    max-height: 420px !important;
}
.wd-search-results .wd-suggestions-group {
    padding: 6px 0 !important;
}
.wd-search-results .wd-suggestion {
    display: flex !important;
    align-items: center !important;
    padding: 10px 16px !important;
    border-bottom: 1px solid #F2F2F5 !important;
    transition: background 0.15s ease !important;
    gap: 12px !important;
}
.wd-search-results .wd-suggestion:last-child {
    border-bottom: none !important;
}
.wd-search-results .wd-suggestion:hover {
    background-color: #F5F5F7 !important;
}
.wd-search-results .wd-suggestion-thumb {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #F8F8FA !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #EEEEF2 !important;
}
.wd-search-results .wd-suggestion-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}
.wd-search-results .wd-suggestion-content {
    flex: 1 !important;
}
.wd-search-results .wd-entities-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
}
.wd-search-results .wd-entities-title strong {
    color: #E30613 !important;
}
.wd-search-results .price {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    margin: 0 !important;
}
.wd-search-results .price bdi {
    direction: ltr !important;
    unicode-bidi: isolate !important;
}
.wd-search-results .wd-all-results {
    display: block !important;
    background-color: #F8F8FA !important;
    color: #E30613 !important;
    text-align: center !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-top: 1px solid #ECECEF !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}
.wd-search-results .wd-all-results:hover {
    background-color: #E30613 !important;
    color: #ffffff !important;
}
.wd-search-results .wd-no-results {
    padding: 24px 16px !important;
    text-align: center !important;
    color: #767676 !important;
    font-size: 13px !important;
}

/* 5. Discount Badges */
.mb-card__badge,
.mb-badge--sale,
.product-label.onsale {
    background: #E30613 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.3 !important;
    box-shadow: none !important;
    border: none !important;
    letter-spacing: normal !important;
}

/* 6. Brand Section Cards */
.mb-brand-card {
    background: #F9F9FB !important;
    border: 1px solid #EDEDF2 !important;
    border-radius: 14px !important;
    padding: 20px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease !important;
}
.mb-brand-card:hover {
    background: #ffffff !important;
    border-color: #E30613 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.08) !important;
}
.mb-brand-card__logo {
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
    color: #1A1A1F !important;
}
.mb-brand-card__label,
.mb-brand-card__name {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #555555 !important;
    text-align: center !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}
.mb-brand-card__meta {
    display: none !important;
}

/* 7. Premium 4-Column Footer */
.mb-footer {
    background-color: #1A1A1F !important;
    color: #E5E5EA !important;
    padding: 56px 0 24px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    margin-top: 60px !important;
}
.mb-footer__inner {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    display: grid !important;
    grid-template-columns: 1.4fr 1fr 1fr 1fr !important;
    gap: 40px !important;
}
.mb-footer__col--brand .mb-footer__logo img {
    height: 42px !important;
    width: auto !important;
    margin-bottom: 16px !important;
    display: block !important;
    filter: brightness(0) invert(1) !important;
}
.mb-footer__tagline {
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #A0A0AB !important;
    margin: 0 !important;
}
.mb-footer__heading {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin-bottom: 18px !important;
    position: relative !important;
    padding-bottom: 8px !important;
}
.mb-footer__heading::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 24px !important;
    height: 2px !important;
    background-color: #E30613 !important;
    border-radius: 1px !important;
}
.mb-footer__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.mb-footer__list li {
    margin-bottom: 10px !important;
}
.mb-footer__list a {
    font-size: 13px !important;
    color: #A0A0AB !important;
    text-decoration: none !important;
    transition: color 0.15s ease, padding-right 0.15s ease !important;
    display: inline-block !important;
}
.mb-footer__list a:hover {
    color: #FFFFFF !important;
    padding-right: 4px !important;
}
.mb-footer__bottom {
    max-width: 1280px !important;
    margin: 40px auto 0 !important;
    padding: 20px 24px 0 !important;
    border-top: 1px solid #2A2A32 !important;
    text-align: center !important;
}
.mb-footer__copy {
    font-size: 12px !important;
    color: #7A7A85 !important;
    margin: 0 !important;
}

.wd-footer.footer-container .wd-copyrights {
    display: none !important;
}
.wd-footer.footer-container .main-footer {
    padding: 0 !important;
    max-width: 100% !important;
}
.wd-footer.footer-container {
    background: transparent !important;
}

@media (max-width: 1024px) {
    .mb-footer__inner {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px !important;
    }
}
@media (max-width: 640px) {
    .mb-footer__inner {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
}

/* ==========================================================================
   Phase 3: Single Product Page Redesign & Polish
   ========================================================================== */

/* 1. Breadcrumbs & Top Bar */
.single-product .woocommerce-breadcrumb {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    color: #6E6E77 !important;
    margin-bottom: 24px !important;
    padding: 10px 0 !important;
}
.single-product .woocommerce-breadcrumb a {
    color: #4A4A52 !important;
    transition: color 0.2s ease !important;
}
.single-product .woocommerce-breadcrumb a:hover {
    color: #E30613 !important;
}

/* 2. Product Gallery Card */
.single-product .woocommerce-product-gallery {
    background: #FFFFFF !important;
    border: 1px solid #EDEDF2 !important;
    border-radius: 18px !important;
    padding: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
    transition: box-shadow 0.3s ease !important;
}
.single-product .woocommerce-product-gallery:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04) !important;
}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    border-radius: 12px !important;
    max-height: 480px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    border-radius: 10px !important;
    border: 1.5px solid #E5E5EB !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
    margin-bottom: 8px !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover {
    border-color: #1A1A1F !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.single-product .woocommerce-product-gallery .flex-control-thumbs li.active-thumb {
    border: 2px solid #E30613 !important;
    border-radius: 10px !important;
}

/* 3. Product Summary (Title, Rating, Badges) */
.single-product .product_title {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    line-height: 1.5 !important;
    margin: 0 0 12px 0 !important;
}
.single-product .product_title bdi {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    display: inline-block !important;
}
.single-product .woocommerce-product-rating {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
}
.single-product .woocommerce-product-rating .star-rating {
    color: #FFA41C !important;
    font-size: 14px !important;
}
.single-product .woocommerce-review-link {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    color: #6E6E77 !important;
    text-decoration: none !important;
}
.single-product .woocommerce-review-link:hover {
    color: #E30613 !important;
}

/* 4. Price & Discount Hierarchy */
.single-product .summary .price {
    font-family: Vazirmatn, sans-serif !important;
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 18px 0 !important;
    padding: 12px 16px !important;
    background: #F9F9FB !important;
    border-radius: 12px !important;
    border: 1px solid #EDEDF2 !important;
}
.single-product .summary .price ins,
.single-product .summary .price > .amount:last-child {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #1A1A1F !important;
    text-decoration: none !important;
}
.single-product .summary .price del,
.single-product .summary .price del .amount {
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #8C8C96 !important;
    text-decoration: line-through !important;
}
.single-product .onsale,
.single-product .wd-product-badge.product-label-sale {
    background: #E30613 !important;
    color: #FFFFFF !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    box-shadow: none !important;
    top: 16px !important;
    right: 16px !important;
}

/* 5. Stock Status Badge */
.single-product .stock.in-stock {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #00875A !important;
    background: #E3FCEF !important;
    padding: 5px 14px !important;
    border-radius: 9999px !important;
    margin-bottom: 16px !important;
    border: 1px solid #ABF5D1 !important;
}

/* 6. Variation Pills (Progressive Enhancement) */
.single-product .variations {
    width: 100% !important;
    margin-bottom: 20px !important;
    border: none !important;
}
.single-product .variations tr {
    display: block !important;
    margin-bottom: 14px !important;
}
.single-product .variations td.label {
    display: block !important;
    padding: 0 0 6px 0 !important;
}
.single-product .variations td.label label {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
}
.single-product .variations td.value {
    display: block !important;
    padding: 0 !important;
    position: relative !important;
}
.single-product .mb-native-select-enhanced {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
.single-product .mb-variation-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 4px 0 8px !important;
}
.single-product .mb-pill-btn {
    appearance: none !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E0E0E6 !important;
    border-radius: 10px !important;
    padding: 8px 16px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #1A1A1F !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    user-select: none !important;
}
.single-product .mb-pill-btn:hover {
    border-color: #1A1A1F !important;
    background: #F8F8FA !important;
}
.single-product .mb-pill-btn:focus-visible {
    outline: 2px solid #E30613 !important;
    outline-offset: 2px !important;
}
.single-product .mb-pill-btn.is-active {
    border: 2px solid #E30613 !important;
    background: #FFF5F5 !important;
    color: #E30613 !important;
    font-weight: 700 !important;
}
.single-product .mb-pill-btn.is-disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    text-decoration: line-through !important;
    border-style: dashed !important;
    background: #F4F4F7 !important;
}
.single-product .reset_variations {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 12px !important;
    color: #E30613 !important;
    display: inline-block !important;
    margin-top: 6px !important;
    text-decoration: none !important;
}

/* 7. Purchase Buttons & Quantity */
.single-product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 24px 0 !important;
}
.single-product .quantity {
    display: inline-flex !important;
    border: 1.5px solid #E0E0E6 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    height: 48px !important;
    background: #FFFFFF !important;
}
.single-product .quantity input.qty {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
    width: 48px !important;
    height: 100% !important;
    border: none !important;
    text-align: center !important;
}
.single-product .quantity .plus,
.single-product .quantity .minus {
    background: #F8F8FA !important;
    border: none !important;
    width: 38px !important;
    height: 100% !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #55555F !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}
.single-product .quantity .plus:hover,
.single-product .quantity .minus:hover {
    background: #EAEAEF !important;
    color: #1A1A1F !important;
}
.single-product .single_add_to_cart_button {
    background: #E30613 !important;
    color: #FFFFFF !important;
    height: 48px !important;
    padding: 0 28px !important;
    border-radius: 10px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}
.single-product .single_add_to_cart_button:hover {
    background: #C40510 !important;
    box-shadow: 0 4px 14px rgba(227, 6, 19, 0.25) !important;
    transform: translateY(-1px) !important;
}
.single-product .wd-buy-now-btn {
    background: #1A1A1F !important;
    color: #FFFFFF !important;
    height: 48px !important;
    padding: 0 24px !important;
    border-radius: 10px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.single-product .wd-buy-now-btn:hover {
    background: #2E2E38 !important;
    transform: translateY(-1px) !important;
}

/* 8. Modern Tabs Styling */
.single-product .woocommerce-tabs {
    margin-top: 48px !important;
}
.single-product .woocommerce-tabs ul.tabs {
    background: #F4F4F7 !important;
    border-radius: 14px !important;
    padding: 6px !important;
    display: inline-flex !important;
    gap: 6px !important;
    border: none !important;
    margin-bottom: 24px !important;
}
.single-product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: transparent !important;
    border-radius: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.single-product .woocommerce-tabs ul.tabs li a {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #6E6E77 !important;
    padding: 10px 22px !important;
    display: block !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
}
.single-product .woocommerce-tabs ul.tabs li:hover a {
    color: #1A1A1F !important;
}
.single-product .woocommerce-tabs ul.tabs li.active {
    background: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
.single-product .woocommerce-tabs ul.tabs li.active a {
    color: #E30613 !important;
    font-weight: 700 !important;
}
.single-product .woocommerce-Tabs-panel {
    background: #FFFFFF !important;
    border: 1px solid #EDEDF2 !important;
    border-radius: 18px !important;
    padding: 32px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
}

/* 9. Specifications Table Styling */
.single-product .shop_attributes,
.single-product .mb-demo-spec-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #EDEDF2 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 16px 0 !important;
}
.single-product .shop_attributes tr,
.single-product .mb-demo-spec-table tr {
    transition: background 0.15s ease !important;
}
.single-product .shop_attributes tr:nth-child(even),
.single-product .mb-demo-spec-table tr:nth-child(even) {
    background: #F9F9FB !important;
}
.single-product .shop_attributes th,
.single-product .mb-demo-spec-table th {
    width: 32% !important;
    padding: 14px 18px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #55555F !important;
    border-bottom: 1px solid #EDEDF2 !important;
    border-top: none !important;
    background: transparent !important;
    text-align: right !important;
}
.single-product .shop_attributes td,
.single-product .mb-demo-spec-table td {
    padding: 14px 18px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #1A1A1F !important;
    border-bottom: 1px solid #EDEDF2 !important;
    border-top: none !important;
    line-height: 1.6 !important;
}
.single-product .shop_attributes tr:last-child th,
.single-product .shop_attributes tr:last-child td,
.single-product .mb-demo-spec-table tr:last-child th,
.single-product .mb-demo-spec-table tr:last-child td {
    border-bottom: none !important;
}

/* 10. Editorial Review, Pros & Cons Cards */
.single-product .mb-pros-cons-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin: 20px 0 !important;
}
.single-product .mb-pros-card,
.single-product .spec-pros {
    background: #F4FBF7 !important;
    border: 1px solid #C6F0D9 !important;
    border-radius: 12px !important;
    padding: 18px 22px !important;
}
.single-product .mb-cons-card,
.single-product .spec-cons {
    background: #FFF6F6 !important;
    border: 1px solid #FED7D7 !important;
    border-radius: 12px !important;
    padding: 18px 22px !important;
}
.single-product .mb-pros-card h4,
.single-product .spec-pros h4 {
    color: #0E6245 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}
.single-product .mb-cons-card h4,
.single-product .spec-cons h4 {
    color: #9B1C1C !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}
.single-product .mb-pros-card ul,
.single-product .mb-cons-card ul {
    margin: 0 !important;
    padding-right: 18px !important;
}
.single-product .mb-pros-card li,
.single-product .mb-cons-card li {
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #33333A !important;
    margin-bottom: 4px !important;
}

/* 11. FAQ Accordions (<details>) */
.single-product details {
    background: #FFFFFF !important;
    border: 1px solid #EDEDF2 !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
    padding: 14px 18px !important;
    transition: all 0.2s ease !important;
}
.single-product details[open] {
    border-color: #D6D6E0 !important;
    background: #FAFAFC !important;
}
.single-product details summary {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
    cursor: pointer !important;
    user-select: none !important;
}
.single-product details p {
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #55555F !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
}

/* 12. Customer Reviews Polish */
.single-product #reviews ol.commentlist {
    padding: 0 !important;
    list-style: none !important;
}
.single-product #reviews ol.commentlist li {
    border-bottom: 1px solid #EDEDF2 !important;
    padding: 20px 0 !important;
}
.single-product #reviews ol.commentlist li:last-child {
    border-bottom: none !important;
}
.single-product .comment-text .meta {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
    margin-bottom: 8px !important;
}
.single-product .woocommerce-review__verified.verified {
    color: #00875A !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    background: #E3FCEF !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    margin-right: 8px !important;
}
.single-product .comment-text .description {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #4A4A52 !important;
}

/* 13. Responsive Optimization */
@media (max-width: 900px) {
    .single-product .woocommerce-tabs ul.tabs {
        width: 100% !important;
        flex-wrap: wrap !important;
    }
    .single-product .mb-pros-cons-grid {
        grid-template-columns: 1fr !important;
    }
    .single-product .shop_attributes th,
    .single-product .mb-demo-spec-table th {
        width: 40% !important;
    }
}
@media (max-width: 640px) {
    .single-product .woocommerce-product-gallery {
        padding: 10px !important;
        border-radius: 14px !important;
    }
    .single-product .product_title {
        font-size: 20px !important;
    }
    .single-product .summary .price {
        padding: 10px 12px !important;
    }
    .single-product .summary .price ins,
    .single-product .summary .price > .amount:last-child {
        font-size: 20px !important;
    }
    .single-product .single_add_to_cart_button {
        width: 100% !important;
    }
    .single-product .wd-buy-now-btn {
        width: 100% !important;
        margin-right: 0 !important;
        margin-top: 8px !important;
    }
    .single-product .quantity {
        width: 100% !important;
        justify-content: center !important;
        margin-bottom: 8px !important;
    }
    .single-product .woocommerce-Tabs-panel {
        padding: 18px 14px !important;
        border-radius: 14px !important;
    }
}

/* ==========================================================================
   Phase 3 Refinements: Video Review, Grouped Specs & Card Buttons
   ========================================================================== */

/* 1. Video Review Section (Strictly Brand-Compliant, No Gradients, Solid Surfaces) */
.mb-product-video-section {
    background: #FFFFFF !important;
    border: 1px solid #EDEDF2 !important;
    border-radius: 18px !important;
    padding: 24px !important;
    margin: 40px 0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
}
.mb-video-section-header {
    margin-bottom: 18px !important;
}
.mb-video-section-kicker {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #E30613 !important;
    display: inline-block !important;
    margin-bottom: 4px !important;
}
.mb-video-section-title {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    margin: 0 !important;
}
.mb-video-container {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    background: #1A1A1F !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}
.mb-video-poster {
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.mb-video-poster.is-hidden {
    display: none !important;
}
.mb-video-overlay-bar {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    background: #1A1A1F !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border: 1px solid #2E2E38 !important;
}
.mb-video-tag {
    background: #E30613 !important;
    color: #FFFFFF !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
}
.mb-video-name {
    color: #FFFFFF !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}
.mb-video-play-button {
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    background: #E30613 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
    padding: 0 !important;
}
.mb-video-play-button:hover {
    background: #C40510 !important;
    transform: scale(1.06) !important;
}
.mb-video-play-button svg {
    margin-right: -3px !important;
}
.mb-video-iframe-slot {
    display: none;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* 2. Grouped Technical Specifications Table Styling */
.single-product .mb-demo-spec-table tr.mb-spec-group-row td {
    background: #F4F4F7 !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    padding: 12px 18px !important;
    border-top: 1.5px solid #E5E5EB !important;
    border-bottom: 1px solid #EDEDF2 !important;
}

/* 3. Related & Upsells Product Card Styling (Eliminate Default Blue Buttons) */
.product-grid-item .wd-add-btn > a,
.product-grid-item .add_to_cart_button,
.wd-hover-fw-button .wd-add-btn > a,
.upsells-carousel .add_to_cart_button,
.related-products .add_to_cart_button,
.wd-carousel-container .add_to_cart_button {
    background-color: #E30613 !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-weight: 600 !important;
    transition: background-color 0.2s ease !important;
}
.product-grid-item .wd-add-btn > a:hover,
.product-grid-item .add_to_cart_button:hover,
.wd-hover-fw-button .wd-add-btn > a:hover,
.upsells-carousel .add_to_cart_button:hover,
.related-products .add_to_cart_button:hover,
.wd-carousel-container .add_to_cart_button:hover {
    background-color: #C40510 !important;
}

/* 4. Responsive Video Section */
@media (max-width: 640px) {
    .mb-product-video-section {
        padding: 14px !important;
        border-radius: 14px !important;
        margin: 28px 0 !important;
    }
    .mb-video-play-button {
        width: 52px !important;
        height: 52px !important;
    }
    .mb-video-play-button svg {
        width: 22px !important;
        height: 22px !important;
    }
    .mb-video-overlay-bar {
        top: 8px !important;
        right: 8px !important;
        padding: 4px 8px !important;
    }
}


/* --- CONTINUOUS FLOW & SECTION ANCHOR NAV --- */
.woocommerce-tabs.tabs-layout-tabs .woocommerce-Tabs-panel--description,
.woocommerce-tabs.tabs-layout-tabs .woocommerce-Tabs-panel--reviews {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-bottom: 40px !important;
}
.woocommerce-tabs .wd-nav-tabs {
    position: sticky !important;
    top: 75px !important;
    z-index: 50 !important;
    background: #FFFFFF !important;
    padding: 12px 0 !important;
    border-bottom: 2px solid #EEEEF2 !important;
    margin-bottom: 30px !important;
    display: flex !important;
    gap: 8px !important;
    list-style: none !important;
}
.woocommerce-tabs .wd-nav-tabs li {
    margin: 0 !important;
}
.woocommerce-tabs .wd-nav-tabs li a {
    display: inline-block !important;
    padding: 8px 16px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #555562 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}
.woocommerce-tabs .wd-nav-tabs li.active a,
.woocommerce-tabs .wd-nav-tabs li.active a .wd-tabs-title {
    color: #E30613 !important;
    background: #FFF0F1 !important;
    font-weight: 700 !important;
}
.woocommerce-tabs .wd-nav-tabs li a:hover {
    color: #E30613 !important;
    background: #FFF5F5 !important;
}
.mb-anchor-point {
    display: block !important;
    position: relative !important;
    top: -110px !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   Phase 3: Editorial Spacing & Review Polish
   ========================================================================== */

/* 1. Editorial Section Spacing & Hierarchy */
.single-product .mb-demo-pros-cons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin: 36px 0 !important;
}
.single-product .mb-pros-card {
    background: #F4FBF7 !important;
    border: 1.5px solid #C6F0D9 !important;
    border-radius: 14px !important;
    padding: 22px 26px !important;
    margin: 0 !important;
}
.single-product .mb-cons-card {
    background: #FFF6F6 !important;
    border: 1.5px solid #FED7D7 !important;
    border-radius: 14px !important;
    padding: 22px 26px !important;
    margin: 0 !important;
}
.single-product .mb-pros-card h4 {
    color: #0E6245 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}
.single-product .mb-cons-card h4 {
    color: #9B1C1C !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}
.single-product .mb-pros-card li,
.single-product .mb-cons-card li {
    font-size: 13.5px !important;
    line-height: 1.8 !important;
    color: #2D2D35 !important;
    margin-bottom: 6px !important;
}

/* Expert Verdict */
.single-product .mb-demo-copy h2:first-of-type + p,
.single-product .mb-editorial-verdict {
    background: #F9F9FB !important;
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 16px !important;
    padding: 26px 30px !important;
    margin: 32px 0 40px !important;
    font-size: 14.5px !important;
    line-height: 1.9 !important;
    color: #2E2E38 !important;
}

/* FAQ Spacing */
.single-product .mb-demo-copy h2:last-of-type {
    margin-top: 48px !important;
    margin-bottom: 18px !important;
    padding-top: 24px !important;
    border-top: 1px solid #EDEDF2 !important;
}
.single-product details {
    background: #FFFFFF !important;
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
    padding: 16px 20px !important;
    transition: border-color 0.2s ease !important;
}
.single-product details[open] {
    border-color: #D6D6E0 !important;
    background: #FAFAFC !important;
}

/* 2. Review Summary Layout */
.single-product .wd-rating-summary {
    background: #F9F9FB !important;
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 18px !important;
    padding: 28px 32px !important;
    display: flex !important;
    align-items: center !important;
    gap: 40px !important;
    margin-bottom: 32px !important;
}
.single-product .wd-rating-summary-main {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 46px !important;
    font-weight: 800 !important;
    color: #1A1A1F !important;
    line-height: 1 !important;
    margin-bottom: 8px !important;
}
.single-product .wd-rating-summary-total {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    color: #71717A !important;
    font-weight: 500 !important;
}
.single-product .wd-rating-summary-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 8px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
}
.single-product .progress-area {
    background: #EBEBEF !important;
    border-radius: 9999px !important;
    height: 8px !important;
    flex: 1 !important;
    overflow: hidden !important;
}
.single-product .progress-bar {
    background: #FFA41C !important;
    height: 100% !important;
    border-radius: 9999px !important;
}

/* 3. Review Dates & Verified Badge */
.single-product .woocommerce-review__published-date {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 12.5px !important;
    color: #71717A !important;
}

/* 4. Review Form Polish (No Blue Button) */
.single-product #respond {
    background: #FFFFFF !important;
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 18px !important;
    padding: 28px 32px !important;
    margin-top: 36px !important;
}
.single-product #respond textarea#comment {
    border: 1.5px solid #E0E0E6 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    width: 100% !important;
    transition: border-color 0.2s ease !important;
}
.single-product #respond textarea#comment:focus {
    border-color: #E30613 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08) !important;
}
.single-product #respond input#pros {
    border: 1.5px solid #C6F0D9 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    background: #F4FBF7 !important;
    font-family: Vazirmatn, sans-serif !important;
}
.single-product #respond input#cons {
    border: 1.5px solid #FED7D7 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    background: #FFF6F6 !important;
    font-family: Vazirmatn, sans-serif !important;
}
.single-product #respond #submit,
.single-product .comment-respond .submit {
    background-color: #E30613 !important;
    color: #FFFFFF !important;
    height: 48px !important;
    padding: 0 36px !important;
    border-radius: 10px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}
.single-product #respond #submit:hover,
.single-product .comment-respond .submit:hover {
    background-color: #C40510 !important;
    transform: translateY(-1px) !important;
}

/* 5. Mobile Responsiveness */
@media (max-width: 768px) {
    .single-product .mb-demo-pros-cons {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .single-product .wd-rating-summary {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        padding: 20px !important;
    }
    .single-product #respond {
        padding: 20px !important;
    }
}

/* Force Sidebar Filter Lists to Always be Visible (Un-collapsed) */
.sidebar-widget.wd-widget-collapse .wd-filter-list,
.sidebar-widget.wd-widget-collapse .wd-scroll,
.sidebar-widget.wd-widget-collapse .widget-content {
	display: block !important;
	height: auto !important;
	max-height: none !important;
	visibility: visible !important;
	opacity: 1 !important;
}
.sidebar-widget.wd-widget-collapse .widget-title:after,
.sidebar-widget.wd-widget-collapse .widget-title .wd-tools-icon {
	display: none !important;
}\n
/* ==========================================================================
   Phase 5: Cart + Checkout + Order Flow (Mobile Bastani)
   Brand Red #E30613, Charcoal #1A1A1F, Neutral Greys #F7F7F8/#DFDFE6, Vazirmatn
   ========================================================================== */

/* Strict Toolbar Hide on Cart & Checkout */
body.woocommerce-cart .wd-toolbar,
body.woocommerce-checkout .wd-toolbar,
body.woocommerce-order-received .wd-toolbar,
.woocommerce-cart .wd-toolbar,
.woocommerce-checkout .wd-toolbar,
.woocommerce-order-received .wd-toolbar {
    display: none !important;
}
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-order-received {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* 2. Mini Cart Drawer (.cart-widget-side) */
.cart-widget-side {
    font-family: 'Vazirmatn', sans-serif !important;
}
.cart-widget-side .widget-heading {
    border-bottom: 1.5px solid #EDEDF2 !important;
    padding: 16px 20px !important;
}
.cart-widget-side .widget-heading .title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
}
.cart-widget-side .woocommerce-mini-cart-item {
    border-bottom: 1px solid #F0F0F4 !important;
    padding: 14px 20px !important;
    position: relative !important;
}
.cart-widget-side .cart-item-image {
    border-radius: 8px !important;
    border: 1px solid #EDEDF2 !important;
    overflow: hidden !important;
    width: 64px !important;
    height: 64px !important;
    flex-shrink: 0 !important;
}
.cart-widget-side .cart-item-image img {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
}
.cart-widget-side .cart-info .wd-entities-title {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
    line-height: 1.5 !important;
}
.cart-widget-side .cart-info .wd-product-sku {
    font-size: 11px !important;
    color: #8E8E93 !important;
    margin-top: 2px !important;
}
.cart-widget-side .cart-info .quantity {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
}
.cart-widget-side .remove_from_cart_button {
    color: #8E8E93 !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}
.cart-widget-side .remove_from_cart_button:hover {
    color: #E30613 !important;
    transform: scale(1.15) !important;
}
.cart-widget-side .woocommerce-mini-cart__total {
    border-top: 1.5px solid #EDEDF2 !important;
    padding: 16px 20px !important;
    background: #F9F9FB !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
}
.cart-widget-side .woocommerce-mini-cart__total strong {
    font-weight: 700 !important;
    color: #1A1A1F !important;
}
.cart-widget-side .woocommerce-mini-cart__total .amount {
    color: #1A1A1F !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}
.cart-widget-side .woocommerce-mini-cart__buttons {
    padding: 14px 20px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.cart-widget-side .woocommerce-mini-cart__buttons a.button.checkout {
    background-color: #E30613 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    height: 46px !important;
    line-height: 46px !important;
    padding: 0 20px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-align: center !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
    border: none !important;
    box-shadow: none !important;
}
.cart-widget-side .woocommerce-mini-cart__buttons a.button.checkout:hover {
    background-color: #C40510 !important;
    transform: translateY(-1px) !important;
}
.cart-widget-side .woocommerce-mini-cart__buttons a.button.btn-cart {
    background-color: #FFFFFF !important;
    background-image: none !important;
    color: #1A1A1F !important;
    border: 1.5px solid #DFDFE6 !important;
    height: 44px !important;
    line-height: 42px !important;
    padding: 0 20px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-align: center !important;
    transition: border-color 0.2s ease, color 0.2s ease !important;
    box-shadow: none !important;
}
.cart-widget-side .woocommerce-mini-cart__buttons a.button.btn-cart:hover {
    border-color: #1A1A1F !important;
    color: #000000 !important;
}

/* 3. Cart Page (.woocommerce-cart) */
.woocommerce-cart {
    font-family: 'Vazirmatn', sans-serif !important;
}
.woocommerce-cart .woocommerce-cart-form {
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 14px !important;
    background: #FFFFFF !important;
    overflow: hidden !important;
}
.woocommerce-cart .shop_table.cart th {
    background-color: #F8F8FA !important;
    color: #1A1A1F !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    padding: 14px 16px !important;
    border-bottom: 1.5px solid #EDEDF2 !important;
}
.woocommerce-cart .shop_table.cart td {
    padding: 16px !important;
    border-bottom: 1px solid #F0F0F4 !important;
    vertical-align: middle !important;
}
.woocommerce-cart .shop_table.cart .product-thumbnail img {
    border-radius: 8px !important;
    border: 1px solid #EDEDF2 !important;
    width: 68px !important;
    height: 68px !important;
    object-fit: contain !important;
}
.woocommerce-cart .shop_table.cart .product-name a {
    color: #1A1A1F !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: color 0.2s ease !important;
}
.woocommerce-cart .shop_table.cart .product-name a:hover {
    color: #E30613 !important;
}
.woocommerce-cart .shop_table.cart .product-price,
.woocommerce-cart .shop_table.cart .product-subtotal {
    font-weight: 700 !important;
    color: #1A1A1F !important;
    font-size: 14.5px !important;
}
.woocommerce-cart .shop_table.cart .product-remove a.remove {
    color: #8E8E93 !important;
    font-size: 0 !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}
.woocommerce-cart .shop_table.cart .product-remove a.remove:hover {
    color: #E30613 !important;
    transform: scale(1.2) !important;
}

/* Quantity controls in cart & checkout */
.woocommerce-cart .quantity,
.woocommerce-checkout .quantity,
.cart-widget-side .quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 1.5px solid #DFDFE6 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
}
.woocommerce-cart .quantity input.qty,
.woocommerce-checkout .quantity input.qty,
.cart-widget-side .quantity input.qty {
    width: 44px !important;
    height: 40px !important;
    border: none !important;
    text-align: center !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #1A1A1F !important;
    background: transparent !important;
    padding: 0 !important;
}
.woocommerce-cart .quantity .btn,
.woocommerce-checkout .quantity .btn,
.cart-widget-side .quantity .btn {
    width: 36px !important;
    height: 40px !important;
    background: #F8F8FA !important;
    border: none !important;
    color: #1A1A1F !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s ease !important;
    padding: 0 !important;
}
.woocommerce-cart .quantity .btn:hover,
.woocommerce-checkout .quantity .btn:hover,
.cart-widget-side .quantity .btn:hover {
    background: #EFEFF2 !important;
}

/* Coupon UI */
.woocommerce-cart .coupon {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    padding: 16px !important;
}
.woocommerce-cart .coupon input.input-text {
    height: 44px !important;
    border: 1.5px solid #DFDFE6 !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 13.5px !important;
    max-width: 220px !important;
    background: #FFFFFF !important;
    transition: border-color 0.2s ease !important;
}
.woocommerce-cart .coupon input.input-text:focus {
    border-color: #E30613 !important;
    outline: none !important;
}
.woocommerce-cart .coupon button.button {
    height: 44px !important;
    background: #1A1A1F !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0 20px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}
.woocommerce-cart .coupon button.button:hover {
    background: #333338 !important;
}

/* Cart Totals Box */
.woocommerce-cart .cart_totals {
    background: #F9F9FB !important;
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 14px !important;
    padding: 22px !important;
}
.woocommerce-cart .cart_totals h2 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    border-bottom: 1.5px solid #EDEDF2 !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
}
.woocommerce-cart .cart_totals table.shop_table {
    border: none !important;
    margin-bottom: 18px !important;
}
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
    padding: 10px 0 !important;
    border-bottom: 1px solid #EDEDF2 !important;
    font-size: 14px !important;
}
.woocommerce-cart .cart_totals table.shop_table th {
    color: #6E6E73 !important;
    font-weight: 500 !important;
}
.woocommerce-cart .cart_totals table.shop_table td {
    text-align: left !important;
    color: #1A1A1F !important;
    font-weight: 700 !important;
}
.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
    border-bottom: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    padding-top: 14px !important;
}

/* Primary Cart Checkout Button - ZERO BLUE! */
.woocommerce-cart .checkout-button.button.alt,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background-color: #E30613 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    height: 48px !important;
    line-height: 48px !important;
    border-radius: 10px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}
.woocommerce-cart .checkout-button.button.alt:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #C40510 !important;
    transform: translateY(-1px) !important;
}

/* 4. Checkout Page (.woocommerce-checkout) */
.woocommerce-checkout {
    font-family: 'Vazirmatn', sans-serif !important;
}

/* Section Headings in WoodMart Elementor Builder */
.woocommerce-checkout h4.woodmart-title-container.title {
    color: #1A1A1F !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    font-family: 'Vazirmatn', sans-serif !important;
    border-bottom: 1.5px solid #EDEDF2 !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
}

/* Billing form inputs */
.woocommerce-checkout .woocommerce-billing-fields input.input-text,
.woocommerce-checkout .woocommerce-billing-fields select,
.woocommerce-checkout .woocommerce-billing-fields textarea {
    height: 44px !important;
    border: 1.5px solid #DFDFE6 !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 13.5px !important;
    color: #1A1A1F !important;
    background: #FFFFFF !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.woocommerce-checkout .woocommerce-billing-fields textarea {
    height: 90px !important;
    padding: 10px 14px !important;
}
.woocommerce-checkout .woocommerce-billing-fields input.input-text:focus,
.woocommerce-checkout .woocommerce-billing-fields select:focus,
.woocommerce-checkout .woocommerce-billing-fields textarea:focus {
    border-color: #E30613 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08) !important;
}
.woocommerce-checkout .woocommerce-billing-fields label {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
    margin-bottom: 6px !important;
}
.woocommerce-checkout .woocommerce-billing-fields .required {
    color: #E30613 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Review Order Table */
.woocommerce-checkout .woocommerce-checkout-review-order-table {
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
    margin-bottom: 20px !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table th {
    background-color: #F8F8FA !important;
    color: #1A1A1F !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #EDEDF2 !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 14px 16px !important;
    border-bottom: 1px solid #F0F0F4 !important;
    vertical-align: middle !important;
    font-size: 13.5px !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
    background: transparent !important;
    color: #6E6E73 !important;
    font-weight: 500 !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
    text-align: left !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    border-bottom: none !important;
}

/* Review table remove item button */
.woocommerce-checkout .wd-checkout-remove-btn {
    color: #8E8E93 !important;
    font-size: 16px !important;
    transition: color 0.2s ease !important;
}
.woocommerce-checkout .wd-checkout-remove-btn:hover {
    color: #E30613 !important;
}

/* Place Order CTA Button - ZERO BLUE! */
.woocommerce-checkout #place_order.button.alt,
.woocommerce-checkout button#place_order {
    background-color: #E30613 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    height: 48px !important;
    line-height: 48px !important;
    border-radius: 10px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}
.woocommerce-checkout #place_order.button.alt:hover,
.woocommerce-checkout button#place_order:hover {
    background-color: #C40510 !important;
    transform: translateY(-1px) !important;
}

/* 5. Clean Notices & Alert States - Native Flow & RTL Geometry (Constraint 2) */
body.rtl :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) {
    position: relative !important;
    padding: 16px 65px 16px 24px !important;
    text-align: right !important;
    direction: rtl !important;
    font-family: 'Vazirmatn', sans-serif !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    box-sizing: border-box !important;
    margin-bottom: 20px !important;
}
body.rtl :is(.woocommerce-error, .woocommerce-message, .woocommerce-info)::before {
    position: absolute !important;
    right: 24px !important;
    top: 16px !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    color: #E30613 !important;
}

/* Error - Light Red */
.woocommerce-error {
    background-color: #FEF2F2 !important;
    border: 1.5px solid #FCA5A5 !important;
    color: #991B1B !important;
    list-style: none !important;
}
.woocommerce-error li {
    color: #991B1B !important;
    font-size: 13.5px !important;
}
/* Success - Light Green */
.woocommerce-message {
    background-color: #ECFDF5 !important;
    border: 1.5px solid #6EE7B7 !important;
    color: #065F46 !important;
}
.woocommerce-message::before {
    color: #059669 !important;
}
.woocommerce-message .button {
    background-color: #10B981 !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
/* Info - Neutral Calm Grey */
.woocommerce-info,
#payment .woocommerce-info {
    background-color: #F8F8FA !important;
    border: 1.5px solid #E5E7EB !important;
    color: #374151 !important;
}
.woocommerce-info::before {
    color: #E30613 !important;
}

/* 6. Order Received (Thank You) Page Polish */
body.woocommerce-order-received .wd-toolbar,
.woocommerce-order-received .wd-toolbar {
    display: none !important;
}
.woocommerce-order-received {
    font-family: 'Vazirmatn', sans-serif !important;
    direction: rtl !important;
}
.woocommerce-order-received .woocommerce-thankyou-order-received {
    background: #ECFDF5 !important;
    border: 1.5px solid #6EE7B7 !important;
    color: #065F46 !important;
    padding: 16px 24px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
}
.woocommerce-order-received ul.woocommerce-order-overview {
    background: #FFFFFF !important;
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 12px !important;
    padding: 18px 24px !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 16px !important;
    list-style: none !important;
    margin-bottom: 24px !important;
}
.woocommerce-order-received ul.woocommerce-order-overview li {
    border-left: 1px solid #EDEDF2 !important;
    padding-left: 16px !important;
    font-size: 13.5px !important;
    color: #6E6E73 !important;
}
.woocommerce-order-received ul.woocommerce-order-overview li:last-child {
    border-left: none !important;
}
.woocommerce-order-received ul.woocommerce-order-overview li strong {
    display: block !important;
    font-size: 15px !important;
    color: #1A1A1F !important;
    margin-top: 4px !important;
    font-weight: 700 !important;
}
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
    background: #FFFFFF !important;
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
}

/* 7. Mobile Responsiveness (max-width: 768px) */
@media (max-width: 768px) {
    .woocommerce-cart .shop_table.cart {
        display: block !important;
        border: none !important;
    }
    .woocommerce-cart .shop_table.cart thead {
        display: none !important;
    }
    .woocommerce-cart .shop_table.cart tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }
    .woocommerce-cart .shop_table.cart tr.cart_item {
        display: grid !important;
        grid-template-columns: 80px 1fr auto !important;
        grid-template-areas:
            "thumb name remove"
            "thumb price remove"
            "thumb qty total" !important;
        gap: 8px 12px !important;
        background: #FFFFFF !important;
        border: 1.5px solid #EDEDF2 !important;
        border-radius: 12px !important;
        padding: 14px !important;
        align-items: center !important;
    }
    .woocommerce-cart .shop_table.cart tr.cart_item .product-thumbnail {
        grid-area: thumb !important;
        padding: 0 !important;
        border: none !important;
    }
    .woocommerce-cart .shop_table.cart tr.cart_item .product-name {
        grid-area: name !important;
        padding: 0 !important;
        border: none !important;
        font-size: 13.5px !important;
    }
    .woocommerce-cart .shop_table.cart tr.cart_item .product-price {
        grid-area: price !important;
        padding: 0 !important;
        border: none !important;
        font-size: 13px !important;
        color: #6E6E73 !important;
    }
    .woocommerce-cart .shop_table.cart tr.cart_item .product-quantity {
        grid-area: qty !important;
        padding: 0 !important;
        border: none !important;
    }
    .woocommerce-cart .shop_table.cart tr.cart_item .product-subtotal {
        grid-area: total !important;
        padding: 0 !important;
        border: none !important;
        font-size: 14.5px !important;
        font-weight: 700 !important;
        text-align: left !important;
    }
    .woocommerce-cart .shop_table.cart tr.cart_item .product-remove {
        grid-area: remove !important;
        padding: 0 !important;
        border: none !important;
        text-align: left !important;
    }
    .woocommerce-cart .coupon {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .woocommerce-cart .coupon input.input-text {
        max-width: 100% !important;
        width: 100% !important;
    }
    .woocommerce-cart .coupon button.button {
        width: 100% !important;
    }
    .woocommerce-checkout .elementor-1650 .e-con-inner {
        flex-direction: column !important;
    }
    .woocommerce-checkout .elementor-element-5b69235,
    .woocommerce-checkout .elementor-element-bf9235e {
        width: 100% !important;
    }
}
/* ==========================================================================
   Phase 5.2 - Order Invoice Action Buttons & Card
   ========================================================================== */
.mb-invoice-actions-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	margin: 30px 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	direction: rtl;
	text-align: right;
}

.mb-invoice-card-header {
	flex: 1 1 320px;
}

.mb-invoice-icon-title {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mb-invoice-badge-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #fee2e2;
	color: #e30613;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mb-invoice-title {
	font-size: 17px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 4px 0;
}

.mb-invoice-subtitle {
	font-size: 13px;
	color: #64748b;
	margin: 0;
	line-height: 1.5;
}

.mb-invoice-buttons-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.mb-btn-invoice {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 12px 22px !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	cursor: pointer !important;
	white-space: nowrap !important;
}

.mb-btn-download {
	background-color: #e30613 !important;
	color: #ffffff !important;
	border: 1px solid #e30613 !important;
	box-shadow: 0 4px 14px rgba(227, 6, 19, 0.25) !important;
}

.mb-btn-download:hover,
.mb-btn-download:focus {
	background-color: #b90510 !important;
	border-color: #b90510 !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(227, 6, 19, 0.35) !important;
}

.mb-btn-print {
	background-color: #f8fafc !important;
	color: #1e293b !important;
	border: 1px solid #cbd5e1 !important;
}

.mb-btn-print:hover,
.mb-btn-print:focus {
	background-color: #f1f5f9 !important;
	border-color: #94a3b8 !important;
	color: #0f172a !important;
	transform: translateY(-1px);
}

/* My Account Orders Table Invoice Button */
.woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions a.mb_invoice {
	background-color: #f1f5f9 !important;
	color: #0f172a !important;
	border: 1px solid #cbd5e1 !important;
	font-weight: 600 !important;
	border-radius: 6px !important;
	margin-right: 4px !important;
}

.woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions a.mb_invoice:hover {
	background-color: #e30613 !important;
	border-color: #e30613 !important;
	color: #ffffff !important;
}

@media (max-width: 768px) {
	.mb-invoice-actions-card {
		padding: 20px;
		margin: 24px 0;
		flex-direction: column;
		align-items: stretch;
	}
	.mb-invoice-buttons-wrap {
		width: 100%;
		flex-direction: column;
	}
	.mb-btn-invoice {
		width: 100% !important;
		justify-content: center !important;
	}
}

/* ==========================================================================
   PHASE 6: MY ACCOUNT / CUSTOMER ACCOUNT UX
   Scoped strictly under body.woocommerce-account
   ========================================================================== */

/* 1. Global Layout & Typography in Customer Area */
body.woocommerce-account {
	background-color: #F9F9FB;
}

body.woocommerce-account .main-page-wrapper {
	padding-top: 30px;
	padding-bottom: 50px;
}

body.woocommerce-account .page-title {
	display: none;
}

/* Container wrapper styling */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
	box-sizing: border-box;
}

/* 2. Account Navigation (Sidebar) */
body.woocommerce-account .woocommerce-MyAccount-navigation {
	background: #FFFFFF;
	border: 1px solid #EBEBF0;
	border-radius: 14px;
	padding: 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
	margin-bottom: 24px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	margin: 0;
	padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: flex;
	align-items: center;
	padding: 12px 16px;
	border-radius: 10px;
	color: #1A1A1F;
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.2s ease;
	position: relative;
	min-height: 44px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	background-color: #F7F7F8;
	color: #E30613;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	background-color: rgba(227, 6, 19, 0.06);
	color: #E30613;
	font-weight: 700;
	border-right: 3px solid #E30613;
}

/* Customer Logout link styling */
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: #71717A;
	border-top: 1px solid #F4F4F5;
	margin-top: 6px;
	padding-top: 14px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	color: #E30613;
	background-color: #FFF1F2;
}

/* 3. Account Content Container */
body.woocommerce-account .woocommerce-MyAccount-content {
	background: #FFFFFF;
	border: 1px solid #EBEBF0;
	border-radius: 14px;
	padding: 28px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* Hide default WoodMart/WooCommerce account links grid if rendered outside dashboard */
body.woocommerce-account .woocommerce-MyAccount-content > ul.wd-my-account-links {
	display: none !important;
}

/* 4. Dashboard Components */
.mb-account-dashboard {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Customer Identity Card */
.mb-account-identity-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #FAFAFB;
	border: 1px solid #EBEBF0;
	border-radius: 12px;
	padding: 18px 24px;
	flex-wrap: wrap;
	gap: 16px;
}

.mb-identity-info {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mb-identity-avatar {
	width: 48px;
	height: 48px;
	background: #E30613;
	color: #FFFFFF;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	box-shadow: 0 2px 6px rgba(227, 6, 19, 0.25);
}

.mb-identity-details {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mb-identity-name {
	font-size: 16px;
	font-weight: 700;
	color: #1A1A1F;
	margin: 0;
	line-height: 1.4;
}

.mb-identity-email {
	font-size: 13px;
	color: #71717A;
	direction: ltr;
	text-align: right;
}

.mb-identity-logout-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	color: #71717A;
	background: #FFFFFF;
	border: 1px solid #E4E4E7;
	border-radius: 8px;
	padding: 8px 14px;
	text-decoration: none;
	transition: all 0.2s ease;
	min-height: 38px;
}

.mb-identity-logout-btn:hover {
	color: #E30613;
	border-color: #E30613;
	background: #FFF1F2;
}

/* Quick Shortcuts Grid */
.mb-account-shortcuts-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.mb-shortcut-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #FFFFFF;
	border: 1px solid #EBEBF0;
	border-radius: 12px;
	padding: 16px 20px;
	text-decoration: none;
	transition: all 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
	position: relative;
}

.mb-shortcut-card:hover {
	border-color: #D4D4D8;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	transform: translateY(-2px);
}

.mb-shortcut-icon {
	width: 44px;
	height: 44px;
	background: #F4F4F5;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1A1A1F;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.mb-shortcut-card:hover .mb-shortcut-icon {
	background: #FFF1F2;
	color: #E30613;
}

.mb-shortcut-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
}

.mb-shortcut-title {
	font-size: 15px;
	font-weight: 700;
	color: #1A1A1F;
}

.mb-shortcut-desc {
	font-size: 12px;
	color: #71717A;
	line-height: 1.4;
}

.mb-shortcut-arrow {
	font-size: 18px;
	color: #A1A1AA;
	font-weight: 300;
	transition: transform 0.2s ease;
}

.mb-shortcut-card:hover .mb-shortcut-arrow {
	transform: translateX(-3px);
	color: #E30613;
}

/* Recent Orders Section */
.mb-recent-orders-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 8px;
}

.mb-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #EBEBF0;
	padding-bottom: 12px;
}

.mb-section-title {
	font-size: 16px;
	font-weight: 700;
	color: #1A1A1F;
	margin: 0;
}

.mb-section-all-link {
	font-size: 13px;
	font-weight: 600;
	color: #E30613;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.mb-section-all-link:hover {
	color: #B8000B;
}

.mb-recent-orders-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mb-recent-order-card {
	background: #FAFAFB;
	border: 1px solid #EBEBF0;
	border-radius: 12px;
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: all 0.2s ease;
}

.mb-recent-order-card:hover {
	border-color: #D4D4D8;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.mb-ro-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}

.mb-ro-meta {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mb-ro-id {
	font-size: 14px;
	font-weight: 700;
	color: #1A1A1F;
}

.mb-ro-date {
	font-size: 13px;
	color: #71717A;
}

.mb-ro-body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0;
	border-top: 1px dashed #EBEBF0;
	border-bottom: 1px dashed #EBEBF0;
}

.mb-ro-total {
	display: flex;
	align-items: center;
	gap: 6px;
}

.mb-ro-total-label {
	font-size: 13px;
	color: #71717A;
}

.mb-ro-total-val {
	font-size: 14px;
	font-weight: 700;
	color: #1A1A1F;
}

.mb-ro-footer {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: flex-end;
}

.mb-btn-ro-view,
.mb-btn-ro-invoice {
	font-size: 13px;
	font-weight: 600;
	border-radius: 8px;
	padding: 8px 16px;
	text-decoration: none;
	transition: all 0.2s ease;
	min-height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.mb-btn-ro-view {
	background: #FFFFFF;
	color: #1A1A1F;
	border: 1px solid #D4D4D8;
}

.mb-btn-ro-view:hover {
	background: #F4F4F5;
	border-color: #A1A1AA;
}

.mb-btn-ro-invoice {
	background: #FFF1F2;
	color: #E30613;
	border: 1px solid rgba(227, 6, 19, 0.2);
}

.mb-btn-ro-invoice:hover {
	background: #E30613;
	color: #FFFFFF;
	border-color: #E30613;
}

/* 5. Status Badges */
.mb-status-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}

.mb-status-badge.status-completed {
	background: #E8F5E9;
	color: #2E7D32;
	border: 1px solid #C8E6C9;
}

.mb-status-badge.status-processing {
	background: #E3F2FD;
	color: #1565C0;
	border: 1px solid #BBDEFB;
}

.mb-status-badge.status-on-hold {
	background: #FFF8E1;
	color: #F57F17;
	border: 1px solid #FFECB3;
}

.mb-status-badge.status-pending {
	background: #FFF3E0;
	color: #E65100;
	border: 1px solid #FFE0B2;
}

.mb-status-badge.status-cancelled {
	background: #F5F5F5;
	color: #616161;
	border: 1px solid #E0E0E0;
}

.mb-status-badge.status-failed {
	background: #FFEBEE;
	color: #C62828;
	border: 1px solid #FFCDD2;
}

.mb-status-badge.status-refunded {
	background: #F3E5F5;
	color: #6A1B9A;
	border: 1px solid #E1BEE7;
}

/* 6. Empty State Card (Dashboard & Orders page) */
.mb-empty-orders-card {
	text-align: center;
	padding: 48px 24px;
	background: #FAFAFB;
	border: 1px dashed #D4D4D8;
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.mb-empty-icon {
	color: #A1A1AA;
	margin-bottom: 4px;
}

.mb-empty-title {
	font-size: 18px;
	font-weight: 700;
	color: #1A1A1F;
	margin: 0;
}

.mb-empty-sub {
	font-size: 14px;
	color: #71717A;
	margin: 0;
	max-width: 380px;
	line-height: 1.5;
}

.mb-empty-btn {
	background: #E30613;
	color: #FFFFFF !important;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 28px;
	border-radius: 10px;
	text-decoration: none;
	margin-top: 8px;
	transition: background 0.2s ease;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.mb-empty-btn:hover {
	background: #B8000B;
}

/* 7. Orders Table Polish (/my-account/orders/) */
body.woocommerce-account table.woocommerce-orders-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #EBEBF0;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 24px;
}

body.woocommerce-account table.woocommerce-orders-table th {
	background: #FAFAFB;
	color: #71717A;
	font-weight: 600;
	font-size: 13px;
	padding: 14px 16px;
	text-align: right;
	border-bottom: 1px solid #EBEBF0;
}

body.woocommerce-account table.woocommerce-orders-table td {
	padding: 16px;
	font-size: 14px;
	color: #1A1A1F;
	border-bottom: 1px solid #F4F4F5;
	vertical-align: middle;
}

body.woocommerce-account table.woocommerce-orders-table tr:last-child td {
	border-bottom: none;
}

body.woocommerce-account table.woocommerce-orders-table tr:hover td {
	background-color: #FAFAFB;
}

/* Action buttons in orders table */
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
	white-space: nowrap;
	text-align: left;
}

body.woocommerce-account table.woocommerce-orders-table .button {
	font-size: 12px !important;
	font-weight: 600 !important;
	padding: 8px 14px !important;
	border-radius: 8px !important;
	min-height: 36px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 2px !important;
}

body.woocommerce-account table.woocommerce-orders-table .button.view {
	background: #FFFFFF !important;
	color: #1A1A1F !important;
	border: 1px solid #D4D4D8 !important;
}

body.woocommerce-account table.woocommerce-orders-table .button.view:hover {
	background: #F4F4F5 !important;
	border-color: #A1A1AA !important;
}

body.woocommerce-account table.woocommerce-orders-table .button.mb_invoice {
	background: #FFF1F2 !important;
	color: #E30613 !important;
	border: 1px solid rgba(227, 6, 19, 0.25) !important;
}

body.woocommerce-account table.woocommerce-orders-table .button.mb_invoice:hover {
	background: #E30613 !important;
	color: #FFFFFF !important;
	border-color: #E30613 !important;
}

/* 8. View Order Page Polish (/my-account/view-order/) */
body.woocommerce-account .woocommerce-order-details {
	margin-top: 24px;
}

body.woocommerce-account .woocommerce-order-details__title {
	font-size: 18px;
	font-weight: 700;
	color: #1A1A1F;
	margin-bottom: 16px;
}

body.woocommerce-account p.order-info,
body.woocommerce-account .woocommerce-view-order > p:first-of-type {
	background: #FAFAFB;
	border: 1px solid #EBEBF0;
	border-radius: 10px;
	padding: 16px 20px;
	font-size: 14px;
	line-height: 1.8;
	color: #3F3F46;
}

body.woocommerce-account mark.order-number {
	background: transparent;
	font-weight: 700;
	color: #1A1A1F;
}

body.woocommerce-account mark.order-date {
	background: transparent;
	font-weight: 700;
	color: #E30613;
}

body.woocommerce-account mark.order-status {
	background: #E8F5E9;
	color: #2E7D32;
	padding: 2px 8px;
	border-radius: 6px;
	font-weight: 600;
	border: 1px solid #C8E6C9;
}

/* 9. Addresses Page Polish (/my-account/edit-address/) */
body.woocommerce-account .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 20px;
}

body.woocommerce-account .woocommerce-Address {
	background: #FAFAFB;
	border: 1px solid #EBEBF0;
	border-radius: 12px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

body.woocommerce-account .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	border-bottom: 1px solid #EBEBF0;
	padding-bottom: 12px;
}

body.woocommerce-account .woocommerce-Address-title h3 {
	font-size: 16px;
	font-weight: 700;
	color: #1A1A1F;
	margin: 0;
}

body.woocommerce-account .woocommerce-Address-title a.edit {
	font-size: 13px;
	font-weight: 600;
	color: #E30613;
	text-decoration: none;
	background: #FFF1F2;
	border: 1px solid rgba(227, 6, 19, 0.2);
	border-radius: 8px;
	padding: 6px 14px;
	transition: all 0.2s ease;
}

body.woocommerce-account .woocommerce-Address-title a.edit:hover {
	background: #E30613;
	color: #FFFFFF;
}

body.woocommerce-account address {
	font-style: normal;
	font-size: 14px;
	line-height: 1.8;
	color: #3F3F46;
	margin: 0;
}

.mb-no-address-notice {
	color: #8E8E93;
	font-style: italic;
	font-size: 13px;
}

/* 10. Form Polish (Address Edit & Account Details) */
body.woocommerce-account form .form-row {
	margin-bottom: 18px;
}

body.woocommerce-account form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #1A1A1F;
	margin-bottom: 6px;
}

body.woocommerce-account form input.input-text,
body.woocommerce-account form select {
	width: 100%;
	height: 46px;
	border: 1px solid #D4D4D8;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	background-color: #FFFFFF;
	color: #1A1A1F;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

body.woocommerce-account form input.input-text:focus,
body.woocommerce-account form select:focus {
	border-color: #E30613;
	outline: none;
	box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

/* Password Change Visual Separation in Edit Account */
body.woocommerce-account form.edit-account fieldset {
	background: #FAFAFB;
	border: 1px solid #EBEBF0;
	border-radius: 12px;
	padding: 24px;
	margin-top: 24px;
	margin-bottom: 24px;
}

body.woocommerce-account form.edit-account fieldset legend {
	font-size: 16px;
	font-weight: 700;
	color: #1A1A1F;
	padding: 0 10px;
	float: none;
	width: auto;
}

/* Submit Buttons in Forms */
body.woocommerce-account form .button,
body.woocommerce-account form button[type="submit"] {
	background-color: #E30613 !important;
	color: #FFFFFF !important;
	border: none !important;
	border-radius: 10px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	padding: 12px 28px !important;
	min-height: 46px !important;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

body.woocommerce-account form .button:hover,
body.woocommerce-account form button[type="submit"]:hover {
	background-color: #B8000B !important;
}

/* 11. Logged-Out Login / Register & Lost Password Polish */
body.woocommerce-account #customer_login {
	background: #FFFFFF;
	border: 1px solid #EBEBF0;
	border-radius: 14px;
	padding: 32px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
	margin: 0 auto;
	max-width: 960px;
}

body.woocommerce-account form.lost_reset_password {
	background: #FFFFFF;
	border: 1px solid #EBEBF0;
	border-radius: 14px;
	padding: 32px;
	max-width: 480px;
	margin: 0 auto;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

body.woocommerce-account .woocommerce-LostPassword a {
	color: #E30613;
	font-size: 13px;
	text-decoration: none;
}

body.woocommerce-account .woocommerce-LostPassword a:hover {
	text-decoration: underline;
}

/* 12. Alert Notices Styling (RTL-Safe) */
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
	border-radius: 10px;
	padding: 14px 44px 14px 16px !important;
	font-size: 13.5px;
	line-height: 1.6;
	margin-bottom: 20px;
	border-top: none;
	border-left: none;
	border-bottom: none;
}

body.woocommerce-account .woocommerce-message {
	background-color: #F0FDF4;
	color: #166534;
	border-right: 4px solid #22C55E;
}

body.woocommerce-account .woocommerce-error {
	background-color: #FEF2F2;
	color: #991B1B;
	border-right: 4px solid #EF4444;
}

body.woocommerce-account .woocommerce-info {
	background-color: #F8FAFC;
	color: #334155;
	border-right: 4px solid #94A3B8;
}

/* 13. Mobile Responsive Adaptations (~390px to 768px) */
@media (max-width: 768px) {
	body.woocommerce-account .woocommerce-MyAccount-navigation {
		margin-bottom: 16px;
		padding: 12px;
	}

	body.woocommerce-account .woocommerce-MyAccount-content {
		padding: 18px 14px;
	}

	/* Shortcuts Grid on Mobile */
	.mb-account-shortcuts-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.mb-shortcut-card {
		padding: 14px 16px;
	}

	/* Addresses Grid on Mobile */
	body.woocommerce-account .woocommerce-Addresses {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	/* Orders Table to Stacked Cards Transformation on Mobile */
	body.woocommerce-account table.woocommerce-orders-table {
		border: none;
		background: transparent;
	}

	body.woocommerce-account table.woocommerce-orders-table thead {
		display: none;
	}

	body.woocommerce-account table.woocommerce-orders-table tbody,
	body.woocommerce-account table.woocommerce-orders-table tr {
		display: block;
	}

	body.woocommerce-account table.woocommerce-orders-table tr {
		background: #FAFAFB;
		border: 1px solid #EBEBF0;
		border-radius: 12px;
		margin-bottom: 14px;
		padding: 16px;
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
	}

	body.woocommerce-account table.woocommerce-orders-table td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 10px 0;
		border-bottom: 1px solid #F4F4F5;
	}

	body.woocommerce-account table.woocommerce-orders-table td::before {
		content: attr(data-title);
		font-weight: 600;
		color: #71717A;
		font-size: 13px;
	}

	body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
		border-bottom: none;
		padding-top: 14px;
		padding-bottom: 0;
		justify-content: stretch;
		gap: 8px;
		flex-wrap: wrap;
	}

	body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before {
		display: none;
	}

	body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button {
		flex: 1 1 calc(50% - 4px);
		min-height: 42px !important;
		margin: 0 !important;
	}

	/* Identity card mobile */
	.mb-account-identity-card {
		padding: 16px;
	}

	.mb-identity-actions {
		width: 100%;
	}

	.mb-identity-logout-btn {
		width: 100%;
		justify-content: center;
	}
}


/* Hide generic dashboard greeting paragraphs on main dashboard */
body.woocommerce-account.woocommerce-page:not(.woocommerce-view-order):not(.woocommerce-orders):not(.woocommerce-edit-address):not(.woocommerce-edit-account) .woocommerce-MyAccount-content > p {
	display: none !important;
}


/* ==========================================================================
   Owner Demo Pass: Footer Contact & Contact Page Styles
   ========================================================================== */

/* Footer Contact Area */
.mb-footer__contact {
    margin-top: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.mb-footer__contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: #A0A0AB !important;
    line-height: 1.5 !important;
}
.mb-footer__contact-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
}
.mb-footer__contact-link {
    color: #E5E5EA !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
    font-weight: 500 !important;
}
.mb-footer__contact-link:hover {
    color: #E30613 !important;
}
.mb-footer__contact-text {
    color: #A0A0AB !important;
    font-size: 12.5px !important;
}

/* Contact Page (.mb-contact-page) */
.mb-contact-page {
    max-width: 1200px !important;
    margin: 40px auto 60px !important;
    padding: 0 20px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    direction: rtl !important;
}
.mb-contact-page__header {
    text-align: center !important;
    margin-bottom: 40px !important;
}
.mb-contact-page__title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #1A1A1F !important;
    margin-bottom: 8px !important;
}
.mb-contact-page__subtitle {
    font-size: 15px !important;
    color: #6B7280 !important;
    margin: 0 !important;
}
.mb-contact-page__grid {
    display: grid !important;
    grid-template-columns: 1fr 1.1fr !important;
    gap: 32px !important;
}
.mb-contact-card, .mb-contact-map-card {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 16px !important;
    padding: 28px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}
.mb-contact-card__heading {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    margin-bottom: 24px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #F3F4F6 !important;
    position: relative !important;
}
.mb-contact-card__heading::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    right: 0 !important;
    width: 32px !important;
    height: 2px !important;
    background: #E30613 !important;
}
.mb-contact-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    margin-bottom: 28px !important;
}
.mb-contact-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
}
.mb-contact-item__icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: #FEF2F2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
.mb-contact-item__content {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}
.mb-contact-item__label {
    font-size: 12px !important;
    color: #9CA3AF !important;
    font-weight: 500 !important;
}
.mb-contact-item__val {
    font-size: 14px !important;
    color: #1F2937 !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
}
.mb-contact-item__link {
    font-size: 15px !important;
    color: #1F2937 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}
.mb-contact-item__link:hover {
    color: #E30613 !important;
}
.mb-contact-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}
.mb-contact-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
}
.mb-contact-btn--primary {
    background: #E30613 !important;
    color: #FFFFFF !important;
}
.mb-contact-btn--primary:hover {
    background: #C4000B !important;
    color: #FFFFFF !important;
}
.mb-contact-btn--secondary {
    background: #1A1A1F !important;
    color: #FFFFFF !important;
}
.mb-contact-btn--secondary:hover {
    background: #2E2E36 !important;
    color: #FFFFFF !important;
}
.mb-contact-btn--outline {
    background: #F9FAFB !important;
    color: #374151 !important;
    border: 1px solid #D1D5DB !important;
}
.mb-contact-btn--outline:hover {
    background: #F3F4F6 !important;
    border-color: #9CA3AF !important;
    color: #111827 !important;
}
.mb-contact-map-card__header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    margin-bottom: 16px !important;
}
.mb-contact-map-card__badge {
    font-size: 12px !important;
    color: #E30613 !important;
    font-weight: 600 !important;
}
.mb-contact-map-wrapper {
    overflow: hidden !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
}
.mb-contact-map-footer {
    margin-top: 14px !important;
    font-size: 12.5px !important;
    color: #4B5563 !important;
    line-height: 1.6 !important;
}

@media (max-width: 900px) {
    .mb-footer__inner {
        grid-template-columns: 1fr 1fr !important;
        gap: 28px !important;
    }
    .mb-contact-page__grid {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 600px) {
    .mb-footer__inner {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .mb-contact-actions {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   Mobile Bastani - Premium Mobile Mega Navigation Drawer
   ========================================================================== */

.mobile-nav.mb-mega-drawer {
    background: #FFFFFF !important;
    color: #1A1A1F !important;
    font-family: 'Vazirmatn', sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
    width: 330px !important;
    max-width: 88vw !important;
    height: 100% !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    border-left: 1px solid #ECEEF1 !important;
    z-index: 99999 !important;
}

.mobile-nav.mb-mega-drawer * {
    box-sizing: border-box !important;
    font-family: 'Vazirmatn', sans-serif !important;
}

/* 1. Header / Top Bar */
.mb-mega-drawer__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 18px !important;
    border-bottom: 1px solid #F0F2F5 !important;
    background: #FFFFFF !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
}

.mb-mega-drawer__brand img {
    display: block !important;
    height: 32px !important;
    width: auto !important;
    object-fit: contain !important;
}

.mb-mega-drawer__close {
    background: #F4F5F7 !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #4B5563 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.mb-mega-drawer__close:hover,
.mb-mega-drawer__close:active {
    background: #FEE2E2 !important;
    color: #E30613 !important;
}

/* 2. Instant Product Search */
.mb-mega-drawer__search-box {
    padding: 14px 18px 10px !important;
    background: #FFFFFF !important;
}

.mb-mega-drawer__search-form {
    display: flex !important;
    align-items: center !important;
    background: #F8F9FA !important;
    border: 1.5px solid #E5E7EB !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
}

.mb-mega-drawer__search-form:focus-within {
    border-color: #E30613 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08) !important;
}

.mb-mega-drawer__search-input {
    flex: 1 !important;
    height: 42px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: #1F2937 !important;
    direction: rtl !important;
}

.mb-mega-drawer__search-input::placeholder {
    color: #9CA3AF !important;
    font-size: 12px !important;
}

.mb-mega-drawer__search-submit {
    width: 42px !important;
    height: 42px !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6B7280 !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: color 0.15s ease !important;
}

.mb-mega-drawer__search-form:focus-within .mb-mega-drawer__search-submit {
    color: #E30613 !important;
}

/* 3. Quick Discovery Pills */
.mb-mega-drawer__pills {
    display: flex !important;
    gap: 8px !important;
    padding: 6px 18px 14px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    border-bottom: 1px solid #F0F2F5 !important;
}

.mb-mega-drawer__pills::-webkit-scrollbar {
    display: none !important;
}

.mb-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    background: #F3F4F6 !important;
    color: #4B5563 !important;
    transition: all 0.2s ease !important;
    border: 1px solid transparent !important;
}

.mb-pill:hover,
.mb-pill:active {
    background: #E5E7EB !important;
    color: #111827 !important;
}

.mb-pill--special {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
    font-weight: 600 !important;
    border-color: #FECACA !important;
}

.mb-pill--special:hover {
    background: #FEE2E2 !important;
    color: #B91C1C !important;
}

.mb-pill__dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #E30613 !important;
    animation: mbPulse 1.8s infinite !important;
}

@keyframes mbPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* 4. Main Accordion Categories */
.mb-mega-drawer__categories {
    padding: 8px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.mb-accordion-item {
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: background 0.2s ease !important;
}

.mb-accordion-item.is-open {
    background: #F9FAFB !important;
}

.mb-accordion-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    background: transparent !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1F2937 !important;
    cursor: pointer !important;
    text-align: right !important;
    transition: all 0.15s ease !important;
    border-radius: 8px !important;
}

.mb-accordion-btn:hover {
    background: #F3F4F6 !important;
}

.mb-accordion-item.is-open .mb-accordion-btn {
    color: #E30613 !important;
}

.mb-accordion-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.mb-accordion-chevron {
    transition: transform 0.25s ease !important;
    color: #9CA3AF !important;
}

.mb-accordion-item.is-open .mb-accordion-chevron {
    transform: rotate(-90deg) !important;
    color: #E30613 !important;
}

.mb-accordion-panel {
    display: none !important;
    padding: 4px 14px 12px 14px !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.mb-accordion-item.is-open .mb-accordion-panel {
    display: flex !important;
}

.mb-sublink {
    display: block !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    color: #4B5563 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    transition: all 0.15s ease !important;
    font-weight: 400 !important;
}

.mb-sublink:hover,
.mb-sublink:active {
    background: #FFFFFF !important;
    color: #E30613 !important;
    font-weight: 500 !important;
    padding-right: 16px !important;
}

.mb-sublink--all {
    color: #E30613 !important;
    font-weight: 600 !important;
    background: #FEF2F2 !important;
    margin-bottom: 4px !important;
}

.mb-sublink--all:hover {
    background: #FEE2E2 !important;
}

/* 5. Popular Brands Section */
.mb-mega-drawer__brands-section {
    padding: 16px 18px 20px !important;
    border-top: 1px solid #F0F2F5 !important;
    border-bottom: 1px solid #F0F2F5 !important;
    margin-top: 8px !important;
}

.mb-mega-drawer__section-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #9CA3AF !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.mb-mega-drawer__brands-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
}

.mb-brand-chip {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 6px !important;
    background: #F9FAFB !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    text-align: center !important;
}

.mb-brand-chip:hover,
.mb-brand-chip:active {
    background: #FFFFFF !important;
    border-color: #E30613 !important;
    color: #E30613 !important;
    box-shadow: 0 2px 6px rgba(227, 6, 19, 0.08) !important;
}

/* 6. Footer / Contact Strip */
.mb-mega-drawer__footer {
    padding: 18px !important;
    background: #F9FAFB !important;
    margin-top: auto !important;
}

.mb-mega-drawer__footer-info {
    margin-bottom: 14px !important;
}

.mb-mega-drawer__footer-phone {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
}

.mb-mega-drawer__footer-phone a {
    color: #111827 !important;
    text-decoration: none !important;
    direction: ltr !important;
    unicode-bidi: embed !important;
}

.mb-mega-drawer__footer-phone a:hover {
    color: #E30613 !important;
}

.mb-mega-drawer__footer-address {
    font-size: 11.5px !important;
    color: #6B7280 !important;
    line-height: 1.5 !important;
}

.mb-mega-drawer__footer-actions {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
}

.mb-drawer-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 4px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.mb-drawer-btn--call {
    background: #E30613 !important;
    color: #FFFFFF !important;
}

.mb-drawer-btn--call:hover {
    background: #C4000B !important;
}

.mb-drawer-btn--insta {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    color: #D62976 !important;
}

.mb-drawer-btn--insta:hover {
    border-color: #D62976 !important;
    background: #FDF2F8 !important;
}

.mb-drawer-btn--map {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    color: #2563EB !important;
}

.mb-drawer-btn--map:hover {
    border-color: #2563EB !important;
    background: #EFF6FF !important;
}

.mb-drawer-btn--contact {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    color: #374151 !important;
}

.mb-drawer-btn--contact:hover {
    border-color: #374151 !important;
    background: #F3F4F6 !important;
}




/* ==========================================================================
   Phase 6: scoped storefront media normalization
   Assets provide their own optical margins: no extra CSS image padding.
   ========================================================================== */
body:not(.wp-admin):not(.woocommerce-account) .mb-card__img-wrap,
body:not(.wp-admin):not(.woocommerce-account) .product-grid-item .product-element-top,
body:not(.wp-admin):not(.woocommerce-account) .wd-products .product-element-top {
	display: grid !important;
	place-items: center !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #FFFFFF !important;
}
body:not(.wp-admin):not(.woocommerce-account) .mb-card__img-wrap > img,
body:not(.wp-admin):not(.woocommerce-account) .product-grid-item .product-element-top .product-image-link > img,
body:not(.wp-admin):not(.woocommerce-account) .wd-products .product-element-top .product-image-link > img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
	object-fit: contain !important;
	object-position: center;
	background: #FFFFFF;
}
body:not(.wp-admin):not(.woocommerce-account) .mb-hero__visual,
body:not(.wp-admin):not(.woocommerce-account) .mb-hero__img-wrap {
	display: grid !important;
	place-items: center !important;
	min-width: 0;
	overflow: hidden;
}
body:not(.wp-admin):not(.woocommerce-account) .mb-hero__img-wrap {
	aspect-ratio: 16 / 9;
	background: #FFFFFF !important;
}
body:not(.wp-admin):not(.woocommerce-account) .mb-hero__img {
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	padding: 0 !important;
	object-fit: contain !important;
	object-position: center;
}
body:not(.wp-admin):not(.woocommerce-account).single-product .woocommerce-product-gallery__image,
body:not(.wp-admin):not(.woocommerce-account).single-product .product-image-wrap,
body:not(.wp-admin):not(.woocommerce-account) .popup-quick-view .woocommerce-product-gallery__image,
body:not(.wp-admin):not(.woocommerce-account) .wd-popup-quick-view .woocommerce-product-gallery__image {
	display: grid !important;
	place-items: center !important;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #FFFFFF !important;
}
body:not(.wp-admin):not(.woocommerce-account).single-product .woocommerce-product-gallery__image img:not(.zoomImg),
body:not(.wp-admin):not(.woocommerce-account).single-product .product-image-wrap img:not(.zoomImg),
body:not(.wp-admin):not(.woocommerce-account) .popup-quick-view .woocommerce-product-gallery__image img:not(.zoomImg),
body:not(.wp-admin):not(.woocommerce-account) .wd-popup-quick-view .woocommerce-product-gallery__image img:not(.zoomImg) {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	padding: 0 !important;
	object-fit: contain !important;
	object-position: center;
	background: #FFFFFF;
}
body:not(.wp-admin):not(.woocommerce-account).single-product .wd-gallery-thumb .wd-carousel-item,
body:not(.wp-admin):not(.woocommerce-account).single-product .wd-gallery-thumb a {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #FFFFFF !important;
}
body:not(.wp-admin):not(.woocommerce-account).single-product .wd-gallery-thumb img,
body:not(.wp-admin):not(.woocommerce-account) .woocommerce-mini-cart-item .cart-item-image img,
body:not(.wp-admin):not(.woocommerce-account) .cart_item .product-thumbnail img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	padding: 0 !important;
	object-fit: contain !important;
	object-position: center;
	background: #FFFFFF;
}
@media (max-width: 767px) {
	body:not(.wp-admin):not(.woocommerce-account) .mb-hero__img-wrap { max-height: none !important; }
}

/* Phase 8.2 — Category 6-Tile Grid */
.mb-cat-grid--six {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.mb-cat-tile {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.mb-cat-tile:hover {
  transform: translateY(-3px);
  border-color: #e30613;
  box-shadow: 0 8px 20px rgba(227, 6, 19, 0.08);
}
.mb-cat-tile__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #111115;
  transition: all 0.25s ease;
}
.mb-cat-tile:hover .mb-cat-tile__icon-wrap {
  background: #fef2f2;
  color: #e30613;
}
.mb-cat-tile__title {
  font-size: 14px;
  font-weight: 700;
  color: #111115;
  margin: 0 0 4px 0;
  line-height: 1.3;
}
.mb-cat-tile__count {
  font-size: 11.5px;
  color: #71717a;
  font-weight: 500;
}

/* Phase 8.2 — Trust Pillars Strip */
.mb-trust-strip {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px 20px;
  margin: 32px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.mb-trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mb-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.mb-trust-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fef2f2;
  color: #e30613;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mb-trust-item__text {
  flex: 1;
}
.mb-trust-item__title {
  font-size: 14px;
  font-weight: 700;
  color: #111115;
  margin: 0 0 4px 0;
  line-height: 1.3;
}
.mb-trust-item__desc {
  font-size: 12px;
  color: #71717a;
  margin: 0;
  line-height: 1.45;
}

/* Phase 8.2 — Product Card Alignment & Polish */
.mb-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
  line-height: 1.4;
  margin-bottom: 8px;
}
.mb-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mb-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  margin-top: auto;
}
.mb-card__price del,
.mb-card__price .mb-card__regular {
  font-family: Sora, Vazirmatn, sans-serif;
  font-size: 12px;
  color: #a1a1aa;
  text-decoration: line-through;
}
.mb-card__price ins,
.mb-card__price .mb-card__current {
  font-family: Sora, Vazirmatn, sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #111115;
  text-decoration: none;
}

/* Phase 8.2 — Mobile Responsive Adjustments */
@media (max-width: 991px) {
  .mb-cat-grid--six {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .mb-trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .mb-hero {
    margin: 16px 0 20px !important;
    padding: 20px 14px !important;
    gap: 16px !important;
  }
  .mb-cat-grid--six {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .mb-cat-tile {
    padding: 14px 6px;
    border-radius: 12px;
  }
  .mb-cat-tile__icon-wrap {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
  }
  .mb-cat-tile__icon-wrap svg {
    width: 22px;
    height: 22px;
  }
  .mb-cat-tile__title {
    font-size: 12px;
  }
  .mb-cat-tile__count {
    font-size: 10px;
  }
  .mb-trust-strip {
    padding: 16px 14px;
    margin: 20px 0;
  }
  .mb-trust-strip__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* Product Grid container support for .mb-grid and .mb-grid--4 */
.mb-grid,
.mb-grid--4,
.mb-products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}
@media (max-width: 991px) {
  .mb-grid,
  .mb-grid--4,
  .mb-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}
@media (max-width: 480px) {
  .mb-grid,
  .mb-grid--4,
  .mb-products-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* === Mobile Bastani Lightweight Homepage Regression Patches === */

/* 2. BRAND SECTION — RESTORE CLEAN ROW-BASED LOGO PRESENTATION */
.mb-brand-strip {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
}

.mb-brand-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 22px 14px 18px !important;
    background: #FFFFFF !important;
    border: 1px solid #EDEDF2 !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
    min-height: 108px !important;
}

.mb-brand-card:hover {
    background: #FFFFFF !important;
    border-color: #E30613 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.08) !important;
}

.mb-brand-card__logo {
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
    color: #1A1A1F !important;
}

.mb-brand-card__logo svg {
    display: block !important;
    max-height: 38px !important;
    width: auto !important;
}

.mb-brand-card__label {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4A4A52 !important;
    text-align: center !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    transition: color 0.2s ease !important;
}

.mb-brand-card:hover .mb-brand-card__label {
    color: #E30613 !important;
}

@media (max-width: 900px) {
    .mb-brand-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

@media (max-width: 600px) {
    .mb-brand-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .mb-brand-strip .mb-brand-card:last-child {
        grid-column: span 2 !important;
    }
    .mb-brand-card {
        padding: 16px 10px 14px !important;
        min-height: 94px !important;
    }
    .mb-brand-card__logo {
        height: 34px !important;
        margin-bottom: 8px !important;
    }
    .mb-brand-card__logo svg {
        max-height: 34px !important;
    }
    .mb-brand-card__label {
        font-size: 12px !important;
    }
}

/* 3. EDITORIAL SECTION — POLISH SECONDARY CTA BUTTON */
.mb-spotlight__actions .mb-btn--outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4B4B52 !important;
    background: #FFFFFF !important;
    border: 1px solid #D1D1D6 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.mb-spotlight__actions .mb-btn--outline:hover {
    background: #F4F4F7 !important;
    color: #E30613 !important;
    border-color: #E30613 !important;
    box-shadow: 0 2px 8px rgba(227, 6, 19, 0.12) !important;
}

/* 4. SEARCH DROPDOWN MOBILE SPACING & ALIGNMENT */
.wd-search-results .screen-reader-text {
    display: none !important;
}

.wd-search-results .wd-suggestion {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid #F0F0F2 !important;
}

.wd-search-results .wd-suggestion:last-child {
    border-bottom: none !important;
}

.wd-search-results .wd-suggestion-thumb {
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #F9FAFB !important;
}

.wd-search-results .wd-suggestion-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.wd-search-results .wd-suggestion-info,
.wd-search-results .wd-suggestion-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.wd-search-results .wd-entities-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    margin: 0 0 4px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.wd-search-results .price {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #E30613 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

.wd-search-results .price .amount {
    color: #E30613 !important;
    font-size: 12px !important;
}


/* ==========================================================================
   MOBILE BASTANI STOREFRONT PRECISION PATCHES (FINAL 2026)
   ========================================================================== */

/* 1. Mobile Mega Drawer Header & Prominent Close Button */
.mobile-nav.mb-mega-drawer .mb-mega-drawer__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 18px !important;
    border-bottom: 1px solid #F0F2F5 !important;
    background: #FFFFFF !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__brand img {
    display: block !important;
    height: 34px !important;
    width: auto !important;
    object-fit: contain !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    background: #F4F4F6 !important;
    border: none !important;
    border-radius: 50% !important;
    color: #1A1A1F !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: static !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__close:hover,
.mobile-nav.mb-mega-drawer .mb-mega-drawer__close:focus {
    background: #E8E8EC !important;
    transform: scale(1.05) !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__close svg {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    stroke: #1A1A1F !important;
}

/* 2. Hide any residual search box inside mega drawer */
.mobile-nav.mb-mega-drawer .mb-mega-drawer__search-box {
    display: none !important;
}

/* 3. Quick Discovery Pills in 2x2 Grid (1fr 1fr) with Zero Clipping */
.mobile-nav.mb-mega-drawer .mb-mega-drawer__pills {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 12px 18px 14px !important;
    border-bottom: 1px solid #F0F2F5 !important;
    overflow: visible !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__pills .mb-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 10px 8px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    text-align: center !important;
    text-decoration: none !important;
    background: #F8F9FA !important;
    color: #1A1A1F !important;
    border: 1px solid #E5E7EB !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__pills .mb-pill:hover,
.mobile-nav.mb-mega-drawer .mb-mega-drawer__pills .mb-pill:active {
    background: #EEEEF2 !important;
    color: #000000 !important;
    border-color: #D1D5DB !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__pills .mb-pill--special {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
    border-color: #FECACA !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__pills .mb-pill--special:hover {
    background: #FEE2E2 !important;
    color: #B91C1C !important;
}

/* ==========================================================================
   Mobile Bastani: homepage-only visual repair
   Scope: page-id-2024 only. No Header, Shop, product, or Footer changes.
   ========================================================================== */
body.page-id-2024 .mb-hero {
  display: block !important;
  margin: 24px 0 40px !important;
  padding: clamp(26px, 4vw, 44px) !important;
  background: #1A1A1F !important;
  border: 2px solid #1A1A1F !important;
  border-block-start: 4px solid #E30613 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

body.page-id-2024 .mb-hero__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.94fr) !important;
  gap: clamp(24px, 4vw, 48px) !important;
  align-items: center !important;
  width: 100% !important;
}

body.page-id-2024 .mb-hero__content {
  min-width: 0 !important;
}

body.page-id-2024 .mb-hero__badge {
  background: #FFFFFF !important;
  border: 1px solid #E30613 !important;
  color: #E30613 !important;
}

body.page-id-2024 .mb-hero__title,
body.page-id-2024 .mb-hero__lead {
  color: #FFFFFF !important;
}

body.page-id-2024 .mb-hero__highlight {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 6px 12px !important;
  width: fit-content !important;
  max-width: 100% !important;
  padding: 12px 14px !important;
  margin: 0 0 20px !important;
  background: #FFFFFF !important;
  border: 1px solid #FFFFFF !important;
  border-radius: 12px !important;
}

body.page-id-2024 .mb-hero__highlight-badge,
body.page-id-2024 .mb-hero__highlight-price {
  color: #E30613 !important;
  font-weight: 800 !important;
}

body.page-id-2024 .mb-hero__highlight-name {
  margin: 0 !important;
  color: #1A1A1F !important;
}

body.page-id-2024 .mb-hero__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

body.page-id-2024 .mb-hero__actions .mb-btn--primary {
  background: #E30613 !important;
  border: 1px solid #E30613 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

body.page-id-2024 .mb-hero__actions .mb-btn--outline {
  background: #1A1A1F !important;
  border: 1px solid #FFFFFF !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

body.page-id-2024 .mb-hero__media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  background: #1A1A1F !important;
  border-radius: 0 !important;
}

body.page-id-2024 .mb-hero__media img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: 360px !important;
  object-fit: contain !important;
  filter: none !important;
  box-shadow: none !important;
  border-radius: 12px !important;
}

/* Repair clipped third-party vectors with stable typographic wordmarks. */
body.page-id-2024 .mb-cat-tile[href*="/samsung/"] .mb-cat-tile__icon-wrap svg,
body.page-id-2024 .mb-brand-card[href*="/samsung/"] .mb-brand-card__logo svg,
body.page-id-2024 .mb-brand-card[href*="/anker/"] .mb-brand-card__logo svg {
  display: none !important;
}

body.page-id-2024 .mb-cat-tile[href*="/samsung/"] .mb-cat-tile__icon-wrap::after,
body.page-id-2024 .mb-brand-card[href*="/samsung/"] .mb-brand-card__logo::after,
body.page-id-2024 .mb-brand-card[href*="/anker/"] .mb-brand-card__logo::after {
  display: block;
  color: #1A1A1F;
  font-family: Sora, Vazirmatn, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

body.page-id-2024 .mb-cat-tile[href*="/samsung/"] .mb-cat-tile__icon-wrap::after,
body.page-id-2024 .mb-brand-card[href*="/samsung/"] .mb-brand-card__logo::after {
  content: "SAMSUNG";
}

body.page-id-2024 .mb-brand-card[href*="/anker/"] .mb-brand-card__logo::after {
  content: "ANKER";
}

body.page-id-2024 .mb-brand-card[href*="/samsung/"] .mb-brand-card__logo,
body.page-id-2024 .mb-brand-card[href*="/anker/"] .mb-brand-card__logo {
  width: 100% !important;
}

body.page-id-2024 .mb-cat-tile[href*="/xiaomi/"] .mb-cat-tile__icon-wrap svg {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
}

body.page-id-2024 .mb-brand-card[href*="/xiaomi/"] .mb-brand-card__logo svg {
  display: block !important;
  width: 36px !important;
  height: 36px !important;
}

/* The normalized 1:1 S26 asset receives only a small optical correction. */
body.page-id-2024 .mb-card:has(img[alt="Samsung Galaxy S26 Ultra"]) .mb-card__img-wrap {
  background: #FFFFFF !important;
}

body.page-id-2024 .mb-card:has(img[alt="Samsung Galaxy S26 Ultra"]) .mb-card__img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transform: scale(1.08) !important;
  transform-origin: center !important;
}

body.page-id-2024 .mb-card:has(img[alt="Samsung Galaxy S26 Ultra"]):hover .mb-card__img {
  transform: scale(1.10) !important;
}

/* Final CTA: explicit, accessible contrast on the dark surface. */
body.page-id-2024 .mb-final-cta {
  background: #1A1A1F !important;
  border: 2px solid #1A1A1F !important;
  border-block-start: 4px solid #E30613 !important;
  box-shadow: none !important;
}

body.page-id-2024 .mb-final-cta__badge {
  color: #E30613 !important;
}

body.page-id-2024 .mb-final-cta__title,
body.page-id-2024 .mb-final-cta__lead {
  color: #FFFFFF !important;
}

body.page-id-2024 .mb-final-cta__actions .mb-btn--white {
  background: #FFFFFF !important;
  border: 1px solid #FFFFFF !important;
  color: #1A1A1F !important;
}

body.page-id-2024 .mb-final-cta__actions .mb-btn--outline-white {
  background: #1A1A1F !important;
  border: 1px solid #FFFFFF !important;
  color: #FFFFFF !important;
}

@media (max-width: 767px) {
  body.page-id-2024 .mb-hero {
    margin: 14px 0 30px !important;
    padding: 20px !important;
    border-radius: 16px !important;
  }

  body.page-id-2024 .mb-hero__inner {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }

  body.page-id-2024 .mb-hero__badge {
    align-self: flex-start !important;
    margin-bottom: 10px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
  }

  body.page-id-2024 .mb-hero__title {
    margin-bottom: 10px !important;
    font-size: clamp(23px, 7vw, 28px) !important;
    line-height: 1.4 !important;
  }

  body.page-id-2024 .mb-hero__lead {
    margin-bottom: 16px !important;
    font-size: 13px !important;
    line-height: 1.85 !important;
  }

  body.page-id-2024 .mb-hero__highlight {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 5px !important;
    width: 100% !important;
    padding: 14px !important;
    margin-bottom: 16px !important;
  }

  body.page-id-2024 .mb-hero__actions,
  body.page-id-2024 .mb-final-cta__actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  body.page-id-2024 .mb-hero__actions .mb-btn,
  body.page-id-2024 .mb-final-cta__actions .mb-btn {
    display: inline-flex !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 46px !important;
  }

  body.page-id-2024 .mb-hero__media img {
    width: 100% !important;
    max-width: 280px !important;
    max-height: 230px !important;
    margin: 0 auto !important;
  }
}

/* ==========================================================================
   Premium Home visual polish — 2026-09-22
   Scope: front page only. No content or structural changes.
   ========================================================================== */
@media (max-width: 480px) {
  body.page-id-2024 .mb-hero {
    margin: 12px 0 24px !important;
    padding: 18px !important;
    border-radius: 12px !important;
  }

  body.page-id-2024 .mb-hero__inner {
    gap: 16px !important;
  }

  body.page-id-2024 .mb-hero__title {
    font-size: clamp(22px, 6.6vw, 25px) !important;
    line-height: 1.45 !important;
  }

  body.page-id-2024 .mb-hero__lead {
    margin-bottom: 14px !important;
    line-height: 1.75 !important;
  }

  body.page-id-2024 .mb-hero__highlight {
    margin-bottom: 14px !important;
    padding: 12px !important;
    border-radius: 10px !important;
  }

  body.page-id-2024 .mb-hero__media img {
    max-width: 240px !important;
    max-height: 200px !important;
  }

  body.page-id-2024 .mb-grid,
  body.page-id-2024 .mb-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.page-id-2024 .mb-card {
    padding: 8px !important;
    border-radius: 8px !important;
  }

  body.page-id-2024 .mb-card__img-wrap {
    margin-bottom: 7px !important;
    border-radius: 6px !important;
  }

  body.page-id-2024 .mb-card__brand {
    font-size: 9px !important;
  }

  body.page-id-2024 .mb-card__title {
    min-height: 2.9em !important;
    margin-bottom: 6px !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  body.page-id-2024 .mb-card__price {
    gap: 4px !important;
    margin-bottom: 8px !important;
  }

  body.page-id-2024 .mb-card__price del,
  body.page-id-2024 .mb-card__price .mb-card__regular {
    font-size: 9px !important;
  }

  body.page-id-2024 .mb-card__price ins,
  body.page-id-2024 .mb-card__price .mb-card__current {
    font-size: 11px !important;
  }

  body.page-id-2024 .mb-card__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    padding: 6px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
  }

  body.page-id-2024 .mb-section__header {
    margin-bottom: 16px !important;
    padding-bottom: 10px !important;
  }

  body.page-id-2024 .mb-final-cta {
    border-radius: 12px !important;
  }
}

/* ==========================================================================
   Premium visual polish — Pass 1 (Home, Header, Footer)
   CSS-only, 2026-09-22
   ========================================================================== */
body.page-id-2024 .mb-section {
  margin-block: clamp(44px, 6vw, 80px) !important;
}

body.page-id-2024 .mb-section__header {
  margin-bottom: clamp(18px, 2.4vw, 30px) !important;
}

body.page-id-2024 .mb-hero__title {
  max-inline-size: 14ch;
  letter-spacing: -0.025em;
}

body.page-id-2024 .mb-hero__lead {
  max-inline-size: 58ch;
}

body.page-id-2024 .mb-card,
body.page-id-2024 .mb-cat-tile,
body.page-id-2024 .mb-brand-card {
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

body.page-id-2024 .mb-card__img {
  transition: transform 200ms ease;
}

body.page-id-2024 .mb-card__btn,
body.page-id-2024 .mb-final-cta__actions a {
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  body.page-id-2024 .mb-card:hover {
    transform: translateY(-3px);
    border-color: #E30613 !important;
  }

  body.page-id-2024 .mb-card:hover .mb-card__img {
    transform: scale(1.025);
  }

  body.page-id-2024 .mb-card:hover .mb-card__btn {
    background: #E30613 !important;
    border-color: #E30613 !important;
    color: #FFFFFF !important;
  }

  body.page-id-2024 .mb-cat-tile:hover,
  body.page-id-2024 .mb-brand-card:hover {
    transform: translateY(-2px);
    border-color: #E30613 !important;
  }

  .mb-footer a:hover {
    color: #FFFFFF !important;
  }
}

body.page-id-2024 a:focus-visible,
.wd-header a:focus-visible,
.mb-footer a:focus-visible {
  outline: 2px solid #E30613;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  body.page-id-2024 .mb-section {
    margin-block: 44px !important;
  }

  body.page-id-2024 .mb-hero__title,
  body.page-id-2024 .mb-hero__lead {
    max-inline-size: none;
  }
}

@media (max-width: 480px) {
  body.page-id-2024 .mb-section {
    margin-block: 34px !important;
  }

  body.page-id-2024 .mb-final-cta__actions {
    gap: 10px !important;
  }
}


/* ===========================================================================
   Mobile Bastani — Premium visual polish: Shop archive only
   Scope: body.post-type-archive-product
   Added 2026-09-23. No other storefront page is targeted.
   =========================================================================== */

body.post-type-archive-product #main-content {
  padding-block: 12px 72px;
}

body.post-type-archive-product .wd-breadcrumbs {
  margin: 0 0 20px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid #ECECF0;
  color: #767681;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12px;
  font-weight: 500;
}

body.post-type-archive-product .wd-breadcrumbs a {
  color: #5F5F69;
  text-decoration: none;
}

body.post-type-archive-product .wd-breadcrumbs a:hover {
  color: #E30613;
}

body.post-type-archive-product .wd-woo-page-title .entry-title {
  margin: 0 !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: clamp(30px, 2.5vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.045em;
}

body.post-type-archive-product .elementor-element-db664df {
  margin-top: 20px;
}

body.post-type-archive-product .elementor-element-db664df > .e-con-inner {
  min-height: 58px;
  padding-block: 10px;
  border-top: 1px solid #ECECF0;
  border-bottom: 1px solid #ECECF0;
}

body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering {
  margin: 0 !important;
}

body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
  min-width: 196px;
  height: 40px !important;
  padding-inline: 14px 36px !important;
  border: 1px solid #DCDCE3 !important;
  border-radius: 9px !important;
  background-color: #FFFFFF !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600;
  box-shadow: none !important;
}

body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby:hover {
  border-color: #BEBEC7 !important;
}

body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby:focus-visible,
body.post-type-archive-product .elementor-element-23042f1 .wd-off-canvas-btn a:focus-visible,
body.post-type-archive-product .wd-filter-list a:focus-visible,
body.post-type-archive-product .woocommerce-pagination a:focus-visible {
  outline: 2px solid #E30613 !important;
  outline-offset: 3px;
}

@media (min-width: 992px) {
  body.post-type-archive-product .elementor-element-29022e9 {
    width: 278px !important;
    max-width: 278px !important;
    flex-basis: 278px !important;
    padding-inline-start: 32px !important;
    border-inline-start: 1px solid #ECECF0 !important;
  }

  body.post-type-archive-product .elementor-element-6e35ee3 {
    width: calc(100% - 278px) !important;
    max-width: calc(100% - 278px) !important;
    padding-inline-end: 20px !important;
  }
}

body.post-type-archive-product .elementor-element-29022e9 .sidebar-widget {
  margin-bottom: 0 !important;
  padding: 0 0 24px !important;
  border-bottom: 1px solid #ECECF0 !important;
}

body.post-type-archive-product .elementor-element-29022e9 .sidebar-widget + .sidebar-widget {
  padding-top: 24px !important;
}

body.post-type-archive-product .elementor-element-29022e9 .sidebar-widget:last-child {
  border-bottom: 0 !important;
}

body.post-type-archive-product .elementor-element-29022e9 .widget-title {
  margin: 0 0 15px !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

body.post-type-archive-product .elementor-element-29022e9 .wd-filter-list {
  display: grid;
  gap: 4px;
  margin: 0 !important;
}

body.post-type-archive-product .elementor-element-29022e9 .wd-filter-list li {
  margin: 0 !important;
}

body.post-type-archive-product .elementor-element-29022e9 .wd-filter-list a {
  min-height: 34px;
  padding-inline: 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #34343D !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
}

body.post-type-archive-product .elementor-element-29022e9 .wd-filter-list a:hover {
  background: #FAFAFB;
  border-color: #E5E5EA;
  color: #1A1A1F !important;
}

body.post-type-archive-product .elementor-element-29022e9 .wd-filter-list li.chosen > a {
  background: #FFF5F5;
  border-color: #F5C6C9;
  color: #C90510 !important;
  font-weight: 700;
}

body.post-type-archive-product .elementor-element-29022e9 .wd-filter-list .count {
  min-width: 23px;
  padding: 2px 6px !important;
  border-radius: 999px !important;
  background: #F1F1F4 !important;
  color: #62626C !important;
  font-size: 10.5px !important;
  font-weight: 700;
  text-align: center;
}

body.post-type-archive-product .elementor-element-29022e9 .wd-filter-list li.chosen .count {
  background: #FDE7E8 !important;
  color: #C90510 !important;
}

body.post-type-archive-product .elementor-element-29022e9 .widget_price_filter .price_slider_wrapper {
  padding-inline: 10px !important;
}

body.post-type-archive-product .elementor-element-29022e9 .widget_price_filter .price_slider {
  margin-block: 18px 21px !important;
}

body.post-type-archive-product .elementor-element-29022e9 .widget_price_filter .price_label {
  color: #555560;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 11.5px;
  line-height: 1.8;
}

body.post-type-archive-product .elementor-element-29022e9 .widget_price_filter .button {
  min-height: 36px;
  padding-inline: 14px !important;
  border-radius: 7px !important;
  background: #1A1A1F !important;
  color: #FFFFFF !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body.post-type-archive-product .elementor-element-29022e9 .widget_price_filter .button:hover {
  background: #E30613 !important;
}

body.post-type-archive-product .products.wd-products {
  --wd-gap-lg: 18px;
  --wd-gap-sm: 12px;
}

body.post-type-archive-product .products.wd-products .product-grid-item {
  min-height: 0 !important;
  padding: 14px !important;
  border: 1px solid #E6E6EB !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease !important;
}

body.post-type-archive-product .products.wd-products .product-wrapper {
  min-height: 100%;
}

body.post-type-archive-product .products.wd-products .product-element-top {
  margin-bottom: 14px !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
}

body.post-type-archive-product .products.wd-products .product-element-bottom {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

body.post-type-archive-product .products.wd-products .wd-entities-title {
  min-height: 46px;
  margin: 0 0 8px !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

body.post-type-archive-product .products.wd-products .wd-entities-title a {
  color: inherit !important;
}

body.post-type-archive-product .products.wd-products .wd-product-stock {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 10px !important;
  color: #297342 !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
}

body.post-type-archive-product .products.wd-products .star-rating[aria-label='امتیاز 0 از 5'] {
  display: none !important;
}

body.post-type-archive-product .products.wd-products .wrap-price {
  margin-top: auto;
}

body.post-type-archive-product .products.wd-products .price {
  min-height: 28px;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.7 !important;
}

body.post-type-archive-product .products.wd-products .price ins {
  color: #E30613 !important;
}

body.post-type-archive-product .products.wd-products .price del {
  color: #83838D !important;
  font-size: 10.5px !important;
  font-weight: 500;
}

body.post-type-archive-product .products.wd-products .wd-add-btn {
  margin-top: 12px;
}

body.post-type-archive-product .products.wd-products .wd-add-btn > a {
  min-height: 42px;
  border-radius: 8px !important;
  background: #E30613 !important;
  color: #FFFFFF !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0;
}

body.post-type-archive-product .products.wd-products .wd-add-btn > a:hover {
  background: #C90510 !important;
}

body.post-type-archive-product .products.wd-products .product-label {
  min-width: 34px;
  min-height: 24px;
  padding-inline: 7px;
  border-radius: 6px !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 24px;
}

@media (hover: hover) and (pointer: fine) {
  body.post-type-archive-product .products.wd-products .product-grid-item:hover {
    border-color: #D3D3DA !important;
    box-shadow: 0 10px 22px rgba(26, 26, 31, 0.06) !important;
    transform: translateY(-2px);
  }
}

body.post-type-archive-product .woocommerce-pagination {
  margin-top: 48px;
}

body.post-type-archive-product .woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  margin-inline: 2px;
  border: 1px solid #E1E1E6;
  border-radius: 8px;
  background: #FFFFFF;
  color: #3D3D47;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12px;
  font-weight: 700;
}

body.post-type-archive-product .woocommerce-pagination .page-numbers:hover {
  border-color: #E30613;
  color: #E30613;
}

body.post-type-archive-product .woocommerce-pagination .page-numbers.current {
  border-color: #E30613;
  background: #E30613;
  color: #FFFFFF;
}

@media (max-width: 991px) {
  body.post-type-archive-product #main-content {
    padding-block: 10px 52px;
  }

  body.post-type-archive-product .wd-breadcrumbs {
    margin-bottom: 16px !important;
    padding-bottom: 12px;
  }

  body.post-type-archive-product .wd-woo-page-title .entry-title {
    font-size: 28px !important;
  }

  body.post-type-archive-product .elementor-element-db664df {
    margin-top: 14px;
  }

  body.post-type-archive-product .elementor-element-db664df > .e-con-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px !important;
    min-height: auto;
    padding-block: 12px;
  }

  body.post-type-archive-product .elementor-element-23042f1,
  body.post-type-archive-product .elementor-element-0605206 {
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.post-type-archive-product .elementor-element-23042f1 .wd-off-canvas-btn a,
  body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
    width: 100% !important;
    min-width: 0;
    min-height: 44px;
    height: 44px !important;
    border-radius: 9px !important;
  }

  body.post-type-archive-product .elementor-element-23042f1 .wd-off-canvas-btn a {
    border: 1px solid #DCDCE3 !important;
    background: #FFFFFF !important;
    color: #1A1A1F !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
  }

  body.post-type-archive-product .products.wd-products {
    --wd-gap-sm: 12px;
  }

  body.post-type-archive-product .products.wd-products .product-grid-item {
    padding: 10px !important;
    border-radius: 12px !important;
  }

  body.post-type-archive-product .products.wd-products .product-element-top {
    margin-bottom: 10px !important;
    border-radius: 8px !important;
  }

  body.post-type-archive-product .products.wd-products .wd-entities-title {
    min-height: 40px;
    margin-bottom: 6px !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  body.post-type-archive-product .products.wd-products .wd-product-stock {
    margin-bottom: 7px !important;
    font-size: 10.5px;
  }

  body.post-type-archive-product .products.wd-products .price {
    min-height: 25px;
    font-size: 12.5px !important;
  }

  body.post-type-archive-product .products.wd-products .wd-add-btn {
    margin-top: 9px;
  }

  body.post-type-archive-product .products.wd-products .wd-add-btn > a {
    min-height: 39px;
    font-size: 11.5px !important;
  }

  body.post-type-archive-product .woocommerce-pagination {
    margin-top: 32px;
  }
}

@media (max-width: 430px) {
  body.post-type-archive-product .products.wd-products {
    --wd-gap-sm: 8px;
  }

  body.post-type-archive-product .products.wd-products .product-grid-item {
    padding: 9px !important;
  }

  body.post-type-archive-product .products.wd-products .wd-entities-title {
    min-height: 38px;
    font-size: 12.5px !important;
  }

  body.post-type-archive-product .products.wd-products .wd-add-btn > a {
    min-height: 38px;
    padding-inline: 6px !important;
    font-size: 10.5px !important;
  }
}


/* ============================================================================
   Mobile Bastani — Shop polish: review round 2
   Scope: main WooCommerce Shop archive only
   ============================================================================ */

/* Keep the archive breadcrumb inside its own visual bounds. */
body.post-type-archive-product .elementor-element-70d7493,
body.post-type-archive-product .elementor-element-70d7493 .elementor-widget-container,
body.post-type-archive-product .wd-breadcrumbs {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

body.post-type-archive-product .wd-breadcrumbs {
  overflow: visible !important;
  white-space: nowrap;
  color: #1A1A1F;
}

/* One intentional native-select caret, with a restrained RTL control. */
body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering.wd-ordering-mb-icon::before,
body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering.wd-ordering-mb-icon::after {
  content: none !important;
  display: none !important;
}

body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  height: 44px !important;
  padding-inline: 14px 42px !important;
  background-color: #FFFFFF !important;
  background-position: left 14px center !important;
  background-size: 14px 14px !important;
  border: 1px solid #DCDCE3 !important;
  border-radius: 9px !important;
  color: #1A1A1F !important;
  font-family: Vazirmatn, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.4;
  text-align: right;
}

body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby:hover,
body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby:focus {
  border-color: #E30613 !important;
  box-shadow: 0 0 0 2px #FCE1E3 !important;
  outline: 0;
}

/* Native product categories: only real non-empty terms are rendered by the widget. */
body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-9 .product-categories {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-9 .product-categories > li {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 2px;
  border-bottom: 1px solid #ECECEF;
  color: #767676;
  font-size: 12px;
  line-height: 1.4;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-9 .product-categories > li:last-child {
  border-bottom: 0;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-9 .product-categories > li > a {
  flex: 1 1 auto;
  min-width: 0;
  color: #1A1A1F;
  font-family: Vazirmatn, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-9 .product-categories > li:hover > a,
body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-9 .product-categories > li.current-cat > a {
  color: #E30613;
}

/* Text-only brand navigation: no mark, logo or placeholder is displayed. */
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list {
  display: grid;
  gap: 4px;
  margin: 0;
}

body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #FFFFFF;
  transition: border-color .18s ease, background-color .18s ease;
}

body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a {
  flex: 1 1 auto;
  min-width: 0;
  color: #1A1A1F;
  font-family: Sora, Vazirmatn, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li:hover,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li.chosen,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li.wd-active {
  border-color: #E30613;
  background: #FFFFFF;
}

body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li:hover > a,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li.chosen > a,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li.wd-active > a {
  color: #E30613;
}

body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li .count,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > span {
  flex: 0 0 auto;
  min-width: 24px;
  padding: 3px 6px;
  border: 1px solid #DCDCE3;
  border-radius: 999px;
  color: #767676;
  font-family: Sora, Vazirmatn, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 img,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list__thumbnail,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-swatch {
  display: none !important;
}

@media (max-width: 991px) {
  body.post-type-archive-product .wd-breadcrumbs {
    padding-inline: 16px;
    font-size: 11.5px;
  }

  body.post-type-archive-product .elementor-element-db664df {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 10px !important;
  }

  body.post-type-archive-product .elementor-element-db664df > .elementor-element,
  body.post-type-archive-product .elementor-element-db664df .elementor-widget-container,
  body.post-type-archive-product .elementor-element-db664df .woocommerce-ordering {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

@media (max-width: 430px) {
  body.post-type-archive-product .elementor-element-db664df {
    grid-template-columns: minmax(0, 1fr);
  }

  body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
    min-height: 42px;
    height: 42px !important;
    font-size: 12px !important;
  }
}


/* Active native category widget uses WordPress runtime ID -2. */
body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories > li {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 2px;
  border-bottom: 1px solid #ECECEF;
  color: #767676;
  font-size: 12px;
  line-height: 1.4;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories > li:last-child {
  border-bottom: 0;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories > li > a {
  flex: 1 1 auto;
  min-width: 0;
  color: #1A1A1F;
  font-family: Vazirmatn, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories > li:hover > a,
body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories > li.current-cat > a {
  color: #E30613;
}


/* ============================================================================
   Mobile Bastani — Shop polish: Round 3 interaction and alignment fixes
   ============================================================================ */

/* Shop breadcrumb: keep the existing layout, but align it with the content edge in RTL. */
body.post-type-archive-product .elementor-element-0d7839b {
  box-sizing: border-box;
  padding-inline: 20px;
}

body.post-type-archive-product .elementor-element-70d7493 {
  min-width: 0;
  text-align: right !important;
}

body.post-type-archive-product .elementor-element-70d7493 .wd-breadcrumbs {
  text-align: right;
}

/* Shop sorting: one native caret, balanced label/caret spacing and vertical centering. */
body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
  display: block;
  min-height: 44px;
  height: 44px !important;
  padding-block: 0 !important;
  padding-inline: 14px 42px !important;
  background-position: left 14px center !important;
  line-height: 1.4 !important;
  vertical-align: middle;
}

body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby::before,
body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby::after {
  content: none !important;
  display: none !important;
}

/* Shop sidebar: every runtime list row shares one RTL label/count geometry. */
body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories > li,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-8 .wd-filter-list > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding-inline: 10px;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories > li > a,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-8 .wd-filter-list > li > a {
  flex: 1 1 auto;
  min-width: 0;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories .count,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list .count,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-8 .wd-filter-list .count {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 26px;
  min-height: 20px;
  margin-inline-start: auto;
  padding: 2px 6px;
  box-sizing: border-box;
}

/* Archive cards only: hide selectable color UI without modifying variation data. */
body.post-type-archive-product .products .wd-swatches-product,
body.tax-product_cat .products .wd-swatches-product,
body.search-results .products .wd-swatches-product {
  display: none !important;
}

/* Touch devices: keep Quick View available on desktop, but never over the card image. */
@media (hover: none), (pointer: coarse) {
  .wd-products .product-grid-item .wd-buttons .open-quick-view,
  .products .product-grid-item .wd-buttons .open-quick-view {
    display: none !important;
  }
}

@media (max-width: 991px) {
  body.post-type-archive-product .elementor-element-0d7839b {
    padding-inline: 16px;
  }
}

@media (max-width: 430px) {
  body.post-type-archive-product .elementor-element-0d7839b {
    padding-inline: 14px;
  }

  body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
    min-height: 42px;
    height: 42px !important;
  }
}


/* Round 3 mobile safeguard: Quick View remains desktop-only and cannot cover card images. */
@media (max-width: 767px) {
  body:not(.single-product) .wd-products .product-grid-item .wd-buttons .open-quick-view,
  body:not(.single-product) .products .product-grid-item .wd-buttons .open-quick-view {
    display: none !important;
  }
}


/* ==========================================================================
   Mobile Bastani — Shop Round 4 structural fixes
   ========================================================================== */

/* The Elementor Shop Builder row owns the alignment. Normalize its child
   sizing and remove the breadcrumb widget's extra mobile inline padding. */
body.post-type-archive-product .elementor-element-0d7839b {
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  padding-inline: clamp(18px, 1.8vw, 26px) !important;
  overflow: visible !important;
}

body.post-type-archive-product .elementor-element-70d7493 {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  text-align: right !important;
}

body.post-type-archive-product .elementor-element-70d7493 .elementor-widget-container,
body.post-type-archive-product .elementor-element-70d7493 .wd-breadcrumbs {
  max-width: 100%;
  margin: 0 !important;
  padding-inline: 0 !important;
  transform: none !important;
}

body.post-type-archive-product .elementor-element-70d7493 .wd-breadcrumbs {
  direction: rtl;
  flex-wrap: wrap;
  justify-content: flex-start;
  text-align: right !important;
  white-space: normal;
}

/* Brand and Product Categories share one full-width RTL row geometry. */
body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list,
body.post-type-archive-product #woocommerce_product_categories-2 .product-categories {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li,
body.post-type-archive-product #woocommerce_product_categories-2 .product-categories > li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 42px;
  margin: 0 !important;
  padding: 6px 9px !important;
  box-sizing: border-box;
  gap: 12px;
  direction: rtl;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a,
body.post-type-archive-product #woocommerce_product_categories-2 .product-categories > li > a {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-swatch,
body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-swatch-bg,
body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-swatch-text,
body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 img {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-lable,
body.post-type-archive-product #woocommerce_product_categories-2 .product-categories > li > a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .count,
body.post-type-archive-product #woocommerce_product_categories-2 .count {
  display: inline-grid !important;
  flex: 0 0 28px !important;
  place-items: center;
  width: 28px !important;
  min-width: 28px !important;
  min-height: 22px;
  margin: 0 0 0 auto !important;
  padding: 2px 6px !important;
  box-sizing: border-box;
  text-align: center;
}

@media (max-width: 767px) {
  body.post-type-archive-product .elementor-element-0d7839b {
    padding-inline: 18px !important;
  }
}


/* ==========================================================================
   Mobile Bastani — Shop final micro-fix: brand rows and breadcrumb spacing
   Scope: Shop archive only, 2026-09-24
   ========================================================================== */

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 42px;
  padding-inline: 10px !important;
  box-sizing: border-box;
  direction: rtl;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-filter-lable {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  text-align: right !important;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch,
body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-bg,
body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-text,
body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a img {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > .count {
  flex: 0 0 28px !important;
  margin: 0 !important;
}

body.post-type-archive-product .elementor-element-70d7493 .wd-breadcrumbs {
  box-sizing: border-box;
  padding-inline: 8px !important;
}


/* ============================================================================
   Mobile Bastani — Shop visual polish: Round 5 product cards only
   Scope: main WooCommerce Shop archive only
   ============================================================================ */

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-grid-item {
  padding: 12px !important;
  border-color: #E3E3E8 !important;
  border-radius: 12px !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-wrapper {
  gap: 0 !important;
  padding: 8px !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-element-top {
  overflow: hidden;
  margin-bottom: 12px !important;
  border-radius: 9px !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-image-link {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-image-link img {
  transform: scale(1.1);
  transform-origin: center;
  transition: transform 220ms ease !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product_cat-accessories .product-image-link img {
  transform: scale(1.13);
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product_cat-mobile-phones .product-image-link img {
  transform: scale(1.08);
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-element-bottom {
  gap: 0 !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-entities-title {
  min-height: 46px;
  margin-bottom: 5px !important;
  font-size: 14.5px !important;
  font-weight: 750 !important;
  line-height: 1.5 !important;
  text-wrap: balance;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-product-stock {
  gap: 4px;
  margin-bottom: 7px !important;
  color: #2F7A49 !important;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wrap-price {
  display: flex;
  align-items: flex-end;
  min-height: 30px;
  margin-top: auto !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .price {
  min-height: 0;
  color: #1A1A1F !important;
  font-size: 15.5px !important;
  font-weight: 850 !important;
  line-height: 1.55 !important;
  letter-spacing: -0.15px;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .price .woocommerce-Price-currencySymbol {
  margin-inline-start: 3px;
  font-size: .72em;
  font-weight: 700;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .price del {
  margin-inline-end: 6px;
  color: #85858F !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  opacity: 1;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .price ins {
  color: #E30613 !important;
  text-decoration: none;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-labels {
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  gap: 4px !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-label {
  min-width: 32px;
  min-height: 23px;
  padding-inline: 6px;
  border-radius: 6px !important;
  font-size: 9.5px;
  line-height: 23px;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-buttons {
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  overflow: visible;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-buttons .wd-action-btn {
  width: 38px;
  height: 38px;
  border: 1px solid #E7E7EC;
  border-radius: 999px;
  background: #FFFFFF;
  color: #3E3E47;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-buttons .wd-action-btn:hover,
body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-buttons .wd-action-btn:focus-within {
  border-color: #E30613;
  color: #E30613;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-buttons .wd-action-btn a:focus-visible,
body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-add-btn > a:focus-visible {
  outline: 2px solid #1A1A1F;
  outline-offset: 2px;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-add-btn {
  margin-top: 10px;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-add-btn > a {
  min-height: 40px;
  padding-inline: 12px !important;
  border-radius: 7px !important;
  font-size: 12.25px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-add-btn > a:active {
  transform: translateY(1px);
}

@media (hover: hover) and (pointer: fine) {
  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-grid-item:hover .product-image-link img {
    transform: scale(1.13);
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product_cat-accessories:hover .product-image-link img {
    transform: scale(1.16);
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product_cat-mobile-phones:hover .product-image-link img {
    transform: scale(1.11);
  }
}

@media (max-width: 991px) {
  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-grid-item {
    padding: 9px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-wrapper {
    padding: 5px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-element-top {
    margin-bottom: 9px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-entities-title {
    min-height: 42px;
    margin-bottom: 4px !important;
    font-size: 12.75px !important;
    line-height: 1.48 !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-product-stock {
    margin-bottom: 6px !important;
    font-size: 10.25px;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .price {
    font-size: 12.75px !important;
    line-height: 1.5 !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-add-btn {
    margin-top: 8px;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-add-btn > a {
    min-height: 42px;
    padding: 5px 6px !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-add-btn > a span {
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-buttons {
    top: 8px !important;
    left: 8px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-buttons .wd-action-btn {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 430px) {
  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-grid-item {
    padding: 8px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-wrapper {
    padding: 4px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-image-link img {
    transform: scale(1.08);
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product_cat-accessories .product-image-link img {
    transform: scale(1.11);
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product_cat-mobile-phones .product-image-link img {
    transform: scale(1.06);
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-entities-title {
    min-height: 43px;
    font-size: 12.25px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wrap-price {
    min-height: 26px;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .price {
    font-size: 12.25px !important;
    letter-spacing: -0.1px;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-labels {
    top: 7px !important;
    right: 7px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-label {
    min-width: 29px;
    min-height: 21px;
    padding-inline: 5px;
    font-size: 9px;
    line-height: 21px;
  }
}


/* Mobile Bastani — Shop breadcrumb top breathing room */
body.woocommerce-shop.post-type-archive-product .elementor-element-70d7493 .wd-breadcrumbs {
  padding-block-start: 12px !important;
}


/* ============================================================================
   Mobile Bastani — Shared product category archive system
   Scope: WooCommerce product-category archives only, 2026-09-24
   ============================================================================ */

body.tax-product_cat #main-content {
  padding-block: 12px 72px;
  background: #FFFFFF;
}

/* Category-aware header and breadcrumb. */
body.tax-product_cat .elementor-element-0d7839b {
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  padding-inline: clamp(18px, 1.8vw, 26px) !important;
  overflow: visible !important;
}

body.tax-product_cat .elementor-element-70d7493,
body.tax-product_cat .elementor-element-70d7493 .elementor-widget-container,
body.tax-product_cat .elementor-element-70d7493 .wd-breadcrumbs {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  margin: 0 !important;
  transform: none !important;
}

body.tax-product_cat .elementor-element-70d7493 .wd-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 20px !important;
  padding: 12px 8px 14px !important;
  border-bottom: 1px solid #ECECF0;
  color: #767681;
  direction: rtl;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-align: right;
  white-space: normal;
}

body.tax-product_cat .wd-breadcrumbs a {
  color: #5F5F69;
  text-decoration: none;
}

body.tax-product_cat .wd-breadcrumbs a:hover {
  color: #E30613;
}

body.tax-product_cat .wd-woo-page-title .entry-title {
  margin: 0 !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: clamp(30px, 2.5vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.045em;
}

body.tax-product_cat .elementor-element-db664df {
  margin-top: 20px;
}

body.tax-product_cat .elementor-element-db664df > .e-con-inner {
  min-height: 58px;
  padding-block: 10px;
  border-top: 1px solid #ECECF0;
  border-bottom: 1px solid #ECECF0;
}

body.tax-product_cat .wd-shop-ordering .woocommerce-ordering {
  width: 100%;
  margin: 0 !important;
}

body.tax-product_cat .wd-shop-ordering .woocommerce-ordering.wd-ordering-mb-icon::before,
body.tax-product_cat .wd-shop-ordering .woocommerce-ordering.wd-ordering-mb-icon::after {
  content: none !important;
  display: none !important;
}

body.tax-product_cat .wd-shop-ordering .woocommerce-ordering select.orderby {
  display: block;
  box-sizing: border-box;
  min-width: 196px;
  min-height: 44px;
  height: 44px !important;
  padding-block: 0 !important;
  padding-inline: 14px 42px !important;
  border: 1px solid #DCDCE3 !important;
  border-radius: 9px !important;
  background-color: #FFFFFF !important;
  background-position: left 14px center !important;
  background-size: 14px 14px !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: right;
  box-shadow: none !important;
}

body.tax-product_cat .wd-shop-ordering .woocommerce-ordering select.orderby:hover,
body.tax-product_cat .wd-shop-ordering .woocommerce-ordering select.orderby:focus {
  border-color: #E30613 !important;
  outline: 0;
}

body.tax-product_cat .wd-shop-ordering .woocommerce-ordering select.orderby:focus-visible,
body.tax-product_cat .elementor-element-23042f1 .wd-off-canvas-btn a:focus-visible,
body.tax-product_cat .wd-filter-list a:focus-visible,
body.tax-product_cat .woocommerce-pagination a:focus-visible,
body.tax-product_cat .products.wd-products a:focus-visible {
  outline: 2px solid #E30613 !important;
  outline-offset: 3px;
}

/* The category is already represented by the archive title/breadcrumb.
   Keep the native widget on Shop, but remove this duplicate block here. */
body.tax-product_cat .elementor-element-29022e9 #woocommerce_product_categories-2 {
  display: none !important;
}

/* Context-aware filters: WooCommerce already omits unavailable layered-nav terms. */
@media (min-width: 992px) {
  body.tax-product_cat .elementor-element-29022e9 {
    width: 286px !important;
    max-width: 286px !important;
    flex-basis: 286px !important;
    padding-inline-end: 26px !important;
    border-inline-end: 1px solid #ECECF0 !important;
  }

  body.tax-product_cat .elementor-element-6e35ee3 {
    width: calc(100% - 286px) !important;
    max-width: calc(100% - 286px) !important;
    padding-inline-start: 22px !important;
  }
}

body.tax-product_cat .elementor-element-29022e9 .sidebar-widget {
  margin-bottom: 0 !important;
  padding: 0 0 24px !important;
  border-bottom: 1px solid #ECECF0 !important;
}

body.tax-product_cat .elementor-element-29022e9 .sidebar-widget + .sidebar-widget {
  padding-top: 24px !important;
}

body.tax-product_cat .elementor-element-29022e9 .sidebar-widget:last-child {
  border-bottom: 0 !important;
}

body.tax-product_cat .elementor-element-29022e9 .widget-title {
  margin: 0 0 15px !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

body.tax-product_cat #mb-stock-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  margin-bottom: 24px;
  padding: 9px 11px;
  border: 1px solid #E4E4E9;
  border-radius: 9px;
  background: #FFFFFF;
  color: #1A1A1F;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12px;
  font-weight: 700;
}

body.tax-product_cat #mb-stock-card:hover {
  border-color: #E30613;
  color: #E30613;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list {
  display: grid;
  width: 100%;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 42px;
  margin: 0 !important;
  padding: 6px 9px !important;
  box-sizing: border-box;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #FFFFFF;
  direction: rtl;
  transition: border-color 160ms ease, color 160ms ease;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li > a {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: #34343D !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  text-align: right !important;
  text-decoration: none;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li:hover,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li.chosen,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li.wd-active {
  border-color: #E30613;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li:hover > a,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li.chosen > a,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li.wd-active > a {
  color: #E30613 !important;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list .wd-swatch,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list .wd-swatch-bg,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list .wd-swatch-text,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list img {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list .wd-filter-lable {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list .count {
  display: inline-grid !important;
  flex: 0 0 28px !important;
  place-items: center;
  width: 28px !important;
  min-width: 28px !important;
  min-height: 22px;
  margin: 0 0 0 auto !important;
  padding: 2px 6px !important;
  box-sizing: border-box;
  border-radius: 999px !important;
  background: #F1F1F4 !important;
  color: #62626C !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 10.5px !important;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list li.chosen .count,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list li.wd-active .count {
  background: #FDE7E8 !important;
  color: #C90510 !important;
}

body.tax-product_cat .elementor-element-29022e9 .widget_price_filter .price_slider_wrapper {
  padding-inline: 10px !important;
}

body.tax-product_cat .elementor-element-29022e9 .widget_price_filter .price_slider {
  margin-block: 18px 21px !important;
}

body.tax-product_cat .elementor-element-29022e9 .widget_price_filter .price_label {
  color: #555560;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 11.5px;
  line-height: 1.8;
}

body.tax-product_cat .elementor-element-29022e9 .widget_price_filter .button {
  min-height: 36px;
  padding-inline: 14px !important;
  border-radius: 7px !important;
  background: #1A1A1F !important;
  color: #FFFFFF !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body.tax-product_cat .elementor-element-29022e9 .widget_price_filter .button:hover {
  background: #E30613 !important;
}

/* Shared category product-card system, aligned with the approved Shop language. */
body.tax-product_cat .products.wd-products {
  --wd-gap-lg: 18px;
  --wd-gap-sm: 12px;
}

body.tax-product_cat .products.wd-products .product-grid-item {
  min-height: 0 !important;
  padding: 12px !important;
  border: 1px solid #E3E3E8 !important;
  border-radius: 12px !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
  transition: border-color 180ms ease, transform 180ms ease !important;
}

body.tax-product_cat .products.wd-products .product-wrapper {
  min-height: 100%;
  gap: 0 !important;
  padding: 8px !important;
}

body.tax-product_cat .products.wd-products .product-element-top {
  overflow: hidden;
  margin-bottom: 12px !important;
  border-radius: 9px !important;
  background: #FFFFFF !important;
}

body.tax-product_cat .products.wd-products .product-image-link {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
}

body.tax-product_cat .products.wd-products .product-image-link img {
  transform: scale(1.1);
  transform-origin: center;
  transition: transform 220ms ease !important;
}

body.tax-product_cat .products.wd-products .product_cat-accessories .product-image-link img {
  transform: scale(1.13);
}

body.tax-product_cat .products.wd-products .product_cat-mobile-phones .product-image-link img {
  transform: scale(1.08);
}

body.tax-product_cat .products.wd-products .product-element-bottom {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0 !important;
}

body.tax-product_cat .products.wd-products .wd-entities-title {
  min-height: 46px;
  margin: 0 0 5px !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 750 !important;
  line-height: 1.5 !important;
  text-wrap: balance;
}

body.tax-product_cat .products.wd-products .wd-entities-title a {
  color: inherit !important;
}

body.tax-product_cat .products.wd-products .star-rating[aria-label='امتیاز 0 از 5'] {
  display: none !important;
}

body.tax-product_cat .products.wd-products .wd-product-stock {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 4px;
  margin: 0 0 7px !important;
  color: #2F7A49 !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

body.tax-product_cat .products.wd-products .wrap-price {
  display: flex;
  align-items: flex-end;
  min-height: 30px;
  margin-top: auto !important;
}

body.tax-product_cat .products.wd-products .price {
  min-height: 0;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 850 !important;
  line-height: 1.55 !important;
  letter-spacing: -0.15px;
}

body.tax-product_cat .products.wd-products .price .woocommerce-Price-currencySymbol {
  margin-inline-start: 3px;
  font-size: .72em;
  font-weight: 700;
}

body.tax-product_cat .products.wd-products .price del {
  margin-inline-end: 6px;
  color: #85858F !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  opacity: 1;
}

body.tax-product_cat .products.wd-products .price ins {
  color: #E30613 !important;
  text-decoration: none;
}

body.tax-product_cat .products.wd-products .wd-add-btn {
  margin-top: 10px;
}

body.tax-product_cat .products.wd-products .wd-add-btn > a {
  min-height: 40px;
  padding-inline: 12px !important;
  border-radius: 7px !important;
  background: #E30613 !important;
  color: #FFFFFF !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12.25px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}

body.tax-product_cat .products.wd-products .wd-add-btn > a:hover {
  background: #C90510 !important;
}

body.tax-product_cat .products.wd-products .wd-add-btn > a:active {
  transform: translateY(1px);
}

body.tax-product_cat .products.wd-products .product-labels {
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  gap: 4px !important;
}

body.tax-product_cat .products.wd-products .product-label {
  min-width: 32px;
  min-height: 23px;
  padding-inline: 6px;
  border-radius: 6px !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 23px;
}

body.tax-product_cat .products.wd-products .wd-buttons {
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  overflow: visible;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
}

body.tax-product_cat .products.wd-products .wd-buttons .wd-action-btn {
  width: 38px;
  height: 38px;
  border: 1px solid #E7E7EC;
  border-radius: 999px;
  background: #FFFFFF;
  color: #3E3E47;
}

body.tax-product_cat .products.wd-products .wd-buttons .wd-action-btn:hover,
body.tax-product_cat .products.wd-products .wd-buttons .wd-action-btn:focus-within {
  border-color: #E30613;
  color: #E30613;
}

body.tax-product_cat .woocommerce-pagination {
  margin-top: 48px;
}

body.tax-product_cat .woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  margin-inline: 2px;
  border: 1px solid #E1E1E6;
  border-radius: 8px;
  background: #FFFFFF;
  color: #3D3D47;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12px;
  font-weight: 700;
}

body.tax-product_cat .woocommerce-pagination .page-numbers:hover {
  border-color: #E30613;
  color: #E30613;
}

body.tax-product_cat .woocommerce-pagination .page-numbers.current {
  border-color: #E30613;
  background: #E30613;
  color: #FFFFFF;
}

@media (hover: hover) and (pointer: fine) {
  body.tax-product_cat .products.wd-products .product-grid-item:hover {
    border-color: #CFCFD7 !important;
    transform: translateY(-2px);
  }

  body.tax-product_cat .products.wd-products .product-grid-item:hover .product-image-link img {
    transform: scale(1.13);
  }

  body.tax-product_cat .products.wd-products .product_cat-accessories:hover .product-image-link img {
    transform: scale(1.16);
  }

  body.tax-product_cat .products.wd-products .product_cat-mobile-phones:hover .product-image-link img {
    transform: scale(1.11);
  }
}

@media (max-width: 991px) {
  body.tax-product_cat #main-content {
    padding-block: 10px 52px;
  }

  body.tax-product_cat .elementor-element-0d7839b {
    padding-inline: 16px !important;
  }

  body.tax-product_cat .elementor-element-70d7493 .wd-breadcrumbs {
    margin-bottom: 16px !important;
    padding-block: 10px 12px !important;
    font-size: 11.5px;
  }

  body.tax-product_cat .wd-woo-page-title .entry-title {
    font-size: 28px !important;
  }

  body.tax-product_cat .elementor-element-db664df {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 10px !important;
    margin-top: 14px;
  }

  body.tax-product_cat .elementor-element-db664df > .elementor-element,
  body.tax-product_cat .elementor-element-db664df .elementor-widget-container,
  body.tax-product_cat .elementor-element-db664df .woocommerce-ordering {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.tax-product_cat .elementor-element-23042f1 .wd-off-canvas-btn a,
  body.tax-product_cat .wd-shop-ordering .woocommerce-ordering select.orderby {
    width: 100% !important;
    min-width: 0;
    min-height: 44px;
    height: 44px !important;
    border-radius: 9px !important;
  }

  body.tax-product_cat .elementor-element-23042f1 .wd-off-canvas-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCDCE3 !important;
    background: #FFFFFF !important;
    color: #1A1A1F !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
  }

  body.tax-product_cat .products.wd-products {
    --wd-gap-sm: 12px;
  }

  body.tax-product_cat .products.wd-products .product-grid-item {
    padding: 9px !important;
  }

  body.tax-product_cat .products.wd-products .product-wrapper {
    padding: 5px !important;
  }

  body.tax-product_cat .products.wd-products .product-element-top {
    margin-bottom: 9px !important;
  }

  body.tax-product_cat .products.wd-products .wd-entities-title {
    min-height: 42px;
    margin-bottom: 4px !important;
    font-size: 12.75px !important;
    line-height: 1.48 !important;
  }

  body.tax-product_cat .products.wd-products .wd-product-stock {
    margin-bottom: 6px !important;
    font-size: 10.25px;
  }

  body.tax-product_cat .products.wd-products .price {
    font-size: 12.75px !important;
    line-height: 1.5 !important;
  }

  body.tax-product_cat .products.wd-products .wd-add-btn {
    margin-top: 8px;
  }

  body.tax-product_cat .products.wd-products .wd-add-btn > a {
    min-height: 42px;
    padding: 5px 6px !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  body.tax-product_cat .products.wd-products .wd-buttons {
    top: 8px !important;
    left: 8px !important;
  }
}

@media (max-width: 430px) {
  body.tax-product_cat .elementor-element-0d7839b {
    padding-inline: 14px !important;
  }

  body.tax-product_cat .elementor-element-db664df {
    gap: 8px !important;
  }

  body.tax-product_cat .elementor-element-23042f1 .wd-off-canvas-btn a,
  body.tax-product_cat .wd-shop-ordering .woocommerce-ordering select.orderby {
    min-height: 42px;
    height: 42px !important;
    font-size: 12px !important;
  }

  body.tax-product_cat .products.wd-products {
    --wd-gap-sm: 8px;
  }

  body.tax-product_cat .products.wd-products .product-grid-item {
    padding: 8px !important;
  }

  body.tax-product_cat .products.wd-products .product-wrapper {
    padding: 4px !important;
  }

  body.tax-product_cat .products.wd-products .product-image-link img {
    transform: scale(1.08);
  }

  body.tax-product_cat .products.wd-products .product_cat-accessories .product-image-link img {
    transform: scale(1.11);
  }

  body.tax-product_cat .products.wd-products .product_cat-mobile-phones .product-image-link img {
    transform: scale(1.06);
  }

  body.tax-product_cat .products.wd-products .wd-entities-title {
    min-height: 43px;
    font-size: 12.25px !important;
  }

  body.tax-product_cat .products.wd-products .wrap-price {
    min-height: 26px;
  }

  body.tax-product_cat .products.wd-products .price {
    font-size: 12.25px !important;
    letter-spacing: -0.1px;
  }

  body.tax-product_cat .products.wd-products .product-labels {
    top: 7px !important;
    right: 7px !important;
  }

  body.tax-product_cat .products.wd-products .product-label {
    min-width: 29px;
    min-height: 21px;
    padding-inline: 5px;
    font-size: 9px;
    line-height: 21px;
  }
}


/* Category archive toolbar: remove optional view controls without changing query logic. */
body.tax-product_cat .elementor-element-db664df > .elementor-element-9a429a8,
body.tax-product_cat .elementor-element-db664df > .elementor-element-a0904b9 {
  display: none !important;
}


/* ============================================================================
   Mobile Bastani — Category system final fix: initial drawer state + brand rows
   Scope: Product Category archives only
   ============================================================================ */

@media (max-width: 991px) {
  body.tax-product_cat .elementor-element-29022e9.wd-col-offcanvas-md-sm:not(.wd-opened),
  body.tax-product_cat .elementor-element-29022e9.wd-col-offcanvas-sm:not(.wd-opened) {
    position: fixed !important;
    inset-block: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: min(300px, calc(100vw - 32px)) !important;
    transform: translate3d(-100%, 0, 0) !important;
  }
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 42px;
  padding-inline: 9px !important;
  direction: rtl;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-filter-lable {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch,
body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-bg,
body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-text,
body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a img {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > .count {
  flex: 0 0 28px !important;
  margin: 0 !important;
}


/* ============================================================================
   Mobile Bastani — Category system final fix: initial drawer state + brand rows
   Scope: Product Category archives only
   ============================================================================ */

@media (max-width: 991px) {
  body.tax-product_cat .elementor-element-29022e9.wd-col-offcanvas-md-sm:not(.wd-opened),
  body.tax-product_cat .elementor-element-29022e9.wd-col-offcanvas-sm:not(.wd-opened) {
    position: fixed !important;
    inset-block: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: min(300px, calc(100vw - 32px)) !important;
    transform: translate3d(-100%, 0, 0) !important;
  }
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 42px;
  padding-inline: 9px !important;
  direction: rtl;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-filter-lable {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch,
body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-bg,
body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-text,
body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a img {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > .count {
  flex: 0 0 28px !important;
  margin: 0 !important;
}


/* ============================================================================
   Mobile Bastani — Product search archive system
   Scope: WooCommerce product-search results and no-results states only
   ============================================================================ */

body.search-results.post-type-archive-product .elementor-element-1ad6cc9,
body.search-no-results.post-type-archive-product .elementor-element-1ad6cc9,
body.search-results.post-type-archive-product #woocommerce_product_categories-2,
body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-8,
body.search-no-results.post-type-archive-product #woocommerce_product_categories-2,
body.search-no-results.post-type-archive-product #woodmart-woocommerce-layered-nav-8,
body.search-results.post-type-archive-product .elementor-element-db664df > .elementor-element-9a429a8,
body.search-results.post-type-archive-product .elementor-element-db664df > .elementor-element-a0904b9,
body.search-no-results.post-type-archive-product .elementor-element-db664df > .elementor-element-9a429a8,
body.search-no-results.post-type-archive-product .elementor-element-db664df > .elementor-element-a0904b9,
body.search-results.post-type-archive-product .products .open-quick-view,
body.search-results.post-type-archive-product .products .wd-swatches-product {
  display: none !important;
}

body.search-results.post-type-archive-product .elementor-element-0d7839b,
body.search-no-results.post-type-archive-product .elementor-element-0d7839b {
  padding-inline: 8px !important;
}

body.search-results.post-type-archive-product .elementor-element-70d7493 .wd-breadcrumbs,
body.search-no-results.post-type-archive-product .elementor-element-70d7493 .wd-breadcrumbs {
  box-sizing: border-box;
  padding-block: 10px 14px !important;
  color: #62626C;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

body.search-results.post-type-archive-product .elementor-element-ffd647a > .e-con-inner,
body.search-no-results.post-type-archive-product .elementor-element-ffd647a > .e-con-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 24px !important;
  padding: 18px 0 20px !important;
  border-bottom: 1px solid #E4E4E9;
}

body.search-results.post-type-archive-product .elementor-element-7e0e964,
body.search-no-results.post-type-archive-product .elementor-element-7e0e964 {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
}

body.search-results.post-type-archive-product .wd-woo-page-title,
body.search-no-results.post-type-archive-product .wd-woo-page-title {
  width: 100% !important;
}

body.search-results.post-type-archive-product .wd-woo-page-title .entry-title,
body.search-no-results.post-type-archive-product .wd-woo-page-title .entry-title {
  max-width: 820px;
  margin: 0 !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: clamp(26px, 2.25vw, 36px) !important;
  font-weight: 850 !important;
  line-height: 1.45 !important;
  letter-spacing: -0.45px;
  text-align: right !important;
  text-wrap: balance;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.search-results.post-type-archive-product .wd-woo-page-title .entry-title::before,
body.search-no-results.post-type-archive-product .wd-woo-page-title .entry-title::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #E30613;
}

body.search-results.post-type-archive-product .elementor-element-db664df {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: auto !important;
  min-width: 190px !important;
  gap: 10px !important;
  margin: 0 !important;
}

body.search-results.post-type-archive-product .elementor-element-db664df > .elementor-element,
body.search-results.post-type-archive-product .elementor-element-db664df .elementor-widget-container,
body.search-results.post-type-archive-product .elementor-element-db664df .woocommerce-ordering {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.search-results.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
  min-width: 190px;
  min-height: 44px;
  height: 44px !important;
  padding-inline: 14px 38px !important;
  border: 1px solid #DCDCE3 !important;
  border-radius: 9px !important;
  background-color: #FFFFFF !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
}

body.search-results.post-type-archive-product .woocommerce-result-count {
  margin: 0 !important;
  padding-inline: 8px !important;
  color: #62626C !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.8 !important;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list {
  display: grid;
  width: 100%;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 42px;
  margin: 0 !important;
  padding: 6px 9px !important;
  box-sizing: border-box;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #FFFFFF;
  direction: rtl;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #34343D !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  text-align: right !important;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-filter-lable {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  text-align: right !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch,
body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-bg,
body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-text,
body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a img {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > .count {
  display: inline-grid !important;
  flex: 0 0 28px !important;
  place-items: center;
  width: 28px !important;
  min-width: 28px !important;
  min-height: 22px;
  margin: 0 !important;
  padding: 2px 6px !important;
  box-sizing: border-box;
  border-radius: 999px !important;
  background: #F1F1F4 !important;
  color: #62626C !important;
  font-size: 10.5px !important;
  font-weight: 700;
  text-align: center;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li:hover,
body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li.chosen {
  border-color: #E30613;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li:hover > a,
body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li.chosen > a {
  color: #E30613 !important;
}

body.search-no-results.post-type-archive-product .elementor-element-29022e9,
body.search-no-results.post-type-archive-product .elementor-element-db664df,
body.search-no-results.post-type-archive-product .elementor-element-23042f1 {
  display: none !important;
}

body.search-no-results.post-type-archive-product .elementor-element-20bf0ad > .e-con-inner {
  display: block !important;
}

body.search-no-results.post-type-archive-product .elementor-element-6e35ee3,
body.search-no-results.post-type-archive-product .elementor-element-ec6c95b {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
}

body.search-no-results.post-type-archive-product .mb-archive-empty-state {
  width: min(100%, 1040px);
  margin: 16px auto 56px !important;
  padding: 48px 28px;
  border: 1px solid #E4E4E9;
  border-radius: 16px;
  background: #FFFFFF;
}

@media (max-width: 991px) {
  body.search-results.post-type-archive-product .elementor-element-29022e9.wd-col-offcanvas-md-sm:not(.wd-opened),
  body.search-results.post-type-archive-product .elementor-element-29022e9.wd-col-offcanvas-sm:not(.wd-opened) {
    position: fixed !important;
    inset-block: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: min(300px, calc(100vw - 32px)) !important;
    transform: translate3d(-100%, 0, 0) !important;
  }

  body.search-results.post-type-archive-product .elementor-element-0d7839b,
  body.search-no-results.post-type-archive-product .elementor-element-0d7839b {
    padding-inline: 16px !important;
  }

  body.search-results.post-type-archive-product .elementor-element-ffd647a > .e-con-inner,
  body.search-no-results.post-type-archive-product .elementor-element-ffd647a > .e-con-inner {
    display: block !important;
    padding: 12px 0 14px !important;
  }

  body.search-results.post-type-archive-product .wd-woo-page-title .entry-title,
  body.search-no-results.post-type-archive-product .wd-woo-page-title .entry-title {
    max-width: none;
    font-size: 26px !important;
    line-height: 1.5 !important;
    letter-spacing: -0.3px;
  }

  body.search-results.post-type-archive-product .wd-woo-page-title .entry-title::before,
  body.search-no-results.post-type-archive-product .wd-woo-page-title .entry-title::before {
    width: 30px;
    margin-bottom: 10px;
  }

  body.search-results.post-type-archive-product .elementor-element-db664df {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 10px !important;
    margin-top: 16px !important;
  }

  body.search-results.post-type-archive-product .elementor-element-db664df > .elementor-element,
  body.search-results.post-type-archive-product .elementor-element-db664df .elementor-widget-container,
  body.search-results.post-type-archive-product .elementor-element-db664df .woocommerce-ordering {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.search-results.post-type-archive-product .elementor-element-23042f1 .wd-off-canvas-btn a,
  body.search-results.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px;
    height: 44px !important;
    border-radius: 9px !important;
  }

  body.search-results.post-type-archive-product .elementor-element-23042f1 .wd-off-canvas-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCDCE3 !important;
    background: #FFFFFF !important;
    color: #1A1A1F !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
  }

  body.search-no-results.post-type-archive-product .wd-woo-page-title .entry-title {
    max-width: 760px;
  }

  body.search-no-results.post-type-archive-product .mb-archive-empty-state {
    margin-top: 12px !important;
    padding: 36px 20px;
  }
}

@media (max-width: 430px) {
  body.search-results.post-type-archive-product .elementor-element-0d7839b,
  body.search-no-results.post-type-archive-product .elementor-element-0d7839b {
    padding-inline: 14px !important;
  }

  body.search-results.post-type-archive-product .wd-woo-page-title .entry-title,
  body.search-no-results.post-type-archive-product .wd-woo-page-title .entry-title {
    font-size: 23px !important;
    line-height: 1.55 !important;
    letter-spacing: -0.2px;
  }

  body.search-results.post-type-archive-product .elementor-element-db664df {
    gap: 8px !important;
  }

  body.search-results.post-type-archive-product .elementor-element-23042f1 .wd-off-canvas-btn a,
  body.search-results.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
    min-height: 42px;
    height: 42px !important;
    font-size: 12px !important;
  }

  body.search-no-results.post-type-archive-product .mb-archive-empty-state {
    padding: 30px 16px;
    border-radius: 14px;
  }

  body.search-no-results.post-type-archive-product .mb-empty-search-form {
    width: 100%;
    max-width: 100%;
  }

  body.search-no-results.post-type-archive-product .mb-empty-search-input {
    min-width: 0;
  }
}

/* Mobile Bastani — Product search toolbar visibility QA correction */
body.search-results.post-type-archive-product .elementor-element-db664df > .elementor-element-9a429a8,
body.search-results.post-type-archive-product .elementor-element-db664df > .elementor-element-a0904b9,
body.search-no-results.post-type-archive-product .elementor-element-db664df > .elementor-element-9a429a8,
body.search-no-results.post-type-archive-product .elementor-element-db664df > .elementor-element-a0904b9 {
  position: absolute !important;
  inline-size: 0 !important;
  block-size: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* ============================================================
   Mobile Bastani — Single Product Premium System (2026-09-24)
   Scope: product pages only. Archive/Home/Cart/Checkout untouched.
   ============================================================ */
body.single-product {
  --mb-product-red: #E30613;
  --mb-product-charcoal: #1A1A1F;
  --mb-product-white: #FFFFFF;
  --mb-product-border: #E4E4E8;
  --mb-product-muted: #66666F;
  --mb-product-success: #147A43;
  --mb-product-radius-lg: 20px;
  --mb-product-radius-md: 14px;
  --mb-product-control: 52px;
}

body.single-product .site-content {
  background: var(--mb-product-white);
}

body.single-product .product-image-summary {
  padding-block: 30px 42px;
}

body.single-product .product-image-summary-inner {
  align-items: start;
  gap: clamp(26px, 3vw, 48px) !important;
}

body.single-product .product-images,
body.single-product .summary {
  min-width: 0;
}

body.single-product .woocommerce-product-gallery {
  overflow: hidden;
  padding: clamp(16px, 2vw, 26px) !important;
  border: 1px solid var(--mb-product-border) !important;
  border-radius: var(--mb-product-radius-lg) !important;
  background: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

body.single-product .woocommerce-product-gallery__image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: 650px;
  object-fit: contain !important;
  object-position: center !important;
}

body.single-product .summary-inner {
  min-width: 0;
  padding: clamp(22px, 2.35vw, 34px) !important;
  border: 1px solid var(--mb-product-border);
  border-radius: var(--mb-product-radius-lg);
  background: var(--mb-product-white);
  box-shadow: none !important;
}

body.single-product .single-breadcrumbs-wrapper {
  min-width: 0;
  margin-bottom: 20px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mb-product-border);
  overflow: visible !important;
}

body.single-product .single-breadcrumbs-wrapper .woocommerce-breadcrumb,
body.single-product .single-breadcrumbs-wrapper .wd-breadcrumbs {
  white-space: normal !important;
  overflow-wrap: anywhere;
  line-height: 1.8;
}

body.single-product .wd-product-brands {
  margin-bottom: 16px !important;
}

body.single-product h1.product_title {
  max-width: 100%;
  margin-bottom: 18px !important;
  color: var(--mb-product-charcoal) !important;
  font-size: clamp(25px, 2.1vw, 34px) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.025em;
  text-align: right;
  overflow: visible !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

body.single-product h1.product_title bdi,
body.single-product h1.product_title .mb-en,
body.single-product h1.product_title:lang(en) {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline;
}

body.single-product .summary .price {
  position: relative;
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  min-height: 66px;
  margin: 0 0 20px !important;
  padding: 15px 20px !important;
  border: 1px solid var(--mb-product-border) !important;
  border-inline-start: 4px solid var(--mb-product-red) !important;
  border-radius: var(--mb-product-radius-md) !important;
  background: var(--mb-product-white) !important;
  color: var(--mb-product-charcoal) !important;
  box-shadow: none !important;
}

body.single-product .summary .price .amount,
body.single-product .summary .price bdi {
  color: var(--mb-product-charcoal) !important;
  font-size: clamp(22px, 1.9vw, 30px) !important;
  font-weight: 850 !important;
}

body.single-product .summary .price del,
body.single-product .summary .price del .amount {
  color: var(--mb-product-muted) !important;
  font-size: 14px !important;
  opacity: 1 !important;
}

body.single-product .summary .price ins {
  text-decoration: none !important;
}

body.single-product .woocommerce-product-details__short-description {
  margin-bottom: 22px;
  color: #4D4D55;
  font-size: 14.5px;
  line-height: 2;
}

body.single-product .stock.in-stock {
  display: inline-flex !important;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px !important;
  padding: 6px 12px !important;
  border: 1px solid #B9DFC9 !important;
  border-radius: 999px !important;
  background: #F4FBF7 !important;
  color: var(--mb-product-success) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}

body.single-product form.variations_form {
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--mb-product-border);
}

body.single-product table.variations {
  margin-bottom: 16px !important;
}

body.single-product table.variations tr {
  display: grid;
  grid-template-columns: minmax(86px, auto) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding-block: 8px;
}

body.single-product table.variations th,
body.single-product table.variations td {
  display: block;
  width: auto !important;
  padding: 0 !important;
}

body.single-product table.variations th label {
  display: inline-block;
  padding-top: 11px;
  color: var(--mb-product-charcoal);
  font-size: 14px;
  font-weight: 800;
}

body.single-product .wd-swatches-product,
body.single-product .mb-variation-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

body.single-product .wd-swatch,
body.single-product .mb-pill-btn {
  min-width: 48px;
  min-height: 44px;
  padding: 9px 14px !important;
  border: 1px solid #D9D9DF !important;
  border-radius: 12px !important;
  background: var(--mb-product-white) !important;
  color: var(--mb-product-charcoal) !important;
  box-shadow: none !important;
  font-weight: 700 !important;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

body.single-product .wd-swatch:hover,
body.single-product .mb-pill-btn:hover,
body.single-product .wd-swatch.wd-active,
body.single-product .mb-pill-btn.is-selected,
body.single-product .mb-pill-btn[aria-pressed='true'] {
  border-color: var(--mb-product-red) !important;
  background: #FFF7F7 !important;
  color: var(--mb-product-red) !important;
}

body.single-product .wd-swatch:focus-visible,
body.single-product .mb-pill-btn:focus-visible,
body.single-product button:focus-visible,
body.single-product a:focus-visible {
  outline: 3px solid rgba(227, 6, 19, .25) !important;
  outline-offset: 2px;
}

body.single-product .reset_variations {
  color: var(--mb-product-red) !important;
  font-size: 12px;
  font-weight: 700;
}

body.single-product .woocommerce-variation-add-to-cart,
body.single-product form.cart:not(.variations_form) {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px !important;
  margin-top: 18px !important;
}

body.single-product .quantity {
  flex: 0 0 126px;
  min-width: 126px;
  height: var(--mb-product-control) !important;
  border: 1px solid #D9D9DF !important;
  border-radius: 12px !important;
  background: var(--mb-product-white) !important;
  overflow: hidden;
}

body.single-product .quantity input,
body.single-product .quantity button {
  height: 100% !important;
  color: var(--mb-product-charcoal) !important;
}

body.single-product .single_add_to_cart_button {
  flex: 1 1 190px;
  min-height: var(--mb-product-control) !important;
  border: 1px solid var(--mb-product-red) !important;
  border-radius: 12px !important;
  background: var(--mb-product-red) !important;
  color: var(--mb-product-white) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

body.single-product .single_add_to_cart_button:hover {
  border-color: #BE0010 !important;
  background: #BE0010 !important;
}

body.single-product .single_add_to_cart_button.disabled,
body.single-product .single_add_to_cart_button:disabled {
  cursor: not-allowed;
  opacity: .48 !important;
}

body.single-product .wd-buy-now-btn,
body.single-product .single-buy-now-btn,
body.single-product button[name='wd-buy-now'] {
  flex: 0 1 132px;
  min-height: var(--mb-product-control) !important;
  border: 1px solid var(--mb-product-charcoal) !important;
  border-radius: 12px !important;
  background: var(--mb-product-charcoal) !important;
  color: var(--mb-product-white) !important;
  box-shadow: none !important;
  font-weight: 800 !important;
}

body.single-product .wd-buy-now-btn:hover,
body.single-product .single-buy-now-btn:hover,
body.single-product button[name='wd-buy-now']:hover {
  background: #303038 !important;
}

body.single-product .compare-btn,
body.single-product .wd-action-btn.wd-wishlist-btn {
  margin-top: 14px;
}

body.single-product .compare-btn a,
body.single-product .wd-action-btn.wd-wishlist-btn a {
  color: #4D4D55 !important;
  font-size: 13px;
  font-weight: 700;
}

body.single-product .product_meta {
  margin-top: 22px !important;
  padding-top: 18px !important;
  border-top: 1px solid var(--mb-product-border) !important;
  color: var(--mb-product-muted);
  font-size: 12px;
  line-height: 1.9;
}

body.single-product .product-share {
  margin-top: 12px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

body.single-product .woocommerce-tabs {
  margin-top: 14px;
}

body.single-product .woocommerce-tabs .wd-nav-tabs {
  position: sticky;
  z-index: 35;
  top: 74px;
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px !important;
  padding: 8px !important;
  border: 1px solid var(--mb-product-border) !important;
  border-radius: 14px !important;
  background: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product .woocommerce-tabs .wd-nav-tabs > li > a {
  min-height: 44px;
  padding: 11px 18px !important;
  border-radius: 10px !important;
  color: #55555E !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}

body.single-product .woocommerce-tabs .wd-nav-tabs > li.wd-active > a,
body.single-product .woocommerce-tabs .wd-nav-tabs > li > a:hover {
  background: var(--mb-product-charcoal) !important;
  color: var(--mb-product-white) !important;
}

body.single-product .woocommerce-Tabs-panel {
  max-width: 1160px;
  margin-inline: auto !important;
  margin-bottom: 24px !important;
  padding: clamp(24px, 3vw, 42px) !important;
  border: 1px solid var(--mb-product-border) !important;
  border-radius: var(--mb-product-radius-lg) !important;
  background: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product .woocommerce-Tabs-panel > h2:first-child,
body.single-product .mb-demo-copy > h2,
body.single-product #reviews h2,
body.single-product .related-products > h3,
body.single-product .upsells-carousel > h3 {
  position: relative;
  margin-bottom: 22px !important;
  padding-inline-start: 15px;
  color: var(--mb-product-charcoal) !important;
  font-weight: 850 !important;
  line-height: 1.45;
}

body.single-product .woocommerce-Tabs-panel > h2:first-child::before,
body.single-product .mb-demo-copy > h2::before,
body.single-product #reviews h2::before,
body.single-product .related-products > h3::before,
body.single-product .upsells-carousel > h3::before {
  position: absolute;
  inset-inline-start: 0;
  top: .18em;
  width: 4px;
  height: 1.08em;
  border-radius: 3px;
  background: var(--mb-product-red);
  content: '';
}

body.single-product .mb-demo-copy {
  color: #3F3F47;
  font-size: 15px;
  line-height: 2.05;
}

body.single-product .mb-demo-copy > ul,
body.single-product .woocommerce-product-attributes {
  margin-block: 18px 28px;
}

body.single-product .mb-demo-copy > ul:first-of-type {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

body.single-product .mb-demo-copy > ul:first-of-type > li {
  position: relative;
  min-height: 68px;
  margin: 0;
  padding: 16px 18px 16px 16px;
  border: 1px solid var(--mb-product-border);
  border-radius: 14px;
  background: var(--mb-product-white);
}

body.single-product .mb-demo-copy > ul:first-of-type > li::before {
  position: absolute;
  inset-inline-start: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 3px;
  background: var(--mb-product-red);
  content: '';
}

body.single-product .mb-demo-spec-table,
body.single-product .woocommerce-product-attributes {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--mb-product-border) !important;
  border-radius: 14px;
  border-collapse: separate !important;
  border-spacing: 0;
  background: var(--mb-product-white) !important;
}

body.single-product .mb-demo-spec-table tr:nth-child(odd),
body.single-product .mb-demo-spec-table tr:nth-child(even),
body.single-product .woocommerce-product-attributes tr:nth-child(odd),
body.single-product .woocommerce-product-attributes tr:nth-child(even) {
  background: var(--mb-product-white) !important;
}

body.single-product .mb-demo-spec-table th,
body.single-product .mb-demo-spec-table td,
body.single-product .woocommerce-product-attributes th,
body.single-product .woocommerce-product-attributes td {
  padding: 14px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mb-product-border) !important;
  color: #3F3F47;
  vertical-align: top;
}

body.single-product .mb-demo-spec-table tr:last-child th,
body.single-product .mb-demo-spec-table tr:last-child td,
body.single-product .woocommerce-product-attributes tr:last-child th,
body.single-product .woocommerce-product-attributes tr:last-child td {
  border-bottom: 0 !important;
}

body.single-product .mb-demo-spec-table th,
body.single-product .woocommerce-product-attributes th {
  width: 28%;
  background: #FAFAFB !important;
  color: var(--mb-product-charcoal) !important;
  font-weight: 800;
}

body.single-product .mb-demo-pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-block: 24px;
}

body.single-product .mb-demo-pros-cons > section {
  margin: 0 !important;
  padding: 22px !important;
  border: 1px solid var(--mb-product-border);
  border-top: 4px solid var(--mb-product-charcoal);
  border-radius: 14px;
  background: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product .mb-demo-pros-cons > section:last-child {
  border-top-color: var(--mb-product-red);
}

body.single-product .mb-demo-pros-cons h3 {
  margin-bottom: 14px !important;
  color: var(--mb-product-charcoal) !important;
  font-size: 17px !important;
  font-weight: 850 !important;
}

body.single-product .mb-demo-pros-cons ul {
  margin: 0;
  padding-inline-start: 18px;
}

body.single-product .mb-demo-copy details {
  margin-bottom: 10px;
  border: 1px solid var(--mb-product-border) !important;
  border-radius: 12px !important;
  background: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product .mb-demo-copy details[open] {
  border-color: rgba(227, 6, 19, .45) !important;
}

body.single-product .mb-demo-copy details summary {
  min-height: 52px;
  padding: 14px 16px !important;
  color: var(--mb-product-charcoal) !important;
  font-weight: 800 !important;
  cursor: pointer;
}

body.single-product .mb-demo-copy details > :not(summary) {
  padding-inline: 16px;
}

body.single-product .mb-product-video-section,
body.single-product .wd-rating-summary,
body.single-product #respond {
  border: 1px solid var(--mb-product-border) !important;
  border-radius: 16px !important;
  background: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product .wd-rating-summary {
  padding: 22px !important;
}

body.single-product #respond {
  padding: clamp(20px, 2.5vw, 32px) !important;
}

body.single-product #respond input,
body.single-product #respond textarea {
  border: 1px solid #D9D9DF !important;
  border-radius: 10px !important;
  background: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product #respond input:focus,
body.single-product #respond textarea:focus {
  border-color: var(--mb-product-red) !important;
  outline: 3px solid rgba(227, 6, 19, .12) !important;
}

body.single-product #respond .submit {
  min-height: 48px;
  border-radius: 10px !important;
  background: var(--mb-product-red) !important;
  color: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product .related-products,
body.single-product .upsells-carousel {
  margin-top: clamp(34px, 4vw, 60px) !important;
  padding-top: clamp(26px, 3vw, 40px);
  border-top: 1px solid var(--mb-product-border);
}

body.single-product .related-products .product-grid-item,
body.single-product .upsells-carousel .product-grid-item {
  border-color: var(--mb-product-border) !important;
  box-shadow: none !important;
}

@media (max-width: 1024px) {
  body.single-product .product-image-summary {
    padding-block: 22px 34px;
  }

  body.single-product .product-image-summary-inner {
    gap: 22px !important;
  }

  body.single-product .summary-inner {
    padding: 22px !important;
  }

  body.single-product h1.product_title {
    font-size: 25px !important;
  }

  body.single-product table.variations tr {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.single-product table.variations th label {
    padding-top: 0;
  }

  body.single-product .mb-demo-copy > ul:first-of-type {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.single-product .product-image-summary {
    padding-block: 14px 28px;
  }

  body.single-product .product-image-summary-inner {
    gap: 18px !important;
  }

  body.single-product .woocommerce-product-gallery {
    padding: 12px !important;
    border-radius: 16px !important;
  }

  body.single-product .summary-inner {
    padding: 18px !important;
    border-radius: 16px;
  }

  body.single-product .single-breadcrumbs-wrapper {
    margin-bottom: 16px !important;
    padding-bottom: 12px;
  }

  body.single-product h1.product_title {
    font-size: 22px !important;
    line-height: 1.45 !important;
  }

  body.single-product .summary .price {
    min-height: 58px;
    padding: 13px 15px !important;
  }

  body.single-product .summary .price .amount,
  body.single-product .summary .price bdi {
    font-size: 22px !important;
  }

  body.single-product .woocommerce-product-details__short-description {
    font-size: 14px;
    line-height: 1.9;
  }

  body.single-product .woocommerce-variation-add-to-cart,
  body.single-product form.cart:not(.variations_form) {
    gap: 9px !important;
  }

  body.single-product .quantity,
  body.single-product .single_add_to_cart_button,
  body.single-product .wd-buy-now-btn,
  body.single-product .single-buy-now-btn,
  body.single-product button[name='wd-buy-now'] {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none !important;
  }

  body.single-product .quantity {
    min-width: 100%;
  }

  body.single-product .woocommerce-tabs .wd-nav-tabs {
    position: static;
  }

  body.single-product .wd-accordion-title {
    min-height: 54px;
    margin-top: 10px !important;
    padding: 14px 16px !important;
    border: 1px solid var(--mb-product-border) !important;
    border-radius: 12px !important;
    background: var(--mb-product-white) !important;
    color: var(--mb-product-charcoal) !important;
    font-weight: 800 !important;
  }

  body.single-product .wd-accordion-title.wd-active {
    border-color: var(--mb-product-red) !important;
    color: var(--mb-product-red) !important;
  }

  body.single-product .woocommerce-Tabs-panel {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  body.single-product .mb-demo-copy > ul:first-of-type,
  body.single-product .mb-demo-pros-cons {
    grid-template-columns: 1fr;
  }

  body.single-product .mb-demo-spec-table th,
  body.single-product .woocommerce-product-attributes th {
    width: 38%;
  }

  body.single-product .mb-demo-spec-table th,
  body.single-product .mb-demo-spec-table td,
  body.single-product .woocommerce-product-attributes th,
  body.single-product .woocommerce-product-attributes td {
    padding: 12px 10px !important;
    font-size: 12.5px;
    overflow-wrap: anywhere;
  }

  body.single-product .related-products,
  body.single-product .upsells-carousel {
    margin-top: 34px !important;
    padding-top: 26px;
  }
}

@media (max-width: 430px) {
  body.single-product .product-image-summary .container,
  body.single-product .product-image-summary-inner {
    min-width: 0;
  }

  body.single-product .summary-inner {
    padding: 16px !important;
  }

  body.single-product h1.product_title {
    font-size: 20px !important;
    letter-spacing: -0.015em;
  }

  body.single-product .wd-swatch,
  body.single-product .mb-pill-btn {
    min-height: 42px;
    padding-inline: 12px !important;
  }

  body.single-product .woocommerce-Tabs-panel {
    padding-inline: 14px !important;
  }
}


/* ============================================================
   Mobile Bastani — Premium Cart System (2026-09-26)
   Scope: WooCommerce Cart page only. Checkout and archives untouched.
   ============================================================ */
body.woocommerce-cart {
  --mb-cart-red: #E30613;
  --mb-cart-red-dark: #BE0010;
  --mb-cart-charcoal: #1A1A1F;
  --mb-cart-white: #FFFFFF;
  --mb-cart-border: #E4E4E8;
  --mb-cart-muted: #66666F;
  --mb-cart-success: #147A43;
  --mb-cart-radius-lg: 20px;
  --mb-cart-radius-md: 14px;
  --mb-cart-control: 48px;
}

body.woocommerce-cart .site-content,
body.woocommerce-cart .main-page-wrapper {
  background: var(--mb-cart-white) !important;
}

body.woocommerce-cart .wd-page-title {
  margin-bottom: 34px !important;
  padding-block: 34px !important;
  border: 0 !important;
  border-radius: 0 0 20px 20px !important;
  background: var(--mb-cart-charcoal) !important;
  box-shadow: none !important;
}

body.woocommerce-cart .wd-checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 54px);
  margin: 0 !important;
  color: rgba(255,255,255,.58) !important;
}

body.woocommerce-cart .wd-checkout-steps li {
  position: relative;
  margin: 0 !important;
  color: inherit !important;
  font-size: 15px !important;
  font-weight: 750 !important;
}

body.woocommerce-cart .wd-checkout-steps li:not(:last-child)::after {
  inset-inline-start: calc(100% + 10px) !important;
  color: rgba(255,255,255,.34) !important;
}

body.woocommerce-cart .wd-checkout-steps a,
body.woocommerce-cart .wd-checkout-steps span {
  color: inherit !important;
}

body.woocommerce-cart .wd-checkout-steps .step-active {
  color: var(--mb-cart-white) !important;
}

body.woocommerce-cart .wd-checkout-steps .step-active::before {
  position: absolute;
  inset-inline: 0;
  bottom: -11px;
  height: 3px;
  border-radius: 999px;
  background: var(--mb-cart-red);
  content: '';
}

body.woocommerce-cart .elementor-widget-wd_cart_table,
body.woocommerce-cart .elementor-widget-wd_cart_totals,
body.woocommerce-cart .elementor-widget-wd_cart_content,
body.woocommerce-cart .elementor-widget-wd_shipping_progress_bar {
  min-width: 0;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals,
body.woocommerce-cart .wd-free-progress-bar,
body.woocommerce-cart .elementor-widget-wd_cart_content .woocommerce-notices-wrapper + * {
  border: 1px solid var(--mb-cart-border) !important;
  border-radius: var(--mb-cart-radius-lg) !important;
  background: var(--mb-cart-white) !important;
  box-shadow: none !important;
}

body.woocommerce-cart .woocommerce-cart-form {
  overflow: hidden;
}

body.woocommerce-cart table.shop_table {
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: transparent !important;
}

body.woocommerce-cart .woocommerce-cart-form__contents thead {
  background: #FAFAFB !important;
}

body.woocommerce-cart .woocommerce-cart-form__contents thead th {
  padding: 18px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mb-cart-border) !important;
  color: #55555E !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.woocommerce-cart .woocommerce-cart-form__cart-item td {
  padding: 18px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mb-cart-border) !important;
  background: var(--mb-cart-white) !important;
  vertical-align: middle !important;
}

body.woocommerce-cart .woocommerce-cart-form__cart-item:last-of-type td {
  border-bottom: 0 !important;
}

body.woocommerce-cart td.product-thumbnail {
  width: 104px !important;
}

body.woocommerce-cart td.product-thumbnail a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--mb-cart-border);
  border-radius: 14px;
  background: var(--mb-cart-white);
}

body.woocommerce-cart td.product-thumbnail img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  padding: 7px;
  object-fit: contain !important;
  object-position: center !important;
}

body.woocommerce-cart td.product-name {
  min-width: 190px;
}

body.woocommerce-cart td.product-name > a {
  display: inline-block;
  max-width: 100%;
  color: var(--mb-cart-charcoal) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.65 !important;
  overflow-wrap: anywhere;
}

body.woocommerce-cart td.product-name > a:hover {
  color: var(--mb-cart-red) !important;
}

body.woocommerce-cart td.product-name .variation,
body.woocommerce-cart td.product-name .product-variation {
  margin-top: 7px !important;
  color: var(--mb-cart-muted) !important;
  font-size: 12px !important;
  line-height: 1.75;
}

body.woocommerce-cart td.product-price,
body.woocommerce-cart td.product-subtotal {
  white-space: nowrap;
}

body.woocommerce-cart td.product-price .amount {
  color: #55555E !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

body.woocommerce-cart td.product-subtotal .amount {
  color: var(--mb-cart-red) !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

body.woocommerce-cart .quantity {
  display: grid !important;
  grid-template-columns: 40px 48px 40px;
  width: 128px !important;
  height: 46px !important;
  min-width: 128px !important;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #D9D9DF !important;
  border-radius: 12px !important;
  background: var(--mb-cart-white) !important;
}

body.woocommerce-cart .quantity .minus,
body.woocommerce-cart .quantity .plus,
body.woocommerce-cart .quantity .qty {
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--mb-cart-charcoal) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body.woocommerce-cart .quantity .minus,
body.woocommerce-cart .quantity .plus {
  cursor: pointer;
}

body.woocommerce-cart .quantity .minus:hover,
body.woocommerce-cart .quantity .plus:hover {
  background: #F7F7F8 !important;
  color: var(--mb-cart-red) !important;
}

body.woocommerce-cart .quantity .qty {
  border-inline: 1px solid #ECECF0 !important;
  text-align: center !important;
  appearance: textfield;
}

body.woocommerce-cart td.product-remove {
  width: 54px !important;
  padding-inline: 10px !important;
}

body.woocommerce-cart td.product-remove .remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid var(--mb-cart-border) !important;
  border-radius: 50% !important;
  background: var(--mb-cart-white) !important;
  color: #777780 !important;
  font-size: 19px !important;
  line-height: 1 !important;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

body.woocommerce-cart td.product-remove .remove:hover {
  border-color: rgba(227,6,19,.4) !important;
  background: #FFF7F7 !important;
  color: var(--mb-cart-red) !important;
}

body.woocommerce-cart td.actions {
  padding: 18px !important;
  border: 0 !important;
  border-top: 1px solid var(--mb-cart-border) !important;
  background: #FAFAFB !important;
}

body.woocommerce-cart .wd-coupon-form {
  display: flex;
  align-items: stretch;
  gap: 10px;
  max-width: 460px;
}

body.woocommerce-cart .wd-coupon-form #coupon_code {
  flex: 1 1 auto;
  min-width: 0;
  height: var(--mb-cart-control) !important;
  padding-inline: 15px !important;
  border: 1px solid #D9D9DF !important;
  border-radius: 11px !important;
  background: var(--mb-cart-white) !important;
  box-shadow: none !important;
  color: var(--mb-cart-charcoal) !important;
}

body.woocommerce-cart .wd-coupon-form #coupon_code:focus {
  border-color: var(--mb-cart-red) !important;
  outline: 3px solid rgba(227,6,19,.11) !important;
}

body.woocommerce-cart .wd-coupon-form button {
  min-height: var(--mb-cart-control) !important;
  padding-inline: 20px !important;
  border: 1px solid var(--mb-cart-charcoal) !important;
  border-radius: 11px !important;
  background: var(--mb-cart-white) !important;
  color: var(--mb-cart-charcoal) !important;
  box-shadow: none !important;
  font-weight: 800 !important;
}

body.woocommerce-cart .wd-coupon-form button:hover {
  background: var(--mb-cart-charcoal) !important;
  color: var(--mb-cart-white) !important;
}

body.woocommerce-cart .wd-free-progress-bar {
  margin-bottom: 20px !important;
  padding: 18px 20px !important;
}

body.woocommerce-cart .wd-free-progress-bar .progress-msg {
  margin-bottom: 12px !important;
  color: var(--mb-cart-charcoal) !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  line-height: 1.75;
}

body.woocommerce-cart .wd-free-progress-bar .progress-area {
  height: 7px !important;
  overflow: hidden;
  border-radius: 999px !important;
  background: #ECECF0 !important;
}

body.woocommerce-cart .wd-free-progress-bar .progress-bar {
  height: 100% !important;
  border-radius: inherit !important;
  background: var(--mb-cart-red) !important;
  box-shadow: none !important;
}

body.woocommerce-cart .cart_totals {
  overflow: hidden;
  padding: 0 !important;
}

body.woocommerce-cart .cart-totals-inner {
  padding: 24px !important;
  background: var(--mb-cart-white) !important;
}

body.woocommerce-cart .cart_totals h2 {
  margin: 0 0 18px !important;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mb-cart-border);
  color: var(--mb-cart-charcoal) !important;
  font-size: 20px !important;
  font-weight: 850 !important;
}

body.woocommerce-cart .cart_totals table tr,
body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
  border: 0 !important;
  background: transparent !important;
}

body.woocommerce-cart .cart_totals table tr {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-block: 13px !important;
  border-bottom: 1px solid var(--mb-cart-border) !important;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
  width: auto !important;
  padding: 0 !important;
  color: #55555E !important;
  font-size: 13px !important;
}

body.woocommerce-cart .cart_totals table td {
  text-align: left !important;
}

body.woocommerce-cart .cart_totals .order-total {
  margin-top: 4px;
  padding-block: 18px !important;
  border-bottom: 0 !important;
}

body.woocommerce-cart .cart_totals .order-total th {
  color: var(--mb-cart-charcoal) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
}

body.woocommerce-cart .cart_totals .order-total .amount {
  color: var(--mb-cart-red) !important;
  font-size: clamp(20px, 1.65vw, 25px) !important;
  font-weight: 900 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout {
  margin-top: 12px !important;
  padding: 0 !important;
}

body.woocommerce-cart .checkout-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 54px !important;
  margin: 0 !important;
  border: 1px solid var(--mb-cart-red) !important;
  border-radius: 12px !important;
  background: var(--mb-cart-red) !important;
  color: var(--mb-cart-white) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

body.woocommerce-cart .checkout-button:hover,
body.woocommerce-cart .checkout-button:focus-visible {
  border-color: var(--mb-cart-red-dark) !important;
  background: var(--mb-cart-red-dark) !important;
  color: var(--mb-cart-white) !important;
}

body.woocommerce-cart button:focus-visible,
body.woocommerce-cart a:focus-visible,
body.woocommerce-cart input:focus-visible {
  outline: 3px solid rgba(227,6,19,.18) !important;
  outline-offset: 2px;
}

body.woocommerce-cart .elementor-widget-wd_cart_content h4,
body.woocommerce-cart .elementor-widget-wd_cart_content h3 {
  color: var(--mb-cart-charcoal) !important;
  font-weight: 850 !important;
}

body.woocommerce-cart .cart-empty {
  margin: 30px auto 18px !important;
  color: var(--mb-cart-charcoal) !important;
  font-size: clamp(20px, 2.2vw, 30px) !important;
  font-weight: 850 !important;
  text-align: center;
}

body.woocommerce-cart .return-to-shop {
  margin-bottom: 48px !important;
  text-align: center;
}

body.woocommerce-cart .return-to-shop .button {
  min-height: 50px;
  padding-inline: 28px !important;
  border: 1px solid var(--mb-cart-red) !important;
  border-radius: 12px !important;
  background: var(--mb-cart-red) !important;
  color: var(--mb-cart-white) !important;
  box-shadow: none !important;
  font-weight: 850 !important;
}

@media (max-width: 1024px) {
  body.woocommerce-cart .wd-page-title {
    margin-bottom: 26px !important;
    padding-block: 28px !important;
  }

  body.woocommerce-cart .cart-totals-inner {
    padding: 20px !important;
  }

  body.woocommerce-cart td.product-thumbnail {
    width: 88px !important;
  }

  body.woocommerce-cart td.product-thumbnail a {
    width: 74px;
    height: 74px;
  }
}

@media (max-width: 767px) {
  body.woocommerce-cart .wd-page-title {
    margin-inline: 0 !important;
    margin-bottom: 22px !important;
    padding-block: 22px !important;
    border-radius: 0 !important;
  }

  body.woocommerce-cart .wd-checkout-steps {
    gap: 0;
  }

  body.woocommerce-cart .wd-checkout-steps li {
    display: none !important;
  }

  body.woocommerce-cart .wd-checkout-steps .step-active {
    display: block !important;
    width: 100%;
    color: var(--mb-cart-white) !important;
    font-size: 22px !important;
    text-align: right;
  }

  body.woocommerce-cart .wd-checkout-steps .step-active::before {
    display: none;
  }

  body.woocommerce-cart .woocommerce-cart-form {
    overflow: visible;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__contents,
  body.woocommerce-cart .woocommerce-cart-form__contents tbody {
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__contents thead {
    display: none !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item {
    position: relative;
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) 40px;
    grid-template-rows: auto auto auto;
    gap: 8px 13px;
    width: 100% !important;
    margin-bottom: 14px;
    padding: 14px !important;
    border: 1px solid var(--mb-cart-border) !important;
    border-radius: 16px !important;
    background: var(--mb-cart-white) !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td {
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td::before {
    display: none !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-thumbnail {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-items: flex-start;
  }

  body.woocommerce-cart td.product-thumbnail a {
    width: 82px;
    height: 82px;
    margin: 0;
    border-radius: 13px;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-name {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-start;
    padding-inline-end: 4px !important;
  }

  body.woocommerce-cart td.product-name > a {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-remove {
    grid-column: 3;
    grid-row: 1;
    align-items: flex-start;
    justify-content: flex-end;
  }

  body.woocommerce-cart td.product-remove .remove {
    width: 36px !important;
    height: 36px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-price {
    grid-column: 2 / span 2;
    grid-row: 2;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--mb-cart-muted);
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-price::before {
    display: inline !important;
    color: var(--mb-cart-muted);
    content: attr(data-title);
    font-size: 11.5px;
    font-weight: 650;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-price .amount {
    font-size: 12.5px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-quantity {
    grid-column: 2;
    grid-row: 3;
    align-items: center;
  }

  body.woocommerce-cart .quantity {
    grid-template-columns: 38px 44px 38px;
    width: 120px !important;
    min-width: 120px !important;
    height: 44px !important;
    margin: 0;
  }

  body.woocommerce-cart .quantity .minus,
  body.woocommerce-cart .quantity .plus,
  body.woocommerce-cart .quantity .qty {
    height: 42px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-subtotal {
    grid-column: 3;
    grid-row: 3;
    align-items: center;
    justify-content: flex-end;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-subtotal .amount {
    font-size: 13px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__contents tr:not(.cart_item) {
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-cart td.actions {
    display: block !important;
    width: 100% !important;
    margin-top: 6px;
    padding: 14px !important;
    border: 1px solid var(--mb-cart-border) !important;
    border-radius: 14px !important;
    background: #FAFAFB !important;
  }

  body.woocommerce-cart .wd-coupon-form {
    max-width: none;
  }

  body.woocommerce-cart .wd-free-progress-bar {
    margin-bottom: 16px !important;
    padding: 16px !important;
    border-radius: 14px !important;
  }

  body.woocommerce-cart .cart_totals {
    margin-top: 20px;
    border-radius: 16px !important;
  }

  body.woocommerce-cart .cart-totals-inner {
    padding: 18px !important;
  }

  body.woocommerce-cart .cart_totals h2 {
    font-size: 18px !important;
  }

  body.woocommerce-cart .cart_totals .order-total .amount {
    font-size: 21px !important;
  }

  body.woocommerce-cart .checkout-button {
    min-height: 56px !important;
  }
}

@media (max-width: 430px) {
  body.woocommerce-cart .woocommerce-cart-form__cart-item {
    grid-template-columns: 74px minmax(0, 1fr) 38px;
    gap: 8px 10px;
    padding: 12px !important;
  }

  body.woocommerce-cart td.product-thumbnail a {
    width: 74px;
    height: 74px;
  }

  body.woocommerce-cart .wd-coupon-form {
    flex-direction: column;
  }

  body.woocommerce-cart .wd-coupon-form button,
  body.woocommerce-cart .wd-coupon-form #coupon_code {
    width: 100% !important;
  }

  body.woocommerce-cart .cart-totals-inner {
    padding: 16px !important;
  }
}

/* Mobile Bastani — Empty Cart Return to Shop CTA (2026-09-26) */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .mb-empty-cart-cta {
  display: flex;
  justify-content: center;
  margin: 22px 0 0;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .mb-empty-cart-cta .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 48px;
  padding: 11px 26px;
  border: 1px solid #E30613;
  border-radius: 12px;
  background: #E30613;
  color: #FFFFFF;
  font-family: Vazirmatn, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .mb-empty-cart-cta .wp-block-button__link:hover {
  border-color: #1A1A1F;
  background: #1A1A1F;
  color: #FFFFFF;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .mb-empty-cart-cta .wp-block-button__link:focus-visible {
  outline: 3px solid #E30613;
  outline-offset: 3px;
}

@media (max-width: 430px) {
  body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .mb-empty-cart-cta {
    margin-top: 18px;
  }
}


/* Mobile Bastani — Checkout Premium Visual Polish (2026-09-26) */
body.woocommerce-checkout {
  --mb-checkout-red: #E30613;
  --mb-checkout-red-dark: #C40510;
  --mb-checkout-ink: #1A1A1F;
  --mb-checkout-muted: #66666E;
  --mb-checkout-line: #E7E7EC;
  --mb-checkout-soft: #FAFAFB;
  --mb-checkout-white: #FFFFFF;
  font-family: Vazirmatn, sans-serif;
}

body.woocommerce-checkout .wd-page-title {
  min-height: 0;
  margin: 18px 0 0;
  padding: 22px 0;
  border: 1px solid var(--mb-checkout-line);
  border-radius: 16px;
  background: var(--mb-checkout-white) !important;
  color: var(--mb-checkout-ink) !important;
}

body.woocommerce-checkout .wd-page-title .wd-page-title-bg {
  display: none;
}

body.woocommerce-checkout .wd-checkout-steps {
  gap: 22px;
  align-items: center;
  justify-content: center;
  color: var(--mb-checkout-ink);
  font-size: 15px;
  font-weight: 650;
}

body.woocommerce-checkout .wd-checkout-steps li {
  gap: 22px;
  color: #8A8A92;
}

body.woocommerce-checkout .wd-checkout-steps li:not(:last-child)::after {
  color: #B7B7BE;
  font-size: 15px;
}

body.woocommerce-checkout .wd-checkout-steps :is(a, span) {
  color: inherit !important;
}

body.woocommerce-checkout .wd-checkout-steps .step-active {
  position: relative;
  color: var(--mb-checkout-ink);
  font-weight: 800;
}

body.woocommerce-checkout .wd-checkout-steps .step-active::before {
  position: absolute;
  right: 0;
  bottom: -9px;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--mb-checkout-red);
  content: "";
}

body.woocommerce-checkout .wd-page-content {
  padding-top: 22px;
  background: var(--mb-checkout-white);
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle {
  margin: 0 0 22px;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  max-width: 610px;
  min-height: 56px;
  margin: 0 0 0 auto !important;
  padding: 15px 18px !important;
  border: 1px solid var(--mb-checkout-line) !important;
  border-right: 3px solid var(--mb-checkout-red) !important;
  border-radius: 12px !important;
  background: var(--mb-checkout-white) !important;
  color: var(--mb-checkout-muted) !important;
  box-shadow: none !important;
  font-size: 13.5px !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
  display: none !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon {
  color: var(--mb-checkout-ink) !important;
  font-weight: 750;
  text-decoration-color: var(--mb-checkout-red);
  text-underline-offset: 4px;
}

body.woocommerce-checkout form.checkout_coupon {
  max-width: 610px;
  margin: -10px 0 24px auto;
  padding: 18px;
  border: 1px solid var(--mb-checkout-line);
  border-radius: 12px;
  background: var(--mb-checkout-soft);
  box-shadow: none;
}

body.woocommerce-checkout form.checkout_coupon .form-row {
  margin-bottom: 0;
}

body.woocommerce-checkout form.checkout_coupon :is(input.input-text, button) {
  min-height: 46px;
  border-radius: 9px;
  font-family: Vazirmatn, sans-serif;
}

body.woocommerce-checkout form.checkout_coupon input.input-text {
  border: 1px solid #DADAE1;
  background: var(--mb-checkout-white);
}

body.woocommerce-checkout form.checkout_coupon button {
  border: 1px solid var(--mb-checkout-ink);
  background: var(--mb-checkout-ink);
  color: var(--mb-checkout-white);
}

body.woocommerce-checkout form.checkout > .elementor > .elementor-element > .e-con-inner {
  align-items: flex-start;
  gap: 24px;
}

body.woocommerce-checkout form.checkout .elementor-element-5b69235 {
  width: min(100%, 790px);
  gap: 24px;
}

body.woocommerce-checkout form.checkout .elementor-element-bf9235e {
  width: min(100%, 550px);
  gap: 20px;
}

body.woocommerce-checkout form.checkout :is(.elementor-element-9d6f1a7, .elementor-element-695ea74, .elementor-element-f57a155, .elementor-element-12f9097) {
  padding: 24px;
  border: 1px solid var(--mb-checkout-line);
  border-radius: 16px;
  background: var(--mb-checkout-white);
  box-shadow: none;
}

body.woocommerce-checkout form.checkout .elementor-element-f57a155 {
  position: sticky;
  top: 18px;
}

body.woocommerce-checkout h4.woodmart-title-container.title {
  position: relative;
  margin: 0 0 22px !important;
  padding: 0 13px 14px 0 !important;
  border-bottom: 1px solid var(--mb-checkout-line) !important;
  color: var(--mb-checkout-ink) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.5;
}

body.woocommerce-checkout h4.woodmart-title-container.title::before {
  position: absolute;
  top: 7px;
  right: 0;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--mb-checkout-red);
  content: "";
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
  display: flow-root;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) .form-row {
  margin-bottom: 18px;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) label {
  display: inline-block;
  margin-bottom: 7px !important;
  color: var(--mb-checkout-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.7;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) .required {
  color: var(--mb-checkout-red) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) :is(input.input-text, textarea),
body.woocommerce-checkout .select2-container--default .select2-selection--single {
  min-height: 50px !important;
  border: 1px solid #DADAE1 !important;
  border-radius: 10px !important;
  background: var(--mb-checkout-white) !important;
  color: var(--mb-checkout-ink) !important;
  box-shadow: none !important;
  font-family: Vazirmatn, sans-serif !important;
  font-size: 14px !important;
  transition: border-color .18s ease, background-color .18s ease !important;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) input.input-text {
  height: 50px !important;
  padding: 0 15px !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  height: 48px;
  padding: 0 15px;
  color: var(--mb-checkout-ink);
  line-height: 48px;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 10px;
  left: 12px;
  right: auto;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) textarea {
  min-height: 112px !important;
  padding: 14px 15px !important;
  line-height: 1.8;
  resize: vertical;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) :is(input.input-text, textarea):focus,
body.woocommerce-checkout .select2-container--open .select2-selection--single,
body.woocommerce-checkout .select2-container--focus .select2-selection--single {
  border-color: var(--mb-checkout-red) !important;
  outline: 3px solid rgba(227, 6, 19, .11) !important;
  outline-offset: 0;
}

body.woocommerce-checkout .form-row.woocommerce-invalid :is(input.input-text, textarea),
body.woocommerce-checkout .form-row.woocommerce-invalid .select2-selection--single {
  border-color: #B42318 !important;
  background: #FFF8F7 !important;
}

body.woocommerce-checkout .form-row.woocommerce-validated :is(input.input-text, textarea),
body.woocommerce-checkout .form-row.woocommerce-validated .select2-selection--single {
  border-color: #B8B8C0 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  margin-bottom: 16px !important;
  border: 1px solid var(--mb-checkout-line) !important;
  border-radius: 12px !important;
  background: var(--mb-checkout-white) !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  padding: 12px 14px !important;
  background: var(--mb-checkout-soft) !important;
  color: var(--mb-checkout-ink) !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod {
  min-height: 92px;
  padding: 13px 14px !important;
  gap: 10px;
  color: var(--mb-checkout-ink);
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod-img {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border: 1px solid #EFEFF2;
  border-radius: 9px;
  background: var(--mb-checkout-white);
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod-img img {
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod-title {
  color: var(--mb-checkout-ink);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.7;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .quantity {
  min-width: 102px;
  height: 38px;
  border: 1px solid #E2E2E7;
  border-radius: 9px;
  background: var(--mb-checkout-soft);
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .quantity :is(input.qty, .btn) {
  height: 36px !important;
  min-height: 36px !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
  padding-inline: 12px !important;
  color: var(--mb-checkout-ink) !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
  white-space: nowrap;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot :is(th, td) {
  padding: 13px 14px !important;
  border-bottom: 1px solid var(--mb-checkout-line) !important;
  background: var(--mb-checkout-white) !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
  color: var(--mb-checkout-muted) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
  color: var(--mb-checkout-ink) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total :is(th, td) {
  padding-top: 17px !important;
  padding-bottom: 17px !important;
  border-bottom: 0 !important;
  color: var(--mb-checkout-ink) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td {
  color: var(--mb-checkout-red) !important;
  font-size: 19px !important;
}

body.woocommerce-checkout .wd-shipping-progress-bar {
  margin-top: 2px;
  color: var(--mb-checkout-muted);
  font-size: 13px;
}

body.woocommerce-checkout .wd-shipping-progress-bar .wd-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: #ECECF0;
}

body.woocommerce-checkout .wd-shipping-progress-bar .wd-progress-bar > div {
  border-radius: inherit;
  background: var(--mb-checkout-red) !important;
}

body.woocommerce-checkout .elementor-element-12f9097 .wd-accordion-title {
  min-height: 46px;
  padding: 12px 0;
  color: var(--mb-checkout-ink);
  font-size: 13.5px;
  font-weight: 750;
}

body.woocommerce-checkout .elementor-element-12f9097 .wd-accordion-content {
  padding: 14px 0 0;
  border-top: 1px solid var(--mb-checkout-line);
  color: var(--mb-checkout-muted);
  font-size: 13px;
  line-height: 1.9;
}

body.woocommerce-checkout #payment {
  color: var(--mb-checkout-muted);
}

body.woocommerce-checkout #payment .wc_payment_methods {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

body.woocommerce-checkout #payment .wc_payment_method {
  padding: 16px;
  border: 1px solid var(--mb-checkout-line);
  border-radius: 12px;
  background: var(--mb-checkout-soft);
}

body.woocommerce-checkout #payment .wc_payment_method > label {
  color: var(--mb-checkout-ink);
  font-size: 14px;
  font-weight: 800;
}

body.woocommerce-checkout #payment .payment_box {
  margin: 12px 0 0;
  padding: 13px 14px;
  border: 0;
  border-radius: 9px;
  background: var(--mb-checkout-white);
  color: var(--mb-checkout-muted);
  font-size: 13px;
  line-height: 1.9;
}

body.woocommerce-checkout #payment .payment_box::before {
  display: none;
}

body.woocommerce-checkout #payment .woocommerce-privacy-policy-text {
  margin: 0 0 18px;
  padding-top: 16px;
  border-top: 1px solid var(--mb-checkout-line);
  color: var(--mb-checkout-muted);
  font-size: 12.5px;
  line-height: 1.9;
}

body.woocommerce-checkout #payment .woocommerce-privacy-policy-text a {
  color: var(--mb-checkout-ink);
  font-weight: 750;
  text-decoration-color: var(--mb-checkout-red);
  text-underline-offset: 3px;
}

body.woocommerce-checkout #place_order {
  min-height: 52px !important;
  border: 1px solid var(--mb-checkout-red) !important;
  border-radius: 11px !important;
  background: var(--mb-checkout-red) !important;
  color: var(--mb-checkout-white) !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  transition: background-color .18s ease, border-color .18s ease !important;
}

body.woocommerce-checkout #place_order:hover {
  border-color: var(--mb-checkout-red-dark) !important;
  background: var(--mb-checkout-red-dark) !important;
  transform: none !important;
}

body.woocommerce-checkout #place_order:focus-visible {
  outline: 3px solid rgba(227, 6, 19, .22) !important;
  outline-offset: 3px;
}

body.woocommerce-checkout #place_order:disabled,
body.woocommerce-checkout #place_order.disabled,
body.woocommerce-checkout #place_order.processing {
  border-color: #B7B7BE !important;
  background: #B7B7BE !important;
  cursor: not-allowed;
}

body.woocommerce-checkout :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) {
  border: 1px solid var(--mb-checkout-line) !important;
  border-right: 3px solid var(--mb-checkout-red) !important;
  border-radius: 12px !important;
  background: var(--mb-checkout-white) !important;
  box-shadow: none !important;
  color: var(--mb-checkout-ink) !important;
}

body.woocommerce-checkout .woocommerce-error {
  border-color: #F1C3BF !important;
  border-right-color: #B42318 !important;
  background: #FFF8F7 !important;
}

body.woocommerce-checkout .woocommerce-error::before {
  color: #B42318 !important;
}

@media (max-width: 1024px) {
  body.woocommerce-checkout form.checkout > .elementor > .elementor-element > .e-con-inner {
    gap: 18px;
  }

  body.woocommerce-checkout form.checkout :is(.elementor-element-9d6f1a7, .elementor-element-695ea74, .elementor-element-f57a155, .elementor-element-12f9097) {
    padding: 20px;
  }

  body.woocommerce-checkout form.checkout .elementor-element-f57a155 {
    position: static;
  }
}

@media (max-width: 767px) {
  body.woocommerce-checkout .wd-page-title {
    margin-top: 12px;
    padding: 18px 0;
    border-radius: 12px;
  }

  body.woocommerce-checkout .wd-checkout-steps {
    font-size: 17px;
  }

  body.woocommerce-checkout .wd-checkout-steps li:not(.step-active) {
    display: none;
  }

  body.woocommerce-checkout .wd-checkout-steps .step-active::before {
    bottom: -7px;
  }

  body.woocommerce-checkout .wd-page-content {
    padding-top: 18px;
  }

  body.woocommerce-checkout .woocommerce-form-coupon-toggle,
  body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
  body.woocommerce-checkout form.checkout_coupon {
    width: 100%;
    max-width: none;
  }

  body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    min-height: 0;
    margin: 0 !important;
    padding: 15px 16px !important;
    text-align: center !important;
  }

  body.woocommerce-checkout form.checkout_coupon {
    margin: -6px 0 20px;
    padding: 14px;
  }

  body.woocommerce-checkout form.checkout_coupon .form-row {
    width: 100%;
    margin: 0 0 10px;
  }

  body.woocommerce-checkout form.checkout_coupon .form-row-last {
    margin-bottom: 0;
  }

  body.woocommerce-checkout form.checkout > .elementor > .elementor-element > .e-con-inner {
    gap: 16px;
  }

  body.woocommerce-checkout form.checkout .elementor-element-5b69235 {
    display: contents;
  }

  body.woocommerce-checkout form.checkout .elementor-element-9d6f1a7 {
    order: 1;
  }

  body.woocommerce-checkout form.checkout .elementor-element-bf9235e {
    order: 2;
  }

  body.woocommerce-checkout form.checkout .elementor-element-695ea74 {
    order: 3;
  }

  body.woocommerce-checkout form.checkout :is(.elementor-element-9d6f1a7, .elementor-element-695ea74, .elementor-element-f57a155, .elementor-element-12f9097) {
    width: 100%;
    padding: 18px;
    border-radius: 13px;
  }

  body.woocommerce-checkout h4.woodmart-title-container.title {
    margin-bottom: 18px !important;
    font-size: 17px !important;
  }

  body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) .form-row-first,
  body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) .form-row-last {
    float: none;
    width: 100%;
  }

  body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) .form-row {
    margin-bottom: 15px;
  }

  body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) :is(input.input-text, textarea),
  body.woocommerce-checkout .select2-container--default .select2-selection--single {
    min-height: 50px !important;
    font-size: 16px !important;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod {
    min-height: 88px;
    padding: 12px !important;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod-img {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .quantity {
    min-width: 96px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
    padding-inline: 10px !important;
    font-size: 12px !important;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 17px !important;
  }

  body.woocommerce-checkout #place_order {
    min-height: 54px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 430px) {
  body.woocommerce-checkout form.checkout :is(.elementor-element-9d6f1a7, .elementor-element-695ea74, .elementor-element-f57a155, .elementor-element-12f9097) {
    padding: 16px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod {
    gap: 8px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod-img {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod-title {
    font-size: 12px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .quantity {
    min-width: 90px;
  }
}



/* ============================================================
   Mobile Bastani — Order Received / Thank You Premium Polish (2026-09-28)
   Scope: WooCommerce order-received endpoint only.
   ============================================================ */
body.woocommerce-order-received {
  --mb-ty-red: #E30613;
  --mb-ty-red-dark: #C40510;
  --mb-ty-ink: #1A1A1F;
  --mb-ty-muted: #66666E;
  --mb-ty-line: #E5E5EA;
  --mb-ty-soft: #FAFAFB;
  --mb-ty-white: #FFFFFF;
  --mb-ty-success: #147A43;
  --mb-ty-success-soft: #F4FBF7;
  font-family: Vazirmatn, sans-serif;
}

body.woocommerce-order-received .main-page-wrapper,
body.woocommerce-order-received .site-content {
  background: var(--mb-ty-white) !important;
}

body.woocommerce-order-received .wd-page-content {
  padding-top: clamp(24px, 3vw, 40px) !important;
  padding-bottom: clamp(52px, 6vw, 88px) !important;
}

body.woocommerce-order-received .woocommerce-order {
  width: min(100%, 1040px);
  margin-inline: auto;
  color: var(--mb-ty-ink);
}

body.woocommerce-order-received .woocommerce-thankyou-order-received {
  position: relative;
  display: flex !important;
  align-items: center;
  min-height: 92px;
  margin: 0 0 22px !important;
  padding: 24px 76px 24px 28px !important;
  border: 1px solid #CBE6D5 !important;
  border-inline-start: 5px solid var(--mb-ty-success) !important;
  border-radius: 16px !important;
  background: var(--mb-ty-white) !important;
  color: var(--mb-ty-ink) !important;
  box-shadow: none !important;
  font-size: clamp(18px, 1.8vw, 23px) !important;
  font-weight: 850 !important;
  line-height: 1.7 !important;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
  position: absolute;
  inset-inline-start: 22px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mb-ty-success-soft);
  color: var(--mb-ty-success);
  content: "✓";
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  transform: translateY(-50%);
}

body.woocommerce-order-received ul.woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 0 22px !important;
  padding: 10px !important;
  border: 1px solid var(--mb-ty-line) !important;
  border-radius: 16px !important;
  background: var(--mb-ty-soft) !important;
  box-shadow: none !important;
  list-style: none !important;
}

body.woocommerce-order-received ul.woocommerce-order-overview > li {
  min-width: 0;
  min-height: 86px;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid transparent !important;
  border-radius: 11px;
  background: var(--mb-ty-white);
  color: var(--mb-ty-muted) !important;
  font-size: 12px !important;
  line-height: 1.7;
  text-align: right;
}

body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__payment-method {
  grid-column: span 2;
}

body.woocommerce-order-received ul.woocommerce-order-overview > li strong {
  display: block !important;
  min-width: 0;
  margin-top: 7px !important;
  color: var(--mb-ty-ink) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__order strong,
body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__total strong {
  color: var(--mb-ty-red) !important;
  font-size: 17px !important;
}

body.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-thankyou-order-received) {
  margin: 0 0 24px !important;
  padding: 15px 18px;
  border: 1px solid var(--mb-ty-line);
  border-radius: 11px;
  background: var(--mb-ty-white);
  color: var(--mb-ty-muted);
  font-size: 13.5px;
  line-height: 1.9;
  text-align: right;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
  margin: 0 0 22px !important;
  padding: clamp(20px, 2.7vw, 30px) !important;
  border: 1px solid var(--mb-ty-line) !important;
  border-radius: 18px !important;
  background: var(--mb-ty-white) !important;
  box-shadow: none !important;
}

body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
  position: relative;
  margin: 0 0 22px !important;
  padding: 0 15px 15px 0 !important;
  border-bottom: 1px solid var(--mb-ty-line);
  color: var(--mb-ty-ink) !important;
  font-size: clamp(19px, 2vw, 24px) !important;
  font-weight: 850 !important;
  line-height: 1.5;
  text-align: right;
}

body.woocommerce-order-received .woocommerce-order-details__title::before,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title::before {
  position: absolute;
  top: .25em;
  right: 0;
  width: 4px;
  height: 1em;
  border-radius: 999px;
  background: var(--mb-ty-red);
  content: "";
}

body.woocommerce-order-received .woocommerce-order-details .responsive-table {
  overflow: hidden !important;
  border: 1px solid var(--mb-ty-line);
  border-radius: 13px;
}

body.woocommerce-order-received .woocommerce-table--order-details {
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: var(--mb-ty-white) !important;
}

body.woocommerce-order-received .woocommerce-table--order-details :is(th, td) {
  border: 0 !important;
  border-bottom: 1px solid var(--mb-ty-line) !important;
  background: var(--mb-ty-white) !important;
  color: var(--mb-ty-ink) !important;
  text-align: right !important;
  vertical-align: middle !important;
}

body.woocommerce-order-received .woocommerce-table--order-details thead th {
  padding: 14px 16px !important;
  background: var(--mb-ty-soft) !important;
  color: var(--mb-ty-muted) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.woocommerce-order-received .woocommerce-table--order-details tbody td {
  padding: 18px 16px !important;
  font-size: 13.5px;
  line-height: 1.9;
}

body.woocommerce-order-received .woocommerce-table--order-details .product-name a {
  color: var(--mb-ty-ink) !important;
  font-weight: 800 !important;
  text-decoration: none;
}

body.woocommerce-order-received .woocommerce-table--order-details .product-name a:hover {
  color: var(--mb-ty-red) !important;
}

body.woocommerce-order-received .woocommerce-table--order-details .product-quantity {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  margin-inline-start: 7px;
  padding: 3px 9px;
  border: 1px solid var(--mb-ty-line);
  border-radius: 999px;
  background: var(--mb-ty-soft);
  color: var(--mb-ty-muted);
  font-size: 11px;
}

body.woocommerce-order-received .woocommerce-table--order-details .product-total {
  white-space: nowrap;
}

body.woocommerce-order-received .woocommerce-table--order-details tfoot :is(th, td) {
  padding: 13px 16px !important;
  font-size: 13px;
}

body.woocommerce-order-received .woocommerce-table--order-details tfoot th {
  color: var(--mb-ty-muted) !important;
  font-weight: 650 !important;
}

body.woocommerce-order-received .woocommerce-table--order-details tfoot td {
  font-weight: 800 !important;
}

body.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child :is(th, td) {
  border-bottom: 0 !important;
}

body.woocommerce-order-received .woocommerce-table--order-details .order-actions--heading {
  font-size: 12px !important;
}

body.woocommerce-order-received .woocommerce-table--order-details .order-actions-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 15px !important;
  border: 1px solid var(--mb-ty-ink) !important;
  border-radius: 9px !important;
  background: var(--mb-ty-white) !important;
  color: var(--mb-ty-ink) !important;
  box-shadow: none !important;
  font-weight: 750 !important;
}

body.woocommerce-order-received .mb-invoice-actions-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 24px 0 0 !important;
  padding: 22px !important;
  border: 1px solid var(--mb-ty-line) !important;
  border-inline-start: 4px solid var(--mb-ty-red) !important;
  border-radius: 14px !important;
  background: var(--mb-ty-soft) !important;
  box-shadow: none !important;
}

body.woocommerce-order-received .mb-invoice-icon-title {
  align-items: flex-start;
  gap: 14px;
}

body.woocommerce-order-received .mb-invoice-badge-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #F3C7CA;
  border-radius: 10px;
  background: var(--mb-ty-white);
  color: var(--mb-ty-red);
}

body.woocommerce-order-received .mb-invoice-title {
  margin: 0 0 4px !important;
  color: var(--mb-ty-ink) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
}

body.woocommerce-order-received .mb-invoice-subtitle {
  max-width: 520px;
  margin: 0 !important;
  color: var(--mb-ty-muted) !important;
  font-size: 12.5px !important;
  line-height: 1.8;
}

body.woocommerce-order-received .mb-invoice-buttons-wrap {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

body.woocommerce-order-received .mb-btn-invoice {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 10px 17px !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.4;
}

body.woocommerce-order-received .mb-btn-download {
  border: 1px solid var(--mb-ty-red) !important;
  background: var(--mb-ty-red) !important;
  color: var(--mb-ty-white) !important;
}

body.woocommerce-order-received .mb-btn-download:hover {
  border-color: var(--mb-ty-red-dark) !important;
  background: var(--mb-ty-red-dark) !important;
}

body.woocommerce-order-received .mb-btn-print {
  border: 1px solid var(--mb-ty-ink) !important;
  background: var(--mb-ty-white) !important;
  color: var(--mb-ty-ink) !important;
}

body.woocommerce-order-received .mb-btn-print:hover {
  background: var(--mb-ty-ink) !important;
  color: var(--mb-ty-white) !important;
}

body.woocommerce-order-received :is(a, button):focus-visible {
  outline: 3px solid rgba(227, 6, 19, .2) !important;
  outline-offset: 3px;
}

body.woocommerce-order-received .woocommerce-customer-details address {
  margin: 0 !important;
  padding: 18px 20px !important;
  border: 1px solid var(--mb-ty-line) !important;
  border-radius: 12px !important;
  background: var(--mb-ty-soft) !important;
  color: #44444C !important;
  font-size: 13.5px !important;
  font-style: normal !important;
  line-height: 2 !important;
}

body.woocommerce-order-received .woocommerce-customer-details :is(.woocommerce-customer-details--phone, .woocommerce-customer-details--email) {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin: 10px 0 0 !important;
  padding-top: 10px;
  border-top: 1px solid var(--mb-ty-line);
  color: var(--mb-ty-ink) !important;
  direction: ltr;
  text-align: right;
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  body.woocommerce-order-received .woocommerce-order {
    width: min(100%, 900px);
  }

  body.woocommerce-order-received ul.woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__payment-method {
    grid-column: auto;
  }

  body.woocommerce-order-received .mb-invoice-actions-card {
    align-items: stretch;
    flex-direction: column;
  }

  body.woocommerce-order-received .mb-invoice-buttons-wrap {
    width: 100%;
  }
}

@media (max-width: 767px) {
  body.woocommerce-order-received .wd-page-title {
    margin-top: 12px;
    padding-block: 18px;
    border-radius: 12px;
  }

  body.woocommerce-order-received .wd-checkout-steps li:not(.step-active) {
    display: none;
  }

  body.woocommerce-order-received .wd-checkout-steps .step-active {
    width: 100%;
    font-size: 18px;
    text-align: right;
  }

  body.woocommerce-order-received .wd-page-content {
    padding-top: 18px !important;
    padding-bottom: 56px !important;
  }

  body.woocommerce-order-received .woocommerce-thankyou-order-received {
    min-height: 82px;
    padding: 20px 64px 20px 18px !important;
    border-radius: 13px !important;
    font-size: 17px !important;
  }

  body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
    inset-inline-start: 16px;
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  body.woocommerce-order-received ul.woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 8px !important;
    border-radius: 13px !important;
  }

  body.woocommerce-order-received ul.woocommerce-order-overview > li {
    min-height: 80px;
    padding: 13px !important;
  }

  body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__email,
  body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__payment-method {
    grid-column: 1 / -1;
  }

  body.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-thankyou-order-received) {
    padding: 13px 15px;
    font-size: 13px;
  }

  body.woocommerce-order-received .woocommerce-order-details,
  body.woocommerce-order-received .woocommerce-customer-details {
    padding: 18px !important;
    border-radius: 14px !important;
  }

  body.woocommerce-order-received .woocommerce-order-details__title,
  body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
    margin-bottom: 18px !important;
    font-size: 18px !important;
  }

  body.woocommerce-order-received .woocommerce-order-details .responsive-table {
    overflow: visible !important;
    border: 0;
    border-radius: 0;
  }

  body.woocommerce-order-received .woocommerce-table--order-details,
  body.woocommerce-order-received .woocommerce-table--order-details :is(thead, tbody, tfoot) {
    display: block;
    width: 100%;
  }

  body.woocommerce-order-received .woocommerce-table--order-details thead {
    display: none;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tbody tr.order_item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid var(--mb-ty-line);
    border-radius: 11px;
    background: var(--mb-ty-white);
  }

  body.woocommerce-order-received .woocommerce-table--order-details tbody tr.order_item td {
    display: block;
    width: auto !important;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tbody .product-total {
    align-self: center;
    text-align: left !important;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tfoot {
    overflow: hidden;
    border: 1px solid var(--mb-ty-line);
    border-radius: 11px;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tfoot tr {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 0 13px;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tfoot :is(th, td) {
    display: block;
    width: auto !important;
    min-width: 0;
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--mb-ty-line) !important;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tfoot td {
    text-align: left !important;
    overflow-wrap: anywhere;
  }

  body.woocommerce-order-received .mb-invoice-actions-card {
    margin-top: 18px !important;
    padding: 17px !important;
  }

  body.woocommerce-order-received .mb-invoice-buttons-wrap {
    flex-direction: column;
  }

  body.woocommerce-order-received .mb-btn-invoice {
    width: 100% !important;
    min-height: 48px;
  }

  body.woocommerce-order-received .woocommerce-customer-details address {
    padding: 15px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 430px) {
  body.woocommerce-order-received ul.woocommerce-order-overview {
    grid-template-columns: 1fr !important;
  }

  body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__email,
  body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__payment-method {
    grid-column: auto;
  }

  body.woocommerce-order-received .woocommerce-order-details,
  body.woocommerce-order-received .woocommerce-customer-details {
    padding: 15px !important;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tbody tr.order_item {
    grid-template-columns: 1fr;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tbody .product-total {
    padding-top: 9px !important;
    border-top: 1px solid var(--mb-ty-line) !important;
    text-align: right !important;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tfoot tr {
    gap: 12px;
  }
}
/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Local Vazirmatn Fonts */
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


@media (min-width: 1025px) {
	.whb-header_331220 .whb-visible-lg .wd-tools-element > a,
	.whb-header_331220 .whb-visible-lg .wd-nav > li > a,
	.whb-header_331220 .whb-visible-lg .wd-header-search-form input.s { color: #1A1A1F !important; }
	.whb-header_331220 .whb-visible-lg .wd-tools-element:hover > a,
	.whb-header_331220 .whb-visible-lg .wd-tools-element > a:focus-visible,
	.whb-header_331220 .whb-visible-lg .wd-nav > li:hover > a,
	.whb-header_331220 .whb-visible-lg .wd-nav > li.current-menu-item > a,
	.whb-header_331220 .whb-visible-lg .wd-nav > li.current-menu-ancestor > a,
	.whb-header_331220 .whb-visible-lg .wd-nav > li > a:focus-visible { color: #E30613 !important; }
	.whb-header_331220 .whb-visible-lg .wd-header-my-account .wd-tools-icon,
	.whb-header_331220 .whb-visible-lg .wd-header-my-account .wd-tools-icon::before,
	.whb-header_331220 .whb-visible-lg .wd-header-wishlist .wd-tools-icon,
	.whb-header_331220 .whb-visible-lg .wd-header-wishlist .wd-tools-icon::before { color: #1A1A1F !important; }
	.whb-header_331220 .whb-visible-lg .wd-header-my-account:hover .wd-tools-icon,
	.whb-header_331220 .whb-visible-lg .wd-header-my-account:hover .wd-tools-icon::before,
	.whb-header_331220 .whb-visible-lg .wd-header-wishlist:hover .wd-tools-icon,
	.whb-header_331220 .whb-visible-lg .wd-header-wishlist:hover .wd-tools-icon::before { color: #E30613 !important; }
}

footer.wd-footer.footer-container {
    display: block !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mobile-bastani-footer {
	direction: rtl;
	background: #FFFFFF;
	border-top: 3px solid #E30613;
	color: #1A1A1F;
	font-family: inherit;
	margin-top: 48px;
	padding: 44px 24px;
}
.mobile-bastani-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
	gap: 48px;
	align-items: start;
	max-width: 1200px;
	margin: 0 auto;
}
.mobile-bastani-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.mobile-bastani-footer__brand img { display: block; width: min(220px, 100%); height: auto; }
.mobile-bastani-footer__brand strong { font-size: 1.1rem; font-weight: 700; }
.mobile-bastani-footer__links h2 { color: #1A1A1F; font-size: 1.05rem; margin: 0 0 18px; }
.mobile-bastani-footer__links ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.mobile-bastani-footer__links a { color: #1A1A1F; text-decoration: none; }
.mobile-bastani-footer__links a:hover,
.mobile-bastani-footer__links a:focus-visible { color: #E30613; }

.mobile-bastani-clean-page {
	direction: rtl;
	background: linear-gradient(135deg, #F7F7F8 0%, #FFFFFF 100%);
	padding: clamp(52px, 8vw, 104px) 24px;
}
.mobile-bastani-clean-card {
	background: #FFFFFF;
	border-right: 4px solid #E30613;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(26, 26, 31, 0.08);
	color: #1A1A1F;
	max-width: 860px;
	margin: 0 auto;
	padding: clamp(32px, 6vw, 64px);
	text-align: right;
}
.mobile-bastani-eyebrow { color: #E30613; display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 12px; }
.mobile-bastani-clean-card h1 { color: #1A1A1F; font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 16px; }
.mobile-bastani-clean-card p { color: #1A1A1F; font-size: 1rem; line-height: 2; margin: 0; }

/* ==========================================================================
   PHASE 4.1: SHOP ARCHIVE, CATALOG TOOLBAR, FILTERS & QUICK SHOP STABILIZATION
   ========================================================================== */

/* 1. Hide Confusing / Redundant Elements & Top Carousel */
.elementor-element-1ad6cc9,
.elementor-element-9a429a8,
.elementor-element-a0904b9 {
	display: none !important;
}

/* 2. Archive Header & Native WooCommerce Sorting */
.woodmart-archive-shop .wd-woo-page-title .entry-title {
	margin: 0 0 18px;
	color: #1A1A1F;
	font-family: 'Vazirmatn', sans-serif;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.45;
	text-align: right;
}
.woodmart-archive-shop .wd-shop-ordering,
.woodmart-archive-shop .woocommerce-ordering.wd-ordering-mb-icon {
	display: block !important;
	position: relative;
}
.woodmart-archive-shop .wd-shop-ordering .woocommerce-ordering select.orderby {
	display: block !important;
	width: 100%;
	height: 42px !important;
	padding: 8px 14px 8px 38px !important;
	appearance: none;
	-webkit-appearance: none;
	direction: rtl;
	background-color: #FFFFFF !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231A1A1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: left 12px center !important;
	border: 1.5px solid #DFDFE6 !important;
	border-radius: 10px !important;
	color: #1A1A1F !important;
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 13.5px !important;
	line-height: 24px !important;
	cursor: pointer;
	outline: none;
}
.woodmart-archive-shop .wd-shop-ordering .woocommerce-ordering select.orderby:focus-visible {
	border-color: #E30613 !important;
	outline: 2px solid #E30613;
	outline-offset: 2px;
}

/* 3. Desktop Sidebar & Product Grid (min-width: 992px) */
@media (min-width: 992px) {
	.elementor-element-29022e9 {
		display: block !important;
		width: 270px !important;
		max-width: 270px !important;
		flex: 0 0 270px !important;
		padding-left: 28px !important;
		border-left: 1px solid #EDEDF2 !important;
	}
	.elementor-element-6e35ee3 {
		display: block !important;
		width: calc(100% - 270px) !important;
		max-width: calc(100% - 270px) !important;
		flex: 1 1 calc(100% - 270px) !important;
		padding-right: 12px !important;
	}
	.elementor-element-23042f1 {
		display: none !important;
	}
}

/* 4. Mobile Toolbar & Off-Canvas Filter (< 991px) */
@media (max-width: 991px) {
	.elementor-element-6e35ee3 {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
	}

	/* 2-column flex layout for toolbar */
	.elementor-element-db664df > .e-con-inner {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 8px !important;
	}

	/* Filter button takes ~48% width, height 42px */
	.elementor-element-23042f1 {
		display: flex !important;
		flex: 1 1 48% !important;
		max-width: 49% !important;
		margin: 0 !important;
	}
	.elementor-element-23042f1 .wd-off-canvas-btn {
		width: 100% !important;
	}
	.elementor-element-23042f1 .wd-off-canvas-btn a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 8px !important;
		width: 100% !important;
		height: 42px !important;
		min-height: 42px !important;
		padding: 0 12px !important;
		background: #FAFAFC !important;
		border: 1.5px solid #DFDFE6 !important;
		border-radius: 10px !important;
		color: #1A1A1F !important;
		font-family: 'Vazirmatn', sans-serif !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		text-decoration: none !important;
		box-sizing: border-box !important;
	}

	/* Native sorting remains visible beside the filter button. */
	.elementor-element-0605206 {
		display: flex !important;
		flex: 1 1 48% !important;
		max-width: 49% !important;
		margin: 0 !important;
	}
	.elementor-element-0605206 .woocommerce-ordering {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
	}
	.elementor-element-0605206 .woocommerce-ordering select.orderby {
		width: 100% !important;
		font-size: 12.5px !important;
	}

	.wd-side-hidden.wd-col-offcanvas-sm,
	.wd-side-hidden.wd-col-offcanvas-md-sm {
		bottom: 64px !important;
		z-index: 9998 !important;
	}
}

/* 5. Product Grid Items Standardization */
.product-grid-item,
.product-grid-item.wd-product,
.product-grid-item .wd-product {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	min-height: 420px !important;
	overflow: hidden !important;
	background: #FFFFFF !important;
	border: 1px solid #EDEDF2 !important;
	border-radius: 12px !important;
	padding: 12px !important;
	box-sizing: border-box !important;
	position: relative !important;
	transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}
.product-grid-item:hover,
.product-grid-item.wd-product:hover,
.product-grid-item .wd-product:hover {
	border-color: #DFDFE6 !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

.product-grid-item .product-wrapper {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	flex: 1 1 auto !important;
}

/* Standardize image containers */
.product-grid-item .product-element-top {
	height: 200px !important;
	min-height: 200px !important;
	max-height: 200px !important;
	background: #FAFAFC !important;
	border-radius: 8px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: hidden !important;
	margin-bottom: 12px !important;
	position: relative !important;
}
.product-grid-item .product-element-top img,
.product-grid-item .product-image-link img {
	object-fit: contain !important;
	max-height: 180px !important;
	width: auto !important;
	margin: 0 auto !important;
}

/* Standardize product titles (clamp 2 lines, height 44px) */
.product-grid-item .wd-entities-title,
.product-grid-item .woocommerce-loop-product__title {
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 14px !important;
	line-height: 22px !important;
	height: 44px !important;
	max-height: 44px !important;
	overflow: hidden !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	text-overflow: ellipsis !important;
	margin: 0 0 8px 0 !important;
	color: #1A1A1F !important;
}

/* Prevent price overflow */
.product-grid-item .price {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: baseline !important;
	font-size: 13px !important;
	margin-top: auto !important;
	gap: 4px 6px !important;
	line-height: 1.5 !important;
	word-break: break-word !important;
}
.product-grid-item .price ins,
.product-grid-item .price .woocommerce-Price-amount {
	font-family: 'Vazirmatn', sans-serif !important;
	font-weight: 700 !important;
	color: #1A1A1F !important;
	text-decoration: none !important;
}
.product-grid-item .price del {
	font-size: 11.5px !important;
	color: #8E8E98 !important;
}

/* Completely eliminate hover leak */
.product-grid-item .shop_attributes,
.product-grid-item .hover-content-wrap,
.product-grid-item .wd-more-desc {
	display: none !important;
}

/* 6. Filter Widgets Styling */
.elementor-element-29022e9 .sidebar-widget {
	margin-bottom: 28px !important;
	padding-bottom: 24px !important;
	border-bottom: 1px solid #EDEDF2 !important;
}
.elementor-element-29022e9 .sidebar-widget:last-child {
	border-bottom: none !important;
}
.elementor-element-29022e9 .widget-title {
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #1A1A1F !important;
	margin-bottom: 16px !important;
	letter-spacing: -0.2px !important;
}

/* Brand Filter List */
.woodmart-woocommerce-layered-nav .wd-filter-list li {
	margin-bottom: 10px !important;
	font-size: 13.5px !important;
}
.woodmart-woocommerce-layered-nav .wd-filter-list a {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	color: #2E2E38 !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}
.woodmart-woocommerce-layered-nav .wd-filter-list a:hover,
.woodmart-woocommerce-layered-nav .wd-filter-list li.chosen a {
	color: #E30613 !important;
	font-weight: 600 !important;
}
.woodmart-woocommerce-layered-nav .count {
	font-family: 'Vazirmatn', 'Sora', sans-serif !important;
	font-size: 11px !important;
	background: #F1F1F4 !important;
	color: #555562 !important;
	border-radius: 6px !important;
	padding: 2px 7px !important;
}
.woodmart-woocommerce-layered-nav li.chosen .count {
	background: #FFEBEB !important;
	color: #E30613 !important;
}

/* Price Filter UI: one RTL geometry model with contained handles */
.woodmart-archive-shop .widget_price_filter .price_slider_wrapper {
	direction: rtl;
	box-sizing: border-box;
	width: 100%;
	padding: 8px 18px;
}
.woodmart-archive-shop .widget_price_filter .ui-slider {
	position: relative;
	height: 6px !important;
	margin: 16px 0 24px !important;
	background: #EDEDF2 !important;
	border: 0 !important;
	border-radius: 999px !important;
}
.woodmart-archive-shop .widget_price_filter .ui-slider .ui-slider-range {
	position: absolute;
	top: 0 !important;
	height: 100% !important;
	background: #E30613 !important;
	border-radius: 999px !important;
}
.woodmart-archive-shop .widget_price_filter .ui-slider .ui-slider-handle {
	position: absolute;
	top: 50% !important;
	width: 16px !important;
	height: 16px !important;
	margin: 0 0 0 -8px !important;
	transform: translateY(-50%) !important;
	box-sizing: border-box;
	background: #FFFFFF !important;
	border: 3px solid #E30613 !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	cursor: grab;
	outline: none;
	z-index: 2;
}
.woodmart-archive-shop .widget_price_filter .ui-slider .ui-slider-handle:focus-visible {
	outline: 2px solid #1A1A1F;
	outline-offset: 3px;
}
.woodmart-archive-shop .widget_price_filter .price_slider_amount {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 14px;
	direction: rtl;
}
.woodmart-archive-shop .widget_price_filter .price_slider_amount .button {
	flex: 0 0 auto;
	padding: 7px 16px !important;
	background: #E30613 !important;
	border: 0 !important;
	border-radius: 8px !important;
	color: #FFFFFF !important;
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
}
.woodmart-archive-shop .widget_price_filter .price_slider_amount .button:hover {
	background: #C40510 !important;
}
.woodmart-archive-shop .widget_price_filter .price_label {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	direction: rtl;
	color: #444450;
	font-family: 'Vazirmatn', sans-serif;
	font-size: 12.5px;
	line-height: 1.8;
}

/* In-Stock Toggle Switch Widget */
.mb-stock-toggle-card {
	background: #FAFAFC;
	border: 1px solid #EDEDF2;
	border-radius: 12px;
	padding: 12px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	user-select: none;
	margin-bottom: 24px;
	transition: border-color 0.2s;
}
.mb-stock-toggle-card:hover {
	border-color: #DFDFE6;
}
.mb-stock-toggle-label {
	font-family: 'Vazirmatn', sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	color: #1A1A1F;
}
.mb-toggle-switch {
	position: relative;
	width: 42px;
	height: 24px;
	background: #DFDFE6;
	border-radius: 12px;
	transition: background 0.25s ease;
	flex-shrink: 0;
}
.mb-toggle-switch.is-active {
	background: #E30613;
}
.mb-toggle-handle {
	position: absolute;
	top: 3px;
	right: 3px;
	width: 18px;
	height: 18px;
	background: #FFFFFF;
	border-radius: 50%;
	transition: transform 0.25s ease;
	box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.mb-toggle-switch.is-active .mb-toggle-handle {
	transform: translateX(-18px);
}

/* 7. Active Filters Bar */
.mb-active-filters-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
	padding: 12px 16px;
	background: #FAFAFC;
	border: 1px solid #EDEDF2;
	border-radius: 12px;
}
.mb-active-filters-title {
	font-family: 'Vazirmatn', sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	color: #71717A;
}
.mb-active-chips-wrap {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}
.mb-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #FFFFFF;
	border: 1px solid #DFDFE6;
	border-radius: 16px;
	padding: 4px 10px;
	font-family: 'Vazirmatn', sans-serif;
	font-size: 12px;
	color: #1A1A1F;
	text-decoration: none !important;
	transition: all 0.2s ease;
}
.mb-filter-chip:hover {
	border-color: #E30613;
	color: #E30613;
}
.mb-chip-close {
	color: #8E8E98;
	transition: color 0.2s;
}
.mb-filter-chip:hover .mb-chip-close {
	color: #E30613;
}
.mb-clear-all-filters {
	font-family: 'Vazirmatn', sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #E30613 !important;
	text-decoration: underline !important;
	margin-right: 6px;
	cursor: pointer;
}

/* 8. Quick Shop Popup Styling */
.quick-shop-wrapper,
.quick-shop-form {
	direction: rtl !important;
	text-align: right !important;
}
.quick-shop-wrapper .single_add_to_cart_button,
.quick-shop-wrapper .single_add_to_cart_button.button,
.quick-shop-wrapper .single_add_to_cart_button.alt {
	background-color: #E30613 !important;
	color: #FFFFFF !important;
	border-radius: 10px !important;
	border: none !important;
	font-family: 'Vazirmatn', sans-serif !important;
	font-weight: 700 !important;
}
.quick-shop-wrapper .single_add_to_cart_button:hover {
	background-color: #C40510 !important;
}
.quick-shop-wrapper table.variations {
	direction: rtl !important;
	text-align: right !important;
}

.mfp-wrap.wd-popup-quick-shop,
.wd-popup-quick-shop,
.wd-quick-shop-2,
.product-quick-shop,
div[id*="quick-shop"] {
	direction: rtl !important;
	text-align: right !important;
}
.wd-popup-quick-shop .mfp-content,
.product-quick-shop .product-quick-view,
.wd-quick-shop-2 .variations_form {
	direction: rtl !important;
	text-align: right !important;
}
.wd-popup-quick-shop .entry-title,
.product-quick-shop .entry-title {
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #1A1A1F !important;
	line-height: 1.4 !important;
	margin-bottom: 12px !important;
}
.wd-popup-quick-shop .price,
.product-quick-shop .price {
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 16px !important;
	color: #1A1A1F !important;
	margin-bottom: 16px !important;
}
.wd-popup-quick-shop table.variations,
.product-quick-shop table.variations {
	width: 100% !important;
	border-collapse: collapse !important;
	margin-bottom: 16px !important;
}
.wd-popup-quick-shop table.variations td,
.wd-popup-quick-shop table.variations th,
.product-quick-shop table.variations td,
.product-quick-shop table.variations th {
	padding: 8px 4px !important;
	vertical-align: middle !important;
	border: none !important;
	text-align: right !important;
}
.wd-popup-quick-shop table.variations .label label,
.product-quick-shop table.variations .label label {
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: #444450 !important;
}
.wd-popup-quick-shop table.variations select,
.product-quick-shop table.variations select {
	font-family: 'Vazirmatn', sans-serif !important;
	border: 1.5px solid #DFDFE6 !important;
	border-radius: 8px !important;
	height: 38px !important;
	padding: 4px 12px !important;
	background-color: #FFFFFF !important;
}
.wd-popup-quick-shop .single_add_to_cart_button,
.product-quick-shop .single_add_to_cart_button {
	background-color: #E30613 !important;
	color: #FFFFFF !important;
	border-radius: 10px !important;
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	height: 44px !important;
	line-height: 44px !important;
	padding: 0 24px !important;
	border: none !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease !important;
}
.wd-popup-quick-shop .single_add_to_cart_button:hover,
.product-quick-shop .single_add_to_cart_button:hover {
	background-color: #C40510 !important;
}
.wd-popup-quick-shop .wd-view-details-btn,
.product-quick-shop .wd-view-details-btn {
	font-family: 'Vazirmatn', sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #555562 !important;
	text-decoration: underline !important;
	display: inline-block !important;
	margin-top: 10px !important;
}
.wd-popup-quick-shop .wd-view-details-btn:hover,
.product-quick-shop .wd-view-details-btn:hover {
	color: #E30613 !important;
}

/* 9. Polished Empty State for Archive/Search */
.mb-archive-empty-state {
	direction: rtl;
	background: #FAFAFC;
	border: 1.5px solid #EDEDF2;
	border-radius: 16px;
	padding: 48px 24px;
	margin: 24px 0 48px;
	text-align: center;
}
.mb-empty-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #FFEBEB;
	border-radius: 50%;
}
.mb-empty-title {
	font-family: 'Vazirmatn', sans-serif;
	font-size: 20px;
	font-weight: 800;
	color: #1A1A1F;
	margin: 0 0 10px;
}
.mb-empty-desc {
	font-family: 'Vazirmatn', sans-serif;
	font-size: 14px;
	color: #555562;
	max-width: 480px;
	margin: 0 auto 24px;
	line-height: 1.8;
}
.mb-empty-search-form {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	max-width: 440px;
	margin: 0 auto 28px;
}
.mb-empty-search-input {
	flex: 1;
	height: 46px;
	background: #FFFFFF;
	border: 1.5px solid #DFDFE6;
	border-radius: 10px;
	padding: 0 16px;
	font-family: 'Vazirmatn', sans-serif;
	font-size: 14px;
	color: #1A1A1F;
	outline: none;
	transition: border-color 0.2s;
}
.mb-empty-search-input:focus {
	border-color: #E30613;
}
.mb-empty-search-btn {
	height: 46px;
	padding: 0 20px;
	background: #E30613;
	color: #FFFFFF;
	border: none;
	border-radius: 10px;
	font-family: 'Vazirmatn', sans-serif;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s;
}
.mb-empty-search-btn:hover {
	background: #C40510;
}
.mb-empty-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}
.mb-empty-btn {
	display: inline-flex;
	align-items: center;
	height: 42px;
	padding: 0 20px;
	border-radius: 10px;
	font-family: 'Vazirmatn', sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.2s;
}
.mb-btn-primary {
	background: #E30613;
	color: #FFFFFF !important;
}
.mb-btn-primary:hover {
	background: #C40510;
}
.mb-btn-outline {
	background: #FFFFFF;
	color: #1A1A1F !important;
	border: 1.5px solid #DFDFE6;
}
.mb-btn-outline:hover {
	border-color: #E30613;
	color: #E30613 !important;
}
:is(.term-mobile-phones, .term-accessories, .post-type-archive-product, .search-results, .search-no-results) .entry-title { color: #1A1A1F; }
.mobile-bastani-empty-state {
	display: none !important;
}
.mobile-bastani-empty-state p { margin: 0; }
.wd-toolbar .wd-header-compare,
.wd-toolbar .wd-cart-number > span { display: none !important; }

.woocommerce-cart .wp-block-woocommerce-empty-cart-block > hr,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title),
.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-woocommerce-product-new { display: none !important; }

/* Mobile Bastani brand correction - production 2026. */
.whb-header_331220 .site-logo {
	box-sizing: content-box;
	padding-inline: 9px;
}
.whb-header_331220 .site-logo img {
	display: block;
	width: 200px !important;
	max-width: 200px !important;
	height: auto !important;
	max-height: none !important;
	object-fit: contain;
}
.whb-header_331220 .whb-header-bottom {
	background-color: #FFFFFF !important;
	background-image: none !important;
}
body.page-id-2024 #main-content .elementor-element-332c1d6 {
	background-color: #FFFFFF !important;
	background-image: none !important;
}
body.page-id-2024 #main-content .e-ac19bfa-7b108c0 {
	opacity: 1 !important;
}
body.page-id-2024 #main-content .elementor-element-29f5c1d,
body.page-id-2024 #main-content .elementor-element-1961386 {
	background-color: #FFFFFF !important;
	background-image: none !important;
	border-color: #1A1A1F !important;
	box-shadow: none !important;
	opacity: 1 !important;
}
@media (max-width: 1024px) {
	.whb-header_331220 .site-logo {
		padding-inline: 6px;
	}
	.whb-header_331220 .site-logo img {
		width: 140px !important;
		max-width: 140px !important;
	}
}

@media (max-width: 767px) {
	.mobile-bastani-footer { margin-top: 32px; padding: 36px 20px 88px; }
	.mobile-bastani-footer__inner { grid-template-columns: 1fr; gap: 32px; }
	.mobile-bastani-footer__links ul { grid-template-columns: 1fr; }
	.mobile-bastani-clean-page { padding: 40px 16px; }
	.mobile-bastani-clean-card { padding: 28px 24px; }
}


/* Mobile Bastani professional homepage design pass - production 2026. */
.mobile-bastani-clean-page,
.mobile-bastani-empty-state {
	background: #FFFFFF;
}
.mobile-bastani-clean-card {
	box-shadow: none;
}

body.page-id-2024 #main-content {
	background: #FFFFFF;
	color: #1A1A1F;
	overflow: clip;
}
body.page-id-2024 #main-content .elementor-element-332c1d6 {
	direction: rtl;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 0 !important;
	max-width: 1200px;
	min-height: 480px;
	margin: 40px auto 104px !important;
	padding: clamp(48px, 6vw, 76px) !important;
	background: #FFFFFF !important;
	border: 1px solid #1A1A1F;
	border-top: 8px solid #E30613;
	border-radius: 24px;
	box-shadow: none !important;
	overflow: hidden;
}
body.page-id-2024 #main-content .elementor-element-05a41dd {
	display: flex !important;
	flex: none;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 0 !important;
	width: auto !important;
	max-width: 820px;
	padding: 0 !important;
	text-align: right;
}
body.page-id-2024 #main-content .e-2a381e6-3d590b7 {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	margin: 0 0 20px;
	padding: 6px 14px;
	background: #E30613;
	border-radius: 999px;
	color: #FFFFFF !important;
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.5;
}
body.page-id-2024 #main-content .e-093e4b5-c46a592 {
	max-width: 780px;
	margin: 0;
	color: #1A1A1F !important;
	font-size: clamp(2.55rem, 4.5vw, 4.2rem);
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1.28;
}
body.page-id-2024 #main-content .e-ac19bfa-7b108c0 {
	max-width: 540px;
	margin: 24px 0 0;
	color: #1A1A1F !important;
	font-size: clamp(1rem, 1.35vw, 1.12rem);
	font-weight: 400;
	line-height: 2;
	opacity: 1 !important;
}
body.page-id-2024 #main-content .e-a08e623-9da67fc {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	margin-top: 32px;
	padding: 14px 30px;
	background: #E30613 !important;
	border: 2px solid #E30613 !important;
	border-radius: 9px;
	box-shadow: none !important;
	color: #FFFFFF !important;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.5;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
body.page-id-2024 #main-content .e-a08e623-9da67fc:hover {
	background: #1A1A1F !important;
	border-color: #1A1A1F !important;
	color: #FFFFFF !important;
}
body.page-id-2024 #main-content .e-a08e623-9da67fc:focus-visible {
	outline: 3px solid #1A1A1F;
	outline-offset: 3px;
}
body.page-id-2024 #main-content .elementor-element-e183310 {
	direction: rtl;
	max-width: 1200px;
	margin: 0 auto !important;
	padding: 0 0 104px !important;
	background: #FFFFFF !important;
	gap: 36px !important;
}
body.page-id-2024 #main-content .e-accf293-7dc7860 {
	position: relative;
	margin: 0;
	padding-right: 22px;
	color: #1A1A1F !important;
	font-size: clamp(1.9rem, 3vw, 2.65rem);
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.4;
	text-align: right;
}
body.page-id-2024 #main-content .e-accf293-7dc7860::before {
	content: "";
	position: absolute;
	top: 0.16em;
	right: 0;
	width: 6px;
	height: 1.12em;
	background: #E30613;
	border-radius: 3px;
}
body.page-id-2024 #main-content .elementor-element-4f86bcc {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 24px !important;
	width: 100% !important;
	padding: 0 !important;
}
body.page-id-2024 #main-content .elementor-element-29f5c1d,
body.page-id-2024 #main-content .elementor-element-1961386 {
	position: relative;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: flex-end !important;
	min-width: 0;
	min-height: 280px;
	padding: 36px !important;
	background: #FFFFFF !important;
	background-image: none !important;
	border: 1px solid #1A1A1F !important;
	border-radius: 18px;
	box-shadow: none !important;
	color: #1A1A1F !important;
	overflow: hidden;
	text-align: right;
	text-decoration: none;
	transition: border-color 180ms ease, transform 180ms ease;
}
body.page-id-2024 #main-content .elementor-element-29f5c1d::before,
body.page-id-2024 #main-content .elementor-element-1961386::before {
	position: absolute;
	top: 28px;
	left: 32px;
	color: #E30613;
	font-family: Sora, sans-serif;
	font-size: 3.4rem;
	font-weight: 800;
	line-height: 1;
}
body.page-id-2024 #main-content .elementor-element-29f5c1d::before { content: "01"; }
body.page-id-2024 #main-content .elementor-element-1961386::before { content: "02"; }
body.page-id-2024 #main-content .elementor-element-29f5c1d::after,
body.page-id-2024 #main-content .elementor-element-1961386::after {
	content: "←";
	position: absolute;
	top: 30px;
	right: 34px;
	color: #1A1A1F;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}
body.page-id-2024 #main-content .elementor-element-29f5c1d:hover,
body.page-id-2024 #main-content .elementor-element-1961386:hover {
	border-color: #E30613 !important;
	transform: translateY(-4px);
}
body.page-id-2024 #main-content .elementor-element-29f5c1d:focus-visible,
body.page-id-2024 #main-content .elementor-element-1961386:focus-visible {
	outline: 3px solid #E30613;
	outline-offset: 4px;
}
body.page-id-2024 #main-content :is(.e-352a5a8-978f0d4, .e-e325eb2-d45fba3) {
	margin: 0;
	color: #1A1A1F !important;
	font-size: clamp(1.65rem, 2.5vw, 2.15rem);
	font-weight: 900;
	line-height: 1.45;
}
body.page-id-2024 #main-content :is(.e-19f5322-bdefb81, .e-b817b39-9a2b4b8) {
	margin-top: 10px;
	color: #1A1A1F !important;
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.8;
}
.mobile-bastani-footer {
	margin-top: 0;
	padding: 64px 24px;
	background: #FFFFFF;
	border-top: 4px solid #E30613;
	box-shadow: none;
}
.mobile-bastani-footer__inner {
	grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
	gap: 72px;
	max-width: 1200px;
}
.mobile-bastani-footer__brand { gap: 18px; }
.mobile-bastani-footer__brand img {
	width: 220px;
	min-width: 140px;
	max-width: 100%;
}
.mobile-bastani-footer__brand strong {
	color: #1A1A1F;
	font-size: 1.18rem;
	font-weight: 900;
}
.mobile-bastani-footer__links h2 {
	margin-bottom: 22px;
	font-size: 1.2rem;
	font-weight: 900;
}
.mobile-bastani-footer__links a {
	display: inline-flex;
	padding-block: 4px;
	font-weight: 600;
	transition: color 180ms ease;
}
.mobile-bastani-footer__links a:focus-visible {
	outline: 2px solid #E30613;
	outline-offset: 3px;
}

@media (min-width: 768px) and (max-width: 1220px) {
	body.page-id-2024 #main-content .elementor-element-332c1d6,
	body.page-id-2024 #main-content .elementor-element-e183310 {
		margin-inline: 24px !important;
	}
	body.page-id-2024 #main-content .elementor-element-332c1d6 {
		gap: 0 !important;
		padding: 56px 48px !important;
	}
}

@media (max-width: 767px) {
	body.page-id-2024 #main-content .elementor-element-332c1d6 {
		flex-direction: column !important;
		gap: 0 !important;
		min-height: 0;
		margin: 24px 16px 68px !important;
		padding: 32px 24px !important;
		border-radius: 18px;
	}
	body.page-id-2024 #main-content .elementor-element-05a41dd {
		width: 100% !important;
		max-width: none;
	}
	body.page-id-2024 #main-content .e-2a381e6-3d590b7 { margin-bottom: 16px; }
	body.page-id-2024 #main-content .e-093e4b5-c46a592 {
		font-size: clamp(2rem, 11vw, 2.75rem);
		letter-spacing: -0.025em;
	}
	body.page-id-2024 #main-content .e-ac19bfa-7b108c0 { margin-top: 18px; }
	body.page-id-2024 #main-content .e-a08e623-9da67fc {
		width: 100%;
		margin-top: 26px;
	}
	body.page-id-2024 #main-content .elementor-element-e183310 {
		margin-inline: 16px !important;
		padding-bottom: 72px !important;
		gap: 26px !important;
	}
	body.page-id-2024 #main-content .elementor-element-4f86bcc {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 18px !important;
	}
	body.page-id-2024 #main-content .elementor-element-29f5c1d,
	body.page-id-2024 #main-content .elementor-element-1961386 {
		min-height: 230px;
		padding: 28px !important;
		border-radius: 14px;
	}
	body.page-id-2024 #main-content .elementor-element-29f5c1d::before,
	body.page-id-2024 #main-content .elementor-element-1961386::before {
		top: 24px;
		left: 26px;
		font-size: 2.8rem;
	}
	body.page-id-2024 #main-content .elementor-element-29f5c1d::after,
	body.page-id-2024 #main-content .elementor-element-1961386::after {
		top: 26px;
		right: 28px;
	}
	.mobile-bastani-footer { padding: 48px 20px 96px; }
	.mobile-bastani-footer__inner { gap: 36px; }
	.mobile-bastani-footer__brand img { width: 200px; }
}
/* Mobile footer stacking correction. */@media (max-width: 767px) {.mobile-bastani-footer__inner {display: grid;grid-template-columns: minmax(0, 1fr) !important;gap: 36px;}.mobile-bastani-footer__brand,.mobile-bastani-footer__links {width: 100%;min-width: 0;}}


/* Mobile Bastani WooCommerce UI consistency pass - production 2026. */
body.page-id-2024 #main-content .elementor-element-29f5c1d::before,
body.page-id-2024 #main-content .elementor-element-1961386::before {
	content: none !important;
	display: none !important;
}

body.page-id-118 .wd-wishlist-content {
	max-width: 760px;
	margin-inline: auto;
	padding: clamp(40px, 7vw, 72px) clamp(24px, 6vw, 56px);
	background: #FFFFFF;
	border: 1px solid #1A1A1F;
	border-top: 5px solid #E30613;
	border-radius: 16px;
	box-shadow: none;
	color: #1A1A1F;
	text-align: center;
}
body.page-id-118 .wd-wishlist-content .wd-empty-page {
	margin: 0;
	color: #1A1A1F;
	font-family: Vazirmatn, Arial, Helvetica, sans-serif;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 900;
	line-height: 1.5;
}
body.page-id-118 .wd-wishlist-content .wd-empty-page-text {
	max-width: 560px;
	margin: 18px auto 0;
	color: #1A1A1F;
	font-size: 1rem;
	line-height: 2;
}
body.page-id-118 .wd-wishlist-content .return-to-shop {
	margin: 28px 0 0;
}

:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) .woocommerce-MyAccount-content :is(.button, button:not(.show-password-input), input[type="submit"]),
body.page-id-118 .wd-wishlist-content .return-to-shop .button,
.cart-widget-side .wc-backward {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	background-color: #E30613 !important;
	background-image: none !important;
	border: 2px solid #E30613 !important;
	border-radius: 8px;
	box-shadow: none !important;
	color: #FFFFFF !important;
	font-family: Vazirmatn, Arial, Helvetica, sans-serif;
	font-weight: 800;
	line-height: 1.5;
	text-decoration: none;
}
:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) .woocommerce-MyAccount-content :is(.button, button:not(.show-password-input), input[type="submit"]):hover,
body.page-id-118 .wd-wishlist-content .return-to-shop .button:hover,
.cart-widget-side .wc-backward:hover {
	background-color: #1A1A1F !important;
	border-color: #1A1A1F !important;
	color: #FFFFFF !important;
}
:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) .woocommerce-MyAccount-content :is(.button, button:not(.show-password-input), input[type="submit"]):focus-visible,
body.page-id-118 .wd-wishlist-content .return-to-shop .button:focus-visible,
.cart-widget-side .wc-backward:focus-visible {
	outline: 3px solid #1A1A1F;
	outline-offset: 3px;
}

.woocommerce-account .woocommerce-Addresses .edit {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 16px;
	background: #FFFFFF;
	border: 1px solid #1A1A1F;
	border-radius: 7px;
	color: #1A1A1F;
	font-weight: 700;
	text-decoration: none;
}
.woocommerce-account .woocommerce-Addresses .edit:hover,
.woocommerce-account .woocommerce-Addresses .edit:focus-visible {
	border-color: #E30613;
	color: #E30613;
}

:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner) {
	position: relative;
	margin-bottom: 24px;
	padding: 20px 22px;
	background: #FFFFFF !important;
	background-image: none !important;
	border: 1px solid #1A1A1F !important;
	border-inline-start: 5px solid #E30613 !important;
	border-radius: 10px;
	box-shadow: none !important;
	color: #1A1A1F !important;
	font-family: Vazirmatn, Arial, Helvetica, sans-serif;
	line-height: 1.9;
}
:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) .woocommerce-message {
	border-inline-start-color: #1A1A1F !important;
}
:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) .woocommerce-error {
	border-width: 2px !important;
	border-inline-start-width: 6px !important;
}
:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
	color: #E30613 !important;
}
:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a:not(.button) {
	color: #1A1A1F;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-color: #E30613;
	text-underline-offset: 3px;
}

.woocommerce-account .woocommerce-MyAccount-content :is(input.input-text, textarea, select) {
	min-height: 46px;
	background: #FFFFFF;
	border: 1px solid #1A1A1F;
	border-radius: 7px;
	box-shadow: none;
	color: #1A1A1F;
	font-family: Vazirmatn, Arial, Helvetica, sans-serif;
}
.woocommerce-account .woocommerce-MyAccount-content :is(input.input-text, textarea, select):focus {
	border-color: #E30613;
	box-shadow: none;
	outline: 2px solid #E30613;
	outline-offset: 2px;
}

.mobile-bastani-empty-state {
	display: grid;
	place-items: center;
	min-height: 190px;
	max-width: 900px;
	margin: 28px auto 64px;
	padding: clamp(32px, 6vw, 56px);
	background: #FFFFFF;
	border: 1px solid #1A1A1F;
	border-top: 5px solid #E30613;
	border-radius: 14px;
	box-shadow: none;
	color: #1A1A1F;
	font-size: clamp(1rem, 2vw, 1.1rem);
	font-weight: 700;
	line-height: 2;
	text-align: center;
}

@media (max-width: 767px) {
	body.page-id-118 .wd-wishlist-content {
		padding: 36px 22px;
		border-radius: 12px;
	}
	:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) .woocommerce-MyAccount-content :is(.button, button:not(.show-password-input), input[type="submit"]),
	body.page-id-118 .wd-wishlist-content .return-to-shop .button,
	.cart-widget-side .wc-backward {
		width: 100%;
	}
	:is(.woocommerce-account, .woocommerce-cart, body.page-id-118) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner) {
		padding: 18px;
	}
	.mobile-bastani-empty-state {
		min-height: 160px;
		margin: 20px 0 48px;
		padding: 32px 22px;
	}
}

/* Account password visibility controls remain secondary, not primary actions. */
.woocommerce-account .woocommerce-MyAccount-content button.show-password-input {
	background: transparent !important;
	border-color: transparent !important;
	color: #1A1A1F !important;
	box-shadow: none !important;
}
.woocommerce-account .woocommerce-MyAccount-content button.show-password-input:hover,
.woocommerce-account .woocommerce-MyAccount-content button.show-password-input:focus-visible {
	background: transparent !important;
	border-color: transparent !important;
	color: #E30613 !important;
}


/* ==========================================================================
   Mobile Bastani Homepage Redesign - Phase 2 Production System
   ========================================================================== */
:root {
	--mb-red: #E30613;
	--mb-red-hover: #C50510;
	--mb-charcoal: #1A1A1F;
	--mb-charcoal-card: #222228;
	--mb-white: #FFFFFF;
	--mb-border: #E6E6E8;
	--mb-bg: #F8F8FA;
	--mb-muted: #71717A;
	--mb-radius: 12px;
	--mb-radius-sm: 8px;
	--mb-radius-lg: 16px;
}

body.page-id-2024 .main-page-wrapper {
	background: #FFFFFF !important;
	padding-block: 0 !important;
}

.mb-demo-home {
	direction: rtl;
	background: #FFFFFF;
	color: var(--mb-charcoal);
	font-family: Vazirmatn, Arial, sans-serif;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px 48px;
}

/* Base Buttons */
.mb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	border-radius: var(--mb-radius-sm);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
}
.mb-btn--primary {
	background: var(--mb-red) !important;
	border: 2px solid var(--mb-red) !important;
	color: #FFFFFF !important;
}
.mb-btn--primary:hover {
	background: var(--mb-red-hover) !important;
	border-color: var(--mb-red-hover) !important;
	color: #FFFFFF !important;
}
.mb-btn--ghost {
	background: transparent !important;
	border: 2px solid rgba(255, 255, 255, 0.4) !important;
	color: #FFFFFF !important;
}
.mb-btn--ghost:hover {
	background: #FFFFFF !important;
	border-color: #FFFFFF !important;
	color: var(--mb-charcoal) !important;
}
.mb-btn--ghost-dark {
	background: transparent !important;
	border: 2px solid var(--mb-charcoal) !important;
	color: var(--mb-charcoal) !important;
}
.mb-btn--ghost-dark:hover {
	background: var(--mb-charcoal) !important;
	color: #FFFFFF !important;
}

/* Sections */
.mb-section {
	margin-bottom: 56px;
}
.mb-section__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid #F0F0F2;
}
.mb-section__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 800;
	color: var(--mb-charcoal);
	margin-bottom: 4px;
}
.mb-section__kicker:before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 3px;
	background: var(--mb-charcoal);
	border-radius: 2px;
}
.mb-section__kicker--red {
	color: var(--mb-red);
}
.mb-section__kicker--red:before {
	background: var(--mb-red);
}
.mb-section__title {
	margin: 0;
	font-size: clamp(22px, 2.8vw, 32px);
	font-weight: 900;
	color: var(--mb-charcoal);
	line-height: 1.3;
}
.mb-section__link {
	font-size: 14px;
	font-weight: 700;
	color: var(--mb-charcoal);
	text-decoration: none;
	transition: color 0.2s ease;
	white-space: nowrap;
}
.mb-section__link:hover {
	color: var(--mb-red);
}

/* 1. HERO */
.mb-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
	gap: 40px;
	align-items: center;
	background: #111115;
	color: #FFFFFF;
	border-radius: var(--mb-radius-lg);
	margin: 24px 0 48px;
	padding: clamp(32px, 4.5vw, 52px) clamp(24px, 4vw, 56px);
	border: 1px solid #282830;
	overflow: hidden;
}
.mb-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.mb-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(227, 6, 19, 0.15);
	border: 1px solid rgba(227, 6, 19, 0.4);
	color: #FF5A66;
	font-size: 13px;
	font-weight: 800;
	padding: 4px 14px;
	border-radius: 999px;
	margin-bottom: 16px;
}
.mb-hero__badge-dot {
	width: 7px;
	height: 7px;
	background: var(--mb-red);
	border-radius: 50%;
}
.mb-hero__title {
	margin: 0 0 14px;
	font-size: clamp(26px, 3.8vw, 44px);
	font-weight: 900;
	line-height: 1.25;
	color: #FFFFFF;
	letter-spacing: -0.02em;
}
.mb-hero__desc {
	margin: 0 0 20px;
	font-size: clamp(14px, 1.3vw, 16px);
	line-height: 1.9;
	color: #D1D1D6;
	max-width: 580px;
}
.mb-hero__highlight {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	background: #1E1E26;
	border: 1px solid #32323D;
	padding: 8px 14px;
	border-radius: var(--mb-radius-sm);
	margin-bottom: 24px;
}
.mb-hero__highlight-name {
	font-family: Sora, sans-serif;
	font-size: 14px;
	font-weight: 800;
	color: #FFFFFF;
}
.mb-hero__highlight-price {
	font-size: 13px;
	font-weight: 700;
	color: #FF6670;
}
.mb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.mb-hero__visual {
	display: flex;
	align-items: center;
	justify-content: center;
}
.mb-hero__img-wrap {
	display: block;
	width: 100%;
	background: #000000;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.25s ease;
}
.mb-hero__img-wrap:hover {
	transform: scale(1.02);
}
.mb-hero__img {
	display: block;
	width: 100%;
	max-height: 380px;
	object-fit: contain;
}

/* 2. CATEGORIES */
.mb-categories {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.mb-cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 180px;
	padding: 28px 32px;
	background: #FFFFFF;
	border: 1px solid var(--mb-border);
	border-top: 4px solid var(--mb-charcoal);
	border-radius: var(--mb-radius);
	text-decoration: none;
	transition: all 0.2s ease;
}
.mb-cat-card--phones {
	border-top-color: var(--mb-red);
}
.mb-cat-card:hover {
	border-color: var(--mb-red);
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(26, 26, 31, 0.06);
}
.mb-cat-card__badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	color: var(--mb-muted);
	margin-bottom: 8px;
}
.mb-cat-card__title {
	margin: 0 0 6px;
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 900;
	color: var(--mb-charcoal);
}
.mb-cat-card__desc {
	margin: 0 0 16px;
	font-size: 13px;
	color: var(--mb-muted);
	line-height: 1.7;
}
.mb-cat-card__link {
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	font-weight: 800;
	color: var(--mb-red);
}

/* 3. PRODUCT CARDS */
.mb-products-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.mb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #FFFFFF;
	border: 1px solid var(--mb-border);
	border-radius: var(--mb-radius);
	padding: 16px;
	text-decoration: none;
	transition: all 0.2s ease;
}
.mb-card:hover {
	border-color: var(--mb-red);
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(26, 26, 31, 0.08);
}
.mb-card__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: var(--mb-red);
	color: #FFFFFF;
	font-family: Sora, sans-serif;
	font-size: 11px;
	font-weight: 800;
	padding: 3px 8px;
	border-radius: 4px;
	z-index: 2;
}
.mb-card__img-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 190px;
	margin-bottom: 12px;
	overflow: hidden;
	border-radius: var(--mb-radius-sm);
	background: #FAFAFB;
}
.mb-card__img {
	max-height: 160px;
	max-width: 90%;
	width: auto;
	object-fit: contain;
	transition: transform 0.25s ease;
}
.mb-card:hover .mb-card__img {
	transform: scale(1.05);
}
.mb-card__body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	justify-content: flex-end;
}
.mb-card__brand {
	font-family: Sora, sans-serif;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--mb-muted);
	letter-spacing: 0.04em;
	margin-bottom: 4px;
	display: block;
}
.mb-card__title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
	color: var(--mb-charcoal);
	min-height: 40px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.mb-card__title a {
	color: var(--mb-charcoal);
	text-decoration: none;
	transition: color 0.18s ease;
}
.mb-card__title a:hover {
	color: var(--mb-red);
}
.mb-card__pricing {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 14px;
}
.mb-card__price-old {
	font-family: Sora, Vazirmatn, sans-serif;
	font-size: 12px;
	color: #A1A1AA;
	text-decoration: line-through;
}
.mb-card__price-current {
	font-family: Sora, Vazirmatn, sans-serif;
	font-size: 16px;
	font-weight: 900;
	color: var(--mb-red);
}
.mb-card__price-current .currency,
.mb-card__price-old .currency {
	font-family: Vazirmatn, sans-serif;
	font-size: 11px;
	font-weight: 600;
	color: var(--mb-muted);
}
.mb-card__btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 9px 12px;
	background: #F4F4F6;
	color: var(--mb-charcoal);
	border: 1px solid var(--mb-border);
	border-radius: var(--mb-radius-sm);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	transition: all 0.2s ease;
}
.mb-card:hover .mb-card__btn {
	background: var(--mb-red);
	border-color: var(--mb-red);
	color: #FFFFFF;
}

/* 4. BRAND SECTION */
.mb-brands-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}
.mb-brand-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px 14px;
	background: #FFFFFF;
	border: 1px solid var(--mb-border);
	border-radius: var(--mb-radius);
	text-decoration: none;
	color: var(--mb-charcoal);
	transition: all 0.2s ease;
}
.mb-brand-card:hover {
	border-color: var(--mb-red);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(26, 26, 31, 0.06);
}
.mb-brand-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	margin-bottom: 10px;
	color: var(--mb-charcoal);
	transition: transform 0.2s ease;
}
.mb-brand-card:hover .mb-brand-card__logo {
	transform: scale(1.06);
}
.mb-brand-card__name {
	font-family: Sora, sans-serif;
	font-size: 15px;
	font-weight: 800;
	color: var(--mb-charcoal);
	margin-bottom: 2px;
}
.mb-brand-card__meta {
	font-size: 11px;
	color: var(--mb-muted);
	font-weight: 600;
}

/* 5. EDITORIAL SPOTLIGHT */
.mb-spotlight {
	background: #FAFAFC;
	border: 1px solid var(--mb-border);
	border-inline-start: 6px solid var(--mb-red);
	border-radius: var(--mb-radius-lg);
	padding: clamp(28px, 4vw, 48px);
	margin-bottom: 56px;
}
.mb-spotlight__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
	gap: 36px;
	align-items: center;
}
.mb-spotlight__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 800;
	color: var(--mb-red);
	margin-bottom: 8px;
}
.mb-spotlight__kicker:before {
	content: "";
	width: 14px;
	height: 3px;
	background: var(--mb-red);
	border-radius: 2px;
}
.mb-spotlight__title {
	margin: 0 0 10px;
	font-size: clamp(22px, 2.5vw, 34px);
	font-weight: 900;
	color: var(--mb-charcoal);
	font-family: Sora, Vazirmatn, sans-serif;
}
.mb-spotlight__subtitle {
	margin: 0 0 18px;
	font-size: 15px;
	color: #4B4B52;
	line-height: 1.85;
}
.mb-spotlight__list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.mb-spotlight__list li {
	font-size: 13px;
	color: #3F3F46;
	line-height: 1.6;
	position: relative;
	padding-inline-start: 16px;
}
.mb-spotlight__list li:before {
	content: "•";
	position: absolute;
	right: 0;
	color: var(--mb-red);
	font-weight: 900;
}
.mb-spotlight__list span {
	font-weight: 800;
	color: var(--mb-charcoal);
}
.mb-spotlight__pricing {
	margin-bottom: 22px;
}
.mb-spotlight__price-tag {
	display: inline-block;
	background: #FFFFFF;
	border: 1px solid var(--mb-border);
	padding: 6px 14px;
	border-radius: var(--mb-radius-sm);
	font-size: 13px;
	font-weight: 800;
	color: var(--mb-red);
}
.mb-spotlight__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.mb-spotlight__visual {
	display: flex;
	align-items: center;
	justify-content: center;
}
.mb-spotlight__img {
	max-height: 320px;
	max-width: 100%;
	object-fit: contain;
}

/* 6. FINAL CTA BANNER */
.mb-final-cta {
	background: #111115;
	color: #FFFFFF;
	border-radius: var(--mb-radius-lg);
	padding: clamp(36px, 5vw, 60px) 24px;
	text-align: center;
	margin-bottom: 48px;
	border: 1px solid #282830;
	border-top: 4px solid var(--mb-red);
}
.mb-final-cta__inner {
	max-width: 720px;
	margin: 0 auto;
}
.mb-final-cta__badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	color: #FF5A66;
	letter-spacing: 0.05em;
	margin-bottom: 12px;
}
.mb-final-cta__title {
	margin: 0 0 14px;
	font-size: clamp(24px, 3.2vw, 36px);
	font-weight: 900;
	color: #FFFFFF;
	line-height: 1.3;
}
.mb-final-cta__desc {
	margin: 0 auto 24px;
	font-size: clamp(14px, 1.2vw, 16px);
	color: #D1D1D6;
	line-height: 1.9;
	max-width: 600px;
}
.mb-final-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

/* Tablet (~900px to 1024px) */
@media (max-width: 1024px) {
	.mb-hero {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 36px 24px;
	}
	.mb-hero__img {
		max-height: 280px;
	}
	.mb-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
	.mb-brands-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.mb-spotlight__inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.mb-spotlight__visual {
		order: -1;
	}
	.mb-spotlight__img {
		max-height: 240px;
	}
}

/* Mobile (~390px to 640px) */
@media (max-width: 640px) {
	.mb-demo-home {
		padding: 0 12px 36px;
	}
	.mb-hero {
		padding: 24px 16px;
		margin-bottom: 36px;
		border-radius: 12px;
	}
	.mb-hero__title {
		font-size: 24px;
	}
	.mb-hero__desc {
		font-size: 13px;
		line-height: 1.8;
	}
	.mb-hero__actions {
		width: 100%;
		flex-direction: column;
	}
	.mb-hero__actions .mb-btn {
		width: 100%;
	}
	.mb-hero__img {
		max-height: 220px;
	}

	.mb-categories {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.mb-cat-card {
		padding: 20px;
		min-height: auto;
	}

	.mb-section {
		margin-bottom: 40px;
	}
	.mb-section__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.mb-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.mb-card {
		padding: 10px;
		border-radius: 10px;
	}
	.mb-card__img-wrap {
		height: 135px;
		margin-bottom: 8px;
	}
	.mb-card__img {
		max-height: 115px;
	}
	.mb-card__title {
		font-size: 12px;
		min-height: 34px;
		margin-bottom: 6px;
	}
	.mb-card__brand {
		font-size: 10px;
	}
	.mb-card__price-current {
		font-size: 13px;
	}
	.mb-card__price-old {
		font-size: 11px;
	}
	.mb-card__btn {
		padding: 7px 8px;
		font-size: 11px;
	}

	.mb-brands-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.mb-brand-card {
		padding: 18px 10px;
	}
	.mb-brand-card__logo {
		height: 38px;
		margin-bottom: 6px;
	}

	.mb-spotlight {
		padding: 20px 16px;
		border-radius: 12px;
		margin-bottom: 40px;
	}
	.mb-spotlight__title {
		font-size: 22px;
	}
	.mb-spotlight__subtitle {
		font-size: 13px;
	}
	.mb-spotlight__actions {
		width: 100%;
		flex-direction: column;
	}
	.mb-spotlight__actions .mb-btn {
		width: 100%;
	}

	.mb-final-cta {
		padding: 28px 16px;
		border-radius: 12px;
		margin-bottom: 32px;
	}
	.mb-final-cta__actions {
		width: 100%;
		flex-direction: column;
	}
	.mb-final-cta__actions .mb-btn {
		width: 100%;
	}
}


/* ==========================================================================
   Storefront UI Refinement Pass
   ========================================================================== */

/* 1. Desktop Header & Primary Navigation */
.whb-header .wd-nav-main > li > a {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1A1A1F !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    transition: color 0.2s ease !important;
    position: relative !important;
}
.whb-header .wd-nav-main > li > a:hover,
.whb-header .wd-nav-main > li.current-menu-item > a {
    color: #E30613 !important;
}
.whb-header .wd-nav-main > li > a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 50% !important;
    transform: translateX(-50%) scaleX(0) !important;
    width: 20px !important;
    height: 2px !important;
    background-color: #E30613 !important;
    transition: transform 0.2s ease !important;
    border-radius: 2px !important;
}
.whb-header .wd-nav-main > li:hover > a::after,
.whb-header .wd-nav-main > li.current-menu-item > a::after {
    transform: translateX(-50%) scaleX(1) !important;
}

/* 2. Header Cart & Wishlist Badges */
.whb-header .wd-header-cart .wd-cart-subtotal,
.whb-header .wd-header-cart .subtotal-divider {
    display: none !important;
}
.whb-header .wd-tools-element .wd-tools-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 9999px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    padding: 0 4px !important;
    background-color: #E30613 !important;
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
    top: -4px !important;
    right: auto !important;
    left: -6px !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* 3. Mobile Off-Canvas Drawer */
.mobile-nav {
    background-color: #ffffff !important;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1) !important;
}
.mobile-nav .wd-nav-mobile {
    padding: 12px 16px !important;
}
.mobile-nav .wd-nav-mobile > li > a {
    display: flex !important;
    align-items: center !important;
    min-height: 48px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    border-bottom: 1px solid #F0F0F4 !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}
.mobile-nav .wd-nav-mobile > li:last-child > a {
    border-bottom: none !important;
}
.mobile-nav .wd-nav-mobile > li > a:hover,
.mobile-nav .wd-nav-mobile > li.current-menu-item > a {
    background-color: #FFF5F5 !important;
    color: #E30613 !important;
}
.mobile-nav .close-side-widget {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #ECECEF !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
}

/* 4. Live Search Autocomplete Dropdown */
.wd-search-results.wd-dropdown-results {
    border-radius: 12px !important;
    border: 1px solid #E5E5EA !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12) !important;
    background: #ffffff !important;
    overflow: hidden !important;
    margin-top: 8px !important;
    max-height: 420px !important;
}
.wd-search-results .wd-suggestions-group {
    padding: 6px 0 !important;
}
.wd-search-results .wd-suggestion {
    display: flex !important;
    align-items: center !important;
    padding: 10px 16px !important;
    border-bottom: 1px solid #F2F2F5 !important;
    transition: background 0.15s ease !important;
    gap: 12px !important;
}
.wd-search-results .wd-suggestion:last-child {
    border-bottom: none !important;
}
.wd-search-results .wd-suggestion:hover {
    background-color: #F5F5F7 !important;
}
.wd-search-results .wd-suggestion-thumb {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #F8F8FA !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #EEEEF2 !important;
}
.wd-search-results .wd-suggestion-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}
.wd-search-results .wd-suggestion-content {
    flex: 1 !important;
}
.wd-search-results .wd-entities-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
}
.wd-search-results .wd-entities-title strong {
    color: #E30613 !important;
}
.wd-search-results .price {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    margin: 0 !important;
}
.wd-search-results .price bdi {
    direction: ltr !important;
    unicode-bidi: isolate !important;
}
.wd-search-results .wd-all-results {
    display: block !important;
    background-color: #F8F8FA !important;
    color: #E30613 !important;
    text-align: center !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-top: 1px solid #ECECEF !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}
.wd-search-results .wd-all-results:hover {
    background-color: #E30613 !important;
    color: #ffffff !important;
}
.wd-search-results .wd-no-results {
    padding: 24px 16px !important;
    text-align: center !important;
    color: #767676 !important;
    font-size: 13px !important;
}

/* 5. Discount Badges */
.mb-card__badge,
.mb-badge--sale,
.product-label.onsale {
    background: #E30613 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.3 !important;
    box-shadow: none !important;
    border: none !important;
    letter-spacing: normal !important;
}

/* 6. Brand Section Cards */
.mb-brand-card {
    background: #F9F9FB !important;
    border: 1px solid #EDEDF2 !important;
    border-radius: 14px !important;
    padding: 20px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease !important;
}
.mb-brand-card:hover {
    background: #ffffff !important;
    border-color: #E30613 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.08) !important;
}
.mb-brand-card__logo {
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
    color: #1A1A1F !important;
}
.mb-brand-card__label,
.mb-brand-card__name {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #555555 !important;
    text-align: center !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}
.mb-brand-card__meta {
    display: none !important;
}

/* 7. Premium 4-Column Footer */
.mb-footer {
    background-color: #1A1A1F !important;
    color: #E5E5EA !important;
    padding: 56px 0 24px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    margin-top: 60px !important;
}
.mb-footer__inner {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    display: grid !important;
    grid-template-columns: 1.4fr 1fr 1fr 1fr !important;
    gap: 40px !important;
}
.mb-footer__col--brand .mb-footer__logo img {
    height: 42px !important;
    width: auto !important;
    margin-bottom: 16px !important;
    display: block !important;
    filter: brightness(0) invert(1) !important;
}
.mb-footer__tagline {
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #A0A0AB !important;
    margin: 0 !important;
}
.mb-footer__heading {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin-bottom: 18px !important;
    position: relative !important;
    padding-bottom: 8px !important;
}
.mb-footer__heading::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 24px !important;
    height: 2px !important;
    background-color: #E30613 !important;
    border-radius: 1px !important;
}
.mb-footer__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.mb-footer__list li {
    margin-bottom: 10px !important;
}
.mb-footer__list a {
    font-size: 13px !important;
    color: #A0A0AB !important;
    text-decoration: none !important;
    transition: color 0.15s ease, padding-right 0.15s ease !important;
    display: inline-block !important;
}
.mb-footer__list a:hover {
    color: #FFFFFF !important;
    padding-right: 4px !important;
}
.mb-footer__bottom {
    max-width: 1280px !important;
    margin: 40px auto 0 !important;
    padding: 20px 24px 0 !important;
    border-top: 1px solid #2A2A32 !important;
    text-align: center !important;
}
.mb-footer__copy {
    font-size: 12px !important;
    color: #7A7A85 !important;
    margin: 0 !important;
}

.wd-footer.footer-container .wd-copyrights {
    display: none !important;
}
.wd-footer.footer-container .main-footer {
    padding: 0 !important;
    max-width: 100% !important;
}
.wd-footer.footer-container {
    background: transparent !important;
}

@media (max-width: 1024px) {
    .mb-footer__inner {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px !important;
    }
}
@media (max-width: 640px) {
    .mb-footer__inner {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
}

/* ==========================================================================
   Phase 3: Single Product Page Redesign & Polish
   ========================================================================== */

/* 1. Breadcrumbs & Top Bar */
.single-product .woocommerce-breadcrumb {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    color: #6E6E77 !important;
    margin-bottom: 24px !important;
    padding: 10px 0 !important;
}
.single-product .woocommerce-breadcrumb a {
    color: #4A4A52 !important;
    transition: color 0.2s ease !important;
}
.single-product .woocommerce-breadcrumb a:hover {
    color: #E30613 !important;
}

/* 2. Product Gallery Card */
.single-product .woocommerce-product-gallery {
    background: #FFFFFF !important;
    border: 1px solid #EDEDF2 !important;
    border-radius: 18px !important;
    padding: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
    transition: box-shadow 0.3s ease !important;
}
.single-product .woocommerce-product-gallery:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04) !important;
}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    border-radius: 12px !important;
    max-height: 480px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    border-radius: 10px !important;
    border: 1.5px solid #E5E5EB !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
    margin-bottom: 8px !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover {
    border-color: #1A1A1F !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.single-product .woocommerce-product-gallery .flex-control-thumbs li.active-thumb {
    border: 2px solid #E30613 !important;
    border-radius: 10px !important;
}

/* 3. Product Summary (Title, Rating, Badges) */
.single-product .product_title {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    line-height: 1.5 !important;
    margin: 0 0 12px 0 !important;
}
.single-product .product_title bdi {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    display: inline-block !important;
}
.single-product .woocommerce-product-rating {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
}
.single-product .woocommerce-product-rating .star-rating {
    color: #FFA41C !important;
    font-size: 14px !important;
}
.single-product .woocommerce-review-link {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    color: #6E6E77 !important;
    text-decoration: none !important;
}
.single-product .woocommerce-review-link:hover {
    color: #E30613 !important;
}

/* 4. Price & Discount Hierarchy */
.single-product .summary .price {
    font-family: Vazirmatn, sans-serif !important;
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 18px 0 !important;
    padding: 12px 16px !important;
    background: #F9F9FB !important;
    border-radius: 12px !important;
    border: 1px solid #EDEDF2 !important;
}
.single-product .summary .price ins,
.single-product .summary .price > .amount:last-child {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #1A1A1F !important;
    text-decoration: none !important;
}
.single-product .summary .price del,
.single-product .summary .price del .amount {
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #8C8C96 !important;
    text-decoration: line-through !important;
}
.single-product .onsale,
.single-product .wd-product-badge.product-label-sale {
    background: #E30613 !important;
    color: #FFFFFF !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    box-shadow: none !important;
    top: 16px !important;
    right: 16px !important;
}

/* 5. Stock Status Badge */
.single-product .stock.in-stock {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #00875A !important;
    background: #E3FCEF !important;
    padding: 5px 14px !important;
    border-radius: 9999px !important;
    margin-bottom: 16px !important;
    border: 1px solid #ABF5D1 !important;
}

/* 6. Variation Pills (Progressive Enhancement) */
.single-product .variations {
    width: 100% !important;
    margin-bottom: 20px !important;
    border: none !important;
}
.single-product .variations tr {
    display: block !important;
    margin-bottom: 14px !important;
}
.single-product .variations td.label {
    display: block !important;
    padding: 0 0 6px 0 !important;
}
.single-product .variations td.label label {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
}
.single-product .variations td.value {
    display: block !important;
    padding: 0 !important;
    position: relative !important;
}
.single-product .mb-native-select-enhanced {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
.single-product .mb-variation-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 4px 0 8px !important;
}
.single-product .mb-pill-btn {
    appearance: none !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E0E0E6 !important;
    border-radius: 10px !important;
    padding: 8px 16px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #1A1A1F !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    user-select: none !important;
}
.single-product .mb-pill-btn:hover {
    border-color: #1A1A1F !important;
    background: #F8F8FA !important;
}
.single-product .mb-pill-btn:focus-visible {
    outline: 2px solid #E30613 !important;
    outline-offset: 2px !important;
}
.single-product .mb-pill-btn.is-active {
    border: 2px solid #E30613 !important;
    background: #FFF5F5 !important;
    color: #E30613 !important;
    font-weight: 700 !important;
}
.single-product .mb-pill-btn.is-disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    text-decoration: line-through !important;
    border-style: dashed !important;
    background: #F4F4F7 !important;
}
.single-product .reset_variations {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 12px !important;
    color: #E30613 !important;
    display: inline-block !important;
    margin-top: 6px !important;
    text-decoration: none !important;
}

/* 7. Purchase Buttons & Quantity */
.single-product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 24px 0 !important;
}
.single-product .quantity {
    display: inline-flex !important;
    border: 1.5px solid #E0E0E6 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    height: 48px !important;
    background: #FFFFFF !important;
}
.single-product .quantity input.qty {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
    width: 48px !important;
    height: 100% !important;
    border: none !important;
    text-align: center !important;
}
.single-product .quantity .plus,
.single-product .quantity .minus {
    background: #F8F8FA !important;
    border: none !important;
    width: 38px !important;
    height: 100% !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #55555F !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}
.single-product .quantity .plus:hover,
.single-product .quantity .minus:hover {
    background: #EAEAEF !important;
    color: #1A1A1F !important;
}
.single-product .single_add_to_cart_button {
    background: #E30613 !important;
    color: #FFFFFF !important;
    height: 48px !important;
    padding: 0 28px !important;
    border-radius: 10px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}
.single-product .single_add_to_cart_button:hover {
    background: #C40510 !important;
    box-shadow: 0 4px 14px rgba(227, 6, 19, 0.25) !important;
    transform: translateY(-1px) !important;
}
.single-product .wd-buy-now-btn {
    background: #1A1A1F !important;
    color: #FFFFFF !important;
    height: 48px !important;
    padding: 0 24px !important;
    border-radius: 10px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.single-product .wd-buy-now-btn:hover {
    background: #2E2E38 !important;
    transform: translateY(-1px) !important;
}

/* 8. Modern Tabs Styling */
.single-product .woocommerce-tabs {
    margin-top: 48px !important;
}
.single-product .woocommerce-tabs ul.tabs {
    background: #F4F4F7 !important;
    border-radius: 14px !important;
    padding: 6px !important;
    display: inline-flex !important;
    gap: 6px !important;
    border: none !important;
    margin-bottom: 24px !important;
}
.single-product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: transparent !important;
    border-radius: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.single-product .woocommerce-tabs ul.tabs li a {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #6E6E77 !important;
    padding: 10px 22px !important;
    display: block !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
}
.single-product .woocommerce-tabs ul.tabs li:hover a {
    color: #1A1A1F !important;
}
.single-product .woocommerce-tabs ul.tabs li.active {
    background: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
.single-product .woocommerce-tabs ul.tabs li.active a {
    color: #E30613 !important;
    font-weight: 700 !important;
}
.single-product .woocommerce-Tabs-panel {
    background: #FFFFFF !important;
    border: 1px solid #EDEDF2 !important;
    border-radius: 18px !important;
    padding: 32px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
}

/* 9. Specifications Table Styling */
.single-product .shop_attributes,
.single-product .mb-demo-spec-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #EDEDF2 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 16px 0 !important;
}
.single-product .shop_attributes tr,
.single-product .mb-demo-spec-table tr {
    transition: background 0.15s ease !important;
}
.single-product .shop_attributes tr:nth-child(even),
.single-product .mb-demo-spec-table tr:nth-child(even) {
    background: #F9F9FB !important;
}
.single-product .shop_attributes th,
.single-product .mb-demo-spec-table th {
    width: 32% !important;
    padding: 14px 18px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #55555F !important;
    border-bottom: 1px solid #EDEDF2 !important;
    border-top: none !important;
    background: transparent !important;
    text-align: right !important;
}
.single-product .shop_attributes td,
.single-product .mb-demo-spec-table td {
    padding: 14px 18px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #1A1A1F !important;
    border-bottom: 1px solid #EDEDF2 !important;
    border-top: none !important;
    line-height: 1.6 !important;
}
.single-product .shop_attributes tr:last-child th,
.single-product .shop_attributes tr:last-child td,
.single-product .mb-demo-spec-table tr:last-child th,
.single-product .mb-demo-spec-table tr:last-child td {
    border-bottom: none !important;
}

/* 10. Editorial Review, Pros & Cons Cards */
.single-product .mb-pros-cons-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin: 20px 0 !important;
}
.single-product .mb-pros-card,
.single-product .spec-pros {
    background: #F4FBF7 !important;
    border: 1px solid #C6F0D9 !important;
    border-radius: 12px !important;
    padding: 18px 22px !important;
}
.single-product .mb-cons-card,
.single-product .spec-cons {
    background: #FFF6F6 !important;
    border: 1px solid #FED7D7 !important;
    border-radius: 12px !important;
    padding: 18px 22px !important;
}
.single-product .mb-pros-card h4,
.single-product .spec-pros h4 {
    color: #0E6245 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}
.single-product .mb-cons-card h4,
.single-product .spec-cons h4 {
    color: #9B1C1C !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}
.single-product .mb-pros-card ul,
.single-product .mb-cons-card ul {
    margin: 0 !important;
    padding-right: 18px !important;
}
.single-product .mb-pros-card li,
.single-product .mb-cons-card li {
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #33333A !important;
    margin-bottom: 4px !important;
}

/* 11. FAQ Accordions (<details>) */
.single-product details {
    background: #FFFFFF !important;
    border: 1px solid #EDEDF2 !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
    padding: 14px 18px !important;
    transition: all 0.2s ease !important;
}
.single-product details[open] {
    border-color: #D6D6E0 !important;
    background: #FAFAFC !important;
}
.single-product details summary {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
    cursor: pointer !important;
    user-select: none !important;
}
.single-product details p {
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #55555F !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
}

/* 12. Customer Reviews Polish */
.single-product #reviews ol.commentlist {
    padding: 0 !important;
    list-style: none !important;
}
.single-product #reviews ol.commentlist li {
    border-bottom: 1px solid #EDEDF2 !important;
    padding: 20px 0 !important;
}
.single-product #reviews ol.commentlist li:last-child {
    border-bottom: none !important;
}
.single-product .comment-text .meta {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
    margin-bottom: 8px !important;
}
.single-product .woocommerce-review__verified.verified {
    color: #00875A !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    background: #E3FCEF !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    margin-right: 8px !important;
}
.single-product .comment-text .description {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #4A4A52 !important;
}

/* 13. Responsive Optimization */
@media (max-width: 900px) {
    .single-product .woocommerce-tabs ul.tabs {
        width: 100% !important;
        flex-wrap: wrap !important;
    }
    .single-product .mb-pros-cons-grid {
        grid-template-columns: 1fr !important;
    }
    .single-product .shop_attributes th,
    .single-product .mb-demo-spec-table th {
        width: 40% !important;
    }
}
@media (max-width: 640px) {
    .single-product .woocommerce-product-gallery {
        padding: 10px !important;
        border-radius: 14px !important;
    }
    .single-product .product_title {
        font-size: 20px !important;
    }
    .single-product .summary .price {
        padding: 10px 12px !important;
    }
    .single-product .summary .price ins,
    .single-product .summary .price > .amount:last-child {
        font-size: 20px !important;
    }
    .single-product .single_add_to_cart_button {
        width: 100% !important;
    }
    .single-product .wd-buy-now-btn {
        width: 100% !important;
        margin-right: 0 !important;
        margin-top: 8px !important;
    }
    .single-product .quantity {
        width: 100% !important;
        justify-content: center !important;
        margin-bottom: 8px !important;
    }
    .single-product .woocommerce-Tabs-panel {
        padding: 18px 14px !important;
        border-radius: 14px !important;
    }
}

/* ==========================================================================
   Phase 3 Refinements: Video Review, Grouped Specs & Card Buttons
   ========================================================================== */

/* 1. Video Review Section (Strictly Brand-Compliant, No Gradients, Solid Surfaces) */
.mb-product-video-section {
    background: #FFFFFF !important;
    border: 1px solid #EDEDF2 !important;
    border-radius: 18px !important;
    padding: 24px !important;
    margin: 40px 0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
}
.mb-video-section-header {
    margin-bottom: 18px !important;
}
.mb-video-section-kicker {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #E30613 !important;
    display: inline-block !important;
    margin-bottom: 4px !important;
}
.mb-video-section-title {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    margin: 0 !important;
}
.mb-video-container {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    background: #1A1A1F !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}
.mb-video-poster {
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.mb-video-poster.is-hidden {
    display: none !important;
}
.mb-video-overlay-bar {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    background: #1A1A1F !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border: 1px solid #2E2E38 !important;
}
.mb-video-tag {
    background: #E30613 !important;
    color: #FFFFFF !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
}
.mb-video-name {
    color: #FFFFFF !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}
.mb-video-play-button {
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    background: #E30613 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
    padding: 0 !important;
}
.mb-video-play-button:hover {
    background: #C40510 !important;
    transform: scale(1.06) !important;
}
.mb-video-play-button svg {
    margin-right: -3px !important;
}
.mb-video-iframe-slot {
    display: none;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* 2. Grouped Technical Specifications Table Styling */
.single-product .mb-demo-spec-table tr.mb-spec-group-row td {
    background: #F4F4F7 !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    padding: 12px 18px !important;
    border-top: 1.5px solid #E5E5EB !important;
    border-bottom: 1px solid #EDEDF2 !important;
}

/* 3. Related & Upsells Product Card Styling (Eliminate Default Blue Buttons) */
.product-grid-item .wd-add-btn > a,
.product-grid-item .add_to_cart_button,
.wd-hover-fw-button .wd-add-btn > a,
.upsells-carousel .add_to_cart_button,
.related-products .add_to_cart_button,
.wd-carousel-container .add_to_cart_button {
    background-color: #E30613 !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-weight: 600 !important;
    transition: background-color 0.2s ease !important;
}
.product-grid-item .wd-add-btn > a:hover,
.product-grid-item .add_to_cart_button:hover,
.wd-hover-fw-button .wd-add-btn > a:hover,
.upsells-carousel .add_to_cart_button:hover,
.related-products .add_to_cart_button:hover,
.wd-carousel-container .add_to_cart_button:hover {
    background-color: #C40510 !important;
}

/* 4. Responsive Video Section */
@media (max-width: 640px) {
    .mb-product-video-section {
        padding: 14px !important;
        border-radius: 14px !important;
        margin: 28px 0 !important;
    }
    .mb-video-play-button {
        width: 52px !important;
        height: 52px !important;
    }
    .mb-video-play-button svg {
        width: 22px !important;
        height: 22px !important;
    }
    .mb-video-overlay-bar {
        top: 8px !important;
        right: 8px !important;
        padding: 4px 8px !important;
    }
}


/* --- CONTINUOUS FLOW & SECTION ANCHOR NAV --- */
.woocommerce-tabs.tabs-layout-tabs .woocommerce-Tabs-panel--description,
.woocommerce-tabs.tabs-layout-tabs .woocommerce-Tabs-panel--reviews {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-bottom: 40px !important;
}
.woocommerce-tabs .wd-nav-tabs {
    position: sticky !important;
    top: 75px !important;
    z-index: 50 !important;
    background: #FFFFFF !important;
    padding: 12px 0 !important;
    border-bottom: 2px solid #EEEEF2 !important;
    margin-bottom: 30px !important;
    display: flex !important;
    gap: 8px !important;
    list-style: none !important;
}
.woocommerce-tabs .wd-nav-tabs li {
    margin: 0 !important;
}
.woocommerce-tabs .wd-nav-tabs li a {
    display: inline-block !important;
    padding: 8px 16px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #555562 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}
.woocommerce-tabs .wd-nav-tabs li.active a,
.woocommerce-tabs .wd-nav-tabs li.active a .wd-tabs-title {
    color: #E30613 !important;
    background: #FFF0F1 !important;
    font-weight: 700 !important;
}
.woocommerce-tabs .wd-nav-tabs li a:hover {
    color: #E30613 !important;
    background: #FFF5F5 !important;
}
.mb-anchor-point {
    display: block !important;
    position: relative !important;
    top: -110px !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   Phase 3: Editorial Spacing & Review Polish
   ========================================================================== */

/* 1. Editorial Section Spacing & Hierarchy */
.single-product .mb-demo-pros-cons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin: 36px 0 !important;
}
.single-product .mb-pros-card {
    background: #F4FBF7 !important;
    border: 1.5px solid #C6F0D9 !important;
    border-radius: 14px !important;
    padding: 22px 26px !important;
    margin: 0 !important;
}
.single-product .mb-cons-card {
    background: #FFF6F6 !important;
    border: 1.5px solid #FED7D7 !important;
    border-radius: 14px !important;
    padding: 22px 26px !important;
    margin: 0 !important;
}
.single-product .mb-pros-card h4 {
    color: #0E6245 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}
.single-product .mb-cons-card h4 {
    color: #9B1C1C !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}
.single-product .mb-pros-card li,
.single-product .mb-cons-card li {
    font-size: 13.5px !important;
    line-height: 1.8 !important;
    color: #2D2D35 !important;
    margin-bottom: 6px !important;
}

/* Expert Verdict */
.single-product .mb-demo-copy h2:first-of-type + p,
.single-product .mb-editorial-verdict {
    background: #F9F9FB !important;
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 16px !important;
    padding: 26px 30px !important;
    margin: 32px 0 40px !important;
    font-size: 14.5px !important;
    line-height: 1.9 !important;
    color: #2E2E38 !important;
}

/* FAQ Spacing */
.single-product .mb-demo-copy h2:last-of-type {
    margin-top: 48px !important;
    margin-bottom: 18px !important;
    padding-top: 24px !important;
    border-top: 1px solid #EDEDF2 !important;
}
.single-product details {
    background: #FFFFFF !important;
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
    padding: 16px 20px !important;
    transition: border-color 0.2s ease !important;
}
.single-product details[open] {
    border-color: #D6D6E0 !important;
    background: #FAFAFC !important;
}

/* 2. Review Summary Layout */
.single-product .wd-rating-summary {
    background: #F9F9FB !important;
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 18px !important;
    padding: 28px 32px !important;
    display: flex !important;
    align-items: center !important;
    gap: 40px !important;
    margin-bottom: 32px !important;
}
.single-product .wd-rating-summary-main {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 46px !important;
    font-weight: 800 !important;
    color: #1A1A1F !important;
    line-height: 1 !important;
    margin-bottom: 8px !important;
}
.single-product .wd-rating-summary-total {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
    color: #71717A !important;
    font-weight: 500 !important;
}
.single-product .wd-rating-summary-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 8px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 13px !important;
}
.single-product .progress-area {
    background: #EBEBEF !important;
    border-radius: 9999px !important;
    height: 8px !important;
    flex: 1 !important;
    overflow: hidden !important;
}
.single-product .progress-bar {
    background: #FFA41C !important;
    height: 100% !important;
    border-radius: 9999px !important;
}

/* 3. Review Dates & Verified Badge */
.single-product .woocommerce-review__published-date {
    font-family: Vazirmatn, sans-serif !important;
    font-size: 12.5px !important;
    color: #71717A !important;
}

/* 4. Review Form Polish (No Blue Button) */
.single-product #respond {
    background: #FFFFFF !important;
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 18px !important;
    padding: 28px 32px !important;
    margin-top: 36px !important;
}
.single-product #respond textarea#comment {
    border: 1.5px solid #E0E0E6 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    width: 100% !important;
    transition: border-color 0.2s ease !important;
}
.single-product #respond textarea#comment:focus {
    border-color: #E30613 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08) !important;
}
.single-product #respond input#pros {
    border: 1.5px solid #C6F0D9 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    background: #F4FBF7 !important;
    font-family: Vazirmatn, sans-serif !important;
}
.single-product #respond input#cons {
    border: 1.5px solid #FED7D7 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    background: #FFF6F6 !important;
    font-family: Vazirmatn, sans-serif !important;
}
.single-product #respond #submit,
.single-product .comment-respond .submit {
    background-color: #E30613 !important;
    color: #FFFFFF !important;
    height: 48px !important;
    padding: 0 36px !important;
    border-radius: 10px !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}
.single-product #respond #submit:hover,
.single-product .comment-respond .submit:hover {
    background-color: #C40510 !important;
    transform: translateY(-1px) !important;
}

/* 5. Mobile Responsiveness */
@media (max-width: 768px) {
    .single-product .mb-demo-pros-cons {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .single-product .wd-rating-summary {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        padding: 20px !important;
    }
    .single-product #respond {
        padding: 20px !important;
    }
}

/* Force Sidebar Filter Lists to Always be Visible (Un-collapsed) */
.sidebar-widget.wd-widget-collapse .wd-filter-list,
.sidebar-widget.wd-widget-collapse .wd-scroll,
.sidebar-widget.wd-widget-collapse .widget-content {
	display: block !important;
	height: auto !important;
	max-height: none !important;
	visibility: visible !important;
	opacity: 1 !important;
}
.sidebar-widget.wd-widget-collapse .widget-title:after,
.sidebar-widget.wd-widget-collapse .widget-title .wd-tools-icon {
	display: none !important;
}\n
/* ==========================================================================
   Phase 5: Cart + Checkout + Order Flow (Mobile Bastani)
   Brand Red #E30613, Charcoal #1A1A1F, Neutral Greys #F7F7F8/#DFDFE6, Vazirmatn
   ========================================================================== */

/* Strict Toolbar Hide on Cart & Checkout */
body.woocommerce-cart .wd-toolbar,
body.woocommerce-checkout .wd-toolbar,
body.woocommerce-order-received .wd-toolbar,
.woocommerce-cart .wd-toolbar,
.woocommerce-checkout .wd-toolbar,
.woocommerce-order-received .wd-toolbar {
    display: none !important;
}
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-order-received {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* 2. Mini Cart Drawer (.cart-widget-side) */
.cart-widget-side {
    font-family: 'Vazirmatn', sans-serif !important;
}
.cart-widget-side .widget-heading {
    border-bottom: 1.5px solid #EDEDF2 !important;
    padding: 16px 20px !important;
}
.cart-widget-side .widget-heading .title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
}
.cart-widget-side .woocommerce-mini-cart-item {
    border-bottom: 1px solid #F0F0F4 !important;
    padding: 14px 20px !important;
    position: relative !important;
}
.cart-widget-side .cart-item-image {
    border-radius: 8px !important;
    border: 1px solid #EDEDF2 !important;
    overflow: hidden !important;
    width: 64px !important;
    height: 64px !important;
    flex-shrink: 0 !important;
}
.cart-widget-side .cart-item-image img {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
}
.cart-widget-side .cart-info .wd-entities-title {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
    line-height: 1.5 !important;
}
.cart-widget-side .cart-info .wd-product-sku {
    font-size: 11px !important;
    color: #8E8E93 !important;
    margin-top: 2px !important;
}
.cart-widget-side .cart-info .quantity {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
}
.cart-widget-side .remove_from_cart_button {
    color: #8E8E93 !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}
.cart-widget-side .remove_from_cart_button:hover {
    color: #E30613 !important;
    transform: scale(1.15) !important;
}
.cart-widget-side .woocommerce-mini-cart__total {
    border-top: 1.5px solid #EDEDF2 !important;
    padding: 16px 20px !important;
    background: #F9F9FB !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
}
.cart-widget-side .woocommerce-mini-cart__total strong {
    font-weight: 700 !important;
    color: #1A1A1F !important;
}
.cart-widget-side .woocommerce-mini-cart__total .amount {
    color: #1A1A1F !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}
.cart-widget-side .woocommerce-mini-cart__buttons {
    padding: 14px 20px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.cart-widget-side .woocommerce-mini-cart__buttons a.button.checkout {
    background-color: #E30613 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    height: 46px !important;
    line-height: 46px !important;
    padding: 0 20px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-align: center !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
    border: none !important;
    box-shadow: none !important;
}
.cart-widget-side .woocommerce-mini-cart__buttons a.button.checkout:hover {
    background-color: #C40510 !important;
    transform: translateY(-1px) !important;
}
.cart-widget-side .woocommerce-mini-cart__buttons a.button.btn-cart {
    background-color: #FFFFFF !important;
    background-image: none !important;
    color: #1A1A1F !important;
    border: 1.5px solid #DFDFE6 !important;
    height: 44px !important;
    line-height: 42px !important;
    padding: 0 20px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-align: center !important;
    transition: border-color 0.2s ease, color 0.2s ease !important;
    box-shadow: none !important;
}
.cart-widget-side .woocommerce-mini-cart__buttons a.button.btn-cart:hover {
    border-color: #1A1A1F !important;
    color: #000000 !important;
}

/* 3. Cart Page (.woocommerce-cart) */
.woocommerce-cart {
    font-family: 'Vazirmatn', sans-serif !important;
}
.woocommerce-cart .woocommerce-cart-form {
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 14px !important;
    background: #FFFFFF !important;
    overflow: hidden !important;
}
.woocommerce-cart .shop_table.cart th {
    background-color: #F8F8FA !important;
    color: #1A1A1F !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    padding: 14px 16px !important;
    border-bottom: 1.5px solid #EDEDF2 !important;
}
.woocommerce-cart .shop_table.cart td {
    padding: 16px !important;
    border-bottom: 1px solid #F0F0F4 !important;
    vertical-align: middle !important;
}
.woocommerce-cart .shop_table.cart .product-thumbnail img {
    border-radius: 8px !important;
    border: 1px solid #EDEDF2 !important;
    width: 68px !important;
    height: 68px !important;
    object-fit: contain !important;
}
.woocommerce-cart .shop_table.cart .product-name a {
    color: #1A1A1F !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: color 0.2s ease !important;
}
.woocommerce-cart .shop_table.cart .product-name a:hover {
    color: #E30613 !important;
}
.woocommerce-cart .shop_table.cart .product-price,
.woocommerce-cart .shop_table.cart .product-subtotal {
    font-weight: 700 !important;
    color: #1A1A1F !important;
    font-size: 14.5px !important;
}
.woocommerce-cart .shop_table.cart .product-remove a.remove {
    color: #8E8E93 !important;
    font-size: 0 !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}
.woocommerce-cart .shop_table.cart .product-remove a.remove:hover {
    color: #E30613 !important;
    transform: scale(1.2) !important;
}

/* Quantity controls in cart & checkout */
.woocommerce-cart .quantity,
.woocommerce-checkout .quantity,
.cart-widget-side .quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 1.5px solid #DFDFE6 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
}
.woocommerce-cart .quantity input.qty,
.woocommerce-checkout .quantity input.qty,
.cart-widget-side .quantity input.qty {
    width: 44px !important;
    height: 40px !important;
    border: none !important;
    text-align: center !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #1A1A1F !important;
    background: transparent !important;
    padding: 0 !important;
}
.woocommerce-cart .quantity .btn,
.woocommerce-checkout .quantity .btn,
.cart-widget-side .quantity .btn {
    width: 36px !important;
    height: 40px !important;
    background: #F8F8FA !important;
    border: none !important;
    color: #1A1A1F !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s ease !important;
    padding: 0 !important;
}
.woocommerce-cart .quantity .btn:hover,
.woocommerce-checkout .quantity .btn:hover,
.cart-widget-side .quantity .btn:hover {
    background: #EFEFF2 !important;
}

/* Coupon UI */
.woocommerce-cart .coupon {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    padding: 16px !important;
}
.woocommerce-cart .coupon input.input-text {
    height: 44px !important;
    border: 1.5px solid #DFDFE6 !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 13.5px !important;
    max-width: 220px !important;
    background: #FFFFFF !important;
    transition: border-color 0.2s ease !important;
}
.woocommerce-cart .coupon input.input-text:focus {
    border-color: #E30613 !important;
    outline: none !important;
}
.woocommerce-cart .coupon button.button {
    height: 44px !important;
    background: #1A1A1F !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0 20px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}
.woocommerce-cart .coupon button.button:hover {
    background: #333338 !important;
}

/* Cart Totals Box */
.woocommerce-cart .cart_totals {
    background: #F9F9FB !important;
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 14px !important;
    padding: 22px !important;
}
.woocommerce-cart .cart_totals h2 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    border-bottom: 1.5px solid #EDEDF2 !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
}
.woocommerce-cart .cart_totals table.shop_table {
    border: none !important;
    margin-bottom: 18px !important;
}
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
    padding: 10px 0 !important;
    border-bottom: 1px solid #EDEDF2 !important;
    font-size: 14px !important;
}
.woocommerce-cart .cart_totals table.shop_table th {
    color: #6E6E73 !important;
    font-weight: 500 !important;
}
.woocommerce-cart .cart_totals table.shop_table td {
    text-align: left !important;
    color: #1A1A1F !important;
    font-weight: 700 !important;
}
.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
    border-bottom: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    padding-top: 14px !important;
}

/* Primary Cart Checkout Button - ZERO BLUE! */
.woocommerce-cart .checkout-button.button.alt,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background-color: #E30613 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    height: 48px !important;
    line-height: 48px !important;
    border-radius: 10px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}
.woocommerce-cart .checkout-button.button.alt:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #C40510 !important;
    transform: translateY(-1px) !important;
}

/* 4. Checkout Page (.woocommerce-checkout) */
.woocommerce-checkout {
    font-family: 'Vazirmatn', sans-serif !important;
}

/* Section Headings in WoodMart Elementor Builder */
.woocommerce-checkout h4.woodmart-title-container.title {
    color: #1A1A1F !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    font-family: 'Vazirmatn', sans-serif !important;
    border-bottom: 1.5px solid #EDEDF2 !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
}

/* Billing form inputs */
.woocommerce-checkout .woocommerce-billing-fields input.input-text,
.woocommerce-checkout .woocommerce-billing-fields select,
.woocommerce-checkout .woocommerce-billing-fields textarea {
    height: 44px !important;
    border: 1.5px solid #DFDFE6 !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 13.5px !important;
    color: #1A1A1F !important;
    background: #FFFFFF !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.woocommerce-checkout .woocommerce-billing-fields textarea {
    height: 90px !important;
    padding: 10px 14px !important;
}
.woocommerce-checkout .woocommerce-billing-fields input.input-text:focus,
.woocommerce-checkout .woocommerce-billing-fields select:focus,
.woocommerce-checkout .woocommerce-billing-fields textarea:focus {
    border-color: #E30613 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08) !important;
}
.woocommerce-checkout .woocommerce-billing-fields label {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1A1A1F !important;
    margin-bottom: 6px !important;
}
.woocommerce-checkout .woocommerce-billing-fields .required {
    color: #E30613 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Review Order Table */
.woocommerce-checkout .woocommerce-checkout-review-order-table {
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
    margin-bottom: 20px !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table th {
    background-color: #F8F8FA !important;
    color: #1A1A1F !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #EDEDF2 !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 14px 16px !important;
    border-bottom: 1px solid #F0F0F4 !important;
    vertical-align: middle !important;
    font-size: 13.5px !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
    background: transparent !important;
    color: #6E6E73 !important;
    font-weight: 500 !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
    text-align: left !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    border-bottom: none !important;
}

/* Review table remove item button */
.woocommerce-checkout .wd-checkout-remove-btn {
    color: #8E8E93 !important;
    font-size: 16px !important;
    transition: color 0.2s ease !important;
}
.woocommerce-checkout .wd-checkout-remove-btn:hover {
    color: #E30613 !important;
}

/* Place Order CTA Button - ZERO BLUE! */
.woocommerce-checkout #place_order.button.alt,
.woocommerce-checkout button#place_order {
    background-color: #E30613 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    height: 48px !important;
    line-height: 48px !important;
    border-radius: 10px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}
.woocommerce-checkout #place_order.button.alt:hover,
.woocommerce-checkout button#place_order:hover {
    background-color: #C40510 !important;
    transform: translateY(-1px) !important;
}

/* 5. Clean Notices & Alert States - Native Flow & RTL Geometry (Constraint 2) */
body.rtl :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) {
    position: relative !important;
    padding: 16px 65px 16px 24px !important;
    text-align: right !important;
    direction: rtl !important;
    font-family: 'Vazirmatn', sans-serif !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    box-sizing: border-box !important;
    margin-bottom: 20px !important;
}
body.rtl :is(.woocommerce-error, .woocommerce-message, .woocommerce-info)::before {
    position: absolute !important;
    right: 24px !important;
    top: 16px !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    color: #E30613 !important;
}

/* Error - Light Red */
.woocommerce-error {
    background-color: #FEF2F2 !important;
    border: 1.5px solid #FCA5A5 !important;
    color: #991B1B !important;
    list-style: none !important;
}
.woocommerce-error li {
    color: #991B1B !important;
    font-size: 13.5px !important;
}
/* Success - Light Green */
.woocommerce-message {
    background-color: #ECFDF5 !important;
    border: 1.5px solid #6EE7B7 !important;
    color: #065F46 !important;
}
.woocommerce-message::before {
    color: #059669 !important;
}
.woocommerce-message .button {
    background-color: #10B981 !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
/* Info - Neutral Calm Grey */
.woocommerce-info,
#payment .woocommerce-info {
    background-color: #F8F8FA !important;
    border: 1.5px solid #E5E7EB !important;
    color: #374151 !important;
}
.woocommerce-info::before {
    color: #E30613 !important;
}

/* 6. Order Received (Thank You) Page Polish */
body.woocommerce-order-received .wd-toolbar,
.woocommerce-order-received .wd-toolbar {
    display: none !important;
}
.woocommerce-order-received {
    font-family: 'Vazirmatn', sans-serif !important;
    direction: rtl !important;
}
.woocommerce-order-received .woocommerce-thankyou-order-received {
    background: #ECFDF5 !important;
    border: 1.5px solid #6EE7B7 !important;
    color: #065F46 !important;
    padding: 16px 24px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
}
.woocommerce-order-received ul.woocommerce-order-overview {
    background: #FFFFFF !important;
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 12px !important;
    padding: 18px 24px !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 16px !important;
    list-style: none !important;
    margin-bottom: 24px !important;
}
.woocommerce-order-received ul.woocommerce-order-overview li {
    border-left: 1px solid #EDEDF2 !important;
    padding-left: 16px !important;
    font-size: 13.5px !important;
    color: #6E6E73 !important;
}
.woocommerce-order-received ul.woocommerce-order-overview li:last-child {
    border-left: none !important;
}
.woocommerce-order-received ul.woocommerce-order-overview li strong {
    display: block !important;
    font-size: 15px !important;
    color: #1A1A1F !important;
    margin-top: 4px !important;
    font-weight: 700 !important;
}
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
    background: #FFFFFF !important;
    border: 1.5px solid #EDEDF2 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
}

/* 7. Mobile Responsiveness (max-width: 768px) */
@media (max-width: 768px) {
    .woocommerce-cart .shop_table.cart {
        display: block !important;
        border: none !important;
    }
    .woocommerce-cart .shop_table.cart thead {
        display: none !important;
    }
    .woocommerce-cart .shop_table.cart tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }
    .woocommerce-cart .shop_table.cart tr.cart_item {
        display: grid !important;
        grid-template-columns: 80px 1fr auto !important;
        grid-template-areas:
            "thumb name remove"
            "thumb price remove"
            "thumb qty total" !important;
        gap: 8px 12px !important;
        background: #FFFFFF !important;
        border: 1.5px solid #EDEDF2 !important;
        border-radius: 12px !important;
        padding: 14px !important;
        align-items: center !important;
    }
    .woocommerce-cart .shop_table.cart tr.cart_item .product-thumbnail {
        grid-area: thumb !important;
        padding: 0 !important;
        border: none !important;
    }
    .woocommerce-cart .shop_table.cart tr.cart_item .product-name {
        grid-area: name !important;
        padding: 0 !important;
        border: none !important;
        font-size: 13.5px !important;
    }
    .woocommerce-cart .shop_table.cart tr.cart_item .product-price {
        grid-area: price !important;
        padding: 0 !important;
        border: none !important;
        font-size: 13px !important;
        color: #6E6E73 !important;
    }
    .woocommerce-cart .shop_table.cart tr.cart_item .product-quantity {
        grid-area: qty !important;
        padding: 0 !important;
        border: none !important;
    }
    .woocommerce-cart .shop_table.cart tr.cart_item .product-subtotal {
        grid-area: total !important;
        padding: 0 !important;
        border: none !important;
        font-size: 14.5px !important;
        font-weight: 700 !important;
        text-align: left !important;
    }
    .woocommerce-cart .shop_table.cart tr.cart_item .product-remove {
        grid-area: remove !important;
        padding: 0 !important;
        border: none !important;
        text-align: left !important;
    }
    .woocommerce-cart .coupon {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .woocommerce-cart .coupon input.input-text {
        max-width: 100% !important;
        width: 100% !important;
    }
    .woocommerce-cart .coupon button.button {
        width: 100% !important;
    }
    .woocommerce-checkout .elementor-1650 .e-con-inner {
        flex-direction: column !important;
    }
    .woocommerce-checkout .elementor-element-5b69235,
    .woocommerce-checkout .elementor-element-bf9235e {
        width: 100% !important;
    }
}
/* ==========================================================================
   Phase 5.2 - Order Invoice Action Buttons & Card
   ========================================================================== */
.mb-invoice-actions-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	margin: 30px 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	direction: rtl;
	text-align: right;
}

.mb-invoice-card-header {
	flex: 1 1 320px;
}

.mb-invoice-icon-title {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mb-invoice-badge-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #fee2e2;
	color: #e30613;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mb-invoice-title {
	font-size: 17px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 4px 0;
}

.mb-invoice-subtitle {
	font-size: 13px;
	color: #64748b;
	margin: 0;
	line-height: 1.5;
}

.mb-invoice-buttons-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.mb-btn-invoice {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 12px 22px !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	cursor: pointer !important;
	white-space: nowrap !important;
}

.mb-btn-download {
	background-color: #e30613 !important;
	color: #ffffff !important;
	border: 1px solid #e30613 !important;
	box-shadow: 0 4px 14px rgba(227, 6, 19, 0.25) !important;
}

.mb-btn-download:hover,
.mb-btn-download:focus {
	background-color: #b90510 !important;
	border-color: #b90510 !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(227, 6, 19, 0.35) !important;
}

.mb-btn-print {
	background-color: #f8fafc !important;
	color: #1e293b !important;
	border: 1px solid #cbd5e1 !important;
}

.mb-btn-print:hover,
.mb-btn-print:focus {
	background-color: #f1f5f9 !important;
	border-color: #94a3b8 !important;
	color: #0f172a !important;
	transform: translateY(-1px);
}

/* My Account Orders Table Invoice Button */
.woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions a.mb_invoice {
	background-color: #f1f5f9 !important;
	color: #0f172a !important;
	border: 1px solid #cbd5e1 !important;
	font-weight: 600 !important;
	border-radius: 6px !important;
	margin-right: 4px !important;
}

.woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions a.mb_invoice:hover {
	background-color: #e30613 !important;
	border-color: #e30613 !important;
	color: #ffffff !important;
}

@media (max-width: 768px) {
	.mb-invoice-actions-card {
		padding: 20px;
		margin: 24px 0;
		flex-direction: column;
		align-items: stretch;
	}
	.mb-invoice-buttons-wrap {
		width: 100%;
		flex-direction: column;
	}
	.mb-btn-invoice {
		width: 100% !important;
		justify-content: center !important;
	}
}

/* ==========================================================================
   PHASE 6: MY ACCOUNT / CUSTOMER ACCOUNT UX
   Scoped strictly under body.woocommerce-account
   ========================================================================== */

/* 1. Global Layout & Typography in Customer Area */
body.woocommerce-account {
	background-color: #F9F9FB;
}

body.woocommerce-account .main-page-wrapper {
	padding-top: 30px;
	padding-bottom: 50px;
}

body.woocommerce-account .page-title {
	display: none;
}

/* Container wrapper styling */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
	box-sizing: border-box;
}

/* 2. Account Navigation (Sidebar) */
body.woocommerce-account .woocommerce-MyAccount-navigation {
	background: #FFFFFF;
	border: 1px solid #EBEBF0;
	border-radius: 14px;
	padding: 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
	margin-bottom: 24px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	margin: 0;
	padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: flex;
	align-items: center;
	padding: 12px 16px;
	border-radius: 10px;
	color: #1A1A1F;
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.2s ease;
	position: relative;
	min-height: 44px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	background-color: #F7F7F8;
	color: #E30613;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	background-color: rgba(227, 6, 19, 0.06);
	color: #E30613;
	font-weight: 700;
	border-right: 3px solid #E30613;
}

/* Customer Logout link styling */
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: #71717A;
	border-top: 1px solid #F4F4F5;
	margin-top: 6px;
	padding-top: 14px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	color: #E30613;
	background-color: #FFF1F2;
}

/* 3. Account Content Container */
body.woocommerce-account .woocommerce-MyAccount-content {
	background: #FFFFFF;
	border: 1px solid #EBEBF0;
	border-radius: 14px;
	padding: 28px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* Hide default WoodMart/WooCommerce account links grid if rendered outside dashboard */
body.woocommerce-account .woocommerce-MyAccount-content > ul.wd-my-account-links {
	display: none !important;
}

/* 4. Dashboard Components */
.mb-account-dashboard {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Customer Identity Card */
.mb-account-identity-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #FAFAFB;
	border: 1px solid #EBEBF0;
	border-radius: 12px;
	padding: 18px 24px;
	flex-wrap: wrap;
	gap: 16px;
}

.mb-identity-info {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mb-identity-avatar {
	width: 48px;
	height: 48px;
	background: #E30613;
	color: #FFFFFF;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	box-shadow: 0 2px 6px rgba(227, 6, 19, 0.25);
}

.mb-identity-details {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mb-identity-name {
	font-size: 16px;
	font-weight: 700;
	color: #1A1A1F;
	margin: 0;
	line-height: 1.4;
}

.mb-identity-email {
	font-size: 13px;
	color: #71717A;
	direction: ltr;
	text-align: right;
}

.mb-identity-logout-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	color: #71717A;
	background: #FFFFFF;
	border: 1px solid #E4E4E7;
	border-radius: 8px;
	padding: 8px 14px;
	text-decoration: none;
	transition: all 0.2s ease;
	min-height: 38px;
}

.mb-identity-logout-btn:hover {
	color: #E30613;
	border-color: #E30613;
	background: #FFF1F2;
}

/* Quick Shortcuts Grid */
.mb-account-shortcuts-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.mb-shortcut-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #FFFFFF;
	border: 1px solid #EBEBF0;
	border-radius: 12px;
	padding: 16px 20px;
	text-decoration: none;
	transition: all 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
	position: relative;
}

.mb-shortcut-card:hover {
	border-color: #D4D4D8;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	transform: translateY(-2px);
}

.mb-shortcut-icon {
	width: 44px;
	height: 44px;
	background: #F4F4F5;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1A1A1F;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.mb-shortcut-card:hover .mb-shortcut-icon {
	background: #FFF1F2;
	color: #E30613;
}

.mb-shortcut-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
}

.mb-shortcut-title {
	font-size: 15px;
	font-weight: 700;
	color: #1A1A1F;
}

.mb-shortcut-desc {
	font-size: 12px;
	color: #71717A;
	line-height: 1.4;
}

.mb-shortcut-arrow {
	font-size: 18px;
	color: #A1A1AA;
	font-weight: 300;
	transition: transform 0.2s ease;
}

.mb-shortcut-card:hover .mb-shortcut-arrow {
	transform: translateX(-3px);
	color: #E30613;
}

/* Recent Orders Section */
.mb-recent-orders-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 8px;
}

.mb-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #EBEBF0;
	padding-bottom: 12px;
}

.mb-section-title {
	font-size: 16px;
	font-weight: 700;
	color: #1A1A1F;
	margin: 0;
}

.mb-section-all-link {
	font-size: 13px;
	font-weight: 600;
	color: #E30613;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.mb-section-all-link:hover {
	color: #B8000B;
}

.mb-recent-orders-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mb-recent-order-card {
	background: #FAFAFB;
	border: 1px solid #EBEBF0;
	border-radius: 12px;
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: all 0.2s ease;
}

.mb-recent-order-card:hover {
	border-color: #D4D4D8;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.mb-ro-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}

.mb-ro-meta {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mb-ro-id {
	font-size: 14px;
	font-weight: 700;
	color: #1A1A1F;
}

.mb-ro-date {
	font-size: 13px;
	color: #71717A;
}

.mb-ro-body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0;
	border-top: 1px dashed #EBEBF0;
	border-bottom: 1px dashed #EBEBF0;
}

.mb-ro-total {
	display: flex;
	align-items: center;
	gap: 6px;
}

.mb-ro-total-label {
	font-size: 13px;
	color: #71717A;
}

.mb-ro-total-val {
	font-size: 14px;
	font-weight: 700;
	color: #1A1A1F;
}

.mb-ro-footer {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: flex-end;
}

.mb-btn-ro-view,
.mb-btn-ro-invoice {
	font-size: 13px;
	font-weight: 600;
	border-radius: 8px;
	padding: 8px 16px;
	text-decoration: none;
	transition: all 0.2s ease;
	min-height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.mb-btn-ro-view {
	background: #FFFFFF;
	color: #1A1A1F;
	border: 1px solid #D4D4D8;
}

.mb-btn-ro-view:hover {
	background: #F4F4F5;
	border-color: #A1A1AA;
}

.mb-btn-ro-invoice {
	background: #FFF1F2;
	color: #E30613;
	border: 1px solid rgba(227, 6, 19, 0.2);
}

.mb-btn-ro-invoice:hover {
	background: #E30613;
	color: #FFFFFF;
	border-color: #E30613;
}

/* 5. Status Badges */
.mb-status-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}

.mb-status-badge.status-completed {
	background: #E8F5E9;
	color: #2E7D32;
	border: 1px solid #C8E6C9;
}

.mb-status-badge.status-processing {
	background: #E3F2FD;
	color: #1565C0;
	border: 1px solid #BBDEFB;
}

.mb-status-badge.status-on-hold {
	background: #FFF8E1;
	color: #F57F17;
	border: 1px solid #FFECB3;
}

.mb-status-badge.status-pending {
	background: #FFF3E0;
	color: #E65100;
	border: 1px solid #FFE0B2;
}

.mb-status-badge.status-cancelled {
	background: #F5F5F5;
	color: #616161;
	border: 1px solid #E0E0E0;
}

.mb-status-badge.status-failed {
	background: #FFEBEE;
	color: #C62828;
	border: 1px solid #FFCDD2;
}

.mb-status-badge.status-refunded {
	background: #F3E5F5;
	color: #6A1B9A;
	border: 1px solid #E1BEE7;
}

/* 6. Empty State Card (Dashboard & Orders page) */
.mb-empty-orders-card {
	text-align: center;
	padding: 48px 24px;
	background: #FAFAFB;
	border: 1px dashed #D4D4D8;
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.mb-empty-icon {
	color: #A1A1AA;
	margin-bottom: 4px;
}

.mb-empty-title {
	font-size: 18px;
	font-weight: 700;
	color: #1A1A1F;
	margin: 0;
}

.mb-empty-sub {
	font-size: 14px;
	color: #71717A;
	margin: 0;
	max-width: 380px;
	line-height: 1.5;
}

.mb-empty-btn {
	background: #E30613;
	color: #FFFFFF !important;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 28px;
	border-radius: 10px;
	text-decoration: none;
	margin-top: 8px;
	transition: background 0.2s ease;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.mb-empty-btn:hover {
	background: #B8000B;
}

/* 7. Orders Table Polish (/my-account/orders/) */
body.woocommerce-account table.woocommerce-orders-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #EBEBF0;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 24px;
}

body.woocommerce-account table.woocommerce-orders-table th {
	background: #FAFAFB;
	color: #71717A;
	font-weight: 600;
	font-size: 13px;
	padding: 14px 16px;
	text-align: right;
	border-bottom: 1px solid #EBEBF0;
}

body.woocommerce-account table.woocommerce-orders-table td {
	padding: 16px;
	font-size: 14px;
	color: #1A1A1F;
	border-bottom: 1px solid #F4F4F5;
	vertical-align: middle;
}

body.woocommerce-account table.woocommerce-orders-table tr:last-child td {
	border-bottom: none;
}

body.woocommerce-account table.woocommerce-orders-table tr:hover td {
	background-color: #FAFAFB;
}

/* Action buttons in orders table */
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
	white-space: nowrap;
	text-align: left;
}

body.woocommerce-account table.woocommerce-orders-table .button {
	font-size: 12px !important;
	font-weight: 600 !important;
	padding: 8px 14px !important;
	border-radius: 8px !important;
	min-height: 36px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 2px !important;
}

body.woocommerce-account table.woocommerce-orders-table .button.view {
	background: #FFFFFF !important;
	color: #1A1A1F !important;
	border: 1px solid #D4D4D8 !important;
}

body.woocommerce-account table.woocommerce-orders-table .button.view:hover {
	background: #F4F4F5 !important;
	border-color: #A1A1AA !important;
}

body.woocommerce-account table.woocommerce-orders-table .button.mb_invoice {
	background: #FFF1F2 !important;
	color: #E30613 !important;
	border: 1px solid rgba(227, 6, 19, 0.25) !important;
}

body.woocommerce-account table.woocommerce-orders-table .button.mb_invoice:hover {
	background: #E30613 !important;
	color: #FFFFFF !important;
	border-color: #E30613 !important;
}

/* 8. View Order Page Polish (/my-account/view-order/) */
body.woocommerce-account .woocommerce-order-details {
	margin-top: 24px;
}

body.woocommerce-account .woocommerce-order-details__title {
	font-size: 18px;
	font-weight: 700;
	color: #1A1A1F;
	margin-bottom: 16px;
}

body.woocommerce-account p.order-info,
body.woocommerce-account .woocommerce-view-order > p:first-of-type {
	background: #FAFAFB;
	border: 1px solid #EBEBF0;
	border-radius: 10px;
	padding: 16px 20px;
	font-size: 14px;
	line-height: 1.8;
	color: #3F3F46;
}

body.woocommerce-account mark.order-number {
	background: transparent;
	font-weight: 700;
	color: #1A1A1F;
}

body.woocommerce-account mark.order-date {
	background: transparent;
	font-weight: 700;
	color: #E30613;
}

body.woocommerce-account mark.order-status {
	background: #E8F5E9;
	color: #2E7D32;
	padding: 2px 8px;
	border-radius: 6px;
	font-weight: 600;
	border: 1px solid #C8E6C9;
}

/* 9. Addresses Page Polish (/my-account/edit-address/) */
body.woocommerce-account .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 20px;
}

body.woocommerce-account .woocommerce-Address {
	background: #FAFAFB;
	border: 1px solid #EBEBF0;
	border-radius: 12px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

body.woocommerce-account .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	border-bottom: 1px solid #EBEBF0;
	padding-bottom: 12px;
}

body.woocommerce-account .woocommerce-Address-title h3 {
	font-size: 16px;
	font-weight: 700;
	color: #1A1A1F;
	margin: 0;
}

body.woocommerce-account .woocommerce-Address-title a.edit {
	font-size: 13px;
	font-weight: 600;
	color: #E30613;
	text-decoration: none;
	background: #FFF1F2;
	border: 1px solid rgba(227, 6, 19, 0.2);
	border-radius: 8px;
	padding: 6px 14px;
	transition: all 0.2s ease;
}

body.woocommerce-account .woocommerce-Address-title a.edit:hover {
	background: #E30613;
	color: #FFFFFF;
}

body.woocommerce-account address {
	font-style: normal;
	font-size: 14px;
	line-height: 1.8;
	color: #3F3F46;
	margin: 0;
}

.mb-no-address-notice {
	color: #8E8E93;
	font-style: italic;
	font-size: 13px;
}

/* 10. Form Polish (Address Edit & Account Details) */
body.woocommerce-account form .form-row {
	margin-bottom: 18px;
}

body.woocommerce-account form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #1A1A1F;
	margin-bottom: 6px;
}

body.woocommerce-account form input.input-text,
body.woocommerce-account form select {
	width: 100%;
	height: 46px;
	border: 1px solid #D4D4D8;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	background-color: #FFFFFF;
	color: #1A1A1F;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

body.woocommerce-account form input.input-text:focus,
body.woocommerce-account form select:focus {
	border-color: #E30613;
	outline: none;
	box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

/* Password Change Visual Separation in Edit Account */
body.woocommerce-account form.edit-account fieldset {
	background: #FAFAFB;
	border: 1px solid #EBEBF0;
	border-radius: 12px;
	padding: 24px;
	margin-top: 24px;
	margin-bottom: 24px;
}

body.woocommerce-account form.edit-account fieldset legend {
	font-size: 16px;
	font-weight: 700;
	color: #1A1A1F;
	padding: 0 10px;
	float: none;
	width: auto;
}

/* Submit Buttons in Forms */
body.woocommerce-account form .button,
body.woocommerce-account form button[type="submit"] {
	background-color: #E30613 !important;
	color: #FFFFFF !important;
	border: none !important;
	border-radius: 10px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	padding: 12px 28px !important;
	min-height: 46px !important;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

body.woocommerce-account form .button:hover,
body.woocommerce-account form button[type="submit"]:hover {
	background-color: #B8000B !important;
}

/* 11. Logged-Out Login / Register & Lost Password Polish */
body.woocommerce-account #customer_login {
	background: #FFFFFF;
	border: 1px solid #EBEBF0;
	border-radius: 14px;
	padding: 32px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
	margin: 0 auto;
	max-width: 960px;
}

body.woocommerce-account form.lost_reset_password {
	background: #FFFFFF;
	border: 1px solid #EBEBF0;
	border-radius: 14px;
	padding: 32px;
	max-width: 480px;
	margin: 0 auto;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

body.woocommerce-account .woocommerce-LostPassword a {
	color: #E30613;
	font-size: 13px;
	text-decoration: none;
}

body.woocommerce-account .woocommerce-LostPassword a:hover {
	text-decoration: underline;
}

/* 12. Alert Notices Styling (RTL-Safe) */
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
	border-radius: 10px;
	padding: 14px 44px 14px 16px !important;
	font-size: 13.5px;
	line-height: 1.6;
	margin-bottom: 20px;
	border-top: none;
	border-left: none;
	border-bottom: none;
}

body.woocommerce-account .woocommerce-message {
	background-color: #F0FDF4;
	color: #166534;
	border-right: 4px solid #22C55E;
}

body.woocommerce-account .woocommerce-error {
	background-color: #FEF2F2;
	color: #991B1B;
	border-right: 4px solid #EF4444;
}

body.woocommerce-account .woocommerce-info {
	background-color: #F8FAFC;
	color: #334155;
	border-right: 4px solid #94A3B8;
}

/* 13. Mobile Responsive Adaptations (~390px to 768px) */
@media (max-width: 768px) {
	body.woocommerce-account .woocommerce-MyAccount-navigation {
		margin-bottom: 16px;
		padding: 12px;
	}

	body.woocommerce-account .woocommerce-MyAccount-content {
		padding: 18px 14px;
	}

	/* Shortcuts Grid on Mobile */
	.mb-account-shortcuts-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.mb-shortcut-card {
		padding: 14px 16px;
	}

	/* Addresses Grid on Mobile */
	body.woocommerce-account .woocommerce-Addresses {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	/* Orders Table to Stacked Cards Transformation on Mobile */
	body.woocommerce-account table.woocommerce-orders-table {
		border: none;
		background: transparent;
	}

	body.woocommerce-account table.woocommerce-orders-table thead {
		display: none;
	}

	body.woocommerce-account table.woocommerce-orders-table tbody,
	body.woocommerce-account table.woocommerce-orders-table tr {
		display: block;
	}

	body.woocommerce-account table.woocommerce-orders-table tr {
		background: #FAFAFB;
		border: 1px solid #EBEBF0;
		border-radius: 12px;
		margin-bottom: 14px;
		padding: 16px;
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
	}

	body.woocommerce-account table.woocommerce-orders-table td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 10px 0;
		border-bottom: 1px solid #F4F4F5;
	}

	body.woocommerce-account table.woocommerce-orders-table td::before {
		content: attr(data-title);
		font-weight: 600;
		color: #71717A;
		font-size: 13px;
	}

	body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
		border-bottom: none;
		padding-top: 14px;
		padding-bottom: 0;
		justify-content: stretch;
		gap: 8px;
		flex-wrap: wrap;
	}

	body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before {
		display: none;
	}

	body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button {
		flex: 1 1 calc(50% - 4px);
		min-height: 42px !important;
		margin: 0 !important;
	}

	/* Identity card mobile */
	.mb-account-identity-card {
		padding: 16px;
	}

	.mb-identity-actions {
		width: 100%;
	}

	.mb-identity-logout-btn {
		width: 100%;
		justify-content: center;
	}
}


/* Hide generic dashboard greeting paragraphs on main dashboard */
body.woocommerce-account.woocommerce-page:not(.woocommerce-view-order):not(.woocommerce-orders):not(.woocommerce-edit-address):not(.woocommerce-edit-account) .woocommerce-MyAccount-content > p {
	display: none !important;
}


/* ==========================================================================
   Owner Demo Pass: Footer Contact & Contact Page Styles
   ========================================================================== */

/* Footer Contact Area */
.mb-footer__contact {
    margin-top: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.mb-footer__contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: #A0A0AB !important;
    line-height: 1.5 !important;
}
.mb-footer__contact-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
}
.mb-footer__contact-link {
    color: #E5E5EA !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
    font-weight: 500 !important;
}
.mb-footer__contact-link:hover {
    color: #E30613 !important;
}
.mb-footer__contact-text {
    color: #A0A0AB !important;
    font-size: 12.5px !important;
}

/* Contact Page (.mb-contact-page) */
.mb-contact-page {
    max-width: 1200px !important;
    margin: 40px auto 60px !important;
    padding: 0 20px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    direction: rtl !important;
}
.mb-contact-page__header {
    text-align: center !important;
    margin-bottom: 40px !important;
}
.mb-contact-page__title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #1A1A1F !important;
    margin-bottom: 8px !important;
}
.mb-contact-page__subtitle {
    font-size: 15px !important;
    color: #6B7280 !important;
    margin: 0 !important;
}
.mb-contact-page__grid {
    display: grid !important;
    grid-template-columns: 1fr 1.1fr !important;
    gap: 32px !important;
}
.mb-contact-card, .mb-contact-map-card {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 16px !important;
    padding: 28px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}
.mb-contact-card__heading {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    margin-bottom: 24px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #F3F4F6 !important;
    position: relative !important;
}
.mb-contact-card__heading::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    right: 0 !important;
    width: 32px !important;
    height: 2px !important;
    background: #E30613 !important;
}
.mb-contact-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    margin-bottom: 28px !important;
}
.mb-contact-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
}
.mb-contact-item__icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: #FEF2F2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
.mb-contact-item__content {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}
.mb-contact-item__label {
    font-size: 12px !important;
    color: #9CA3AF !important;
    font-weight: 500 !important;
}
.mb-contact-item__val {
    font-size: 14px !important;
    color: #1F2937 !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
}
.mb-contact-item__link {
    font-size: 15px !important;
    color: #1F2937 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}
.mb-contact-item__link:hover {
    color: #E30613 !important;
}
.mb-contact-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}
.mb-contact-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
}
.mb-contact-btn--primary {
    background: #E30613 !important;
    color: #FFFFFF !important;
}
.mb-contact-btn--primary:hover {
    background: #C4000B !important;
    color: #FFFFFF !important;
}
.mb-contact-btn--secondary {
    background: #1A1A1F !important;
    color: #FFFFFF !important;
}
.mb-contact-btn--secondary:hover {
    background: #2E2E36 !important;
    color: #FFFFFF !important;
}
.mb-contact-btn--outline {
    background: #F9FAFB !important;
    color: #374151 !important;
    border: 1px solid #D1D5DB !important;
}
.mb-contact-btn--outline:hover {
    background: #F3F4F6 !important;
    border-color: #9CA3AF !important;
    color: #111827 !important;
}
.mb-contact-map-card__header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    margin-bottom: 16px !important;
}
.mb-contact-map-card__badge {
    font-size: 12px !important;
    color: #E30613 !important;
    font-weight: 600 !important;
}
.mb-contact-map-wrapper {
    overflow: hidden !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
}
.mb-contact-map-footer {
    margin-top: 14px !important;
    font-size: 12.5px !important;
    color: #4B5563 !important;
    line-height: 1.6 !important;
}

@media (max-width: 900px) {
    .mb-footer__inner {
        grid-template-columns: 1fr 1fr !important;
        gap: 28px !important;
    }
    .mb-contact-page__grid {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 600px) {
    .mb-footer__inner {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .mb-contact-actions {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   Mobile Bastani - Premium Mobile Mega Navigation Drawer
   ========================================================================== */

.mobile-nav.mb-mega-drawer {
    background: #FFFFFF !important;
    color: #1A1A1F !important;
    font-family: 'Vazirmatn', sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
    width: 330px !important;
    max-width: 88vw !important;
    height: 100% !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    border-left: 1px solid #ECEEF1 !important;
    z-index: 99999 !important;
}

.mobile-nav.mb-mega-drawer * {
    box-sizing: border-box !important;
    font-family: 'Vazirmatn', sans-serif !important;
}

/* 1. Header / Top Bar */
.mb-mega-drawer__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 18px !important;
    border-bottom: 1px solid #F0F2F5 !important;
    background: #FFFFFF !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
}

.mb-mega-drawer__brand img {
    display: block !important;
    height: 32px !important;
    width: auto !important;
    object-fit: contain !important;
}

.mb-mega-drawer__close {
    background: #F4F5F7 !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #4B5563 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.mb-mega-drawer__close:hover,
.mb-mega-drawer__close:active {
    background: #FEE2E2 !important;
    color: #E30613 !important;
}

/* 2. Instant Product Search */
.mb-mega-drawer__search-box {
    padding: 14px 18px 10px !important;
    background: #FFFFFF !important;
}

.mb-mega-drawer__search-form {
    display: flex !important;
    align-items: center !important;
    background: #F8F9FA !important;
    border: 1.5px solid #E5E7EB !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
}

.mb-mega-drawer__search-form:focus-within {
    border-color: #E30613 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08) !important;
}

.mb-mega-drawer__search-input {
    flex: 1 !important;
    height: 42px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: #1F2937 !important;
    direction: rtl !important;
}

.mb-mega-drawer__search-input::placeholder {
    color: #9CA3AF !important;
    font-size: 12px !important;
}

.mb-mega-drawer__search-submit {
    width: 42px !important;
    height: 42px !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6B7280 !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: color 0.15s ease !important;
}

.mb-mega-drawer__search-form:focus-within .mb-mega-drawer__search-submit {
    color: #E30613 !important;
}

/* 3. Quick Discovery Pills */
.mb-mega-drawer__pills {
    display: flex !important;
    gap: 8px !important;
    padding: 6px 18px 14px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    border-bottom: 1px solid #F0F2F5 !important;
}

.mb-mega-drawer__pills::-webkit-scrollbar {
    display: none !important;
}

.mb-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    background: #F3F4F6 !important;
    color: #4B5563 !important;
    transition: all 0.2s ease !important;
    border: 1px solid transparent !important;
}

.mb-pill:hover,
.mb-pill:active {
    background: #E5E7EB !important;
    color: #111827 !important;
}

.mb-pill--special {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
    font-weight: 600 !important;
    border-color: #FECACA !important;
}

.mb-pill--special:hover {
    background: #FEE2E2 !important;
    color: #B91C1C !important;
}

.mb-pill__dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #E30613 !important;
    animation: mbPulse 1.8s infinite !important;
}

@keyframes mbPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* 4. Main Accordion Categories */
.mb-mega-drawer__categories {
    padding: 8px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.mb-accordion-item {
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: background 0.2s ease !important;
}

.mb-accordion-item.is-open {
    background: #F9FAFB !important;
}

.mb-accordion-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    background: transparent !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1F2937 !important;
    cursor: pointer !important;
    text-align: right !important;
    transition: all 0.15s ease !important;
    border-radius: 8px !important;
}

.mb-accordion-btn:hover {
    background: #F3F4F6 !important;
}

.mb-accordion-item.is-open .mb-accordion-btn {
    color: #E30613 !important;
}

.mb-accordion-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.mb-accordion-chevron {
    transition: transform 0.25s ease !important;
    color: #9CA3AF !important;
}

.mb-accordion-item.is-open .mb-accordion-chevron {
    transform: rotate(-90deg) !important;
    color: #E30613 !important;
}

.mb-accordion-panel {
    display: none !important;
    padding: 4px 14px 12px 14px !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.mb-accordion-item.is-open .mb-accordion-panel {
    display: flex !important;
}

.mb-sublink {
    display: block !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    color: #4B5563 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    transition: all 0.15s ease !important;
    font-weight: 400 !important;
}

.mb-sublink:hover,
.mb-sublink:active {
    background: #FFFFFF !important;
    color: #E30613 !important;
    font-weight: 500 !important;
    padding-right: 16px !important;
}

.mb-sublink--all {
    color: #E30613 !important;
    font-weight: 600 !important;
    background: #FEF2F2 !important;
    margin-bottom: 4px !important;
}

.mb-sublink--all:hover {
    background: #FEE2E2 !important;
}

/* 5. Popular Brands Section */
.mb-mega-drawer__brands-section {
    padding: 16px 18px 20px !important;
    border-top: 1px solid #F0F2F5 !important;
    border-bottom: 1px solid #F0F2F5 !important;
    margin-top: 8px !important;
}

.mb-mega-drawer__section-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #9CA3AF !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.mb-mega-drawer__brands-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
}

.mb-brand-chip {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 6px !important;
    background: #F9FAFB !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    text-align: center !important;
}

.mb-brand-chip:hover,
.mb-brand-chip:active {
    background: #FFFFFF !important;
    border-color: #E30613 !important;
    color: #E30613 !important;
    box-shadow: 0 2px 6px rgba(227, 6, 19, 0.08) !important;
}

/* 6. Footer / Contact Strip */
.mb-mega-drawer__footer {
    padding: 18px !important;
    background: #F9FAFB !important;
    margin-top: auto !important;
}

.mb-mega-drawer__footer-info {
    margin-bottom: 14px !important;
}

.mb-mega-drawer__footer-phone {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
}

.mb-mega-drawer__footer-phone a {
    color: #111827 !important;
    text-decoration: none !important;
    direction: ltr !important;
    unicode-bidi: embed !important;
}

.mb-mega-drawer__footer-phone a:hover {
    color: #E30613 !important;
}

.mb-mega-drawer__footer-address {
    font-size: 11.5px !important;
    color: #6B7280 !important;
    line-height: 1.5 !important;
}

.mb-mega-drawer__footer-actions {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
}

.mb-drawer-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 4px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.mb-drawer-btn--call {
    background: #E30613 !important;
    color: #FFFFFF !important;
}

.mb-drawer-btn--call:hover {
    background: #C4000B !important;
}

.mb-drawer-btn--insta {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    color: #D62976 !important;
}

.mb-drawer-btn--insta:hover {
    border-color: #D62976 !important;
    background: #FDF2F8 !important;
}

.mb-drawer-btn--map {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    color: #2563EB !important;
}

.mb-drawer-btn--map:hover {
    border-color: #2563EB !important;
    background: #EFF6FF !important;
}

.mb-drawer-btn--contact {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    color: #374151 !important;
}

.mb-drawer-btn--contact:hover {
    border-color: #374151 !important;
    background: #F3F4F6 !important;
}




/* ==========================================================================
   Phase 6: scoped storefront media normalization
   Assets provide their own optical margins: no extra CSS image padding.
   ========================================================================== */
body:not(.wp-admin):not(.woocommerce-account) .mb-card__img-wrap,
body:not(.wp-admin):not(.woocommerce-account) .product-grid-item .product-element-top,
body:not(.wp-admin):not(.woocommerce-account) .wd-products .product-element-top {
	display: grid !important;
	place-items: center !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #FFFFFF !important;
}
body:not(.wp-admin):not(.woocommerce-account) .mb-card__img-wrap > img,
body:not(.wp-admin):not(.woocommerce-account) .product-grid-item .product-element-top .product-image-link > img,
body:not(.wp-admin):not(.woocommerce-account) .wd-products .product-element-top .product-image-link > img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
	object-fit: contain !important;
	object-position: center;
	background: #FFFFFF;
}
body:not(.wp-admin):not(.woocommerce-account) .mb-hero__visual,
body:not(.wp-admin):not(.woocommerce-account) .mb-hero__img-wrap {
	display: grid !important;
	place-items: center !important;
	min-width: 0;
	overflow: hidden;
}
body:not(.wp-admin):not(.woocommerce-account) .mb-hero__img-wrap {
	aspect-ratio: 16 / 9;
	background: #FFFFFF !important;
}
body:not(.wp-admin):not(.woocommerce-account) .mb-hero__img {
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	padding: 0 !important;
	object-fit: contain !important;
	object-position: center;
}
body:not(.wp-admin):not(.woocommerce-account).single-product .woocommerce-product-gallery__image,
body:not(.wp-admin):not(.woocommerce-account).single-product .product-image-wrap,
body:not(.wp-admin):not(.woocommerce-account) .popup-quick-view .woocommerce-product-gallery__image,
body:not(.wp-admin):not(.woocommerce-account) .wd-popup-quick-view .woocommerce-product-gallery__image {
	display: grid !important;
	place-items: center !important;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #FFFFFF !important;
}
body:not(.wp-admin):not(.woocommerce-account).single-product .woocommerce-product-gallery__image img:not(.zoomImg),
body:not(.wp-admin):not(.woocommerce-account).single-product .product-image-wrap img:not(.zoomImg),
body:not(.wp-admin):not(.woocommerce-account) .popup-quick-view .woocommerce-product-gallery__image img:not(.zoomImg),
body:not(.wp-admin):not(.woocommerce-account) .wd-popup-quick-view .woocommerce-product-gallery__image img:not(.zoomImg) {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	padding: 0 !important;
	object-fit: contain !important;
	object-position: center;
	background: #FFFFFF;
}
body:not(.wp-admin):not(.woocommerce-account).single-product .wd-gallery-thumb .wd-carousel-item,
body:not(.wp-admin):not(.woocommerce-account).single-product .wd-gallery-thumb a {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #FFFFFF !important;
}
body:not(.wp-admin):not(.woocommerce-account).single-product .wd-gallery-thumb img,
body:not(.wp-admin):not(.woocommerce-account) .woocommerce-mini-cart-item .cart-item-image img,
body:not(.wp-admin):not(.woocommerce-account) .cart_item .product-thumbnail img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	padding: 0 !important;
	object-fit: contain !important;
	object-position: center;
	background: #FFFFFF;
}
@media (max-width: 767px) {
	body:not(.wp-admin):not(.woocommerce-account) .mb-hero__img-wrap { max-height: none !important; }
}

/* Phase 8.2 — Category 6-Tile Grid */
.mb-cat-grid--six {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.mb-cat-tile {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.mb-cat-tile:hover {
  transform: translateY(-3px);
  border-color: #e30613;
  box-shadow: 0 8px 20px rgba(227, 6, 19, 0.08);
}
.mb-cat-tile__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #111115;
  transition: all 0.25s ease;
}
.mb-cat-tile:hover .mb-cat-tile__icon-wrap {
  background: #fef2f2;
  color: #e30613;
}
.mb-cat-tile__title {
  font-size: 14px;
  font-weight: 700;
  color: #111115;
  margin: 0 0 4px 0;
  line-height: 1.3;
}
.mb-cat-tile__count {
  font-size: 11.5px;
  color: #71717a;
  font-weight: 500;
}

/* Phase 8.2 — Trust Pillars Strip */
.mb-trust-strip {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px 20px;
  margin: 32px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.mb-trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mb-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.mb-trust-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fef2f2;
  color: #e30613;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mb-trust-item__text {
  flex: 1;
}
.mb-trust-item__title {
  font-size: 14px;
  font-weight: 700;
  color: #111115;
  margin: 0 0 4px 0;
  line-height: 1.3;
}
.mb-trust-item__desc {
  font-size: 12px;
  color: #71717a;
  margin: 0;
  line-height: 1.45;
}

/* Phase 8.2 — Product Card Alignment & Polish */
.mb-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
  line-height: 1.4;
  margin-bottom: 8px;
}
.mb-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mb-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  margin-top: auto;
}
.mb-card__price del,
.mb-card__price .mb-card__regular {
  font-family: Sora, Vazirmatn, sans-serif;
  font-size: 12px;
  color: #a1a1aa;
  text-decoration: line-through;
}
.mb-card__price ins,
.mb-card__price .mb-card__current {
  font-family: Sora, Vazirmatn, sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #111115;
  text-decoration: none;
}

/* Phase 8.2 — Mobile Responsive Adjustments */
@media (max-width: 991px) {
  .mb-cat-grid--six {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .mb-trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .mb-hero {
    margin: 16px 0 20px !important;
    padding: 20px 14px !important;
    gap: 16px !important;
  }
  .mb-cat-grid--six {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .mb-cat-tile {
    padding: 14px 6px;
    border-radius: 12px;
  }
  .mb-cat-tile__icon-wrap {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
  }
  .mb-cat-tile__icon-wrap svg {
    width: 22px;
    height: 22px;
  }
  .mb-cat-tile__title {
    font-size: 12px;
  }
  .mb-cat-tile__count {
    font-size: 10px;
  }
  .mb-trust-strip {
    padding: 16px 14px;
    margin: 20px 0;
  }
  .mb-trust-strip__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* Product Grid container support for .mb-grid and .mb-grid--4 */
.mb-grid,
.mb-grid--4,
.mb-products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}
@media (max-width: 991px) {
  .mb-grid,
  .mb-grid--4,
  .mb-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}
@media (max-width: 480px) {
  .mb-grid,
  .mb-grid--4,
  .mb-products-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* === Mobile Bastani Lightweight Homepage Regression Patches === */

/* 2. BRAND SECTION — RESTORE CLEAN ROW-BASED LOGO PRESENTATION */
.mb-brand-strip {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
}

.mb-brand-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 22px 14px 18px !important;
    background: #FFFFFF !important;
    border: 1px solid #EDEDF2 !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
    min-height: 108px !important;
}

.mb-brand-card:hover {
    background: #FFFFFF !important;
    border-color: #E30613 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.08) !important;
}

.mb-brand-card__logo {
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
    color: #1A1A1F !important;
}

.mb-brand-card__logo svg {
    display: block !important;
    max-height: 38px !important;
    width: auto !important;
}

.mb-brand-card__label {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4A4A52 !important;
    text-align: center !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    transition: color 0.2s ease !important;
}

.mb-brand-card:hover .mb-brand-card__label {
    color: #E30613 !important;
}

@media (max-width: 900px) {
    .mb-brand-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

@media (max-width: 600px) {
    .mb-brand-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .mb-brand-strip .mb-brand-card:last-child {
        grid-column: span 2 !important;
    }
    .mb-brand-card {
        padding: 16px 10px 14px !important;
        min-height: 94px !important;
    }
    .mb-brand-card__logo {
        height: 34px !important;
        margin-bottom: 8px !important;
    }
    .mb-brand-card__logo svg {
        max-height: 34px !important;
    }
    .mb-brand-card__label {
        font-size: 12px !important;
    }
}

/* 3. EDITORIAL SECTION — POLISH SECONDARY CTA BUTTON */
.mb-spotlight__actions .mb-btn--outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4B4B52 !important;
    background: #FFFFFF !important;
    border: 1px solid #D1D1D6 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.mb-spotlight__actions .mb-btn--outline:hover {
    background: #F4F4F7 !important;
    color: #E30613 !important;
    border-color: #E30613 !important;
    box-shadow: 0 2px 8px rgba(227, 6, 19, 0.12) !important;
}

/* 4. SEARCH DROPDOWN MOBILE SPACING & ALIGNMENT */
.wd-search-results .screen-reader-text {
    display: none !important;
}

.wd-search-results .wd-suggestion {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid #F0F0F2 !important;
}

.wd-search-results .wd-suggestion:last-child {
    border-bottom: none !important;
}

.wd-search-results .wd-suggestion-thumb {
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #F9FAFB !important;
}

.wd-search-results .wd-suggestion-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.wd-search-results .wd-suggestion-info,
.wd-search-results .wd-suggestion-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.wd-search-results .wd-entities-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1A1A1F !important;
    margin: 0 0 4px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.wd-search-results .price {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #E30613 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

.wd-search-results .price .amount {
    color: #E30613 !important;
    font-size: 12px !important;
}


/* ==========================================================================
   MOBILE BASTANI STOREFRONT PRECISION PATCHES (FINAL 2026)
   ========================================================================== */

/* 1. Mobile Mega Drawer Header & Prominent Close Button */
.mobile-nav.mb-mega-drawer .mb-mega-drawer__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 18px !important;
    border-bottom: 1px solid #F0F2F5 !important;
    background: #FFFFFF !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__brand img {
    display: block !important;
    height: 34px !important;
    width: auto !important;
    object-fit: contain !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    background: #F4F4F6 !important;
    border: none !important;
    border-radius: 50% !important;
    color: #1A1A1F !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: static !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__close:hover,
.mobile-nav.mb-mega-drawer .mb-mega-drawer__close:focus {
    background: #E8E8EC !important;
    transform: scale(1.05) !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__close svg {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    stroke: #1A1A1F !important;
}

/* 2. Hide any residual search box inside mega drawer */
.mobile-nav.mb-mega-drawer .mb-mega-drawer__search-box {
    display: none !important;
}

/* 3. Quick Discovery Pills in 2x2 Grid (1fr 1fr) with Zero Clipping */
.mobile-nav.mb-mega-drawer .mb-mega-drawer__pills {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 12px 18px 14px !important;
    border-bottom: 1px solid #F0F2F5 !important;
    overflow: visible !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__pills .mb-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 10px 8px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    text-align: center !important;
    text-decoration: none !important;
    background: #F8F9FA !important;
    color: #1A1A1F !important;
    border: 1px solid #E5E7EB !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__pills .mb-pill:hover,
.mobile-nav.mb-mega-drawer .mb-mega-drawer__pills .mb-pill:active {
    background: #EEEEF2 !important;
    color: #000000 !important;
    border-color: #D1D5DB !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__pills .mb-pill--special {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
    border-color: #FECACA !important;
}

.mobile-nav.mb-mega-drawer .mb-mega-drawer__pills .mb-pill--special:hover {
    background: #FEE2E2 !important;
    color: #B91C1C !important;
}

/* ==========================================================================
   Mobile Bastani: homepage-only visual repair
   Scope: page-id-2024 only. No Header, Shop, product, or Footer changes.
   ========================================================================== */
body.page-id-2024 .mb-hero {
  display: block !important;
  margin: 24px 0 40px !important;
  padding: clamp(26px, 4vw, 44px) !important;
  background: #1A1A1F !important;
  border: 2px solid #1A1A1F !important;
  border-block-start: 4px solid #E30613 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

body.page-id-2024 .mb-hero__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.94fr) !important;
  gap: clamp(24px, 4vw, 48px) !important;
  align-items: center !important;
  width: 100% !important;
}

body.page-id-2024 .mb-hero__content {
  min-width: 0 !important;
}

body.page-id-2024 .mb-hero__badge {
  background: #FFFFFF !important;
  border: 1px solid #E30613 !important;
  color: #E30613 !important;
}

body.page-id-2024 .mb-hero__title,
body.page-id-2024 .mb-hero__lead {
  color: #FFFFFF !important;
}

body.page-id-2024 .mb-hero__highlight {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 6px 12px !important;
  width: fit-content !important;
  max-width: 100% !important;
  padding: 12px 14px !important;
  margin: 0 0 20px !important;
  background: #FFFFFF !important;
  border: 1px solid #FFFFFF !important;
  border-radius: 12px !important;
}

body.page-id-2024 .mb-hero__highlight-badge,
body.page-id-2024 .mb-hero__highlight-price {
  color: #E30613 !important;
  font-weight: 800 !important;
}

body.page-id-2024 .mb-hero__highlight-name {
  margin: 0 !important;
  color: #1A1A1F !important;
}

body.page-id-2024 .mb-hero__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

body.page-id-2024 .mb-hero__actions .mb-btn--primary {
  background: #E30613 !important;
  border: 1px solid #E30613 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

body.page-id-2024 .mb-hero__actions .mb-btn--outline {
  background: #1A1A1F !important;
  border: 1px solid #FFFFFF !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

body.page-id-2024 .mb-hero__media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  background: #1A1A1F !important;
  border-radius: 0 !important;
}

body.page-id-2024 .mb-hero__media img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: 360px !important;
  object-fit: contain !important;
  filter: none !important;
  box-shadow: none !important;
  border-radius: 12px !important;
}

/* Repair clipped third-party vectors with stable typographic wordmarks. */
body.page-id-2024 .mb-cat-tile[href*="/samsung/"] .mb-cat-tile__icon-wrap svg,
body.page-id-2024 .mb-brand-card[href*="/samsung/"] .mb-brand-card__logo svg,
body.page-id-2024 .mb-brand-card[href*="/anker/"] .mb-brand-card__logo svg {
  display: none !important;
}

body.page-id-2024 .mb-cat-tile[href*="/samsung/"] .mb-cat-tile__icon-wrap::after,
body.page-id-2024 .mb-brand-card[href*="/samsung/"] .mb-brand-card__logo::after,
body.page-id-2024 .mb-brand-card[href*="/anker/"] .mb-brand-card__logo::after {
  display: block;
  color: #1A1A1F;
  font-family: Sora, Vazirmatn, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

body.page-id-2024 .mb-cat-tile[href*="/samsung/"] .mb-cat-tile__icon-wrap::after,
body.page-id-2024 .mb-brand-card[href*="/samsung/"] .mb-brand-card__logo::after {
  content: "SAMSUNG";
}

body.page-id-2024 .mb-brand-card[href*="/anker/"] .mb-brand-card__logo::after {
  content: "ANKER";
}

body.page-id-2024 .mb-brand-card[href*="/samsung/"] .mb-brand-card__logo,
body.page-id-2024 .mb-brand-card[href*="/anker/"] .mb-brand-card__logo {
  width: 100% !important;
}

body.page-id-2024 .mb-cat-tile[href*="/xiaomi/"] .mb-cat-tile__icon-wrap svg {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
}

body.page-id-2024 .mb-brand-card[href*="/xiaomi/"] .mb-brand-card__logo svg {
  display: block !important;
  width: 36px !important;
  height: 36px !important;
}

/* The normalized 1:1 S26 asset receives only a small optical correction. */
body.page-id-2024 .mb-card:has(img[alt="Samsung Galaxy S26 Ultra"]) .mb-card__img-wrap {
  background: #FFFFFF !important;
}

body.page-id-2024 .mb-card:has(img[alt="Samsung Galaxy S26 Ultra"]) .mb-card__img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transform: scale(1.08) !important;
  transform-origin: center !important;
}

body.page-id-2024 .mb-card:has(img[alt="Samsung Galaxy S26 Ultra"]):hover .mb-card__img {
  transform: scale(1.10) !important;
}

/* Final CTA: explicit, accessible contrast on the dark surface. */
body.page-id-2024 .mb-final-cta {
  background: #1A1A1F !important;
  border: 2px solid #1A1A1F !important;
  border-block-start: 4px solid #E30613 !important;
  box-shadow: none !important;
}

body.page-id-2024 .mb-final-cta__badge {
  color: #E30613 !important;
}

body.page-id-2024 .mb-final-cta__title,
body.page-id-2024 .mb-final-cta__lead {
  color: #FFFFFF !important;
}

body.page-id-2024 .mb-final-cta__actions .mb-btn--white {
  background: #FFFFFF !important;
  border: 1px solid #FFFFFF !important;
  color: #1A1A1F !important;
}

body.page-id-2024 .mb-final-cta__actions .mb-btn--outline-white {
  background: #1A1A1F !important;
  border: 1px solid #FFFFFF !important;
  color: #FFFFFF !important;
}

@media (max-width: 767px) {
  body.page-id-2024 .mb-hero {
    margin: 14px 0 30px !important;
    padding: 20px !important;
    border-radius: 16px !important;
  }

  body.page-id-2024 .mb-hero__inner {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }

  body.page-id-2024 .mb-hero__badge {
    align-self: flex-start !important;
    margin-bottom: 10px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
  }

  body.page-id-2024 .mb-hero__title {
    margin-bottom: 10px !important;
    font-size: clamp(23px, 7vw, 28px) !important;
    line-height: 1.4 !important;
  }

  body.page-id-2024 .mb-hero__lead {
    margin-bottom: 16px !important;
    font-size: 13px !important;
    line-height: 1.85 !important;
  }

  body.page-id-2024 .mb-hero__highlight {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 5px !important;
    width: 100% !important;
    padding: 14px !important;
    margin-bottom: 16px !important;
  }

  body.page-id-2024 .mb-hero__actions,
  body.page-id-2024 .mb-final-cta__actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  body.page-id-2024 .mb-hero__actions .mb-btn,
  body.page-id-2024 .mb-final-cta__actions .mb-btn {
    display: inline-flex !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 46px !important;
  }

  body.page-id-2024 .mb-hero__media img {
    width: 100% !important;
    max-width: 280px !important;
    max-height: 230px !important;
    margin: 0 auto !important;
  }
}

/* ==========================================================================
   Premium Home visual polish — 2026-09-22
   Scope: front page only. No content or structural changes.
   ========================================================================== */
@media (max-width: 480px) {
  body.page-id-2024 .mb-hero {
    margin: 12px 0 24px !important;
    padding: 18px !important;
    border-radius: 12px !important;
  }

  body.page-id-2024 .mb-hero__inner {
    gap: 16px !important;
  }

  body.page-id-2024 .mb-hero__title {
    font-size: clamp(22px, 6.6vw, 25px) !important;
    line-height: 1.45 !important;
  }

  body.page-id-2024 .mb-hero__lead {
    margin-bottom: 14px !important;
    line-height: 1.75 !important;
  }

  body.page-id-2024 .mb-hero__highlight {
    margin-bottom: 14px !important;
    padding: 12px !important;
    border-radius: 10px !important;
  }

  body.page-id-2024 .mb-hero__media img {
    max-width: 240px !important;
    max-height: 200px !important;
  }

  body.page-id-2024 .mb-grid,
  body.page-id-2024 .mb-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.page-id-2024 .mb-card {
    padding: 8px !important;
    border-radius: 8px !important;
  }

  body.page-id-2024 .mb-card__img-wrap {
    margin-bottom: 7px !important;
    border-radius: 6px !important;
  }

  body.page-id-2024 .mb-card__brand {
    font-size: 9px !important;
  }

  body.page-id-2024 .mb-card__title {
    min-height: 2.9em !important;
    margin-bottom: 6px !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  body.page-id-2024 .mb-card__price {
    gap: 4px !important;
    margin-bottom: 8px !important;
  }

  body.page-id-2024 .mb-card__price del,
  body.page-id-2024 .mb-card__price .mb-card__regular {
    font-size: 9px !important;
  }

  body.page-id-2024 .mb-card__price ins,
  body.page-id-2024 .mb-card__price .mb-card__current {
    font-size: 11px !important;
  }

  body.page-id-2024 .mb-card__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    padding: 6px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
  }

  body.page-id-2024 .mb-section__header {
    margin-bottom: 16px !important;
    padding-bottom: 10px !important;
  }

  body.page-id-2024 .mb-final-cta {
    border-radius: 12px !important;
  }
}

/* ==========================================================================
   Premium visual polish — Pass 1 (Home, Header, Footer)
   CSS-only, 2026-09-22
   ========================================================================== */
body.page-id-2024 .mb-section {
  margin-block: clamp(44px, 6vw, 80px) !important;
}

body.page-id-2024 .mb-section__header {
  margin-bottom: clamp(18px, 2.4vw, 30px) !important;
}

body.page-id-2024 .mb-hero__title {
  max-inline-size: 14ch;
  letter-spacing: -0.025em;
}

body.page-id-2024 .mb-hero__lead {
  max-inline-size: 58ch;
}

body.page-id-2024 .mb-card,
body.page-id-2024 .mb-cat-tile,
body.page-id-2024 .mb-brand-card {
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

body.page-id-2024 .mb-card__img {
  transition: transform 200ms ease;
}

body.page-id-2024 .mb-card__btn,
body.page-id-2024 .mb-final-cta__actions a {
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  body.page-id-2024 .mb-card:hover {
    transform: translateY(-3px);
    border-color: #E30613 !important;
  }

  body.page-id-2024 .mb-card:hover .mb-card__img {
    transform: scale(1.025);
  }

  body.page-id-2024 .mb-card:hover .mb-card__btn {
    background: #E30613 !important;
    border-color: #E30613 !important;
    color: #FFFFFF !important;
  }

  body.page-id-2024 .mb-cat-tile:hover,
  body.page-id-2024 .mb-brand-card:hover {
    transform: translateY(-2px);
    border-color: #E30613 !important;
  }

  .mb-footer a:hover {
    color: #FFFFFF !important;
  }
}

body.page-id-2024 a:focus-visible,
.wd-header a:focus-visible,
.mb-footer a:focus-visible {
  outline: 2px solid #E30613;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  body.page-id-2024 .mb-section {
    margin-block: 44px !important;
  }

  body.page-id-2024 .mb-hero__title,
  body.page-id-2024 .mb-hero__lead {
    max-inline-size: none;
  }
}

@media (max-width: 480px) {
  body.page-id-2024 .mb-section {
    margin-block: 34px !important;
  }

  body.page-id-2024 .mb-final-cta__actions {
    gap: 10px !important;
  }
}


/* ===========================================================================
   Mobile Bastani — Premium visual polish: Shop archive only
   Scope: body.post-type-archive-product
   Added 2026-09-23. No other storefront page is targeted.
   =========================================================================== */

body.post-type-archive-product #main-content {
  padding-block: 12px 72px;
}

body.post-type-archive-product .wd-breadcrumbs {
  margin: 0 0 20px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid #ECECF0;
  color: #767681;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12px;
  font-weight: 500;
}

body.post-type-archive-product .wd-breadcrumbs a {
  color: #5F5F69;
  text-decoration: none;
}

body.post-type-archive-product .wd-breadcrumbs a:hover {
  color: #E30613;
}

body.post-type-archive-product .wd-woo-page-title .entry-title {
  margin: 0 !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: clamp(30px, 2.5vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.045em;
}

body.post-type-archive-product .elementor-element-db664df {
  margin-top: 20px;
}

body.post-type-archive-product .elementor-element-db664df > .e-con-inner {
  min-height: 58px;
  padding-block: 10px;
  border-top: 1px solid #ECECF0;
  border-bottom: 1px solid #ECECF0;
}

body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering {
  margin: 0 !important;
}

body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
  min-width: 196px;
  height: 40px !important;
  padding-inline: 14px 36px !important;
  border: 1px solid #DCDCE3 !important;
  border-radius: 9px !important;
  background-color: #FFFFFF !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600;
  box-shadow: none !important;
}

body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby:hover {
  border-color: #BEBEC7 !important;
}

body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby:focus-visible,
body.post-type-archive-product .elementor-element-23042f1 .wd-off-canvas-btn a:focus-visible,
body.post-type-archive-product .wd-filter-list a:focus-visible,
body.post-type-archive-product .woocommerce-pagination a:focus-visible {
  outline: 2px solid #E30613 !important;
  outline-offset: 3px;
}

@media (min-width: 992px) {
  body.post-type-archive-product .elementor-element-29022e9 {
    width: 278px !important;
    max-width: 278px !important;
    flex-basis: 278px !important;
    padding-inline-start: 32px !important;
    border-inline-start: 1px solid #ECECF0 !important;
  }

  body.post-type-archive-product .elementor-element-6e35ee3 {
    width: calc(100% - 278px) !important;
    max-width: calc(100% - 278px) !important;
    padding-inline-end: 20px !important;
  }
}

body.post-type-archive-product .elementor-element-29022e9 .sidebar-widget {
  margin-bottom: 0 !important;
  padding: 0 0 24px !important;
  border-bottom: 1px solid #ECECF0 !important;
}

body.post-type-archive-product .elementor-element-29022e9 .sidebar-widget + .sidebar-widget {
  padding-top: 24px !important;
}

body.post-type-archive-product .elementor-element-29022e9 .sidebar-widget:last-child {
  border-bottom: 0 !important;
}

body.post-type-archive-product .elementor-element-29022e9 .widget-title {
  margin: 0 0 15px !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

body.post-type-archive-product .elementor-element-29022e9 .wd-filter-list {
  display: grid;
  gap: 4px;
  margin: 0 !important;
}

body.post-type-archive-product .elementor-element-29022e9 .wd-filter-list li {
  margin: 0 !important;
}

body.post-type-archive-product .elementor-element-29022e9 .wd-filter-list a {
  min-height: 34px;
  padding-inline: 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #34343D !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
}

body.post-type-archive-product .elementor-element-29022e9 .wd-filter-list a:hover {
  background: #FAFAFB;
  border-color: #E5E5EA;
  color: #1A1A1F !important;
}

body.post-type-archive-product .elementor-element-29022e9 .wd-filter-list li.chosen > a {
  background: #FFF5F5;
  border-color: #F5C6C9;
  color: #C90510 !important;
  font-weight: 700;
}

body.post-type-archive-product .elementor-element-29022e9 .wd-filter-list .count {
  min-width: 23px;
  padding: 2px 6px !important;
  border-radius: 999px !important;
  background: #F1F1F4 !important;
  color: #62626C !important;
  font-size: 10.5px !important;
  font-weight: 700;
  text-align: center;
}

body.post-type-archive-product .elementor-element-29022e9 .wd-filter-list li.chosen .count {
  background: #FDE7E8 !important;
  color: #C90510 !important;
}

body.post-type-archive-product .elementor-element-29022e9 .widget_price_filter .price_slider_wrapper {
  padding-inline: 10px !important;
}

body.post-type-archive-product .elementor-element-29022e9 .widget_price_filter .price_slider {
  margin-block: 18px 21px !important;
}

body.post-type-archive-product .elementor-element-29022e9 .widget_price_filter .price_label {
  color: #555560;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 11.5px;
  line-height: 1.8;
}

body.post-type-archive-product .elementor-element-29022e9 .widget_price_filter .button {
  min-height: 36px;
  padding-inline: 14px !important;
  border-radius: 7px !important;
  background: #1A1A1F !important;
  color: #FFFFFF !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body.post-type-archive-product .elementor-element-29022e9 .widget_price_filter .button:hover {
  background: #E30613 !important;
}

body.post-type-archive-product .products.wd-products {
  --wd-gap-lg: 18px;
  --wd-gap-sm: 12px;
}

body.post-type-archive-product .products.wd-products .product-grid-item {
  min-height: 0 !important;
  padding: 14px !important;
  border: 1px solid #E6E6EB !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease !important;
}

body.post-type-archive-product .products.wd-products .product-wrapper {
  min-height: 100%;
}

body.post-type-archive-product .products.wd-products .product-element-top {
  margin-bottom: 14px !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
}

body.post-type-archive-product .products.wd-products .product-element-bottom {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

body.post-type-archive-product .products.wd-products .wd-entities-title {
  min-height: 46px;
  margin: 0 0 8px !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

body.post-type-archive-product .products.wd-products .wd-entities-title a {
  color: inherit !important;
}

body.post-type-archive-product .products.wd-products .wd-product-stock {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 10px !important;
  color: #297342 !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
}

body.post-type-archive-product .products.wd-products .star-rating[aria-label='امتیاز 0 از 5'] {
  display: none !important;
}

body.post-type-archive-product .products.wd-products .wrap-price {
  margin-top: auto;
}

body.post-type-archive-product .products.wd-products .price {
  min-height: 28px;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.7 !important;
}

body.post-type-archive-product .products.wd-products .price ins {
  color: #E30613 !important;
}

body.post-type-archive-product .products.wd-products .price del {
  color: #83838D !important;
  font-size: 10.5px !important;
  font-weight: 500;
}

body.post-type-archive-product .products.wd-products .wd-add-btn {
  margin-top: 12px;
}

body.post-type-archive-product .products.wd-products .wd-add-btn > a {
  min-height: 42px;
  border-radius: 8px !important;
  background: #E30613 !important;
  color: #FFFFFF !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0;
}

body.post-type-archive-product .products.wd-products .wd-add-btn > a:hover {
  background: #C90510 !important;
}

body.post-type-archive-product .products.wd-products .product-label {
  min-width: 34px;
  min-height: 24px;
  padding-inline: 7px;
  border-radius: 6px !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 24px;
}

@media (hover: hover) and (pointer: fine) {
  body.post-type-archive-product .products.wd-products .product-grid-item:hover {
    border-color: #D3D3DA !important;
    box-shadow: 0 10px 22px rgba(26, 26, 31, 0.06) !important;
    transform: translateY(-2px);
  }
}

body.post-type-archive-product .woocommerce-pagination {
  margin-top: 48px;
}

body.post-type-archive-product .woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  margin-inline: 2px;
  border: 1px solid #E1E1E6;
  border-radius: 8px;
  background: #FFFFFF;
  color: #3D3D47;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12px;
  font-weight: 700;
}

body.post-type-archive-product .woocommerce-pagination .page-numbers:hover {
  border-color: #E30613;
  color: #E30613;
}

body.post-type-archive-product .woocommerce-pagination .page-numbers.current {
  border-color: #E30613;
  background: #E30613;
  color: #FFFFFF;
}

@media (max-width: 991px) {
  body.post-type-archive-product #main-content {
    padding-block: 10px 52px;
  }

  body.post-type-archive-product .wd-breadcrumbs {
    margin-bottom: 16px !important;
    padding-bottom: 12px;
  }

  body.post-type-archive-product .wd-woo-page-title .entry-title {
    font-size: 28px !important;
  }

  body.post-type-archive-product .elementor-element-db664df {
    margin-top: 14px;
  }

  body.post-type-archive-product .elementor-element-db664df > .e-con-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px !important;
    min-height: auto;
    padding-block: 12px;
  }

  body.post-type-archive-product .elementor-element-23042f1,
  body.post-type-archive-product .elementor-element-0605206 {
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.post-type-archive-product .elementor-element-23042f1 .wd-off-canvas-btn a,
  body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
    width: 100% !important;
    min-width: 0;
    min-height: 44px;
    height: 44px !important;
    border-radius: 9px !important;
  }

  body.post-type-archive-product .elementor-element-23042f1 .wd-off-canvas-btn a {
    border: 1px solid #DCDCE3 !important;
    background: #FFFFFF !important;
    color: #1A1A1F !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
  }

  body.post-type-archive-product .products.wd-products {
    --wd-gap-sm: 12px;
  }

  body.post-type-archive-product .products.wd-products .product-grid-item {
    padding: 10px !important;
    border-radius: 12px !important;
  }

  body.post-type-archive-product .products.wd-products .product-element-top {
    margin-bottom: 10px !important;
    border-radius: 8px !important;
  }

  body.post-type-archive-product .products.wd-products .wd-entities-title {
    min-height: 40px;
    margin-bottom: 6px !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  body.post-type-archive-product .products.wd-products .wd-product-stock {
    margin-bottom: 7px !important;
    font-size: 10.5px;
  }

  body.post-type-archive-product .products.wd-products .price {
    min-height: 25px;
    font-size: 12.5px !important;
  }

  body.post-type-archive-product .products.wd-products .wd-add-btn {
    margin-top: 9px;
  }

  body.post-type-archive-product .products.wd-products .wd-add-btn > a {
    min-height: 39px;
    font-size: 11.5px !important;
  }

  body.post-type-archive-product .woocommerce-pagination {
    margin-top: 32px;
  }
}

@media (max-width: 430px) {
  body.post-type-archive-product .products.wd-products {
    --wd-gap-sm: 8px;
  }

  body.post-type-archive-product .products.wd-products .product-grid-item {
    padding: 9px !important;
  }

  body.post-type-archive-product .products.wd-products .wd-entities-title {
    min-height: 38px;
    font-size: 12.5px !important;
  }

  body.post-type-archive-product .products.wd-products .wd-add-btn > a {
    min-height: 38px;
    padding-inline: 6px !important;
    font-size: 10.5px !important;
  }
}


/* ============================================================================
   Mobile Bastani — Shop polish: review round 2
   Scope: main WooCommerce Shop archive only
   ============================================================================ */

/* Keep the archive breadcrumb inside its own visual bounds. */
body.post-type-archive-product .elementor-element-70d7493,
body.post-type-archive-product .elementor-element-70d7493 .elementor-widget-container,
body.post-type-archive-product .wd-breadcrumbs {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

body.post-type-archive-product .wd-breadcrumbs {
  overflow: visible !important;
  white-space: nowrap;
  color: #1A1A1F;
}

/* One intentional native-select caret, with a restrained RTL control. */
body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering.wd-ordering-mb-icon::before,
body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering.wd-ordering-mb-icon::after {
  content: none !important;
  display: none !important;
}

body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  height: 44px !important;
  padding-inline: 14px 42px !important;
  background-color: #FFFFFF !important;
  background-position: left 14px center !important;
  background-size: 14px 14px !important;
  border: 1px solid #DCDCE3 !important;
  border-radius: 9px !important;
  color: #1A1A1F !important;
  font-family: Vazirmatn, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.4;
  text-align: right;
}

body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby:hover,
body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby:focus {
  border-color: #E30613 !important;
  box-shadow: 0 0 0 2px #FCE1E3 !important;
  outline: 0;
}

/* Native product categories: only real non-empty terms are rendered by the widget. */
body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-9 .product-categories {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-9 .product-categories > li {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 2px;
  border-bottom: 1px solid #ECECEF;
  color: #767676;
  font-size: 12px;
  line-height: 1.4;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-9 .product-categories > li:last-child {
  border-bottom: 0;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-9 .product-categories > li > a {
  flex: 1 1 auto;
  min-width: 0;
  color: #1A1A1F;
  font-family: Vazirmatn, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-9 .product-categories > li:hover > a,
body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-9 .product-categories > li.current-cat > a {
  color: #E30613;
}

/* Text-only brand navigation: no mark, logo or placeholder is displayed. */
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list {
  display: grid;
  gap: 4px;
  margin: 0;
}

body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #FFFFFF;
  transition: border-color .18s ease, background-color .18s ease;
}

body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a {
  flex: 1 1 auto;
  min-width: 0;
  color: #1A1A1F;
  font-family: Sora, Vazirmatn, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li:hover,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li.chosen,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li.wd-active {
  border-color: #E30613;
  background: #FFFFFF;
}

body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li:hover > a,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li.chosen > a,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li.wd-active > a {
  color: #E30613;
}

body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li .count,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > span {
  flex: 0 0 auto;
  min-width: 24px;
  padding: 3px 6px;
  border: 1px solid #DCDCE3;
  border-radius: 999px;
  color: #767676;
  font-family: Sora, Vazirmatn, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 img,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list__thumbnail,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-swatch {
  display: none !important;
}

@media (max-width: 991px) {
  body.post-type-archive-product .wd-breadcrumbs {
    padding-inline: 16px;
    font-size: 11.5px;
  }

  body.post-type-archive-product .elementor-element-db664df {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 10px !important;
  }

  body.post-type-archive-product .elementor-element-db664df > .elementor-element,
  body.post-type-archive-product .elementor-element-db664df .elementor-widget-container,
  body.post-type-archive-product .elementor-element-db664df .woocommerce-ordering {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

@media (max-width: 430px) {
  body.post-type-archive-product .elementor-element-db664df {
    grid-template-columns: minmax(0, 1fr);
  }

  body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
    min-height: 42px;
    height: 42px !important;
    font-size: 12px !important;
  }
}


/* Active native category widget uses WordPress runtime ID -2. */
body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories > li {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 2px;
  border-bottom: 1px solid #ECECEF;
  color: #767676;
  font-size: 12px;
  line-height: 1.4;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories > li:last-child {
  border-bottom: 0;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories > li > a {
  flex: 1 1 auto;
  min-width: 0;
  color: #1A1A1F;
  font-family: Vazirmatn, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories > li:hover > a,
body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories > li.current-cat > a {
  color: #E30613;
}


/* ============================================================================
   Mobile Bastani — Shop polish: Round 3 interaction and alignment fixes
   ============================================================================ */

/* Shop breadcrumb: keep the existing layout, but align it with the content edge in RTL. */
body.post-type-archive-product .elementor-element-0d7839b {
  box-sizing: border-box;
  padding-inline: 20px;
}

body.post-type-archive-product .elementor-element-70d7493 {
  min-width: 0;
  text-align: right !important;
}

body.post-type-archive-product .elementor-element-70d7493 .wd-breadcrumbs {
  text-align: right;
}

/* Shop sorting: one native caret, balanced label/caret spacing and vertical centering. */
body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
  display: block;
  min-height: 44px;
  height: 44px !important;
  padding-block: 0 !important;
  padding-inline: 14px 42px !important;
  background-position: left 14px center !important;
  line-height: 1.4 !important;
  vertical-align: middle;
}

body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby::before,
body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby::after {
  content: none !important;
  display: none !important;
}

/* Shop sidebar: every runtime list row shares one RTL label/count geometry. */
body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories > li,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-8 .wd-filter-list > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding-inline: 10px;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories > li > a,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-8 .wd-filter-list > li > a {
  flex: 1 1 auto;
  min-width: 0;
}

body.post-type-archive-product .elementor-element-29022e9 #woocommerce_product_categories-2 .product-categories .count,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-6 .wd-filter-list .count,
body.post-type-archive-product .elementor-element-29022e9 #woodmart-woocommerce-layered-nav-8 .wd-filter-list .count {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 26px;
  min-height: 20px;
  margin-inline-start: auto;
  padding: 2px 6px;
  box-sizing: border-box;
}

/* Archive cards only: hide selectable color UI without modifying variation data. */
body.post-type-archive-product .products .wd-swatches-product,
body.tax-product_cat .products .wd-swatches-product,
body.search-results .products .wd-swatches-product {
  display: none !important;
}

/* Touch devices: keep Quick View available on desktop, but never over the card image. */
@media (hover: none), (pointer: coarse) {
  .wd-products .product-grid-item .wd-buttons .open-quick-view,
  .products .product-grid-item .wd-buttons .open-quick-view {
    display: none !important;
  }
}

@media (max-width: 991px) {
  body.post-type-archive-product .elementor-element-0d7839b {
    padding-inline: 16px;
  }
}

@media (max-width: 430px) {
  body.post-type-archive-product .elementor-element-0d7839b {
    padding-inline: 14px;
  }

  body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
    min-height: 42px;
    height: 42px !important;
  }
}


/* Round 3 mobile safeguard: Quick View remains desktop-only and cannot cover card images. */
@media (max-width: 767px) {
  body:not(.single-product) .wd-products .product-grid-item .wd-buttons .open-quick-view,
  body:not(.single-product) .products .product-grid-item .wd-buttons .open-quick-view {
    display: none !important;
  }
}


/* ==========================================================================
   Mobile Bastani — Shop Round 4 structural fixes
   ========================================================================== */

/* The Elementor Shop Builder row owns the alignment. Normalize its child
   sizing and remove the breadcrumb widget's extra mobile inline padding. */
body.post-type-archive-product .elementor-element-0d7839b {
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  padding-inline: clamp(18px, 1.8vw, 26px) !important;
  overflow: visible !important;
}

body.post-type-archive-product .elementor-element-70d7493 {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  text-align: right !important;
}

body.post-type-archive-product .elementor-element-70d7493 .elementor-widget-container,
body.post-type-archive-product .elementor-element-70d7493 .wd-breadcrumbs {
  max-width: 100%;
  margin: 0 !important;
  padding-inline: 0 !important;
  transform: none !important;
}

body.post-type-archive-product .elementor-element-70d7493 .wd-breadcrumbs {
  direction: rtl;
  flex-wrap: wrap;
  justify-content: flex-start;
  text-align: right !important;
  white-space: normal;
}

/* Brand and Product Categories share one full-width RTL row geometry. */
body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list,
body.post-type-archive-product #woocommerce_product_categories-2 .product-categories {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li,
body.post-type-archive-product #woocommerce_product_categories-2 .product-categories > li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 42px;
  margin: 0 !important;
  padding: 6px 9px !important;
  box-sizing: border-box;
  gap: 12px;
  direction: rtl;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a,
body.post-type-archive-product #woocommerce_product_categories-2 .product-categories > li > a {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-swatch,
body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-swatch-bg,
body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-swatch-text,
body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 img {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-lable,
body.post-type-archive-product #woocommerce_product_categories-2 .product-categories > li > a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .count,
body.post-type-archive-product #woocommerce_product_categories-2 .count {
  display: inline-grid !important;
  flex: 0 0 28px !important;
  place-items: center;
  width: 28px !important;
  min-width: 28px !important;
  min-height: 22px;
  margin: 0 0 0 auto !important;
  padding: 2px 6px !important;
  box-sizing: border-box;
  text-align: center;
}

@media (max-width: 767px) {
  body.post-type-archive-product .elementor-element-0d7839b {
    padding-inline: 18px !important;
  }
}


/* ==========================================================================
   Mobile Bastani — Shop final micro-fix: brand rows and breadcrumb spacing
   Scope: Shop archive only, 2026-09-24
   ========================================================================== */

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 42px;
  padding-inline: 10px !important;
  box-sizing: border-box;
  direction: rtl;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-filter-lable {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  text-align: right !important;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch,
body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-bg,
body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-text,
body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a img {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > .count {
  flex: 0 0 28px !important;
  margin: 0 !important;
}

body.post-type-archive-product .elementor-element-70d7493 .wd-breadcrumbs {
  box-sizing: border-box;
  padding-inline: 8px !important;
}


/* ============================================================================
   Mobile Bastani — Shop visual polish: Round 5 product cards only
   Scope: main WooCommerce Shop archive only
   ============================================================================ */

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-grid-item {
  padding: 12px !important;
  border-color: #E3E3E8 !important;
  border-radius: 12px !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-wrapper {
  gap: 0 !important;
  padding: 8px !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-element-top {
  overflow: hidden;
  margin-bottom: 12px !important;
  border-radius: 9px !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-image-link {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-image-link img {
  transform: scale(1.1);
  transform-origin: center;
  transition: transform 220ms ease !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product_cat-accessories .product-image-link img {
  transform: scale(1.13);
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product_cat-mobile-phones .product-image-link img {
  transform: scale(1.08);
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-element-bottom {
  gap: 0 !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-entities-title {
  min-height: 46px;
  margin-bottom: 5px !important;
  font-size: 14.5px !important;
  font-weight: 750 !important;
  line-height: 1.5 !important;
  text-wrap: balance;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-product-stock {
  gap: 4px;
  margin-bottom: 7px !important;
  color: #2F7A49 !important;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wrap-price {
  display: flex;
  align-items: flex-end;
  min-height: 30px;
  margin-top: auto !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .price {
  min-height: 0;
  color: #1A1A1F !important;
  font-size: 15.5px !important;
  font-weight: 850 !important;
  line-height: 1.55 !important;
  letter-spacing: -0.15px;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .price .woocommerce-Price-currencySymbol {
  margin-inline-start: 3px;
  font-size: .72em;
  font-weight: 700;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .price del {
  margin-inline-end: 6px;
  color: #85858F !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  opacity: 1;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .price ins {
  color: #E30613 !important;
  text-decoration: none;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-labels {
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  gap: 4px !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .product-label {
  min-width: 32px;
  min-height: 23px;
  padding-inline: 6px;
  border-radius: 6px !important;
  font-size: 9.5px;
  line-height: 23px;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-buttons {
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  overflow: visible;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-buttons .wd-action-btn {
  width: 38px;
  height: 38px;
  border: 1px solid #E7E7EC;
  border-radius: 999px;
  background: #FFFFFF;
  color: #3E3E47;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-buttons .wd-action-btn:hover,
body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-buttons .wd-action-btn:focus-within {
  border-color: #E30613;
  color: #E30613;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-buttons .wd-action-btn a:focus-visible,
body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-add-btn > a:focus-visible {
  outline: 2px solid #1A1A1F;
  outline-offset: 2px;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-add-btn {
  margin-top: 10px;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-add-btn > a {
  min-height: 40px;
  padding-inline: 12px !important;
  border-radius: 7px !important;
  font-size: 12.25px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}

body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-add-btn > a:active {
  transform: translateY(1px);
}

@media (hover: hover) and (pointer: fine) {
  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-grid-item:hover .product-image-link img {
    transform: scale(1.13);
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product_cat-accessories:hover .product-image-link img {
    transform: scale(1.16);
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product_cat-mobile-phones:hover .product-image-link img {
    transform: scale(1.11);
  }
}

@media (max-width: 991px) {
  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-grid-item {
    padding: 9px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-wrapper {
    padding: 5px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-element-top {
    margin-bottom: 9px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-entities-title {
    min-height: 42px;
    margin-bottom: 4px !important;
    font-size: 12.75px !important;
    line-height: 1.48 !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-product-stock {
    margin-bottom: 6px !important;
    font-size: 10.25px;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .price {
    font-size: 12.75px !important;
    line-height: 1.5 !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-add-btn {
    margin-top: 8px;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-add-btn > a {
    min-height: 42px;
    padding: 5px 6px !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-add-btn > a span {
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-buttons {
    top: 8px !important;
    left: 8px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-buttons .wd-action-btn {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 430px) {
  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-grid-item {
    padding: 8px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-wrapper {
    padding: 4px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-image-link img {
    transform: scale(1.08);
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product_cat-accessories .product-image-link img {
    transform: scale(1.11);
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product_cat-mobile-phones .product-image-link img {
    transform: scale(1.06);
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wd-entities-title {
    min-height: 43px;
    font-size: 12.25px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .wrap-price {
    min-height: 26px;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .price {
    font-size: 12.25px !important;
    letter-spacing: -0.1px;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-labels {
    top: 7px !important;
    right: 7px !important;
  }

  body.woocommerce-shop.post-type-archive-product .products.wd-products .product-label {
    min-width: 29px;
    min-height: 21px;
    padding-inline: 5px;
    font-size: 9px;
    line-height: 21px;
  }
}


/* Mobile Bastani — Shop breadcrumb top breathing room */
body.woocommerce-shop.post-type-archive-product .elementor-element-70d7493 .wd-breadcrumbs {
  padding-block-start: 12px !important;
}


/* ============================================================================
   Mobile Bastani — Shared product category archive system
   Scope: WooCommerce product-category archives only, 2026-09-24
   ============================================================================ */

body.tax-product_cat #main-content {
  padding-block: 12px 72px;
  background: #FFFFFF;
}

/* Category-aware header and breadcrumb. */
body.tax-product_cat .elementor-element-0d7839b {
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  padding-inline: clamp(18px, 1.8vw, 26px) !important;
  overflow: visible !important;
}

body.tax-product_cat .elementor-element-70d7493,
body.tax-product_cat .elementor-element-70d7493 .elementor-widget-container,
body.tax-product_cat .elementor-element-70d7493 .wd-breadcrumbs {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  margin: 0 !important;
  transform: none !important;
}

body.tax-product_cat .elementor-element-70d7493 .wd-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 20px !important;
  padding: 12px 8px 14px !important;
  border-bottom: 1px solid #ECECF0;
  color: #767681;
  direction: rtl;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-align: right;
  white-space: normal;
}

body.tax-product_cat .wd-breadcrumbs a {
  color: #5F5F69;
  text-decoration: none;
}

body.tax-product_cat .wd-breadcrumbs a:hover {
  color: #E30613;
}

body.tax-product_cat .wd-woo-page-title .entry-title {
  margin: 0 !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: clamp(30px, 2.5vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.045em;
}

body.tax-product_cat .elementor-element-db664df {
  margin-top: 20px;
}

body.tax-product_cat .elementor-element-db664df > .e-con-inner {
  min-height: 58px;
  padding-block: 10px;
  border-top: 1px solid #ECECF0;
  border-bottom: 1px solid #ECECF0;
}

body.tax-product_cat .wd-shop-ordering .woocommerce-ordering {
  width: 100%;
  margin: 0 !important;
}

body.tax-product_cat .wd-shop-ordering .woocommerce-ordering.wd-ordering-mb-icon::before,
body.tax-product_cat .wd-shop-ordering .woocommerce-ordering.wd-ordering-mb-icon::after {
  content: none !important;
  display: none !important;
}

body.tax-product_cat .wd-shop-ordering .woocommerce-ordering select.orderby {
  display: block;
  box-sizing: border-box;
  min-width: 196px;
  min-height: 44px;
  height: 44px !important;
  padding-block: 0 !important;
  padding-inline: 14px 42px !important;
  border: 1px solid #DCDCE3 !important;
  border-radius: 9px !important;
  background-color: #FFFFFF !important;
  background-position: left 14px center !important;
  background-size: 14px 14px !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: right;
  box-shadow: none !important;
}

body.tax-product_cat .wd-shop-ordering .woocommerce-ordering select.orderby:hover,
body.tax-product_cat .wd-shop-ordering .woocommerce-ordering select.orderby:focus {
  border-color: #E30613 !important;
  outline: 0;
}

body.tax-product_cat .wd-shop-ordering .woocommerce-ordering select.orderby:focus-visible,
body.tax-product_cat .elementor-element-23042f1 .wd-off-canvas-btn a:focus-visible,
body.tax-product_cat .wd-filter-list a:focus-visible,
body.tax-product_cat .woocommerce-pagination a:focus-visible,
body.tax-product_cat .products.wd-products a:focus-visible {
  outline: 2px solid #E30613 !important;
  outline-offset: 3px;
}

/* The category is already represented by the archive title/breadcrumb.
   Keep the native widget on Shop, but remove this duplicate block here. */
body.tax-product_cat .elementor-element-29022e9 #woocommerce_product_categories-2 {
  display: none !important;
}

/* Context-aware filters: WooCommerce already omits unavailable layered-nav terms. */
@media (min-width: 992px) {
  body.tax-product_cat .elementor-element-29022e9 {
    width: 286px !important;
    max-width: 286px !important;
    flex-basis: 286px !important;
    padding-inline-end: 26px !important;
    border-inline-end: 1px solid #ECECF0 !important;
  }

  body.tax-product_cat .elementor-element-6e35ee3 {
    width: calc(100% - 286px) !important;
    max-width: calc(100% - 286px) !important;
    padding-inline-start: 22px !important;
  }
}

body.tax-product_cat .elementor-element-29022e9 .sidebar-widget {
  margin-bottom: 0 !important;
  padding: 0 0 24px !important;
  border-bottom: 1px solid #ECECF0 !important;
}

body.tax-product_cat .elementor-element-29022e9 .sidebar-widget + .sidebar-widget {
  padding-top: 24px !important;
}

body.tax-product_cat .elementor-element-29022e9 .sidebar-widget:last-child {
  border-bottom: 0 !important;
}

body.tax-product_cat .elementor-element-29022e9 .widget-title {
  margin: 0 0 15px !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

body.tax-product_cat #mb-stock-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  margin-bottom: 24px;
  padding: 9px 11px;
  border: 1px solid #E4E4E9;
  border-radius: 9px;
  background: #FFFFFF;
  color: #1A1A1F;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12px;
  font-weight: 700;
}

body.tax-product_cat #mb-stock-card:hover {
  border-color: #E30613;
  color: #E30613;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list {
  display: grid;
  width: 100%;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 42px;
  margin: 0 !important;
  padding: 6px 9px !important;
  box-sizing: border-box;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #FFFFFF;
  direction: rtl;
  transition: border-color 160ms ease, color 160ms ease;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li > a {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: #34343D !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  text-align: right !important;
  text-decoration: none;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li:hover,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li.chosen,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li.wd-active {
  border-color: #E30613;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li:hover > a,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li.chosen > a,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list > li.wd-active > a {
  color: #E30613 !important;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list .wd-swatch,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list .wd-swatch-bg,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list .wd-swatch-text,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list img {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list .wd-filter-lable {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list .count {
  display: inline-grid !important;
  flex: 0 0 28px !important;
  place-items: center;
  width: 28px !important;
  min-width: 28px !important;
  min-height: 22px;
  margin: 0 0 0 auto !important;
  padding: 2px 6px !important;
  box-sizing: border-box;
  border-radius: 999px !important;
  background: #F1F1F4 !important;
  color: #62626C !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 10.5px !important;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

body.tax-product_cat .elementor-element-29022e9 .wd-filter-list li.chosen .count,
body.tax-product_cat .elementor-element-29022e9 .wd-filter-list li.wd-active .count {
  background: #FDE7E8 !important;
  color: #C90510 !important;
}

body.tax-product_cat .elementor-element-29022e9 .widget_price_filter .price_slider_wrapper {
  padding-inline: 10px !important;
}

body.tax-product_cat .elementor-element-29022e9 .widget_price_filter .price_slider {
  margin-block: 18px 21px !important;
}

body.tax-product_cat .elementor-element-29022e9 .widget_price_filter .price_label {
  color: #555560;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 11.5px;
  line-height: 1.8;
}

body.tax-product_cat .elementor-element-29022e9 .widget_price_filter .button {
  min-height: 36px;
  padding-inline: 14px !important;
  border-radius: 7px !important;
  background: #1A1A1F !important;
  color: #FFFFFF !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body.tax-product_cat .elementor-element-29022e9 .widget_price_filter .button:hover {
  background: #E30613 !important;
}

/* Shared category product-card system, aligned with the approved Shop language. */
body.tax-product_cat .products.wd-products {
  --wd-gap-lg: 18px;
  --wd-gap-sm: 12px;
}

body.tax-product_cat .products.wd-products .product-grid-item {
  min-height: 0 !important;
  padding: 12px !important;
  border: 1px solid #E3E3E8 !important;
  border-radius: 12px !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
  transition: border-color 180ms ease, transform 180ms ease !important;
}

body.tax-product_cat .products.wd-products .product-wrapper {
  min-height: 100%;
  gap: 0 !important;
  padding: 8px !important;
}

body.tax-product_cat .products.wd-products .product-element-top {
  overflow: hidden;
  margin-bottom: 12px !important;
  border-radius: 9px !important;
  background: #FFFFFF !important;
}

body.tax-product_cat .products.wd-products .product-image-link {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
}

body.tax-product_cat .products.wd-products .product-image-link img {
  transform: scale(1.1);
  transform-origin: center;
  transition: transform 220ms ease !important;
}

body.tax-product_cat .products.wd-products .product_cat-accessories .product-image-link img {
  transform: scale(1.13);
}

body.tax-product_cat .products.wd-products .product_cat-mobile-phones .product-image-link img {
  transform: scale(1.08);
}

body.tax-product_cat .products.wd-products .product-element-bottom {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0 !important;
}

body.tax-product_cat .products.wd-products .wd-entities-title {
  min-height: 46px;
  margin: 0 0 5px !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 750 !important;
  line-height: 1.5 !important;
  text-wrap: balance;
}

body.tax-product_cat .products.wd-products .wd-entities-title a {
  color: inherit !important;
}

body.tax-product_cat .products.wd-products .star-rating[aria-label='امتیاز 0 از 5'] {
  display: none !important;
}

body.tax-product_cat .products.wd-products .wd-product-stock {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 4px;
  margin: 0 0 7px !important;
  color: #2F7A49 !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

body.tax-product_cat .products.wd-products .wrap-price {
  display: flex;
  align-items: flex-end;
  min-height: 30px;
  margin-top: auto !important;
}

body.tax-product_cat .products.wd-products .price {
  min-height: 0;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 850 !important;
  line-height: 1.55 !important;
  letter-spacing: -0.15px;
}

body.tax-product_cat .products.wd-products .price .woocommerce-Price-currencySymbol {
  margin-inline-start: 3px;
  font-size: .72em;
  font-weight: 700;
}

body.tax-product_cat .products.wd-products .price del {
  margin-inline-end: 6px;
  color: #85858F !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  opacity: 1;
}

body.tax-product_cat .products.wd-products .price ins {
  color: #E30613 !important;
  text-decoration: none;
}

body.tax-product_cat .products.wd-products .wd-add-btn {
  margin-top: 10px;
}

body.tax-product_cat .products.wd-products .wd-add-btn > a {
  min-height: 40px;
  padding-inline: 12px !important;
  border-radius: 7px !important;
  background: #E30613 !important;
  color: #FFFFFF !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12.25px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}

body.tax-product_cat .products.wd-products .wd-add-btn > a:hover {
  background: #C90510 !important;
}

body.tax-product_cat .products.wd-products .wd-add-btn > a:active {
  transform: translateY(1px);
}

body.tax-product_cat .products.wd-products .product-labels {
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  gap: 4px !important;
}

body.tax-product_cat .products.wd-products .product-label {
  min-width: 32px;
  min-height: 23px;
  padding-inline: 6px;
  border-radius: 6px !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 23px;
}

body.tax-product_cat .products.wd-products .wd-buttons {
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  overflow: visible;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
}

body.tax-product_cat .products.wd-products .wd-buttons .wd-action-btn {
  width: 38px;
  height: 38px;
  border: 1px solid #E7E7EC;
  border-radius: 999px;
  background: #FFFFFF;
  color: #3E3E47;
}

body.tax-product_cat .products.wd-products .wd-buttons .wd-action-btn:hover,
body.tax-product_cat .products.wd-products .wd-buttons .wd-action-btn:focus-within {
  border-color: #E30613;
  color: #E30613;
}

body.tax-product_cat .woocommerce-pagination {
  margin-top: 48px;
}

body.tax-product_cat .woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  margin-inline: 2px;
  border: 1px solid #E1E1E6;
  border-radius: 8px;
  background: #FFFFFF;
  color: #3D3D47;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12px;
  font-weight: 700;
}

body.tax-product_cat .woocommerce-pagination .page-numbers:hover {
  border-color: #E30613;
  color: #E30613;
}

body.tax-product_cat .woocommerce-pagination .page-numbers.current {
  border-color: #E30613;
  background: #E30613;
  color: #FFFFFF;
}

@media (hover: hover) and (pointer: fine) {
  body.tax-product_cat .products.wd-products .product-grid-item:hover {
    border-color: #CFCFD7 !important;
    transform: translateY(-2px);
  }

  body.tax-product_cat .products.wd-products .product-grid-item:hover .product-image-link img {
    transform: scale(1.13);
  }

  body.tax-product_cat .products.wd-products .product_cat-accessories:hover .product-image-link img {
    transform: scale(1.16);
  }

  body.tax-product_cat .products.wd-products .product_cat-mobile-phones:hover .product-image-link img {
    transform: scale(1.11);
  }
}

@media (max-width: 991px) {
  body.tax-product_cat #main-content {
    padding-block: 10px 52px;
  }

  body.tax-product_cat .elementor-element-0d7839b {
    padding-inline: 16px !important;
  }

  body.tax-product_cat .elementor-element-70d7493 .wd-breadcrumbs {
    margin-bottom: 16px !important;
    padding-block: 10px 12px !important;
    font-size: 11.5px;
  }

  body.tax-product_cat .wd-woo-page-title .entry-title {
    font-size: 28px !important;
  }

  body.tax-product_cat .elementor-element-db664df {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 10px !important;
    margin-top: 14px;
  }

  body.tax-product_cat .elementor-element-db664df > .elementor-element,
  body.tax-product_cat .elementor-element-db664df .elementor-widget-container,
  body.tax-product_cat .elementor-element-db664df .woocommerce-ordering {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.tax-product_cat .elementor-element-23042f1 .wd-off-canvas-btn a,
  body.tax-product_cat .wd-shop-ordering .woocommerce-ordering select.orderby {
    width: 100% !important;
    min-width: 0;
    min-height: 44px;
    height: 44px !important;
    border-radius: 9px !important;
  }

  body.tax-product_cat .elementor-element-23042f1 .wd-off-canvas-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCDCE3 !important;
    background: #FFFFFF !important;
    color: #1A1A1F !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
  }

  body.tax-product_cat .products.wd-products {
    --wd-gap-sm: 12px;
  }

  body.tax-product_cat .products.wd-products .product-grid-item {
    padding: 9px !important;
  }

  body.tax-product_cat .products.wd-products .product-wrapper {
    padding: 5px !important;
  }

  body.tax-product_cat .products.wd-products .product-element-top {
    margin-bottom: 9px !important;
  }

  body.tax-product_cat .products.wd-products .wd-entities-title {
    min-height: 42px;
    margin-bottom: 4px !important;
    font-size: 12.75px !important;
    line-height: 1.48 !important;
  }

  body.tax-product_cat .products.wd-products .wd-product-stock {
    margin-bottom: 6px !important;
    font-size: 10.25px;
  }

  body.tax-product_cat .products.wd-products .price {
    font-size: 12.75px !important;
    line-height: 1.5 !important;
  }

  body.tax-product_cat .products.wd-products .wd-add-btn {
    margin-top: 8px;
  }

  body.tax-product_cat .products.wd-products .wd-add-btn > a {
    min-height: 42px;
    padding: 5px 6px !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  body.tax-product_cat .products.wd-products .wd-buttons {
    top: 8px !important;
    left: 8px !important;
  }
}

@media (max-width: 430px) {
  body.tax-product_cat .elementor-element-0d7839b {
    padding-inline: 14px !important;
  }

  body.tax-product_cat .elementor-element-db664df {
    gap: 8px !important;
  }

  body.tax-product_cat .elementor-element-23042f1 .wd-off-canvas-btn a,
  body.tax-product_cat .wd-shop-ordering .woocommerce-ordering select.orderby {
    min-height: 42px;
    height: 42px !important;
    font-size: 12px !important;
  }

  body.tax-product_cat .products.wd-products {
    --wd-gap-sm: 8px;
  }

  body.tax-product_cat .products.wd-products .product-grid-item {
    padding: 8px !important;
  }

  body.tax-product_cat .products.wd-products .product-wrapper {
    padding: 4px !important;
  }

  body.tax-product_cat .products.wd-products .product-image-link img {
    transform: scale(1.08);
  }

  body.tax-product_cat .products.wd-products .product_cat-accessories .product-image-link img {
    transform: scale(1.11);
  }

  body.tax-product_cat .products.wd-products .product_cat-mobile-phones .product-image-link img {
    transform: scale(1.06);
  }

  body.tax-product_cat .products.wd-products .wd-entities-title {
    min-height: 43px;
    font-size: 12.25px !important;
  }

  body.tax-product_cat .products.wd-products .wrap-price {
    min-height: 26px;
  }

  body.tax-product_cat .products.wd-products .price {
    font-size: 12.25px !important;
    letter-spacing: -0.1px;
  }

  body.tax-product_cat .products.wd-products .product-labels {
    top: 7px !important;
    right: 7px !important;
  }

  body.tax-product_cat .products.wd-products .product-label {
    min-width: 29px;
    min-height: 21px;
    padding-inline: 5px;
    font-size: 9px;
    line-height: 21px;
  }
}


/* Category archive toolbar: remove optional view controls without changing query logic. */
body.tax-product_cat .elementor-element-db664df > .elementor-element-9a429a8,
body.tax-product_cat .elementor-element-db664df > .elementor-element-a0904b9 {
  display: none !important;
}


/* ============================================================================
   Mobile Bastani — Category system final fix: initial drawer state + brand rows
   Scope: Product Category archives only
   ============================================================================ */

@media (max-width: 991px) {
  body.tax-product_cat .elementor-element-29022e9.wd-col-offcanvas-md-sm:not(.wd-opened),
  body.tax-product_cat .elementor-element-29022e9.wd-col-offcanvas-sm:not(.wd-opened) {
    position: fixed !important;
    inset-block: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: min(300px, calc(100vw - 32px)) !important;
    transform: translate3d(-100%, 0, 0) !important;
  }
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 42px;
  padding-inline: 9px !important;
  direction: rtl;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-filter-lable {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch,
body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-bg,
body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-text,
body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a img {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > .count {
  flex: 0 0 28px !important;
  margin: 0 !important;
}


/* ============================================================================
   Mobile Bastani — Category system final fix: initial drawer state + brand rows
   Scope: Product Category archives only
   ============================================================================ */

@media (max-width: 991px) {
  body.tax-product_cat .elementor-element-29022e9.wd-col-offcanvas-md-sm:not(.wd-opened),
  body.tax-product_cat .elementor-element-29022e9.wd-col-offcanvas-sm:not(.wd-opened) {
    position: fixed !important;
    inset-block: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: min(300px, calc(100vw - 32px)) !important;
    transform: translate3d(-100%, 0, 0) !important;
  }
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 42px;
  padding-inline: 9px !important;
  direction: rtl;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-filter-lable {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch,
body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-bg,
body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-text,
body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a img {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.tax-product_cat #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > .count {
  flex: 0 0 28px !important;
  margin: 0 !important;
}


/* ============================================================================
   Mobile Bastani — Product search archive system
   Scope: WooCommerce product-search results and no-results states only
   ============================================================================ */

body.search-results.post-type-archive-product .elementor-element-1ad6cc9,
body.search-no-results.post-type-archive-product .elementor-element-1ad6cc9,
body.search-results.post-type-archive-product #woocommerce_product_categories-2,
body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-8,
body.search-no-results.post-type-archive-product #woocommerce_product_categories-2,
body.search-no-results.post-type-archive-product #woodmart-woocommerce-layered-nav-8,
body.search-results.post-type-archive-product .elementor-element-db664df > .elementor-element-9a429a8,
body.search-results.post-type-archive-product .elementor-element-db664df > .elementor-element-a0904b9,
body.search-no-results.post-type-archive-product .elementor-element-db664df > .elementor-element-9a429a8,
body.search-no-results.post-type-archive-product .elementor-element-db664df > .elementor-element-a0904b9,
body.search-results.post-type-archive-product .products .open-quick-view,
body.search-results.post-type-archive-product .products .wd-swatches-product {
  display: none !important;
}

body.search-results.post-type-archive-product .elementor-element-0d7839b,
body.search-no-results.post-type-archive-product .elementor-element-0d7839b {
  padding-inline: 8px !important;
}

body.search-results.post-type-archive-product .elementor-element-70d7493 .wd-breadcrumbs,
body.search-no-results.post-type-archive-product .elementor-element-70d7493 .wd-breadcrumbs {
  box-sizing: border-box;
  padding-block: 10px 14px !important;
  color: #62626C;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

body.search-results.post-type-archive-product .elementor-element-ffd647a > .e-con-inner,
body.search-no-results.post-type-archive-product .elementor-element-ffd647a > .e-con-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 24px !important;
  padding: 18px 0 20px !important;
  border-bottom: 1px solid #E4E4E9;
}

body.search-results.post-type-archive-product .elementor-element-7e0e964,
body.search-no-results.post-type-archive-product .elementor-element-7e0e964 {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
}

body.search-results.post-type-archive-product .wd-woo-page-title,
body.search-no-results.post-type-archive-product .wd-woo-page-title {
  width: 100% !important;
}

body.search-results.post-type-archive-product .wd-woo-page-title .entry-title,
body.search-no-results.post-type-archive-product .wd-woo-page-title .entry-title {
  max-width: 820px;
  margin: 0 !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: clamp(26px, 2.25vw, 36px) !important;
  font-weight: 850 !important;
  line-height: 1.45 !important;
  letter-spacing: -0.45px;
  text-align: right !important;
  text-wrap: balance;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.search-results.post-type-archive-product .wd-woo-page-title .entry-title::before,
body.search-no-results.post-type-archive-product .wd-woo-page-title .entry-title::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #E30613;
}

body.search-results.post-type-archive-product .elementor-element-db664df {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: auto !important;
  min-width: 190px !important;
  gap: 10px !important;
  margin: 0 !important;
}

body.search-results.post-type-archive-product .elementor-element-db664df > .elementor-element,
body.search-results.post-type-archive-product .elementor-element-db664df .elementor-widget-container,
body.search-results.post-type-archive-product .elementor-element-db664df .woocommerce-ordering {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.search-results.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
  min-width: 190px;
  min-height: 44px;
  height: 44px !important;
  padding-inline: 14px 38px !important;
  border: 1px solid #DCDCE3 !important;
  border-radius: 9px !important;
  background-color: #FFFFFF !important;
  color: #1A1A1F !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
}

body.search-results.post-type-archive-product .woocommerce-result-count {
  margin: 0 !important;
  padding-inline: 8px !important;
  color: #62626C !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.8 !important;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list {
  display: grid;
  width: 100%;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 42px;
  margin: 0 !important;
  padding: 6px 9px !important;
  box-sizing: border-box;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #FFFFFF;
  direction: rtl;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #34343D !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  text-align: right !important;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-filter-lable {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  text-align: right !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch,
body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-bg,
body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a .wd-swatch-text,
body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > a img {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li > .count {
  display: inline-grid !important;
  flex: 0 0 28px !important;
  place-items: center;
  width: 28px !important;
  min-width: 28px !important;
  min-height: 22px;
  margin: 0 !important;
  padding: 2px 6px !important;
  box-sizing: border-box;
  border-radius: 999px !important;
  background: #F1F1F4 !important;
  color: #62626C !important;
  font-size: 10.5px !important;
  font-weight: 700;
  text-align: center;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li:hover,
body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li.chosen {
  border-color: #E30613;
}

body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li:hover > a,
body.search-results.post-type-archive-product #woodmart-woocommerce-layered-nav-6 .wd-filter-list > li.chosen > a {
  color: #E30613 !important;
}

body.search-no-results.post-type-archive-product .elementor-element-29022e9,
body.search-no-results.post-type-archive-product .elementor-element-db664df,
body.search-no-results.post-type-archive-product .elementor-element-23042f1 {
  display: none !important;
}

body.search-no-results.post-type-archive-product .elementor-element-20bf0ad > .e-con-inner {
  display: block !important;
}

body.search-no-results.post-type-archive-product .elementor-element-6e35ee3,
body.search-no-results.post-type-archive-product .elementor-element-ec6c95b {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
}

body.search-no-results.post-type-archive-product .mb-archive-empty-state {
  width: min(100%, 1040px);
  margin: 16px auto 56px !important;
  padding: 48px 28px;
  border: 1px solid #E4E4E9;
  border-radius: 16px;
  background: #FFFFFF;
}

@media (max-width: 991px) {
  body.search-results.post-type-archive-product .elementor-element-29022e9.wd-col-offcanvas-md-sm:not(.wd-opened),
  body.search-results.post-type-archive-product .elementor-element-29022e9.wd-col-offcanvas-sm:not(.wd-opened) {
    position: fixed !important;
    inset-block: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: min(300px, calc(100vw - 32px)) !important;
    transform: translate3d(-100%, 0, 0) !important;
  }

  body.search-results.post-type-archive-product .elementor-element-0d7839b,
  body.search-no-results.post-type-archive-product .elementor-element-0d7839b {
    padding-inline: 16px !important;
  }

  body.search-results.post-type-archive-product .elementor-element-ffd647a > .e-con-inner,
  body.search-no-results.post-type-archive-product .elementor-element-ffd647a > .e-con-inner {
    display: block !important;
    padding: 12px 0 14px !important;
  }

  body.search-results.post-type-archive-product .wd-woo-page-title .entry-title,
  body.search-no-results.post-type-archive-product .wd-woo-page-title .entry-title {
    max-width: none;
    font-size: 26px !important;
    line-height: 1.5 !important;
    letter-spacing: -0.3px;
  }

  body.search-results.post-type-archive-product .wd-woo-page-title .entry-title::before,
  body.search-no-results.post-type-archive-product .wd-woo-page-title .entry-title::before {
    width: 30px;
    margin-bottom: 10px;
  }

  body.search-results.post-type-archive-product .elementor-element-db664df {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 10px !important;
    margin-top: 16px !important;
  }

  body.search-results.post-type-archive-product .elementor-element-db664df > .elementor-element,
  body.search-results.post-type-archive-product .elementor-element-db664df .elementor-widget-container,
  body.search-results.post-type-archive-product .elementor-element-db664df .woocommerce-ordering {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.search-results.post-type-archive-product .elementor-element-23042f1 .wd-off-canvas-btn a,
  body.search-results.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px;
    height: 44px !important;
    border-radius: 9px !important;
  }

  body.search-results.post-type-archive-product .elementor-element-23042f1 .wd-off-canvas-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCDCE3 !important;
    background: #FFFFFF !important;
    color: #1A1A1F !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
  }

  body.search-no-results.post-type-archive-product .wd-woo-page-title .entry-title {
    max-width: 760px;
  }

  body.search-no-results.post-type-archive-product .mb-archive-empty-state {
    margin-top: 12px !important;
    padding: 36px 20px;
  }
}

@media (max-width: 430px) {
  body.search-results.post-type-archive-product .elementor-element-0d7839b,
  body.search-no-results.post-type-archive-product .elementor-element-0d7839b {
    padding-inline: 14px !important;
  }

  body.search-results.post-type-archive-product .wd-woo-page-title .entry-title,
  body.search-no-results.post-type-archive-product .wd-woo-page-title .entry-title {
    font-size: 23px !important;
    line-height: 1.55 !important;
    letter-spacing: -0.2px;
  }

  body.search-results.post-type-archive-product .elementor-element-db664df {
    gap: 8px !important;
  }

  body.search-results.post-type-archive-product .elementor-element-23042f1 .wd-off-canvas-btn a,
  body.search-results.post-type-archive-product .wd-shop-ordering .woocommerce-ordering select.orderby {
    min-height: 42px;
    height: 42px !important;
    font-size: 12px !important;
  }

  body.search-no-results.post-type-archive-product .mb-archive-empty-state {
    padding: 30px 16px;
    border-radius: 14px;
  }

  body.search-no-results.post-type-archive-product .mb-empty-search-form {
    width: 100%;
    max-width: 100%;
  }

  body.search-no-results.post-type-archive-product .mb-empty-search-input {
    min-width: 0;
  }
}

/* Mobile Bastani — Product search toolbar visibility QA correction */
body.search-results.post-type-archive-product .elementor-element-db664df > .elementor-element-9a429a8,
body.search-results.post-type-archive-product .elementor-element-db664df > .elementor-element-a0904b9,
body.search-no-results.post-type-archive-product .elementor-element-db664df > .elementor-element-9a429a8,
body.search-no-results.post-type-archive-product .elementor-element-db664df > .elementor-element-a0904b9 {
  position: absolute !important;
  inline-size: 0 !important;
  block-size: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* ============================================================
   Mobile Bastani — Single Product Premium System (2026-09-24)
   Scope: product pages only. Archive/Home/Cart/Checkout untouched.
   ============================================================ */
body.single-product {
  --mb-product-red: #E30613;
  --mb-product-charcoal: #1A1A1F;
  --mb-product-white: #FFFFFF;
  --mb-product-border: #E4E4E8;
  --mb-product-muted: #66666F;
  --mb-product-success: #147A43;
  --mb-product-radius-lg: 20px;
  --mb-product-radius-md: 14px;
  --mb-product-control: 52px;
}

body.single-product .site-content {
  background: var(--mb-product-white);
}

body.single-product .product-image-summary {
  padding-block: 30px 42px;
}

body.single-product .product-image-summary-inner {
  align-items: start;
  gap: clamp(26px, 3vw, 48px) !important;
}

body.single-product .product-images,
body.single-product .summary {
  min-width: 0;
}

body.single-product .woocommerce-product-gallery {
  overflow: hidden;
  padding: clamp(16px, 2vw, 26px) !important;
  border: 1px solid var(--mb-product-border) !important;
  border-radius: var(--mb-product-radius-lg) !important;
  background: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

body.single-product .woocommerce-product-gallery__image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: 650px;
  object-fit: contain !important;
  object-position: center !important;
}

body.single-product .summary-inner {
  min-width: 0;
  padding: clamp(22px, 2.35vw, 34px) !important;
  border: 1px solid var(--mb-product-border);
  border-radius: var(--mb-product-radius-lg);
  background: var(--mb-product-white);
  box-shadow: none !important;
}

body.single-product .single-breadcrumbs-wrapper {
  min-width: 0;
  margin-bottom: 20px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mb-product-border);
  overflow: visible !important;
}

body.single-product .single-breadcrumbs-wrapper .woocommerce-breadcrumb,
body.single-product .single-breadcrumbs-wrapper .wd-breadcrumbs {
  white-space: normal !important;
  overflow-wrap: anywhere;
  line-height: 1.8;
}

body.single-product .wd-product-brands {
  margin-bottom: 16px !important;
}

body.single-product h1.product_title {
  max-width: 100%;
  margin-bottom: 18px !important;
  color: var(--mb-product-charcoal) !important;
  font-size: clamp(25px, 2.1vw, 34px) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.025em;
  text-align: right;
  overflow: visible !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

body.single-product h1.product_title bdi,
body.single-product h1.product_title .mb-en,
body.single-product h1.product_title:lang(en) {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline;
}

body.single-product .summary .price {
  position: relative;
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  min-height: 66px;
  margin: 0 0 20px !important;
  padding: 15px 20px !important;
  border: 1px solid var(--mb-product-border) !important;
  border-inline-start: 4px solid var(--mb-product-red) !important;
  border-radius: var(--mb-product-radius-md) !important;
  background: var(--mb-product-white) !important;
  color: var(--mb-product-charcoal) !important;
  box-shadow: none !important;
}

body.single-product .summary .price .amount,
body.single-product .summary .price bdi {
  color: var(--mb-product-charcoal) !important;
  font-size: clamp(22px, 1.9vw, 30px) !important;
  font-weight: 850 !important;
}

body.single-product .summary .price del,
body.single-product .summary .price del .amount {
  color: var(--mb-product-muted) !important;
  font-size: 14px !important;
  opacity: 1 !important;
}

body.single-product .summary .price ins {
  text-decoration: none !important;
}

body.single-product .woocommerce-product-details__short-description {
  margin-bottom: 22px;
  color: #4D4D55;
  font-size: 14.5px;
  line-height: 2;
}

body.single-product .stock.in-stock {
  display: inline-flex !important;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px !important;
  padding: 6px 12px !important;
  border: 1px solid #B9DFC9 !important;
  border-radius: 999px !important;
  background: #F4FBF7 !important;
  color: var(--mb-product-success) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}

body.single-product form.variations_form {
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--mb-product-border);
}

body.single-product table.variations {
  margin-bottom: 16px !important;
}

body.single-product table.variations tr {
  display: grid;
  grid-template-columns: minmax(86px, auto) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding-block: 8px;
}

body.single-product table.variations th,
body.single-product table.variations td {
  display: block;
  width: auto !important;
  padding: 0 !important;
}

body.single-product table.variations th label {
  display: inline-block;
  padding-top: 11px;
  color: var(--mb-product-charcoal);
  font-size: 14px;
  font-weight: 800;
}

body.single-product .wd-swatches-product,
body.single-product .mb-variation-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

body.single-product .wd-swatch,
body.single-product .mb-pill-btn {
  min-width: 48px;
  min-height: 44px;
  padding: 9px 14px !important;
  border: 1px solid #D9D9DF !important;
  border-radius: 12px !important;
  background: var(--mb-product-white) !important;
  color: var(--mb-product-charcoal) !important;
  box-shadow: none !important;
  font-weight: 700 !important;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

body.single-product .wd-swatch:hover,
body.single-product .mb-pill-btn:hover,
body.single-product .wd-swatch.wd-active,
body.single-product .mb-pill-btn.is-selected,
body.single-product .mb-pill-btn[aria-pressed='true'] {
  border-color: var(--mb-product-red) !important;
  background: #FFF7F7 !important;
  color: var(--mb-product-red) !important;
}

body.single-product .wd-swatch:focus-visible,
body.single-product .mb-pill-btn:focus-visible,
body.single-product button:focus-visible,
body.single-product a:focus-visible {
  outline: 3px solid rgba(227, 6, 19, .25) !important;
  outline-offset: 2px;
}

body.single-product .reset_variations {
  color: var(--mb-product-red) !important;
  font-size: 12px;
  font-weight: 700;
}

body.single-product .woocommerce-variation-add-to-cart,
body.single-product form.cart:not(.variations_form) {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px !important;
  margin-top: 18px !important;
}

body.single-product .quantity {
  flex: 0 0 126px;
  min-width: 126px;
  height: var(--mb-product-control) !important;
  border: 1px solid #D9D9DF !important;
  border-radius: 12px !important;
  background: var(--mb-product-white) !important;
  overflow: hidden;
}

body.single-product .quantity input,
body.single-product .quantity button {
  height: 100% !important;
  color: var(--mb-product-charcoal) !important;
}

body.single-product .single_add_to_cart_button {
  flex: 1 1 190px;
  min-height: var(--mb-product-control) !important;
  border: 1px solid var(--mb-product-red) !important;
  border-radius: 12px !important;
  background: var(--mb-product-red) !important;
  color: var(--mb-product-white) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

body.single-product .single_add_to_cart_button:hover {
  border-color: #BE0010 !important;
  background: #BE0010 !important;
}

body.single-product .single_add_to_cart_button.disabled,
body.single-product .single_add_to_cart_button:disabled {
  cursor: not-allowed;
  opacity: .48 !important;
}

body.single-product .wd-buy-now-btn,
body.single-product .single-buy-now-btn,
body.single-product button[name='wd-buy-now'] {
  flex: 0 1 132px;
  min-height: var(--mb-product-control) !important;
  border: 1px solid var(--mb-product-charcoal) !important;
  border-radius: 12px !important;
  background: var(--mb-product-charcoal) !important;
  color: var(--mb-product-white) !important;
  box-shadow: none !important;
  font-weight: 800 !important;
}

body.single-product .wd-buy-now-btn:hover,
body.single-product .single-buy-now-btn:hover,
body.single-product button[name='wd-buy-now']:hover {
  background: #303038 !important;
}

body.single-product .compare-btn,
body.single-product .wd-action-btn.wd-wishlist-btn {
  margin-top: 14px;
}

body.single-product .compare-btn a,
body.single-product .wd-action-btn.wd-wishlist-btn a {
  color: #4D4D55 !important;
  font-size: 13px;
  font-weight: 700;
}

body.single-product .product_meta {
  margin-top: 22px !important;
  padding-top: 18px !important;
  border-top: 1px solid var(--mb-product-border) !important;
  color: var(--mb-product-muted);
  font-size: 12px;
  line-height: 1.9;
}

body.single-product .product-share {
  margin-top: 12px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

body.single-product .woocommerce-tabs {
  margin-top: 14px;
}

body.single-product .woocommerce-tabs .wd-nav-tabs {
  position: sticky;
  z-index: 35;
  top: 74px;
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px !important;
  padding: 8px !important;
  border: 1px solid var(--mb-product-border) !important;
  border-radius: 14px !important;
  background: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product .woocommerce-tabs .wd-nav-tabs > li > a {
  min-height: 44px;
  padding: 11px 18px !important;
  border-radius: 10px !important;
  color: #55555E !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}

body.single-product .woocommerce-tabs .wd-nav-tabs > li.wd-active > a,
body.single-product .woocommerce-tabs .wd-nav-tabs > li > a:hover {
  background: var(--mb-product-charcoal) !important;
  color: var(--mb-product-white) !important;
}

body.single-product .woocommerce-Tabs-panel {
  max-width: 1160px;
  margin-inline: auto !important;
  margin-bottom: 24px !important;
  padding: clamp(24px, 3vw, 42px) !important;
  border: 1px solid var(--mb-product-border) !important;
  border-radius: var(--mb-product-radius-lg) !important;
  background: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product .woocommerce-Tabs-panel > h2:first-child,
body.single-product .mb-demo-copy > h2,
body.single-product #reviews h2,
body.single-product .related-products > h3,
body.single-product .upsells-carousel > h3 {
  position: relative;
  margin-bottom: 22px !important;
  padding-inline-start: 15px;
  color: var(--mb-product-charcoal) !important;
  font-weight: 850 !important;
  line-height: 1.45;
}

body.single-product .woocommerce-Tabs-panel > h2:first-child::before,
body.single-product .mb-demo-copy > h2::before,
body.single-product #reviews h2::before,
body.single-product .related-products > h3::before,
body.single-product .upsells-carousel > h3::before {
  position: absolute;
  inset-inline-start: 0;
  top: .18em;
  width: 4px;
  height: 1.08em;
  border-radius: 3px;
  background: var(--mb-product-red);
  content: '';
}

body.single-product .mb-demo-copy {
  color: #3F3F47;
  font-size: 15px;
  line-height: 2.05;
}

body.single-product .mb-demo-copy > ul,
body.single-product .woocommerce-product-attributes {
  margin-block: 18px 28px;
}

body.single-product .mb-demo-copy > ul:first-of-type {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

body.single-product .mb-demo-copy > ul:first-of-type > li {
  position: relative;
  min-height: 68px;
  margin: 0;
  padding: 16px 18px 16px 16px;
  border: 1px solid var(--mb-product-border);
  border-radius: 14px;
  background: var(--mb-product-white);
}

body.single-product .mb-demo-copy > ul:first-of-type > li::before {
  position: absolute;
  inset-inline-start: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 3px;
  background: var(--mb-product-red);
  content: '';
}

body.single-product .mb-demo-spec-table,
body.single-product .woocommerce-product-attributes {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--mb-product-border) !important;
  border-radius: 14px;
  border-collapse: separate !important;
  border-spacing: 0;
  background: var(--mb-product-white) !important;
}

body.single-product .mb-demo-spec-table tr:nth-child(odd),
body.single-product .mb-demo-spec-table tr:nth-child(even),
body.single-product .woocommerce-product-attributes tr:nth-child(odd),
body.single-product .woocommerce-product-attributes tr:nth-child(even) {
  background: var(--mb-product-white) !important;
}

body.single-product .mb-demo-spec-table th,
body.single-product .mb-demo-spec-table td,
body.single-product .woocommerce-product-attributes th,
body.single-product .woocommerce-product-attributes td {
  padding: 14px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mb-product-border) !important;
  color: #3F3F47;
  vertical-align: top;
}

body.single-product .mb-demo-spec-table tr:last-child th,
body.single-product .mb-demo-spec-table tr:last-child td,
body.single-product .woocommerce-product-attributes tr:last-child th,
body.single-product .woocommerce-product-attributes tr:last-child td {
  border-bottom: 0 !important;
}

body.single-product .mb-demo-spec-table th,
body.single-product .woocommerce-product-attributes th {
  width: 28%;
  background: #FAFAFB !important;
  color: var(--mb-product-charcoal) !important;
  font-weight: 800;
}

body.single-product .mb-demo-pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-block: 24px;
}

body.single-product .mb-demo-pros-cons > section {
  margin: 0 !important;
  padding: 22px !important;
  border: 1px solid var(--mb-product-border);
  border-top: 4px solid var(--mb-product-charcoal);
  border-radius: 14px;
  background: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product .mb-demo-pros-cons > section:last-child {
  border-top-color: var(--mb-product-red);
}

body.single-product .mb-demo-pros-cons h3 {
  margin-bottom: 14px !important;
  color: var(--mb-product-charcoal) !important;
  font-size: 17px !important;
  font-weight: 850 !important;
}

body.single-product .mb-demo-pros-cons ul {
  margin: 0;
  padding-inline-start: 18px;
}

body.single-product .mb-demo-copy details {
  margin-bottom: 10px;
  border: 1px solid var(--mb-product-border) !important;
  border-radius: 12px !important;
  background: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product .mb-demo-copy details[open] {
  border-color: rgba(227, 6, 19, .45) !important;
}

body.single-product .mb-demo-copy details summary {
  min-height: 52px;
  padding: 14px 16px !important;
  color: var(--mb-product-charcoal) !important;
  font-weight: 800 !important;
  cursor: pointer;
}

body.single-product .mb-demo-copy details > :not(summary) {
  padding-inline: 16px;
}

body.single-product .mb-product-video-section,
body.single-product .wd-rating-summary,
body.single-product #respond {
  border: 1px solid var(--mb-product-border) !important;
  border-radius: 16px !important;
  background: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product .wd-rating-summary {
  padding: 22px !important;
}

body.single-product #respond {
  padding: clamp(20px, 2.5vw, 32px) !important;
}

body.single-product #respond input,
body.single-product #respond textarea {
  border: 1px solid #D9D9DF !important;
  border-radius: 10px !important;
  background: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product #respond input:focus,
body.single-product #respond textarea:focus {
  border-color: var(--mb-product-red) !important;
  outline: 3px solid rgba(227, 6, 19, .12) !important;
}

body.single-product #respond .submit {
  min-height: 48px;
  border-radius: 10px !important;
  background: var(--mb-product-red) !important;
  color: var(--mb-product-white) !important;
  box-shadow: none !important;
}

body.single-product .related-products,
body.single-product .upsells-carousel {
  margin-top: clamp(34px, 4vw, 60px) !important;
  padding-top: clamp(26px, 3vw, 40px);
  border-top: 1px solid var(--mb-product-border);
}

body.single-product .related-products .product-grid-item,
body.single-product .upsells-carousel .product-grid-item {
  border-color: var(--mb-product-border) !important;
  box-shadow: none !important;
}

@media (max-width: 1024px) {
  body.single-product .product-image-summary {
    padding-block: 22px 34px;
  }

  body.single-product .product-image-summary-inner {
    gap: 22px !important;
  }

  body.single-product .summary-inner {
    padding: 22px !important;
  }

  body.single-product h1.product_title {
    font-size: 25px !important;
  }

  body.single-product table.variations tr {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.single-product table.variations th label {
    padding-top: 0;
  }

  body.single-product .mb-demo-copy > ul:first-of-type {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.single-product .product-image-summary {
    padding-block: 14px 28px;
  }

  body.single-product .product-image-summary-inner {
    gap: 18px !important;
  }

  body.single-product .woocommerce-product-gallery {
    padding: 12px !important;
    border-radius: 16px !important;
  }

  body.single-product .summary-inner {
    padding: 18px !important;
    border-radius: 16px;
  }

  body.single-product .single-breadcrumbs-wrapper {
    margin-bottom: 16px !important;
    padding-bottom: 12px;
  }

  body.single-product h1.product_title {
    font-size: 22px !important;
    line-height: 1.45 !important;
  }

  body.single-product .summary .price {
    min-height: 58px;
    padding: 13px 15px !important;
  }

  body.single-product .summary .price .amount,
  body.single-product .summary .price bdi {
    font-size: 22px !important;
  }

  body.single-product .woocommerce-product-details__short-description {
    font-size: 14px;
    line-height: 1.9;
  }

  body.single-product .woocommerce-variation-add-to-cart,
  body.single-product form.cart:not(.variations_form) {
    gap: 9px !important;
  }

  body.single-product .quantity,
  body.single-product .single_add_to_cart_button,
  body.single-product .wd-buy-now-btn,
  body.single-product .single-buy-now-btn,
  body.single-product button[name='wd-buy-now'] {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none !important;
  }

  body.single-product .quantity {
    min-width: 100%;
  }

  body.single-product .woocommerce-tabs .wd-nav-tabs {
    position: static;
  }

  body.single-product .wd-accordion-title {
    min-height: 54px;
    margin-top: 10px !important;
    padding: 14px 16px !important;
    border: 1px solid var(--mb-product-border) !important;
    border-radius: 12px !important;
    background: var(--mb-product-white) !important;
    color: var(--mb-product-charcoal) !important;
    font-weight: 800 !important;
  }

  body.single-product .wd-accordion-title.wd-active {
    border-color: var(--mb-product-red) !important;
    color: var(--mb-product-red) !important;
  }

  body.single-product .woocommerce-Tabs-panel {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  body.single-product .mb-demo-copy > ul:first-of-type,
  body.single-product .mb-demo-pros-cons {
    grid-template-columns: 1fr;
  }

  body.single-product .mb-demo-spec-table th,
  body.single-product .woocommerce-product-attributes th {
    width: 38%;
  }

  body.single-product .mb-demo-spec-table th,
  body.single-product .mb-demo-spec-table td,
  body.single-product .woocommerce-product-attributes th,
  body.single-product .woocommerce-product-attributes td {
    padding: 12px 10px !important;
    font-size: 12.5px;
    overflow-wrap: anywhere;
  }

  body.single-product .related-products,
  body.single-product .upsells-carousel {
    margin-top: 34px !important;
    padding-top: 26px;
  }
}

@media (max-width: 430px) {
  body.single-product .product-image-summary .container,
  body.single-product .product-image-summary-inner {
    min-width: 0;
  }

  body.single-product .summary-inner {
    padding: 16px !important;
  }

  body.single-product h1.product_title {
    font-size: 20px !important;
    letter-spacing: -0.015em;
  }

  body.single-product .wd-swatch,
  body.single-product .mb-pill-btn {
    min-height: 42px;
    padding-inline: 12px !important;
  }

  body.single-product .woocommerce-Tabs-panel {
    padding-inline: 14px !important;
  }
}


/* ============================================================
   Mobile Bastani — Premium Cart System (2026-09-26)
   Scope: WooCommerce Cart page only. Checkout and archives untouched.
   ============================================================ */
body.woocommerce-cart {
  --mb-cart-red: #E30613;
  --mb-cart-red-dark: #BE0010;
  --mb-cart-charcoal: #1A1A1F;
  --mb-cart-white: #FFFFFF;
  --mb-cart-border: #E4E4E8;
  --mb-cart-muted: #66666F;
  --mb-cart-success: #147A43;
  --mb-cart-radius-lg: 20px;
  --mb-cart-radius-md: 14px;
  --mb-cart-control: 48px;
}

body.woocommerce-cart .site-content,
body.woocommerce-cart .main-page-wrapper {
  background: var(--mb-cart-white) !important;
}

body.woocommerce-cart .wd-page-title {
  margin-bottom: 34px !important;
  padding-block: 34px !important;
  border: 0 !important;
  border-radius: 0 0 20px 20px !important;
  background: var(--mb-cart-charcoal) !important;
  box-shadow: none !important;
}

body.woocommerce-cart .wd-checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 54px);
  margin: 0 !important;
  color: rgba(255,255,255,.58) !important;
}

body.woocommerce-cart .wd-checkout-steps li {
  position: relative;
  margin: 0 !important;
  color: inherit !important;
  font-size: 15px !important;
  font-weight: 750 !important;
}

body.woocommerce-cart .wd-checkout-steps li:not(:last-child)::after {
  inset-inline-start: calc(100% + 10px) !important;
  color: rgba(255,255,255,.34) !important;
}

body.woocommerce-cart .wd-checkout-steps a,
body.woocommerce-cart .wd-checkout-steps span {
  color: inherit !important;
}

body.woocommerce-cart .wd-checkout-steps .step-active {
  color: var(--mb-cart-white) !important;
}

body.woocommerce-cart .wd-checkout-steps .step-active::before {
  position: absolute;
  inset-inline: 0;
  bottom: -11px;
  height: 3px;
  border-radius: 999px;
  background: var(--mb-cart-red);
  content: '';
}

body.woocommerce-cart .elementor-widget-wd_cart_table,
body.woocommerce-cart .elementor-widget-wd_cart_totals,
body.woocommerce-cart .elementor-widget-wd_cart_content,
body.woocommerce-cart .elementor-widget-wd_shipping_progress_bar {
  min-width: 0;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals,
body.woocommerce-cart .wd-free-progress-bar,
body.woocommerce-cart .elementor-widget-wd_cart_content .woocommerce-notices-wrapper + * {
  border: 1px solid var(--mb-cart-border) !important;
  border-radius: var(--mb-cart-radius-lg) !important;
  background: var(--mb-cart-white) !important;
  box-shadow: none !important;
}

body.woocommerce-cart .woocommerce-cart-form {
  overflow: hidden;
}

body.woocommerce-cart table.shop_table {
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: transparent !important;
}

body.woocommerce-cart .woocommerce-cart-form__contents thead {
  background: #FAFAFB !important;
}

body.woocommerce-cart .woocommerce-cart-form__contents thead th {
  padding: 18px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mb-cart-border) !important;
  color: #55555E !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.woocommerce-cart .woocommerce-cart-form__cart-item td {
  padding: 18px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mb-cart-border) !important;
  background: var(--mb-cart-white) !important;
  vertical-align: middle !important;
}

body.woocommerce-cart .woocommerce-cart-form__cart-item:last-of-type td {
  border-bottom: 0 !important;
}

body.woocommerce-cart td.product-thumbnail {
  width: 104px !important;
}

body.woocommerce-cart td.product-thumbnail a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--mb-cart-border);
  border-radius: 14px;
  background: var(--mb-cart-white);
}

body.woocommerce-cart td.product-thumbnail img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  padding: 7px;
  object-fit: contain !important;
  object-position: center !important;
}

body.woocommerce-cart td.product-name {
  min-width: 190px;
}

body.woocommerce-cart td.product-name > a {
  display: inline-block;
  max-width: 100%;
  color: var(--mb-cart-charcoal) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.65 !important;
  overflow-wrap: anywhere;
}

body.woocommerce-cart td.product-name > a:hover {
  color: var(--mb-cart-red) !important;
}

body.woocommerce-cart td.product-name .variation,
body.woocommerce-cart td.product-name .product-variation {
  margin-top: 7px !important;
  color: var(--mb-cart-muted) !important;
  font-size: 12px !important;
  line-height: 1.75;
}

body.woocommerce-cart td.product-price,
body.woocommerce-cart td.product-subtotal {
  white-space: nowrap;
}

body.woocommerce-cart td.product-price .amount {
  color: #55555E !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

body.woocommerce-cart td.product-subtotal .amount {
  color: var(--mb-cart-red) !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

body.woocommerce-cart .quantity {
  display: grid !important;
  grid-template-columns: 40px 48px 40px;
  width: 128px !important;
  height: 46px !important;
  min-width: 128px !important;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #D9D9DF !important;
  border-radius: 12px !important;
  background: var(--mb-cart-white) !important;
}

body.woocommerce-cart .quantity .minus,
body.woocommerce-cart .quantity .plus,
body.woocommerce-cart .quantity .qty {
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--mb-cart-charcoal) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body.woocommerce-cart .quantity .minus,
body.woocommerce-cart .quantity .plus {
  cursor: pointer;
}

body.woocommerce-cart .quantity .minus:hover,
body.woocommerce-cart .quantity .plus:hover {
  background: #F7F7F8 !important;
  color: var(--mb-cart-red) !important;
}

body.woocommerce-cart .quantity .qty {
  border-inline: 1px solid #ECECF0 !important;
  text-align: center !important;
  appearance: textfield;
}

body.woocommerce-cart td.product-remove {
  width: 54px !important;
  padding-inline: 10px !important;
}

body.woocommerce-cart td.product-remove .remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid var(--mb-cart-border) !important;
  border-radius: 50% !important;
  background: var(--mb-cart-white) !important;
  color: #777780 !important;
  font-size: 19px !important;
  line-height: 1 !important;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

body.woocommerce-cart td.product-remove .remove:hover {
  border-color: rgba(227,6,19,.4) !important;
  background: #FFF7F7 !important;
  color: var(--mb-cart-red) !important;
}

body.woocommerce-cart td.actions {
  padding: 18px !important;
  border: 0 !important;
  border-top: 1px solid var(--mb-cart-border) !important;
  background: #FAFAFB !important;
}

body.woocommerce-cart .wd-coupon-form {
  display: flex;
  align-items: stretch;
  gap: 10px;
  max-width: 460px;
}

body.woocommerce-cart .wd-coupon-form #coupon_code {
  flex: 1 1 auto;
  min-width: 0;
  height: var(--mb-cart-control) !important;
  padding-inline: 15px !important;
  border: 1px solid #D9D9DF !important;
  border-radius: 11px !important;
  background: var(--mb-cart-white) !important;
  box-shadow: none !important;
  color: var(--mb-cart-charcoal) !important;
}

body.woocommerce-cart .wd-coupon-form #coupon_code:focus {
  border-color: var(--mb-cart-red) !important;
  outline: 3px solid rgba(227,6,19,.11) !important;
}

body.woocommerce-cart .wd-coupon-form button {
  min-height: var(--mb-cart-control) !important;
  padding-inline: 20px !important;
  border: 1px solid var(--mb-cart-charcoal) !important;
  border-radius: 11px !important;
  background: var(--mb-cart-white) !important;
  color: var(--mb-cart-charcoal) !important;
  box-shadow: none !important;
  font-weight: 800 !important;
}

body.woocommerce-cart .wd-coupon-form button:hover {
  background: var(--mb-cart-charcoal) !important;
  color: var(--mb-cart-white) !important;
}

body.woocommerce-cart .wd-free-progress-bar {
  margin-bottom: 20px !important;
  padding: 18px 20px !important;
}

body.woocommerce-cart .wd-free-progress-bar .progress-msg {
  margin-bottom: 12px !important;
  color: var(--mb-cart-charcoal) !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  line-height: 1.75;
}

body.woocommerce-cart .wd-free-progress-bar .progress-area {
  height: 7px !important;
  overflow: hidden;
  border-radius: 999px !important;
  background: #ECECF0 !important;
}

body.woocommerce-cart .wd-free-progress-bar .progress-bar {
  height: 100% !important;
  border-radius: inherit !important;
  background: var(--mb-cart-red) !important;
  box-shadow: none !important;
}

body.woocommerce-cart .cart_totals {
  overflow: hidden;
  padding: 0 !important;
}

body.woocommerce-cart .cart-totals-inner {
  padding: 24px !important;
  background: var(--mb-cart-white) !important;
}

body.woocommerce-cart .cart_totals h2 {
  margin: 0 0 18px !important;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mb-cart-border);
  color: var(--mb-cart-charcoal) !important;
  font-size: 20px !important;
  font-weight: 850 !important;
}

body.woocommerce-cart .cart_totals table tr,
body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
  border: 0 !important;
  background: transparent !important;
}

body.woocommerce-cart .cart_totals table tr {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-block: 13px !important;
  border-bottom: 1px solid var(--mb-cart-border) !important;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
  width: auto !important;
  padding: 0 !important;
  color: #55555E !important;
  font-size: 13px !important;
}

body.woocommerce-cart .cart_totals table td {
  text-align: left !important;
}

body.woocommerce-cart .cart_totals .order-total {
  margin-top: 4px;
  padding-block: 18px !important;
  border-bottom: 0 !important;
}

body.woocommerce-cart .cart_totals .order-total th {
  color: var(--mb-cart-charcoal) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
}

body.woocommerce-cart .cart_totals .order-total .amount {
  color: var(--mb-cart-red) !important;
  font-size: clamp(20px, 1.65vw, 25px) !important;
  font-weight: 900 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout {
  margin-top: 12px !important;
  padding: 0 !important;
}

body.woocommerce-cart .checkout-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 54px !important;
  margin: 0 !important;
  border: 1px solid var(--mb-cart-red) !important;
  border-radius: 12px !important;
  background: var(--mb-cart-red) !important;
  color: var(--mb-cart-white) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

body.woocommerce-cart .checkout-button:hover,
body.woocommerce-cart .checkout-button:focus-visible {
  border-color: var(--mb-cart-red-dark) !important;
  background: var(--mb-cart-red-dark) !important;
  color: var(--mb-cart-white) !important;
}

body.woocommerce-cart button:focus-visible,
body.woocommerce-cart a:focus-visible,
body.woocommerce-cart input:focus-visible {
  outline: 3px solid rgba(227,6,19,.18) !important;
  outline-offset: 2px;
}

body.woocommerce-cart .elementor-widget-wd_cart_content h4,
body.woocommerce-cart .elementor-widget-wd_cart_content h3 {
  color: var(--mb-cart-charcoal) !important;
  font-weight: 850 !important;
}

body.woocommerce-cart .cart-empty {
  margin: 30px auto 18px !important;
  color: var(--mb-cart-charcoal) !important;
  font-size: clamp(20px, 2.2vw, 30px) !important;
  font-weight: 850 !important;
  text-align: center;
}

body.woocommerce-cart .return-to-shop {
  margin-bottom: 48px !important;
  text-align: center;
}

body.woocommerce-cart .return-to-shop .button {
  min-height: 50px;
  padding-inline: 28px !important;
  border: 1px solid var(--mb-cart-red) !important;
  border-radius: 12px !important;
  background: var(--mb-cart-red) !important;
  color: var(--mb-cart-white) !important;
  box-shadow: none !important;
  font-weight: 850 !important;
}

@media (max-width: 1024px) {
  body.woocommerce-cart .wd-page-title {
    margin-bottom: 26px !important;
    padding-block: 28px !important;
  }

  body.woocommerce-cart .cart-totals-inner {
    padding: 20px !important;
  }

  body.woocommerce-cart td.product-thumbnail {
    width: 88px !important;
  }

  body.woocommerce-cart td.product-thumbnail a {
    width: 74px;
    height: 74px;
  }
}

@media (max-width: 767px) {
  body.woocommerce-cart .wd-page-title {
    margin-inline: 0 !important;
    margin-bottom: 22px !important;
    padding-block: 22px !important;
    border-radius: 0 !important;
  }

  body.woocommerce-cart .wd-checkout-steps {
    gap: 0;
  }

  body.woocommerce-cart .wd-checkout-steps li {
    display: none !important;
  }

  body.woocommerce-cart .wd-checkout-steps .step-active {
    display: block !important;
    width: 100%;
    color: var(--mb-cart-white) !important;
    font-size: 22px !important;
    text-align: right;
  }

  body.woocommerce-cart .wd-checkout-steps .step-active::before {
    display: none;
  }

  body.woocommerce-cart .woocommerce-cart-form {
    overflow: visible;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__contents,
  body.woocommerce-cart .woocommerce-cart-form__contents tbody {
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__contents thead {
    display: none !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item {
    position: relative;
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) 40px;
    grid-template-rows: auto auto auto;
    gap: 8px 13px;
    width: 100% !important;
    margin-bottom: 14px;
    padding: 14px !important;
    border: 1px solid var(--mb-cart-border) !important;
    border-radius: 16px !important;
    background: var(--mb-cart-white) !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td {
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td::before {
    display: none !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-thumbnail {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-items: flex-start;
  }

  body.woocommerce-cart td.product-thumbnail a {
    width: 82px;
    height: 82px;
    margin: 0;
    border-radius: 13px;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-name {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-start;
    padding-inline-end: 4px !important;
  }

  body.woocommerce-cart td.product-name > a {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-remove {
    grid-column: 3;
    grid-row: 1;
    align-items: flex-start;
    justify-content: flex-end;
  }

  body.woocommerce-cart td.product-remove .remove {
    width: 36px !important;
    height: 36px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-price {
    grid-column: 2 / span 2;
    grid-row: 2;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--mb-cart-muted);
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-price::before {
    display: inline !important;
    color: var(--mb-cart-muted);
    content: attr(data-title);
    font-size: 11.5px;
    font-weight: 650;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-price .amount {
    font-size: 12.5px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-quantity {
    grid-column: 2;
    grid-row: 3;
    align-items: center;
  }

  body.woocommerce-cart .quantity {
    grid-template-columns: 38px 44px 38px;
    width: 120px !important;
    min-width: 120px !important;
    height: 44px !important;
    margin: 0;
  }

  body.woocommerce-cart .quantity .minus,
  body.woocommerce-cart .quantity .plus,
  body.woocommerce-cart .quantity .qty {
    height: 42px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-subtotal {
    grid-column: 3;
    grid-row: 3;
    align-items: center;
    justify-content: flex-end;
  }

  body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-subtotal .amount {
    font-size: 13px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form__contents tr:not(.cart_item) {
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-cart td.actions {
    display: block !important;
    width: 100% !important;
    margin-top: 6px;
    padding: 14px !important;
    border: 1px solid var(--mb-cart-border) !important;
    border-radius: 14px !important;
    background: #FAFAFB !important;
  }

  body.woocommerce-cart .wd-coupon-form {
    max-width: none;
  }

  body.woocommerce-cart .wd-free-progress-bar {
    margin-bottom: 16px !important;
    padding: 16px !important;
    border-radius: 14px !important;
  }

  body.woocommerce-cart .cart_totals {
    margin-top: 20px;
    border-radius: 16px !important;
  }

  body.woocommerce-cart .cart-totals-inner {
    padding: 18px !important;
  }

  body.woocommerce-cart .cart_totals h2 {
    font-size: 18px !important;
  }

  body.woocommerce-cart .cart_totals .order-total .amount {
    font-size: 21px !important;
  }

  body.woocommerce-cart .checkout-button {
    min-height: 56px !important;
  }
}

@media (max-width: 430px) {
  body.woocommerce-cart .woocommerce-cart-form__cart-item {
    grid-template-columns: 74px minmax(0, 1fr) 38px;
    gap: 8px 10px;
    padding: 12px !important;
  }

  body.woocommerce-cart td.product-thumbnail a {
    width: 74px;
    height: 74px;
  }

  body.woocommerce-cart .wd-coupon-form {
    flex-direction: column;
  }

  body.woocommerce-cart .wd-coupon-form button,
  body.woocommerce-cart .wd-coupon-form #coupon_code {
    width: 100% !important;
  }

  body.woocommerce-cart .cart-totals-inner {
    padding: 16px !important;
  }
}

/* Mobile Bastani — Empty Cart Return to Shop CTA (2026-09-26) */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .mb-empty-cart-cta {
  display: flex;
  justify-content: center;
  margin: 22px 0 0;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .mb-empty-cart-cta .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 48px;
  padding: 11px 26px;
  border: 1px solid #E30613;
  border-radius: 12px;
  background: #E30613;
  color: #FFFFFF;
  font-family: Vazirmatn, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .mb-empty-cart-cta .wp-block-button__link:hover {
  border-color: #1A1A1F;
  background: #1A1A1F;
  color: #FFFFFF;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .mb-empty-cart-cta .wp-block-button__link:focus-visible {
  outline: 3px solid #E30613;
  outline-offset: 3px;
}

@media (max-width: 430px) {
  body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .mb-empty-cart-cta {
    margin-top: 18px;
  }
}


/* Mobile Bastani — Checkout Premium Visual Polish (2026-09-26) */
body.woocommerce-checkout {
  --mb-checkout-red: #E30613;
  --mb-checkout-red-dark: #C40510;
  --mb-checkout-ink: #1A1A1F;
  --mb-checkout-muted: #66666E;
  --mb-checkout-line: #E7E7EC;
  --mb-checkout-soft: #FAFAFB;
  --mb-checkout-white: #FFFFFF;
  font-family: Vazirmatn, sans-serif;
}

body.woocommerce-checkout .wd-page-title {
  min-height: 0;
  margin: 18px 0 0;
  padding: 22px 0;
  border: 1px solid var(--mb-checkout-line);
  border-radius: 16px;
  background: var(--mb-checkout-white) !important;
  color: var(--mb-checkout-ink) !important;
}

body.woocommerce-checkout .wd-page-title .wd-page-title-bg {
  display: none;
}

body.woocommerce-checkout .wd-checkout-steps {
  gap: 22px;
  align-items: center;
  justify-content: center;
  color: var(--mb-checkout-ink);
  font-size: 15px;
  font-weight: 650;
}

body.woocommerce-checkout .wd-checkout-steps li {
  gap: 22px;
  color: #8A8A92;
}

body.woocommerce-checkout .wd-checkout-steps li:not(:last-child)::after {
  color: #B7B7BE;
  font-size: 15px;
}

body.woocommerce-checkout .wd-checkout-steps :is(a, span) {
  color: inherit !important;
}

body.woocommerce-checkout .wd-checkout-steps .step-active {
  position: relative;
  color: var(--mb-checkout-ink);
  font-weight: 800;
}

body.woocommerce-checkout .wd-checkout-steps .step-active::before {
  position: absolute;
  right: 0;
  bottom: -9px;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--mb-checkout-red);
  content: "";
}

body.woocommerce-checkout .wd-page-content {
  padding-top: 22px;
  background: var(--mb-checkout-white);
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle {
  margin: 0 0 22px;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  max-width: 610px;
  min-height: 56px;
  margin: 0 0 0 auto !important;
  padding: 15px 18px !important;
  border: 1px solid var(--mb-checkout-line) !important;
  border-right: 3px solid var(--mb-checkout-red) !important;
  border-radius: 12px !important;
  background: var(--mb-checkout-white) !important;
  color: var(--mb-checkout-muted) !important;
  box-shadow: none !important;
  font-size: 13.5px !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
  display: none !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon {
  color: var(--mb-checkout-ink) !important;
  font-weight: 750;
  text-decoration-color: var(--mb-checkout-red);
  text-underline-offset: 4px;
}

body.woocommerce-checkout form.checkout_coupon {
  max-width: 610px;
  margin: -10px 0 24px auto;
  padding: 18px;
  border: 1px solid var(--mb-checkout-line);
  border-radius: 12px;
  background: var(--mb-checkout-soft);
  box-shadow: none;
}

body.woocommerce-checkout form.checkout_coupon .form-row {
  margin-bottom: 0;
}

body.woocommerce-checkout form.checkout_coupon :is(input.input-text, button) {
  min-height: 46px;
  border-radius: 9px;
  font-family: Vazirmatn, sans-serif;
}

body.woocommerce-checkout form.checkout_coupon input.input-text {
  border: 1px solid #DADAE1;
  background: var(--mb-checkout-white);
}

body.woocommerce-checkout form.checkout_coupon button {
  border: 1px solid var(--mb-checkout-ink);
  background: var(--mb-checkout-ink);
  color: var(--mb-checkout-white);
}

body.woocommerce-checkout form.checkout > .elementor > .elementor-element > .e-con-inner {
  align-items: flex-start;
  gap: 24px;
}

body.woocommerce-checkout form.checkout .elementor-element-5b69235 {
  width: min(100%, 790px);
  gap: 24px;
}

body.woocommerce-checkout form.checkout .elementor-element-bf9235e {
  width: min(100%, 550px);
  gap: 20px;
}

body.woocommerce-checkout form.checkout :is(.elementor-element-9d6f1a7, .elementor-element-695ea74, .elementor-element-f57a155, .elementor-element-12f9097) {
  padding: 24px;
  border: 1px solid var(--mb-checkout-line);
  border-radius: 16px;
  background: var(--mb-checkout-white);
  box-shadow: none;
}

body.woocommerce-checkout form.checkout .elementor-element-f57a155 {
  position: sticky;
  top: 18px;
}

body.woocommerce-checkout h4.woodmart-title-container.title {
  position: relative;
  margin: 0 0 22px !important;
  padding: 0 13px 14px 0 !important;
  border-bottom: 1px solid var(--mb-checkout-line) !important;
  color: var(--mb-checkout-ink) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.5;
}

body.woocommerce-checkout h4.woodmart-title-container.title::before {
  position: absolute;
  top: 7px;
  right: 0;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--mb-checkout-red);
  content: "";
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
  display: flow-root;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) .form-row {
  margin-bottom: 18px;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) label {
  display: inline-block;
  margin-bottom: 7px !important;
  color: var(--mb-checkout-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.7;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) .required {
  color: var(--mb-checkout-red) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) :is(input.input-text, textarea),
body.woocommerce-checkout .select2-container--default .select2-selection--single {
  min-height: 50px !important;
  border: 1px solid #DADAE1 !important;
  border-radius: 10px !important;
  background: var(--mb-checkout-white) !important;
  color: var(--mb-checkout-ink) !important;
  box-shadow: none !important;
  font-family: Vazirmatn, sans-serif !important;
  font-size: 14px !important;
  transition: border-color .18s ease, background-color .18s ease !important;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) input.input-text {
  height: 50px !important;
  padding: 0 15px !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  height: 48px;
  padding: 0 15px;
  color: var(--mb-checkout-ink);
  line-height: 48px;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 10px;
  left: 12px;
  right: auto;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) textarea {
  min-height: 112px !important;
  padding: 14px 15px !important;
  line-height: 1.8;
  resize: vertical;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) :is(input.input-text, textarea):focus,
body.woocommerce-checkout .select2-container--open .select2-selection--single,
body.woocommerce-checkout .select2-container--focus .select2-selection--single {
  border-color: var(--mb-checkout-red) !important;
  outline: 3px solid rgba(227, 6, 19, .11) !important;
  outline-offset: 0;
}

body.woocommerce-checkout .form-row.woocommerce-invalid :is(input.input-text, textarea),
body.woocommerce-checkout .form-row.woocommerce-invalid .select2-selection--single {
  border-color: #B42318 !important;
  background: #FFF8F7 !important;
}

body.woocommerce-checkout .form-row.woocommerce-validated :is(input.input-text, textarea),
body.woocommerce-checkout .form-row.woocommerce-validated .select2-selection--single {
  border-color: #B8B8C0 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  margin-bottom: 16px !important;
  border: 1px solid var(--mb-checkout-line) !important;
  border-radius: 12px !important;
  background: var(--mb-checkout-white) !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  padding: 12px 14px !important;
  background: var(--mb-checkout-soft) !important;
  color: var(--mb-checkout-ink) !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod {
  min-height: 92px;
  padding: 13px 14px !important;
  gap: 10px;
  color: var(--mb-checkout-ink);
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod-img {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border: 1px solid #EFEFF2;
  border-radius: 9px;
  background: var(--mb-checkout-white);
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod-img img {
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod-title {
  color: var(--mb-checkout-ink);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.7;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .quantity {
  min-width: 102px;
  height: 38px;
  border: 1px solid #E2E2E7;
  border-radius: 9px;
  background: var(--mb-checkout-soft);
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .quantity :is(input.qty, .btn) {
  height: 36px !important;
  min-height: 36px !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
  padding-inline: 12px !important;
  color: var(--mb-checkout-ink) !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
  white-space: nowrap;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot :is(th, td) {
  padding: 13px 14px !important;
  border-bottom: 1px solid var(--mb-checkout-line) !important;
  background: var(--mb-checkout-white) !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
  color: var(--mb-checkout-muted) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
  color: var(--mb-checkout-ink) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total :is(th, td) {
  padding-top: 17px !important;
  padding-bottom: 17px !important;
  border-bottom: 0 !important;
  color: var(--mb-checkout-ink) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td {
  color: var(--mb-checkout-red) !important;
  font-size: 19px !important;
}

body.woocommerce-checkout .wd-shipping-progress-bar {
  margin-top: 2px;
  color: var(--mb-checkout-muted);
  font-size: 13px;
}

body.woocommerce-checkout .wd-shipping-progress-bar .wd-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: #ECECF0;
}

body.woocommerce-checkout .wd-shipping-progress-bar .wd-progress-bar > div {
  border-radius: inherit;
  background: var(--mb-checkout-red) !important;
}

body.woocommerce-checkout .elementor-element-12f9097 .wd-accordion-title {
  min-height: 46px;
  padding: 12px 0;
  color: var(--mb-checkout-ink);
  font-size: 13.5px;
  font-weight: 750;
}

body.woocommerce-checkout .elementor-element-12f9097 .wd-accordion-content {
  padding: 14px 0 0;
  border-top: 1px solid var(--mb-checkout-line);
  color: var(--mb-checkout-muted);
  font-size: 13px;
  line-height: 1.9;
}

body.woocommerce-checkout #payment {
  color: var(--mb-checkout-muted);
}

body.woocommerce-checkout #payment .wc_payment_methods {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

body.woocommerce-checkout #payment .wc_payment_method {
  padding: 16px;
  border: 1px solid var(--mb-checkout-line);
  border-radius: 12px;
  background: var(--mb-checkout-soft);
}

body.woocommerce-checkout #payment .wc_payment_method > label {
  color: var(--mb-checkout-ink);
  font-size: 14px;
  font-weight: 800;
}

body.woocommerce-checkout #payment .payment_box {
  margin: 12px 0 0;
  padding: 13px 14px;
  border: 0;
  border-radius: 9px;
  background: var(--mb-checkout-white);
  color: var(--mb-checkout-muted);
  font-size: 13px;
  line-height: 1.9;
}

body.woocommerce-checkout #payment .payment_box::before {
  display: none;
}

body.woocommerce-checkout #payment .woocommerce-privacy-policy-text {
  margin: 0 0 18px;
  padding-top: 16px;
  border-top: 1px solid var(--mb-checkout-line);
  color: var(--mb-checkout-muted);
  font-size: 12.5px;
  line-height: 1.9;
}

body.woocommerce-checkout #payment .woocommerce-privacy-policy-text a {
  color: var(--mb-checkout-ink);
  font-weight: 750;
  text-decoration-color: var(--mb-checkout-red);
  text-underline-offset: 3px;
}

body.woocommerce-checkout #place_order {
  min-height: 52px !important;
  border: 1px solid var(--mb-checkout-red) !important;
  border-radius: 11px !important;
  background: var(--mb-checkout-red) !important;
  color: var(--mb-checkout-white) !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  transition: background-color .18s ease, border-color .18s ease !important;
}

body.woocommerce-checkout #place_order:hover {
  border-color: var(--mb-checkout-red-dark) !important;
  background: var(--mb-checkout-red-dark) !important;
  transform: none !important;
}

body.woocommerce-checkout #place_order:focus-visible {
  outline: 3px solid rgba(227, 6, 19, .22) !important;
  outline-offset: 3px;
}

body.woocommerce-checkout #place_order:disabled,
body.woocommerce-checkout #place_order.disabled,
body.woocommerce-checkout #place_order.processing {
  border-color: #B7B7BE !important;
  background: #B7B7BE !important;
  cursor: not-allowed;
}

body.woocommerce-checkout :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) {
  border: 1px solid var(--mb-checkout-line) !important;
  border-right: 3px solid var(--mb-checkout-red) !important;
  border-radius: 12px !important;
  background: var(--mb-checkout-white) !important;
  box-shadow: none !important;
  color: var(--mb-checkout-ink) !important;
}

body.woocommerce-checkout .woocommerce-error {
  border-color: #F1C3BF !important;
  border-right-color: #B42318 !important;
  background: #FFF8F7 !important;
}

body.woocommerce-checkout .woocommerce-error::before {
  color: #B42318 !important;
}

@media (max-width: 1024px) {
  body.woocommerce-checkout form.checkout > .elementor > .elementor-element > .e-con-inner {
    gap: 18px;
  }

  body.woocommerce-checkout form.checkout :is(.elementor-element-9d6f1a7, .elementor-element-695ea74, .elementor-element-f57a155, .elementor-element-12f9097) {
    padding: 20px;
  }

  body.woocommerce-checkout form.checkout .elementor-element-f57a155 {
    position: static;
  }
}

@media (max-width: 767px) {
  body.woocommerce-checkout .wd-page-title {
    margin-top: 12px;
    padding: 18px 0;
    border-radius: 12px;
  }

  body.woocommerce-checkout .wd-checkout-steps {
    font-size: 17px;
  }

  body.woocommerce-checkout .wd-checkout-steps li:not(.step-active) {
    display: none;
  }

  body.woocommerce-checkout .wd-checkout-steps .step-active::before {
    bottom: -7px;
  }

  body.woocommerce-checkout .wd-page-content {
    padding-top: 18px;
  }

  body.woocommerce-checkout .woocommerce-form-coupon-toggle,
  body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
  body.woocommerce-checkout form.checkout_coupon {
    width: 100%;
    max-width: none;
  }

  body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    min-height: 0;
    margin: 0 !important;
    padding: 15px 16px !important;
    text-align: center !important;
  }

  body.woocommerce-checkout form.checkout_coupon {
    margin: -6px 0 20px;
    padding: 14px;
  }

  body.woocommerce-checkout form.checkout_coupon .form-row {
    width: 100%;
    margin: 0 0 10px;
  }

  body.woocommerce-checkout form.checkout_coupon .form-row-last {
    margin-bottom: 0;
  }

  body.woocommerce-checkout form.checkout > .elementor > .elementor-element > .e-con-inner {
    gap: 16px;
  }

  body.woocommerce-checkout form.checkout .elementor-element-5b69235 {
    display: contents;
  }

  body.woocommerce-checkout form.checkout .elementor-element-9d6f1a7 {
    order: 1;
  }

  body.woocommerce-checkout form.checkout .elementor-element-bf9235e {
    order: 2;
  }

  body.woocommerce-checkout form.checkout .elementor-element-695ea74 {
    order: 3;
  }

  body.woocommerce-checkout form.checkout :is(.elementor-element-9d6f1a7, .elementor-element-695ea74, .elementor-element-f57a155, .elementor-element-12f9097) {
    width: 100%;
    padding: 18px;
    border-radius: 13px;
  }

  body.woocommerce-checkout h4.woodmart-title-container.title {
    margin-bottom: 18px !important;
    font-size: 17px !important;
  }

  body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) .form-row-first,
  body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) .form-row-last {
    float: none;
    width: 100%;
  }

  body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) .form-row {
    margin-bottom: 15px;
  }

  body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-additional-fields) :is(input.input-text, textarea),
  body.woocommerce-checkout .select2-container--default .select2-selection--single {
    min-height: 50px !important;
    font-size: 16px !important;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod {
    min-height: 88px;
    padding: 12px !important;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod-img {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .quantity {
    min-width: 96px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
    padding-inline: 10px !important;
    font-size: 12px !important;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 17px !important;
  }

  body.woocommerce-checkout #place_order {
    min-height: 54px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 430px) {
  body.woocommerce-checkout form.checkout :is(.elementor-element-9d6f1a7, .elementor-element-695ea74, .elementor-element-f57a155, .elementor-element-12f9097) {
    padding: 16px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod {
    gap: 8px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod-img {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod-title {
    font-size: 12px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table .quantity {
    min-width: 90px;
  }
}



/* ============================================================
   Mobile Bastani — Order Received / Thank You Premium Polish (2026-09-28)
   Scope: WooCommerce order-received endpoint only.
   ============================================================ */
body.woocommerce-order-received {
  --mb-ty-red: #E30613;
  --mb-ty-red-dark: #C40510;
  --mb-ty-ink: #1A1A1F;
  --mb-ty-muted: #66666E;
  --mb-ty-line: #E5E5EA;
  --mb-ty-soft: #FAFAFB;
  --mb-ty-white: #FFFFFF;
  --mb-ty-success: #147A43;
  --mb-ty-success-soft: #F4FBF7;
  font-family: Vazirmatn, sans-serif;
}

body.woocommerce-order-received .main-page-wrapper,
body.woocommerce-order-received .site-content {
  background: var(--mb-ty-white) !important;
}

body.woocommerce-order-received .wd-page-content {
  padding-top: clamp(24px, 3vw, 40px) !important;
  padding-bottom: clamp(52px, 6vw, 88px) !important;
}

body.woocommerce-order-received .woocommerce-order {
  width: min(100%, 1040px);
  margin-inline: auto;
  color: var(--mb-ty-ink);
}

body.woocommerce-order-received .woocommerce-thankyou-order-received {
  position: relative;
  display: flex !important;
  align-items: center;
  min-height: 92px;
  margin: 0 0 22px !important;
  padding: 24px 76px 24px 28px !important;
  border: 1px solid #CBE6D5 !important;
  border-inline-start: 5px solid var(--mb-ty-success) !important;
  border-radius: 16px !important;
  background: var(--mb-ty-white) !important;
  color: var(--mb-ty-ink) !important;
  box-shadow: none !important;
  font-size: clamp(18px, 1.8vw, 23px) !important;
  font-weight: 850 !important;
  line-height: 1.7 !important;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
  position: absolute;
  inset-inline-start: 22px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mb-ty-success-soft);
  color: var(--mb-ty-success);
  content: "✓";
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  transform: translateY(-50%);
}

body.woocommerce-order-received ul.woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 0 22px !important;
  padding: 10px !important;
  border: 1px solid var(--mb-ty-line) !important;
  border-radius: 16px !important;
  background: var(--mb-ty-soft) !important;
  box-shadow: none !important;
  list-style: none !important;
}

body.woocommerce-order-received ul.woocommerce-order-overview > li {
  min-width: 0;
  min-height: 86px;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid transparent !important;
  border-radius: 11px;
  background: var(--mb-ty-white);
  color: var(--mb-ty-muted) !important;
  font-size: 12px !important;
  line-height: 1.7;
  text-align: right;
}

body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__payment-method {
  grid-column: span 2;
}

body.woocommerce-order-received ul.woocommerce-order-overview > li strong {
  display: block !important;
  min-width: 0;
  margin-top: 7px !important;
  color: var(--mb-ty-ink) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__order strong,
body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__total strong {
  color: var(--mb-ty-red) !important;
  font-size: 17px !important;
}

body.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-thankyou-order-received) {
  margin: 0 0 24px !important;
  padding: 15px 18px;
  border: 1px solid var(--mb-ty-line);
  border-radius: 11px;
  background: var(--mb-ty-white);
  color: var(--mb-ty-muted);
  font-size: 13.5px;
  line-height: 1.9;
  text-align: right;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
  margin: 0 0 22px !important;
  padding: clamp(20px, 2.7vw, 30px) !important;
  border: 1px solid var(--mb-ty-line) !important;
  border-radius: 18px !important;
  background: var(--mb-ty-white) !important;
  box-shadow: none !important;
}

body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
  position: relative;
  margin: 0 0 22px !important;
  padding: 0 15px 15px 0 !important;
  border-bottom: 1px solid var(--mb-ty-line);
  color: var(--mb-ty-ink) !important;
  font-size: clamp(19px, 2vw, 24px) !important;
  font-weight: 850 !important;
  line-height: 1.5;
  text-align: right;
}

body.woocommerce-order-received .woocommerce-order-details__title::before,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title::before {
  position: absolute;
  top: .25em;
  right: 0;
  width: 4px;
  height: 1em;
  border-radius: 999px;
  background: var(--mb-ty-red);
  content: "";
}

body.woocommerce-order-received .woocommerce-order-details .responsive-table {
  overflow: hidden !important;
  border: 1px solid var(--mb-ty-line);
  border-radius: 13px;
}

body.woocommerce-order-received .woocommerce-table--order-details {
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: var(--mb-ty-white) !important;
}

body.woocommerce-order-received .woocommerce-table--order-details :is(th, td) {
  border: 0 !important;
  border-bottom: 1px solid var(--mb-ty-line) !important;
  background: var(--mb-ty-white) !important;
  color: var(--mb-ty-ink) !important;
  text-align: right !important;
  vertical-align: middle !important;
}

body.woocommerce-order-received .woocommerce-table--order-details thead th {
  padding: 14px 16px !important;
  background: var(--mb-ty-soft) !important;
  color: var(--mb-ty-muted) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.woocommerce-order-received .woocommerce-table--order-details tbody td {
  padding: 18px 16px !important;
  font-size: 13.5px;
  line-height: 1.9;
}

body.woocommerce-order-received .woocommerce-table--order-details .product-name a {
  color: var(--mb-ty-ink) !important;
  font-weight: 800 !important;
  text-decoration: none;
}

body.woocommerce-order-received .woocommerce-table--order-details .product-name a:hover {
  color: var(--mb-ty-red) !important;
}

body.woocommerce-order-received .woocommerce-table--order-details .product-quantity {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  margin-inline-start: 7px;
  padding: 3px 9px;
  border: 1px solid var(--mb-ty-line);
  border-radius: 999px;
  background: var(--mb-ty-soft);
  color: var(--mb-ty-muted);
  font-size: 11px;
}

body.woocommerce-order-received .woocommerce-table--order-details .product-total {
  white-space: nowrap;
}

body.woocommerce-order-received .woocommerce-table--order-details tfoot :is(th, td) {
  padding: 13px 16px !important;
  font-size: 13px;
}

body.woocommerce-order-received .woocommerce-table--order-details tfoot th {
  color: var(--mb-ty-muted) !important;
  font-weight: 650 !important;
}

body.woocommerce-order-received .woocommerce-table--order-details tfoot td {
  font-weight: 800 !important;
}

body.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child :is(th, td) {
  border-bottom: 0 !important;
}

body.woocommerce-order-received .woocommerce-table--order-details .order-actions--heading {
  font-size: 12px !important;
}

body.woocommerce-order-received .woocommerce-table--order-details .order-actions-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 15px !important;
  border: 1px solid var(--mb-ty-ink) !important;
  border-radius: 9px !important;
  background: var(--mb-ty-white) !important;
  color: var(--mb-ty-ink) !important;
  box-shadow: none !important;
  font-weight: 750 !important;
}

body.woocommerce-order-received .mb-invoice-actions-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 24px 0 0 !important;
  padding: 22px !important;
  border: 1px solid var(--mb-ty-line) !important;
  border-inline-start: 4px solid var(--mb-ty-red) !important;
  border-radius: 14px !important;
  background: var(--mb-ty-soft) !important;
  box-shadow: none !important;
}

body.woocommerce-order-received .mb-invoice-icon-title {
  align-items: flex-start;
  gap: 14px;
}

body.woocommerce-order-received .mb-invoice-badge-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #F3C7CA;
  border-radius: 10px;
  background: var(--mb-ty-white);
  color: var(--mb-ty-red);
}

body.woocommerce-order-received .mb-invoice-title {
  margin: 0 0 4px !important;
  color: var(--mb-ty-ink) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
}

body.woocommerce-order-received .mb-invoice-subtitle {
  max-width: 520px;
  margin: 0 !important;
  color: var(--mb-ty-muted) !important;
  font-size: 12.5px !important;
  line-height: 1.8;
}

body.woocommerce-order-received .mb-invoice-buttons-wrap {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

body.woocommerce-order-received .mb-btn-invoice {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 10px 17px !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.4;
}

body.woocommerce-order-received .mb-btn-download {
  border: 1px solid var(--mb-ty-red) !important;
  background: var(--mb-ty-red) !important;
  color: var(--mb-ty-white) !important;
}

body.woocommerce-order-received .mb-btn-download:hover {
  border-color: var(--mb-ty-red-dark) !important;
  background: var(--mb-ty-red-dark) !important;
}

body.woocommerce-order-received .mb-btn-print {
  border: 1px solid var(--mb-ty-ink) !important;
  background: var(--mb-ty-white) !important;
  color: var(--mb-ty-ink) !important;
}

body.woocommerce-order-received .mb-btn-print:hover {
  background: var(--mb-ty-ink) !important;
  color: var(--mb-ty-white) !important;
}

body.woocommerce-order-received :is(a, button):focus-visible {
  outline: 3px solid rgba(227, 6, 19, .2) !important;
  outline-offset: 3px;
}

body.woocommerce-order-received .woocommerce-customer-details address {
  margin: 0 !important;
  padding: 18px 20px !important;
  border: 1px solid var(--mb-ty-line) !important;
  border-radius: 12px !important;
  background: var(--mb-ty-soft) !important;
  color: #44444C !important;
  font-size: 13.5px !important;
  font-style: normal !important;
  line-height: 2 !important;
}

body.woocommerce-order-received .woocommerce-customer-details :is(.woocommerce-customer-details--phone, .woocommerce-customer-details--email) {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin: 10px 0 0 !important;
  padding-top: 10px;
  border-top: 1px solid var(--mb-ty-line);
  color: var(--mb-ty-ink) !important;
  direction: ltr;
  text-align: right;
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  body.woocommerce-order-received .woocommerce-order {
    width: min(100%, 900px);
  }

  body.woocommerce-order-received ul.woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__payment-method {
    grid-column: auto;
  }

  body.woocommerce-order-received .mb-invoice-actions-card {
    align-items: stretch;
    flex-direction: column;
  }

  body.woocommerce-order-received .mb-invoice-buttons-wrap {
    width: 100%;
  }
}

@media (max-width: 767px) {
  body.woocommerce-order-received .wd-page-title {
    margin-top: 12px;
    padding-block: 18px;
    border-radius: 12px;
  }

  body.woocommerce-order-received .wd-checkout-steps li:not(.step-active) {
    display: none;
  }

  body.woocommerce-order-received .wd-checkout-steps .step-active {
    width: 100%;
    font-size: 18px;
    text-align: right;
  }

  body.woocommerce-order-received .wd-page-content {
    padding-top: 18px !important;
    padding-bottom: 56px !important;
  }

  body.woocommerce-order-received .woocommerce-thankyou-order-received {
    min-height: 82px;
    padding: 20px 64px 20px 18px !important;
    border-radius: 13px !important;
    font-size: 17px !important;
  }

  body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
    inset-inline-start: 16px;
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  body.woocommerce-order-received ul.woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 8px !important;
    border-radius: 13px !important;
  }

  body.woocommerce-order-received ul.woocommerce-order-overview > li {
    min-height: 80px;
    padding: 13px !important;
  }

  body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__email,
  body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__payment-method {
    grid-column: 1 / -1;
  }

  body.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-thankyou-order-received) {
    padding: 13px 15px;
    font-size: 13px;
  }

  body.woocommerce-order-received .woocommerce-order-details,
  body.woocommerce-order-received .woocommerce-customer-details {
    padding: 18px !important;
    border-radius: 14px !important;
  }

  body.woocommerce-order-received .woocommerce-order-details__title,
  body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
    margin-bottom: 18px !important;
    font-size: 18px !important;
  }

  body.woocommerce-order-received .woocommerce-order-details .responsive-table {
    overflow: visible !important;
    border: 0;
    border-radius: 0;
  }

  body.woocommerce-order-received .woocommerce-table--order-details,
  body.woocommerce-order-received .woocommerce-table--order-details :is(thead, tbody, tfoot) {
    display: block;
    width: 100%;
  }

  body.woocommerce-order-received .woocommerce-table--order-details thead {
    display: none;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tbody tr.order_item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid var(--mb-ty-line);
    border-radius: 11px;
    background: var(--mb-ty-white);
  }

  body.woocommerce-order-received .woocommerce-table--order-details tbody tr.order_item td {
    display: block;
    width: auto !important;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tbody .product-total {
    align-self: center;
    text-align: left !important;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tfoot {
    overflow: hidden;
    border: 1px solid var(--mb-ty-line);
    border-radius: 11px;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tfoot tr {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 0 13px;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tfoot :is(th, td) {
    display: block;
    width: auto !important;
    min-width: 0;
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--mb-ty-line) !important;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tfoot td {
    text-align: left !important;
    overflow-wrap: anywhere;
  }

  body.woocommerce-order-received .mb-invoice-actions-card {
    margin-top: 18px !important;
    padding: 17px !important;
  }

  body.woocommerce-order-received .mb-invoice-buttons-wrap {
    flex-direction: column;
  }

  body.woocommerce-order-received .mb-btn-invoice {
    width: 100% !important;
    min-height: 48px;
  }

  body.woocommerce-order-received .woocommerce-customer-details address {
    padding: 15px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 430px) {
  body.woocommerce-order-received ul.woocommerce-order-overview {
    grid-template-columns: 1fr !important;
  }

  body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__email,
  body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__payment-method {
    grid-column: auto;
  }

  body.woocommerce-order-received .woocommerce-order-details,
  body.woocommerce-order-received .woocommerce-customer-details {
    padding: 15px !important;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tbody tr.order_item {
    grid-template-columns: 1fr;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tbody .product-total {
    padding-top: 9px !important;
    border-top: 1px solid var(--mb-ty-line) !important;
    text-align: right !important;
  }

  body.woocommerce-order-received .woocommerce-table--order-details tfoot tr {
    gap: 12px;
  }
}


/* ==========================================================================
   MOBILE BASTANI — MY ACCOUNT PREMIUM SYSTEM — 2026-09-28
   Scope: WooCommerce My Account only
   ========================================================================== */
body.woocommerce-account {
  --mb-account-red: #E30613;
  --mb-account-dark: #1A1A1F;
  --mb-account-muted: #68686f;
  --mb-account-line: #e7e7ea;
  --mb-account-soft: #fff6f6;
  --mb-account-radius: 18px;
  background: #fff;
}

body.woocommerce-account .site-content {
  color: var(--mb-account-dark);
}

body.woocommerce-account .woocommerce-my-account-wrapper,
body.woocommerce-account .woocommerce {
  min-width: 0;
}

body.woocommerce-account .woocommerce-my-account-wrapper {
  gap: clamp(24px, 3vw, 44px);
  align-items: flex-start;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
  flex: 0 0 clamp(220px, 21vw, 270px);
  position: sticky;
  top: 112px;
  padding: 10px;
  border: 1px solid var(--mb-account-line);
  border-radius: var(--mb-account-radius);
  background: #fff;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  border: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #34343a;
  font-size: 14px;
  font-weight: 650;
  text-align: right;
  transition: color .2s ease, background-color .2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  color: var(--mb-account-red);
  background: #fafafa;
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active > a {
  color: var(--mb-account-red);
  background: var(--mb-account-soft);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child a {
  color: var(--mb-account-muted);
  border-top: 1px solid var(--mb-account-line);
  border-radius: 0 0 12px 12px;
  margin-top: 6px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible,
body.woocommerce-account .woocommerce-MyAccount-content a:focus-visible,
body.woocommerce-account button:focus-visible,
body.woocommerce-account input:focus-visible,
body.woocommerce-account select:focus-visible,
body.woocommerce-account textarea:focus-visible {
  outline: 3px solid rgba(227, 6, 19, .2);
  outline-offset: 2px;
}

body.woocommerce-account .woocommerce-MyAccount-content {
  flex: 1 1 auto;
  min-width: 0;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--mb-account-line);
  border-radius: clamp(18px, 2vw, 24px);
  background: #fff;
}

body.woocommerce-account .woocommerce-MyAccount-content > :first-child {
  margin-top: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content > :last-child {
  margin-bottom: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title {
  color: var(--mb-account-dark);
  font-weight: 800;
  letter-spacing: -.02em;
}

body.woocommerce-account .woocommerce-MyAccount-content p {
  line-height: 1.9;
}

body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button) {
  color: var(--mb-account-red);
  text-underline-offset: 3px;
}

body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button,
body.woocommerce-account form .button,
body.woocommerce-account button[type=submit] {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--mb-account-red);
  color: #fff;
  font-weight: 750;
  line-height: 1.35;
  box-shadow: none;
}

body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button:hover,
body.woocommerce-account form .button:hover,
body.woocommerce-account button[type=submit]:hover {
  background: #bd0010;
  color: #fff;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button.view,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button.invoice,
body.woocommerce-account .woocommerce-Address-title .edit {
  border-color: var(--mb-account-line);
  background: #fff;
  color: var(--mb-account-dark);
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button.view:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button.invoice:hover,
body.woocommerce-account .woocommerce-Address-title .edit:hover {
  border-color: var(--mb-account-red);
  color: var(--mb-account-red);
  background: var(--mb-account-soft);
}

body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid var(--mb-account-line);
  border-inline-start: 4px solid var(--mb-account-red);
  border-radius: 13px;
  background: #fff;
  color: var(--mb-account-dark);
  box-shadow: none;
}

body.woocommerce-account .woocommerce-error {
  background: var(--mb-account-soft);
}

body.woocommerce-account form.login,
body.woocommerce-account form.register,
body.woocommerce-account form.lost_reset_password,
body.woocommerce-account .woocommerce-EditAccountForm,
body.woocommerce-account .woocommerce-address-fields {
  max-width: 780px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--mb-account-line);
  border-radius: var(--mb-account-radius);
  background: #fff;
}

body.woocommerce-account .woocommerce-form-row,
body.woocommerce-account .form-row {
  margin-bottom: 18px;
}

body.woocommerce-account label {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--mb-account-dark);
  font-size: 13px;
  font-weight: 700;
}

body.woocommerce-account input.input-text,
body.woocommerce-account input[type=email],
body.woocommerce-account input[type=password],
body.woocommerce-account input[type=text],
body.woocommerce-account input[type=tel],
body.woocommerce-account select,
body.woocommerce-account textarea,
body.woocommerce-account .select2-selection {
  min-height: 48px;
  border: 1px solid #d9d9de;
  border-radius: 11px;
  background: #fff;
  color: var(--mb-account-dark);
  box-shadow: none;
}

body.woocommerce-account input:focus,
body.woocommerce-account select:focus,
body.woocommerce-account textarea:focus,
body.woocommerce-account .select2-container--focus .select2-selection {
  border-color: var(--mb-account-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, .1);
}

body.woocommerce-account fieldset {
  margin: 28px 0 20px;
  padding: 22px;
  border: 1px solid var(--mb-account-line);
  border-radius: 14px;
  background: #fafafa;
}

body.woocommerce-account fieldset legend {
  padding: 0 10px;
  color: var(--mb-account-dark);
  font-weight: 800;
}

body.woocommerce-account table.shop_table,
body.woocommerce-account .woocommerce-table {
  width: 100%;
  margin: 18px 0 26px;
  border: 1px solid var(--mb-account-line);
  border-radius: 15px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
}

body.woocommerce-account table.shop_table th,
body.woocommerce-account .woocommerce-table th {
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--mb-account-line);
  background: #fafafa;
  color: #55555c;
  font-size: 12px;
  font-weight: 800;
}

body.woocommerce-account table.shop_table td,
body.woocommerce-account .woocommerce-table td {
  padding: 16px;
  border: 0;
  border-bottom: 1px solid #eeeeF0;
  color: var(--mb-account-dark);
  vertical-align: middle;
}

body.woocommerce-account table.shop_table tr:last-child td,
body.woocommerce-account .woocommerce-table tr:last-child td {
  border-bottom: 0;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-status,
body.woocommerce-account mark.order-status {
  font-weight: 750;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-actions {
  white-space: nowrap;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button {
  min-height: 38px;
  margin: 3px;
  padding: 8px 12px;
  font-size: 12px;
}

body.woocommerce-account .woocommerce-order-details,
body.woocommerce-account .woocommerce-customer-details {
  margin-top: 28px;
}

body.woocommerce-account .woocommerce-customer-details address,
body.woocommerce-account .woocommerce-Address {
  padding: 20px;
  border: 1px solid var(--mb-account-line);
  border-radius: 14px;
  background: #fff;
  font-style: normal;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

body.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.woocommerce-account .woocommerce-Address {
  width: auto;
  margin: 0;
}

body.woocommerce-account .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-Address-title h3 {
  margin: 0;
  font-size: 18px;
}

body.woocommerce-account .woocommerce-Address-title .edit {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid var(--mb-account-line);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 750;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button {
  margin-inline-start: 14px;
}

body.woocommerce-account .woocommerce-MyAccount-content code,
body.woocommerce-account .woocommerce-MyAccount-content a {
  overflow-wrap: anywhere;
}

body.woocommerce-account .woocommerce-password-strength {
  margin-top: 8px;
  border-radius: 8px;
}

@media (max-width: 991px) {
  body.woocommerce-account .woocommerce-my-account-wrapper {
    display: block;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation {
    position: static;
    width: 100%;
    margin-bottom: 20px;
    padding: 7px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    width: max-content;
    min-width: 100%;
    gap: 6px;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a {
    min-height: 42px;
    padding: 9px 13px;
    white-space: nowrap;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child a {
    margin-top: 0;
    border-top: 0;
    border-inline-start: 1px solid var(--mb-account-line);
    border-radius: 10px;
  }

  body.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    padding: clamp(20px, 4vw, 30px);
  }
}

@media (max-width: 767px) {
  body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 20px 16px;
    border-radius: 17px;
  }

  body.woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account form.login,
  body.woocommerce-account form.register,
  body.woocommerce-account form.lost_reset_password,
  body.woocommerce-account .woocommerce-EditAccountForm,
  body.woocommerce-account .woocommerce-address-fields {
    padding: 18px 15px;
  }

  body.woocommerce-account fieldset {
    padding: 18px 14px;
  }

  body.woocommerce-account .woocommerce-orders-table,
  body.woocommerce-account .woocommerce-orders-table tbody,
  body.woocommerce-account .woocommerce-orders-table tr,
  body.woocommerce-account .woocommerce-orders-table td {
    display: block;
    width: 100%;
  }

  body.woocommerce-account .woocommerce-orders-table thead {
    display: none;
  }

  body.woocommerce-account .woocommerce-orders-table tr {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid var(--mb-account-line);
    border-radius: 13px;
    background: #fff;
  }

  body.woocommerce-account .woocommerce-orders-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f2;
    text-align: left;
  }

  body.woocommerce-account .woocommerce-orders-table td:last-child {
    border-bottom: 0;
  }

  body.woocommerce-account .woocommerce-orders-table td::before {
    flex: 0 0 auto;
    color: #74747b;
    font-size: 12px;
    font-weight: 750;
    content: attr(data-title);
  }

  body.woocommerce-account .woocommerce-orders-table__cell-order-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.woocommerce-account .woocommerce-orders-table__cell-order-actions::before {
    display: none;
  }

  body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button {
    width: 100%;
    margin: 3px 0;
    text-align: center;
  }

  body.woocommerce-account table.shop_table,
  body.woocommerce-account .woocommerce-table {
    font-size: 13px;
  }

  body.woocommerce-account table.shop_table th,
  body.woocommerce-account table.shop_table td,
  body.woocommerce-account .woocommerce-table th,
  body.woocommerce-account .woocommerce-table td {
    padding: 12px 10px;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button {
    display: block;
    width: 100%;
    margin: 12px 0 0;
    text-align: center;
  }
}

@media (max-width: 430px) {
  body.woocommerce-account .woocommerce-MyAccount-content,
  body.woocommerce-account .woocommerce-MyAccount-content > *,
  body.woocommerce-account .woocommerce-Addresses,
  body.woocommerce-account form {
    min-width: 0;
    max-width: 100%;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation {
    margin-inline: 0;
  }

  body.woocommerce-account input,
  body.woocommerce-account select,
  body.woocommerce-account textarea {
    max-width: 100%;
  }

  body.woocommerce-account form .button,
  body.woocommerce-account button[type=submit] {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* MOBILE BASTANI — MY ACCOUNT MOBILE NAV CONFLICT FIX */
@media (max-width: 991px) {
  body.woocommerce-account .woocommerce-MyAccount-navigation > ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    width: max-content !important;
    min-width: 100%;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation > ul > li {
    display: block;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0;
  }
}


/* ==========================================================================
   MOBILE BASTANI — CONTACT PAGE PREMIUM POLISH — 2026-09-28
   Scope: page ID 29 only
   ========================================================================== */
body.page-id-29 {
  --mb-contact-red: #E30613;
  --mb-contact-dark: #1A1A1F;
  --mb-contact-muted: #68686f;
  --mb-contact-line: #e5e5e9;
  --mb-contact-soft: #f7f7f8;
  --mb-contact-red-soft: #fff4f5;
}

body.page-id-29 .main-page-wrapper {
  background: #fff;
}

body.page-id-29 .wd-content-layout,
body.page-id-29 .wd-content-area,
body.page-id-29 #post-29 {
  min-width: 0;
}

body.page-id-29 .mb-contact-page {
  width: 100% !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  padding: clamp(34px, 5vw, 58px) 24px 72px !important;
  color: var(--mb-contact-dark) !important;
}

body.page-id-29 .mb-contact-page__header {
  max-width: 680px !important;
  margin: 0 auto clamp(28px, 4vw, 40px) !important;
  text-align: center !important;
}

body.page-id-29 .mb-contact-page__title {
  margin: 0 0 10px !important;
  color: var(--mb-contact-dark) !important;
  font-size: clamp(30px, 3.2vw, 40px) !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
  letter-spacing: -.035em !important;
}

body.page-id-29 .mb-contact-page__subtitle {
  max-width: 560px !important;
  margin-inline: auto !important;
  color: var(--mb-contact-muted) !important;
  font-size: 15px !important;
  line-height: 1.9 !important;
}

body.page-id-29 .mb-contact-page__grid {
  display: grid !important;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr) !important;
  gap: 20px !important;
  align-items: stretch !important;
}

body.page-id-29 .mb-contact-card,
body.page-id-29 .mb-contact-map-card {
  min-width: 0;
  padding: clamp(24px, 2.6vw, 32px) !important;
  border: 1px solid var(--mb-contact-line) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.page-id-29 .mb-contact-card__heading {
  margin: 0 0 22px !important;
  padding: 0 0 15px !important;
  border-bottom: 1px solid var(--mb-contact-line) !important;
  color: var(--mb-contact-dark) !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
  letter-spacing: -.02em !important;
}

body.page-id-29 .mb-contact-card__heading::after {
  bottom: -1px !important;
  width: 44px !important;
  height: 2px !important;
  background: var(--mb-contact-red) !important;
}

body.page-id-29 .mb-contact-list {
  gap: 10px !important;
  margin-bottom: 24px !important;
}

body.page-id-29 .mb-contact-item {
  width: 100%;
  min-width: 0;
  min-height: 68px;
  align-items: center !important;
  gap: 13px !important;
  padding: 12px 13px !important;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--mb-contact-soft);
  transition: border-color .2s ease, background-color .2s ease;
}

body.page-id-29 .mb-contact-item:hover {
  border-color: #dedee3;
  background: #fff;
}

body.page-id-29 .mb-contact-item__icon {
  width: 42px !important;
  height: 42px !important;
  border: 1px solid #ffe1e3;
  border-radius: 12px !important;
  background: var(--mb-contact-red-soft) !important;
}

body.page-id-29 .mb-contact-item__content {
  min-width: 0;
  gap: 3px !important;
}

body.page-id-29 .mb-contact-item__label {
  color: #77777f !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.55 !important;
}

body.page-id-29 .mb-contact-item__val,
body.page-id-29 .mb-contact-item__link {
  color: var(--mb-contact-dark) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.85 !important;
  overflow-wrap: anywhere;
}

body.page-id-29 .mb-contact-item__link:hover {
  color: var(--mb-contact-red) !important;
}

body.page-id-29 .mb-contact-item__link[href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

body.page-id-29 .mb-contact-item:has(a[href^="mailto:"]),
body.page-id-29 .mb-contact-btn[href^="mailto:"] {
  display: none !important;
}

body.page-id-29 .mb-contact-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: auto !important;
}

body.page-id-29 .mb-contact-btn {
  min-width: 0;
  min-height: 48px !important;
  padding: 11px 15px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease !important;
}

body.page-id-29 .mb-contact-btn--primary {
  grid-column: 1 / -1;
  border-color: var(--mb-contact-red) !important;
  background: var(--mb-contact-red) !important;
  color: #fff !important;
}

body.page-id-29 .mb-contact-btn--primary:hover {
  border-color: #bd0010 !important;
  background: #bd0010 !important;
}

body.page-id-29 .mb-contact-btn--outline {
  border-color: var(--mb-contact-line) !important;
  background: #fff !important;
  color: var(--mb-contact-dark) !important;
}

body.page-id-29 .mb-contact-btn--outline:hover {
  border-color: var(--mb-contact-red) !important;
  background: var(--mb-contact-red-soft) !important;
  color: var(--mb-contact-red) !important;
}

body.page-id-29 .mb-contact-btn:focus-visible,
body.page-id-29 .mb-contact-item__link:focus-visible,
body.page-id-29 .mb-contact-map-wrapper iframe:focus-visible {
  outline: 3px solid rgba(227, 6, 19, .22) !important;
  outline-offset: 3px !important;
}

body.page-id-29 .mb-contact-map-card__header {
  display: block !important;
  margin-bottom: 16px !important;
}

body.page-id-29 .mb-contact-map-card__header .mb-contact-card__heading {
  margin-bottom: 10px !important;
}

body.page-id-29 .mb-contact-map-card__badge {
  display: inline-flex;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mb-contact-red-soft);
  color: var(--mb-contact-red) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.6;
}

body.page-id-29 .mb-contact-map-wrapper {
  min-height: 410px !important;
  overflow: hidden !important;
  border: 1px solid var(--mb-contact-line);
  border-radius: 16px !important;
  background: var(--mb-contact-soft);
  box-shadow: none !important;
}

body.page-id-29 .mb-contact-map-wrapper iframe {
  display: block;
  width: 100% !important;
  min-height: 410px !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body.page-id-29 .mb-contact-map-footer {
  margin: 15px 0 0 !important;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--mb-contact-soft);
  color: #55555d !important;
  font-size: 12.5px !important;
  line-height: 1.9 !important;
}

@media (max-width: 900px) {
  body.page-id-29 .mb-contact-page {
    max-width: 760px !important;
  }

  body.page-id-29 .mb-contact-page__grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  body.page-id-29 .mb-contact-map-wrapper,
  body.page-id-29 .mb-contact-map-wrapper iframe {
    min-height: 360px !important;
  }
}

@media (max-width: 600px) {
  body.page-id-29 .mb-contact-page {
    padding: 28px 14px 48px !important;
  }

  body.page-id-29 .mb-contact-page__header {
    margin-bottom: 24px !important;
    padding-inline: 8px;
  }

  body.page-id-29 .mb-contact-page__title {
    font-size: 27px !important;
  }

  body.page-id-29 .mb-contact-page__subtitle {
    font-size: 13.5px !important;
  }

  body.page-id-29 .mb-contact-card,
  body.page-id-29 .mb-contact-map-card {
    padding: 18px 15px !important;
    border-radius: 18px !important;
  }

  body.page-id-29 .mb-contact-card__heading {
    margin-bottom: 17px !important;
    font-size: 17px !important;
  }

  body.page-id-29 .mb-contact-item {
    min-height: 64px;
    align-items: flex-start !important;
    padding: 11px !important;
  }

  body.page-id-29 .mb-contact-item__icon {
    width: 38px !important;
    height: 38px !important;
  }

  body.page-id-29 .mb-contact-actions {
    grid-template-columns: 1fr !important;
  }

  body.page-id-29 .mb-contact-btn--primary {
    grid-column: auto;
  }

  body.page-id-29 .mb-contact-btn {
    width: 100%;
    min-height: 50px !important;
  }

  body.page-id-29 .mb-contact-map-card__badge {
    border-radius: 10px;
  }

  body.page-id-29 .mb-contact-map-wrapper,
  body.page-id-29 .mb-contact-map-wrapper iframe {
    min-height: 300px !important;
  }

  body.page-id-29 .mb-contact-map-footer {
    padding: 11px 12px;
  }
}


/* Contact page keyboard-focus micro-fix — 2026-09-29 */
body.page-id-29 .mb-contact-map-wrapper:focus-within {
  outline: 3px solid rgba(227, 6, 19, 0.22);
  outline-offset: 3px;
}


/* Mobile Bastani — 404 premium state — 2026-09-29 */
body.error404 #main-content {
  padding-block: clamp(48px, 7vw, 104px) !important;
}

body.error404 #main-content > .wd-content-area {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid #e6e6e9;
  border-radius: 24px;
  background: #fff;
  text-align: center;
}

body.error404 #main-content .page-header,
body.error404 #main-content .page-content {
  position: relative;
  z-index: 1;
}

body.error404 #main-content .page-header {
  margin: 0 0 16px !important;
  padding: 54px 0 0 !important;
  background: transparent !important;
}

body.error404 #main-content .page-header::before {
  inset-block-start: -30px;
  inset-inline-start: 50%;
  z-index: 0;
  transform: translateX(-50%);
  color: #f5f5f6;
  font-size: clamp(112px, 15vw, 210px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
  pointer-events: none;
}

body.error404 #main-content .page-header .title {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 !important;
  padding: 6px 12px;
  border: 1px solid rgba(227, 6, 19, .18);
  border-radius: 999px;
  color: #e30613;
  background: #fff;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.error404 #main-content .page-content {
  max-width: 620px;
  margin-inline: auto;
}

body.error404 #main-content .page-content h1 {
  max-width: 560px;
  margin: 0 auto 12px !important;
  color: #1a1a1f;
  font-size: clamp(26px, 3.1vw, 42px) !important;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
}

body.error404 #main-content .page-content > p {
  max-width: 520px;
  margin: 0 auto 28px !important;
  color: #5f6068;
  font-size: 15px;
  line-height: 1.9;
}

body.error404 #main-content .wd-search-form {
  max-width: 560px;
  margin-inline: auto;
}

body.error404 #main-content .searchform {
  display: flex;
  min-height: 54px;
  padding: 5px;
  border: 1px solid #d9d9de !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.error404 #main-content .searchform:focus-within {
  border-color: #e30613 !important;
  outline: 3px solid rgba(227, 6, 19, .12);
  outline-offset: 2px;
}

body.error404 #main-content .searchform .s {
  min-width: 0;
  height: auto !important;
  padding-inline: 14px !important;
  border: 0 !important;
  background: transparent !important;
  color: #1a1a1f !important;
  font-family: Vazirmatn, sans-serif;
  box-shadow: none !important;
}

body.error404 #main-content .searchform .searchsubmit {
  min-width: 112px;
  min-height: 44px;
  padding-inline: 18px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #e30613 !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.error404 #main-content .searchform .searchsubmit:hover {
  background: #c9000c !important;
}

body.error404 #main-content .searchform .searchsubmit:focus-visible {
  outline: 3px solid rgba(227, 6, 19, .28);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  body.error404 #main-content {
    padding-block: 32px 48px !important;
  }

  body.error404 #main-content > .wd-content-area {
    padding: 28px 18px;
    border-radius: 18px;
  }

  body.error404 #main-content .page-header {
    margin-bottom: 12px !important;
    padding-top: 52px !important;
  }

  body.error404 #main-content .page-header::before {
    inset-block-start: -8px;
    font-size: 112px;
  }

  body.error404 #main-content .page-content h1 {
    font-size: 25px !important;
  }

  body.error404 #main-content .page-content > p {
    margin-bottom: 22px !important;
    font-size: 14px;
  }

  body.error404 #main-content .searchform {
    min-height: 50px;
  }

  body.error404 #main-content .searchform .searchsubmit {
    min-width: 96px;
    min-height: 40px;
    padding-inline: 14px !important;
  }
}

@media (max-width: 400px) {
  body.error404 #main-content > .wd-content-area {
    padding-inline: 14px;
  }

  body.error404 #main-content .searchform .s {
    padding-inline: 10px !important;
    font-size: 13px !important;
  }

  body.error404 #main-content .searchform .searchsubmit {
    min-width: 86px;
    padding-inline: 10px !important;
  }
}


/* 404 RTL centering correction — 2026-09-29 */
body.error404 #main-content .page-header::before {
  left: 50%;
  right: auto;
}
