/* R617: единая Woo-форма, плотная таблица на desktop и товарные строки на mobile. */
body.hg-store.woocommerce-cart .jp-content-page { padding-bottom:48px; }
body.hg-store.woocommerce-cart .jp-page-heading { padding:0 0 16px; }
body.hg-store.woocommerce-cart .jp-page-heading h1 { font-size:clamp(28px,3vw,40px); }
body.hg-store.woocommerce-cart .jp-content-page > .gtyres-note { margin-bottom:12px!important; padding:10px 14px; font-size:12px; }
body.hg-store.woocommerce-cart .hg-cart-intro .hg-mascot { --hg-mascot-h:88px; max-width:720px; margin:8px 0 20px; gap:12px; }
body.hg-store.woocommerce-cart .hg-cart-intro .hg-mascot-bubble { padding:13px 16px; box-shadow:none; }
body.hg-store.woocommerce-cart .hg-cart-intro .hg-mascot p { font-size:13px; line-height:1.65; }
body.hg-store.woocommerce-cart .hg-cart-layout { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:24px; align-items:start; }
body.hg-store.woocommerce-cart .hg-cart-form { float:none; width:auto; min-width:0; margin:0; }
body.hg-store.woocommerce-cart .hg-cart-table { width:100%; margin:0; border:0; border-collapse:collapse; background:var(--hg-white); border-radius:10px; }
body.hg-store.woocommerce-cart .hg-cart-table thead th { padding:14px 12px; border:0; border-bottom:1px solid var(--hg-line); background:transparent; color:var(--hg-muted); font-size:12px; font-weight:500; }
body.hg-store.woocommerce-cart .hg-cart-table thead th:last-child { text-align:right; }
body.hg-store.woocommerce-cart .hg-cart-table td { padding:20px 12px; border:0; border-bottom:1px solid var(--hg-line); vertical-align:middle; font-size:14px; color:var(--hg-ink); background:transparent; }
body.hg-store.woocommerce-cart .hg-cart-table .product-thumbnail { width:120px; min-width:96px; padding-left:16px; }
body.hg-store.woocommerce-cart .hg-cart-table .product-thumbnail img { width:100px; height:100px; border-radius:6px; object-fit:contain; background:var(--hg-paper); }
body.hg-store.woocommerce-cart .hg-cart-table .product-thumbnail,
body.hg-store.woocommerce-cart .hg-cart-table .product-thumbnail a,
body.hg-store.woocommerce-cart .hg-cart-table .product-thumbnail img { position:static; inset:auto; }
body.hg-store.woocommerce-cart .hg-cart-table .product-thumbnail a { display:block; width:100%; }
body.hg-store.woocommerce-cart .hg-cart-sku { display:block; color:var(--hg-muted); font-size:11px; font-weight:400; margin-top:4px; }
body.hg-store.woocommerce-cart .hg-cart-size { display:block; font-size:13px; font-weight:400; margin-top:4px; }
body.hg-store.woocommerce-cart .hg-cart-table .product-name { width:auto; min-width:0; line-height:1.6; }
body.hg-store.woocommerce-cart .hg-cart-product-name { font-size:15px; font-weight:600; overflow-wrap:anywhere; }
body.hg-store.woocommerce-cart .hg-cart-table .product-price { width:116px; font-size:13px; line-height:1.6; }
body.hg-store.woocommerce-cart .hg-cart-table .product-price small { display:block; color:var(--hg-muted); font-size:11px; }
body.hg-store.woocommerce-cart .hg-cart-table .product-subtotal { width:106px; text-align:right; white-space:nowrap; font-weight:700; font-size:16px; }
body.hg-store.woocommerce-cart .hg-cart-table .product-quantity { width:100px; text-align:center; white-space:nowrap; }
body.hg-store.woocommerce-cart .hg-cart-table .quantity { max-width:100px; margin:auto; min-height:44px; }
body.hg-store.woocommerce-cart .hg-cart-table .product-remove { margin-top:4px; }
body.hg-store.woocommerce-cart .hg-cart-table .product-remove a.remove { display:inline-flex; align-items:center; width:auto; height:auto; min-height:44px; padding:4px 8px 4px 0; color:var(--hg-muted)!important; background:none!important; font-size:12px; font-weight:400; text-decoration:underline; text-underline-offset:3px; }
body.hg-store.woocommerce-cart .hg-cart-table .product-remove a.remove:hover { color:var(--hg-red)!important; }
body.hg-store.woocommerce-cart .hg-cart-table .actions { padding:12px 16px; border:0; background:transparent; }
body.hg-store.woocommerce-cart .hg-cart-continue { display:inline-flex; align-items:center; gap:12px; min-height:44px; float:left; font-size:13px; }
body.hg-store.woocommerce-cart .hg-cart-update { min-height:44px; padding:10px 14px; border:1px solid var(--hg-line); border-radius:6px; background:var(--hg-white); color:var(--hg-ink); font-size:12px; }
body.hg-store.woocommerce-cart .hg-cart-update:disabled { opacity:.45; cursor:default; }
body.hg-store.woocommerce-cart .hg-cart-summary { float:none; width:auto; min-width:0; padding:0; border:0; border-radius:10px; background:var(--hg-soft); }
body.hg-store.woocommerce-cart .hg-cart-summary .cart_totals { float:none; width:100%; padding:22px; margin:0; background:transparent; border:0; }
body.hg-store.woocommerce-cart .hg-cart-summary h2 { margin:0 0 18px; font-size:20px; line-height:1.4; }
body.hg-store.woocommerce-cart .hg-cart-summary .hg-mascot { margin:14px 0; font-size:12px; }
body.hg-store.woocommerce-cart .hg-cart-summary .hg-mascot-bubble { padding:10px 12px; box-shadow:none; }
body.hg-store.woocommerce-cart .hg-cart-summary .hg-mascot p { font-size:12px; line-height:1.7; }
body.hg-store.woocommerce-cart .hg-cart-summary table { border:0; margin:0; background:transparent; }
body.hg-store.woocommerce-cart .hg-cart-summary th,body.hg-store.woocommerce-cart .hg-cart-summary td { padding:14px 0; border:0; border-bottom:1px solid var(--hg-line); background:transparent; font-size:14px; }
body.hg-store.woocommerce-cart .hg-cart-summary .wc-proceed-to-checkout { padding:18px 0 0; }
body.hg-store.woocommerce-cart .hg-cart-summary .wc-proceed-to-checkout a { margin:0; min-height:48px; padding:14px; font-size:14px; }
body.hg-store.woocommerce-cart .hg-cart-goods,body.hg-store.woocommerce-cart .hg-cart-shipping { display:flex; align-items:baseline; justify-content:space-between; gap:16px; font-size:14px; }
body.hg-store.woocommerce-cart .hg-cart-goods strong { font-size:27px; font-weight:700; white-space:nowrap; }
body.hg-store.woocommerce-cart .hg-cart-tax { text-align:right; color:var(--hg-muted); font-size:11px; margin:2px 0 16px; }
body.hg-store.woocommerce-cart .hg-cart-shipping { border-top:1px solid var(--hg-line); padding-top:16px; }
body.hg-store.woocommerce-cart .hg-cart-shipping span:last-child { color:var(--hg-muted); font-size:12px; }
body.hg-store.woocommerce-cart .hg-cart-pending { margin:18px 0 14px; font-size:13px; line-height:1.7; }
/* Claude v3.4: Ecomus оборачивает всё после woocommerce_before_cart_totals в .cart_totals_summary — кнопка не прямой потомок */
body.hg-store.woocommerce-cart .hg-cart-selection>.jp-button, body.hg-store.woocommerce-cart .hg-cart-selection>.cart_totals_summary>.jp-button { display:flex; justify-content:space-between; width:100%; min-height:48px; font-size:14px; }
body.hg-store.woocommerce-cart .hg-cart-reservation { margin:12px 0 0; font-size:11px; line-height:1.65; color:var(--hg-muted); }
body.hg-store.woocommerce-cart .hg-cart-empty { padding-block:20px 36px; }
@media(max-width:1050px) {
 body.hg-store.woocommerce-cart .hg-cart-layout { grid-template-columns:minmax(0,1fr) 290px; gap:18px; }
 body.hg-store.woocommerce-cart .hg-cart-table .product-thumbnail { width:90px; min-width:76px; }
 body.hg-store.woocommerce-cart .hg-cart-table .product-thumbnail img { width:76px; height:76px; }
 body.hg-store.woocommerce-cart .hg-cart-table td { padding-inline:8px; }
}
@media(max-width:800px) {
 body.hg-store.woocommerce-cart .hg-cart-layout { grid-template-columns:1fr; gap:20px; }
 body.hg-store.woocommerce-cart .hg-cart-summary { max-width:none; }
 body.hg-store.woocommerce-cart .hg-cart-table thead { display:none; }
 body.hg-store.woocommerce-cart .hg-cart-table,body.hg-store.woocommerce-cart .hg-cart-table tbody { display:block; }
 body.hg-store.woocommerce-cart .hg-cart-table tr.cart_item { display:grid; grid-template-columns:88px minmax(0,1fr) auto; gap:4px 14px; padding:18px 14px; border-bottom:1px solid var(--hg-line); }
 body.hg-store.woocommerce-cart .hg-cart-table tr.cart_item>td { display:block; width:auto; min-width:0; padding:0; border:0; text-align:left; background:transparent!important; }
 body.hg-store.woocommerce-cart .hg-cart-table tr.cart_item>td:before { display:none; }
 body.hg-store.woocommerce-cart .hg-cart-table .product-thumbnail { grid-column:1; grid-row:1/4; }
 body.hg-store.woocommerce-cart .hg-cart-table .product-thumbnail img { width:88px; height:88px; }
 body.hg-store.woocommerce-cart .hg-cart-table .product-name { grid-column:2/4; }
 body.hg-store.woocommerce-cart .hg-cart-product-name { font-size:14px; }
 body.hg-store.woocommerce-cart .hg-cart-table .product-price { grid-column:2/4; font-size:12px; color:var(--hg-muted); }
 body.hg-store.woocommerce-cart .hg-cart-table .product-price small { display:inline; margin-left:4px; }
 body.hg-store.woocommerce-cart .hg-cart-table .product-quantity { grid-column:2; display:flex; align-items:center; min-height:44px; }
 body.hg-store.woocommerce-cart .hg-cart-table .product-quantity .quantity { margin:0; }
 body.hg-store.woocommerce-cart .hg-cart-table tr.cart_item>td.product-quantity { display:flex; align-items:center; }
 body.hg-store.woocommerce-cart .hg-cart-table tr.cart_item>td.product-subtotal { text-align:right; }
 body.hg-store.woocommerce-cart .hg-cart-table .product-subtotal { grid-column:3; align-self:center; font-size:16px; text-align:right; }
 body.hg-store.woocommerce-cart .hg-cart-table .product-remove { margin:0; }
 body.hg-store.woocommerce-cart .hg-cart-table .hg-cart-actions { display:block; }
 body.hg-store.woocommerce-cart .hg-cart-table .actions { display:flex; flex-wrap:wrap; gap:8px 16px; align-items:center; justify-content:space-between; }
 body.hg-store.woocommerce-cart .hg-cart-table .actions:before { display:none; }
 body.hg-store.woocommerce-cart .hg-cart-continue { float:none; font-size:12px; }
 body.hg-store.woocommerce-cart .hg-cart-intro .hg-mascot { --hg-mascot-h:72px; margin-block:6px 14px; }
 body.hg-store.woocommerce-cart .hg-cart-intro .hg-mascot p { font-size:12px; }
 body.hg-store.woocommerce-cart .hg-cart-summary .cart_totals { padding:20px; }
 body.hg-store.woocommerce-cart .jp-content-page { padding-bottom:32px; }
}
@media(max-width:360px) {
 body.hg-store.woocommerce-cart .hg-cart-table tr.cart_item { grid-template-columns:70px minmax(0,1fr) auto; gap:4px 10px; padding-inline:10px; }
 body.hg-store.woocommerce-cart .hg-cart-table .product-thumbnail img { width:70px; height:70px; }
 body.hg-store.woocommerce-cart .hg-cart-table .product-subtotal { font-size:14px; }
}

body.hg-store.woocommerce-cart .jp-native-commerce button.hg-cart-update{background:var(--hg-white);color:var(--hg-ink);border:1px solid var(--hg-line);font-size:12px;padding:10px 14px;}
body.hg-store.woocommerce-cart .hg-cart-summary .cart_totals_summary{padding:0;background:transparent;border:0;}
