/* Foxy Store DZ - Cart price/layout fix V18 */
.cart-live-item{
  position:relative;
  display:grid!important;
  direction:ltr;
  grid-template-columns:minmax(145px,190px) 48px 150px minmax(180px,1fr) 84px;
  grid-template-areas:"price remove qty info image";
  align-items:center;
  gap:16px;
  padding:15px!important;
  transition:opacity .15s ease,transform .15s ease;
  background:#242424;
  border:1px solid #333;
  border-radius:12px;
  margin-bottom:12px;
  overflow:visible;
}
.cart-live-item.is-updating{opacity:.68}
.cart-live-item.is-removing{opacity:0;transform:translateX(12px)}

.cart-item-image{
  grid-area:image;
  display:block;
  width:84px;
  height:98px;
  border-radius:10px;
  overflow:hidden;
  background:#1a1a1a;
  justify-self:end;
}
.cart-item-image img{width:100%;height:100%;object-fit:contain;display:block}

.cart-item-info{
  grid-area:info;
  min-width:0;
  direction:rtl;
  text-align:right;
}
html[dir="ltr"] .cart-item-info{direction:ltr;text-align:left}
.cart-item-info h3{margin:0;font-size:15px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-item-info small{display:block;color:#888;margin-top:4px;font-size:11px}
.cart-unit-price{display:block;color:#a8a8a8;font-size:11px;margin-top:5px;font-weight:600;opacity:.85}

.cart-qty-control{
  grid-area:qty;
  direction:ltr;
  display:grid;
  grid-template-columns:42px 52px 42px;
  align-items:center;
  justify-self:center;
  border:1px solid #414141;
  border-radius:11px;
  background:#171717;
  overflow:hidden;
  height:46px;
  margin:0;
}
.cart-qty-btn{width:42px;height:46px;border:0;background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer;touch-action:manipulation}
.cart-qty-btn:hover:not(:disabled){background:#ff6a00}
.cart-qty-btn:disabled{opacity:.28;cursor:not-allowed}
.cart-qty-btn svg{width:20px;height:20px;fill:currentColor}
.cart-qty-value{min-width:52px;text-align:center;font-size:16px;font-weight:800;color:#fff;border-inline:1px solid #383838;line-height:46px}

/* Main line price: fixed on the physical LEFT, deliberately larger than controls. */
.cart-line-total{
  grid-area:price;
  direction:ltr;
  justify-self:start;
  align-self:center;
  min-width:145px;
  white-space:nowrap;
  font-size:24px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.3px;
  color:#ffe100;
  text-align:left;
  font-variant-numeric:tabular-nums;
}

.cart-remove-form{grid-area:remove;margin:0;justify-self:center}
.cart-remove-btn{width:44px;height:44px;border:1px solid #4a2b2b;border-radius:10px;background:#321b1b;color:#ff8d8d;display:grid;place-items:center;cursor:pointer;touch-action:manipulation}
.cart-remove-btn:hover:not(:disabled){background:#9d2c2c;color:#fff;border-color:#b93b3b}
.cart-remove-btn:disabled{opacity:.4}
.cart-remove-btn svg{width:20px;height:20px;fill:currentColor}

.cart-item-status{position:absolute;bottom:3px;right:114px;font-size:10px;color:#78d99a;min-height:14px;direction:rtl}
html[dir="ltr"] .cart-item-status{right:auto;left:114px;direction:ltr}
.cart-item-status.is-error{color:#ff8d8d}
.cart-summary b{font-variant-numeric:tabular-nums}
.cart-summary .grand b{color:#ffe100;font-size:1.15em}

@media(max-width:980px){
  .cart-live-item{
    grid-template-columns:minmax(125px,160px) 46px 140px minmax(150px,1fr) 74px;
    gap:11px;
  }
  .cart-item-image{width:74px;height:88px}
  .cart-line-total{font-size:20px;min-width:125px}
}

@media(max-width:760px){
  .cart-live-item{
    grid-template-columns:64px minmax(0,1fr) 42px;
    grid-template-areas:
      "image info remove"
      "image qty qty"
      "price price price"
      "status status status";
    gap:9px 10px;
    padding:12px!important;
  }
  .cart-item-image{width:64px;height:80px;align-self:start}
  .cart-item-info{align-self:start}
  .cart-item-info h3{font-size:13px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .cart-unit-price{font-size:10px;margin-top:3px}
  .cart-qty-control{justify-self:start;grid-template-columns:40px 46px 40px;height:42px}
  .cart-qty-btn{width:40px;height:42px}
  .cart-qty-value{min-width:46px;line-height:42px;font-size:15px}
  .cart-remove-form{justify-self:end;align-self:start}
  .cart-remove-btn{width:40px;height:40px}
  .cart-line-total{
    justify-self:start;
    width:100%;
    min-width:0;
    padding-top:10px;
    margin-top:2px;
    border-top:1px solid #363636;
    font-size:22px;
    text-align:left;
  }
  .cart-item-status{grid-area:status;position:static;font-size:10px;direction:inherit;min-height:12px}
  .cart-layout{grid-template-columns:1fr!important}
  .cart-summary{position:static!important}
}

@media(max-width:430px){
  .cart-live-item{grid-template-columns:58px minmax(0,1fr) 40px;padding:10px!important}
  .cart-item-image{width:58px;height:74px}
  .cart-qty-control{grid-template-columns:36px 42px 36px}
  .cart-qty-btn{width:36px}
  .cart-qty-value{min-width:42px}
  .cart-line-total{font-size:20px}
}

@media(prefers-reduced-motion:reduce){.cart-live-item{transition:none}}
