/* Default Styles */

/*

[Table of contents]


• Fonts
• Icons
• Defaults & Reset
• Base Style
• Page Header
• Page Footer
• Main Content
• Vendor Style
• Media Queries
*/

/*------------------------------------------------------------------------------------------*/
/*  FONTS */
/*------------------------------------------------------------------------------------------*/

@font-face {
  font-family: 'Segoe UI';
  src: url('../fonts/SegoeUI/SegoeUI-Light.eot');
  src: local('Segoe UI Light'), local('SegoeUI-Light'),
  url('../fonts/SegoeUI/SegoeUI-Light.eot?#iefix') format('embedded-opentype'),
  url('../fonts/SegoeUI/SegoeUI-Light.woff') format('woff'),
  url('../fonts/SegoeUI/SegoeUI-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('../fonts/SegoeUI/SegoeUI-BoldItalic.eot');
  src: local('Segoe UI Bold Italic'), local('SegoeUI-BoldItalic'),
  url('../fonts/SegoeUI/SegoeUI-BoldItalic.eot?#iefix') format('embedded-opentype'),
  url('../fonts/SegoeUI/SegoeUI-BoldItalic.woff') format('woff'),
  url('../fonts/SegoeUI/SegoeUI-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('../fonts/SegoeUI/SegoeUI-SemiBold.eot');
  src: local('Segoe UI Semibold'), local('SegoeUI-SemiBold'),
  url('../fonts/SegoeUI/SegoeUI-SemiBold.eot?#iefix') format('embedded-opentype'),
  url('../fonts/SegoeUI/SegoeUI-SemiBold.woff') format('woff'),
  url('../fonts/SegoeUI/SegoeUI-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('../fonts/SegoeUI/SegoeUI.eot');
  src: local('Segoe UI'), local('SegoeUI'),
  url('../fonts/SegoeUI/SegoeUI.eot?#iefix') format('embedded-opentype'),
  url('../fonts/SegoeUI/SegoeUI.woff') format('woff'),
  url('../fonts/SegoeUI/SegoeUI.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('../fonts/SegoeUI/SegoeUI-Bold.eot');
  src: local('Segoe UI Bold'), local('SegoeUI-Bold'),
  url('../fonts/SegoeUI/SegoeUI-Bold.eot?#iefix') format('embedded-opentype'),
  url('../fonts/SegoeUI/SegoeUI-Bold.woff') format('woff'),
  url('../fonts/SegoeUI/SegoeUI-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('../fonts/SegoeUI/SegoeUI-Italic.eot');
  src: local('Segoe UI Italic'), local('SegoeUI-Italic'),
  url('../fonts/SegoeUI/SegoeUI-Italic.eot?#iefix') format('embedded-opentype'),
  url('../fonts/SegoeUI/SegoeUI-Italic.woff') format('woff'),
  url('../fonts/SegoeUI/SegoeUI-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/*------------------------------------------------------------------------------------------*/
/*  ICONS */
/*------------------------------------------------------------------------------------------*/

.offcanvas-title {
  font-size: 20px;
}

.icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;

  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

/*------------------------------------------------------------------------------------------*/
/*  BASE STYLE */
/*------------------------------------------------------------------------------------------*/


:root {
  --bs-warning: #ffb300;
  --bs-dark: #190c00;
  --bs-black: #000;
  --bs-gutter: 1.0rem;
  --bs-danger: #f32f33;
  --bs-light: #f8f7f7;
  --bs-gray-300: #d1cecc;
  --bs-secondary: #e1dfde;
  --bs-success: #00a700;
}


body {
  font-size: 1.125rem;
  line-height: 1.625rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  color: var(--bs-black);
  background: #fff;
}

.text-warning {
  color: var(--bs-warning) !important;
}

.text-dark {
  color: var(--bs-dark) !important;
}

.text-danger {
  color: var(--bs-danger) !important;
}

.text-success {
  color: var(--bs-success) !important;
}


.border {
  border-color: var(--bs-gray-300) !important;
}

.border-warning {
  border-color: var(--bs-warning) !important;
}

.border-dark {
  border-color: var(--bs-dark) !important;
}

.bg-warning {
  background-color: var(--bs-warning) !important;
}

.bg-danger {
  background-color: var(--bs-danger) !important;
}

.bg-light {
  background-color: var(--bs-light) !important;
}

.btn-warning {
  color: var(--bs-black);
  border-color: var(--bs-warning);
  background-color: var(--bs-warning);
}

.clear-filter{
  margin-bottom: 36px;
}
.btn-secondary {
  color: var(--bs-black);
  border-color: var(--bs-gray-300);
  background-color: var(--bs-secondary);
}


.btn.border-warning:hover,
.btn.border-warning:focus {
  color: var(--bs-black);
  border-color: var(--bs-warning);
  background-color: var(--bs-warning);
}

.btn.border-warning:active {
  color: #fff;
  border-color: var(--bs-dark) !important;
  background-color: var(--bs-dark);
}


.g-40,
.gx-40 {
  --bs-gutter-x: 2.5rem;
}

.g-40,
.gy-40 {
  --bs-gutter-y: 2.5rem;
}

.g-20,
.gx-20 {
  --bs-gutter-x: 1.25rem;
}

.g-20,
.gy-20 {
  --bs-gutter-y: 1.25rem;
}

.g-10,
.gx-10 {
  --bs-gutter-x: .625rem;
}

.g-10,
.gy-10 {
  --bs-gutter-y: .625rem;
}

.mb-20 {
  margin-bottom: var(--bs-gutter);
}

.mb-30 {
  margin-bottom: calc(var(--bs-gutter) * 1.5);
}

.slider-4 {
  margin-left: calc(var(--bs-gutter) * -1);
  margin-right: calc(var(--bs-gutter) * -1);
}

.slider-4 .slick-slide {
  padding-left: calc(var(--bs-gutter) * 1);
  padding-right: calc(var(--bs-gutter) * 1);
}


.btn:hover,
.btn:focus,
.btn:active,
.form-control {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}


::-moz-selection {
  background: #000;
  color: #fff;
}

button,
button:focus,
a:active,
a:hover,
a:focus {
  outline: 0;
}


a[href*="mailto:"],
a[href*="tel:"] {
  white-space: nowrap;
}

a { color: #ffb300;
  }

.link_reset-decor {
  text-decoration: none;
  color: black;
}


.char-nav {
  color: #ffb300
}

a:hover {
  color: #007bff;
}

strong {
  font-weight: bold;
}

input,
button {
  outline: none;
}


.form-group {
  position: relative;
}

label.error {
  font-size: 10px;
  line-height: 1;
  color: red;
  position: absolute;
  left: 0;
  top: 100%;
}


.form-control {
  color: #888;
  border: 1px solid var(--bs-gray-300);
  background-color: #ffffff;
  border-radius: 0px;
  font-size: 1rem;
  line-height: 1.75rem;

  height: 2.625rem;
  padding: .625rem 1.5rem;

  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.form-control:focus {
  border-color: var(--bs-warning);
}

.search-control {
  border: 1px solid var(--bs-gray-300);
  background-color: #ffffff;
  padding-left: 3.125rem;
}


.btn {
  font-size: 1.125rem;
  line-height: 1.75rem;
  border-radius: 0px;
  font-weight: 600;
  padding: .6875rem 2.375rem;

  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.search-btn {
  padding: .25rem .875rem;
  margin-left: .25rem;
}

.search-btn .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.card {
  border-radius: 0;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 10px;
}

.card:hover {

  border: 1px solid #efa71d;

}

p {
  margin-bottom: 1.125rem;
}

/*------------------------------------------------------------------------------------------*/
/* PAGE HEADER */
/*------------------------------------------------------------------------------------------*/

.page-header {
  z-index: 1000;
}

.page-header-top {
  height: 3.625rem;
  padding-bottom: .25rem;
}

.navbar {
  padding: 0 0 .25rem;
  margin: 0;
  border-radius: 0;
  border: none;
  display: block;
  height: 4rem;

  -webkit-box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);

  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}


.navbar-brand {
  padding: 0;
  margin: 0;
  max-width: 11.25rem;
  width: 100%;
  display: block;
}

.navbar-brand img {
  max-width: 100%;
  height: auto;
  width: 100%;
}


.navbar-toggler {
  padding-left: 0;
}

.navbar-toggler:hover {
  opacity: .8;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M24 6h-24v-4h24v4zm0 4h-24v4h24v-4zm0 8h-24v4h24v-4z'/%3E%3C/svg%3E");
  background-size: 1.25rem;
  height: 1.25rem;
  width: 1.25rem;
  background-repeat: no-repeat;
  background-position: center;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.collapse .navbar-toggler {
  width: 1.5rem;
  height: 1.5rem;
}

.navbar-nav .nav-item + .nav-item {
  margin-left: 2rem;
}

.navbar-nav .nav-link {
  /*font-size: 1.125rem;*/
  line-height: 1.75rem;
  font-weight: 650;

  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-left: 0px;
  padding-right: 0px;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--bs-black);
}


.search {
  max-width: 43.25rem;
  width: 100%;
}

.cb {
  font-weight: bold;
}

.phone {
  font-size: 1.25rem;
  line-height: 1.2;
  display: block;
  text-decoration: none;
}

.cb-link {
  font-size: 1rem;
  line-height: 1.125rem;
  text-decoration: none;
  display: block;

  margin-top: -2px;
  margin-bottom: 2px;
}

.cb-link:hover {
  color: var(--bs-dark) !important;
  text-decoration: underline;
}

.btn-catalog {
  padding: 0;
}

.btn-catalog .icon {
  width: 1.375rem;
  height: 1.375rem;
}

.btn-catalog:hover {
  color: var(--bs-warning);
}

.btn-catalog span {
  margin-left: .25rem;
}

.auth-trigger {
  font-size: .875rem;
  line-height: 1.75rem;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #888;
  margin-top: .625rem;
}

.auth-trigger:hover {
  color: var(--bs-dark);
}

.auth-trigger-icon {
  width: 2.0625rem;
  height: 2.0625rem;
  overflow: hidden;
}

.auth-trigger-icon img {
  max-width: 1.4375rem;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-top: 3px;
}


.basket-trigger .icon {
  width: 2.0625rem;
  height: 2.0625rem;
}

.basket-trigger .badge {
  font-size: 10px;
  font-weight: bolder;
  width: 1.1875rem;
  height: 1.1875rem;
  margin: .5rem 1rem 0 0;
}

.basket-trigger {
  margin-left: calc(var(--bs-gutter) * 2);
  margin-right: .25rem;
}

/*------------------------------------------------------------------------------------------*/
/* PAGE FOOTER */
/*------------------------------------------------------------------------------------------*/


.page-footer-top .border-top.border-bottom {
  padding: 2rem 0;
}

.page-footer-bottom {
  padding-top: 2.75rem;
  padding-bottom: 2rem;
}

.page-footer .h5 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: .625rem;
}

.offcanvas-top {
  height: 42vh;
}

.offcanvas ul li,
.page-footer ul li {
  margin-bottom: .5rem;
}

.offcanvas ul li a,
.page-footer ul li a {
  color: inherit;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.2;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}


.offcanvas ul li a:hover,
.page-footer ul li a:hover {
  color: var(--bs-warning);
}

/* Каталог в offcanvas: скролл списка категорий, чтобы все были доступны */
#offcanvasCatalog {
  max-height: 100vh;
}
#offcanvasCatalog .offcanvas-body {
  overflow-y: scroll; /* скролл всегда доступен, все категории можно просмотреть */
  overflow-x: hidden;
  max-height: 60vh;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}
#offcanvasCatalog .left-menu,
#offcanvasCatalog .list-unstyled {
  min-width: 0;
}
#offcanvasCatalog .sub-item {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: block;
}


/*.right-menu {*/
/*  white-space: nowrap;*/
/*  width: 50rem;*/
/*  background: white;*/
/*  padding-top: 10px;*/
/*  padding-bottom: 10px;*/
/*  padding-right: 32px;*/
/*  margin-left: 20px;*/
/*  overflow-y: auto;*/
/*  list-style: none;*/
/*  margin-right: 10px;*/
/*  box-shadow: 7px 10px 20px 5px darkgrey;*/
/*  display: none;*/
/*  z-index: 3;*/

/*}*/

@media (min-width: 992px) {
  .right-menu {
    background: white;
    position: absolute;
    max-width: min(50rem, calc(100vw - 2rem));
    width: 50rem;
    left: 180px;
    margin-left: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    list-style: none;
    margin-right: 10px;
    box-shadow: 7px 10px 20px 5px darkgrey;
    display: none;
    z-index: 3;
  }

  .right-menu-item {
    position: relative;
  }

}

.page-footer .cb {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: normal;
}

.page-footer .cb .phone {
  font-weight: bold;
  margin-bottom: 1.25rem;
}

.page-footer .cb a {
  text-decoration: none;
}

.page-footer a[href*="mailto:"] {
  display: block;
  margin-bottom: .75rem;
}

.page-footer .cb a,
.page-footer .cb p {
  white-space: nowrap;
}

.copyright {
  padding: 1.125rem 0;
  font-size: 1rem;
  line-height: 1.75rem;
}

.copyright a {
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

/*------------------------------------------------------------------------------------------*/
/* MAIN CONTENT */
/*------------------------------------------------------------------------------------------*/

.section {
  padding-top: calc(var(--bs-gutter) * 4);
  padding-bottom: calc(var(--bs-gutter) * 4);
}

.h2 {
  font-size: 2.5rem;
  line-height: 2.75rem;
  font-weight: 600;
  margin-bottom: .25rem;
}

.h2.mb-20 {
  margin-bottom: 1.25rem;
}

.h2 span {
  color: #888;
}

.section-head {
  margin-bottom: 2.75rem;
}

.page-head {
  margin-bottom: 2.75rem;
}

.intro {
  padding-top: var(--bs-gutter);
  padding-bottom: calc(var(--bs-gutter) * 4);
}


.banner-title {
  font-size: 1.625rem;
  line-height: 1.75rem;
  font-weight: bold;
  padding: 1.5rem 1.75rem;
}

.banner-slider .slider-item {
  padding-top: calc(var(--bs-gutter) * 3.6);
  padding-bottom: calc(var(--bs-gutter) * 3.2);

  padding-left: calc(var(--bs-gutter) * 6);
  padding-right: calc(var(--bs-gutter) * 6);
}

.banner-slider .badge {
  font-size: 1.375rem;
  font-weight: bold;
  width: 4.5rem;
  height: 4.5rem;
  line-height: 4.5rem;
  text-align: center;
  padding: 0;
  margin-right: .5rem;
  margin-top: 1.375rem;
}

.banner-slider .h2 {
  font-weight: bold;
  margin: -.875rem 0 1.125rem;
}

.banner-slider .price span {
  font-size: 2rem;
  line-height: 1.875rem;
  font-weight: 600;
  display: inline-block;
  position: relative;
  color: #888;
}

.banner-slider .price span:after {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='75' height='22' viewBox='0 0 75 22'%3E%3Cg%3E%3Cg%3E%3Cpath fill='%23ffb300' d='M.053 19.998L74.429.07l.518 1.932L.57 21.931z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-size: 100% 100%;
  background-size: 100% 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.banner-slider .price strong {
  font-size: 3rem;
  line-height: 1;
  font-weight: bold;
  display: block;
}

.banner-slider .price {
  margin-bottom: 2.25rem;
}

.gy-20.h-100 {
  height: calc(100% - var(--bs-gutter-y)) !important;
}

.category {
  padding-top: calc(var(--bs-gutter) * 3);
  padding-bottom: calc(var(--bs-gutter) * 3);
}

.cat {
  padding: 1.125rem 1.125rem 1.25rem;
  height: 100%;
}


.bg-white.border.position-relative {
  -webkit-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
}

.bg-white.border.position-relative:hover {
  border-color: var(--bs-warning) !important;
}


.cat img {
  display: block;
  width: auto;
  -o-object-fit: contain;
  object-fit: contain;
  margin-right: 1rem;

  max-height: 8.625rem;
}

.category-page .cat {
  padding: 1rem;
  height: 100%;
}

.category-page .cat img {
  max-height: 3rem;
  max-width: 100px;
}

.cat-title {
  width: 100%;
  font-size: 1.25rem;
  line-height: 1.625rem;
  font-weight: 600;

  height: auto;
  word-break: break-word;
}

@media (max-width: 990px) {
  .cat-title {
    font-size: 1.1rem;
  }
}

.card-body {
  flex-direction: column;
  display: flex;
  gap: 1.75rem;
  padding: 1.75rem 0;
}

.card-text {
  margin-bottom: 1.375rem;
  height: 6.5rem;
  font-size: 1rem;
}


.card-price strong {
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}


.card-btn {
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  padding: 0;
  position: relative;

  margin-right: 1.25rem;
}


.card-btn .icon {
  width: 1.3125rem;
  height: 1.3125rem;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.card-thumb {
  position: relative;
  height: 12.5rem;
}

.card-thumb img {
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-height: 100%;
  max-width: 100%;
}

.card-thumb .badge {
  margin-bottom: .25rem;
  margin-left: .25rem;
  background-color: rgba(243, 47, 51, .3);
  padding: .625rem;
  border-radius: 0;
}


.brand {
  height: 7.5rem;
  padding: .875rem;
}

.brand img {
  max-height: 100%;
  max-width: 100%;
}


.about {
  padding-top: calc(var(--bs-gutter) * 3.5);
  padding-bottom: calc(var(--bs-gutter) * 2);
}

.a-icon {
  width: 3.875rem;
  height: 3.875rem;
  margin: 0 auto .375rem;
}

.a strong {
  display: block;
  font-size: .875rem;
  line-height: 1.125rem;
  font-weight: 600;
}


.subscribe {
  max-width: 27.5rem;
  width: 100%;
}

.subscribe .btn {
  font-size: 1rem;
  height: 2.625rem;
  display: -webkit-inline-flex;
  display: -moz-inline-flex;
  display: -ms-inline-flex;
  display: -o-inline-flex;
  display: inline-flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  padding: 2px .75rem;
}

.subscribe form strong {
  padding-left: .875rem;
  pointer-events: none;
}

.subscribe .form-control {
  padding-left: 2rem;
}

.advantages {
  padding-top: calc(var(--bs-gutter) * 2.5);
}


.breadcrumb {
  font-size: 1rem;
  line-height: 1.75rem;
  padding: 1.375rem 0 1rem;
  margin-bottom: .9375rem;
}

.breadcrumb-item.active {
  color: #888;
}

li .breadcrumb-item {display: flex;}
li .breadcrumb-item::before {display: flex;}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 1.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '→';
  color: #888;
  padding-right: 1.5rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}


.pagination {
  padding: .625rem 0 0;
  margin-top: 2.5rem;
}


.page-item {
  padding-left: .5rem;
  padding-right: .5rem;
}

.page-link {
  font-size: 1rem;
  font-weight: 400;
  color: #777;
  width: 2.125rem;
  height: 2.125rem;
  line-height: 1.875rem;
  border: 2px solid #aeaeae;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 0;
  text-align: center;
}

.page-link:hover,
.page-link:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 2px solid #aeaeae;
  background-color: #aeaeae;
  color: #fff;
}

.page-item:last-child .page-link,
.page-item:first-child .page-link {
  border: none;
  width: auto;
  font-weight: normal;
  border-radius: 0;
}

.page-item:last-child .page-link:hover,
.page-item:first-child .page-link:hover {
  color: var(--bs-dark);
  background: transparent;
}

.page-item:first-child .page-link {
  margin-right: 1.25rem;
}

.page-item:last-child {
  margin-left: 1.25rem;
}

.page-item:first-child .page-link span {
  margin-left: .625rem;
}

.page-item:last-child .page-link {
  margin-right: .625rem;
}


.quant {
  width: 7.5rem;
  height: 2.5rem;

  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;

  -ms-align-items: center;
  align-items: center;

  justify-content: space-between;
  text-align: center;

  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.quant button,
.quant input {
  border: none;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  padding: 0;
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
}

.quant input {
  text-align: center;

  font-size: 1rem;
  line-height: 1.75rem;
  font-weight: bold;
  border-radius: 50%;
}

.quant button {
  color: #888;
  background: transparent;
  text-align: center;

  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.quant button .icon {
  width: .8125rem;
  height: .8125rem;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.quant button:hover {
  color: #000;
}


.view {
  margin-left: 2.5rem;
  margin-bottom: 1rem;
}

.view-link {
  color: var(--bs-gray-300);
  width: 1rem;
  height: 1rem;
}

.view-link + .view-link {
  margin-left: .5rem;
}

.view-link .icon {
  display: block;
  width: 100%;
  height: 100%;
}

.view-link.active,
.view-link:hover {
  color: var(--bs-warning);
}


.panel-link.active,
.panel-link:hover,
.panel-link:focus {
  color: var(--bs-dark);
}

.panel-link.active {
  font-weight: 600;
}


.panel {
  margin-top: -.75rem;
}

.panel-link {
  font-size: 1rem;
  line-height: 1.75rem;
  color: var(--bs-gray-300);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}

.panel-link + .panel-link {
  margin-left: 1.25rem;
}


.widget,
.filter-group {
  padding: 1.375rem 1.5rem;

}

.sidebar {
  min-width: 0; /* не обрезать контент в узкой колонке */
}

.sidebar .h5 {
  font-weight: 600;
  color: var(--bs-dark);
  margin-bottom: var(--bs-gutter);
  text-decoration: none;
  display: block;
  font-size: 1.25rem;
  line-height: 1.75rem;
  margin-bottom: .875rem;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.sidebar .h5:hover,
.sidebar .h5:focus,
.sidebar .h5:active {
  color: var(--bs-dark);
}


.form-check {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  padding-left: 0;
}

.form-check .form-check-input {
  border: 2px solid #d1cecc;
  background-color: #ffffff;
  margin-right: .5rem;
  margin-left: 0;
  border-radius: 0;
  margin-top: 0;

  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.form-check .form-check-input[type=radio] {
  border-radius: 50%;
}

.form-check-label {
  font-size: 1rem;
  line-height: 1.75rem;
}

.form-check-input:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  border-color: var(--bs-dark);

}


.form-check-input:checked[type=radio],
.form-check-input:checked[type=checkbox] {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L5 8L11 1' stroke='%23FFB300' stroke-width='2' stroke-miterlimit='20'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center;
}


.filter-group li + li {
  margin-top: .625rem;
}

.form-check-input.bg-white {
  background-color: #fff;
}

.form-check-input.bg-gray {
  background-color: #d1cecc;
}

.form-check-input.bg-black {
  background: #000;
}

.menu,
.widget,
.filter {
  margin-bottom: calc(var(--bs-gutter) * 2);
}

.widget-header {
  margin-bottom: var(--bs-gutter);
}

.menu a {
  font-size: 1rem;
  line-height: 1.75rem;
  color: inherit;
  text-decoration: none;
}

.menu a.active {
  font-weight: 600;
  color: var(--bs-warning);
}

.menu a:hover,
.menu a:focus,
.menu a:active {
  color: var(--bs-warning);
}


.widget .card,
.widget .card-footer {
  background: transparent;
}

.widget .card-thumb {
  height: 10.375rem;
}

.widget .card-price strong {
  font-size: 1.625rem;
}

.widget .card {
  margin-bottom: calc(var(--bs-gutter) * 1.5);
}


.card-status {
  font-size: 1.0625rem;
  line-height: 1.25rem;
}

.card-status .icon {
  width: .9375rem;
  height: .9375rem;
  margin-top: .25rem;
}

.single a {
  color: #ffb300
}

.single .card-status {
  margin-bottom: 1.625rem;
}


.single .card-price strong {
  font-size: 1.5rem;
}

.single .card-price {
  margin-bottom: 2.5rem;
}


.basket .quant,
.single .quant {
  width: 7rem;
  margin-right: 15px;
}


.basket .quant button,
.single .quant button {
  width: 1.8rem;
  height: 2.5rem;
}

.basket .quant input,
.single .quant input,
.single .card-btn {
  width: 2.5rem;
  height: 2.5rem;
}

.single .card-btn .icon {
  width: 2rem;
  height: 2rem;
}


.basket .quant button .icon,
.single .quant button .icon {
  width: 0.9rem;
  height: 0.9rem;
}


.basket .quant input,
.single .quant input {
  font-size: 1.2rem;
}

.single .card-text {
  margin-top: 2.25rem;
}

.basket .card {
  margin-bottom: 2.75rem;
}

.basket .card-thumb {
  height: 10.375rem;
  max-width: 15rem;
  width: 100%;
}

.basket .card-price strong {
  font-size: 1.875rem;
}


.basket-res .h3 {
  font-size: 2.5625rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 1.5rem;
}


.basket-res li {
  font-size: 1.875rem;
}

.basket-res li + li {
  margin-top: 1.5rem;
}

.basket-res li strong {
  font-weight: 600;
}

.basket-res {
  padding-top: calc(var(--bs-gutter) * 1);
}


.form-select:focus {
  box-shadow: none;
}

.panel .sort > .select2,
.panel .form-select {
  border-radius: 0;
  border: none;
  padding-left: 0;
  margin-bottom: 1.125rem;
}

.action {
  overflow: hidden;
  padding-top: calc(var(--bs-gutter) * 3.5);
}

.brands {
  padding-top: calc(var(--bs-gutter) * 3.5);
}

.single {
  padding-top: calc(var(--bs-gutter) * 1.5);
  padding-bottom: calc(var(--bs-gutter) * 1.5);
}

.basket {
  padding-top: calc(var(--bs-gutter) * 1.5);
}

.basket .btn-del .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.basket .card + .card {
  margin-top: 2.75rem;
}


.filter-slider .form-control {
  padding: 0;
  border: none;
  font-size: 1rem;
  line-height: 1.75rem;
  color: #000;
  width: 100%;
}


.catalog-list {
  overflow: hidden;
}

.basket-list {
  overflow: hidden;
}

/*------------------------------------------------------------------------------------------*/
/* VENDOR STYLE */
/*------------------------------------------------------------------------------------------*/
.fancy-modal {
  display: none;
}


.fancy-modal {
  max-width: 420px;
  width: 100%;
  padding: 3.25rem 2rem 3.125rem;
  border: 1px solid #fff;
  background: #fff;
}


.slick-slide {
  outline: none;
}

.slick-arrow {
  border: none;
  padding: 0px;
  position: absolute;
  z-index: 10;
  top: 50%;
  cursor: pointer;
  text-align: center;

  border: 2px solid #aeaeae;
  border-radius: 50%;
  background: transparent;
  color: #aeaeae;

  width: 2.625rem;
  height: 2.625rem;
  line-height: 2.625rem;

  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.slick-arrow:hover {
  color: var(--bs-dark);
  border-color: var(--bs-dark);
}

.slick-arrow .icon {
  fill: none;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.slick-prev {
  left: 1.25rem;
}

.slick-next {
  right: 1.25rem;
}

.slick-dots {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;

  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;

  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 0;
  line-height: 0;
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);

}

.action .slick-dots {
  position: static;
  -webkit-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
  margin-top: 2rem;
}

.slick-dots li {
  margin: 0 5px;
}

.slick-dots button {
  width: 10px;
  height: 10px;
  border: 2px solid #aeaeae;
  background-color: #ffffff;
  opacity: 1;
  padding: 0px;
  font-size: 0px;
  line-height: 0px;
  border-radius: 50%;
  cursor: pointer;

  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.slick-dots li button:hover,
.slick-dots li.slick-active button {
  background: #aeaeae;
}


.ui-widget.ui-widget-content {
  background: var(--bs-gray-300);
  border-radius: 0;
  border: none;
  height: 2px;
  margin: .625rem auto;
}

.ui-slider-horizontal .ui-slider-range {
  background: var(--bs-warning);
}

.ui-state-default, .ui-widget-content .ui-slider-handle {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0;
  border: none;
  background: var(--bs-warning);
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  margin-top: -3px;
}


.ui-widget-content .ui-slider-handle {
  margin-left: 0px;
}

.ui-widget-content .ui-slider-handle + .ui-slider-handle {
  margin-left: -1.25rem;
}


.filter-slider-input {
  width: 6.5rem;
  margin-right: .25rem;
}

.ui-widget-content .ui-slider-handle span {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  top: 8px;

  display: none;
}

.filter-slider-item label {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
}


.select2-container .select2-selection--single {
  outline: none;
}

.select2-search--dropdown,
.select2-results__option[aria-selected=true],
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}


.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 1.875rem;
  color: #000;
  padding-left: 0;
  padding-right: 2.25rem;
  font-size: 1rem;
  font-weight: 400;
  outline: none;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #777;
}

.select2-container--default .select2-selection--single {
  outline: none;
  background: #fff;
  border: none;
  border-radius: 0;
  height: 1.875rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 1.875rem;
  width: 1.875rem;
  right: 0;
  top: 0;
}

.form-group .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow:after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  position: absolute;
  right: 0;
  top: 2px;
}


.select2-container--default.select2-container--open .select2-selection__arrow:after {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);

  ackground-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;

}


.select2-container--open .select2-dropdown {
  background: #fff;
  border-radius: 0;
  border: none;
}


.select2-results__options {
  padding: 0;

}

.select2-results__option {
  padding: 0px;
  color: #000;
  font-size: 1rem;
  line-height: 1.5rem;
  padding: .5rem .5rem;
}

.select2-results__option + .select2-results__option {
  border-top: 1px solid #000;
}

.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #fff;
  color: var(--bs-warning);
}


/*------------------------------------------------------------------------------------------*/
/*  MEDIA QUERIES */
/*------------------------------------------------------------------------------------------*/

@media (min-width: 992px) {
  .w-20 {
    width: 20%;
  }


  #offcanvasFilter,
  #offcanvasSearch,
  #offcanvasFilter {
    display: block !important;
    position: static !important;
    transform: none !important;
    height: auto;
    border: none;
    visibility: visible;
  }

  .offcanvas-body {
    overflow: hidden;
  }

  /* Каталог: явный скролл списка категорий на десктопе */
  #offcanvasCatalog .offcanvas-body {
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 65vh;
    -webkit-overflow-scrolling: touch;
  }


  .basket .card-text {
    margin-bottom: .75rem;
  }

  .basket .card-price {
    margin-top: -1rem;
    margin-left: -2.5rem;
  }

  .basket .quant {
    margin-left: -1rem !important;
    margin-top: -.75rem;
  }

  .basket .btn-del {
    margin-right: 3rem;
    padding: .5rem;
    margin-top: -1.125rem;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1304px;
  }

  #offcanvasSearch {
    margin-left: -2.625rem;
    max-width: 43.25rem;
    margin-right: -1.375rem;
  }


  .navbar .navbar-collapse {
    margin-left: -2.75rem;
  }

  .navbar-nav .nav-item + .nav-item {
    margin-left: 3.25rem;
  }

  .intro .col-lg-8 {
    width: 69.2%;
  }

  .intro .col-lg-4 {
    width: 30.8%;
  }


  .banner-slider-thumb {
    margin-left: .5rem;
  }

  .advantages {
    max-width: 74%;
    margin-left: auto;
    margin-right: auto;
  }


}

/*Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {
  .banner-slider .slider-item {
    padding: 1rem;
  }

  .navbar-nav .nav-item + .nav-item {
    margin-left: 1rem;
  }
}

/*Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
  html {
    font-size: 14px;
  }

  .container {
    max-width: 100%;
  }

  .page-header-top .btn {
    padding-left: 0;
    padding-right: 0;
  }

  .basket-trigger .icon,
  .auth-trigger-icon,
  .page-header-top .btn .icon {
    width: 2rem;
    height: 2rem;
  }

  .auth-trigger {
    height: 2rem;
    margin-left: 1.25rem;
    margin-top: 0;
  }

  .basket-trigger {
    margin-left: 1.25rem;
  }

  .auth-trigger img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }


  .navbar-collapse {
    background: #fff;
    position: fixed;
    z-index: 9989;
    display: block !important;
    height: 100% !important;
    max-width: 400px;
    width: 100%;
    border-right: 1px solid rgba(0, 0, 0, .2);
    -webkit-transition: transform .3s ease-in-out;
    -o-transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out;
    top: 0px;
    left: 0;
    right: auto;
    overflow-y: auto;


    -webkit-transform: translateX(-110%);
    -ms-transform: translateX(-110%);
    -o-transform: translateX(-110%);
    transform: translateX(-110%);

    /*padding-top: 4.375rem;
    padding-bottom: 2.5rem;
    padding-left: 15px;
    padding-right: 15px;*/
  }


  .navbar-collapse.show {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);

    -webkit-transition: transform .3s ease-in-out;
    -o-transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out;
  }

  .overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(54, 54, 54, 0.6);
    z-index: 1200;
    opacity: 0;
    top: 0;
    left: 0;
    /*transition: all 0.5s ease-in-out;*/

    -webkit-animation: fade 500ms;
    animation: fade 500ms;
  }


  .overlay.active {
    display: block;
    opacity: 1;
  }


  @-webkit-keyframes fade {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  @-o-keyframes fade {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  @-moz-keyframes fade {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  @keyframes fade {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .navbar-nav .nav-item + .nav-item {
    margin-left: 0;
  }

  .banner {
    min-height: 15rem;
  }


  .intro {
    padding-top: var(--bs-gutter);
    padding-bottom: calc(var(--bs-gutter) * 2);
  }

  .cat img {
    max-height: 6.5rem;
  }


  .basket .quant button,
  .single .quant button,
  .basket .quant input,
  .single .quant input,
  .single .card-btn {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .basket .quant button .icon,
  .single .quant button .icon {
    width: .8125rem;
    height: .8125rem;
  }

  .basket .quant,
  .single .quant {
    width: 7.5rem;
  }

  .single .card-btn .icon {
    width: 1.3125rem;
    height: 1.3125rem;
  }

  .breadcrumb-item + .breadcrumb-item {
    padding-left: .25rem;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    padding-right: .25rem;
  }

  .banner-slider .slider-item {
    text-align: center;
  }


  .btn-del {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .basket-res .h3 {
    font-size: 2rem;
  }

  .basket-res li {
    font-size: 1.5rem;
  }

  .basket-res li + li {
    margin-top: 1rem;
  }


  .page-header-top .btn:hover {
    opacity: .75;
  }

}

/*Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {
  .basket .card-thumb {
    max-width: 100%;
    height: 12.5rem;
  }

  .basket .card {
    margin-bottom: 1.25rem;
    position: relative;
  }

  .basket .btn-del {
    position: absolute;
    top: 0;
    right: 0;
    width: 2.5rem;
  }

  .page-head {
    margin-bottom: 1rem;
  }

  .basket {
    padding-top: 0;
  }

  .action {
    padding-top: 2rem;
  }

  .single .card-price strong {
    font-size: 1.25rem;
  }


  .section {
    padding-bottom: calc(var(--bs-gutter) * 2);
  }


  .banner-slider-thumb {
    margin-bottom: 2rem;
  }

  .banner-slider .slider-item {
    padding-bottom: 2.5rem;
  }


  .navbar-brand img {
    max-height: 2rem;
    margin-left: -1.25rem;
  }

  .page-header-top,
  .navbar {
    height: 3rem;
  }
}

/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
  .phone {
    margin-left: 10px !important;
  }

  .basket-trigger {
    margin-left: 5px !important;
  }

  .auth-trigger {
    margin-left: 5px !important;
  }

  .cb-link, .phone {
    font-size: 12px !important;
  }

  .basket-trigger .icon, .auth-trigger-icon, .page-header-top .btn .icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .auth-trigger {
    height: 1.5rem;
  }

  .phone {
    font-size: 1rem;
  }

  .banner-title {
    padding: 1rem;
  }

  .banner {
    min-height: 10rem;
  }

  .h2 {
    font-size: 2rem;
  }

  .basket-res .btn {
    max-width: 100%;
    width: 100%;
  }

  .basket-res li {
    font-size: 1rem;
  }

  .basket-res li + li {
    margin-top: .5rem;
  }


  .panel-link + .panel-link {
    margin-left: .5rem;
  }

  .amount {
    flex-wrap: nowrap;
    display: -webkit-inline-flex;
    display: -moz-inline-flex;
    display: -ms-inline-flex;
    display: -o-inline-flex;
    display: inline-flex;
    -ms-align-items: center;
    align-items: center;
  }

  .view {
    margin-left: 1.5rem;
  }

}

.filter-slider-element {
  position: relative;
}

.filter-slider-element__span {
  display: block;
  position: absolute;
  top: -5px;
}

.slick-list, .slick-track {
  height: 100% !important;
}

/* The end. 2019. With ❤ from SEV. */


/* Rating product style */

.starrating > input {
  display: none;
}

/* Remove radio buttons */

.starrating > label:before {
  content: "\f005"; /* Star */
  margin: 2px;
  font-size: 1em;
  font-family: FontAwesome;
  display: inline-block;
  cursor: pointer;
}

.starrating > label {
  color: #222222; /* Start color when not clicked */
}

.starrating > input:checked ~ label {
  color: #ffca08;
}

/* Set yellow color when star checked */

.starrating > input:hover ~ label {
  color: #ffca08;
}

/* Set yellow color when star hover */
/* ––––––––––––––––––––––––––––––––– */


/* Three column layout */
.side {
  float: left;
  width: 15%;
  margin-top: 10px;
}

.middle {
  margin-top: 10px;
  float: left;
  width: 70%;
}

/* Place text to the right */
.right {
  text-align: right;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* The bar container */
.bar-container {
  width: 100%;
  background-color: #f1f1f1;
  text-align: center;
  color: white;
}

/* Individual bars */
.bar-5 {
  width: 60%;
  height: 18px;
  background-color: #04AA6D;
}

.bar-4 {
  width: 30%;
  height: 18px;
  background-color: #2196F3;
}

.bar-3 {
  width: 10%;
  height: 18px;
  background-color: #00bcd4;
}

.bar-2 {
  width: 4%;
  height: 18px;
  background-color: #ff9800;
}

.bar-1 {
  width: 15%;
  height: 18px;
  background-color: #f44336;
}

/* Responsive layout - make the columns stack on top of each other instead of next to each other */
@media (max-width: 400px) {
  .side, .middle {
    width: 100%;
  }

  .right {
    display: none;
  }
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #000 !important;
  background-color: #ffc720 !important;
}

.block-map {
  padding: 10px;
  border: 1px solid #ebebeb;
  margin-top: 20px;
}

.app-filter-ajax-update:hover {
  color: #000 !important;
  bcakground-color: #d19404 !important;
}

#fav-btn-full:hover {
  background-color: #5c636a !important;
  color: #fff !important;
}

#com-btn-full:hover {
  background-color: #5c636a !important;
  color: #fff !important;
}

.button-up {

  width: 60px;
  height: 60px;
  position: fixed;
  z-index: 999;
  right: 20px;
  bottom: 20px;
  border-radius: 50%;
  border: 2px solid #ffb300;
  background-color: #ffffff;
  transition: all .2s ease-in-out;
}

.button-up__logo {
  width: 50%;
  height: 50%;
  transform: rotate(270deg);
  margin: 12px 15px;
}

.button-up:hover {
  background: #ffb300;
  cursor: pointer;
}

.card-price {
  font-weight: bold;
}

.user-image {
  margin-left: 56px;
}

@media (max-width: 1200px) {
  .user-image {
    margin-left: 10px;
  }
}

.section-hit {
  margin-top: 0 !important;
}

.sitemap ul li a {
  color: #1769a9;
}

@media (max-width: 576px) {
  .cat a {
    flex-direction: column !important;
    align-items: center !important;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .cat-title {
    text-align: center;
  }

}

@media (min-width: 576px) and (max-width: 768px) {
  .cat a {
    flex-direction: column !important;
    align-items: center !important;
  }
}

.no-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.right-menu {
  max-width: min(50rem, calc(100vw - 2rem));
  width: 50rem;
  background: white;
  position: absolute;
  top: 0;
  left: 250px;
  margin-left: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  list-style: none;
  margin-right: 10px;
  box-shadow: 7px 10px 20px 5px darkgrey;
  display: none;
  z-index: 3;
}



.third-level-menu {


  width: 300px;
  max-height: 500px;
  list-style-type: none;
  /*border-left: 1px solid #cecece;*/
  padding-left: 10px;
  margin-left: 10px;
  display: none;
  background: white;
  overflow-y: auto;
  overflow-x: hidden;
  border-left: 1px solid #dadada;

}

.third-level-menu li a {
  padding-left: 0;
  font-size: 14px !important;
}

.third-level-menu {
  transition: .3s;
}

.active-third-menu {
  display: block;
  transition: .3s;
}

@media (max-width: 992px) {
  .right-menu {
    position: relative;
    left: 0;
    box-shadow: none;
    border-left: 2px solid #ffb300;
    max-width: 100%;
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 430px) {
  .right-menu {
    max-width: 100%;
    width: 100%;
  }
}

/* Подменю каталога: перенос текста на всех экранах */
.right-menu li a,
.third-level-menu li a {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.available {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  color: #1fc01f;
  font-weight: 600;

}

.unavailable {
  border-radius: 5px;
  font-size: 14px;
  padding: 3px 10px 5px 10px;
  background: #b9b9b9;
  color: white;
}

input.quant-control {
  margin-left: 10px;
  margin-right: 10px;
  width: 2.5rem !important;
  height: 2.5rem !important;


}
input.quant-control::-webkit-outer-spin-button,
input.quant-control::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}



h2 {
    margin-top: 35px;
}

.tab-content {
  margin-top: 20px;
}
.filter-group::-webkit-scrollbar {
  width: 10px;
  background-color: #f9f9fd;
}

.filter-group::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #e4e4e4;

}

.filter-group::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
  border-radius: 10px;
  background-color: #f9f9fd;
}



.breadcrumb li:nth-child(2) {display: flex;}




   .cart-notification {
     position: fixed;
     top: 20%;
     left: 0;
     right: 0;
     margin: 0 auto;
     padding: 15px 25px;
     background-color: #28a745;
     color: white;
     border-radius: 4px;
     box-shadow: 0 4px 12px rgba(0,0,0,0.15);
     z-index: 1000;
     animation: slideIn 0.3s ease-out;
     max-width: 400px;
   }

.cart-notification.error {
  background-color: #dc3545;
}

.cart-notification .notification-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cart-notification .btn {
  flex-shrink: 0;
  margin: 16px;
}

@keyframes slideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.icon-success {
  color: #fff;
  width: 20px;
  height: 20px;
}

.icon-error {
  color: #fff;
  width: 20px;
  height: 20px;
}

.partner-needs-form-wrapper {
  margin: 0 0 25px 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(130, 7, 0, 0.1);
}

.partner-needs-form-container {
  background-image:
          linear-gradient(
                  rgba(130, 7, 0, 0.9),
                  rgba(130, 7, 0, 0.7)
          ),
          url(/images/fon.png);
  background-size: cover;
  background-position: center;
  padding: 25px;
  border: 1px solid rgba(130, 7, 0, 0.15);
  text-align: center;

}

.partner-needs-form p {color: white;
margin: 0 0 0.5rem 0;
font-weight:  600;
}
.partner-needs-form {}

.partner-needs-form__title {
display: inline-flex;
  gap: 1rem;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  align-items: center;

}

.partner-needs-form__icon {
  flex-shrink: 0;
}

.partner-needs-form__fields {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.partner-needs-form__field-group {
  position: relative;
  flex: 1;

}
.partner-needs-form__checkbox-group {
  gap: 1rem;
  align-items: center;
  display: flex;
  margin-bottom: 1rem;
}

.partner-needs-form__input {
  width: 100%;
  padding: 12px 15px 12px 40px;
  border: 1px solid rgba(130, 7, 0, 0.3);
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  background-color: white;
}

/* Стили для новой структуры корзины */
.cart-items-section {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.order-form-section {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 20px;
}

.recommended-items-section {
  margin-top: 30px;
}

.recommended-items-section .card {
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.recommended-items-section .card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.payment-card {
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  cursor: pointer;
}

.payment-card:hover {
  border-color: #007bff;
}

.payment-card.selected {
  border-color: #28a745;
  background-color: #f8f9fa;
}

.payment-icon {
  color: #6c757d;
}

.payment-card.selected .payment-icon {
  color: #28a745;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  min-height: 24px;
}

.summary-label {
  font-weight: 500;
  color: #6c757d;
}

.summary-value {
  font-weight: 600;
  color: #212529;
  font-family: 'Courier New', monospace;
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1em;
  font-weight: bold;
  min-height: 28px;
}

.summary-total .summary-label {
  color: #212529;
}

.summary-total .summary-value {
  color: #28a745;
  font-size: 1.2em;
  font-weight: bold;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 991.98px) {
  .order-form-section {
    position: static;
    margin-top: 30px;
  }
  
  .cart-items-section,
  .order-form-section {
    padding: 15px;
  }
}

@media (max-width: 767.98px) {
  .recommended-items-section .col-md-6 {
    margin-bottom: 15px;
  }
  
  .payment-method-section .col-md-6 {
    margin-bottom: 15px;
  }
  
  .summary-item {
    font-size: 0.9em;
  }
}

.partner-needs-form__input:focus {
  border-color: #820700;
  box-shadow: 0 0 0 3px rgba(130, 7, 0, 0.1);
  outline: none;
}

.partner-needs-form__input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.partner-needs-form__submit {
  background-color: #EFA71D;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(239, 167, 29, 0.3);
}

.partner-needs-form__submit:hover {
  background-color: #E09B0D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 167, 29, 0.4);
}

.partner-needs-form__agreement {
   font-size: 0.75rem;
  color: white;
   text-align: center;
  line-height: 1.4;
}

.partner-needs-form__agreement a {
  color: rgb(255, 180, 3);
  text-decoration: underline;
}

.partner-needs-form__success {
  color: #fff;
  text-align: center;
  padding: 12px 0;
}

.partner-needs-form__success h3 {
  color: #fff;
  margin: 10px 0 8px;
  font-size: 1.25rem;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .partner-needs-form__fields {
    flex-direction: column;
    gap: 10px;
  }

  .partner-needs-form-container {
    padding: 20px 15px;
  }

  .partner-needs-form__title {
    font-size: 1.125rem;
  }
}


@media (max-width: 576px) {
  .quant.quantity-selector {
    margin-right: 5px;
  }
  .quant.quantity-selector .quant-btn {
    width: 28px;
    height: 28px;
  }
  .quant.quantity-selector .quantity-input {

  }
  .btn.card-btn {
    width: 36px;
    height: 36px;
  }
}
.quant-btn:hover {
  background: #e9ecef !important;
  color: #333 !important;
}
.quant-btn:active {
  background: #ffc107 !important;
}

.card-footer1 {
  margin-top: 5px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  background: #e3dfdf;
  border-top: 1px solid grey;
  padding: 10px;
}

/* Мобильная версия */
@media (max-width: 767.98px) {

  .card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 10px;
  }
  .card-thumb {
    width: 100px;
    min-width: 100px;
    height: 100px;
    margin-right: 15px;
  }
  .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .card-body {
    padding: 0;
    margin-bottom: 5px;
  }
  .card-price {
    font-size: 1rem;
    margin-bottom: 3px;
  }
  .card-text {
    font-size: 0.9rem;
    line-height: 1.2;
    margin-bottom: 5px;
  }
  .card-availability {
    margin-bottom: 5px;
  }
  .card-footer1 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: #e3dfdf;
    border-top: 1px solid grey;

  }
  .quantity-selector {
    margin: 0 auto;
  }
  .quantity-input {
    width: 50px;
    height: 30px;
  }
  .quant-btn {
    width: 25px;
    height: 30px;
  }
  .btn.card-btn {
    width: 36px;
    height: 36px;
  }

}


.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


.quantity-input {
  -moz-appearance: textfield;
}


.left-menu {
  margin-right: 2rem;
  min-width: 0; /* позволяет колонке сжиматься в flex/grid */
  overflow-wrap: break-word;
}
.left-menu a {
  text-decoration: none;
  color: inherit;
  display: block;
  text-transform: none!important;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.menu-category-title {
  cursor: pointer;
  padding: 8px 28px 8px 8px; /* место для иконки справа */
  background-color: #f5f5f5;
  position: relative;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.menu-category-title:hover {
  background-color: #e9e9e9;
}
.menu-children {
  padding-left: 15px;
}
.menu-child {
  padding: 6px 8px;
  display: block;
}
.menu-child:hover {
  background-color: #f0f0f0;
}
.active-category > .menu-category-title {
  color: black;
}
.current-category {
  color: #ffb300 !important;
}
.toggle-icon {
  position: absolute;
  right: 8px;
  font-size: 12px;
  flex-shrink: 0;
}
/* Стили для разных уровней вложенности */
.level-1 > .menu-category-title {
  font-weight: bold;
}
.level-2 > .menu-category-title {
  padding-left: 15px;
}
.level-3 > .menu-category-title {
  padding-left: 30px;
  font-size: 0.9em;
}
.level-4 > .menu-category-title {
  padding-left: 45px;
  font-size: 0.85em;
}

/* ========================================
   СТИЛИ ДЛЯ ПРАВОЙ КОЛОНКИ КОРЗИНЫ
   ======================================== */

/* Общие стили для правой колонки */
.order-form-section {
  position: sticky;
  top: 20px;
}

/* Стили для карточек */
.order-form-section .card {
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.order-form-section .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

/* Стили для заголовков карточек */
.order-form-section .card-header {
  border-radius: 12px 12px 0 0 !important;
  border: none;
  padding: 1rem 1.5rem;
}

.order-form-section .card-header h4 {
  font-weight: 600;
  font-size: 1.1rem;
}

/* Стили для тела карточек */
.order-form-section .card-body {
  padding: 1.5rem;
}

/* Стили для итогов */
.summary-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-value {
  font-family: 'Courier New', monospace;
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}

.summary-total {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.summary-total .summary-value {
  font-size: 1.2rem;
  color: #007bff !important;
}

/* Стили для кнопок */
.order-form-section .btn {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.order-form-section .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.order-form-section .btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
}

/* Стили для полей формы */
.order-form-section .form-group {
  margin-bottom: 1.5rem;
}

.order-form-section .form-control {
  border-radius: 8px;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.order-form-section .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.order-form-section label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}

/* Стили для radio buttons */
.order-form-section .radio {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.order-form-section .radio:hover {
  border-color: #007bff;
  background-color: #f8f9fa;
}

.order-form-section .radio input[type="radio"] {
  margin-right: 0.75rem;
}

.order-form-section .radio label {
  margin-bottom: 0;
  cursor: pointer;
  font-weight: 500;
}

/* Стили для чекбокса согласия */
.order-form-section .custom-checkbox {
  margin-right: 0.75rem;
}

/* Стили для предупреждений */
.tc_warning_block {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

.tc_warning_block .alert-warning {
  margin-bottom: 0;
  background-color: transparent;
  border: none;
  color: #856404;
}

/* Адаптивность */
@media (max-width: 991.98px) {
  .order-form-section {
    position: static;
    margin-top: 2rem;
  }
  
  .order-form-section .card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 575.98px) {
  .order-form-section .card-body {
    padding: 1rem;
  }
  
  .order-form-section .btn-lg {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
}

/* ========================================
   СТИЛИ ДЛЯ КРАСИВЫХ КАРТОЧЕК ОПЛАТЫ И ДОСТАВКИ
   ======================================== */

/* Стили для input-group с иконками */
.input-group-text {
  background-color: #f8f9fa;
  border-color: #e9ecef;
  color: #6c757d;
}

.input-group .form-control {
  border-left: none;
}

.input-group .form-control:focus {
  border-color: #007bff;
  box-shadow: none;
}

.input-group:focus-within .input-group-text {
  border-color: #007bff;
  background-color: #e3f2fd;
  color: #007bff;
}

/* Стили для методов оплаты */
.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-card {
  position: relative;
}

.payment-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-card-label {
  display: block;
  cursor: pointer;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
  background-color: #fff;
  height: 100%;
}

.payment-card-label:hover {
  border-color: #007bff;
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.payment-card input[type="radio"]:checked + .payment-card-label {
  border-color: #28a745;
  background-color: #d4edda;
  box-shadow: 0 4px 12px rgba(40,167,69,0.2);
}

.payment-card-content {
  text-align: center;
}

.payment-icon {
  font-size: 2rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.payment-card input[type="radio"]:checked + .payment-card-label .payment-icon {
  color: #28a745;
}

.payment-text {
  font-weight: 600;
  color: #495057;
  font-size: 0.9rem;
}

.payment-card input[type="radio"]:checked + .payment-card-label .payment-text {
  color: #155724;
}

/* Стили для методов доставки */
.delivery-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.delivery-card {
  position: relative;
}

.delivery-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.delivery-card-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
  background-color: #fff;
}

.delivery-card-label:hover {
  border-color: #007bff;
  background-color: #f8f9fa;
}

.delivery-card input[type="radio"]:checked + .delivery-card-label {
  border-color: #007bff;
  background-color: #e3f2fd;
}

.delivery-card-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.delivery-icon {
  font-size: 1.5rem;
  color: #6c757d;
  margin-right: 1rem;
  width: 2rem;
  text-align: center;
}

.delivery-card input[type="radio"]:checked + .delivery-card-label .delivery-icon {
  color: #007bff;
}

.delivery-text {
  font-weight: 500;
  color: #495057;
  flex: 1;
}

.delivery-card input[type="radio"]:checked + .delivery-card-label .delivery-text {
  color: #0056b3;
}

/* Адаптивность для карточек оплаты */
@media (max-width: 575.98px) {
  .payment-methods {
    grid-template-columns: 1fr;
  }
  
  .payment-card-label {
    padding: 0.75rem;
  }
  
  .payment-icon {
    font-size: 1.5rem;
  }
  
  .delivery-card-label {
    padding: 0.75rem;
  }
  
  .delivery-icon {
    font-size: 1.25rem;
    margin-right: 0.75rem;
  }
}

/* ========================================
   СТИЛИ ДЛЯ НОВОГО ДИЗАЙНА КАК НА ИЗОБРАЖЕНИИ
   ======================================== */

/* Стили для поля комментария */
.comment-textarea {
  border-radius: 8px;
  border: 2px solid #e9ecef;
  padding: 1rem;
  font-size: 1rem;
  resize: vertical;
  min-height: 100px;
}

.comment-textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Стили для блока итогов в красной рамке */
.order-summary-card {
  background-color: #fff;
  border: 3px solid #dc3545;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 4px 12px rgba(220,53,69,0.1);
}

.summary-header {
  margin-bottom: 1rem;
}

.delivery-info {
  color: #6c757d;
  font-size: 0.9rem;
  text-align: left;
}

.summary-total-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.total-label {
  font-weight: 600;
  color: #495057;
  font-size: 1.1rem;
}

.total-amount {
  font-weight: bold;
  color: #dc3545;
  font-size: 1.5rem;
  font-family: 'Courier New', monospace;
}

.summary-actions {
  text-align: center;
}

.submit-order-btn {
  background-color: #fff;
  color: #dc3545;
  border: 2px solid #dc3545;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  width: 100%;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.submit-order-btn:hover {
  background-color: #dc3545;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220,53,69,0.3);
}

.policy-checkbox {
  text-align: left;
  font-size: 0.9rem;
  color: #6c757d;
}

.policy-checkbox input[type="checkbox"] {
  margin-right: 0.5rem;
}

.policy-checkbox .check {
  color: #007bff;
  text-decoration: none;
}

.policy-checkbox .check:hover {
  text-decoration: underline;
}

.terms-link {
  margin-top: 0.5rem;
  display: block;
}

.terms-link .check {
  color: #007bff;
  text-decoration: underline;
}

.terms-link .check:hover {
  color: #0056b3;
}

/* Улучшенные стили для карточек оплаты */
.payment-card-label {
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  background-color: #fff;
  height: 100%;
  position: relative;
}

.payment-card input[type="radio"]:checked + .payment-card-label {
  border-color: #28a745;
  background-color: #d4edda;
  box-shadow: 0 4px 12px rgba(40,167,69,0.2);
}

.payment-card input[type="radio"]:checked + .payment-card-label::before {
  content: "✓";
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: #28a745;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
}

.payment-card input[type="radio"]:not(:checked) + .payment-card-label::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 24px;
  height: 24px;
  border: 2px solid #6c757d;
  border-radius: 50%;
}

.payment-icon {
  font-size: 2.5rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
  margin-top: 1rem;
}

.payment-card input[type="radio"]:checked + .payment-card-label .payment-icon {
  color: #28a745;
}

.payment-text {
  font-weight: 600;
  color: #495057;
  font-size: 1rem;
}

.payment-card input[type="radio"]:checked + .payment-card-label .payment-text {
  color: #155724;
}

/* Адаптивность для нового дизайна */
@media (max-width: 575.98px) {
  .order-summary-card {
    padding: 1rem;
    margin-top: 1rem;
  }
  
  .summary-total-section {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .total-amount {
    font-size: 1.3rem;
  }
  
  .submit-order-btn {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
  
  .comment-textarea {
    min-height: 80px;
  }
}

/* ========================================
   ДИЗАЙН ТОЧНО КАК НА ИЗОБРАЖЕНИИ
   ======================================== */

/* Сброс всех стилей для правой колонки */
.order-form-section {
  position: static !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.order-form-section * {
  box-sizing: border-box;
}

/* Заголовок */
.order-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: left;
  padding: 0;
}

/* Поля формы с иконками */
.form-field {
  margin-bottom: 1rem;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 10px;
  color: #999;
  font-size: 0.9rem;
  z-index: 2;
}

.input-with-icon .form-control {
  padding-left: 35px;
  border: 1px solid #ddd;
  border-radius: 4px;
  height: 40px;
  font-size: 0.9rem;
  background: #fff;
  width: 100%;
}

.input-with-icon .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
  outline: none;
}

/* Заголовки секций */
.section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 1.5rem 0 0.8rem 0;
}

/* Методы доставки */
.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.delivery-option {
  position: relative;
}

.delivery-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.delivery-option-label {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.delivery-option-label:hover {
  border-color: #007bff;
  background: #f8f9fa;
}

.delivery-option input[type="radio"]:checked + .delivery-option-label {
  border-color: #dc3545;
  background: #fff5f5;
}

.delivery-icon {
  margin-right: 8px;
  color: #666;
  font-size: 1rem;
}

.delivery-option input[type="radio"]:checked + .delivery-option-label .delivery-icon {
  color: #dc3545;
}

.delivery-text {
  font-weight: 500;
  color: #333;
}

.delivery-option input[type="radio"]:checked + .delivery-option-label .delivery-text {
  color: #dc3545;
}

/* Поле адреса */
.address-field {
  margin-bottom: 1rem;
}

.address-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.address-input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
  outline: none;
}

.address-example {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #666;
}

.example-text {
  font-style: italic;
}

.terms-link {
  color: #007bff;
  text-decoration: none;
}

.terms-link:hover {
  text-decoration: underline;
}

/* Методы оплаты */
.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.payment-option {
  position: relative;
}

.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option-label {
  display: block;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  background: #fff;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  min-height: 100px;
}

.payment-option-label:hover {
  border-color: #007bff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.payment-option-label.selected {
  border-color: #28a745;
  background: #d4edda;
}

.payment-option-label::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 16px;
  height: 16px;
  border: 2px solid #999;
  border-radius: 50%;
  background: #fff;
}

.payment-option-label.selected::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  background: #28a745;
  color: white;
  border-color: #28a745;
  font-weight: bold;
  font-size: 0.7rem;
}

.payment-icon {
  font-size: 2rem;
  color: #666;
  margin: 15px 0 8px 0;
}

.payment-option-label.selected .payment-icon {
  color: #28a745;
}

.payment-text {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

.payment-option-label.selected .payment-text {
  color: #155724;
}

/* Поле комментария */
.comment-field {
  margin-bottom: 1.5rem;
}

.comment-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.comment-textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
  outline: none;
}

/* Блок итогов в красной рамке */
.order-summary {
  background: #fff;
  border: 3px solid #dc3545;
  border-radius: 6px;
  padding: 15px;
  margin-top: 1.5rem;
}

.summary-info {
  margin-bottom: 10px;
}

.delivery-note {
  color: #666;
  font-size: 0.8rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 4px;
}

.total-label {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.total-amount {
  font-weight: bold;
  color: #dc3545;
  font-size: 1.3rem;
  font-family: 'Courier New', monospace;
}

.submit-btn {
  width: 100%;
  background: #fff;
  color: #dc3545;
  border: 2px solid #dc3545;
  border-radius: 4px;
  padding: 10px 15px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 10px;
}

.submit-btn:hover {
  background: #dc3545;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(220,53,69,0.3);
}

.policy-section {
  text-align: left;
  font-size: 0.8rem;
  color: #666;
}

.policy-checkbox {
  margin-right: 6px;
}

.policy-text {
  color: #666;
}

.policy-link {
  color: #007bff;
  text-decoration: none;
}

.policy-link:hover {
  text-decoration: underline;
}

.policy-section .terms-link {
  color: #007bff;
  text-decoration: underline;
  font-size: 0.8rem;
}

.policy-section .terms-link:hover {
  color: #0056b3;
}

/* Адаптивность */
@media (max-width: 768px) {
  .payment-options {
    grid-template-columns: 1fr;
  }
  
  .order-title {
    font-size: 1.3rem;
  }
  
  .summary-total {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .total-amount {
    font-size: 1.2rem;
  }
}

/* Catalog product cards */
.catalog-list > .row.g-40 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.catalog-list .catalog-product-col {
  display: flex;
  margin-bottom: 16px;
}

.catalog-list .catalog-product-card.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: 100%;
  padding: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7ebf1;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(26, 35, 48, 0.06);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.catalog-list .catalog-product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #efa71d 0%, #e84b37 100%);
  opacity: 0;
  transition: opacity .2s ease;
}

.catalog-list .catalog-product-card:hover {
  transform: translateY(-3px);
  border-color: #f1c15d;
  box-shadow: 0 16px 38px rgba(26, 35, 48, 0.12);
}

.catalog-list .catalog-product-card:hover::before {
  opacity: 1;
}

.catalog-list .catalog-product-card .card-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 188px;
  margin: 0 0 14px;
  padding: 12px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #eff2f6;
  border-radius: 8px;
}

.catalog-list .catalog-product-card .card-thumb a {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.catalog-list .catalog-product-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .2s ease;
}

.catalog-list .catalog-product-card:hover .card-thumb img {
  transform: scale(1.035);
}

.catalog-list .catalog-product-card .card-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.catalog-list .catalog-product-card .card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.catalog-list .catalog-product-card .card-body > .card-price {
  min-height: 31px;
}

.catalog-list .catalog-product-card .card-price {
  margin: 0;
  color: #1f2933;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

.catalog-list .catalog-product-card .card-price span {
  margin-left: 3px;
  color: #8a929c !important;
  font-weight: 500;
}

.catalog-list .catalog-product-card .link_reset-decor {
  color: inherit;
  text-decoration: none;
}

.catalog-list .catalog-product-card .link_reset-decor:hover .card-text {
  color: #d94731;
}

.catalog-list .catalog-product-card .card-text {
  display: -webkit-box;
  height: auto;
  min-height: 58px;
  margin: 0;
  overflow: hidden;
  color: #26313d;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.catalog-list .catalog-product-card .card-availability {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-height: 54px;
  margin: 12px 0 13px;
  color: #66717d;
  font-size: .86rem;
  line-height: 1.25;
}

.catalog-list .catalog-product-card .card-availability .available,
.catalog-list .catalog-product-card .card-availability .unavailable {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.catalog-list .catalog-product-card .card-availability .available:not([data-toggle]) {
  color: #23823b;
  font-weight: 600;
}

.catalog-list .catalog-product-card .card-availability .available[data-toggle="modal"] {
  padding: 5px 8px;
  color: #a45c00;
  background: #fff7e4;
  border: 1px solid #ffe1a3;
  border-radius: 6px;
  font-weight: 600;
}

.catalog-list .catalog-product-card .card-availability .unavailable {
  color: #c33d2f;
  font-weight: 600;
}

.catalog-list .catalog-product-card .card-footer1 {
  width: auto;
  margin: auto -14px -14px;
  padding: 12px 14px;
  background: #f7f9fb;
  border-top: 1px solid #edf0f4;
}

.catalog-list .catalog-product-card .card-footer1 > .d-flex {
  gap: 10px;
}

.catalog-list .catalog-product-card .quant.quantity-selector {
  width: 112px;
  height: 38px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 999px;
  flex-shrink: 0;
}

.catalog-list .catalog-product-card .quant button,
.catalog-list .catalog-product-card .quant input {
  height: 38px;
}

.catalog-list .catalog-product-card .quant button {
  width: 34px;
}

.catalog-list .catalog-product-card .quant input {
  width: 44px;
  color: #202833;
  background: #fff;
  border-radius: 0;
}

.catalog-list .catalog-product-card .card-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-color: #efa71d !important;
  box-shadow: 0 6px 16px rgba(239, 167, 29, 0.22);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.catalog-list .catalog-product-card .card-btn:hover {
  transform: translateY(-1px);
  background: #ffc247 !important;
  box-shadow: 0 8px 18px rgba(239, 167, 29, 0.32);
}

@media (max-width: 767.98px) {
  .catalog-list .catalog-product-card.card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .catalog-list .catalog-product-card .card-thumb {
    width: 112px;
    min-width: 0;
    height: 112px;
    margin: 0;
    padding: 8px;
  }

  .catalog-list .catalog-product-card .card-content {
    min-width: 0;
  }

  .catalog-list .catalog-product-card .card-body {
    gap: 6px;
  }

  .catalog-list .catalog-product-card .card-price {
    font-size: 1.1rem;
  }

  .catalog-list .catalog-product-card .card-text {
    min-height: 42px;
    font-size: .92rem;
    line-height: 1.28;
    -webkit-line-clamp: 2;
  }

  .catalog-list .catalog-product-card .card-availability {
    min-height: 0;
    margin: 8px 0 10px;
    font-size: .78rem;
  }

  .catalog-list .catalog-product-card .card-footer1 {
    margin: auto 0 0;
    padding: 0;
    background: transparent;
    border-top: 0;
  }

  .catalog-list .catalog-product-card .quant.quantity-selector {
    width: 102px;
    height: 34px;
  }

  .catalog-list .catalog-product-card .quant button,
  .catalog-list .catalog-product-card .quant input {
    height: 34px;
  }

  .catalog-list .catalog-product-card .quant button {
    width: 30px;
  }

  .catalog-list .catalog-product-card .quant input {
    width: 42px;
  }

  .catalog-list .catalog-product-card .card-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
}

@media (max-width: 420px) {
  .catalog-list .catalog-product-card.card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
  }

  .catalog-list .catalog-product-card .card-thumb {
    width: 96px;
    height: 96px;
  }

  .catalog-list .catalog-product-card .card-footer1 > .d-flex {
    gap: 8px;
  }
}

/* Home product cards */
.slider-4 .home-product-card.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: 390px;
  padding: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7ebf1;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(26, 35, 48, 0.06);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.slider-4 .home-product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #efa71d 0%, #e84b37 100%);
  opacity: 0;
  transition: opacity .2s ease;
}

.slider-4 .home-product-card:hover {
  transform: translateY(-3px);
  border-color: #f1c15d;
  box-shadow: 0 16px 38px rgba(26, 35, 48, 0.12);
}

.slider-4 .home-product-card:hover::before {
  opacity: 1;
}

.slider-4 .home-product-card .card-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 188px;
  margin: 0 0 14px;
  padding: 12px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%) !important;
  border: 1px solid #eff2f6 !important;
  border-radius: 8px;
}

.slider-4 .home-product-card .card-thumb a {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.slider-4 .home-product-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .2s ease;
}

.slider-4 .home-product-card:hover .card-thumb img {
  transform: scale(1.035);
}

.slider-4 .home-product-card .card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 0;
}

.slider-4 .home-product-card .card-text {
  display: -webkit-box;
  height: auto;
  min-height: 62px;
  margin: 0;
  overflow: hidden;
  color: #26313d;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.slider-4 .home-product-card .card-text a {
  color: inherit !important;
  text-decoration: none !important;
}

.slider-4 .home-product-card .card-text:hover,
.slider-4 .home-product-card .card-text a:hover {
  color: #d94731 !important;
}

.slider-4 .home-product-card .card-footer {
  gap: 12px;
  width: auto;
  margin: auto -14px -14px;
  padding: 12px 14px !important;
  background: #f7f9fb !important;
  border-top: 1px solid #edf0f4 !important;
}

.slider-4 .home-product-card .card-price {
  min-width: 0;
  margin: 0;
  color: #1f2933;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

.slider-4 .home-product-card .card-price strong {
  display: block;
  overflow: hidden;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slider-4 .home-product-card .card-price span {
  margin-left: 3px;
  color: #8a929c !important;
  font-weight: 500;
}

.slider-4 .home-product-card .card-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  background: #fff;
  border-color: #efa71d !important;
  box-shadow: 0 6px 16px rgba(239, 167, 29, 0.22);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.slider-4 .home-product-card .card-btn:hover {
  transform: translateY(-1px);
  background: #ffc247 !important;
  box-shadow: 0 8px 18px rgba(239, 167, 29, 0.32);
}

.slider-4 .home-product-card .card-btn .icon {
  width: 1.3125rem;
  height: 1.3125rem;
}

@media (max-width: 767.98px) {
  .slider-4 .home-product-card.card {
    min-height: 350px;
    padding: 12px;
  }

  .slider-4 .home-product-card .card-thumb {
    height: 154px;
    margin-bottom: 12px;
    padding: 10px;
  }

  .slider-4 .home-product-card .card-text {
    min-height: 50px;
    font-size: .92rem;
    line-height: 1.28;
    -webkit-line-clamp: 3;
  }

  .slider-4 .home-product-card .card-footer {
    margin: auto -12px -12px;
    padding: 10px 12px !important;
  }

  .slider-4 .home-product-card .card-price {
    font-size: 1.08rem;
  }

  .slider-4 .home-product-card .card-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
}

/* Similar product cards */
.catalog-list .similar-product-col {
  display: flex;
  margin-bottom: 24px;
}

.catalog-list .similar-product-card.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: 100%;
  padding: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7ebf1;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(26, 35, 48, 0.06);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.catalog-list .similar-product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #efa71d 0%, #e84b37 100%);
  opacity: 0;
  transition: opacity .2s ease;
}

.catalog-list .similar-product-card:hover {
  transform: translateY(-3px);
  border-color: #f1c15d;
  box-shadow: 0 16px 38px rgba(26, 35, 48, 0.12);
}

.catalog-list .similar-product-card:hover::before {
  opacity: 1;
}

.catalog-list .similar-product-card > .row {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: 100%;
  margin: 0;
}

.catalog-list .similar-product-card > .row > [class*="col-"] {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.catalog-list .similar-product-card > .row > [class*="col-"]:nth-child(2) {
  flex: 1 1 auto;
}

.catalog-list .similar-product-card .card-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 188px;
  margin: 0 0 14px;
  padding: 12px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%) !important;
  border: 1px solid #eff2f6 !important;
  border-radius: 8px;
}

.catalog-list .similar-product-card .card-thumb a {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.catalog-list .similar-product-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .2s ease;
}

.catalog-list .similar-product-card:hover .card-thumb img {
  transform: scale(1.035);
}

.catalog-list .similar-product-card .card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 0;
}

.catalog-list .similar-product-card .card-text {
  display: -webkit-box;
  height: auto;
  min-height: 62px;
  margin: 0;
  overflow: hidden;
  color: #26313d;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.catalog-list .similar-product-card .card-text a {
  color: inherit !important;
  text-decoration: none !important;
}

.catalog-list .similar-product-card .card-text:hover,
.catalog-list .similar-product-card .card-text a:hover {
  color: #d94731 !important;
}

.catalog-list .similar-product-card .card-footer {
  gap: 12px;
  width: auto;
  margin: auto -14px -14px;
  padding: 12px 14px !important;
  background: #f7f9fb !important;
  border-top: 1px solid #edf0f4 !important;
}

.catalog-list .similar-product-card .card-price {
  min-width: 0;
  margin: 0;
  color: #1f2933;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

.catalog-list .similar-product-card .card-price .card-price {
  font-size: inherit;
}

.catalog-list .similar-product-card .card-price strong {
  display: block;
  overflow: hidden;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-list .similar-product-card .card-price span {
  margin-left: 3px;
  color: #8a929c !important;
  font-weight: 500;
}

.catalog-list .similar-product-card .card-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  background: #fff;
  border-color: #efa71d !important;
  box-shadow: 0 6px 16px rgba(239, 167, 29, 0.22);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.catalog-list .similar-product-card .card-btn:hover {
  transform: translateY(-1px);
  background: #ffc247 !important;
  box-shadow: 0 8px 18px rgba(239, 167, 29, 0.32);
}

.catalog-list .similar-product-card .card-btn .icon {
  width: 1.3125rem;
  height: 1.3125rem;
}

@media (max-width: 767.98px) {
  .catalog-list .similar-product-card.card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .catalog-list .similar-product-card > .row {
    display: contents;
  }

  .catalog-list .similar-product-card .card-thumb {
    width: 112px;
    min-width: 0;
    height: 112px;
    margin: 0;
    padding: 8px;
  }

  .catalog-list .similar-product-card .card-body {
    min-width: 0;
    padding: 0;
  }

  .catalog-list .similar-product-card .card-text {
    min-height: 42px;
    font-size: .92rem;
    line-height: 1.28;
    -webkit-line-clamp: 2;
  }

  .catalog-list .similar-product-card .card-footer {
    margin: auto 0 0;
    padding: 0 !important;
    background: transparent !important;
    border-top: 0 !important;
  }

  .catalog-list .similar-product-card .card-price {
    font-size: 1.08rem;
  }

  .catalog-list .similar-product-card .card-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
}

@media (max-width: 420px) {
  .catalog-list .similar-product-card.card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
  }

  .catalog-list .similar-product-card .card-thumb {
    width: 96px;
    height: 96px;
  }
}
/* Similar product cards mobile layout fix */
@media (max-width: 767.98px) {
  .catalog-list .similar-product-card.card {
    display: block;
  }

  .catalog-list .similar-product-card > .row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    height: 100%;
    margin: 0;
  }

  .catalog-list .similar-product-card > .row > [class*="col-"]:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .catalog-list .similar-product-card > .row > [class*="col-"]:nth-child(2),
  .catalog-list .similar-product-card > .row > [class*="col-"]:nth-child(3) {
    grid-column: 2;
  }

  .catalog-list .similar-product-card .card-footer {
    align-self: end;
  }
}

@media (max-width: 420px) {
  .catalog-list .similar-product-card > .row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
  }
}

/* Similar product slider controls */
.similar-products-list {
  position: relative;
}

.similar-products-slider.slider-4 {
  margin-right: 0;
  margin-left: 0;
  padding-right: 48px;
  padding-left: 48px;
}

.similar-products-slider .slick-track {
  display: flex;
}

.similar-products-slider .slick-slide {
  display: flex;
  height: auto;
}

.similar-products-slider .slick-slide > div,
.similar-products-slider .similar-product-col {
  display: flex;
  width: 100%;
  height: 100%;
}

.similar-products-slider .slick-arrow {
  top: 50%;
  width: 42px;
  height: 42px;
  color: #efa71d;
  background: #fff;
  border-color: #efa71d;

}

.similar-products-slider .slick-prev {
  left: 0;
}

.similar-products-slider .slick-next {
  right: 0;
}

.similar-products-slider .slick-arrow:hover {
  color: #1f2933;
  background: #ffc247;
  border-color: #ffc247;
}

.similar-products-slider .slick-arrow.slick-disabled {
  opacity: .35;
  cursor: default;
}

@media (max-width: 767.98px) {
  .similar-products-slider.slider-4 {
    padding-right: 42px;
    padding-left: 42px;
  }

  .similar-products-slider .slick-arrow {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 420px) {
  .similar-products-slider.slider-4 {
    padding-right: 0;
    padding-left: 0;
  }

  .similar-products-slider .slick-arrow {
    top: auto;
    bottom: -44px;
  }

  .similar-products-slider .slick-prev {
    left: calc(50% - 44px);
  }

  .similar-products-slider .slick-next {
    right: calc(50% - 44px);
  }
}

/* Product feed slider controls */
.slider-4.action-slider {
  position: relative;
  margin-right: 0;
  margin-left: 0;
  padding-right: 48px;
  padding-left: 48px;
}

.slider-4.action-slider .slick-track {
  display: flex;
}

.slider-4.action-slider .slick-slide {
  display: flex;
  height: auto;
}

.slider-4.action-slider .slick-slide > div {
  display: flex;
  width: 100%;
  height: 100%;
}

.slider-4.action-slider .slick-arrow {
  top: 50%;
  width: 42px;
  height: 42px;
  color: #efa71d;
  background: #fff;
  border-color: #efa71d;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.slider-4.action-slider .slick-prev {
  left: 0;
}

.slider-4.action-slider .slick-next {
  right: 0;
}

.slider-4.action-slider .slick-arrow:hover {
  color: #1f2933;
  background: #ffc247;
  border-color: #ffc247;
  box-shadow: 0 10px 24px rgba(239, 167, 29, .25);
  transform: translateY(-50%) scale(1.04);
}

.slider-4.action-slider .slick-arrow.slick-disabled {
  opacity: .35;
  cursor: default;
  box-shadow: none;
}

.slider-4.action-slider .slick-arrow.slick-disabled:hover {
  color: #efa71d;
  background: #fff;
  border-color: #efa71d;
  transform: translateY(-50%);
}

@media (max-width: 767.98px) {
  .slider-4.action-slider {
    padding-right: 42px;
    padding-left: 42px;
  }

  .slider-4.action-slider .slick-arrow {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 420px) {
  .slider-4.action-slider {
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 48px;
  }

  .slider-4.action-slider .slick-arrow {
    top: auto;
    bottom: 0;
    transform: none;
  }

  .slider-4.action-slider .slick-arrow:hover {
    transform: scale(1.04);
  }

  .slider-4.action-slider .slick-arrow.slick-disabled:hover {
    transform: none;
  }

  .slider-4.action-slider .slick-prev {
    left: calc(50% - 44px);
  }

  .slider-4.action-slider .slick-next {
    right: calc(50% - 44px);
  }
}

/* Sidebar hit product cards */
.sidebar-hit-title {
  margin-bottom: 1rem !important;
  color: #1f2933;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.sidebar-hit-products {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.sidebar-hit-products > [class*="col-"] {
  width: 100%;
}

.sidebar-hit-card.card {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  grid-template-areas:
    "thumb body"
    "thumb footer";
  gap: 8px 12px;
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7ebf1;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(26, 35, 48, .07);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sidebar-hit-card.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #efa71d 0%, #e84b37 100%);
  opacity: .9;
}

.sidebar-hit-card.card:hover {
  transform: translateY(-2px);
  border-color: #f1c15d;
  box-shadow: 0 12px 26px rgba(26, 35, 48, .12);
}

.sidebar-hit-card .card-thumb {
  grid-area: thumb;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  min-width: 86px;
  height: 86px;
  margin: 0;
  padding: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #eff2f6;
  border-radius: 8px;
}

.sidebar-hit-card .card-thumb a {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.sidebar-hit-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .2s ease;
}

.sidebar-hit-card:hover .card-thumb img {
  transform: scale(1.035);
}

.sidebar-hit-card .card-body {
  grid-area: body;
  min-width: 0;
  padding: 0;
}

.sidebar-hit-card .card-text {
  display: -webkit-box;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: #26313d;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sidebar-hit-card .card-footer {
  grid-area: footer;
  gap: 8px;
  min-width: 0;
  padding: 0 !important;
  background: transparent !important;
}

.sidebar-hit-card .card-price {
  min-width: 0;
  margin: 0;
  color: #1f2933;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

.sidebar-hit-card .card-price strong {
  display: block;
  overflow: hidden;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-overflow: ellipsis;
  white-space: normal;
}

.sidebar-hit-card .card-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  background: #fff;
  border-color: #efa71d !important;
  box-shadow: 0 5px 14px rgba(239, 167, 29, .2);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sidebar-hit-card .card-btn:hover {
  transform: translateY(-1px);
  background: #ffc247 !important;
  box-shadow: 0 7px 16px rgba(239, 167, 29, .3);
}

.sidebar-hit-card .card-btn .icon {
  width: 1.08rem;
  height: 1.08rem;
}

@media (max-width: 991.98px) {
  .sidebar-hit-card.card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .sidebar-hit-card .card-thumb {
    width: 96px;
    min-width: 96px;
    height: 96px;
  }
}

@media (max-width: 420px) {
  .sidebar-hit-card.card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 8px 10px;
  }

  .sidebar-hit-card .card-thumb {
    width: 82px;
    min-width: 82px;
    height: 82px;
  }
}

/* Sidebar widget product cards fallback */
.sidebar .widget > .card {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  grid-template-areas:
    "thumb body"
    "thumb footer";
  gap: 8px 12px;
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7ebf1;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(26, 35, 48, .07);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sidebar .widget > .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #efa71d 0%, #e84b37 100%);
  opacity: .9;
}

.sidebar .widget > .card:hover {
  transform: translateY(-2px);
  border-color: #f1c15d;
  box-shadow: 0 12px 26px rgba(26, 35, 48, .12);
}

.sidebar .widget > .card .card-thumb {
  grid-area: thumb;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  min-width: 86px;
  height: 86px;
  margin: 0;
  padding: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #eff2f6;
  border-radius: 8px;
}

.sidebar .widget > .card .card-thumb a {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.sidebar .widget > .card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .2s ease;
}

.sidebar .widget > .card:hover .card-thumb img {
  transform: scale(1.035);
}

.sidebar .widget > .card .card-body {
  grid-area: body;
  min-width: 0;
  padding: 0;
}

.sidebar .widget > .card .card-text {
  display: -webkit-box;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: #26313d;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sidebar .widget > .card .card-footer {
  grid-area: footer;
  gap: 8px;
  min-width: 0;
  padding: 0 !important;
  background: transparent !important;
}

.sidebar .widget > .card .card-price {
  min-width: 0;
  margin: 0;
  color: #1f2933;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

.sidebar .widget > .card .card-price strong {
  display: block;
  overflow: hidden;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-overflow: ellipsis;
  white-space: normal;
}

.sidebar .widget > .card .card-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  background: #fff;
  border-color: #efa71d !important;
  box-shadow: 0 5px 14px rgba(239, 167, 29, .2);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sidebar .widget > .card .card-btn:hover {
  transform: translateY(-1px);
  background: #ffc247 !important;
  box-shadow: 0 7px 16px rgba(239, 167, 29, .3);
}

.sidebar .widget > .card .card-btn .icon {
  width: 1.08rem;
  height: 1.08rem;
}

@media (max-width: 991.98px) {
  .sidebar .widget > .card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .sidebar .widget > .card .card-thumb {
    width: 96px;
    min-width: 96px;
    height: 96px;
  }
}

@media (max-width: 420px) {
  .sidebar .widget > .card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 8px 10px;
  }

  .sidebar .widget > .card .card-thumb {
    width: 82px;
    min-width: 82px;
    height: 82px;
  }
}

/* Product card title links */
.card-text a {
  color: inherit;
  text-decoration: none;
}

.card-text a:hover,
.card-text a:focus {
  color: #d94731;
  text-decoration: none;
}

/* Watched product slider */
.watched-products-list {
  position: relative;
}

.watched-products-slider .watched-product-col {
  display: flex;
  width: 100%;
  height: 100%;
}
/* Product detail purchase and side info */
.product-purchase-row {
  gap: 12px;
  flex-wrap: wrap;
}

.product-purchase-row .quant {
  flex: 0 0 auto;
}

.product-cart-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-cart-action:hover,
.product-cart-action:focus {
  transform: translateY(-1px);
  text-decoration: none;
}

.product-cart-action .icon {
  width: 1.18rem;
  height: 1.18rem;
  flex: 0 0 auto;
}

.product-cart-action-add {
  color: #1f2933;
  background: #ffb300;
  border: 2px solid #efa71d;
  box-shadow: 0 9px 18px rgba(239, 167, 29, .28);
}

.product-cart-action-add:hover,
.product-cart-action-add:focus {
  color: #1f2933;
  background: #ffc247;
  border-color: #d99000;
  box-shadow: 0 12px 22px rgba(239, 167, 29, .35);
}

.product-cart-action-ready {
  color: #fff;
  background: #2f6f4e;
  border: 2px solid #2f6f4e;
  box-shadow: 0 9px 18px rgba(47, 111, 78, .2);
}

.product-cart-action-ready:hover,
.product-cart-action-ready:focus {
  color: #fff;
  background: #285f43;
  border-color: #285f43;
  box-shadow: 0 12px 22px rgba(47, 111, 78, .28);
}

.product-side-info {
  position: sticky;
  top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-side-card {
  padding: 16px;
  background: #fff;
  border: 1px solid #e7ebf1;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(26, 35, 48, .07);
}

.product-side-card-main {
  border-top: 3px solid #efa71d;
}

.product-side-title {
  margin-bottom: 12px;
  color: #1f2933;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.product-side-specs {
  margin: 0;
}

.product-side-specs div {
  display: grid;
  grid-template-columns: minmax(78px, .85fr) minmax(0, 1.15fr);
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid #edf0f4;
}

.product-side-specs div:first-child {
  border-top: 0;
  padding-top: 0;
}

.product-side-specs div:last-child {
  padding-bottom: 0;
}

.product-side-specs dt,
.product-side-specs dd {
  margin: 0;
  min-width: 0;
  font-size: .86rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.product-side-specs dt {
  color: #758190;
  font-weight: 600;
}

.product-side-specs dd {
  color: #26313d;
  font-weight: 700;
  word-break: break-word;
}

.product-side-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-side-step {
  display: flex;
  gap: 10px;
  min-width: 0;
}

.product-side-step strong,
.product-side-step span {
  display: block;
  letter-spacing: 0;
}

.product-side-step strong {
  margin-bottom: 2px;
  color: #26313d;
  font-size: .9rem;
  line-height: 1.25;
}

.product-side-step span:not(.product-side-icon) {
  color: #667482;
  font-size: .82rem;
  line-height: 1.35;
}

.product-side-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  box-sizing: border-box;
  padding-top: 6px;
  color: #9a5a00;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  background: #fff4d7;
  border: 1px solid #f6d894;
  border-radius: 50%;
}

.product-side-help p {
  margin: 0 0 10px;
  color: #667482;
  font-size: .88rem;
  line-height: 1.4;
}

.product-side-phone {
  display: inline-flex;
  color: #d94731;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.product-side-phone:hover,
.product-side-phone:focus {
  color: #b93725;
  text-decoration: none;
}

.product-detail-feeds {
  margin-top: 12px;
}

@media (max-width: 991.98px) {
  .single.section > .container > .row > .col-sm-9,
  .single.section > .container > .row > .col-sm-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .product-side-info {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
  }
}

@media (max-width: 767.98px) {
  .product-side-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .product-purchase-row {
    align-items: stretch !important;
  }

  .product-cart-action {
    width: 100%;
    min-height: 46px;
  }

  .product-purchase-row .quant {
    margin-right: 0 !important;
  }

  .product-side-card {
    padding: 14px;
  }
}

/* Header catalog mega menu */
.navbar {
  height: auto;
  min-height: 4rem;
}

.navbar > .container > .row {
  min-height: 4rem;
}

.btn-catalog {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border: 0;
  background: transparent;
  text-align: left;
}

.btn-catalog[aria-expanded="true"] {
  color: var(--bs-warning);
}

.catalog-mega {
  position: relative;
  z-index: 1002;
  width: 100%;
}

.catalog-mega-menu {
  width: 100%;
  margin: 0 0 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7ebf1;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(26, 35, 48, .14);
}

.catalog-mega-menu__inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  height: clamp(360px, 62vh, 620px);
  min-height: 0;
}

.catalog-mega-menu__primary {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0;
  padding: 14px;
  overflow-y: auto;
  background: #f7f9fb;
  border-right: 1px solid #e7ebf1;
}

.catalog-mega-menu__primary-link {
  display: block;
  padding: 9px 10px;
  color: #26313d;
  border-radius: 6px;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-decoration: none;
}

.catalog-mega-menu__primary-link:hover,
.catalog-mega-menu__primary-link:focus,
.catalog-mega-menu__primary-link.is-active {
  color: #1f2933;
  background: #fff4d7;
  text-decoration: none;
}

.catalog-mega-menu__primary-link.is-active {
  box-shadow: inset 3px 0 0 #efa71d;
}

.catalog-mega-menu__secondary {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.catalog-mega-menu__panels {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 18px;
}

.catalog-mega-menu__panel[hidden] {
  display: none !important;
}

.catalog-mega-menu__panel {
  min-width: 0;
}

.catalog-mega-menu__panel-head {
  position: sticky;
  top: -18px;
  z-index: 1;
  margin: -18px -18px 14px;
  padding: 16px 18px 12px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #edf0f4;
  backdrop-filter: blur(6px);
}

.catalog-mega-menu__group-title {
  display: inline-flex;
  color: #1f2933;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-decoration: none;
}

.catalog-mega-menu__group-title:hover,
.catalog-mega-menu__group-title:focus {
  color: #d94731;
  text-decoration: none;
}

.catalog-mega-menu__children {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 9px;
}

.catalog-mega-menu__child {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 58px;
  padding: 7px;
  color: #26313d;
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.catalog-mega-menu__child:hover,
.catalog-mega-menu__child:focus {
  transform: translateY(-1px);
  color: #d94731;
  border-color: #f1c15d;
  box-shadow: 0 8px 18px rgba(26, 35, 48, .09);
  text-decoration: none;
}

.catalog-mega-menu__child-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 5px;
  background: #f8fafc;
  border: 1px solid #eff2f6;
  border-radius: 7px;
}

.catalog-mega-menu__child-image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.catalog-mega-menu__child-title {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.catalog-mega-menu__empty {
  display: flex;
  align-items: center;
  min-height: 120px;
  color: #667482;
  font-size: .95rem;
}

.catalog-mega-menu__empty a {
  color: #d94731;
  font-weight: 700;
  text-decoration: none;
}

.catalog-mega-menu__empty a:hover,
.catalog-mega-menu__empty a:focus {
  color: #b93725;
  text-decoration: none;
}

@media (max-width: 1199.98px) {
  .catalog-mega-menu__inner {
    grid-template-columns: 245px minmax(0, 1fr);
  }

  .catalog-mega-menu__children {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }
}

@media (max-width: 991.98px) {
  .catalog-mega-menu {
    margin-top: 10px;
  }

  .catalog-mega-menu__inner {
    grid-template-columns: 1fr;
    height: 72vh;
  }

  .catalog-mega-menu__primary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 210px;
    border-right: 0;
    border-bottom: 1px solid #e7ebf1;
  }

  .catalog-mega-menu__panels {
    padding: 14px;
  }

  .catalog-mega-menu__panel-head {
    top: -14px;
    margin: -14px -14px 12px;
    padding: 14px 14px 10px;
  }
}

@media (max-width: 575.98px) {
  .catalog-mega-menu__primary,
  .catalog-mega-menu__children {
    grid-template-columns: 1fr;
  }

  .catalog-mega-menu__child {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .catalog-mega-menu__child-image {
    width: 40px;
    height: 40px;
  }
}

/* Catalog page and category subcategory cards */
.catalog-category-list {
  width: 100%;
}

.catalog-category-grid {
  --bs-gutter-x: .75rem;
  --bs-gutter-y: .75rem;
  align-items: stretch;
  margin-bottom: 1.25rem;
}

.catalog-category-col {
  display: flex;
}

.catalog-section-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 122px;
  padding: 11px;
  color: #26313d;
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(26, 35, 48, .05);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.catalog-section-card:hover,
.catalog-section-card:focus {
  transform: translateY(-1px);
  color: #d94731;
  border-color: #f1c15d;
  box-shadow: 0 10px 22px rgba(26, 35, 48, .1);
  text-decoration: none;
}

.catalog-section-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  padding: 8px;
  background: #f8fafc;
  border: 1px solid #eff2f6;
  border-radius: 7px;
}

.catalog-section-card__image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.catalog-section-card__title {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 575.98px) {
  .catalog-section-card {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 96px;
    gap: 12px;
  }

  .catalog-section-card__image {
    width: 76px;
    height: 76px;
  }

  .catalog-section-card__title {
    font-size: .9rem;
  }
}
/* Search results page */
.search-results {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.search-results__title {
  margin: 0;
  color: #1f2933;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.search-results__form {
  display: flex;
  align-items: stretch;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 6px;
}

.search-results__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
}

.search-results__submit {
  flex: 0 0 auto;
  min-height: 46px;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.search-results__section {
  width: 100%;
}

.search-results__section + .search-results__section {
  margin-top: 8px;
}

.search-results__section-head {
  margin-bottom: 12px;
}

.search-results__section-title {
  margin: 0;
  color: #1f2933;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

.search-results .catalog-category-grid {
  margin-bottom: 0;
}

.search-results__products.catalog-list {
  overflow: visible;
}

@media (max-width: 575.98px) {
  .search-results__form {
    flex-direction: column;
  }

  .search-results__submit {
    width: 100%;
  }
}