/* ZOTY v2 — корзина / оформление (concept-design checkout) */
body.v2.page-cart .co-wrap{padding:0 0 48px}
body.v2 .co-steps{
  display:flex!important;flex-direction:row!important;flex-wrap:wrap;
  gap:8px;align-items:center;padding:6px 0 28px;list-style:none;margin:0
}
body.v2 .co-steps .st{display:inline-flex!important;align-items:center;gap:10px;font-weight:700;font-size:14px;margin:0}
body.v2 .co-steps .st .n{
  width:30px;height:30px;border-radius:50%;display:grid!important;place-items:center;
  font-size:13px;background:var(--red);color:#fff;flex:none
}
body.v2 .co-steps .st.done .n{background:var(--green,#2F9E5B);color:#fff}
body.v2 .co-steps .st.off{color:var(--mut)}
body.v2 .co-steps .st.off .n{background:var(--line);color:var(--mut)}
body.v2 .co-steps .line{flex:1;max-width:60px;height:2px;background:var(--line);display:block}

body.v2 #shopCart-tpl.co-grid,
body.v2 .co-grid{
  display:grid;grid-template-columns:1fr minmax(280px,400px);gap:24px;align-items:start;
}
body.v2 .co-main .block,
body.v2 .summary.block,
body.v2 #shopCart-tpl .card,
body.v2 #shopCart-tpl .card-body{
  background:var(--paper);border:none;border-radius:18px;box-shadow:none;
}
body.v2 .co-main .block,
body.v2 .summary.block{padding:28px;margin-bottom:18px}
body.v2 .block h2,
body.v2 .summary h2,
body.v2 .summary h3{
  font-size:18px;font-weight:900;margin-bottom:20px;display:flex;align-items:center;gap:10px
}
body.v2 .block h2 .n,
body.v2 .summary h2 .n{
  width:28px;height:28px;border-radius:50%;background:var(--red);color:#fff;font-size:13px;display:grid;place-items:center
}
body.v2 #shopCart-tpl .card-body{padding:26px}

/* Корзина v2 — без bootstrap card-header */
body.v2 .co-cart{margin:0}
body.v2 .co-cart--empty{
  padding:28px 16px;text-align:center;border:2px dashed var(--line);border-radius:14px;background:var(--bg);
}
body.v2 .co-cart-empty{margin:0;font-size:15px;font-weight:600;color:var(--mut)}
body.v2 .co-cart-table-wrap{overflow-x:auto;margin:0 -4px}
body.v2 .co-cart-table{width:100%;border-collapse:collapse;border-spacing:0}
body.v2 .co-cart-table thead th{
  padding:0 8px 12px;font-size:12px;font-weight:700;color:var(--mut);
  text-transform:uppercase;letter-spacing:.04em;border-bottom:2px solid var(--line);text-align:left;
}
body.v2 .co-cart-table tbody td{
  padding:14px 8px;border-bottom:1px solid var(--line);font-size:14px;vertical-align:middle;
}
body.v2 .co-cart-thumb img{width:72px;height:72px;object-fit:contain;border-radius:10px;background:var(--bg)}
body.v2 .co-cart-name a{font-weight:700;color:var(--ink);line-height:1.35}
body.v2 .co-cart-name a:hover{color:var(--red)}
body.v2 .co-cart-price{font-weight:800;white-space:nowrap}
body.v2 .co-cart-qty input{
  width:64px;text-align:center;border:2px solid var(--line);border-radius:10px;padding:8px 6px;font:inherit;
}
body.v2 .co-cart-remove a{
  display:grid;place-items:center;width:34px;height:34px;border-radius:50%;
  background:var(--bg);color:var(--mut);font-size:22px;line-height:1;font-weight:400;
}
body.v2 .co-cart-remove a:hover{background:#FFE8E9;color:var(--red)}
body.v2 .co-cart-foot{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;
  padding-top:18px;margin-top:4px;border-top:2px solid var(--line);
}
body.v2 .co-cart-total{font-size:17px;font-weight:700}
body.v2 .co-cart-total strong{font-size:22px;font-weight:900;color:var(--ink)}
body.v2 .co-cart-clear{font-size:14px;font-weight:700;color:var(--mut)}
body.v2 .co-cart-clear:hover{color:var(--red)}

/* Legacy bootstrap-карточка SHK, если где-то ещё подключена */
body.v2 #shopCart-tpl .card{border:none!important;box-shadow:none!important;background:transparent!important;margin:0!important}
body.v2 #shopCart-tpl .card-header{display:none!important}
body.v2 #shopCart-tpl .card-body{padding:0!important;border:none!important;background:transparent!important}
body.v2 #shopCart-tpl .shop-cart-empty{padding:28px 16px;color:var(--mut);font-weight:600}

body.v2 #shopCart-tpl table{width:100%;border-collapse:collapse}
body.v2 #shopCart-tpl th,
body.v2 #shopCart-tpl td{padding:12px 8px;border-bottom:1px solid var(--line);font-size:14px}

body.v2 .v2-order-form .field{margin-bottom:14px}
body.v2 .v2-order-form label{display:block;font-size:13px;font-weight:600;color:var(--mut);margin-bottom:6px}
body.v2 .v2-order-form .agree{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:var(--mut);font-weight:500;margin:14px 0;line-height:1.5}
body.v2 .v2-order-form .agree input{width:18px;height:18px;accent-color:var(--red);margin-top:1px;flex:none}
body.v2 .v2-order-form input[type="text"],
body.v2 .v2-order-form input[type="email"],
body.v2 .v2-order-form input[type="tel"],
body.v2 .v2-order-form textarea,
body.v2 .v2-order-form select,
body.v2 #shopCart-tpl input[type="text"],
body.v2 #shopCart-tpl input[type="email"],
body.v2 #shopCart-tpl input[type="tel"],
body.v2 #shopCart-tpl textarea,
body.v2 #shopCart-tpl select{
  width:100%;border:2px solid var(--line);border-radius:11px;padding:13px 15px;
  font-family:inherit;font-size:15px;background:#fff;font-weight:500
}
body.v2 .v2-order-form input:focus,
body.v2 .v2-order-form textarea:focus,
body.v2 .v2-order-form select:focus,
body.v2 #shopCart-tpl input:focus,
body.v2 #shopCart-tpl textarea:focus,
body.v2 #shopCart-tpl select:focus{outline:none;border-color:var(--red)}
body.v2 .v2-order-form input[type="submit"],
body.v2 #shopCart-tpl button[type="submit"],
body.v2 #shopCart-tpl .btn-primary,
body.v2 #shopCart-tpl .btn-danger,
body.v2 .btn-block{
  display:block;width:100%;text-align:center;
  background:var(--red)!important;border:none!important;color:#fff!important;
  font-weight:800;border-radius:12px;padding:16px 22px;font-size:16px;cursor:pointer
}
body.v2 .pactions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
body.v2 .pactions .v2-shk-form{display:inline}
body.v2 .hdr .fav.is-soon{display:grid;place-items:center;opacity:.45;pointer-events:none}

@media(max-width:900px){
  body.v2 #shopCart-tpl.co-grid,
  body.v2 .co-grid{grid-template-columns:1fr}
}
