/* Site controls: stable mouse focus, a separate keyboard cue, no browser spinners. */
.collection-more { display:flex; justify-content:center; margin-top:38px; }
.collection-more .button { min-height:54px; gap:30px; font-size:16px; }
.collection-more svg { width:20px; height:20px; }
@media(max-width:767px) { .featured ul.products>li:nth-child(n+9) { display:none; } .collection-more { margin-top:28px; } }
body:not(.keyboard-navigation) :is(a,button,summary,input,select,textarea):focus { outline:0!important; }
body input:not([type=checkbox]):not([type=radio]):not([type=submit]):focus,
body select:focus,body textarea:focus { outline:0; box-shadow:none!important; }
body.keyboard-navigation :is(a,button,summary,input,select,textarea):focus-visible { outline:2px solid #8aa9bf!important; outline-offset:3px; }
body input[type=number] { appearance:textfield; -moz-appearance:textfield; }
body input::-webkit-inner-spin-button,body input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
body input[type=search]::-webkit-search-cancel-button { -webkit-appearance:none; }
body textarea { resize:none; min-height:116px; max-height:400px; overflow-y:auto; }
body input[type=checkbox],body input[type=radio] { appearance:none; -webkit-appearance:none; width:20px; height:20px; min-height:20px; padding:0; margin:0; display:inline-grid; place-content:center; flex-shrink:0; border:1px solid #b7c9d9; background:#fff; cursor:pointer; }
body input[type=radio] { border-radius:50%; }
body input[type=radio]:checked { border-color:#153855; background:radial-gradient(circle,#153855 0 4px,#fff 5px); }
body input[type=checkbox] { border-radius:5px; }
body input[type=checkbox]:checked { border-color:#153855; background:#153855; }
body input[type=checkbox]:checked::after { content:''; width:10px; height:6px; border-left:2px solid white; border-bottom:2px solid white; transform:translateY(-1px) rotate(-45deg); }
body input:disabled { cursor:not-allowed; opacity:.55; }
/* Real radio inputs retain keyboard and no-JavaScript behaviour. */
.receiving-field { border:0; padding:0; margin:4px 0 25px; min-width:0; }
.receiving-field legend { font-size:16px; font-weight:650; padding:0; margin-bottom:12px; }
.receiving-options { display:grid; gap:10px; }
.form-row label.receiving-option { display:flex; align-items:center; gap:14px; min-height:78px; padding:14px 17px; margin:0; border:1px solid #d0dce7; border-radius:14px; background:white; cursor:pointer; }
.receiving-option:has(input:checked) { border-color:#9bb4c9; background:#edf4f9; }
.receiving-option strong { display:block; font-size:16px; font-weight:650; line-height:1.4; }
.receiving-option small { display:block; margin-top:4px; color:var(--muted); font-size:14px; font-weight:450; line-height:1.5; }
.form-row .receiving-option input[type=radio] { width:20px; }
/* Cart: items and summary occupy their own columns; WooCommerce owns totals. */
.cart-layout { display:grid; grid-template-columns:minmax(0,1fr) 370px; align-items:start; gap:36px; }
.cart-layout .woocommerce-cart-form { min-width:0; }
.cart-layout .cart-collaterals { min-width:0; position:sticky; top:126px; }
.cart-layout .cart_totals { width:100%; max-width:none; margin:0; padding:26px; background:#eff4f8; border:1px solid #dce6ee; border-radius:22px; }
.cart-layout .cart_totals h2 { font-size:27px; margin-bottom:18px; }
.cart-layout .cart_totals th,.cart-layout .cart_totals td { padding:17px 0; font-size:15px; }
.cart-layout .cart_totals td { text-align:right; }
.cart-layout .cart_totals .order-total th,.cart-layout .cart_totals .order-total td { font-size:21px; font-weight:650; }
.cart-layout .checkout-button { gap:16px; font-size:15px; min-height:54px; padding:13px 17px; margin-top:24px; }
.checkout-button svg { width:19px; height:19px; }
.cart-layout .shop_table.cart { display:block; margin:0; }
.cart-layout .shop_table.cart thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.cart-layout .shop_table.cart tbody { display:block; }
.cart-layout .shop_table.cart tr.cart_item { display:grid; grid-template-columns:110px minmax(0,1fr) auto 36px; grid-template-areas:'image name total remove' 'image price total remove' 'image quantity total remove'; gap:9px 20px; position:relative; border-bottom:1px solid var(--line); padding:22px 0; }
.cart-layout .shop_table.cart tr.cart_item:first-child { padding-top:0; }
.cart-layout .shop_table.cart tr.cart_item td { display:block; padding:0; border:0; font-size:15px; }
.cart-layout .shop_table.cart .product-thumbnail { grid-area:image; align-self:start; }
.cart-layout .shop_table.cart .product-thumbnail img { width:110px; height:125px; min-width:0; object-fit:contain; border-radius:14px; }
.cart-layout .shop_table.cart .product-name { grid-area:name; font-size:17px; font-weight:600; line-height:1.5; padding:0; }
.cart-layout .shop_table.cart .product-price { grid-area:price; color:var(--muted); font-size:14px; }
.cart-layout .shop_table.cart .product-price::before { content:''; }
.cart-layout .shop_table.cart .product-price::after { content:' / шт.'; }
.cart-layout .shop_table.cart .product-quantity { grid-area:quantity; padding-top:2px; }
.cart-layout .shop_table.cart .product-subtotal { grid-area:total; font-size:18px; font-weight:650; white-space:nowrap; }
.cart-layout .shop_table.cart .product-subtotal::before { content:''; }
.cart-layout .shop_table.cart .product-remove { grid-area:remove; position:static; }
.cart-layout .shop_table.cart .product-remove a { display:flex; align-items:center; justify-content:center; width:36px; height:36px; min-height:36px; min-width:36px; border:1px solid #dce5ee; border-radius:50%; color:#687f92; font-size:22px; line-height:1; }
.cart-layout .shop_table.cart .actions { display:block; border:0; padding:22px 0 0; text-align:left; }
.cart-layout .shop_table.cart .actions .button { border-radius:13px; font-size:14px; background:#edf3f8; color:#153855; border-color:#d2e0eb; }
.cart-layout .shop_table.cart dl.variation { font-size:13px; font-weight:450; color:var(--muted); }
@media(max-width:1150px) {
  .cart-layout { grid-template-columns:minmax(0,1fr) 315px; gap:24px; }
  .cart-layout .cart_totals { padding:21px; }
  .cart-layout .shop_table.cart tr.cart_item { grid-template-columns:90px minmax(0,1fr) 30px; grid-template-areas:'image name remove' 'image price remove' 'image quantity remove' 'image total remove'; gap:7px 15px; }
  .cart-layout .shop_table.cart .product-thumbnail img { width:90px; height:105px; }
}
@media(max-width:900px) {
  .cart-layout { grid-template-columns:1fr; gap:32px; }
  .cart-layout .cart-collaterals { position:static; }
}
@media(max-width:480px) {
  .cart-layout .shop_table.cart tr.cart_item { grid-template-columns:72px minmax(0,1fr) 28px; gap:7px 12px; }
  .cart-layout .shop_table.cart .product-thumbnail img { width:72px; height:90px; }
  .cart-layout .shop_table.cart .product-name { font-size:15px; }
  .cart-layout .shop_table.cart .product-remove a { width:28px; height:32px; min-width:28px; min-height:32px; font-size:20px; }
  .cart-layout .shop_table.cart .actions .button { width:auto; }
  .cart-layout .cart_totals h2 { font-size:26px; }
}
.checkout #order_review .wc_payment_methods>li:first-child { border-top:0; }
.wc_payment_methods>.wc_payment_method:only-child>label { margin-left:0; }
