:root {
	--wd-text-font: vazir, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(35,35,35);
	--wd-text-font-size: 18px;
	--wd-title-font: vazir, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-transform: none;
	--wd-title-color: #242424;
	--wd-entities-title-font: vazir, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-transform: none;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: vazir, sans-serif;
	--wd-widget-title-font: vazir, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 21px;
	--wd-header-el-font: vazir, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 16px;
	--wd-brd-radius: 10px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(25,101,168);
	--wd-alternative-color: rgb(130,36,227);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(25,101,168);
	--btn-accented-bgcolor-hover: rgba(25,101,168,0.7);
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgba(25,101,168,0);
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(250,248,245);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(250,248,245);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(250,248,245);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(250,248,245);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(250,248,245);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(250,248,245);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(250,248,245);
	background-image: none;
}
html .widget_price_filter [class*="price_slider_amount"] .button {
	color: rgb(255,255,255);
	background: rgb(25,101,168);
}
html .widget_price_filter [class*="price_slider_amount"] .button:hover {
	color: rgb(255,255,255);
	background: rgb(128,171,94);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-bg: rgb(255,255,255);
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-size: 40px;
	--wd-arrow-icon-size: 16px;
	--wd-arrow-offset-h: 20px;
	--wd-arrow-color: rgb(51,51,51);
	--wd-arrow-color-hover: rgb(255,255,255);
	--wd-arrow-color-dis: rgba(51,51,51,0.8);
	--wd-arrow-bg: rgb(255,255,255);
	--wd-arrow-bg-hover: rgb(140,188,103);
	--wd-arrow-bg-dis: rgb(255,255,255);
	--wd-arrow-radius: 10px;
	--wd-arrow-shadow: 0px 0px 0px 0px rgba(255,255,255,0);
}
.wd-nav-scroll {
	--wd-nscroll-height: 3px;
	--wd-nscroll-drag-bg: rgb(140,188,103);
	--wd-nscroll-drag-bg-hover: rgb(128,171,94);
}
.wd .product-label.new {
	background-color: rgb(140,188,103);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}
	[class*="thumbs-grid-bottom"] .woocommerce-product-gallery__wrapper.wd-grid {
		--wd-col: 1;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}
	[class*="thumbs-grid-bottom"] .woocommerce-product-gallery__wrapper.wd-grid {
		--wd-col: 1;
	}

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

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


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

/* =========================================================
   WOOCOMMERCE CHECKOUT UI - MATCHED WITH CART STYLE
   Woodmart + WooCommerce
   Blue / Carded / Responsive / RTL-friendly
   ========================================================= */

:root{
  --cx-primary: #2563eb;
  --cx-primary-dark: #1d4ed8;
  --cx-primary-soft: #eff6ff;
  --cx-border: #dbeafe;
  --cx-border-soft: #eef4ff;
  --cx-text: #0f172a;
  --cx-muted: #64748b;
  --cx-danger: #dc2626;
  --cx-success: #16a34a;
  --cx-bg-1: #f8fbff;
  --cx-bg-2: #f4f8ff;
  --cx-card: rgba(255,255,255,.94);
  --cx-shadow: 0 18px 40px rgba(37,99,235,.08);
  --cx-shadow-soft: 0 10px 24px rgba(15,23,42,.04);
  --cx-radius-xl: 28px;
  --cx-radius-lg: 20px;
  --cx-radius-md: 16px;
}

/* =========================
   Page background
   ========================= */
body.woocommerce-checkout{
  background:
    radial-gradient(circle at 0% 0%, rgba(37,99,235,.08), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(59,130,246,.10), transparent 20%),
    linear-gradient(180deg, var(--cx-bg-1) 0%, var(--cx-bg-2) 100%);
  color: var(--cx-text);
}

body.woocommerce-checkout .main-page-wrapper,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .wd-content-layout,
body.woocommerce-checkout .wd-page-content{
  background: transparent !important;
}

/* =========================
   Page title
   ========================= */
