
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-VariableFont_wdth,wght.ttf') format("truetype-variations");
  font-display: swap;
}

/* Основные переменные */
:root {
  --primary-bg: #FFF;
  --primary-text: #212529;
  --bs-secondary-color: #4B4B4B;
  --secondary-bg: #F4F4F4;
  --lightgray-bg: #F8F8F8;
  --bs-border-color: #EFEFEF;
  --border-text-color: #FCC000;
  --secondary-bg-link-color: #F4F4F4;
  --accent-text: #1e2426;
  --accent-button-text: #979797;
  --gray-bg-hover: #fdfdfd;
  --footer-bg: #E9E8E8;
  --secondary-button: #F7F7F7;
  --cart-text: #212529;
  --swiper-theme-color: #FCC000;
  --swiper-pagination-color: #FCC000;
  --swiper-navigation-color: #979797;
  --gradient-primary: linear-gradient(90deg, #FFEB01, #FCC000);
  --gradient-primary-hover: linear-gradient(90deg, #FCC000, #FFEB01);
  --gradient-blue: linear-gradient(90deg, #789CED, #3DC6D4);
  --gradient-blue-hover: linear-gradient(90deg, #3DC6D4, #789CED);
  --gradient-pink-hover: linear-gradient(90deg, #D02478, #C612BD);
  --gradient-pink: linear-gradient(90deg, #C612BD, #D02478);
  --bs-warning: #FBBA00;
  --bs-pink: #D02476;
  --bs-success: #94B600;
  --bs-success-rgb: 148, 182, 0;
  --bs-info: #4785CB;
  --bs-info-rgb: 71, 133, 203;
  --bs-danger: #FF004E;
  --bs-danger-rgb: 255, 0, 78;

  --container-max-width: 1200px;
  --border-radius: 10px;
}

/* Основные стили body */
body {
  background-color: var(--primary-bg);
  color: var(--primary-text);
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.container-fluid {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.row > * {
  padding-right: calc(var(--bs-gutter-x) * 0.2);
  padding-left: calc(var(--bs-gutter-x) * 0.2);
}

/* Переключатель темы */
#theme-toggle {
  border: none;
  background: none;
  color: inherit;
  transition: all 0.3s ease;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#theme-toggle:focus {
  outline: none;
}

.form-check-input:checked {
  background-color: var(--bs-warning);
  border-color: var(--bs-warning);
}

.form-control {
  font-size: 0.875rem;
}

input[type="radio"][name="cabinetMenu"] {
  border-radius: 0.25em !important;
}

input[type="radio"][name="cabinetMenu"]:checked::after {
  border-radius: 0.125em !important;
}

.form-check-input[type="radio"][name="cabinetMenu"] {
  background-image: none !important;
}

input[type="radio"][name="cabinetMenu"]:focus {
  box-shadow: none !important;
  outline: none !important;
}

input[type="radio"][name="cabinetMenu"]:checked {
  box-shadow: none !important;
  outline: none !important;
}

.text-bg-primary {
  color: var(--primary-text) !important;
  background-color: var(--primary-bg) !important;
}

.text-secondary {
  color: var(--bs-secondary-color) !important;
}

.cart-text {
  color: var(--cart-text) !important;
}


h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
  color: var(--bs-secondary-color);
}

@media (min-width: 1200px) {
  h3, .h3 {
    font-size: 1.875rem;
  }
}

.h6 {
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  margin: 0;
}

.h7 {
  font-size: 14px;
  font-weight: 700;
  padding: 0;
  margin: 0;
}

.fs-10 {
  font-size: 0.625rem !important;
}

.fs-11 {
  font-size: 0.6875rem !important;
}

.fs-12 {
  font-size: 0.75rem !important;
}

.fs-13 {
  font-size: 0.8125rem !important;
}

.fs-14 {
  font-size: 0.875rem !important;
}
.fs-14r {
  font-size: 0.875rem !important;
  font-weight: 400;
}

.fs-15 {
  font-size: 0.9375rem !important;
}

.fs-16 {
  font-size: 1rem !important;
}

.fs-18 {
  font-size: 1.125rem !important;
}

.fs-20 {
  font-size: 1.25rem !important;
}

.fs-30 {
  font-size: 1.875rem !important;
}

.fs-48 {
  font-size: 3rem !important;
}

del {
  color: var(--bs-danger);
}

.ms-mb2 {
  margin-left: 0.4rem !important;
}

.me-mb1 {
  margin-right: 1.1rem !important;
}

.ms-n2 {
  margin-left: -3.1rem;
}

.w-9px {
  width: 899px !important;
}

.w-6px {
  width: 612px !important;
}

.wh-70 {
  width: 70px !important;
  height: 70px !important;
}

.theme-icon {
  transition: transform 0.3s ease;
}

.theme-icon.rotating {
  transform: rotate(360deg);
}

.promo-icon-box {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
}

.promo-icon {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.icon-14 {
  width: 1rem !important;
}

.icon-16 {
  width: 1.14rem !important;
}

.icon-17 {
  width: 1.21rem !important;
}

.icon-20 {
  width: 1.43rem !important;
}

.icon-24 {
  width: 1.71rem !important;
}


.icon-location {
  display: inline-flex;
  align-items: center;
}
.icon-location:before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.45em;
  vertical-align: middle;
  background: no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path d="M12.166 8.94c-.524 1.062-1.234 2.12-1.96 3.07A32 32 0 0 1 8 14.58a32 32 0 0 1-2.206-2.57c-.726-.95-1.436-2.008-1.96-3.07C3.304 7.867 3 6.862 3 6a5 5 0 0 1 10 0c0 .862-.305 1.867-.834 2.94M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10"/><path d="M8 8a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6"/></svg>');
}

.icon-chart {
  display: inline-flex;
  align-items: center;
}
.icon-chart:before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.45em;
  vertical-align: middle;
  background: no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-bar-chart-line" viewBox="0 0 16 16"><path d="M11 2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12h.5a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1H1v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h1V7a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v7h1zm1 12h2V2h-2zm-3 0V7H7v7zm-5 0v-3H2v3z"/></svg>');
}

.icon-percent {
  display: inline-flex;
  align-items: center;
}
.icon-percent:before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.45em;
  vertical-align: middle;
  background: no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-percent" viewBox="0 0 16 16">  <path d="M13.442 2.558a.625.625 0 0 1 0 .884l-10 10a.625.625 0 1 1-.884-.884l10-10a.625.625 0 0 1 .884 0M4.5 6a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m0 1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5m7 6a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m0 1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5"/></svg>');
}

.icon-repeat {
  display: inline-flex;
  align-items: center;
}
.icon-repeat:before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.45em;
  vertical-align: middle;
  background: no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-repeat" viewBox="0 0 16 16"><path d="M11 5.466V4H5a4 4 0 0 0-3.584 5.777.5.5 0 1 1-.896.446A5 5 0 0 1 5 3h6V1.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384l-2.36 1.966a.25.25 0 0 1-.41-.192m3.81.086a.5.5 0 0 1 .67.225A5 5 0 0 1 11 13H5v1.466a.25.25 0 0 1-.41.192l-2.36-1.966a.25.25 0 0 1 0-.384l2.36-1.966a.25.25 0 0 1 .41.192V12h6a4 4 0 0 0 3.585-5.777.5.5 0 0 1 .225-.67Z"/></svg>');
}

.icon-check-gz {
  display: inline-flex;
  align-items: center;
}
.icon-check-gz:before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.45em;
  vertical-align: middle;
  background: no-repeat center/contain url('../icon/producton.svg');
}

.icon-cart-x-gz {
  display: inline-flex;
  align-items: center;
}
.icon-cart-x-gz:before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.45em;
  vertical-align: middle;
  background: no-repeat center/contain url('../icon/productoff.svg');
}

.icon-check {
  display: inline-flex;
  align-items: center;
}
.icon-check:before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.45em;
  background-color: currentColor;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-check-circle\" viewBox=\"0 0 16 16\"><path d=\"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16\"/><path d=\"m10.97 4.97-.02.022-3.473 4.425-2.093-2.094a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05\"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-check-circle\" viewBox=\"0 0 16 16\"><path d=\"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16\"/><path d=\"m10.97 4.97-.02.022-3.473 4.425-2.093-2.094a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05\"/></svg>');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon-check-filled {
  display: inline-flex;
  align-items: center;
}
.icon-check-filled:before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.45em;
  background-color: currentColor;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-check-circle-fill" viewBox="0 0 16 16"><path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-check-circle-fill" viewBox="0 0 16 16"><path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/></svg>');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon-cart-x {
  display: inline-flex;
  align-items: center;
}
.icon-cart-x:before {
  content: "";
 display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.45em;
  background-color: currentColor;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-cart-x\" viewBox=\"0 0 16 16\"><path d=\"M7.354 5.646a.5.5 0 1 0-.708.708L7.793 7.5 6.646 8.646a.5.5 0 1 0 .708.708L8.5 8.207l1.146 1.147a.5.5 0 0 0 .708-.708L9.207 7.5l1.147-1.146a.5.5 0 0 0-.708-.708L8.5 6.793z\"/><path d=\"M.5 1a.5.5 0 0 0 0 1h1.11l.401 1.607 1.498 7.985A.5.5 0 0 0 4 12h1a2 2 0 1 0 0 4 2 2 0 0 0 0-4h7a2 2 0 1 0 0 4 2 2 0 0 0 0-4h1a.5.5 0 0 0 .491-.408l1.5-8A.5.5 0 0 0 14.5 3H2.89l-.405-1.621A.5.5 0 0 0 2 1zm3.915 10L3.102 4h10.796l-1.313 7zM6 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0m7 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0\"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-cart-x\" viewBox=\"0 0 16 16\"><path d=\"M7.354 5.646a.5.5 0 1 0-.708.708L7.793 7.5 6.646 8.646a.5.5 0 1 0 .708.708L8.5 8.207l1.146 1.147a.5.5 0 0 0 .708-.708L9.207 7.5l1.147-1.146a.5.5 0 0 0-.708-.708L8.5 6.793z\"/><path d=\"M.5 1a.5.5 0 0 0 0 1h1.11l.401 1.607 1.498 7.985A.5.5 0 0 0 4 12h1a2 2 0 1 0 0 4 2 2 0 0 0 0-4h7a2 2 0 1 0 0 4 2 2 0 0 0 0-4h1a.5.5 0 0 0 .491-.408l1.5-8A.5.5 0 0 0 14.5 3H2.89l-.405-1.621A.5.5 0 0 0 2 1zm3.915 10L3.102 4h10.796l-1.313 7zM6 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0m7 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0\"/></svg>');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon-cart-x-filled {
  display: inline-flex;
  align-items: center;
}
.icon-cart-x-filled:before {
  content: "";
 display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.45em;
  background-color: currentColor;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-cart-x-fill" viewBox="0 0 16 16"><path d="M.5 1a.5.5 0 0 0 0 1h1.11l.401 1.607 1.498 7.985A.5.5 0 0 0 4 12h1a2 2 0 1 0 0 4 2 2 0 0 0 0-4h7a2 2 0 1 0 0 4 2 2 0 0 0 0-4h1a.5.5 0 0 0 .491-.408l1.5-8A.5.5 0 0 0 14.5 3H2.89l-.405-1.621A.5.5 0 0 0 2 1zM6 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0m7 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0M7.354 5.646 8.5 6.793l1.146-1.147a.5.5 0 0 1 .708.708L9.207 7.5l1.147 1.146a.5.5 0 0 1-.708.708L8.5 8.207 7.354 9.354a.5.5 0 1 1-.708-.708L7.793 7.5 6.646 6.354a.5.5 0 1 1 .708-.708"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-cart-x-fill" viewBox="0 0 16 16"><path d="M.5 1a.5.5 0 0 0 0 1h1.11l.401 1.607 1.498 7.985A.5.5 0 0 0 4 12h1a2 2 0 1 0 0 4 2 2 0 0 0 0-4h7a2 2 0 1 0 0 4 2 2 0 0 0 0-4h1a.5.5 0 0 0 .491-.408l1.5-8A.5.5 0 0 0 14.5 3H2.89l-.405-1.621A.5.5 0 0 0 2 1zM6 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0m7 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0M7.354 5.646 8.5 6.793l1.146-1.147a.5.5 0 0 1 .708.708L9.207 7.5l1.147 1.146a.5.5 0 0 1-.708.708L8.5 8.207 7.354 9.354a.5.5 0 1 1-.708-.708L7.793 7.5 6.646 6.354a.5.5 0 1 1 .708-.708"/></svg>');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon-cart-question {
  display: inline-flex;
  align-items: center;
}
.icon-cart-question:before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.45em;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-question-circle" viewBox="0 0 16 16"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/><path d="M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-question-circle" viewBox="0 0 16 16"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/><path d="M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94"/></svg>');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon-cart-question-filled {
  display: inline-flex;
  align-items: center;
}
.icon-cart-question-filled:before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.45em;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-question-circle-fill" viewBox="0 0 16 16"><path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M5.496 6.033h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286a.237.237 0 0 0 .241.247m2.325 6.443c.61 0 1.029-.394 1.029-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94 0 .533.425.927 1.01.927z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-question-circle-fill" viewBox="0 0 16 16"><path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M5.496 6.033h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286a.237.237 0 0 0 .241.247m2.325 6.443c.61 0 1.029-.394 1.029-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94 0 .533.425.927 1.01.927z"/></svg>');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon-heart-color {
  display: inline-flex;
  align-items: center;
}
.icon-heart-color:before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.45em;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-heart" viewBox="0 0 16 16"><path d="m8 2.748-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92 1.815 2.834 3.989 6.286 6.357 3.452-2.368 5.365-4.542 6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01zM8 15C-7.333 4.868 3.279-3.04 7.824 1.143q.09.083.176.171a3 3 0 0 1 .176-.17C12.72-3.042 23.333 4.867 8 15"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-heart" viewBox="0 0 16 16"><path d="m8 2.748-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92 1.815 2.834 3.989 6.286 6.357 3.452-2.368 5.365-4.542 6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01zM8 15C-7.333 4.868 3.279-3.04 7.824 1.143q.09.083.176.171a3 3 0 0 1 .176-.17C12.72-3.042 23.333 4.867 8 15"/></svg>');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon-heart {
  display: inline-flex;
  align-items: center;
}
.icon-heart:before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.45em;
  vertical-align: middle;
  background: no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-heart" viewBox="0 0 16 16"><path d="m8 2.748-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92 1.815 2.834 3.989 6.286 6.357 3.452-2.368 5.365-4.542 6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01zM8 15C-7.333 4.868 3.279-3.04 7.824 1.143q.09.083.176.171a3 3 0 0 1 .176-.17C12.72-3.042 23.333 4.867 8 15"/></svg>');
}

