/* OLMAX cart: accessible controls, restrained layout */
body.goods-store #checkout-cart .gs-cart-heading{margin-bottom:16px}
body.goods-store #checkout-cart .gs-cart-heading h1{font-size:clamp(25px,3vw,32px);font-weight:780;letter-spacing:-.03em}
body.goods-store #checkout-cart .gs-cart-items{background:#fff;border:1px solid #e5ebf3;border-radius:15px;box-shadow:0 5px 20px #1239680a}
body.goods-store #checkout-cart .gs-cart-table{margin-bottom:0}
body.goods-store #checkout-cart .gs-cart-table thead th{background:#f7f9fc;color:#63758a;font-size:12px;font-weight:650;border-color:#edf1f6}
body.goods-store #checkout-cart .gs-cart-table tbody td{vertical-align:middle;border-color:#edf1f6}
body.goods-store #checkout-cart .gs-cart-name{font-weight:720;line-height:1.4}
body.goods-store #checkout-cart .gs-cart-model{font-size:12px;color:#718398}
body.goods-store #checkout-cart .gs-cart-controls{display:inline-flex;align-items:center;gap:5px;max-width:100%}
body.goods-store #checkout-cart .gs-cart-controls input[type=number]{width:59px;min-width:52px;height:43px;padding:4px;text-align:center;border:1px solid #dbe5f0;border-radius:9px;font-variant-numeric:tabular-nums;appearance:textfield}
body.goods-store #checkout-cart .gs-cart-controls input::-webkit-inner-spin-button,
body.goods-store #checkout-cart .gs-cart-controls input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body.goods-store #checkout-cart .gs-cart-controls .gs-cart-step{width:43px;min-width:43px;height:43px;border:1px solid #dbe6f2;border-radius:9px;background:#f4f8fd;color:#135cb4;font-size:22px;line-height:1;font-weight:600;padding:0}
body.goods-store #checkout-cart .gs-cart-controls .gs-cart-step:hover,
body.goods-store #checkout-cart .gs-cart-controls .gs-cart-step:focus-visible{background:#e5f1ff;border-color:#9ac2f0}
body.goods-store #checkout-cart .gs-cart-controls .gs-cart-remove{width:43px;min-width:43px;height:43px;margin-left:8px;padding:0;border:1px solid #e6ebf2;border-radius:9px;background:#fff;color:#697c8f}
body.goods-store #checkout-cart .gs-cart-controls .gs-cart-remove:hover{background:#fff4f4;color:#b84242}
body.goods-store #checkout-cart .gs-cart-controls .gs-cart-update[hidden]{display:none!important}
body.goods-store #checkout-cart .gs-cart-table .gs-cart-grand-total{font-size:19px;font-weight:800;font-variant-numeric:tabular-nums}
body.goods-store #checkout-cart .gs-cart-table .gs-cart-grand-total :is(th,td){color:#1458a7}
body.goods-store #checkout-cart .gs-cart-footer{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:15px 0}
body.goods-store #checkout-cart .gs-cart-footer .btn-light{border:1px solid #e5eaf1;background:#fff;border-radius:10px;color:#275480;min-height:44px;font-weight:650}

@media(max-width:767px){
 body.goods-store #checkout-cart .gs-cart-items{border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
 body.goods-store #checkout-cart .gs-cart-table,body.goods-store #checkout-cart .gs-cart-table tbody{display:block}
 body.goods-store #checkout-cart .gs-cart-table thead{display:none}
 body.goods-store #checkout-cart .gs-cart-table tbody tr.gs-cart-row{display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-areas:"picture details" "quantity quantity" "line line";column-gap:12px;row-gap:12px;padding:14px;margin-bottom:12px;border:1px solid #e5ebf3;border-radius:13px;background:#fff;box-shadow:0 4px 15px #1239680a}
 body.goods-store #checkout-cart .gs-cart-table tbody tr.gs-cart-row>td{display:block;width:auto!important;min-width:0;padding:0!important;border:0;background:transparent}
 body.goods-store #checkout-cart .gs-cart-image{grid-area:picture;align-self:start}
 body.goods-store #checkout-cart .gs-cart-image img{width:72px;height:72px;object-fit:contain}
 body.goods-store #checkout-cart .gs-cart-product{grid-area:details}
 body.goods-store #checkout-cart .gs-cart-name{font-size:14px;overflow-wrap:anywhere}
 body.goods-store #checkout-cart .gs-cart-quantity{grid-area:quantity}
 body.goods-store #checkout-cart .gs-cart-controls{display:flex;justify-content:flex-start;gap:6px}
 body.goods-store #checkout-cart .gs-cart-unit{display:none!important}
 body.goods-store #checkout-cart .gs-cart-line-total{grid-area:line;display:flex!important;justify-content:space-between;border-top:1px solid #edf1f6!important;padding-top:10px!important}
 body.goods-store #checkout-cart .gs-cart-mobile-unit{display:none!important}
 body.goods-store #checkout-cart .gs-cart-amount{display:flex;align-items:baseline;justify-content:space-between;gap:12px;width:100%}
 body.goods-store #checkout-cart .gs-cart-amount small{display:inline;color:#74879a;font-size:12px}
 body.goods-store #checkout-cart .gs-cart-amount strong{color:#164978;font-size:19px;white-space:nowrap}
 body.goods-store #checkout-cart .gs-cart-table tfoot{display:block;padding:12px 14px;border:1px solid #e4eaf1;border-radius:13px;background:#fff}
 body.goods-store #checkout-cart .gs-cart-table tfoot tr{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
 body.goods-store #checkout-cart .gs-cart-table tfoot tr>th,body.goods-store #checkout-cart .gs-cart-table tfoot tr>td{display:block;width:auto!important;min-width:0;padding:8px 0;border:0}
 body.goods-store #checkout-cart .gs-cart-table tfoot th{text-align:left!important}
 body.goods-store #checkout-cart .gs-cart-table tfoot td{text-align:right!important}
 body.goods-store #checkout-cart .gs-cart-table tfoot .gs-cart-grand-total{margin-top:5px;padding-top:5px;border-top:1px solid #e6edf5}
 body.goods-store #checkout-cart .gs-cart-footer{margin:12px 0 4px}
}