body.woocommerce-checkout .entry-title,
body.woocommerce-checkout .page-title,
body.woocommerce-checkout h1{
  color: var(--cx-text);
  font-weight: 900;
  letter-spacing: -.4px;
  margin-bottom: 16px;
  font-size: clamp(28px, 2vw, 40px);
}

/* =========================
   Notices / coupon / login
   ========================= */
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error{
  background: rgba(255,255,255,.92);
  border: 1px solid var(--cx-border);
  border-radius: 18px;
  box-shadow: var(--cx-shadow-soft);
  padding: 16px 18px !important;
  color: var(--cx-text);
  margin-bottom: 16px;
}

body.woocommerce-checkout .woocommerce-error{
  background: #fff8f8;
  border-color: rgba(220,38,38,.14);
}

body.woocommerce-checkout .woocommerce-message{
  background: #f3fff7;
  border-color: rgba(22,163,74,.14);
}

body.woocommerce-checkout .checkout_coupon,
body.woocommerce-checkout .woocommerce-form-login{
  background: rgba(255,255,255,.94);
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-xl);
  box-shadow: var(--cx-shadow);
  padding: 22px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

body.woocommerce-checkout .checkout_coupon::before,
body.woocommerce-checkout .woocommerce-form-login::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #60a5fa, #2563eb, #1d4ed8);
}

/* =========================
   Main checkout layout
   ========================= */
body.woocommerce-checkout form.checkout{
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(500px, .85fr);
  gap: 32px;
  align-items: start;
  margin-top: 20px;
  width: 100%;
}

body.woocommerce-checkout #customer_details{
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

body.woocommerce-checkout #order_review{
  min-width: 0;
  position: sticky;
  top: 24px;
}

/* =========================
   Shared cards
   ========================= */
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review{
  background: var(--cx-card);
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-xl);
  box-shadow: var(--cx-shadow);
  padding: 26px;
  position: relative;
  overflow: hidden;
}

body.woocommerce-checkout .woocommerce-billing-fields::before,
body.woocommerce-checkout .woocommerce-shipping-fields::before,
body.woocommerce-checkout .woocommerce-additional-fields::before,
body.woocommerce-checkout #order_review::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #60a5fa, #2563eb, #1d4ed8);
}

/* =========================
   Section titles
   ========================= */
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-shipping-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3{
  margin: 0 0 18px;
  color: var(--cx-text);
  font-size: 24px;
  font-weight: 900;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cx-border-soft);
}

body.woocommerce-checkout #order_review_heading{
  display: none !important;
}

body.woocommerce-checkout #order_review .shop_table::before{
  content: "خلاصه سفارش";
  display: block;
  margin-bottom: 18px;
  color: var(--cx-text);
  font-size: 24px;
  font-weight: 900;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cx-border-soft);
}

/* =========================
   Field wrappers
   ========================= */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.woocommerce-checkout .form-row{
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.woocommerce-checkout .form-row-wide,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #shipping_address_1_field,
body.woocommerce-checkout #shipping_address_2_field,
body.woocommerce-checkout #order_comments_field,
body.woocommerce-checkout #billing_company_field{
  grid-column: 1 / -1;
}

/* =========================
   Labels
   ========================= */
body.woocommerce-checkout .form-row label{
  display: block;
  margin: 0 0 8px;
  color: var(--cx-text);
  font-size: 14px;
  font-weight: 800;
}

/* =========================
   Inputs / textarea / select
   ========================= */
body.woocommerce-checkout .input-text,
body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout input[type="password"],
body.woocommerce-checkout input[type="number"],
body.woocommerce-checkout select,
body.woocommerce-checkout textarea{
  width: 100%;
  min-height: 56px;
  border-radius: 16px !important;
  border: 1px solid var(--cx-border) !important;
  background: #fff !important;
  color: var(--cx-text) !important;
  padding: 0 16px !important;
  box-shadow: none !important;
  transition: .2s ease;
  font-size: 14px;
}

body.woocommerce-checkout textarea{
  min-height: 130px;
  padding: 14px 16px !important;
  resize: vertical;
  line-height: 1.9;
}