/* Фоны */
.bg-gradient {
  background: var(--gradient-primary) !important;
  color: #0f1213
}

.bg-gradient-hover {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.bg-gradient-hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary-hover);
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: -1;
  border-radius: inherit;
}

.bg-gradient-hover:hover::after {
  opacity: 1;
}

.bg-gradient-hover.bg-gradient-blue::after {
  background: var(--gradient-blue-hover);
}

.bg-gradient-hover.bg-gradient-pink-hover::after {
  background: var(--gradient-pink-hover);
}

.bg-gradient-blue {
  background: var(--gradient-blue) !important;
}

.bg-gradient-pink {
  background: var(--gradient-pink) !important;
  color:#FFFFFF;
  border-color: #C612BD !important;
}

.bg-gradient-pink-hover:hover {
  color:#FFFFFF;
}

.bg-gradient-pink:hover {
  color:#FFFFFF;
}

.text-gradient-blue {
  color: var(--gradient-blue);
}

.text-gradient-pink {
  color: var(--gradient-pink);
}

.bg-warning {
  background-color: var(--bs-warning);
}

.border-warning {
  border-color: var(--bs-warning);
}

.border-warning {
  border-color: var(--bs-warning);
}

.text-warning {
  color: var(--bs-warning);
}

.text-accent {
  color: var(--accent-button-text);
}

