/* Zex cart page — same structure as the reference store, Zex colours */
.zc{--zc-card:#15161b;--zc-line:#23252b;--zc-muted:#B4B9BA;padding-bottom:50px}
.zc-wrap{max-width:1420px;margin:0 auto;padding:0 10px}
.zc-head{background:#111216;border-bottom:1px solid var(--zc-line);padding:26px 0 22px;margin-bottom:28px}
.zc-title{margin:0 0 6px!important;font-size:22px!important;font-weight:700!important;line-height:1.5!important;color:#fff!important}
.zc-title small{font-size:13px;font-weight:500;color:var(--zc-muted)}
.zc-crumb{display:flex;align-items:center;gap:10px;font-size:14px;color:#fff}
.zc-crumb a{color:#fff!important}
.zc-crumb a:hover{color:#F12A42!important}
.zc-crumb span[aria-hidden]{color:var(--zc-muted)}

.zc-body{display:grid;grid-template-columns:minmax(0,1fr) 384px;gap:20px;align-items:start}
.zc-body.is-busy{opacity:.6;pointer-events:none;transition:opacity .2s}
.zc-notice{grid-column:1/-1;padding:12px 16px;border-radius:10px;background:rgba(241,42,66,.12);border:1px solid rgba(241,42,66,.45);color:#ffd2d8;font-size:14px}

/* items */
.zc-items{display:flex;flex-direction:column;gap:20px}
.zc-item{padding:12px;border-radius:6px;background:var(--zc-card);border:1px solid var(--zc-line)}
.zc-item__top{display:flex;gap:12px;padding-bottom:12px}
.zc-item__img{flex:none;display:block;width:96px;height:80px;border-radius:6px;overflow:hidden;border:1px solid rgba(229,231,235,.35)}
.zc-item__img img{display:block;width:100%!important;height:100%!important;object-fit:cover;margin:0!important;border-radius:0!important}
.zc-item__info{display:flex;flex-direction:column;gap:4px;min-width:0}
.zc-item__name{margin:0!important;font-size:16px!important;font-weight:600!important;line-height:1.5!important}
.zc-item__name a{color:#fff!important}
.zc-item__name a:hover{color:#F12A42!important}
.zc-item__price{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:15px}
.zc-item__price del,.zc-item__price del .amount{font-size:14px;color:#6B7280!important}
.zc-item__now,.zc-item__now .amount{color:#F87171!important}
.zc-item__qty{display:flex;justify-content:flex-end;padding-bottom:12px}
.zc-qty{display:flex;align-items:center;width:138px;height:40px;border:1px solid var(--zc-muted);border-radius:6px;overflow:hidden}
.zc-qty button{flex:none;width:40px;height:100%;padding:0;border:0;background:none;color:#fff;font-size:22px;line-height:1;cursor:pointer}
.zc-qty button:hover{color:#F12A42}
.zc-qty input{flex:1;min-width:0;height:100%;padding:0;border:0!important;background:none!important;color:#fff!important;text-align:center;font-size:14px;box-shadow:none!important;-moz-appearance:textfield}
.zc-qty input::-webkit-outer-spin-button,.zc-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.zc-item__foot{display:flex;align-items:center;justify-content:space-between;padding-top:16px;border-top:1px solid rgba(229,231,235,.2);font-size:15px;color:#fff}
.zc-item__sub b{font-weight:700}
.zc-del{padding:4px 8px;border-radius:3px;border:1px solid #F87171;background:#F87171;color:#fff;font:inherit;font-size:12px;line-height:1.2;cursor:pointer}
.zc-del:hover{background:#ef4444;border-color:#ef4444}

/* side column */
.zc-side{display:flex;flex-direction:column;gap:20px;position:sticky;top:150px}
.zc-box{padding:20px 24px;border-radius:6px;background:var(--zc-card);border:1px solid var(--zc-line)}
.zc-btn{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 24px;border:0;border-radius:14px;cursor:pointer;text-decoration:none!important;
  background:#F12A42;color:#fff!important;font:inherit;font-size:14px;font-weight:800;box-shadow:0 4px 0 #a5101f,0 10px 22px -8px rgba(241,42,66,.55);transition:transform .15s,box-shadow .15s}
.zc-btn:hover{transform:translateY(1px);box-shadow:0 3px 0 #a5101f,0 8px 18px -8px rgba(241,42,66,.55)}
.zc-btn:active{transform:translateY(3px);box-shadow:0 1px 0 #a5101f}
.zc-coupon__q{margin:0 0 10px!important;font-size:14px;color:var(--zc-muted)}
.zc-coupon__form{display:flex;align-items:center;gap:10px}
.zc-coupon__form input{flex:1;min-width:0;height:40px;padding:0 12px;border:1px solid var(--zc-line)!important;border-radius:8px;background:#0d0e11!important;color:#fff!important;font:inherit;font-size:14px;box-shadow:none!important}
.zc-coupon__tag{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding:6px 10px;border-radius:8px;background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.35);font-size:13px;color:#bbf7d0}
.zc-coupon__tag button{border:0;background:none;color:#fff;font-size:18px;line-height:1;cursor:pointer}
.zc-summary__bar{display:none}
.zc-summary__title{margin:0 0 14px!important;font-size:14px!important;font-weight:600!important;color:#fff!important}
.zc-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:14px;color:var(--zc-muted)}
.zc-line b{font-size:16px;font-weight:400;color:#fff}
.zc-line--disc b{color:#22C55E}
.zc-line--total{padding-top:12px;border-top:1px solid rgba(229,231,235,.15);font-size:16px;color:#fff}
.zc-line--total small{font-size:12px;color:var(--zc-muted)}
.zc-checkout{width:100%;margin-top:8px}

/* empty */
.zc-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:14px;padding:60px 16px;text-align:center}
.zc-empty svg{width:64px;height:64px;fill:none;stroke:#F12A42;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 14px rgba(241,42,66,.5))}
.zc-empty p{margin:0!important;font-size:18px;font-weight:600;color:#fff}

/* phones: one column, the summary turns into a bottom bar with a pull-up sheet */
@media (max-width:991px){
  .zc-head{padding:20px 0 18px;margin-bottom:22px}
  .zc-body{grid-template-columns:1fr;gap:20px}
  .zc-side{position:static}
  .zc-summary{position:fixed;left:0;right:0;bottom:0;z-index:95;padding:0 12px calc(10px + env(safe-area-inset-bottom));border:0;border-radius:24px 24px 0 0;
    box-shadow:0 -12px 24px -12px rgba(0,0,0,.6),0 -1px 0 var(--zc-line)}
  .zc-summary__bar{display:flex;align-items:center;gap:10px;width:100%;padding:14px 4px 10px;border:0;background:none;color:#fff;font:inherit;cursor:pointer;text-align:start}
  .zc-summary__label{flex:1;font-size:15px}
  .zc-summary__label small{font-size:12px;color:var(--zc-muted)}
  .zc-summary__total{font-size:16px;font-weight:700}
  .zc-summary__chev{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s}
  .zc-summary.is-open .zc-summary__chev{transform:rotate(180deg)}
  .zc-summary__lines{max-height:0;overflow:hidden;padding:0 4px;transition:max-height .35s cubic-bezier(.32,.72,0,1)}
  .zc-summary.is-open .zc-summary__lines{max-height:320px}
  .zc-summary .zc-line--total{display:none}
  .zc-checkout{margin-top:4px;height:44px;font-size:15px}
  body.woocommerce-cart{padding-bottom:130px}
}