body.woocommerce-checkout .input-text:hover,
body.woocommerce-checkout input[type="text"]:hover,
body.woocommerce-checkout input[type="email"]:hover,
body.woocommerce-checkout input[type="tel"]:hover,
body.woocommerce-checkout input[type="password"]:hover,
body.woocommerce-checkout input[type="number"]:hover,
body.woocommerce-checkout select:hover,
body.woocommerce-checkout textarea:hover{
  border-color: #bfdbfe !important;
}

body.woocommerce-checkout .input-text:focus,
body.woocommerce-checkout input[type="text"]:focus,
body.woocommerce-checkout input[type="email"]:focus,
body.woocommerce-checkout input[type="tel"]:focus,
body.woocommerce-checkout input[type="password"]:focus,
body.woocommerce-checkout input[type="number"]:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout textarea:focus{
  outline: none !important;
  border-color: var(--cx-primary) !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,.10) !important;
}

/* =========================
   Select2
   ========================= */
body.woocommerce-checkout .select2-container{
  width: 100% !important;
}

body.woocommerce-checkout .select2-container .select2-selection--single{
  min-height: 56px;
  border-radius: 16px !important;
  border: 1px solid var(--cx-border) !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 16px !important;
  transition: .2s ease;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{
  padding: 0 !important;
  line-height: normal !important;
  color: var(--cx-text) !important;
  font-size: 14px;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{
  top: 50%;
  transform: translateY(-50%);
  left: 12px;
  right: auto;
}

body.woocommerce-checkout .select2-container .select2-selection--single:hover,
body.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single{
  border-color: var(--cx-primary) !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,.10) !important;
}

/* =========================
   Shipping checkbox title
   ========================= */
body.woocommerce-checkout .woocommerce-shipping-fields h3 label{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}

/* =========================
   Order review table
   ========================= */
body.woocommerce-checkout table.shop_table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  margin: 0;
}

body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td{
  padding: 14px 0;
  border-bottom: 1px solid var(--cx-border-soft);
  text-align: right;
  vertical-align: middle;
  color: var(--cx-text);
  font-size: 14px;
}

body.woocommerce-checkout table.shop_table thead th{
  color: var(--cx-muted);
  font-size: 13px;
  font-weight: 800;
}

body.woocommerce-checkout table.shop_table .product-name{
  font-weight: 800;
  line-height: 1.9;
}

body.woocommerce-checkout table.shop_table .amount,
body.woocommerce-checkout table.shop_table .woocommerce-Price-amount{
  font-weight: 900;
  color: var(--cx-primary);
}

body.woocommerce-checkout table.shop_table tfoot th{
  font-weight: 800;
}

body.woocommerce-checkout table.shop_table tfoot td{
  font-weight: 900;
}

body.woocommerce-checkout table.shop_table .order-total th,
body.woocommerce-checkout table.shop_table .order-total td{
  font-size: 17px;
  border-bottom: 0;
}

body.woocommerce-checkout table.shop_table .order-total .amount{
  font-size: 20px;
}

/* =========================
   Payment methods
   ========================= */
body.woocommerce-checkout #payment{
  background: transparent !important;
  border: 0 !important;
  margin-top: 18px;
  padding-top: 6px;
}

body.woocommerce-checkout #payment ul.payment_methods{
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
}

body.woocommerce-checkout #payment ul.payment_methods li{
  list-style: none;
  margin: 0 0 12px;
  padding: 16px;
  border: 1px solid var(--cx-border);
  border-radius: 18px;
  background: #fff;
  transition: .2s ease;
}

body.woocommerce-checkout #payment ul.payment_methods li:hover{
  background: var(--cx-primary-soft);
  border-color: #bfdbfe;
}

body.woocommerce-checkout #payment ul.payment_methods li > input{
  transform: scale(1.1);
  accent-color: var(--cx-primary);
  margin-left: 10px;
}

body.woocommerce-checkout #payment ul.payment_methods li > label{
  font-weight: 800;
  color: var(--cx-text);
  cursor: pointer;
}