.primary-bg {
  background-color: var(--primary-bg);
}

.secondary-bg {
  background: var(--secondary-bg);
}

.lightgray-bg {
  background: var(--lightgray-bg);
}

.footer-bg {
  background-color: var(--footer-bg);
}

.border-text {
  border: 1px solid var(--border-text-color);
  padding: 0.2rem;
  border-radius: 0.35rem;
}

a[href^="mailto:"] {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

a[href^="mailto:"]:hover {
    background: var(--gradient-blue-hover);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.translate-x-5 {
  transform: translateX(50%);
}

.translate-x-35 {
  transform: translateX(35%);
}

.translate-x-n10 {
  transform: translateX(-10%);
}

.translate-x-n20 {
  transform: translateX(-20%);
}

.translate-x-n29v {
  transform: translateX(-29%);
}

.translate-x-n30 {
  transform: translateX(-30%);
}

.end-97 {
  right: 97% !important;
}

.social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social a {
  text-decoration: none;
  border: 1px solid #d0dce4;
  border-radius: 10px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s;
}

.social a:hover {
  border-color: #c611bf;
}

.social-icon {
  width: 24px;
  height: 24px;
}

.plus-set {
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #979797;
  color: #979797;
}

.breadcrumb-item a, .breadcrumb-item.active {
  color: var(--accent-button-text);
}

.breadcrumb-item + .breadcrumb-item::before {
  float: left;
  padding-right: var(--bs-breadcrumb-item-padding-x);
  content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8'><path d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='%23979797'/></svg>");
}

.phone-highlight {
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-tabs {
  border: none !important;
}

.nav-link {
  color: var(--accent-text);
}

.nav-link:hover {
  color: var(--accent-text);
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
  background: var(--gradient-primary) !important;
}

.nav-link-tab {
  background-color: #ECECEC;
  border: none !important;
}

.nav-link:hover .phone-highlight {
     background: var(--gradient-pink-hover);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link-dropdown-menu {
  font-size: 12px;
  font-weight: 400;
  color: #4B4B4B;
}

.nav-link-dropdown-menu::after {
  content: "";
  display: inline-block;
  background: url(../icon/dropdown.svg);
  width: 10px;
  height: 10px;
  margin-left: 4px;
  background-size: 8px 8px;
  background-repeat: no-repeat;
  transform: rotate(180deg);
}

/* Таблицы */
.table-bg {
    --bs-table-bg: #F8F9FA;
}

.table-divider {
  border-top: calc(var(--bs-border-width) * 1) solid #ECECEC !important;
}

.table-fixed {
  table-layout: fixed;
  width: 100%;
}

.table.text-secondary > :not(caption) > * > * {
  color: var(--bs-secondary-color) !important;
}



/* Верхняя часть меню */
.menu-top-nav {
  background-color: var(--primary-bg);
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.menu-top-nav .navbar-nav {
  margin-right: 0;
}

.menu-top-nav .nav-link {
  color: var(--accent-text);
  text-decoration: none;
  padding: 5px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}


/* Средняя часть меню */
.menu-mid-nav {
  background: var(--secondary-bg);
}


.menu-mid-nav .navbar-brand img {
  height: 47px;
  max-width: 100%;
  object-fit: contain;
}

.menu-mid-nav-cont {
  color: #000;
  font-size: 29px;
  font-weight: 700;
  display: flex;
  align-items: center;
  transition: .25s ease opacity;
}
.menu-mid-nav-cont::before {
  content: "";
  display: inline-block;
  background: url(../icon/mobilephone.svg);
  width: 11px;
  height: 21px;
  margin-right: 10px;
}

.menu-mid-nav-cont::after {
  content: "";
  display: inline-block;
  background: url(../icon/dropdown.svg);
  width: 12px;
  height: 9px;
  margin-left: 4px;
}

.menu-mid-nav-cont:hover {
  color: var(--accent-text);
}

.menu-mid-nav-cont:active {
  color: var(--accent-text);
}

.menu-mobile-phone {
  color: #000 !important;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: .25s ease opacity;
}
.menu-mobile-phone::before {
  content: "";
  display: inline-block;
  background: url(../icon/mobilephone.svg);
  width: 11px;
  height: 21px;
  margin-right: 10px;
}

.menu-mobile-phone:hover {
  color: var(--accent-text);
}

.menu-mobile-phone:active {
  color: var(--accent-text);
}

[data-bs-theme="dark"] .menu-mid-nav-cont {
  color: #e0e0e0;
}

/* Поиск */
.search-container {
  position: relative;
  width: 300px;
}

.search-input {
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 12px 40px;
  font-size: 13px;
  background-color: #FFFFFF;
  width: 100%;
  height: 31px;
}

.search-input:focus {
  border-color: #FCC000;
  box-shadow: 0 0 0 0.2rem rgba(252, 192, 0, 0.25);
}

.search-input-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  border: none;
  width: 15px;
  height: 15px;
  background-image: url(../icon/search.svg);
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Мобильная строка поиска */
.search-container-mobile {
  position: relative;
  padding: 8px;
  border-radius: 8px;
}

.search-input-mobile {
  border: none;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 14px;
  background-color: #FFFFFF;
  width: 100%;
  color: var(--primary-text);
}

.search-input-mobile:focus {
  border-color: #FCC000;
  box-shadow: 0 0 0 0.2rem rgba(252, 192, 0, 0.25);
}


/* Нижняя часть меню */
.menu-bot-nav {
  background-color: var(--secondary-bg);
  transition: transform 0.3s ease;
}

/* menu category */
.home-category {
  background-color: var(--secondary-bg);
}

.category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-text);
  cursor: pointer;
  padding: 13px;
}

.category-title:hover {
  background: var(--gray-bg-hover);
}

.category-title::after {
  content: "";
  display: inline-block;
  background: url(../icon/catalog-dropdown.svg);
  width: 5px;
  height: 8px;
  margin-left: 4px;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}


.menu-bot-nav .dropdown-menu {
  top: 100% !important;
  margin-top: 0 !important;
  border: none;
}

.dropdown-menu {
  z-index: 1060 !important;
  padding: 20px;
  border-radius: 0;
}

.dropdown-menu.w-auto {
  min-width: max-content;
}

.dropdown-menu.w-100 {
  min-width: 100% !important;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

.dropend.dropend-menu .dropdown-menu {
  top: 0 !important;
  left: 100% !important;
  margin-top: 0 !important;
  margin-left: -1px !important;
}

[data-bs-toggle="dropdown"]:focus {
  outline: none !important;
  box-shadow: none !important;
}

[data-bs-toggle="dropdown"]:active {
  outline: none !important;
  box-shadow: none !important;
}

.dropdown.button-dropdown .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
  background: transparent;
  z-index: 1;
}

#cartCanvas {
  width: 25vw;
  min-width: 320px;
  max-width: 500px;
}

/* Мобильное меню offcanvas */
.mobile-offcanvas {
  width: 100% !important;
}

.mobile-offcanvas .offcanvas-header {
  background: var(--gradient-primary) !important; 
  color: var(--primary-text) !important;
}

.mobile-offcanvas .offcanvas-title {
  color: #0f1213 !important;
}

.mobile-offcanvas .btn-close {
  color: var(--accent-text) !important;
  opacity: 1 !important;
  filter: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='black' viewBox='0 0 16 16'%3e%3cpath d='M2.146 2.146a.5.5 0 0 1 .708 0L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.mobile-offcanvas #theme-toggle-mobile {
  color: var(--accent-text) !important; 
}

.mobile-offcanvas .offcanvas-body {
  background: var(--primary-bg); 
  color: var(--primary-text);
}

.menu-icon {
  width: auto;
  height: 26px;
  font-size: 14px;
  font-weight: 600;
}

/* Подвал */

footer .h5 {
  font-size: 16px;
  font-weight: 600;
  color: #4B4B4B;
}
footer .h3 {
  font-size: 48px;
  font-weight: 800;
  color: #4B4B4B;
}
footer .h3:hover {
  color: var(--accent-text);
}

footer .giperlogo {
  width: 300px;
}

.footer-contacts {
  margin-top: 1.1rem;
}
.footer-phone-icon {
  width: auto;
  height: 37px;
}

/* Аккордеон */
.accordion-button {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.accordion-button:focus {
  box-shadow: none !important;
}

.accordion-button.collapsed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary-hover);
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: -1;
}

.accordion-button.collapsed:hover::before {
  opacity: 1;
}

.accordion-button:not(.collapsed) {
  background: var(--gradient-primary) !important;
  color: var(--accent-text) !important;
}

.accordion-button:not(.collapsed)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary-hover);
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: -1;
}

