/* VENDEVIX B2B Cart */
.vx-cart{padding:10px 0 56px}
.vx-cart__head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:8px 0 18px;padding:0 2px}
.vx-cart__head h1{margin:0;font-size:clamp(1.35rem,3vw,1.75rem);font-weight:800;color:var(--navy);letter-spacing:-.03em}
.vx-cart__head p{margin:4px 0 0;font-size:13px;color:var(--muted)}
.vx-cart__head a{font-size:13px;font-weight:700;color:var(--blue);white-space:nowrap;flex-shrink:0;padding:4px 0}

.vx-cart__grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}
.vx-cart__lines{display:grid;gap:12px}
.vx-line{display:grid;grid-template-columns:88px minmax(0,1fr);gap:14px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:0 2px 10px rgba(8,30,60,.04)}
.vx-line__img{width:88px;height:88px;border-radius:12px;background:#FAFBFC;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;overflow:hidden}
.vx-line__img img{max-width:100%;max-height:100%;object-fit:contain}
.vx-line__body{min-width:0}
.vx-line__brand{font-size:10px;font-weight:800;color:var(--blue);letter-spacing:.06em;text-transform:uppercase}
.vx-line__name{display:block;margin:2px 0 4px;font-size:14px;font-weight:700;color:var(--navy);line-height:1.3}
.vx-line__meta{font-size:11.5px;color:var(--muted);font-weight:600}
.vx-line__price{display:flex;align-items:baseline;gap:10px;margin-top:8px;line-height:1.2}
.vx-line__price s{font-size:13px;color:var(--muted);font-weight:600;text-decoration:line-through}
.vx-line__price strong{font-size:17px;font-weight:800;color:var(--navy);letter-spacing:-.02em}
.vx-line__acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.vx-line__badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.vx-badge{display:inline-flex;align-items:center;padding:5px 10px;font-size:11.5px;font-weight:800;border-radius:8px;line-height:1.3}
.vx-badge--disc{border:1px solid #FECACA;color:#DC2626;background:#FEF2F2}
.vx-badge--disc span{font-weight:900}
.vx-badge--ship{border:1px solid #BFDBFE;color:#1D4ED8;background:#EFF6FF}
.vx-line__remove{border:0;background:transparent;color:#DC2626;font-size:12px;font-weight:700;cursor:pointer;padding:4px 2px}
.vx-cart__clear{display:flex;justify-content:flex-end;margin-top:4px;padding:4px 2px 0}

.vx-qty{display:inline-flex;align-items:center;height:36px;border:1.5px solid var(--line);border-radius:10px;overflow:hidden;background:#FAFBFC}
.vx-qty button{width:34px;height:100%;border:0;background:transparent;cursor:pointer;color:var(--navy);display:grid;place-items:center;font-weight:800}
.vx-qty input{width:36px;height:100%;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);text-align:center;font-weight:800;background:#fff;outline:0;font-size:13px}

.vx-sum{position:sticky;top:84px;background:#fff;border:1px solid var(--line);border-radius:var(--r2);padding:18px;box-shadow:var(--sh)}
.vx-sum h2{margin:0 0 14px;font-size:15px;font-weight:800;color:var(--navy)}
.vx-ship--top{margin:0 0 14px;padding:12px 14px;border-radius:12px;background:#FFF7ED;border:1px solid #FFEDD5}
.vx-ship--top.is-done{background:#F0FDF4;border-color:#BBF7D0}
.vx-ship--top strong{display:block;font-size:12.5px;color:#475569;margin-bottom:8px;line-height:1.35}
.vx-ship--top strong span{color:#EA580C;font-weight:900}
.vx-ship--top.is-done strong{color:#166534}
.vx-ship--top .vx-ship__bar i{background:linear-gradient(90deg,#FF8A3D,#EA580C)}
.vx-ship--top.is-done .vx-ship__bar i{background:linear-gradient(90deg,#34D399,#10B981)}
.vx-sum__row{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:8px;color:var(--muted)}
.vx-sum__row b{color:var(--navy);font-weight:700}
.vx-sum__row--ok b{color:var(--ok)}
.vx-sum__total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.vx-sum__total span{font-size:13px;font-weight:700;color:var(--navy)}
.vx-sum__total strong{font-size:22px;font-weight:800;color:var(--navy);letter-spacing:-.03em}
.vx-sum__note{margin:6px 0 0;font-size:11px;color:var(--muted)}

.vx-ship{margin:14px 0;padding:12px;border-radius:12px;background:#F8FAFC;border:1px solid var(--line)}
.vx-ship strong{display:block;font-size:12px;color:var(--navy);margin-bottom:6px}
.vx-ship__bar{height:6px;border-radius:999px;background:#E5E7EB;overflow:hidden}
.vx-ship__bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--blue),#60A5FA)}
.vx-ship small{display:block;margin-top:6px;font-size:11px;color:var(--muted);font-weight:600}

.vx-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;border:0;border-radius:12px;font-family:var(--font,'Inter',system-ui,sans-serif)!important;font-weight:900!important;font-size:14.5px;letter-spacing:.025em;cursor:pointer;text-decoration:none;line-height:1.1;-webkit-font-smoothing:auto}
.vx-btn--navy{background:var(--navy);color:#fff}.vx-btn--navy:hover{background:var(--navy2)}
.vx-btn--blue{background:var(--blue);color:#fff}
.vx-btn--ghost{background:#fff;border:1.5px solid var(--line);color:var(--navy);margin-top:8px}
.vx-btn:disabled{opacity:.55;cursor:not-allowed}
.vx-sum__links{display:grid;gap:6px;margin-top:12px}
.vx-sum__links a{font-size:12.5px;font-weight:700;color:var(--blue);text-align:center}

.vx-coupon{display:flex;gap:8px;margin-top:12px}
.vx-coupon input{flex:1;height:40px;border:1.5px solid var(--line);border-radius:10px;padding:0 12px;outline:0;font-size:13px}
.vx-coupon button{height:40px;padding:0 14px;border:0;border-radius:10px;background:var(--navy);color:#fff;font-weight:700;font-size:12px;cursor:pointer}

.vx-empty{text-align:center;padding:48px 20px;background:#fff;border:1px solid var(--line);border-radius:var(--r2);box-shadow:var(--sh)}
.vx-empty h2{margin:0 0 8px;font-size:20px;color:var(--navy)}
.vx-empty p{margin:0 0 18px;color:var(--muted);font-size:14px}
.vx-empty .vx-btn{max-width:260px;margin:0 auto}

.vx-xs{margin-top:28px}
.vx-xs__sec{margin-bottom:22px}
.vx-xs__head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}
.vx-xs__head h2{margin:0;font-size:17px;font-weight:800;color:var(--navy)}
.vx-xs__head p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
.vx-xs__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.vx-xc{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:.15s}
.vx-xc:hover{border-color:#BFDBFE;box-shadow:var(--sh);transform:translateY(-2px)}
.vx-xc__img{height:110px;padding:10px;background:#FAFBFC;display:flex;align-items:center;justify-content:center}
.vx-xc__img img{max-height:100%;object-fit:contain}
.vx-xc__b{padding:10px 12px 12px;display:flex;flex-direction:column;gap:4px;flex:1}
.vx-xc__b h3{margin:0;font-size:12.5px;font-weight:700;color:var(--navy);line-height:1.3;min-height:2.5em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vx-xc__b s{font-size:11px;color:var(--muted)}
.vx-xc__b strong{font-size:14px;color:var(--navy)}
.vx-xc__add{margin-top:8px;height:40px;border:0;border-radius:10px;background:var(--navy);color:#fff;font-family:var(--font,'Inter',system-ui,sans-serif)!important;font-size:13px;font-weight:900!important;letter-spacing:.025em;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1.1;-webkit-font-smoothing:auto}
.vx-xc__add:disabled{opacity:.5;cursor:not-allowed}
.vx-xc__add svg{width:14px;height:14px}

.vx-sticky{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--line);padding:10px 16px;box-shadow:0 -8px 28px rgba(8,30,60,.12);display:none;align-items:center;gap:12px;box-sizing:border-box}
.vx-sticky .t{flex:1;min-width:0;padding-right:4px}
.vx-sticky .t small{display:block;font-size:11px;color:var(--muted);font-weight:700;line-height:1.2}
.vx-sticky .t strong{font-size:15.5px;color:var(--navy);font-weight:800;line-height:1.2;letter-spacing:-.02em}
.vx-sticky .vx-btn{width:auto;min-width:0;height:46px;padding:0 16px;border-radius:12px;font-size:14px;font-weight:900!important;letter-spacing:.025em;line-height:1.1}

@media(max-width:960px){
  .vx-cart__grid{grid-template-columns:1fr}
  .vx-sum{position:static}
  .vx-line{grid-template-columns:72px minmax(0,1fr);gap:12px}
  .vx-xs__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .vx-sticky{display:flex;padding-left:16px;padding-right:16px}
  .vx-sum .vx-btn--navy{display:none}
}
@media(max-width:640px){
  .vx-cart{padding-left:0;padding-right:0}
  .vx-cart__head{margin:6px 0 16px;gap:10px;padding:0 4px}
  .vx-cart__head a{font-size:12.5px}
  .vx-cart__clear{padding:6px 4px 2px}
  .vx-line__img{width:64px;height:64px}
  .vx-line__price{gap:8px}
  .vx-line__price s{font-size:12px}
  .vx-line__price strong{font-size:16px}
  .vx-xs__grid{gap:10px}
  .vx-xc__add{height:42px;font-size:13.5px;font-weight:900!important;letter-spacing:.025em}
  .vx-sticky{padding-left:16px;padding-right:16px;gap:12px}
  .vx-sticky .vx-btn{height:48px;padding:0 16px;font-size:14.5px;font-weight:900!important}
}