body.woocommerce-checkout #payment div.payment_box{
  margin-top: 12px !important;
  border-radius: 16px !important;
  border: 1px solid var(--cx-border) !important;
  background: var(--cx-primary-soft) !important;
  color: var(--cx-muted) !important;
  padding: 14px 16px !important;
  line-height: 1.9;
  box-shadow: none !important;
}

body.woocommerce-checkout #payment div.payment_box::before{
  display: none !important;
}

/* =========================
   Place order button
   ========================= */
body.woocommerce-checkout .place-order{
  margin-top: 8px;
}

body.woocommerce-checkout #place_order{
  width: 100%;
  min-height: 58px;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #1e40af 100%) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  box-shadow: 0 18px 40px rgba(37,99,235,.24);
  transition: .2s ease;
}

body.woocommerce-checkout #place_order:hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(37,99,235,.30);
}

/* قوانین / privacy */
body.woocommerce-checkout .woocommerce-privacy-policy-text,
body.woocommerce-checkout .place-order .form-row{
  color: var(--cx-muted);
  font-size: 13px;
  line-height: 2;
}

/* required */
body.woocommerce-checkout abbr.required{
  color: var(--cx-danger);
  text-decoration: none;
  font-weight: 900;
}

/* =========================
   Desktop wider layout
   ========================= */
@media (min-width: 1025px){
  body.woocommerce-checkout .container,
  body.woocommerce-checkout .wd-container,
  body.woocommerce-checkout .wd-content-area,
  body.woocommerce-checkout .site-content,
  body.woocommerce-checkout .main-page-wrapper,
  body.woocommerce-checkout .content-layout-wrapper,
  body.woocommerce-checkout .wd-page-content,
  body.woocommerce-checkout .wd-content-layout,
  body.woocommerce-checkout .woocommerce{
    width: 100% !important;
    max-width: 100% !important;
  }

  body.woocommerce-checkout .main-page-wrapper,
  body.woocommerce-checkout .wd-page-content,
  body.woocommerce-checkout .wd-content-layout,
  body.woocommerce-checkout .site-content{
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (min-width: 1500px){
  body.woocommerce-checkout form.checkout{
    grid-template-columns: minmax(0, 2fr) minmax(540px, .82fr);
    gap: 38px;
  }

  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-shipping-fields,
  body.woocommerce-checkout .woocommerce-additional-fields,
  body.woocommerce-checkout #order_review{
    padding: 30px;
  }
}

/* =========================
   Tablet / mobile
   ========================= */
@media (max-width: 1024px){
  body.woocommerce-checkout form.checkout{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.woocommerce-checkout #order_review{
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px){
  body.woocommerce-checkout .entry-title,
  body.woocommerce-checkout .page-title,
  body.woocommerce-checkout h1{
    font-size: 26px;
    margin-bottom: 12px;
  }

  body.woocommerce-checkout form.checkout{
    gap: 16px;
    margin-top: 14px;
  }

  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-shipping-fields,
  body.woocommerce-checkout .woocommerce-additional-fields,
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout .checkout_coupon,
  body.woocommerce-checkout .woocommerce-form-login{
    padding: 18px;
    border-radius: 20px;
  }

  body.woocommerce-checkout .woocommerce-billing-fields > h3,
  body.woocommerce-checkout .woocommerce-shipping-fields > h3,
  body.woocommerce-checkout .woocommerce-additional-fields > h3,
  body.woocommerce-checkout #order_review .shop_table::before{
    font-size: 20px;
  }

  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.woocommerce-checkout .input-text,
  body.woocommerce-checkout input[type="text"],
  body.woocommerce-checkout input[type="email"],
  body.woocommerce-checkout input[type="tel"],
  body.woocommerce-checkout input[type="password"],
  body.woocommerce-checkout input[type="number"],
  body.woocommerce-checkout select,
  body.woocommerce-checkout textarea,
  body.woocommerce-checkout .select2-container .select2-selection--single{
    min-height: 52px;
    font-size: 14px;
  }

  body.woocommerce-checkout textarea{
    min-height: 115px;
  }

  body.woocommerce-checkout table.shop_table th,
  body.woocommerce-checkout table.shop_table td{
    padding: 12px 0;
    font-size: 13px;
  }

  body.woocommerce-checkout table.shop_table .order-total th,
  body.woocommerce-checkout table.shop_table .order-total td{
    font-size: 15px;
  }

  body.woocommerce-checkout table.shop_table .order-total .amount{
    font-size: 17px;
  }

  body.woocommerce-checkout #payment ul.payment_methods li{
    padding: 14px;
    border-radius: 16px;
  }

  body.woocommerce-checkout #place_order{
    min-height: 54px;
  }
}