.accordion-button:not(.collapsed):hover::before {
  opacity: 1;
}


/* Аккордеон для мобильных */
@media (max-width: 767.98px) {
  [data-product-info] .accordion-item {
    background: var(--primary-bg);
    overflow: hidden;
  }
  [data-product-info] .accordion-button {
    padding: 0.9rem 1rem 0.9rem 1rem;
    font-weight: 600;
    font-size: 15px;
    background: var(--primary-bg);
    box-shadow: none;
    position: relative;
  }
  [data-product-info] .accordion-button:focus { box-shadow: none; }
  [data-product-info] .accordion-button.collapsed::after {
    content: '+';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    line-height: 1;
    transition: all .25s;
    color: var(--accent-text, #D02476);
    background-image: none;
    width: auto;
    height: auto;
  }
  [data-product-info] .accordion-button:not(.collapsed)::after {
    content: '−';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    line-height: 1;
    transition: all .25s;
    color: var(--accent-text, #D02476);
    background-image: none;
    width: auto;
    height: auto;
  }
  [data-product-info] .accordion-collapse .accordion-body {
    padding: 0 1rem 1rem 1rem !important;
  }
  [data-product-info] .accordion-body > *:first-child { margin-top: 0 !important; }
  [data-product-info] .accordion-body table { width: 100%; display: block; overflow-x: auto; }
  [data-product-info] .accordion-body .row { margin-left: 0; margin-right: 0; }
  [data-product-info] .accordion-body [class*='col-'] { padding-left: 0; padding-right: 0; }
}

/* Кнопки */
.btn .badge {
  position: relative;
  top: -0.4rem;
  left: -0.8rem;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 500;
  /* width: 14px;
  height: 14px; */
}

.btn-action {
  border-radius: var(--border-radius);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 31px;
}

.btn-gradient {
  background: var(--gradient-primary);
  border: 1px solid #FCC000 !important;
  color: #333;
  border-radius: var(--border-radius);
}

.btn-menu-category {
  border: none;
  border-radius: 8px 8px 0 0;
  padding: 0px 1.7rem;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-menu-category:hover {
  color: #333;
}

.btn-menu-category-first {
  min-width: 262px;
}

.btn-brand {
  align-items: center;
  justify-content: center;
  font-size: 13px;
  width: 120px;
  height: 30px;
}

.btn-outline-secondary {
  border: 1px solid #E0E0E0;
  color: var(--primary-text);
  background-color: var(--secondary-button);
}

.btn-secondary-mobile-menu {
  color: var(--primary-text);
  background-color: var(--secondary-button);
  border-radius: 6px;
  font-size: 11px;
  flex: 0 0 48%;
}

.btn-accent {
  color: var(--accent-button-text);
  background-color: var(--secondary-button);
  border-radius: 6px;
  font-size: 11px;
  padding: 4px;
}

.btn-gradient:focus, .btn-gradient:active, .btn-gradient:hover {
  outline: none !important;
  box-shadow: none !important;
  border-color: #FCC000 !important;
  color: #333 !important;
}

.menu-mid-nav-cont:focus, .menu-mid-nav-cont:active, .menu-mid-nav-cont:hover,
.bg-gradient-hover:focus, .bg-gradient-hover:active, .bg-gradient-hover:hover {
  outline: none !important;
  box-shadow: none !important;
  border-color: #FCC000 !important;
  color: #333 !important;
}

.btn.icon-button:focus, .btn.icon-button:active, .btn.icon-button:hover {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
  box-sizing: border-box !important;
}

.btn-check:checked + .btn-sort, .btn-check:active + .btn-sort {
      border-color: var(--bs-warning) !important;
}

.btn-close-cart{
  width: 0.3em;
  height: 0.3em;
  --bs-btn-close-opacity: 0.3;
}

.product-rating-in:not(:checked) > input {
  display: none;
}

.product-rating-in:not(:checked) > label {
  float: right;
  width: 22px;
  padding: 0;
  cursor: pointer;
  font-size: 22px;
  line-height: 22px;
  color: #ECECEC;
}

.product-rating-in:not(:checked) > label:before {
  content: '★';
}

.product-rating-in > input:checked ~ label {
  color: var(--bs-warning);
}

.product-rating-in:not(:checked) > label:hover,
.product-rating-in:not(:checked) > label:hover ~ label {
  color: var(--bs-warning);
}

.product-rating-in > input:checked + label:hover,
.product-rating-in > input:checked + label:hover ~ label,
.product-rating-in > input:checked ~ label:hover,
.product-rating-in > input:checked ~ label:hover ~ label,
.product-rating-in > label:hover ~ input:checked ~ label {
  color: var(--bs-warning);
}

.thumb-up:not(:checked) > input {
  display: none;
}

.thumb-up:not(:checked) > label {
  float: right;
  width: 22px;
  padding: 0;
  cursor: pointer;
  font-size: 22px;
  line-height: 22px;
  color: #ECECEC;
}

.thumb-up:not(:checked) > label:before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23ECECEC" viewBox="0 0 16 16"><path d="M6.956 1.745C7.021.81 7.908.087 8.864.325l.261.066c.463.116.874.456 1.012.965.22.816.533 2.511.062 4.51a10 10 0 0 1 .443-.051c.713-.065 1.669-.072 2.516.21.518.173.994.681 1.2 1.273.184.532.16 1.162-.234 1.733q.086.18.138.363c.077.27.113.567.113.856s-.036.586-.113.856c-.039.135-.09.273-.16.404.169.387.107.819-.003 1.148a3.2 3.2 0 0 1-.488.901c.054.152.076.312.076.465 0 .305-.089.625-.253.912C13.1 15.522 12.437 16 11.5 16H8c-.605 0-1.07-.081-1.466-.218a4.8 4.8 0 0 1-.97-.484l-.048-.03c-.504-.307-.999-.609-2.068-.722C2.682 14.464 2 13.846 2 13V9c0-.85.685-1.432 1.357-1.615.849-.232 1.574-.787 2.132-1.41.56-.627.914-1.28 1.039-1.639.199-.575.356-1.539.428-2.59z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.thumb-up > input:checked ~ label:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23FBBA00" viewBox="0 0 16 16"><path d="M6.956 1.745C7.021.81 7.908.087 8.864.325l.261.066c.463.116.874.456 1.012.965.22.816.533 2.511.062 4.51a10 10 0 0 1 .443-.051c.713-.065 1.669-.072 2.516.21.518.173.994.681 1.2 1.273.184.532.16 1.162-.234 1.733q.086.18.138.363c.077.27.113.567.113.856s-.036.586-.113.856c-.039.135-.09.273-.16.404.169.387.107.819-.003 1.148a3.2 3.2 0 0 1-.488.901c.054.152.076.312.076.465 0 .305-.089.625-.253.912C13.1 15.522 12.437 16 11.5 16H8c-.605 0-1.07-.081-1.466-.218a4.8 4.8 0 0 1-.97-.484l-.048-.03c-.504-.307-.999-.609-2.068-.722C2.682 14.464 2 13.846 2 13V9c0-.85.685-1.432 1.357-1.615.849-.232 1.574-.787 2.132-1.41.56-.627.914-1.28 1.039-1.639.199-.575.356-1.539.428-2.59z"/></svg>');
}

.thumb-up:not(:checked) > label:hover:before,
.thumb-up:not(:checked) > label:hover ~ label:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23FBBA00" viewBox="0 0 16 16"><path d="M6.956 1.745C7.021.81 7.908.087 8.864.325l.261.066c.463.116.874.456 1.012.965.22.816.533 2.511.062 4.51a10 10 0 0 1 .443-.051c.713-.065 1.669-.072 2.516.21.518.173.994.681 1.2 1.273.184.532.16 1.162-.234 1.733q.086.18.138.363c.077.27.113.567.113.856s-.036.586-.113.856c-.039.135-.09.273-.16.404.169.387.107.819-.003 1.148a3.2 3.2 0 0 1-.488.901c.054.152.076.312.076.465 0 .305-.089.625-.253.912C13.1 15.522 12.437 16 11.5 16H8c-.605 0-1.07-.081-1.466-.218a4.8 4.8 0 0 1-.97-.484l-.048-.03c-.504-.307-.999-.609-2.068-.722C2.682 14.464 2 13.846 2 13V9c0-.85.685-1.432 1.357-1.615.849-.232 1.574-.787 2.132-1.41.56-.627.914-1.28 1.039-1.639.199-.575.356-1.539.428-2.59z"/></svg>');
}

.thumb-up > input:checked + label:hover:before,
.thumb-up > input:checked + label:hover ~ label:before,
.thumb-up > input:checked ~ label:hover:before,
.thumb-up > input:checked ~ label:hover ~ label:before,
.thumb-up > label:hover ~ input:checked ~ label:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23FBBA00" viewBox="0 0 16 16"><path d="M6.956 1.745C7.021.81 7.908.087 8.864.325l.261.066c.463.116.874.456 1.012.965.22.816.533 2.511.062 4.51a10 10 0 0 1 .443-.051c.713-.065 1.669-.072 2.516.21.518.173.994.681 1.2 1.273.184.532.16 1.162-.234 1.733q.086.18.138.363c.077.27.113.567.113.856s-.036.586-.113.856c-.039.135-.09.273-.16.404.169.387.107.819-.003 1.148a3.2 3.2 0 0 1-.488.901c.054.152.076.312.076.465 0 .305-.089.625-.253.912C13.1 15.522 12.437 16 11.5 16H8c-.605 0-1.07-.081-1.466-.218a4.8 4.8 0 0 1-.97-.484l-.048-.03c-.504-.307-.999-.609-2.068-.722C2.682 14.464 2 13.846 2 13V9c0-.85.685-1.432 1.357-1.615.849-.232 1.574-.787 2.132-1.41.56-.627.914-1.28 1.039-1.639.199-.575.356-1.539.428-2.59z"/></svg>');
}

