
.b-logo .b-timetable {
  display: none;
}

.b-timetable {
  display: block;
  clear: both;
  width: 100%;
  font-size: 11px;
  font-weight: bold;
  color: #5468a6;
  line-height: 16px;
  white-space: normal;
  overflow: visible;
}

.b-main-menu {
  clear: both;
}

.b-product-title h1 {
  display: inline;
  margin: 0;
  line-height: 1.3;
}

.b-product-info form,
.product-form {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

img,
iframe,
video,
object,
embed {
  max-width: 100%;
}

.mobile-header,
.mobile-search-panel,
.mobile-menu-overlay,
.mobile-menu-drawer,
.mobile-sidebar-overlay,
.mobile-catalog-actions,
.mobile-sidebar-close {
  display: none;
}

@media (max-width: 1199px) {
  .wrapper {
    width: 100%;
    max-width: 980px;
  }

  .b-timetable {
    width: 100%;
  }

  .adaptive-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    clear: both;
  }

  .adaptive-products-grid .g-clear {
    display: none !important;
  }

  .adaptive-products-grid .b-product {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
  }

  .adaptive-products-grid .b-product.product--gallery:hover {
    border-left-color: #dadada;
  }

  .adaptive-products-grid .b-product.product--gallery .product-gallery {
    display: none !important;
  }

  .adaptive-products-grid .b-product .product-inner {
    height: 100%;
  }

  .adaptive-products-grid .b-product .product-image {
    height: auto;
    min-height: 190px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .adaptive-products-grid .b-product .product-image img {
    width: auto;
    max-width: 100%;
    max-height: 220px;
    height: auto;
  }

  .adaptive-products-grid .b-product .product-title {
    height: auto;
    min-height: 36px;
  }
}

@media (max-width: 991px) {
  body {
    min-width: 0;
  }

  .l-main > .wrapper {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .wrapper.one-col {
    float: none;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .l-col {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 360px;
    max-width: 92vw;
    margin: 0;
    padding: 16px;
    overflow: auto;
    transform: translateX(-105%);
    transition: transform .2s ease;
    z-index: 1100;
    box-shadow: 0 0 24px rgba(0, 0, 0, .25);
  }

  .mobile-sidebar-open .l-col {
    transform: translateX(0);
  }

  .mobile-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1090;
  }

  .mobile-sidebar-open .mobile-sidebar-overlay {
    display: block;
  }

  .mobile-sidebar-close {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0 0 16px 0;
    border: 0;
    border-radius: 4px;
    background: #7a94b9;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
  }

  .mobile-catalog-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0 0 12px 0;
  }

  .mobile-catalog-actions button {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 4px;
    background: #7a94b9;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
  }

  .sidebar-filter .property-block-content {
    max-height: none;
    overflow: visible;
  }

  .b-filter__price-slide {
    max-width: 100%;
  }

  .slider-wrapper.slider--main,
  .slider-wrapper.recently-viewed,
  .slider-wrapper.recently-viewed.collection,
  .slider-wrapper.product-gallery,
  .slider-wrapper.additional-products {
    width: 100%;
    max-width: 100%;
  }

  .slider-wrapper.slider--main {
    height: auto;
  }

  .slider--main .slide,
  .slider--main .slide img {
    height: auto;
  }

  .slider--main .slide img {
    display: block;
    width: 100%;
  }
}

@media (max-width: 991px) {
  body {
    font-size: 14px;
    line-height: 1.4;
  }

  input,
  select,
  textarea,
  button {
    font-size: 16px;
  }

  .l-header {
    margin-bottom: 0;
  }

  .l-header > .wrapper {
    max-width: 100%;
    width: 100%;
    padding: 0;
  }

  .b-top-menu,
  .header-inner,
  .b-main-menu {
    display: none !important;
  }

  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 58px;
    padding: 8px 10px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 900;
  }

  .mobile-menu-toggle,
  .mobile-search-toggle,
  .mobile-cart-link {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    background: #fff;
    color: #111;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #111;
  }

  .mobile-logo {
    flex: 1 1 auto;
    text-align: center;
    min-width: 0;
  }

  .mobile-logo img {
    max-height: 42px;
    width: auto;
  }

  .mobile-search-toggle {
    padding: 0 10px;
    font-size: 13px;
  }

  .mobile-cart-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    font-size: 12px;
    line-height: 1.15;
  }

  .mobile-cart-count {
    font-weight: bold;
    color: #ed0893;
  }

  .mobile-search-panel {
    padding: 10px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
  }

  .mobile-search-open .mobile-search-panel {
    display: block;
  }

  .mobile-search-panel form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .mobile-search-panel input[type="text"] {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    padding: 0 10px;
  }

  .mobile-search-panel input[type="submit"] {
    min-height: 44px;
    border: 0;
    border-radius: 4px;
    background: #7a94b9;
    color: #fff;
    padding: 0 14px;
    cursor: pointer;
  }

  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 990;
  }

  .mobile-nav-open .mobile-menu-overlay {
    display: block;
  }

  .mobile-menu-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 360px;
    max-width: 92vw;
    overflow: auto;
    background: #fff;
    z-index: 1000;
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: 0 0 24px rgba(0, 0, 0, .25);
  }

  .mobile-nav-open .mobile-menu-drawer {
    transform: translateX(0);
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0 16px;
    background: #7a94b9;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
  }

  .mobile-menu-head button {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-menu-section,
  .mobile-menu-contacts {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e5e5;
  }

  .mobile-menu-title {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: bold;
    color: #7a94b9;
    text-transform: uppercase;
  }

  .mobile-menu-list,
  .mobile-menu-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-menu-list a,
  .mobile-menu-contacts a {
    display: block;
    min-height: 40px;
    padding: 10px 0;
    color: #111;
    font-size: 15px;
    line-height: 1.25;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
  }

  .mobile-menu-list ul {
    padding-left: 14px;
  }

  .mobile-menu-list ul a {
    font-size: 14px;
    color: #444;
  }

  .l-main {
    padding: 14px 0;
  }

  .l-main > .wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }

  .collection-title {
    padding: 8px 0;
    margin-bottom: 8px;
  }

  .collection-title div,
  .collection-title h1,
  .b-cart-title,
  .products-block__title {
    font-size: 18px;
    line-height: 1.25;
  }

  .b-products-block .sort {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 14px;
  }

  .b-products-block .sort select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    padding: 0 8px;
  }

  .adaptive-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .adaptive-products-grid .b-product {
    border-color: #e0e0e0;
  }

  .adaptive-products-grid .b-product .product-inner {
    padding: 8px;
  }

  .adaptive-products-grid .b-product .product-image {
    min-height: 150px;
    margin-bottom: 8px;
  }

  .adaptive-products-grid .b-product .product-image img {
    max-height: 170px;
  }

  .adaptive-products-grid .b-product .product-title {
    min-height: 42px;
    margin-bottom: 6px;
  }

  .adaptive-products-grid .b-product .product-title a {
    font-size: 13px;
    line-height: 1.25;
  }

  .adaptive-products-grid .b-product .product-short-description {
    height: auto;
    max-height: 38px;
    font-size: 12px;
    line-height: 1.25;
  }

  .adaptive-products-grid .b-product .product-prices {
    height: auto;
    margin-bottom: 8px;
  }

  .adaptive-products-grid .b-product .product-prices .regular-price {
    font-size: 15px;
  }

  .adaptive-products-grid .b-product .product-buttons {
    float: none;
    padding-bottom: 8px;
    margin-right: 0;
  }

  .adaptive-products-grid .b-product .product-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    height: auto;
    line-height: 1.2;
    padding: 8px;
    font-size: 13px;
  }

  .adaptive-products-grid .product-sizes {
    display: block;
    position: static;
    width: auto;
    height: auto;
    padding: 6px 0 0 0;
    border: 0;
    overflow: visible;
    font-size: 12px;
    line-height: 1.35;
  }

  .b-pagination {
    float: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
  }

  .pagination__item {
    float: none;
    width: auto;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    line-height: 38px;
  }

  .b-brands .brands-col {
    width: 48%;
    margin-right: 2%;
  }

  .b-product-info .lpart,
  .b-product-info .rpart,
  .b-product-info .product-variants,
  .b-product-info .quick-order,
  .b-review-form .review-form-ratings,
  .b-review-form .review-form-inputs,
  .b-review-form .review-form-buttons {
    float: none;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }

  .b-product-info .product-images .main-image img {
    max-width: 100%;
    max-height: none;
  }

  .b-product-info .product-images .product-gallery .image-thumb {
    width: 72px;
    height: 72px;
    margin: 0 5px 8px 0;
  }

  .b-product-info .product-shop .product-prices,
  .b-product-info .product-shop .cart-button {
    float: none;
    width: 100%;
    margin: 0 0 12px 0;
  }

  .b-product-info .product-variants .variant-wrapper {
    min-width: 48px;
    min-height: 44px;
    width: auto;
    margin: 0 6px 8px 0;
    padding: 10px 12px;
  }

  .b-product-info .product-variants .tablesize-link {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
  }

  .b-product-info .quick-order {
    margin-top: 14px;
    padding: 12px;
  }

  .b-product-info .quick-order .quick-order-input-wrapper input,
  .b-popup .input-wrapper input,
  .b-popup .input-wrapper textarea,
  .b-review-form .review-form-inputs input,
  .b-review-form .review-form-inputs textarea {
    width: 100%;
    min-height: 44px;
  }

  .cart-button .buy-button,
  .cart-button .buy-button.btn-blue,
  .make-order {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 48px;
    height: auto !important;
    line-height: 1.2 !important;
    background: #f8a300 !important;
    color: #814000 !important;
    font-size: 16px !important;
    text-indent: 0 !important;
    padding: 10px 12px !important;
    border-radius: 4px;
  }

  .cart-table,
  .cart-table thead,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table tr {
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
  }

  .cart-table tbody td {
    border: 0;
    padding: 8px 0;
  }

  .cart-table .item-number {
    display: none;
  }

  .cart-table .item-descr img {
    max-width: 80px;
    height: auto;
    margin-right: 10px;
  }

  .cart-table .item-descr a {
    font-size: 14px;
    line-height: 1.3;
  }

  .cart-table .item-price,
  .cart-table .item-total-price {
    text-align: left;
    border-right: 0;
  }

  .cart-table .item-price:before {
    content: "Цена: ";
    color: #727272;
    font-weight: normal;
  }

  .cart-table .item-sale:before {
    content: "Скидка: ";
    color: #727272;
    font-weight: normal;
  }

  .cart-table .item-total-price:before {
    content: "Сумма: ";
    color: #727272;
    font-weight: normal;
  }

  .cart-table .item-quantity .quantity-wrapper {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .cart-table .item-quantity .quantity-wrapper .qnt-tool {
    position: static;
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 18px;
  }

  .cart-table .item-quantity .quantity-wrapper .qnt-input {
    width: 56px;
    height: 44px;
    padding: 0;
    border: 1px solid #d5d5d5;
    font-size: 16px;
  }

  .cart-table .remove-item {
    width: 44px;
    height: 44px;
    margin-left: 8px;
    vertical-align: middle;
    background-position: center;
  }

  .cart-total .coupons,
  .cart-total .cart-total-price,
  .cart-total .cart-sale,
  .cart-total .cart-total-price #cart-total-price,
  .cart-total .cart-total-price .old-total-price {
    float: none;
    width: 100%;
    text-align: left;
  }

  .cart-total .coupons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }

  .cart-total .coupons .cart-coupon-input,
  .cart-total .coupons .cart-submit-coupon {
    width: 100%;
    min-height: 44px;
    margin-right: 0;
    border-radius: 4px;
  }

  .cart-total .cart-total-price #cart-total-price {
    font-size: 24px;
    margin: 8px 0 12px 0;
  }

  .cart-total .cart-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .continue-shopping {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    height: auto;
    margin-top: 0;
    padding: 8px 12px;
  }

  .editor-content table,
  .editor-content img,
  .b-collection-description table {
    max-width: 100%;
  }

  .editor-content table,
  .b-collection-description table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .l-footer .wrapper {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .b-footer-col,
  .b-footer-col.socials,
  .b-footer-col.recvisits,
  .b-payments {
    float: none;
    width: 100%;
    margin: 0 0 18px 0;
  }

  .b-bottom-menu {
    padding: 20px 0;
  }

  .bottom-menu__item {
    float: none;
    margin: 0 0 8px 0;
  }

  #vk_groups,
  #vk_groups iframe {
    max-width: 100% !important;
  }

  .ui-dialog,
  .ui-dialog-content,
  .dial_content,
  .ui-dialog .ui-dialog-titlebar {
    width: 96vw !important;
    max-width: 96vw !important;
  }
}