@media (max-width: 480px){
  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-shipping-fields,
  body.woocommerce-checkout .woocommerce-additional-fields,
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout .checkout_coupon,
  body.woocommerce-checkout .woocommerce-form-login{
    padding: 15px;
    border-radius: 18px;
  }

  body.woocommerce-checkout .entry-title,
  body.woocommerce-checkout .page-title,
  body.woocommerce-checkout h1{
    font-size: 23px;
  }

  body.woocommerce-checkout .woocommerce-billing-fields > h3,
  body.woocommerce-checkout .woocommerce-shipping-fields > h3,
  body.woocommerce-checkout .woocommerce-additional-fields > h3,
  body.woocommerce-checkout #order_review .shop_table::before{
    font-size: 18px;
  }
}


/* =========================================================
   WOOCOMMERCE CART UI - MATCHED WITH CHECKOUT STYLE
   Woodmart + WooCommerce
   ========================================================= */

body.woocommerce-cart{
  background:
    radial-gradient(circle at 0% 0%, rgba(37,99,235,.08), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(59,130,246,.10), transparent 20%),
    linear-gradient(180deg, #f8fbff 0%, #f4f8ff 100%);
}

/* عنوان صفحه */
body.woocommerce-cart .entry-title,
body.woocommerce-cart .page-title,
body.woocommerce-cart h1{
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -.4px;
  margin-bottom: 16px;
  font-size: clamp(28px, 2vw, 40px);
}

/* کانتینر کلی */
body.woocommerce-cart .woocommerce{
  position: relative;
}

/* فرم اصلی سبد */
body.woocommerce-cart form.woocommerce-cart-form{
  background: rgba(255,255,255,.92);
  border: 1px solid #dbeafe;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(37,99,235,.08);
  padding: 24px;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}

body.woocommerce-cart form.woocommerce-cart-form::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #60a5fa, #2563eb, #1d4ed8);
}

/* جدول سبد */
body.woocommerce-cart table.shop_table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  margin: 0;
}

body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td{
  padding: 16px 12px;
  border-bottom: 1px solid #eef4ff;
  color: #0f172a;
  text-align: right;
  vertical-align: middle;
}

body.woocommerce-cart table.shop_table th{
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

body.woocommerce-cart table.shop_table td{
  font-size: 14px;
}

/* ردیف محصول */
body.woocommerce-cart table.shop_table tr.cart_item{
  transition: .2s ease;
}

body.woocommerce-cart table.shop_table tr.cart_item:hover{
  background: rgba(239,246,255,.55);
}

/* تصویر محصول */
body.woocommerce-cart table.shop_table td.product-thumbnail img{
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid #dbeafe;
  background: #fff;
  padding: 6px;
}

/* نام محصول */
body.woocommerce-cart td.product-name a{
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.9;
}

body.woocommerce-cart td.product-name a:hover{
  color: #2563eb;
}

/* قیمت‌ها */
body.woocommerce-cart .amount,
body.woocommerce-cart .woocommerce-Price-amount{
  font-weight: 900;
  color: #2563eb;
}

/* حذف محصول */
body.woocommerce-cart td.product-remove a.remove{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #fff5f5;
  color: #dc2626 !important;
  font-size: 22px;
  border: 1px solid rgba(220,38,38,.12);
  transition: .2s ease;
}

body.woocommerce-cart td.product-remove a.remove:hover{
  background: #dc2626 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* quantity */
body.woocommerce-cart .quantity .qty{
  min-height: 46px;
  min-width: 84px;
  border-radius: 14px !important;
  border: 1px solid #dbeafe !important;
  background: #fff !important;
  text-align: center;
  color: #0f172a;
  font-weight: 700;
  box-shadow: none !important;
}

body.woocommerce-cart .quantity .qty:focus{
  border-color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,.10) !important;
  outline: none !important;
}

/* کوپن + آپدیت */
body.woocommerce-cart .actions{
  padding-top: 18px !important;
}

body.woocommerce-cart .coupon{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

body.woocommerce-cart .coupon label{
  display: none;
}

body.woocommerce-cart .coupon input.input-text{
  min-height: 50px;
  min-width: 240px;
  border-radius: 16px !important;
  border: 1px solid #dbeafe !important;
  background: #fff !important;
  padding: 0 16px !important;
  color: #0f172a;
}

body.woocommerce-cart .coupon input.input-text:focus{
  border-color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,.10) !important;
  outline: none !important;
}

/* دکمه‌ها */
body.woocommerce-cart .button,
body.woocommerce-cart button.button,
body.woocommerce-cart input.button,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  border: 0 !important;
  border-radius: 16px !important;
  min-height: 50px;
  padding: 0 20px !important;
  font-weight: 900 !important;
  transition: .2s ease;
}