.product-rating-out span {
  padding: 0;
  font-size: 22px;
  line-height: 22px;
  color: #ECECEC;
}

.product-rating-out > span:before {
  content: '★';
}

.product-rating-out > span.active {
  color: var(--bs-warning);
}

/* Блоки */
.card-i {
  background: var(--gradient-primary);
  padding: 20px 10px 20px 10px;
  line-height: 1.2;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  
}
.card-i:hover {
  box-shadow: var(--bs-box-shadow);
}

.image-cart {
  width: auto;
  height: 90px;
  object-fit: cover;
}

.image-cat-1 {
  width: auto;
  max-height: 147px;
  object-fit: contain;
}

.image-cat-2 {
  width: auto;
  max-height: 147px;
  object-fit: contain;
}

.product-reference {
  color: var(--accent-button-text);
  background-color: var(--primary-bg);
  border-radius: 0 0 8px 8px;
  padding: 0px 6px 6px 6px;
  border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
  border-top: none;
}


/* Кнопка "Наверх" */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(180deg);
  background: url(../icon/dropdown.svg) center center no-repeat;
  background-size: 20px 20px;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.menu-top.hidden,
.menu-bottom.hidden {
  transform: translateY(-100%);
}

/* Slider*/
.swiper {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}

.swiper-brand {
  height: 50px;
}