@media (max-width: 480px) {
  .adaptive-products-grid {
    gap: 8px;
  }

  .adaptive-products-grid .b-product .product-image {
    min-height: 132px;
  }

  .adaptive-products-grid .b-product .product-image img {
    max-height: 150px;
  }

  .mobile-search-toggle,
  .mobile-cart-text {
    font-size: 11px;
  }

  .mobile-logo img {
    max-height: 36px;
  }
}

@media (max-width: 360px) {
  .adaptive-products-grid {
    grid-template-columns: 1fr;
  }

  .adaptive-products-grid .b-product .product-image {
    min-height: 170px;
  }

  .adaptive-products-grid .b-product .product-image img {
    max-height: 190px;
  }
}

@media (min-width: 992px) {
  .header-inner {
    height: 100px;
  }

  .b-timetable {
    display: block;
    clear: both;
    width: 100%;
    margin: 0;
    padding: 0 0 4px 0;
    line-height: 16px;
    white-space: normal;
    position: relative;
    z-index: 20;
    overflow: visible;
  }

  .b-main-menu {
    clear: both;
    position: relative;
    z-index: 10;
  }
}

.product-unavailable-button {
  min-width: 140px;
  text-align: center;
}

@media (max-width: 991px) {
  .product-unavailable-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 48px;
    height: auto !important;
    line-height: 1.2 !important;
    padding: 10px 12px !important;
    border-radius: 4px;
  }
}


