[hidden] { display: none !important; }
.mobile-actions { display: none; }
.shop-quantity { display: flex; align-items: center; gap: 4px; }
.checkout-page .shop-quantity input { width: 64px; padding: 10px 2px; text-align: center; appearance: textfield; }
.checkout-page .shop-quantity button { width: 44px; min-width: 44px; height: 44px; padding: 0; font-size: 23px; }
.shop-line { grid-template-columns: minmax(0,1fr) 160px 110px 100px; }
.item-cart-cnt { cursor: pointer; touch-action: manipulation; }
.num-in .item-cart-cnt::before, .num-in .item-cart-cnt::after { display: none !important; }
.num-in .item-cart-cnt { display: inline-flex; align-items: center; justify-content: center; font-size: 23px; }
.item-cart-cnt:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #087da5; outline-offset: 3px; }
@media (max-width: 767px) {
  *, *::before, *::after { box-sizing: border-box; }
  body { min-width: 0; padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .container { width: 100%; max-width: 100%; padding-left: 16px; padding-right: 16px; }
  img { max-width: 100%; }
  .header, .shrink .header { position: relative; top: auto; height: auto; }
  .header-top__mobile-menu, .header-top__location, .header-main__user-nav { display: none !important; }
  .header-top .container { justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .header-top__main-nav, .header-top__contacts.no-mobile { display: block !important; margin: 0; }
  .main-nav__list { padding: 0; }
  .main-nav__link, .contacts__link { display: inline-flex; align-items: center; min-height: 44px; margin: 0; font-size: 15px; }
  .header-main, .shrink .header-main { padding: 14px 0; }
  .header-main .container { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
  .header-main .container > *:not(:last-child), .shrink .header-main .container > *:not(:last-child) { margin: 0; }
  .header-main .container > .btn { display: none; }
  .logo, .logo__img, .shrink .logo__img { width: 170px; max-width: 100%; height: auto; }
  .header__basket-prev { position: relative; right: auto; top: auto; margin: 0; min-height: 44px; }
  .basket-prev__title { display: block; font-size: 14px; }
  .section { padding-top: 24px; padding-bottom: 24px; }
  .title, h1 { font-size: 26px; line-height: 1.25; overflow-wrap: anywhere; }
  .product__list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 0; }
  .product__item { width: auto; max-width: none; min-width: 0; margin: 0; padding: 0; }
  .product__inner { width: 100%; max-width: none; height: auto; min-height: 375px; padding: 16px; border-radius: 12px; }
  .product__image-link { display: block; width: 100%; }
  .product__image { width: 100%; height: 160px; object-fit: contain; }
  .product__link { max-width: none; height: auto; min-height: 44px; margin-bottom: 12px; }
  .product__title { font-size: 16px; line-height: 1.4; }
  .product__footer { display: flex; width: 100%; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
  .product__cart { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin: 0; background: #087da5; color: white; border: 0; border-radius: 6px; font-size: 14px; }
  .product__cart::after { display: none; }
  .product__cart:hover { background: #08698b; color: white; }
  .product__item .num-block.skin-1 { margin: 0; width: 132px; flex: 0 0 132px; }
  .num-in { display: flex !important; align-items: center; width: auto !important; height: 44px !important; }
  .num-in .item-cart-cnt { position: relative !important; left: auto !important; right: auto !important; top: auto !important; min-width: 44px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
  .num-in .item-cart-cnt::before, .num-in .item-cart-cnt::after { display: none !important; }
  .num-in .item-cart-cnt { background: #e8f2f7; border-radius: 6px; font: 24px Arial,sans-serif; color: #183f51; }
  .num-in .in-num { width: 44px !important; height: 44px !important; padding: 0 !important; text-align: center; font-size: 16px; }
  .num-in .unit { position: static; margin: 0 6px 0 0; }
  .product-card { display: flex; flex-direction: column; gap: 24px; }
  .product-card > * { width: 100%; max-width: 100%; margin: 0; padding: 0; }
  .product-card__images { text-align: center; }
  .product-card__image { width: 100%; height: 260px; object-fit: contain; }
  .product-card__add-cart { display: flex; flex-wrap: wrap; gap: 16px; }
  .product-card__add-cart > * { margin: 0 !important; }
  .product-card__add-cart .add2Cart { min-height: 48px; white-space: normal; }
  .breadcrumb { flex-wrap: wrap; overflow-wrap: anywhere; }
  .footer-main { display: flex; flex-wrap: wrap; gap: 24px; }
  .footer-main .footer-col { width: 100% !important; margin: 0 !important; }
  .about, .contacts__list { flex-wrap: wrap; }
  .about > *, .contacts__item { max-width: 100%; }
  main table { display: block; max-width: 100%; overflow-x: auto; }
  iframe { max-width: 100%; }
  .mobile-actions { position: fixed; inset: auto 0 0; display: grid; grid-template-columns: repeat(3,1fr); z-index: 9000; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #cadde5; box-shadow: 0 -3px 16px #183f5110; }
  .mobile-actions a { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; color: #086f98; font: 600 14px Arial,sans-serif; text-decoration: none; }
  .mobile-actions a:last-child { background: #087da5; color: white; border-radius: 8px; }
  .shop-toast { bottom: calc(82px + env(safe-area-inset-bottom)); left: 16px; right: 16px; max-width: none; }
  .checkout-page { padding-bottom: 20px; }
  .checkout-page main { margin: 20px auto; padding: 0 16px; }
  .checkout-header { padding: 16px; gap: 12px; }
  .checkout-card { padding: 16px; }
  .shop-line { grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
  .shop-line > div:first-child { grid-column: 1 / -1; }
  .shop-line > .secondary { grid-column: 1 / -1; justify-self: start; }
  .checkout-page .days { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .checkout-page input, .checkout-page select, .checkout-page textarea { font-size: 16px; }
  .checkout-page #place-order { width: 100%; min-height: 48px; }
}
@media (max-width: 479px) {
  .product__list { grid-template-columns: minmax(0,1fr); }
  .product__inner { min-height: 0; }
  .product__footer { flex-wrap: nowrap; }
  .product__cart { flex: 1 1 auto; width: auto; min-width: 100px; }
}