.swiper-products {
  height: 390px;
}
.swiper-features {
  height: 40px;
  padding-right: 0.65rem !important;
  padding-left: 0.60rem !important;
}

.sw-260 {
  width: 260px;
}

.sw-360 {
  width: 360px;
}

.sw-370 {
  width: 370px;
}

.sw-385 {
  width: 385px;
}

.sw-650 {
  width: 650px;
}

.swiper-products img{
  width: 100%;
  height: 350px;
  object-fit: contain;
}

.swiper-button-next {
  right: var(--swiper-navigation-sides-offset,0px);
  left: auto;
}

.swiper-button-prev {
  right: auto;
  left: var(--swiper-navigation-sides-offset,0px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  content: "";
  background: url(../icon/right-prod.svg) no-repeat;
  width: calc(var(--swiper-navigation-size) / 3);
  height: calc(var(--swiper-navigation-size) / 3);
  background-size: calc(var(--swiper-navigation-size) / 3) calc(var(--swiper-navigation-size) / 3);
}
.swiper-button-prev::after {
  transform: rotate(180deg);
}

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
  opacity: .0;
}

.swiper-features .swiper-button-next {
  right: var(--swiper-navigation-sides-offset,-10px);
}

.swiper-features .swiper-button-prev {
  left: var(--swiper-navigation-sides-offset,-10px);
}