/* v4 safe header fix: keep the work schedule line above the blue catalog tabs on desktop */
@media (min-width: 992px) {
  .l-header > .wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: visible !important;
  }

  .l-header .mobile-header,
  .l-header .mobile-search-panel,
  .l-header .mobile-menu-overlay,
  .l-header .mobile-menu-drawer {
    order: 0;
  }

  .b-top-menu {
    order: 1;
    flex: 0 0 auto;
  }

  .header-inner {
    order: 2;
    flex: 0 0 auto;
    height: 100px !important;
    margin: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }

  .b-timetable.adaptive-timetable-row {
    order: 3;
    flex: 0 0 auto;
    display: block !important;
    clear: both !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    z-index: 40 !important;
    width: 100% !important;
    max-width: 980px !important;
    min-height: 18px !important;
    height: auto !important;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    color: #5468a6 !important;
    font-size: 11px !important;
    font-weight: bold !important;
    line-height: 18px !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .b-timetable.adaptive-timetable-row .timetable-alert {
    color: #ff0000 !important;
  }

  .b-timetable.adaptive-timetable-row .timetable-alert a {
    color: #0000ee !important;
  }

  .b-main-menu {
    order: 4;
    flex: 0 0 auto;
    clear: both !important;
    position: relative !important;
    z-index: 30 !important;
    margin-top: 0 !important;
  }

  .b-main-menu nav,
  .main-menu {
    overflow: visible !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .b-timetable.adaptive-timetable-row {
    font-size: 10px !important;
    line-height: 16px !important;
    min-height: 16px !important;
  }

  .main-menu__item {
    padding-left: 8px;
    padding-right: 8px;
  }

  .main-menu__link {
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  .b-timetable.adaptive-timetable-row {
    display: none !important;
  }

  .adaptive-products-grid .b-product .product-inner {
    display: flex;
    flex-direction: column;
  }

  .adaptive-products-grid .b-product .product-labels {
    order: 0;
  }

  .adaptive-products-grid .b-product .product-image {
    order: 1;
  }

  .adaptive-products-grid .b-product .product-title {
    order: 2;
  }

  .adaptive-products-grid .b-product .product-short-description {
    order: 3;
  }

  .adaptive-products-grid .b-product .product-prices {
    order: 4;
    margin: 6px 0 8px 0;
  }

  .adaptive-products-grid .b-product .product-buttons {
    order: 5;
  }

  .adaptive-products-grid .product-sizes {
    order: 6;
  }
}

/* v5 desktop menu safety: hidden dropdowns must not capture the cursor below the tabs */
@media (min-width: 992px) {
  .b-main-menu {
    overflow: visible !important;
  }

  .main-menu__item--parent > .b-subcols {
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    z-index: -1 !important;
  }

  .main-menu__item--parent:hover > .b-subcols,
  .main-menu__item--parent:focus-within > .b-subcols {
    visibility: visible !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    z-index: 200 !important;
  }
}

/* v5 mobile branding and overflow hardening */
@media (max-width: 991px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .mobile-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
  }

  .mobile-logo::after {
    content: "mobile";
    display: inline-block;
    color: #111;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .2px;
  }

  .mobile-search-toggle,
  .mobile-cart-link {
    flex: 0 0 auto;
  }

  .b-product-title {
    width: 100%;
    margin: 12px 0 14px 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .b-product-title h1 {
    display: inline;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .product-form,
  .b-product-info,
  .b-product-info .product-images,
  .b-product-info .product-shop,
  .b-product-description,
  .product-description-content {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .mobile-header {
    gap: 6px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .mobile-logo {
    gap: 6px;
  }

  .mobile-logo::after {
    font-size: 18px;
  }

  .mobile-search-toggle,
  .mobile-cart-link {
    min-width: 40px;
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  input,
  select,
  textarea,
  button,
  .btn,
  a.btn {
    font-size: 17px !important;
  }

  input,
  select,
  textarea {
    min-height: 52px !important;
    padding: 10px 12px !important;
  }

  .mobile-header {
    min-height: 68px !important;
    padding: 8px 10px !important;
    gap: 8px !important;
  }

  .mobile-menu-toggle,
  .mobile-search-toggle,
  .mobile-cart-link {
    min-width: 54px !important;
    min-height: 54px !important;
    height: 54px !important;
    border-radius: 6px !important;
  }

  .mobile-menu-toggle span {
    width: 28px !important;
    height: 3px !important;
  }

  .mobile-logo {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .mobile-logo img {
    max-height: 42px !important;
    max-width: 120px !important;
    object-fit: contain !important;
  }

  .mobile-logo::after {
    font-size: 20px !important;
    flex: 0 0 auto !important;
  }

  .mobile-search-toggle {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
  }

  .mobile-cart-link {
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
  }

  .mobile-cart-count {
    font-size: 14px !important;
  }

  .mobile-search-panel {
    padding: 12px !important;
  }

  .mobile-search-panel form {
    gap: 10px !important;
  }

  .mobile-search-panel input[type="text"],
  .mobile-search-panel input[type="submit"] {
    min-height: 54px !important;
    font-size: 17px !important;
  }

  .mobile-menu-head {
    min-height: 64px !important;
    padding: 0 18px !important;
    font-size: 20px !important;
  }

  .mobile-menu-head button {
    width: 54px !important;
    height: 54px !important;
    font-size: 36px !important;
  }

  .mobile-menu-section,
  .mobile-menu-contacts {
    padding: 14px 18px !important;
  }

  .mobile-menu-title {
    font-size: 17px !important;
    margin-bottom: 10px !important;
  }

  .mobile-menu-list a,
  .mobile-menu-contacts a {
    min-height: 50px !important;
    padding: 13px 0 !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
  }

  .mobile-menu-list ul a {
    font-size: 16px !important;
  }

  .l-col {
    font-size: 16px !important;
  }

  .mobile-sidebar-close,
  .mobile-catalog-actions button {
    min-height: 54px !important;
    font-size: 17px !important;
    border-radius: 6px !important;
  }

  .collection-title div,
  .collection-title h1,
  .b-cart-title,
  .products-block__title {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  .b-products-block .sort {
    font-size: 16px !important;
  }

  .b-products-block .sort select {
    min-height: 52px !important;
    font-size: 16px !important;
  }

  .adaptive-products-grid {
    gap: 12px !important;
  }

  .adaptive-products-grid .b-product .product-inner {
    padding: 10px !important;
  }

  .adaptive-products-grid .b-product .product-image {
    min-height: 158px !important;
  }

  .adaptive-products-grid .b-product .product-image img {
    max-height: 178px !important;
  }

  .adaptive-products-grid .b-product .product-title {
    min-height: 0 !important;
    margin-bottom: 8px !important;
  }

  .adaptive-products-grid .b-product .product-title a {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  .adaptive-products-grid .b-product .product-short-description {
    max-height: none !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  .adaptive-products-grid .b-product .product-prices .regular-price {
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  .adaptive-products-grid .b-product .product-prices .old-price {
    font-size: 14px !important;
  }

  .adaptive-products-grid .b-product .product-buttons .btn {
    min-height: 54px !important;
    padding: 12px 10px !important;
    font-size: 16px !important;
    border-radius: 6px !important;
  }

  .adaptive-products-grid .product-sizes {
    font-size: 14px !important;
  }

  .b-product-title {
    display: block !important;
    width: 100% !important;
    margin: 14px 0 16px 0 !important;
    overflow: visible !important;
  }

  .b-product-title > span,
  .b-product-title h1 {
    display: block !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .b-product-title > span {
    margin-bottom: 4px !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
  }

  .b-product-title h1 {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  .b-product-info .product-shop .product-prices .regular-price {
    font-size: 30px !important;
    line-height: 1.2 !important;
  }

  .b-product-info .product-shop .product-prices .old-price {
    font-size: 20px !important;
    line-height: 1.2 !important;
  }

  .b-product-info .product-variants-title {
    font-size: 17px !important;
    line-height: 1.3 !important;
  }

  .b-product-info .product-variants .variant-wrapper {
    min-width: 58px !important;
    min-height: 52px !important;
    padding: 13px 14px !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    border-radius: 4px !important;
  }

  .b-product-info .product-variants .tablesize-link,
  .b-useful-links a {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .cart-button .buy-button,
  .cart-button .buy-button.btn-blue,
  .product-unavailable-button,
  .make-order,
  .continue-shopping {
    min-height: 58px !important;
    padding: 14px 14px !important;
    font-size: 19px !important;
    border-radius: 6px !important;
  }

  .b-product-description,
  .product-description-content,
  .editor-content {
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  .cart-table .item-descr a,
  .cart-table .item-price,
  .cart-table .item-sale,
  .cart-table .item-total-price,
  .cart-total,
  .cart-total .coupons,
  .cart-total .cart-buttons {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  .cart-table .item-quantity .quantity-wrapper .qnt-tool,
  .cart-table .item-quantity .quantity-wrapper .qnt-input,
  .cart-table .remove-item {
    width: 52px !important;
    height: 52px !important;
    line-height: 52px !important;
    font-size: 18px !important;
  }

  .cart-total .cart-total-price #cart-total-price {
    font-size: 28px !important;
  }
}

@media (max-width: 430px) {
  .mobile-header {
    gap: 6px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .mobile-menu-toggle,
  .mobile-search-toggle,
  .mobile-cart-link {
    min-width: 50px !important;
    min-height: 50px !important;
    height: 50px !important;
  }

  .mobile-logo img {
    max-height: 38px !important;
    max-width: 102px !important;
  }

  .mobile-logo::after {
    font-size: 17px !important;
  }

  .mobile-search-toggle {
    font-size: 13px !important;
  }

  .mobile-cart-link {
    font-size: 12px !important;
  }

  .adaptive-products-grid .b-product .product-title a {
    font-size: 14px !important;
  }

  .adaptive-products-grid .b-product .product-short-description {
    font-size: 13px !important;
  }

  .adaptive-products-grid .b-product .product-buttons .btn {
    min-height: 52px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 380px) {
  .adaptive-products-grid {
    grid-template-columns: 1fr !important;
  }

  .adaptive-products-grid .b-product .product-image {
    min-height: 190px !important;
  }

  .adaptive-products-grid .b-product .product-image img {
    max-height: 220px !important;
  }

  .mobile-logo img {
    max-height: 34px !important;
    max-width: 92px !important;
  }

  .mobile-logo::after {
    font-size: 16px !important;
  }
}


/* v6 product buy button restore and mobile promo refinements */
.cart-button .buy-button {
  display: block;
  width: 175px;
  height: 35px;
  min-height: 35px;
  overflow: hidden;
  background: url(add-to-cart.png) 0 0 no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 35px;
  text-indent: -9999px;
  white-space: nowrap;
}

.cart-button .buy-button.btn-blue,
.cart-button .buy-button.button-disabled {
  width: 271px;
  height: 35px;
  min-height: 35px;
  background: url(add-to-cart-blue.png) 0 0 no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 35px;
  text-indent: -9999px;
}

.mobile-sale-strip {
  display: none;
}

@media (max-width: 991px) {
  .mobile-logo::after {
    content: none !important;
  }

  .mobile-logo-suffix {
    display: inline-block;
    color: #111;
    font-family: Arial Black, Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-style: italic;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .22);
    transform: skew(-8deg) translateY(1px);
  }

  body.template-index .mobile-sale-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-height: 42px;
    margin: 8px 10px 0 10px;
    padding: 8px 10px;
    border: 1px solid #ffb300;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff8df 0%, #ffd763 100%);
    color: #111;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
  }

  .mobile-sale-strip__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e00000;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .mobile-sale-strip__text {
    color: #d00000;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
  }

  .b-product-info .product-shop {
    display: flex;
    flex-direction: column;
  }

  .b-product-info .product-shop .product-prices {
    order: 1;
  }

  .b-product-info .product-shop .product-variants {
    order: 2;
  }

  .b-product-info .product-shop .cart-button {
    order: 3;
  }

  .cart-button .buy-button,
  .cart-button .buy-button.btn-blue,
  .cart-button .buy-button.button-disabled {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 58px !important;
    height: auto !important;
    padding: 14px 14px !important;
    border-radius: 6px !important;
    background: linear-gradient(180deg, #ffb300 0%, #ff9700 100%) !important;
    color: transparent !important;
    font-size: 0 !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-indent: 0 !important;
    text-transform: none !important;
  }

  .cart-button .buy-button::before {
    content: "В корзину";
    color: #6f3b00;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
  }

  .cart-button .buy-button.btn-blue::before,
  .cart-button .buy-button.button-disabled::before {
    content: "Перейти в корзину";
  }
}

@media (max-width: 430px) {
  .mobile-logo-suffix {
    font-size: 15px;
    letter-spacing: -0.8px;
  }

  .mobile-sale-strip {
    gap: 6px;
    min-height: 40px;
    margin-left: 8px;
    margin-right: 8px;
    padding: 7px 8px;
  }

  .mobile-sale-strip__label {
    font-size: 12px;
    padding-left: 7px;
    padding-right: 7px;
  }

  .mobile-sale-strip__text {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .mobile-logo-suffix {
    font-size: 14px;
  }

  .mobile-sale-strip {
    flex-wrap: wrap;
    row-gap: 4px;
  }
}

/* v8 mobile logo typography and homepage sale slider flash fix */
@media (max-width: 991px) {
  body.template-index .slider-wrapper.slider--main,
  body.template-index .b-slider.slider--main,
  body.template-index #carousel--slider {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mobile-logo {
    gap: 7px !important;
  }

  .mobile-logo-suffix {
    color: #111 !important;
    font-family: Impact, "Arial Black", "Arial Narrow", Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    font-style: italic !important;
    font-weight: 900 !important;
    letter-spacing: -1.7px !important;
    line-height: 1 !important;
    text-transform: lowercase !important;
    transform: skewX(-15deg) scaleX(.92) translateY(1px) !important;
    text-shadow: 1px 1px 0 rgba(80, 80, 80, .72), -1px -1px 0 rgba(255, 255, 255, .95) !important;
    -webkit-text-stroke: .25px #111;
  }
}

@media (max-width: 430px) {
  .mobile-logo {
    gap: 6px !important;
  }

  .mobile-logo-suffix {
    font-size: 14px !important;
    letter-spacing: -1.45px !important;
  }
}

@media (max-width: 380px) {
  .mobile-logo {
    gap: 5px !important;
  }

  .mobile-logo-suffix {
    font-size: 13px !important;
    letter-spacing: -1.25px !important;
  }
}

/* v9 mobile logo suffix: thin readable SkiRunner-like style */
@media (max-width: 991px) {
  .mobile-logo {
    gap: 7px !important;
    overflow: visible !important;
  }

  .mobile-logo-suffix {
    display: inline-block !important;
    flex: 0 0 auto !important;
    min-width: 44px !important;
    max-width: none !important;
    overflow: visible !important;
    color: #111 !important;
    font-family: "Arial Narrow", "Trebuchet MS", Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
    font-style: italic !important;
    font-weight: 600 !important;
    letter-spacing: -0.7px !important;
    line-height: 1 !important;
    text-transform: lowercase !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: 0.45px 0.45px 0 rgba(0, 0, 0, .28) !important;
    transform: skewX(-13deg) scaleX(1.08) translateY(1px) !important;
  }
}

@media (max-width: 430px) {
  .mobile-logo {
    gap: 6px !important;
  }

  .mobile-logo-suffix {
    min-width: 40px !important;
    font-size: 14px !important;
    letter-spacing: -0.65px !important;
  }
}

@media (max-width: 380px) {
  .mobile-logo {
    gap: 5px !important;
  }

  .mobile-logo-suffix {
    min-width: 37px !important;
    font-size: 13px !important;
    letter-spacing: -0.55px !important;
  }
}

/* v9 hotfix: show the compact mobile sale strip only on the homepage */
@media (max-width: 991px) {
  body:not(.template-index) .mobile-sale-strip {
    display: none !important;
  }

  body.template-index .mobile-sale-strip {
    display: flex !important;
  }
}

/* v9 hotfix: keep cart quantity value visible on desktop and mobile */
@media (min-width: 992px) {
  .cart-table .item-quantity {
    text-align: center;
  }

  .cart-table .item-quantity .quantity-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    min-width: 78px !important;
    white-space: nowrap !important;
  }

  .cart-table .item-quantity .quantity-wrapper .qnt-tool {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    height: 22px !important;
    line-height: 22px !important;
    box-sizing: border-box !important;
    color: #111 !important;
    background: #f5f5f5 !important;
    border: 1px solid #d5d5d5 !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .cart-table .item-quantity .quantity-wrapper .qnt-input {
    position: static !important;
    display: inline-block !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 22px !important;
    line-height: 22px !important;
    padding: 0 !important;
    margin: 0 -1px !important;
    box-sizing: border-box !important;
    border: 1px solid #d5d5d5 !important;
    border-radius: 0 !important;
    color: #111 !important;
    background: #fff !important;
    font-size: 13px !important;
    font-weight: normal !important;
    text-align: center !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-text-fill-color: #111 !important;
  }
}

@media (max-width: 991px) {
  .cart-table .item-quantity .quantity-wrapper .qnt-input {
    color: #111 !important;
    background: #fff !important;
    text-align: center !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-text-fill-color: #111 !important;
  }
}

/* v11 size-table and product helper links hardening */
.b-product-info .product-variants {
  position: relative;
}

.b-product-info .product-variants .tablesize-link {
  color: #ff8505;
  font-weight: bold;
  text-decoration: underline;
  white-space: nowrap;
}

.product-sizes-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-size-table-link {
  display: inline-block;
  color: #ff8505;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.2;
  text-decoration: underline;
}

.b-useful-links.product-helper-links a[href] {
  cursor: pointer;
}

@media (min-width: 992px) {
  .b-product-info .product-variants .tablesize-link {
    position: absolute;
    top: 0;
    right: 0;
  }

  .catalog-size-table-link {
    margin-left: auto;
  }
}

@media (max-width: 991px) {
  .b-product-info .product-variants {
    display: block !important;
    clear: both !important;
    overflow: visible !important;
  }

  .b-product-info .product-variants-title {
    display: inline-block !important;
    margin: 0 10px 8px 0 !important;
    vertical-align: baseline !important;
  }

  .b-product-info .product-variants .tablesize-link {
    position: static !important;
    display: inline-block !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .b-product-info .product-variants-tabs {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    margin: 0 0 10px 0 !important;
  }

  .b-product-info .product-variants .variant-wrapper {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .b-useful-links.product-helper-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 12px !important;
    clear: both !important;
    width: 100% !important;
    margin: 14px 0 16px 0 !important;
    overflow: visible !important;
  }

  .b-useful-links.product-helper-links .col,
  .b-useful-links.product-helper-links .col-2 {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
  }

  .b-useful-links.product-helper-links a {
    display: block !important;
    min-height: 30px !important;
    padding-left: 34px !important;
    margin: 0 0 8px 0 !important;
    color: #8a8eb3 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    background-repeat: no-repeat !important;
    background-position: 0 2px !important;
    background-size: 24px auto !important;
    overflow-wrap: anywhere !important;
  }

  .adaptive-products-grid .product-sizes-title-row {
    display: block !important;
  }

  .adaptive-products-grid .product-sizes-title {
    display: block !important;
    margin-bottom: 4px !important;
  }

  .adaptive-products-grid .catalog-size-table-link {
    display: inline-block !important;
    margin: 2px 0 6px 0 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  .ui-dialog,
  .ui-dialog-content,
  .ui-dialog .ui-dialog-titlebar {
    max-width: calc(100vw - 24px) !important;
  }
}

@media (max-width: 430px) {
  .b-useful-links.product-helper-links {
    grid-template-columns: 1fr !important;
  }
}


/* v13 size table and helper links restore */
.b-product-info .product-variants .tablesize-link,
.b-product-info .product-variants a.tablesize-link,
.b-product-info .product-variants a.js-size-table-link {
  display: inline-block !important;
  color: #ff8505 !important;
  font-weight: bold !important;
  text-decoration: underline !important;
  white-space: nowrap !important;
  z-index: 2 !important;
}

.product-helper-links a,
.b-useful-links a {
  pointer-events: auto !important;
}

.product-helper-links .link-5.modal-fancybox {
  cursor: pointer !important;
}

@media (min-width: 992px) {
  .b-product-info .product-variants .tablesize-link {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
  }
}

@media (max-width: 991px) {
  .b-product-info .product-variants .tablesize-link {
    position: static !important;
    margin: 0 0 10px 8px !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    vertical-align: baseline !important;
  }

  .b-product-info .product-variants-title {
    display: inline-block !important;
    width: auto !important;
  }

  .fancybox-wrap,
  .fancybox-skin,
  .fancybox-inner {
    max-width: calc(100vw - 24px) !important;
  }

  .fancybox-inner img {
    max-width: 100% !important;
    height: auto !important;
  }
}


/* v17: size table link is shown only on product page, not in product lists */
.adaptive-products-grid .catalog-size-table-link,
.product--catalog .catalog-size-table-link,
.product--catalog .js-size-table-link {
  display: none !important;
}
