
/* =========================================================
   Pardis Digital — Cart page
   Inspired by the supplied checkout/cart reference while
   using the theme's own purple visual language.
========================================================= */

.pardis-cart-section{background:linear-gradient(180deg,#fafaff 0,#fff 260px,#fff 100%);color:#2a2740}
.pardis-cart-section .woocommerce{width:100%}
.pardis-cart-section .section-title{color:#1e1c3a}

.pardis-cart-steps{
  display:flex;
  align-items:center;
  justify-content:center;
  direction:rtl;
  gap:0;
  margin:0 auto 42px;
  max-width:900px;
  padding:0 8px;
}
.pardis-cart-step{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:190px;
  color:#9b98b5;
  transition:.2s ease;
}
.pardis-cart-step__number{
  width:44px;height:44px;flex:0 0 44px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  background:#f0edff;
  color:#7b72a7;
  font-size:15px;font-weight:800;
  border:1px solid #e8e3ff;
}
.pardis-cart-step__copy{display:flex;flex-direction:column;gap:2px;line-height:1.5}
.pardis-cart-step__copy strong{font-size:13px;color:#8e89a8;font-weight:700}
.pardis-cart-step__copy small{font-size:10px;color:#aaa6bf;font-weight:500;white-space:nowrap}
.pardis-cart-step.is-active .pardis-cart-step__number{
  background:#5b30f6;color:#fff;border-color:#5b30f6;
  box-shadow:0 8px 22px rgba(91,48,246,.28);
}
.pardis-cart-step.is-active .pardis-cart-step__copy strong{color:#2c2850}
.pardis-cart-step__line{
  height:1px;flex:1;max-width:125px;min-width:38px;
  background:#e8e5f1;margin:0 18px;
}

.pardis-cart-heading{
  display:flex;align-items:end;justify-content:space-between;
  margin-bottom:18px;
}
.pardis-cart-heading p{margin:0;color:#8d89a7;font-size:12px;line-height:1.9}
.pardis-cart-page{width:100%}

.pardis-cart-table-wrap{
  overflow:hidden;
  background:#fff;
  border:1px solid #ebe9f2;
  border-radius:18px;
  box-shadow:0 10px 35px rgba(45,37,100,.06);
}
.pardis-cart-table{
  width:100%;
  margin:0!important;
  border:0!important;
  border-collapse:separate!important;
  border-spacing:0;
  direction:rtl;
}
.pardis-cart-table th{
  padding:17px 18px!important;
  background:#fafaff;
  color:#6f6a8c;
  border:0!important;
  border-bottom:1px solid #eceaf3!important;
  font-size:12px!important;
  font-weight:700!important;
  white-space:nowrap;
}
.pardis-cart-table td{
  padding:19px 18px!important;
  border:0!important;
  border-bottom:1px solid #f0eef5!important;
  color:#393552;
  font-size:12px;
  vertical-align:middle!important;
}
.pardis-cart-table tbody tr:last-child td{border-bottom:0!important}
.pardis-cart-table .product-name{width:48%;text-align:right}
.pardis-cart-table .product-price{width:17%;text-align:center}
.pardis-cart-table .product-quantity{width:14%;text-align:center}
.pardis-cart-table .product-subtotal{width:17%;text-align:center}
.pardis-cart-table .product-remove{width:54px;text-align:center}

.pardis-cart-row-product{display:flex;align-items:center;gap:14px;min-width:0}
.pardis-cart-row-thumb{
  width:62px;height:62px;flex:0 0 62px;
  border-radius:12px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  background:#f4f1ff;border:1px solid #ebe7ff;
}
.pardis-cart-row-thumb img{width:100%!important;height:100%!important;object-fit:cover;margin:0!important}
.pardis-cart-row-info{min-width:0}
.pardis-cart-row-info>a,.pardis-cart-row-info>div>a{
  color:#292643!important;font-weight:700;font-size:12.5px;line-height:1.9;
}
.pardis-cart-row-info .variation{margin-top:4px;color:#9691ac;font-size:10px}
.pardis-cart-row-info .variation dt,.pardis-cart-row-info .variation dd{font-size:10px}

.pardis-cart-table .woocommerce-Price-amount,
.pardis-cart-table .woocommerce-Price-amount bdi{
  color:#3a3557;font-weight:700;
}
.pardis-cart-table del .woocommerce-Price-amount,
.pardis-cart-table del .woocommerce-Price-amount bdi{color:#a6a1b6;font-weight:500}
.pardis-cart-table ins{text-decoration:none}

.pardis-cart-table .quantity{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:92px;
  height:38px;
  margin:0!important;
  border:1px solid #e7e4ef;
  border-radius:11px;
  background:#fff;
}
.pardis-cart-table .quantity .qty{
  width:45px!important;height:36px!important;
  padding:0!important;margin:0!important;
  border:0!important;
  background:transparent!important;
  color:#37324f;
  text-align:center;
  box-shadow:none!important;
  font-size:12px;
}
.pardis-cart-table .quantity .qty:focus{outline:0}

.pardis-cart-remove{
  width:34px;height:34px;
  margin:auto;
  display:flex!important;align-items:center;justify-content:center;
  border-radius:10px;
  background:#fff1f4;
  color:#e44a6f!important;
  transition:.2s ease;
  position:relative;overflow:hidden;
}
.pardis-cart-remove:hover{background:#ffe1e8;color:#d92e59!important;transform:translateY(-1px)}

/* لودر دکمه‌ی «حذف» روی خودِ ردیف جدول سبد خرید (نه کشوی سبد) — همان
   زبان بصری کشوی سبد، فقط بدون وابستگی به ancestor مخصوص #cart-drawer. */
.pardis-cart-remove__icon{display:flex;align-items:center;justify-content:center;transition:opacity .16s ease,transform .16s ease}
.pardis-cart-remove__loader{position:absolute;inset:0;margin:auto;width:16px;height:16px;border:2px solid rgba(228,74,111,.22);border-top-color:#e44a6f;border-radius:50%;opacity:0;transform:scale(.65);animation:pardis-cart-spin .6s linear infinite;pointer-events:none}
.pardis-cart-remove.is-loading{cursor:wait;pointer-events:none}
.pardis-cart-remove.is-loading .pardis-cart-remove__icon{opacity:0;transform:scale(.65)}
.pardis-cart-remove.is-loading .pardis-cart-remove__loader{opacity:1;transform:scale(1)}
.pardis-cart-row.is-removing{opacity:.35;transition:opacity .2s ease}
.dark .pardis-cart-remove__loader{border-color:rgba(248,113,113,.25);border-top-color:#f87171}

.pardis-cart-actions-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:16px 0 30px;
}
.pardis-coupon-box{display:flex;align-items:center;gap:9px}
.pardis-coupon-input{
  width:190px!important;height:42px!important;
  border:1px solid #e4e1ec!important;
  border-radius:12px!important;
  background:#fff!important;
  padding:0 14px!important;
  color:#393552!important;
  font-size:11px!important;
  outline:0!important;
  box-shadow:none!important;
}
.pardis-coupon-input:focus{border-color:#a38cfb!important;box-shadow:0 0 0 3px rgba(91,48,246,.08)!important}
.pardis-coupon-apply-btn,.pardis-cart-update-btn{
  height:42px!important;
  border:0!important;border-radius:12px!important;
  padding:0 19px!important;
  font-size:11px!important;font-weight:700!important;
  transition:.2s ease;
}
.pardis-coupon-apply-btn,.pardis-cart-update-btn{
  background:#5b30f6!important;color:#fff!important;
  box-shadow:0 7px 18px rgba(91,48,246,.16);
}
.pardis-coupon-apply-btn:hover,.pardis-cart-update-btn:hover{
  background:#4925dc!important;transform:translateY(-1px);
}
.pardis-cart-update-btn{margin-inline-start:auto}

/* لودر روان روی دکمه‌های «به‌روزرسانی سبد» و «اعمال تخفیف» به‌جای رفرش
   کامل صفحه — همان زبان بصری دکمه‌ی «ثبت سفارش» در تسویه‌حساب. */
.pardis-coupon-apply-btn,.pardis-cart-update-btn{position:relative}
.pardis-coupon-apply-btn.is-loading,.pardis-cart-update-btn.is-loading{color:transparent!important;pointer-events:none!important;transform:none!important}
.pardis-coupon-apply-btn.is-loading:before,.pardis-cart-update-btn.is-loading:before{
  content:"";position:absolute;top:50%;left:50%;
  width:16px;height:16px;margin:-8px 0 0 -8px;
  border-radius:50%;border:2px solid hsla(0,0%,100%,.35);
  border-top-color:#fff;
  animation:pardis-cart-spin .65s linear infinite;
}

.pardis-cart-collaterals{
  width:100%!important;
  margin:0!important;
  display:block!important;
}
.pardis-cart-collaterals .cart_totals{
  width:100%!important;
  float:none!important;
  margin:0!important;
  padding:22px!important;
  background:#fff;
  border:1px solid #e7e4ee;
  border-radius:18px;
  box-shadow:0 10px 35px rgba(45,37,100,.06);
}
.pardis-cart-totals-title{
  position:relative;
  margin:0 0 18px!important;
  padding:0 14px 0 0;
  color:#292643;
  font-size:14px!important;
  line-height:1.8;
  font-weight:800!important;
}
.pardis-cart-totals-title:before{
  content:"";position:absolute;right:0;top:3px;
  width:4px;height:24px;border-radius:4px;background:#5b30f6;
}
.pardis-cart-totals-table{
  width:100%!important;margin:0!important;
  border:1px solid #ece9f3!important;
  border-radius:12px!important;
  overflow:hidden;
  border-collapse:separate!important;border-spacing:0;
}
.pardis-cart-totals-table tr th,
.pardis-cart-totals-table tr td{
  padding:13px 15px!important;
  border:0!important;
  border-bottom:1px solid #efedf4!important;
  font-size:11px!important;
  color:#6d6887;
  background:#fff;
}
.pardis-cart-totals-table tr:last-child th,
.pardis-cart-totals-table tr:last-child td{border-bottom:0!important}
.pardis-cart-totals-table th{text-align:right!important;font-weight:600!important}
.pardis-cart-totals-table td{text-align:left!important;font-weight:700!important;color:#3c3757!important}
.pardis-cart-totals-table .order-total th,
.pardis-cart-totals-table .order-total td{
  background:#fafaff;
  color:#2c2850!important;
  font-weight:800!important;
}
.pardis-cart-totals-table .order-total .woocommerce-Price-amount,
.pardis-cart-totals-table .order-total .woocommerce-Price-amount bdi{
  color:#5b30f6!important;font-size:14px;
}
.pardis-cart-checkout-btn-wrap{
  display:flex!important;
  justify-content:flex-start;
  margin-top:18px!important;
}
.pardis-cart-checkout-btn-wrap .checkout-button{
  width:auto!important;
  min-width:160px;
  height:46px;
  display:inline-flex!important;align-items:center;justify-content:center;
  margin:0!important;
  border-radius:12px!important;
  background:#5b30f6!important;
  color:#fff!important;
  font-size:11px!important;font-weight:800!important;
  box-shadow:0 9px 22px rgba(91,48,246,.2);
  transition:.2s ease;
}
.pardis-cart-checkout-btn-wrap .checkout-button:hover{
  background:#4925dc!important;transform:translateY(-1px);
}

/* Shipping rows generated by WooCommerce */
.pardis-cart-totals-table .shipping ul#shipping_method{
  margin:0!important;padding:0!important;list-style:none!important;
}
.pardis-cart-totals-table .shipping ul#shipping_method li{
  margin:0 0 7px!important;padding:0!important;
  display:flex;align-items:center;gap:7px;
}
.pardis-cart-totals-table .shipping ul#shipping_method li:last-child{margin-bottom:0!important}
.pardis-cart-totals-table .shipping label{font-size:10px;color:#6d6887}
.pardis-cart-totals-table .shipping select,
.pardis-cart-totals-table .shipping input{
  border:1px solid #e5e2ed;border-radius:8px;padding:6px 8px;font-size:10px;
}

/* Coupon notices */
.pardis-cart-page .woocommerce-error,
.pardis-cart-page .woocommerce-message,
.pardis-cart-page .woocommerce-info{
  margin:0 0 15px!important;border-radius:12px!important;font-size:11px!important;
}

/* RTL/mobile */
@media (max-width:900px){
  .pardis-cart-steps{justify-content:space-between}
  .pardis-cart-step{min-width:auto}
  .pardis-cart-step__copy small{display:none}
  .pardis-cart-step__line{margin:0 10px}
  .pardis-cart-table .product-name{width:42%}
}
@media (max-width:700px){
  .pardis-cart-section{padding-top:32px!important}
  .pardis-cart-steps{margin-bottom:30px}
  .pardis-cart-step{gap:7px}
  .pardis-cart-step__number{width:38px;height:38px;flex-basis:38px;font-size:13px}
  .pardis-cart-step__copy strong{font-size:10px}
  .pardis-cart-step__line{min-width:15px;margin:0 5px}
  .pardis-cart-heading{margin-bottom:13px}
  .pardis-cart-heading p{display:none}
  .pardis-cart-table-wrap{border-radius:14px}
  .pardis-cart-table thead{display:none}
  .pardis-cart-table,
  .pardis-cart-table tbody,
  .pardis-cart-table tr,
  .pardis-cart-table td{display:block!important;width:100%!important}
  .pardis-cart-table tbody tr{
    position:relative;
    padding:15px 13px;
    border-bottom:1px solid #efedf4;
  }
  .pardis-cart-table tbody tr:last-child{border-bottom:0}
  .pardis-cart-table td{
    border:0!important;
    padding:7px 0!important;
    text-align:right!important;
  }
  .pardis-cart-table td.product-name{padding-left:42px!important}
  .pardis-cart-table td.product-price:before,
  .pardis-cart-table td.product-quantity:before,
  .pardis-cart-table td.product-subtotal:before{
    content:attr(data-title);
    display:inline-block;
    width:70px;
    color:#9994ad;
    font-size:10px;
    font-weight:600;
  }
  .pardis-cart-table td.product-quantity .quantity{margin-right:0!important}
  .pardis-cart-table td.product-remove{
    position:absolute;left:13px;top:13px;
    width:34px!important;padding:0!important;
  }
  .pardis-cart-actions-row{flex-direction:column;align-items:stretch}
  .pardis-coupon-box{width:100%;display:grid;grid-template-columns:1fr auto}
  .pardis-coupon-input{width:100%!important}
  .pardis-cart-update-btn{width:100%;margin:0}
  .pardis-coupon-apply-btn{width:auto}
  .pardis-cart-collaterals .cart_totals{padding:15px}
  .pardis-cart-checkout-btn-wrap .checkout-button{width:100%!important}
}
@media (max-width:430px){
  .pardis-cart-step__copy strong{font-size:9px}
  .pardis-cart-step__number{width:34px;height:34px;flex-basis:34px}
  .pardis-cart-step__line{margin:0 3px}
  .pardis-cart-row-thumb{width:54px;height:54px;flex-basis:54px}
  .pardis-coupon-box{grid-template-columns:1fr}
  .pardis-coupon-apply-btn{width:100%}
}


/* =========================================================
   Pardis Digital — Cart page polish
   Larger, centered and fully responsive; hide any cart breadcrumb.
========================================================= */
html body.woocommerce-cart .pardis-cart-section{
  width:100%!important;
  max-width:none!important;
  padding-top:clamp(34px,5vw,68px)!important;
  padding-bottom:clamp(48px,6vw,88px)!important;
}
html body.woocommerce-cart .pardis-cart-section > .pardis-wc-full-container{
  width:min(1040px, calc(100% - 32px))!important;
  max-width:1040px!important;
  margin-inline:auto!important;
  padding-inline:0!important;
}

/* User requested the "خانه / سبد خرید" breadcrumb removed from the cart page. */
html body.woocommerce-cart nav[aria-label="breadcrumb"],
html body.woocommerce-cart nav[aria-label="Breadcrumb"],
html body.woocommerce-cart .pdp-breadcrumb,
html body.woocommerce-cart .woocommerce-breadcrumb,
html body.woocommerce-cart .breadcrumb,
html body.woocommerce-cart .breadcrumbs,
html body.woocommerce-cart .page-breadcrumb,
html body.woocommerce-cart .entry-breadcrumb,
html body.woocommerce-cart .breadcrumb-wrap{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
}

html body.woocommerce-cart .pardis-cart-steps{
  width:100%;
  max-width:1040px;
  margin-inline:auto;
  margin-bottom:clamp(34px,4vw,54px);
}
html body.woocommerce-cart .pardis-cart-step__number{
  width:52px;
  height:52px;
  flex-basis:52px;
  font-size:17px;
}
html body.woocommerce-cart .pardis-cart-step__copy strong{font-size:15px}
html body.woocommerce-cart .pardis-cart-step__copy small{font-size:11px}
html body.woocommerce-cart .pardis-cart-step__line{min-width:55px;max-width:150px;margin-inline:22px}

html body.woocommerce-cart .pardis-cart-heading{
  width:100%;
  max-width:1040px;
  margin:0 auto clamp(22px,3vw,30px);
}
html body.woocommerce-cart .pardis-cart-heading h1{
  font-size:clamp(26px,3vw,34px)!important;
  line-height:1.5;
}
html body.woocommerce-cart .pardis-cart-heading p{font-size:14px}

html body.woocommerce-cart .pardis-cart-table-wrap{
  width:100%;
  max-width:1040px;
  margin-inline:auto;
  border-radius:22px;
}
html body.woocommerce-cart .pardis-cart-table th{
  padding:20px 22px!important;
  font-size:14px!important;
}
html body.woocommerce-cart .pardis-cart-table td{
  padding:24px 22px!important;
  font-size:14px;
}
html body.woocommerce-cart .pardis-cart-row-thumb{
  width:76px;
  height:76px;
  flex-basis:76px;
  border-radius:14px;
}
html body.woocommerce-cart .pardis-cart-row-info>a,
html body.woocommerce-cart .pardis-cart-row-info>div>a{font-size:14px}
html body.woocommerce-cart .pardis-cart-table .quantity{
  width:104px;
  height:44px;
}
html body.woocommerce-cart .pardis-cart-table .quantity .qty{
  width:52px!important;
  height:42px!important;
  font-size:14px;
}
html body.woocommerce-cart .pardis-cart-remove{width:38px;height:38px}

html body.woocommerce-cart .pardis-cart-actions-row{
  width:100%;
  max-width:1040px;
  margin:20px auto 34px;
}
html body.woocommerce-cart .pardis-coupon-input{height:48px!important;font-size:13px!important}
html body.woocommerce-cart .pardis-coupon-apply-btn,
html body.woocommerce-cart .pardis-cart-update-btn{
  height:48px!important;
  padding-inline:24px!important;
  font-size:13px!important;
}

html body.woocommerce-cart .pardis-cart-collaterals{
  width:100%;
  max-width:1040px;
  margin-inline:auto!important;
}
html body.woocommerce-cart .pardis-cart-collaterals .cart_totals{
  padding:28px!important;
  border-radius:22px;
}
html body.woocommerce-cart .pardis-cart-totals-title{font-size:17px!important}
html body.woocommerce-cart .pardis-cart-totals-table tr th,
html body.woocommerce-cart .pardis-cart-totals-table tr td{
  padding:16px 18px!important;
  font-size:13px!important;
}
html body.woocommerce-cart .pardis-cart-checkout-btn-wrap .checkout-button{
  min-width:190px;
  min-height:50px;
  font-size:13px!important;
}

@media (max-width:900px){
  html body.woocommerce-cart .pardis-cart-section > .pardis-wc-full-container{width:min(100% - 24px, 760px)!important}
  html body.woocommerce-cart .pardis-cart-steps{max-width:760px}
  html body.woocommerce-cart .pardis-cart-step__number{width:46px;height:46px;flex-basis:46px}
  html body.woocommerce-cart .pardis-cart-step__copy strong{font-size:13px}
  html body.woocommerce-cart .pardis-cart-step__copy small{font-size:10px}
  html body.woocommerce-cart .pardis-cart-table-wrap,
  html body.woocommerce-cart .pardis-cart-heading,
  html body.woocommerce-cart .pardis-cart-actions-row,
  html body.woocommerce-cart .pardis-cart-collaterals{max-width:100%}
}

@media (max-width:700px){
  html body.woocommerce-cart .pardis-cart-section > .pardis-wc-full-container{width:calc(100% - 20px)!important}
  html body.woocommerce-cart .pardis-cart-steps{margin-bottom:28px;padding-inline:0}
  html body.woocommerce-cart .pardis-cart-step{gap:6px}
  html body.woocommerce-cart .pardis-cart-step__copy small{display:none}
  html body.woocommerce-cart .pardis-cart-step__copy strong{font-size:11px}
  html body.woocommerce-cart .pardis-cart-step__number{width:40px;height:40px;flex-basis:40px;font-size:13px}
  html body.woocommerce-cart .pardis-cart-step__line{min-width:12px;margin-inline:5px}
  html body.woocommerce-cart .pardis-cart-heading{text-align:center;margin-bottom:18px}
  html body.woocommerce-cart .pardis-cart-heading h1{font-size:26px!important}
  html body.woocommerce-cart .pardis-cart-heading p{display:block;font-size:12px}

  html body.woocommerce-cart .pardis-cart-table-wrap{border-radius:18px}
  html body.woocommerce-cart .pardis-cart-table tbody tr{padding:18px 16px}
  html body.woocommerce-cart .pardis-cart-table td{padding:9px 0!important;font-size:13px}
  html body.woocommerce-cart .pardis-cart-row-thumb{width:68px;height:68px;flex-basis:68px}
  html body.woocommerce-cart .pardis-cart-row-info>a,
  html body.woocommerce-cart .pardis-cart-row-info>div>a{font-size:13px}
  html body.woocommerce-cart .pardis-cart-table .quantity{width:98px;height:42px}

  html body.woocommerce-cart .pardis-cart-actions-row{gap:12px;margin:16px auto 24px}
  html body.woocommerce-cart .pardis-coupon-box{gap:8px}
  html body.woocommerce-cart .pardis-coupon-input,
  html body.woocommerce-cart .pardis-coupon-apply-btn,
  html body.woocommerce-cart .pardis-cart-update-btn{height:46px!important}

  html body.woocommerce-cart .pardis-cart-collaterals .cart_totals{padding:18px!important;border-radius:18px}
  html body.woocommerce-cart .pardis-cart-checkout-btn-wrap .checkout-button{width:100%!important;min-width:0}
}

@media (max-width:430px){
  html body.woocommerce-cart .pardis-cart-section{padding-top:26px!important}
  html body.woocommerce-cart .pardis-cart-steps{justify-content:center}
  html body.woocommerce-cart .pardis-cart-step__copy strong{font-size:10px}
  html body.woocommerce-cart .pardis-cart-step__number{width:36px;height:36px;flex-basis:36px;font-size:12px}
  html body.woocommerce-cart .pardis-cart-step__line{min-width:8px;margin-inline:3px}
  html body.woocommerce-cart .pardis-cart-heading h1{font-size:23px!important}
  html body.woocommerce-cart .pardis-cart-heading p{font-size:11px}
}


/* =========================================================
   Pardis Digital — Empty cart polish
   Centered, professional empty-state visual.
========================================================= */
html body.woocommerce-cart .pardis-cart-empty-page{
  width:min(680px,calc(100% - 32px));
  margin:clamp(24px,6vw,70px) auto!important;
  padding:clamp(34px,5vw,54px) clamp(20px,5vw,54px)!important;
  background:rgba(255,255,255,.96);
  border:1px solid #ebe8f5;
  border-radius:26px;
  box-shadow:0 18px 55px rgba(47,38,104,.08);
  text-align:center;
  position:relative;
  overflow:hidden;
}
html body.woocommerce-cart .pardis-cart-empty-page::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:linear-gradient(90deg,#7a52ff,#5b30f6,#7a52ff);
}
html body.woocommerce-cart .pardis-cart-empty-icon{
  width:82px!important;
  height:82px!important;
  margin:0 auto 20px!important;
  border-radius:24px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:linear-gradient(145deg,#f4efff,#ece6ff)!important;
  color:#5b30f6!important;
  border:1px solid #e3dcff;
  box-shadow:0 14px 35px rgba(91,48,246,.12);
}
html body.woocommerce-cart .pardis-cart-empty-icon svg{width:40px!important;height:40px!important}
html body.woocommerce-cart .pardis-cart-empty-page::after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  border-radius:50%;
  background:rgba(91,48,246,.045);
  top:-85px;
  right:-70px;
  pointer-events:none;
}
html body.woocommerce-cart .pardis-cart-empty-text{
  margin:0!important;
  color:#25213f!important;
  font-size:clamp(18px,2vw,22px)!important;
  line-height:1.8!important;
  font-weight:800!important;
}
html body.woocommerce-cart .pardis-cart-empty-subtext{
  margin:8px auto 0!important;
  max-width:520px;
  color:#8e89a8!important;
  font-size:13px!important;
  line-height:2!important;
}
html body.woocommerce-cart .pardis-cart-empty-btn{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  margin-top:22px!important;
  min-width:200px;
  min-height:50px;
  padding:11px 22px!important;
  border-radius:12px!important;
  font-size:13px!important;
  font-weight:800!important;
  box-shadow:0 12px 26px rgba(91,48,246,.18);
}
@media (max-width:700px){
  html body.woocommerce-cart .pardis-cart-empty-page{
    width:calc(100% - 20px);
    margin-top:28px!important;
    padding:34px 18px 30px!important;
    border-radius:22px;
  }
  html body.woocommerce-cart .pardis-cart-empty-icon{width:72px!important;height:72px!important;border-radius:20px!important}
  html body.woocommerce-cart .pardis-cart-empty-icon svg{width:34px!important;height:34px!important}
  html body.woocommerce-cart .pardis-cart-empty-subtext{font-size:12px!important}
  html body.woocommerce-cart .pardis-cart-empty-btn{width:100%;min-width:0}
}

/* =========================================================
   Dark mode — matches the rest of the theme (.dark on <html>)
========================================================= */
.dark .pardis-cart-section{
  background:linear-gradient(180deg,var(--bg-base) 0,var(--bg-base) 260px,var(--bg-base) 100%);
  color:var(--text-primary);
}
.dark .pardis-cart-section .section-title{color:var(--text-primary)}

.dark .pardis-cart-step{color:#6f6c8f}
.dark .pardis-cart-step__number{background:rgba(91,48,246,.14);color:#a08bfb;border-color:rgba(91,48,246,.25)}
.dark .pardis-cart-step__copy strong{color:#9895c0}
.dark .pardis-cart-step__copy small{color:#6f6c8f}
.dark .pardis-cart-step.is-active .pardis-cart-step__number{background:#5b30f6;color:#fff;border-color:#5b30f6}
.dark .pardis-cart-step.is-active .pardis-cart-step__copy strong{color:#f0eeff}
.dark .pardis-cart-step__line{background:var(--border)}

.dark .pardis-cart-heading p{color:var(--text-muted)}

.dark .pardis-cart-table-wrap{background:var(--bg-surface);border-color:var(--border)}
.dark .pardis-cart-table th{background:var(--bg-subtle);color:var(--text-muted);border-bottom-color:var(--border)!important}
.dark .pardis-cart-table td{color:var(--text-muted);border-bottom-color:var(--border)!important}
.dark .pardis-cart-table td.product-price:before,
.dark .pardis-cart-table td.product-quantity:before,
.dark .pardis-cart-table td.product-subtotal:before{color:#6f6c8f}

.dark .pardis-cart-row-thumb{background:rgba(91,48,246,.14);border-color:rgba(91,48,246,.25)}
.dark .pardis-cart-row-info>a,
.dark .pardis-cart-row-info>div>a{color:var(--text-primary)!important}
.dark .pardis-cart-row-info .variation{color:var(--text-muted)}

.dark .pardis-cart-table .woocommerce-Price-amount,
.dark .pardis-cart-table .woocommerce-Price-amount bdi{color:var(--text-primary)}
.dark .pardis-cart-table del .woocommerce-Price-amount,
.dark .pardis-cart-table del .woocommerce-Price-amount bdi{color:#6f6c8f}

.dark .pardis-cart-table .quantity{background:var(--bg-subtle);border-color:var(--border)}
.dark .pardis-cart-table .quantity .qty{color:var(--text-primary)}

.dark .pardis-cart-remove{background:rgba(239,68,68,.14);color:#f87171!important}
.dark .pardis-cart-remove:hover{background:rgba(239,68,68,.22);color:#fca5a5!important}

.dark .pardis-coupon-input{background:var(--bg-subtle)!important;border-color:var(--border)!important;color:var(--text-primary)!important}
.dark .pardis-coupon-input:focus{border-color:#a08bfb!important;box-shadow:0 0 0 3px rgba(160,139,251,.15)!important}

.dark .pardis-cart-collaterals .cart_totals{background:var(--bg-surface);border-color:var(--border)}
.dark .pardis-cart-totals-title{color:var(--text-primary)}
.dark .pardis-cart-totals-table{border-color:var(--border)!important}
.dark .pardis-cart-totals-table tr th,
.dark .pardis-cart-totals-table tr td{background:var(--bg-surface);color:var(--text-muted);border-bottom-color:var(--border)!important}
.dark .pardis-cart-totals-table td{color:var(--text-primary)!important}
.dark .pardis-cart-totals-table .order-total th,
.dark .pardis-cart-totals-table .order-total td{background:var(--bg-subtle);color:var(--text-primary)!important}
.dark .pardis-cart-totals-table .order-total .woocommerce-Price-amount,
.dark .pardis-cart-totals-table .order-total .woocommerce-Price-amount bdi{color:#a08bfb!important}

.dark .pardis-cart-totals-table .shipping label{color:var(--text-muted)}
.dark .pardis-cart-totals-table .shipping select,
.dark .pardis-cart-totals-table .shipping input{background:var(--bg-subtle);border-color:var(--border);color:var(--text-primary)}

.dark .pardis-cart-page .woocommerce-error,
.dark .pardis-cart-page .woocommerce-message,
.dark .pardis-cart-page .woocommerce-info{
  background:var(--bg-subtle)!important;
  border-color:var(--border)!important;
  color:var(--text-primary)!important;
}

/* Empty cart state */
.dark .pardis-cart-empty-page{
  background:var(--bg-surface);
  border-color:var(--border);
}
.dark .pardis-cart-empty-icon{
  background:linear-gradient(145deg,rgba(91,48,246,.18),rgba(91,48,246,.1))!important;
  color:#a08bfb!important;
  border-color:rgba(91,48,246,.3);
}
.dark .pardis-cart-empty-text{color:var(--text-primary)!important}
.dark .pardis-cart-empty-subtext{color:var(--text-muted)!important}