.swiper-products .swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,11px));
  height: var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,11px));
  border-radius: var(--swiper-pagination-bullet-border-radius,50%);
  background: var(--swiper-pagination-bullet-inactive-color,#D9D9D9);
  opacity: var(--swiper-pagination-bullet-inactive-opacity, .8);
}

.swiper-products .swiper-pagination-bullet-active {
  height: 11px;
  width: 22px;
  background: var(--swiper-pagination-color,var(--swiper-theme-color));
  border-radius: var(--swiper-pagination-bullet-border-radius,40%);
}


.brand-img {
  width: 100%;
  height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.brand-img:hover {
  filter: none;
}

.carousel {
  overflow: hidden;
}

.carousel-inner img {
  max-height: 460px;
  object-fit: cover;
  border-radius: 15px;
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
  opacity: 1;
}

.carousel-indicators {
  position: relative;
  margin-top: 20px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #D9D9D9;
  border: none;
  margin: 0 4px;
}

.carousel-indicators .active {
  background-color: #FCC000;
  width: 24px;
  height: 12px;
  border-radius: 8px;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 2.9rem;
  height: 2.9rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50% 50%;
}

.carousel-control-prev-icon {
  background-image: url('../icon/left.svg');
}
.carousel-control-next-icon {
  background-image: url('../icon/right.svg');
}

.product-brand {
  max-height: 36px; 
  width: auto;
}

/* filter*/
.dual-range-container {
  position: relative;
  height: 20px;
  margin: 10px 0;
}
.dual-range-min, .dual-range-max {
  position: absolute;
  width: 100%;
  height: 4px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.dual-range-min:active, .dual-range-max:active { z-index: 3; }
.dual-range-min::-webkit-slider-track, .dual-range-max::-webkit-slider-track {
  background: transparent;
  height: 12px;
  border: none;
}
.dual-range-min::-webkit-slider-thumb, .dual-range-max::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 21px;
  width: 21px;
  border-radius: 22%;
  background: var(--gradient-primary) !important;
  border: 1px solid #FCC000 !important;
  cursor: pointer;
  z-index: 3 !important;
  pointer-events: auto;
}
.dual-range-min::-moz-range-thumb, .dual-range-max::-moz-range-thumb {
  height: 21px;
  width: 21px;
  border-radius: 22%;
  background: var(--gradient-primary) !important;
  cursor: pointer;
  border: 1px solid #FCC000 !important;
  z-index: 3 !important;
  pointer-events: auto;
  -moz-appearance: none;
  appearance: none;
}
.dual-range-min::-moz-range-track, .dual-range-max::-moz-range-track {
  background: transparent;
  height: 12px;
  border: none;
}
.dual-range-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 12px;
  background: #D1D1D1;
  border-radius: 12px;
  transform: translateY(-50%);
  z-index: 1;
}