body.woocommerce-cart .coupon .button,
body.woocommerce-cart button[name="update_cart"]{
  background: #eff6ff !important;
  color: #2563eb !important;
  border: 1px solid #bfdbfe !important;
  box-shadow: none !important;
}

body.woocommerce-cart .coupon .button:hover,
body.woocommerce-cart button[name="update_cart"]:hover{
  background: #dbeafe !important;
  transform: translateY(-1px);
}

/* باکس جمع کل */
body.woocommerce-cart .cart-collaterals{
  margin-top: 22px;
}

body.woocommerce-cart .cart_totals{
  background: rgba(255,255,255,.95);
  border: 1px solid #dbeafe;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(37,99,235,.08);
  padding: 24px;
  position: relative;
  overflow: hidden;
  max-width: 520px;
  margin-right: auto;
}

body.woocommerce-cart .cart_totals::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #60a5fa, #2563eb, #1d4ed8);
}

body.woocommerce-cart .cart_totals > h2{
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef4ff;
}

body.woocommerce-cart .cart_totals table{
  margin: 0 0 18px;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td{
  padding: 14px 0;
  border-bottom: 1px solid #eef4ff;
  color: #0f172a;
  font-size: 14px;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td{
  font-size: 17px;
  font-weight: 900;
  border-bottom: 0;
}

body.woocommerce-cart .cart_totals .order-total .amount{
  color: #2563eb;
  font-size: 20px;
}

/* دکمه ادامه به تسویه حساب */
body.woocommerce-cart .wc-proceed-to-checkout{
  margin-bottom: 0;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  width: 100%;
  min-height: 58px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #1e40af 100%) !important;
  color: #fff !important;
  box-shadow: 0 18px 40px rgba(37,99,235,.24);
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(37,99,235,.30);
}

/* پیام‌ها */
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-error{
  background: rgba(255,255,255,.9);
  border: 1px solid #dbeafe;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15,23,42,.04);
  padding: 16px 18px !important;
  color: #0f172a;
}

/* موبایل */
@media (max-width: 768px){
  body.woocommerce-cart form.woocommerce-cart-form,
  body.woocommerce-cart .cart_totals{
    padding: 16px;
    border-radius: 20px;
  }

  body.woocommerce-cart table.shop_table th,
  body.woocommerce-cart table.shop_table td{
    padding: 12px 8px;
    font-size: 13px;
  }

  body.woocommerce-cart table.shop_table td.product-thumbnail img{
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  body.woocommerce-cart .coupon{
    flex-direction: column;
    align-items: stretch;
  }

  body.woocommerce-cart .coupon input.input-text,
  body.woocommerce-cart .coupon .button,
  body.woocommerce-cart button[name="update_cart"]{
    width: 100%;
  }

  body.woocommerce-cart .cart_totals{
    max-width: 100%;
  }

  body.woocommerce-cart .cart_totals > h2{
    font-size: 20px;
  }

  body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
    min-height: 54px;
  }
}