/* Product + Cart professional UI */
.product-pro-page,.cart-pro-page{max-width:1500px;margin:0 auto;padding:18px 18px 44px;direction:rtl}
.product-breadcrumb{display:flex;align-items:center;gap:8px;color:#64748b;font-size:13px;margin-bottom:14px;white-space:nowrap;overflow:auto}
.product-breadcrumb a{text-decoration:none;color:#0f766e;font-weight:800}.product-breadcrumb b{color:#0f172a}
.product-pro-shell{display:grid;grid-template-columns:minmax(330px,440px) minmax(0,1fr) 330px;gap:18px;align-items:start;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px;box-shadow:0 6px 20px rgba(15,23,42,.035)}
.product-gallery-pro{display:grid;gap:12px}.main-image-box{height:460px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #edf2f7;border-radius:16px;padding:18px}.main-image-box img{max-width:100%;max-height:100%;object-fit:contain}
.thumb-strip{display:flex;gap:8px;overflow:auto;padding-bottom:4px}.thumb-strip button{width:70px;height:70px;flex:0 0 70px;border:1px solid #e5e7eb;background:#fff;border-radius:12px;padding:5px;cursor:pointer}.thumb-strip button.active{border-color:#ef4056;box-shadow:0 0 0 2px rgba(239,64,86,.12)}.thumb-strip img{width:100%;height:100%;object-fit:contain}
.product-info-pro{padding:6px 6px 0}.product-meta-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.product-meta-row span{font-size:12px;color:#64748b;background:#f8fafc;border:1px solid #eef2f7;border-radius:999px;padding:5px 10px}.product-info-pro h1{font-size:25px;line-height:1.75;margin:0 0 12px;color:#111827}.product-short-pro{color:#475569;line-height:2;margin:0 0 14px}
.product-quick-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.product-quick-specs span{background:#fafafa;border:1px solid #eef2f7;border-radius:14px;padding:12px;display:grid;gap:6px}.product-quick-specs b{font-size:12px;color:#64748b}.product-quick-specs em{font-style:normal;font-weight:900}.product-quick-specs .ok{color:#059669}.product-quick-specs .bad{color:#dc2626}
.variant-panel{margin-top:18px;border-top:1px solid #f1f5f9;padding-top:16px}.section-title-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.section-title-line b{font-size:16px;color:#111827}.section-title-line span{font-size:12px;color:#94a3b8}.variant-grid-pro{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.variant-choice{border:1px solid #e5e7eb;background:#fff;border-radius:14px;padding:12px;text-align:right;cursor:pointer;display:grid;gap:5px;transition:.15s}.variant-choice:hover{border-color:#ef4056}.variant-choice.active{border-color:#ef4056;background:#fff7f8;box-shadow:0 0 0 2px rgba(239,64,86,.08)}.variant-choice.disabled{opacity:.62}.variant-choice b{font-size:13px;color:#111827}.variant-choice small{font-size:11px;color:#64748b;line-height:1.7}.variant-choice em{font-style:normal;font-size:12px;font-weight:900;color:#059669}.variant-choice.disabled em{color:#dc2626}
.buybox-pro{position:sticky;top:88px;border:1px solid #e5e7eb;background:#fff;border-radius:18px;padding:16px;box-shadow:0 8px 26px rgba(15,23,42,.055)}.seller-box{display:flex;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid #f1f5f9}.seller-box b{color:#111827}.seller-box span{color:#475569;font-size:13px}.service-lines{display:grid;gap:10px;padding:14px 0;border-bottom:1px solid #f1f5f9}.service-lines span{font-size:13px;color:#374151}.price-box-pro{display:grid;gap:7px;padding:14px 0}.price-box-pro span{font-size:12px;color:#64748b}.price-box-pro strong{text-align:left;color:#111827;font-size:24px}.price-box-pro small{text-align:left;color:#94a3b8;text-decoration:line-through}.qty-pro{height:44px;width:128px;border:1px solid #e5e7eb;border-radius:12px;display:grid;grid-template-columns:36px 1fr 36px;overflow:hidden;background:#fff;margin-bottom:12px}.qty-pro input{border:0;text-align:center;outline:0;font-weight:900}.qty-pro button{border:0;background:#fff;color:#ef4056;font-size:20px;cursor:pointer}.add-to-cart-pro,.checkout-pro{width:100%;height:46px;border:0;border-radius:12px;background:#ef4056;color:#fff!important;text-decoration:none;display:flex;align-items:center;justify-content:center;font-weight:900;cursor:pointer}.add-to-cart-pro:disabled{background:#cbd5e1;cursor:not-allowed}.continue-link-pro{display:flex;justify-content:center;margin-top:12px;color:#0f766e;text-decoration:none;font-size:13px;font-weight:900}
.product-details-tabs,.related-products-pro{background:#fff;border:1px solid #e5e7eb;border-radius:18px;margin-top:18px;overflow:hidden}.tabs-head-pro{display:flex;gap:22px;border-bottom:1px solid #eef2f7;padding:0 18px}.tabs-head-pro span{padding:15px 0;font-weight:900;color:#64748b}.tabs-head-pro .active{color:#ef4056;border-bottom:3px solid #ef4056}.details-body-pro{padding:20px;line-height:2.15;color:#374151}.details-body-pro h2{margin:0 0 12px;color:#111827}.related-title{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #eef2f7}.related-title h2{margin:0;font-size:18px}.related-title a{color:#0f766e;text-decoration:none;font-weight:900}.related-row-pro{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.related-card-pro{padding:14px;border-left:1px solid #f1f5f9;text-decoration:none;color:#111827}.related-card-pro span{height:150px;display:flex;align-items:center;justify-content:center}.related-card-pro img{max-width:100%;max-height:100%;object-fit:contain}.related-card-pro b{display:block;font-size:13px;line-height:1.9;height:50px;overflow:hidden}.related-card-pro em{display:block;text-align:left;color:#111827;font-style:normal;font-weight:900;margin-top:8px}
.cart-head-pro{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.cart-head-pro h1{margin:0;color:#111827}.cart-head-pro p{margin:6px 0 0;color:#64748b}.cart-head-pro a{color:#0f766e;text-decoration:none;font-weight:900}.cart-layout-pro{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.cart-items-pro{background:#fff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden}.cart-item-pro{display:grid;grid-template-columns:120px minmax(0,1fr) 230px;gap:14px;padding:18px;border-bottom:1px solid #f1f5f9}.cart-item-pro:last-child{border-bottom:0}.cart-img-pro{width:120px;height:120px;background:#fff;border:1px solid #f1f5f9;border-radius:14px;display:flex;align-items:center;justify-content:center}.cart-img-pro img{max-width:100%;max-height:100%;object-fit:contain}.cart-info-pro{display:grid;align-content:start;gap:8px}.cart-title-pro{text-decoration:none;color:#111827;font-weight:900;line-height:1.9}.cart-variant-pro{font-size:13px;color:#64748b}.cart-service-pro{display:flex;flex-wrap:wrap;gap:8px}.cart-service-pro span{font-size:12px;color:#475569;background:#f8fafc;border:1px solid #eef2f7;border-radius:999px;padding:4px 9px}.cart-remove-pro{width:max-content;border:0;background:transparent;color:#ef4056;font-weight:900;cursor:pointer;padding:4px 0}.cart-qty-price-pro{display:grid;justify-items:left;align-content:start;gap:9px}.cart-qty-box{height:40px;width:120px;border:1px solid #e5e7eb;border-radius:12px;display:grid;grid-template-columns:34px 1fr 34px;overflow:hidden}.cart-qty-box input{border:0;text-align:center;outline:0;font-weight:900}.cart-qty-box button{border:0;background:#fff;color:#ef4056;font-size:19px;cursor:pointer}.cart-unit-price{font-size:12px;color:#64748b}.cart-qty-price-pro b{font-size:17px;color:#111827}.cart-status-bad{font-size:12px;color:#dc2626;background:#fee2e2;border-radius:999px;padding:4px 9px}.cart-summary-pro{position:sticky;top:88px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:16px;box-shadow:0 8px 26px rgba(15,23,42,.055)}.cart-summary-pro h2{margin:0 0 14px;color:#111827}.summary-line,.summary-total{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #f1f5f9;padding:12px 0}.summary-line span,.summary-line em{font-style:normal;color:#64748b;font-size:13px}.summary-total strong{font-size:22px;color:#111827}.update-cart-pro{width:100%;height:42px;border-radius:12px;border:1px solid #ef4056;background:#fff;color:#ef4056;font-weight:900;margin-top:14px;cursor:pointer}.checkout-pro{margin-top:10px}.cart-summary-pro p{font-size:12px;line-height:1.9;color:#64748b;margin:12px 0 0}.cart-empty-pro{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:48px 20px}.cart-empty-pro div{font-size:46px}.cart-empty-pro h2{margin:10px 0;color:#111827}.cart-empty-pro p{color:#64748b}.cart-empty-pro a{display:inline-flex;margin-top:12px;background:#ef4056;color:#fff;text-decoration:none;border-radius:12px;padding:11px 18px;font-weight:900}.pc-empty-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:38px;text-align:center}.pc-empty-card a{display:inline-flex;background:#ef4056;color:#fff;text-decoration:none;border-radius:12px;padding:10px 16px;font-weight:900}
@media(max-width:1200px){.product-pro-shell{grid-template-columns:360px minmax(0,1fr)}.buybox-pro{grid-column:1/-1;position:static}.cart-layout-pro{grid-template-columns:1fr}.cart-summary-pro{position:static}.related-row-pro{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.product-pro-shell{grid-template-columns:1fr}.main-image-box{height:300px}.product-quick-specs,.variant-grid-pro{grid-template-columns:1fr}.cart-item-pro{grid-template-columns:90px minmax(0,1fr);gap:12px}.cart-qty-price-pro{grid-column:2;justify-items:right}.cart-img-pro{width:90px;height:90px}.related-row-pro{grid-template-columns:repeat(2,minmax(0,1fr))}.section-title-line{display:block}.buybox-pro{top:auto}}
@media(max-width:560px){.product-pro-page,.cart-pro-page{padding:12px}.cart-head-pro{display:block}.related-row-pro{grid-template-columns:1fr}.thumb-strip button{width:58px;height:58px;flex-basis:58px}}


/* Product + cart fixes v2 */
.pc-hidden-stock-label{display:none!important}
.product-quick-specs{grid-template-columns:repeat(2,minmax(0,1fr));margin:10px 0 12px}
.product-quick-specs:empty{display:none}
.product-quick-specs .stock-warning{background:#fff1f2;border-color:#fecdd3}
.variant-panel{margin-top:12px;padding-top:12px}
.variant-grid-pro{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  max-height:265px;
  overflow:auto;
  padding-left:4px;
}
.variant-choice{
  min-height:74px;
  padding:10px 11px;
  border-radius:12px;
  align-content:start;
}
.variant-choice b{font-size:12px;line-height:1.6}
.variant-choice small{font-size:10.5px;line-height:1.6;color:#64748b}
.variant-choice em{font-size:11px;color:#dc2626;background:#fff1f2;border:1px solid #fecdd3;border-radius:999px;padding:2px 7px;width:max-content}
.buybox-pro{padding:16px}
.seller-box{display:none!important}
.service-lines.single{
  padding:0 0 12px;
  border-bottom:1px solid #f1f5f9;
}
.service-lines.single span{
  background:#f8fafc;
  border:1px solid #eef2f7;
  border-radius:12px;
  padding:10px 12px;
  display:block;
}
.qty-pro,.cart-qty-box{
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  direction:ltr;
  background:#fff;
  border:1px solid #dbe3ef;
  border-radius:12px;
  overflow:hidden;
}
.qty-pro{width:132px;height:44px;margin-bottom:12px}
.cart-qty-box{width:132px;height:42px}
.qty-pro button,.cart-qty-box button{
  display:flex!important;
  align-items:center;
  justify-content:center;
  width:38px;
  height:100%;
  border:0;
  background:#f8fafc!important;
  color:#ef4056!important;
  font-size:21px!important;
  font-weight:900;
  cursor:pointer;
  line-height:1;
  flex:0 0 38px;
}
.qty-pro button:hover,.cart-qty-box button:hover{background:#fff1f2!important}
.qty-pro input,.cart-qty-box input{
  width:52px!important;
  min-width:0;
  flex:1;
  height:100%;
  border:0!important;
  border-inline:1px solid #eef2f7!important;
  text-align:center;
  outline:0;
  font-weight:900;
  background:#fff!important;
  appearance:textfield;
  -moz-appearance:textfield;
}
.qty-pro input::-webkit-outer-spin-button,.qty-pro input::-webkit-inner-spin-button,
.cart-qty-box input::-webkit-outer-spin-button,.cart-qty-box input::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}
@media(max-width:1200px){
  .variant-grid-pro{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:850px){
  .variant-grid-pro{grid-template-columns:1fr;max-height:none}
}


/* Product ajax toast + Digikala-like cart + sticky header v3 */
.pc-toast{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.18);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:95px;
  opacity:0;
  visibility:hidden;
  transition:.18s ease;
  z-index:10000;
  pointer-events:none;
}
.pc-toast.show{opacity:1;visibility:visible;pointer-events:auto}
.pc-toast-card{
  width:min(420px,calc(100% - 28px));
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:20px;
  box-shadow:0 26px 70px rgba(15,23,42,.22);
  padding:18px;
  text-align:right;
  animation:pcToastIn .18s ease;
}
@keyframes pcToastIn{from{transform:translateY(-10px);opacity:.7}to{transform:translateY(0);opacity:1}}
.pc-toast-card b{display:block;color:#111827;font-size:17px;margin-bottom:8px}
.pc-toast-card span{display:block;color:#64748b;font-size:13px;line-height:1.9}
.pc-toast-card div{display:flex;gap:10px;margin-top:14px}
.pc-toast-card a,.pc-toast-card button{
  flex:1;
  height:42px;
  border-radius:12px;
  border:1px solid #ef4056;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
  font:inherit;
}
.pc-toast-card a{background:#ef4056;color:#fff!important}
.pc-toast-card button{background:#fff;color:#ef4056}

.cart-pro-page{max-width:1400px;background:#fff;padding-top:10px}
.cart-tabs-pro{
  display:flex;
  align-items:center;
  gap:28px;
  border-bottom:1px solid #e5e7eb;
  margin-bottom:22px;
}
.cart-tabs-pro a{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:56px;
  color:#64748b;
  text-decoration:none;
  font-weight:900;
}
.cart-tabs-pro a.active{color:#ef4056}
.cart-tabs-pro a.active:after{
  content:"";
  position:absolute;
  right:0;
  left:0;
  bottom:-1px;
  height:4px;
  background:#ef4056;
  border-radius:99px 99px 0 0;
}
.cart-tabs-pro b{
  min-width:22px;
  height:22px;
  border-radius:999px;
  background:#ef4056;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
}
.cart-title-line{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 14px;
}
.cart-title-line h1{font-size:18px;margin:0;color:#111827}
.cart-title-line span{font-size:13px;color:#64748b}
.cart-layout-pro{grid-template-columns:minmax(0,1fr) 330px;gap:22px}
.cart-items-pro{
  border:0;
  border-radius:0;
  background:#fff;
}
.cart-item-pro{
  grid-template-columns:120px minmax(0,1fr) 230px;
  padding:22px 4px;
  border-bottom:1px solid #f1f5f9;
}
.cart-img-pro{
  border:0;
  background:#fff;
  border-radius:0;
}
.cart-title-pro{font-size:15px}
.cart-service-pro span{
  background:transparent;
  border:0;
  padding:0;
  color:#64748b;
  border-radius:0;
}
.cart-qty-price-pro{justify-items:left;align-content:center}
.cart-qty-box{
  width:112px!important;
  border-radius:10px;
  border-color:#dbe3ef;
}
.cart-qty-box button{
  color:#ef4056!important;
  background:#fff!important;
}
.cart-qty-box button:hover{background:#fff1f2!important}
.cart-remove-pro{
  color:#ef4056;
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.cart-remove-pro:before{content:"🗑";font-size:14px}
.cart-summary-pro{
  top:116px;
  box-shadow:none;
  border-radius:8px;
  padding:18px;
}
.cart-summary-pro h2{font-size:15px}
.summary-line,.summary-total{padding:10px 0}
.checkout-pro{
  height:48px;
  margin-top:16px;
  border-radius:8px;
}
.update-cart-pro{
  height:40px;
  border-radius:8px;
  font-size:13px;
  opacity:.85;
}
@media(max-width:920px){
  .cart-layout-pro{grid-template-columns:1fr}
  .cart-item-pro{grid-template-columns:90px minmax(0,1fr)}
  .cart-summary-pro{position:static}
}

/* Sticky header: keep search and navigation visible while scrolling */
.pro-header{
  position:sticky!important;
  top:0!important;
  z-index:9990!important;
}
.pro-header-top{
  display:none!important;
}
.pro-header-main{
  position:relative;
  z-index:2;
}
.pro-header-links-row,
.pro-nav{
  position:relative!important;
  top:auto!important;
  z-index:1!important;
}
.pro-main-grid{
  min-height:72px!important;
}
.pro-search{
  height:44px!important;
}
.pro-logo img{max-height:48px}
.pro-logo-mark{width:48px!important;height:48px!important}
@media(max-width:920px){
  .pro-header{position:sticky!important;top:0!important}
  .pro-header-links-row{display:none}
  .pro-nav-inner{height:44px}
}


/* Wishlist button on product page */
.wishlist-product-form{margin:10px 0 0}
.wishlist-product-btn{width:100%;height:46px;border-radius:14px;border:1px solid #fecdd3;background:#fff1f2;color:#be123c;font:inherit;font-weight:900;cursor:pointer}
.wishlist-product-btn.active{background:#be123c;color:#fff;border-color:#be123c}
.wishlist-product-btn:hover{filter:brightness(.98)}


/* Gallery wishlist icon like marketplace product pages */
.product-gallery-pro{
  position:relative;
}
.main-image-box{
  position:relative;
  overflow:visible;
}
.gallery-wishlist-form{
  position:absolute;
  top:14px;
  inset-inline-start:14px;
  z-index:5;
  margin:0;
}
.gallery-wishlist-btn{
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid #e5e7eb;
  background:rgba(255,255,255,.96);
  color:#111827;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 10px 26px rgba(15,23,42,.10);
  transition:.15s ease;
  font:inherit;
  padding:0;
}
.gallery-wishlist-btn span{
  font-size:28px;
  line-height:1;
  transform:translateY(-1px);
}
.gallery-wishlist-btn:hover{
  border-color:#fecdd3;
  color:#e11d48;
  transform:translateY(-1px);
}
.gallery-wishlist-btn.active{
  background:#fff1f2;
  border-color:#fb7185;
  color:#e11d48;
}
.gallery-wishlist-btn.active span{
  font-size:25px;
}
.buybox-pro .wishlist-product-form{
  display:none!important;
}
@media(max-width:920px){
  .gallery-wishlist-form{
    top:10px;
    inset-inline-start:10px;
  }
  .gallery-wishlist-btn{
    width:42px;
    height:42px;
  }
  .gallery-wishlist-btn span{
    font-size:25px;
  }
}

/* Product discounts */
.price-main-line{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.price-main-line em{display:none;background:#d92d20;color:#fff;border-radius:999px;padding:3px 8px;font-size:11px;font-style:normal;font-weight:900}.price-main-line em.show{display:inline-flex}.price-box-pro>small{display:none!important;text-decoration:line-through;color:#94a3b8!important;margin-top:4px}.price-box-pro>small.show{display:block!important}.price-box-pro>i{display:none;font-style:normal;color:#b42318;font-size:11px;font-weight:900;margin-top:5px}.price-box-pro>i.show{display:block}.variant-discount-tag{display:inline-flex!important;margin-top:5px;background:#fff1f0;color:#b42318;border:1px solid #ffc9c5;border-radius:999px;padding:2px 7px;font-size:10px!important;font-weight:900}
.cart-unit-price del{margin-right:5px;color:#94a3b8}.cart-unit-price em{display:inline-flex;margin-right:4px;background:#fff1f0;color:#b42318;border-radius:999px;padding:1px 6px;font-style:normal;font-weight:900}
.cart-discount-line{color:#b42318}.cart-discount-line b{color:#b42318!important}

/* Batch UX fixes: compact toast, cart stepper and product header behavior */
.pro-header{position:relative!important;top:auto!important;z-index:100!important}
.pro-header-top,.pro-header-main,.pro-header-links-row,.pro-nav{position:relative!important;top:auto!important}

.pc-cart-idle.is-hidden{display:none}
.pc-cart-active{display:none;gap:10px;align-items:center;justify-content:space-between}
.pc-cart-active.show{display:flex}
.pc-cart-active>a{color:#0e7490;text-decoration:none;font-size:12px;font-weight:900;white-space:nowrap}
.pc-cart-stepper{height:50px;min-width:150px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;display:grid;grid-template-columns:42px minmax(52px,1fr) 42px;align-items:center;box-shadow:0 5px 16px rgba(15,23,42,.06);overflow:hidden;direction:ltr}
.pc-cart-stepper button{height:100%;border:0;background:#fff;color:#ef4056;font:inherit;font-size:21px;font-weight:900;cursor:pointer}
.pc-cart-stepper button:hover{background:#fff1f2}
.pc-cart-stepper button:disabled{opacity:.5;cursor:wait}
.pc-cart-stepper>div{height:100%;border-inline:1px solid #eef2f7;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.25;direction:rtl}
.pc-cart-stepper strong{font-size:15px;color:#ef4056}
.pc-cart-stepper small{font-size:9px;color:#8a94a6;font-weight:800}

.pc-toast{position:fixed!important;inset:auto auto 24px 24px!important;width:min(360px,calc(100% - 28px))!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:14px!important;box-shadow:0 18px 50px rgba(15,23,42,.18)!important;padding:12px 13px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) 26px!important;align-items:center!important;gap:10px!important;opacity:0!important;visibility:hidden!important;transform:translateY(14px)!important;transition:.2s ease!important;z-index:10000!important;pointer-events:none!important}
.pc-toast.show{opacity:1!important;visibility:visible!important;transform:translateY(0)!important;pointer-events:auto!important}
.pc-toast-icon{width:32px;height:32px;border-radius:50%;background:#ecfdf3;color:#15803d;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:900}
.pc-toast.error .pc-toast-icon{background:#fff1f2;color:#dc2626}
.pc-toast-copy{min-width:0;display:grid;gap:3px}
.pc-toast-copy b{font-size:12px;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-toast-copy a{font-size:11px;color:#0e7490;text-decoration:none;font-weight:900;width:max-content}
.pc-toast-close{width:26px;height:26px;border:0;background:transparent;color:#64748b;font-size:20px;cursor:pointer;padding:0}
@media(max-width:600px){.pc-toast{right:14px!important;left:14px!important;bottom:14px!important;width:auto!important}.pc-cart-active{align-items:flex-start;flex-direction:column}.pc-cart-stepper{width:100%}.pc-cart-active>a{width:100%;text-align:center}}


/* Cart redesign v7 + soft add-to-cart interaction */
.cart-pro-page{
  max-width:1240px!important;
  padding:18px 14px 48px!important;
  background:transparent!important;
}
.cart-tabs-pro{
  max-width:none!important;
  margin:0 0 12px!important;
  border-bottom:0!important;
}
.cart-tabs-pro a{
  height:38px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid #e5e7eb!important;
  font-size:12px!important;
  color:#3f4064!important;
}
.cart-tabs-pro a.active{
  color:#ef4056!important;
  border-color:#fecdd3!important;
  background:#fff7f8!important;
}
.cart-tabs-pro a.active:after{display:none!important}
.cart-title-line{
  background:#fff!important;
  border:1px solid #e5e7eb!important;
  border-bottom:0!important;
  border-radius:18px 18px 0 0!important;
  margin:0!important;
  padding:18px 24px!important;
  justify-content:flex-start!important;
}
.cart-title-line h1{
  font-size:20px!important;
  font-weight:900!important;
  color:#23254e!important;
}
.cart-title-line span{
  color:#81858b!important;
  font-size:12px!important;
}
.cart-layout-pro{
  display:flex!important;
  flex-direction:row!important;
  gap:24px!important;
  align-items:flex-start!important;
  direction:rtl!important;
}
.cart-items-pro{
  flex:1 1 auto!important;
  min-width:0!important;
  background:#fff!important;
  border:1px solid #e5e7eb!important;
  border-radius:0 0 18px 18px!important;
  overflow:hidden!important;
  box-shadow:0 8px 24px rgba(15,23,42,.035)!important;
}
.cart-item-pro{
  display:grid!important;
  grid-template-columns:150px minmax(0,1fr) 220px!important;
  gap:18px!important;
  align-items:start!important;
  padding:20px 24px!important;
  min-height:184px!important;
  border-bottom:1px solid #f0f0f1!important;
  background:#fff!important;
  direction:rtl!important;
}
.cart-item-pro:last-child{border-bottom:0!important}
.cart-img-pro{
  width:150px!important;
  height:150px!important;
  border-radius:12px!important;
  background:#f8f8f9!important;
  border:0!important;
  padding:10px!important;
}
.cart-info-pro{
  min-width:0!important;
  gap:8px!important;
  align-content:start!important;
  padding-top:5px!important;
}
.cart-special-tag{
  width:max-content!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:24px!important;
  padding:0 9px!important;
  border-radius:999px!important;
  background:#fff1f2!important;
  color:#ef4056!important;
  font-size:11px!important;
  font-weight:800!important;
}
.cart-title-pro{
  color:#23254e!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:2!important;
}
.cart-variant-pro{
  width:max-content!important;
  max-width:100%!important;
  border-radius:999px!important;
  padding:3px 10px!important;
  background:#f1f2f4!important;
  color:#3f4064!important;
  font-size:12px!important;
}
.cart-service-pro span{
  color:#62666d!important;
  font-size:12px!important;
}
.cart-remove-pro{
  width:max-content!important;
  height:34px!important;
  padding:0 10px!important;
  border:1px solid #fecdd3!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#ef4056!important;
  font-size:12px!important;
}
.cart-remove-pro:before{content:'🗑️'!important;font-size:13px!important}
.cart-qty-price-pro{
  min-height:146px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:10px!important;
  direction:ltr!important;
}
.cart-qty-box{
  order:3!important;
  width:132px!important;
  height:42px!important;
  border-radius:14px!important;
  border-color:#e5e7eb!important;
  box-shadow:0 6px 16px rgba(15,23,42,.06)!important;
  direction:ltr!important;
}
.cart-qty-box input{
  font-weight:900!important;
  background:#fff!important;
  color:#ef4056!important;
  font-size:14px!important;
  pointer-events:none!important;
}
.cart-qty-box input::-webkit-outer-spin-button,.cart-qty-box input::-webkit-inner-spin-button{appearance:none!important;margin:0!important}
.cart-qty-box button{
  font-size:21px!important;
  font-weight:400!important;
}
.cart-unit-price{
  order:1!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  gap:5px!important;
  color:#81858b!important;
  font-size:11px!important;
  direction:rtl!important;
  text-align:left!important;
}
.cart-unit-price del{color:#c0c2c5!important;text-decoration-color:#c0c2c5!important}
.cart-unit-price em{background:#ef4056!important;color:#fff!important}
.cart-qty-price-pro>b{
  order:2!important;
  color:#23254e!important;
  font-size:18px!important;
  font-weight:900!important;
  direction:rtl!important;
  text-align:left!important;
}
.cart-summary-pro{
  flex:0 0 370px!important;
  width:370px!important;
  top:18px!important;
  border-radius:18px!important;
  border-color:#dfe3ea!important;
  box-shadow:0 8px 24px rgba(15,23,42,.045)!important;
  padding:22px 24px!important;
  background:#fff!important;
}
.cart-summary-pro h2{
  font-size:18px!important;
  font-weight:900!important;
  color:#23254e!important;
  margin-bottom:20px!important;
}
.summary-line,.summary-total{
  padding:12px 0!important;
  border-bottom:0!important;
}
.summary-line span,.summary-line em{
  color:#62666d!important;
  font-size:13px!important;
}
.summary-line span small{font-size:11px;color:#81858b;font-weight:400}
.summary-line b{font-size:14px!important;color:#23254e!important}
.cart-discount-line{
  margin-inline:-24px!important;
  padding-inline:24px!important;
  background:#e8f6ef!important;
  color:#008a4e!important;
}
.cart-discount-line span,.cart-discount-line b{color:#008a4e!important;font-weight:900!important}
.summary-total{
  border-top:1px solid #f0f0f1!important;
  margin-top:4px!important;
}
.summary-total span{font-weight:900!important;color:#23254e!important}
.summary-total strong{
  font-size:20px!important;
  color:#23254e!important;
}
.update-cart-pro{display:none!important}
.checkout-pro{
  height:48px!important;
  border-radius:10px!important;
  margin-top:18px!important;
  background:#ef4056!important;
  font-size:14px!important;
}
.cart-summary-pro p{
  color:#62666d!important;
  font-size:11.5px!important;
  line-height:2!important;
  margin-top:18px!important;
}
.cart-empty-pro{
  background:#fff!important;
  border-radius:18px!important;
  box-shadow:0 8px 24px rgba(15,23,42,.035)!important;
}
.add-to-cart-pro{
  position:relative!important;
  overflow:hidden!important;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease!important;
}
.add-to-cart-pro:not(:disabled):hover{box-shadow:0 10px 26px rgba(239,64,86,.22)!important}
.add-to-cart-pro.is-loading{
  cursor:wait!important;
  background:#ef4056!important;
  color:#fff!important;
}
.add-to-cart-pro.is-loading:before{
  content:'•••';
  letter-spacing:4px;
  font-size:20px;
  line-height:1;
  animation:pcDotsPulse .85s ease-in-out infinite;
}
.add-to-cart-pro.is-loading span{display:none!important}
@keyframes pcDotsPulse{0%,100%{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-1px)}}
.pc-cart-active.show.just-added{animation:pcCartReveal .42s cubic-bezier(.2,.8,.2,1)}
@keyframes pcCartReveal{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.pc-cart-active{
  border:1px solid #f0f0f1!important;
  border-radius:14px!important;
  padding:10px!important;
  background:#fff!important;
}
.pc-cart-stepper{
  border-radius:12px!important;
  min-width:138px!important;
  height:46px!important;
}
.pc-cart-stepper strong{font-size:16px!important}
@media(max-width:980px){
  .cart-title-line{border-radius:18px!important;border-bottom:1px solid #e5e7eb!important;margin-bottom:12px!important}
  .cart-layout-pro{display:block!important}
  .cart-items-pro{border-radius:18px!important;margin-bottom:16px!important}
  .cart-summary-pro{position:static!important;width:auto!important;flex:initial!important}
}
@media(max-width:720px){
  .cart-item-pro{grid-template-columns:104px minmax(0,1fr)!important;padding:16px!important;gap:12px!important}
  .cart-img-pro{width:104px!important;height:104px!important}
  .cart-qty-price-pro{grid-column:1/-1!important;min-height:auto!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;margin-top:8px!important}
  .cart-title-line{padding:14px 16px!important}
  .cart-summary-pro{padding:18px!important}
}

/* Cart AJAX quantity update + controlled wider cart v8 */
.cart-pro-page{
  max-width:1360px!important;
  width:calc(100% - 40px)!important;
}
.cart-layout-pro{
  gap:26px!important;
}
.cart-summary-pro{
  flex-basis:380px!important;
  width:380px!important;
}
.cart-qty-box,.pc-cart-stepper{
  position:relative!important;
  transition:box-shadow .18s ease, border-color .18s ease, transform .18s ease!important;
}
.cart-qty-box.is-loading,.pc-cart-stepper.is-loading{
  border-color:#fecdd3!important;
  box-shadow:0 8px 22px rgba(239,64,86,.12)!important;
}
.cart-qty-box.is-loading input,.pc-cart-stepper.is-loading strong,
.pc-cart-stepper.is-loading small{
  color:transparent!important;
}
.cart-qty-box.is-loading:after,.pc-cart-stepper.is-loading:after{
  content:"";
  position:absolute;
  left:50%;top:50%;
  width:18px;height:18px;
  margin:-9px 0 0 -9px;
  border:2px solid #ffe1e6;
  border-top-color:#ef4056;
  border-radius:50%;
  animation:payamCartSpin .65s linear infinite;
  pointer-events:none;
  z-index:2;
}
.cart-item-pro.is-updating{opacity:.86!important}
.cart-item-pro.is-removing{animation:payamCartRemove .22s ease forwards!important}
@keyframes payamCartSpin{to{transform:rotate(360deg)}}
@keyframes payamCartRemove{to{opacity:0;transform:translateX(-10px);max-height:0;padding-top:0;padding-bottom:0;margin:0;border-width:0}}
.cart-mini-toast{
  position:fixed;
  left:24px;
  bottom:24px;
  min-width:240px;
  max-width:min(360px,calc(100% - 32px));
  min-height:48px;
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:10px 13px;
  border-radius:14px;
  background:#fff;
  border:1px solid #e5e7eb;
  box-shadow:0 18px 50px rgba(15,23,42,.18);
  z-index:10000;
  opacity:0;
  visibility:hidden;
  transform:translateY(14px);
  transition:.2s ease;
  direction:rtl;
}
.cart-mini-toast.show{opacity:1;visibility:visible;transform:translateY(0)}
.cart-mini-toast span{
  width:30px;height:30px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:#ecfdf3;color:#15803d;font-weight:900;
}
.cart-mini-toast.error span{background:#fff1f2;color:#dc2626}
.cart-mini-toast b{font-size:12px;color:#23254e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-cart-active.is-updating{opacity:.88!important}
@media(max-width:980px){
  .cart-pro-page{width:100%!important;padding-inline:12px!important}
  .cart-summary-pro{width:auto!important;flex-basis:auto!important}
}
@media(max-width:600px){
  .cart-mini-toast{left:14px;right:14px;bottom:14px;max-width:none;min-width:0}
}

/* Smooth checkout transition from cart v8.1 */
.checkout-pro{
  position:relative!important;
  overflow:hidden!important;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease!important;
}
.checkout-pro:not(.is-loading):active{transform:scale(.985)!important}
.checkout-pro.is-loading{
  pointer-events:none!important;
  color:transparent!important;
  box-shadow:0 12px 28px rgba(239,64,86,.2)!important;
  opacity:.96!important;
}
.checkout-pro.is-loading:after{
  content:'•••';
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:22px;
  line-height:1;
  letter-spacing:5px;
  animation:payamCheckoutDots .8s ease-in-out infinite;
}
@keyframes payamCheckoutDots{
  0%,100%{opacity:.35;transform:translateY(0)}
  50%{opacity:1;transform:translateY(-1px)}
}