.filter-title::after {
  content: "";
  display: inline-block;
  background: url(../icon/catalog-dropdown.svg);
  width: 5px;
  height: 8px;
  margin-left: 4px;
}

input[type="number"] {
  border-radius: 10px !important;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}


/* Адаптивность */
@media (max-width: 991.98px) {
  
  .menu-actions {
    justify-content: center;
  }
  .btn-action span {
    display: none;
  }
  .carousel-inner img {
    height: 250px;
  }
  .navbar-brand {
    margin-left: 15px;
  }
  .btn-mobile {
    padding: 0px;
  }
  .menu-mid-nav {
    background: var(--gradient-primary);
  }
  .sw-260,
  .sw-365,
  .sw-650,
  .sw-370,
  .sw-385 {
    width: 100% !important;
  }
  .sw-385 s {
    margin-left: 1rem !important;
  }
}

@media (max-width: 767.98px) {
  .menu-actions {
    gap: 8px;
  }
  .btn-action {
    padding: 8px 12px;
    font-size: 11px;
  }
  .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating), .input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-control, .input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-select {
  border-top-right-radius: var(--bs-border-radius-lg) !important;
  border-bottom-right-radius: var(--bs-border-radius-lg) !important;
  }
  .carousel-inner img {
    height: 200px;
  }
  #cartCanvas {
    width: 100vw;
    min-width: auto;
    max-width: none;
  }
  .product-brand {
  max-height: 30px;
  }
}

@media (max-width: 767.98px) {
  .swiper-feature {
    height: auto;
  }
  .swiper-feature .swiper-slide {
    height: auto;
  }
  .swiper-feature .card-i {
    height: 100%;
    min-height: 60px;
    padding: 6px 6px;
  }
  .swiper-feature .h6 {
    font-size: 12px;
  }
  .swiper-feature .nav-link {
    font-size: 11px;
    padding: 0;
  }
  .swiper-feature .icon {
    width: 36px;
    height: 36px;
  }
  .image-cat-2 {
    max-width: 52px;
  }
  .card-i {
  padding: 6px 6px 6px 6px;
  font-size: 12px !important;
  font-weight: 500 !important;
  min-height: 55px;
}
  .card-i img{
  max-width: 37px;
}

}

/* Темная тема */
[data-bs-theme="dark"] {
  --primary-bg: #080909;
  --primary-text: #e0e0e0;
  --secondary-bg: #0f1213;
  --lightgray-bg: #1e2426;
  --bs-border-color: #979797;
  --secondary-bg-link-color: #2d3639;
  --accent-text: #1e2426;
  --gray-bg-hover: #1e2426;
  --footer-bg: #1e2426;
  --secondary-button: #979797;
}

[data-bs-theme="dark"] .mobile-offcanvas .offcanvas-body {
  background: var(--primary-bg); 
  color: var(--primary-text);
}

[data-bs-theme="dark"] .menu-middle {
  background-color: var(--secondary-bg);
}

[data-bs-theme="dark"] .search-input {
  background-color: var(--secondary-bg);
  color: var(--primary-text);
  border-color: #404040;
}

[data-bs-theme="dark"] .home-category {
  background-color: var(--secondary-bg);
  border-color: #404040;
}

[data-bs-theme="dark"] .btn-outline-secondary {
  border: 1px solid #404040;
  color: var(--secondary-bg-link-color);
}
[data-bs-theme="dark"] .btn-secondary-mobile-menu {
  background-color: var(--secondary-bg-link-color);
}

[data-bs-theme="dark"] .btn-accent {
  background-color: var(--secondary-bg-link-color);
}


[data-bs-theme="dark"] .card {
  background-color: var(--secondary-bg);
}

[data-bs-theme="dark"] .card-footer {
  background-color: #0c0e0f;
}

[data-bs-theme="dark"] .card-i {
  color: var(--bs-black) !important;
}

[data-bs-theme="dark"] .carousel .carousel-indicators [data-bs-target], [data-bs-theme="dark"].carousel .carousel-indicators [data-bs-target] {
  background-color: var(--secondary-bg);;
}

[data-bs-theme="dark"] .carousel .carousel-indicators .active {
  background-color: #FCC000;
}

[data-bs-theme="dark"] .bg-light {
  background-color: var(--gray-bg-hover) !important;
}

[data-bs-theme="dark"] .btn-light {
  background-color: var(--gray-bg-hover) !important;
  color: #fff;
}

[data-bs-theme="dark"] .table {
    --bs-table-bg: #1e2426;
}

[data-bs-theme="dark"] .footer-bg {
    color: var(--accent-button-text);
}

[data-bs-theme="dark"] .nav-link {
  color: var(--accent-button-text);
}
