/* FONTS */ 
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
:root {
  --dark: #00031e;
  --white: #fff;
  --color-brand: #e70014;
  --color-hover: #e70014;
  --color-border: #cbd2dc;
  --color-txt: #5a5b67;
  --color-second: #ffa800;
  --color-placeholder: #aaacb9;
  --color-icon: #848590;
  --bg-body: #eceff5;
  --bg-hover: #fff3f3;
  --footer-border: #282a3d;
  --font-main: "Gilroy", sans-serif;
}

/* GLOBAL */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0 !important;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  background-color: var(--bg-body);
  color: var(--color-txt);
  min-width: 320px;
  font: 400 1.0625rem/1.2 var(--font-main);
  -webkit-overflow-scrolling: touch;
  /*overflow-x: hidden;
  overflow-x: clip;*/
}
@media (max-width: 767px) {
  body {
    font-size: 0.9375rem;
  }
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: underline;
  color: var(--color-hover);
  transition: all 0.3s;
}
@media (min-width: 901px) {
  a:hover {
    color: var(--color-brand);
    text-decoration: none;
  }
}

p {
  margin: 0 0 11px;
}
p:last-child {
  margin-bottom: 0;
}

input[type=search], input[type=submit], input[type=text], textarea {
  -webkit-appearance: none;
}

input, textarea, select {
  box-sizing: border-box;
  outline: none;
  border: 1px solid var(--color-border);
  padding-left: 13px;
  padding-right: 13px;
  font-size: 0.9375rem;
  border-radius: 6px;
  width: 100%;
}

input:not(.form-check-input), select {
  height: 2.5rem;
}

input.form-check-input{
  width: unset;
}

select {
  color: var(--color-placeholder);
}
select option {
  color: var(--dark);
}

textarea {
  padding-top: 11px;
  padding-bottom: 11px;
  display: block;
  resize: vertical;
}

:focus::-webkit-input-placeholder {
  color: transparent;
}

:focus::-moz-placeholder {
  color: transparent;
}

input[placeholder] {
  text-overflow: ellipsis;
}

input::-moz-placeholder {
  text-overflow: ellipsis;
}

::-webkit-input-placeholder {
  color: var(--color-placeholder);
}

::-moz-placeholder {
  color: var(--color-placeholder);
}

button {
  cursor: pointer;
  outline: none;
}

h1, h2, h3, h4, h5, h6,
.heading-lg, .heading-md, .heading-sm {
  font-weight: 700;
  color: var(--dark);
  margin-top: 0;
  margin-bottom: 0.7em;
}

h1, h2, .heading-lg {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  h1, h2, .heading-lg {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
}

h3, .heading-md {
  font-size: 1.5rem;
}
@media (max-width: 767px) {
  h3, .heading-md {
    font-size: 1.25rem;
  }
}

.heading-sm {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.title-main {
  color: inherit;
  font-size: 1.125rem;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* COMMON */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  overflow: clip;
}

.content-page {
  flex: 1 0 auto;
  min-height: 1px;
}
.content-page__inner {
  padding-top: 15px;
  padding-bottom: 80px;
}

/* SK: оформлення тексту інформаційних сторінок (Про нас, Доставка, Оферта і т.д.) */
.content-block-text {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px 40px !important;
  box-shadow: 0 4px 30px rgba(79, 87, 143, 0.08);
}
.content-block-text h1,
.content-block-text h2 {
  color: var(--dark);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-brand);
}
.content-block-text h3 {
  color: var(--color-brand);
  font-weight: 600;
  margin-top: 26px;
  margin-bottom: 12px;
  font-size: 1.15rem;
}
.content-block-text p {
  color: var(--color-txt);
  line-height: 1.65;
  margin-bottom: 14px;
}
.content-block-text ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 18px;
}
.content-block-text ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--color-txt);
  line-height: 1.55;
}
.content-block-text ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-brand);
}
.content-block-text a {
  color: var(--color-brand);
  text-decoration: none;
}
.content-block-text a:hover {
  text-decoration: underline;
}
@media (max-width: 767px) {
  .content-block-text {
    padding: 20px;
  }
}

/* SK: сторінка контактів */
.sk-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.sk-contacts__card,
.sk-delivery-card,
.sk-map {
  background-color: var(--white);
  border-radius: 8px;
  padding: 28px 32px;
  box-shadow: 0 4px 30px rgba(79, 87, 143, 0.08);
}
.sk-contacts__side,
.sk-contacts__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sk-form-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 28px 32px;
  box-shadow: 0 4px 30px rgba(79, 87, 143, 0.08);
}
.sk-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sk-form__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--dark);
  background-color: var(--white);
  transition: border-color 0.25s;
}
.sk-form__input:focus {
  outline: none;
  border-color: var(--color-brand);
}
.sk-form textarea.sk-form__input {
  resize: vertical;
  min-height: 110px;
}
.sk-form__submit {
  align-self: flex-start;
}
.sk-contacts__heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-brand);
}
.sk-contacts__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--color-txt);
  line-height: 1.5;
}
.sk-contacts__ico {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-hover);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sk-contacts__phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sk-contacts__phones a {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}
.sk-contacts__phones a:hover,
.sk-contacts__row a:hover {
  color: var(--color-brand);
}
.sk-contacts__row a {
  color: var(--dark);
  text-decoration: none;
}
.sk-contacts__sublabel {
  font-weight: 600;
  color: var(--dark);
  margin: 22px 0 12px;
}
.sk-messengers,
.sk-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sk-msg,
.sk-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  color: var(--white);
  background-color: var(--color-brand);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.25s, transform 0.25s;
}
.sk-msg:hover,
.sk-social:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  color: var(--white);
}
.sk-msg--viber { background-color: #7360f2; }
.sk-msg--telegram { background-color: #29a9eb; }
.sk-msg--whatsapp { background-color: #25d366; }
.sk-social--instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.sk-social--facebook { background-color: #1877f2; }
.sk-social--twitter { background-color: #1da1f2; }
.sk-delivery-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.sk-delivery-card p {
  color: var(--color-txt);
  line-height: 1.6;
  margin-bottom: 16px;
}
.sk-map iframe {
  display: block;
}
@media (max-width: 991px) {
  .sk-contacts {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .sk-contacts__card,
  .sk-delivery-card,
  .sk-map {
    padding: 20px;
  }
}
@media (max-width: 767px) {
  .content-page__inner {
    padding-bottom: 50px;
  }
}

.container {
  position: relative;
  width: 100%;
  max-width: 1332px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 767px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.img-fluid {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.rounded {
  border-radius: 6px;
}

/* BUTTON */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px 0 rgba(255, 75, 75, 0.15);
  background-color: var(--color-brand);
  color: var(--white);
  border-radius: 6px;
  font-weight: 600;
  padding: 13px 16px;
  border: none;
  gap: 10px;
  position: relative;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.4s;
}
.button, .button:before {
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.button:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  border-radius: 50%;
  background-color: var(--color-hover);
  z-index: -1;
  opacity: 0;
  -webkit-transform: scale3d(0.5, 1, 1);
  transform: scale3d(0.5, 1, 1);
  transition: all 0.3s;
  pointer-events: none;
}
.button:hover {
  color: var(--white);
}
.button:hover:before {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  border-radius: 0;
}
.button:hover .button__arrow {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.button__arrow, .button__txt {
  transition: all 0.3s;
}
.button_default {
  padding: 0;
  color: var(--color-icon);
  background-color: transparent;
  font-weight: 500;
  box-shadow: none;
  overflow: visible;
  min-height: 1.75rem;
}
.button_default:before {
  display: none;
}
.button_default:hover {
  color: var(--color-brand);
}
.button_default:hover .button__txt {
  border-bottom: 1px solid;
}
.button_default .button__txt {
  border-bottom: 1px solid transparent;
}
.button_outline {
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-txt);
  box-shadow: 0 2px 14px 0 rgba(73, 91, 147, 0.07);
  font-weight: normal;
}
.button_outline:hover {
  color: var(--dark);
  border-color: var(--color-brand);
  background-color: var(--bg-hover);
}
.button_outline:before {
  display: none;
}
.button_outline-styled {
  box-shadow: none;
  font-weight: 500;
}
.button_secondary {
  font-weight: 500;
  color: var(--dark);
  background-color: var(--bg-body);
  padding: 11px 13px;
  box-shadow: none;
}
.button_secondary:hover {
  color: var(--dark);
}
.button_secondary:before {
  background-color: #a8d8a8;
}
.button_fluid {
  width: 100%;
}
.button-wrap {
  text-align: center;
  margin-top: 36px;
}
.button-wrap_mt {
  margin-top: 24px;
}
@media (max-width: 767px) {
  .button-wrap {
    margin-top: 24px;
  }
  .button-wrap_mt {
    margin-top: 16px;
  }
}

/* HEADER */
.header {
  position: relative;
  z-index: 9999;
}
.header__main {
  color: var(--white);
  position: relative;
  width: 100%;
}
.header__main:before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(34, 2, 8, 0.15);
}
.header__main-grid {
  display: flex;
}
.header__main-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 28px;
}
.header__main-item:first-child {
  padding-left: 0;
}
.header__main-item:last-child {
  padding-right: 0;
}
.header__main-group {
  display: flex;
  align-items: center;
  gap: 26px;
}
.header__main-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-nav-title {
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 28px 0 24px;
  position: relative;
}
.header-nav-title.styled {
  text-transform: none;
  font-size: 1rem;
  padding: 0 0 20px;
}
.header-nav-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border) 50%, transparent);
}
.header-nav-footer {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding-top: 24px;
  margin-top: auto;
}
@media (min-width: 578px) {
  .header-nav-footer .dropdown-group {
    display: none;
  }
}
.header__logo {
  max-width: 118px;
}
.header__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 14px;
  font-weight: 500;
  font-size: 0.9375rem;
}
.header__list li, .header__list button {
  padding: 10px;
  cursor: pointer;
  color: #fff;
}
.header__list .current {
  text-decoration: underline;
}
@media (min-width: 701px) {
  .header__main {
    background: url("../img/header-bg.webp") no-repeat 50% 0/cover;
  }
}
@media (min-width: 1101px) {
  .header__main-item:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.4);
  }
  .header__main-nav {
    flex-grow: 1;
    min-width: 1px;
    max-width: 100%;
  }
  .header__main-nav .mobile-only {
    display: none;
  }
  .header-nav-page {
    display: none;
  }
}
@media (max-width: 1280px) {
  .header .location.desktop-only {
    display: none;
  }
}
@media (max-width: 1100px) {
  .header__main-item {
    padding-left: 10px;
    padding-right: 10px;
  }
  .header-ml-auto {
    margin-left: auto;
  }
  .header-nav-page, .header__main-nav {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100dvh;
    padding: 80px 0 0;
    background-color: rgba(0, 3, 30, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  .header-nav-page.is-show, .header__main-nav.is-show {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  .header__scroller {
    overflow-y: auto;
    height: 100%;
    padding: 0 15px 27px;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
  }
  .header__main-nav.submenu-show {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  .header-nav-page__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 27px 15px;
  }
  .header-nav-page__btn {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    right: 15px;
    top: 97px;
    border: none;
    background-color: transparent;
    padding: 0;
    color: inherit;
  }
  .header-nav-page__body {
    width: 100%;
  }
}
@media (max-width: 950px) {
  .header__main-buttons {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .header.catalog-show {
    z-index: 99;
  }
}
@media (max-width: 700px) {
  .header__main {
    background: url("../img/header-bg-sm.webp") no-repeat 50% 0/cover;
  }
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}
.location svg, .location img {
  display: block;
}

.nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0 20px;
  font-weight: 500;
  font-size: 15px;
  color: inherit;
}
.nav__list a {
  color: inherit;
  display: block;
  padding: 8px 0;
  position: relative;
  text-decoration: none;
}
@media (min-width: 1101px) {
  .nav__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .nav__list a:hover:after {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.3s;
  }
  .nav__list a:after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
    transition: -webkit-transform 0.1s;
    transition: transform 0.1s;
    transition: transform 0.1s, -webkit-transform 0.1s;
  }
}
@media (max-width: 1100px) {
  .nav__list {
    text-align: center;
  }
  .nav__list a {
    padding-top: 24px;
    padding-bottom: 24px;
    position: relative;
  }
  .nav__list a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border) 50%, transparent);
  }
}

.dropdown {
  position: relative;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1;
}
.dropdown.is-active .dropdown__btn {
  background-color: var(--white);
  color: var(--dark);
  border-color: var(--color-brand);
}
.dropdown.is-active .dropdown__btn:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.dropdown.is-active .dropdown__menu {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dropdown__btn {
  border: 1px solid #fff3f3;
  border-radius: 4px;
  padding: 4px 8px 4px 9px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 3.375rem;
  position: relative;
  z-index: 10;
  transition: all 0.3s;
}
.dropdown__btn:hover {
  background-color: var(--white);
  color: var(--color-brand);
}
.dropdown__btn:after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.dropdown__menu {
  list-style: none;
  padding: 0;
  margin: -8px 0 0;
  position: absolute;
  top: 100%;
  left: 0;
  box-shadow: 0 2px 14px 0 rgba(73, 91, 147, 0.07);
  border-radius: 0 0 4px 4px;
  background-color: var(--white);
  border: 1px solid var(--color-brand);
  text-transform: uppercase;
  width: 100%;
  padding-top: 10px;
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s;
}
.dropdown__menu li {
  padding: 3px 7px;
  color: var(--color-txt);
  cursor: pointer;
  transition: all 0.3s;
}
.dropdown__menu li:hover {
  background-color: var(--bg-hover);
  color: var(--color-brand);
}
.dropdown-group {
  display: flex;
  gap: 10px;
}

.connect-btn {
  border: 1px solid #fff3f3;
  border-radius: 6px;
  padding: 6px 16px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.28);
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 0.882em;
  font-weight: 600;
  transition: all 0.3s;
}
.connect-btn:hover, .connect-btn.is-active {
  background-color: var(--white);
  color: var(--color-brand);
}
.connect-btn__icon {
  width: 19px;
  height: 18px;
  flex-shrink: 0;
  margin-right: 10px;
}
.connect-btn__icon svg, .connect-btn__icon img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
@media (max-width: 1280px) {
  .connect-btn__txt.desktop-only {
    display: none;
  }
}
@media (min-width: 1281px) {
  .connect-btn__txt.mobile-only {
    display: none;
  }
}

.burger {
  width: 40px;
  height: 32px;
  position: relative;
  transition: all 0.4s;
  flex-shrink: 0;
  background-color: transparent;
  padding: 0;
  border: none;
}
.burger span {
  top: 2px;
  left: 0;
  right: 0;
  transition: background-color 0s linear 0.13s;
  display: block;
  border-radius: 2px;
}
.burger span, .burger span:before, .burger span:after {
  position: absolute;
  height: 2px;
  transition-timing-function: ease;
  transition-duration: 0.15s;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  background-color: var(--white);
}
.burger span:before, .burger span:after {
  display: block;
  content: "";
}
.burger span:before {
  left: 40%;
  width: 60%;
  top: 13px;
  transition: top 0.1s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s, -webkit-transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: top 0.1s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s, transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: top 0.1s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s, transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.burger span:after {
  width: 100%;
  top: 25px;
  transition: top 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s, -webkit-transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: top 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s, transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: top 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s, transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.burger.is-active span {
  top: 7px;
  transition-delay: 0.22s;
  background-color: transparent !important;
}
.burger.is-active span:before {
  top: 0;
  left: 0;
  width: 100%;
  transition: top 0.1s cubic-bezier(0.33333, 0, 0.66667, 0.33333) 0.15s, -webkit-transform 0.13s cubic-bezier(0.215, 0.61, 0.355, 1) 0.22s;
  transition: top 0.1s cubic-bezier(0.33333, 0, 0.66667, 0.33333) 0.15s, transform 0.13s cubic-bezier(0.215, 0.61, 0.355, 1) 0.22s;
  transition: top 0.1s cubic-bezier(0.33333, 0, 0.66667, 0.33333) 0.15s, transform 0.13s cubic-bezier(0.215, 0.61, 0.355, 1) 0.22s, -webkit-transform 0.13s cubic-bezier(0.215, 0.61, 0.355, 1) 0.22s;
  -webkit-transform: translate3d(0, 7px, 0) rotate(45deg);
  transform: translate3d(0, 7px, 0) rotate(45deg);
}
.burger.is-active span:after {
  top: 0;
  left: 0;
  transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), -webkit-transform 0.13s cubic-bezier(0.215, 0.61, 0.355, 1) 0.22s;
  transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s cubic-bezier(0.215, 0.61, 0.355, 1) 0.22s;
  transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s cubic-bezier(0.215, 0.61, 0.355, 1) 0.22s, -webkit-transform 0.13s cubic-bezier(0.215, 0.61, 0.355, 1) 0.22s;
  -webkit-transform: translate3d(0, 7px, 0) rotate(-45deg);
  transform: translate3d(0, 7px, 0) rotate(-45deg);
}
@media (min-width: 1101px) {
  .burger {
    display: none;
  }
}

.connect-modal {
  position: absolute;
  z-index: 999;
  width: 17.5rem;
  border-radius: 6px;
  border: 1px solid var(--color-brand);
  background-color: var(--white);
  padding: 30px;
  right: 20px;
  top: 68px;
  text-align: center;
  display: flex;
  flex-direction: column;
  row-gap: 11px;
  transition: all 0.4s;
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.connect-modal.is-show {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.connect-modal__title {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--dark);
}
.connect-modal__txt {
  font-size: 0.9375rem;
}
.connect-modal__close {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 0;
  right: 0;
  background-color: transparent;
  border: none;
  color: var(--color-second);
  transition: all 0.3s;
}
.connect-modal__close:hover {
  color: var(--color-brand);
}

.connect-list {
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
}
.connect-list a:hover {
  opacity: 0.8;
}

/* HEADER-BOTTOM */
.header-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
.header-bottom {
  background-color: var(--white);
  border-bottom: 1px solid var(--bg-body);
  box-shadow: 0 2px 14px 0 rgba(73, 91, 147, 0.07);
}
.header-bottom__grid {
  display: flex;
  gap: 39px;
}
.header-bottom__fluid {
  flex-grow: 1;
  min-width: 1px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.header-bottom__group {
  display: flex;
  margin-left: auto;
}
.header-bottom__item {
  display: flex;
  align-items: center;
  margin-right: 12px;
}
.header__btn {
  display: flex;
  align-items: center;
  padding: 5px 12px;
  color: var(--color-placeholder);
  position: relative;
  transition: all 0.3s;
}
.header__btn:hover {
  background-color: var(--bg-hover);
  color: var(--color-hover);
}
.header__btn-val {
  position: absolute;
  z-index: 5;
  right: 0;
  top: 10px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-brand);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  padding-top: 1px;
  box-shadow: 0 2px 4px 0 rgba(213, 40, 43, 0.22);
}
@media (min-width: 1025px) {
  .header-bottom .mobile-only {
    display: none;
  }
}
@media (max-width: 1100px) {
  .header-bottom__grid {
    gap: 20px;
  }
}
@media (max-width: 1024px) {
  .header-bottom .desktop-only {
    display: none;
  }
}
@media (max-width: 950px) {
  .header-bottom__fluid {
    display: none;
  }
}
@media (max-width: 767px) {
  .header__btn {
    padding-left: 5px;
    padding-right: 5px;
  }
  .header__btn-val {
    top: 3px;
  }
  .header__btn svg, .header__btn img {
    width: 24px;
    height: 24px;
    -o-object-fit: contain;
    object-fit: contain;
  }
}
@media (max-width: 575px) {
  .header-bottom__grid {
    gap: 10px;
  }
  .header-bottom__item {
    margin-right: 5px;
  }
  .header-bottom .button {
    font-size: 0.8125rem;
    padding: 5px 9px;
    height: 2.5rem;
  }
}

.header-catalog {
  width: 24.072%;
  min-width: 122px;
  position: relative;
}
.header-catalog__btn {
  height: 4.375rem;
  border: none;
  border-right: 1px solid var(--bg-body);
  border-left: 1px solid var(--bg-body);
  background-color: transparent;
  padding: 5px 18px 5px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  flex-shrink: 0;
  color: var(--dark);
  transition: all 0.3s;
}
.header-catalog__btn:hover {
  background-color: var(--bg-hover);
}
.header-catalog__btn-title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.125rem;
}
.header-catalog__btn-icon {
  color: var(--color-placeholder);
  margin-left: auto;
}
.header-catalog__btn-icon svg {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  display: block;
  transition: all 0.3s;
}
@media (min-width: 901px) {
  .header-catalog.is-active .header-catalog__btn {
    background-color: var(--color-brand);
    color: var(--white);
  }
  .header-catalog.is-active .header-catalog__btn-icon {
    color: inherit;
  }
  .header-catalog.is-active .header-catalog__btn-icon svg {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
  .header-catalog.is-active .header-catalog__dropdown {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .header-catalog__dropdown {
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0;
    width: 400%;
    min-width: 311px;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s;
    background: background: rgba(0, 0, 0, 0);;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
    scrollbar-width: none;     
    -ms-overflow-style: none;
  }
  .header-catalog__dropdown-inner{
    width: 25%;
    background: #fff;
  }
  .header-catalog__dropdown::-webkit-scrollbar {
    display: none;
  }
  .nav-catalog__list > li {
    position: relative;
  }

  .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 300px;
    z-index: 200;
  }
}
@media (max-width: 900px) {
  .header-catalog__dropdown {
    position: fixed;
    z-index: 99999;
    inset: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(0, 3, 30, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    padding: 15px 0;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
    -webkit-transform: translateX(-120%);
    transform: translateX(-120%);
  }
  .header-catalog__dropdown.is-show {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  .header-catalog__dropdown-inner {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
  }
}
@media (max-width: 767px) {
  .header-catalog__btn {
    height: 3.75rem;
    padding-left: 15px;
    padding-right: 13px;
    gap: 12px;
  }
  .header-catalog__btn-title {
    font-size: 1rem;
  }
}

/* SEARCH */
.search {
  display: flex;
  height: 40px;
  border: 1px solid var(--color-placeholder);
  border-radius: 50px;
  background-color: var(--white);
  overflow: hidden;
}
.search_md {
  height: 50px;
}
.search__input, .search__btn {
  height: 100%;
  border: none;
  background-color: transparent;
}
.search__input {
  width: 100%;
  padding-left: 20px;
  padding-right: 0;
}
.search__btn {
  flex-shrink: 0;
  width: 47px;
  padding: 0;
  color: var(--color-placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.search__btn:hover {
  color: var(--color-brand);
}

.search-target {
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  color: var(--white);
  background-color: transparent;
  padding: 0;
  border: none;
}
@media (min-width: 951px) {
  .search-target {
    display: none;
  }
}

.search-mobile {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  padding-top: 80px;
  transition: all 0.3s;
}
.search-mobile.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.search-mobile.is-show .search-mobile__container {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.search-mobile__container {
  padding-top: 9px;
  -webkit-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.search-mobile__bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-color: var(--dark);
  opacity: 0.5;
}
@media (min-width: 951px) {
  .search-mobile {
    display: none;
  }
}
@media (max-width: 950px) {
  .search-mobile {
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* NAV-CATALOG */
.nav-catalog-btn {
  border-radius: 6px 6px 0 0;
  background-color: var(--color-brand);
  color: var(--white);
  padding: 21px 14px 18px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  width: 100%;
  border: none;
}
.nav-catalog-btn__title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.125rem;
}
@media (min-width: 901px) {
  .nav-catalog-btn {
    display: none;
  }
}
.nav-catalog-panel {
  border-radius: 6px 6px 0 0;
  background-color: var(--color-brand);
  color: var(--white);
  padding: 19px 20px;
}
.nav-catalog ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-catalog a {
  text-decoration: none;
}
.nav-catalog > ul > li:last-child > a {
  border-radius: 0 0 8px 8px;
}
.nav-catalog > ul > li:hover > a {
  position: relative;
  z-index: 5;
  border-color: var(--color-brand);
  background-color: var(--bg-hover);
}
.nav-catalog > ul > li:hover > a .nav-catalog__icon {
  color: var(--color-brand);
}
.nav-catalog > ul > li.is-current {
  pointer-events: none;
}
.nav-catalog > ul > li.is-current > a {
  background-color: var(--bg-hover);
}
.nav-catalog > ul > li.is-current > a .nav-catalog__icon {
  color: var(--color-brand);
}
.nav-catalog > ul > li > a {
  display: flex;
  align-items: center;
  padding: 14px 25px 14px 14px;
  background-color: var(--white);
  border: 1px solid var(--color-border);
  color: var(--dark);
  margin-top: -1px;
}
.nav-catalog__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-placeholder);
  margin-right: 9px;
  transition: all 0.3s;
}
.nav-catalog__icon svg, .nav-catalog__icon img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.nav-catalog__media {
  aspect-ratio: 1;
  max-width: 70px;
  border-radius: 6px;
  overflow: hidden;
}
.nav-catalog__media img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.nav-catalog__caption {
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9375rem;
}

.has-submenu > a {
  position: relative;
}
.has-submenu > a:after {
  content: "";
  position: absolute;
  z-index: 10;
  right: 15px;
  top: 50%;
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--color-border);
  border-right: 2px solid var(--color-border);
}
.has-submenu ul {
  display: flex;
  flex-wrap: wrap;
  background-color: var(--white);
  overflow: hidden;
}
.has-submenu ul > li {
  width: 33.333%;
}
.has-submenu ul > li > a {
  padding: 23px 15px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  row-gap: 15px;
  border-bottom: 1px solid var(--bg-hover);
  border-right: 1px solid var(--bg-hover);
}
.has-submenu ul > li > a:hover {
  background-color: var(--bg-hover);
}
@media (min-width: 901px) {
  .has-submenu {
    position: relative;
  }
  .has-submenu:hover a:after {
    border-color: var(--color-brand);
  }
  .has-submenu:hover .submenu {
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .has-submenu:nth-child(1) .submenu, .has-submenu:nth-child(2) .submenu {
    top: 0;
    -webkit-transform: translate(20px, 0);
    transform: translate(20px, 0);
  }
  .has-submenu:nth-child(1):hover .submenu, .has-submenu:nth-child(2):hover .submenu {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  .has-submenu ul {
    border-radius: 6px;
    border: 1px solid var(--color-brand);
  }
}
@media (max-width: 900px) {
  .has-submenu ul {
    border-radius: 0 0 6px 6px;
  }
  .has-submenu ul > li {
    width: 50%;
  }
}

@media (max-width: 1100px) {
  .nav-show {
    overflow: hidden;
  }
}
.submenu__header {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-brand);
  background-color: var(--bg-hover);
  padding: 12px 16px 11px;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-brand);
}
.submenu__header-btn {
  color: var(--color-brand);
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  background-color: transparent;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1;
}
.submenu__header-btn svg {
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
}
.submenu__header-title {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 9px;
  font-size: 1.0625rem;
  color: var(--dark);
}
.submenu__header-title svg {
  flex-shrink: 0;
  max-width: 28px;
  color: var(--color-brand);
}
@media (min-width: 901px) {
  .submenu {
    position: absolute;
    z-index: 99;
    left: 100%;
    top: 50%;
    margin-left: -1px;
    width: 492px;
    transition: all 0.3s;
    -webkit-transform: translate(20px, -50%);
    transform: translate(20px, -50%);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .submenu__header {
    display: none;
  }
}
@media (max-width: 900px) {
  .submenu {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    border-radius: 6px;
    border: 1px solid var(--color-brand);
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    -webkit-transform: translateX(-120%);
    transform: translateX(-120%);
    overflow: hidden;
    overflow-y: auto;
  }
  .submenu.is-show {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

/* BREACRUMBS */
.breadcrumbs {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  font-size: 0.8125rem;
  color: var(--footer-border);
}
.breadcrumbs li {
  display: inline;
  vertical-align: middle;
}
.breadcrumbs li:first-child {
  display: inline-block;
}
.breadcrumbs li:first-child a {
  text-decoration: none;
}
.breadcrumbs li:not(:first-child) {
  padding-left: 2px;
}
.breadcrumbs li:not(:last-child) {
  padding-right: 11px;
  background: url("../img/icons/corner.svg") no-repeat 100% 50%;
}
.breadcrumbs a {
  color: inherit;
}
.breadcrumbs a svg {
  color: var(--color-brand);
  display: inline-block;
}

/* SECTION */
.section {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 767px) {
  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
.section_bg {
  background-color: var(--white);
}
.section-intro {
  padding-bottom: 42px;
}
.section-header {
  margin-bottom: 36px;
}
.section-header_centered {
  max-width: 39.875rem;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}
.section-header__title {
  margin-bottom: 0;
}
.section-header__title:after {
  content: "";
  display: block;
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--color-hover) 50%, rgba(255, 255, 255, 0));
  margin: 14px auto 11px;
}
@media (max-width: 767px) {
  .section-header {
    margin-bottom: 24px;
  }
}
.section-top {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}
.section-top__title {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .section-top {
    align-items: center;
  }
  .section-top__end {
    margin-left: auto;
  }
}
@media (max-width: 767px) {
  .section-top {
    flex-direction: column;
    gap: 12px;
  }
  .section-top__title {
    text-align: center;
  }
  .section-top .filter {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
  }
}

.with-border-bottom:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 36px;
  margin-bottom: 36px;
}
@media (max-width: 767px) {
  .with-border-bottom:not(:last-child) {
    padding-bottom: 32px;
    margin-bottom: 32px;
  }
}
.with-border-bottom.grid:not(:last-child) {
  padding-bottom: 70px;
}
@media (max-width: 767px) {
  .with-border-bottom.grid:not(:last-child) {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 50px;
  }
}

.panel {
  background-color: var(--white);
  padding: 23px 20px 30px;
}
.panel__title {
  font-weight: 700;
  font-size: 1.176em;
  color: var(--dark);
  padding-bottom: 0.8em;
  margin-bottom: 0.8em;
  border-bottom: 1px solid var(--bg-body);
}
@media (max-width: 575px) {
  .panel {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 500px) {
  .truncate-mobile {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.read-more {
  color: var(--color-brand);
  text-decoration: underline;
  font-weight: 500;
  margin-top: 12px;
  cursor: pointer;
}
.read-more:hover {
  text-decoration: none;
}
@media (min-width: 501px) {
  .read-more {
    display: none;
  }
}

/* GRID */
.grid__main {
  flex-grow: 1;
  min-width: 1px;
  max-width: 100%;
}
.grid__main-header {
  padding-top: 20px;
}
@media (min-width: 1101px) {
  .grid {
    display: flex;
    gap: 16px;
  }
  .grid__aside {
    width: calc(25% - 12px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
  }
}
@media (max-width: 1100px) {
  .grid .desktop-only {
    display: none;
  }
}

/* PRICE */
.price {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-brand);
  white-space: nowrap;
}
.price_sm {
  font-size: 1.125rem;
}
@media (max-width: 575px) {
  .price {
    font-size: 1.125rem;
  }
  .price_sm {
    font-size: 1rem;
  }
}

.price-old {
  font-size: 1rem;
  text-decoration: line-through;
  color: #aaacb9;
}
.price-old_sm {
  font-size: 0.875rem;
}
@media (max-width: 575px) {
  .price-old {
    font-size: 0.875rem;
  }
  .price-old_sm {
    font-size: 0.75rem;
  }
}

.art {
  font-size: 0.8125rem;
  color: var(--color-placeholder);
}
.art_md {
  font-size: 0.9375rem;
}

/* SPLIDE */
.splide__arrow {
  width: 32px;
  height: 31px;
  background: var(--white);
  opacity: 1;
  transition: all 0.3s;
}
.splide__arrow:hover {
  background-color: var(--color-hover);
}
.splide__arrow:hover svg {
  fill: var(--white);
}
.splide__arrow--next {
  border-radius: 6px 0 0 6px;
  right: 0;
}
.splide__arrow--prev {
  border-radius: 0 6px 6px 0;
  left: 0;
}
.splide__arrow svg {
  width: 12px;
  height: 12px;
  fill: var(--color-hover);
  transition: fill 0.3s;
}
.splide__pagination {
  bottom: calc(var(--pb) * -1);
}
.splide__pagination__page {
  border-radius: 8px;
  background-color: var(--color-placeholder);
  transition: all 0.3s;
  opacity: 1;
}
.splide__pagination__page.is-active {
  background-color: var(--color-brand);
  width: 35px;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.carousel {
  --pb: 36px;
  padding-bottom: var(--pb);
}
@media (max-width: 575px) {
  .carousel {
    --pb: 22px;
  }
  .carousel .splide__arrows {
    display: none;
  }
}

/* FILTER */
.filter {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.filter__btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 9px 15px;
  background-color: var(--white);
  font-weight: 500;
  font-size: 0.8235em;
  line-height: 1.14;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.3s;
}
.filter__btn:hover {
  border-color: var(--color-brand);
  background-color: var(--bg-hover);
}
.filter__btn.is-current {
  border-color: var(--color-brand);
  pointer-events: none;
}

/* ========== FORM ELEMENTS ===========  */
/* form-group */
.form-group {
  display: flex;
  height: 2.75rem;
  border-radius: 6px;
  background-color: var(--white);
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-right: none;
}
.form-group__input, .form-group__button {
  border: none;
  height: auto;
}
.form-group__input {
  background-color: transparent;
  padding: 0 5px 0 15px;
  flex-grow: 1;
  min-width: 1px;
  max-width: 100%;
  font-size: inherit;
}
.form-group__button {
  flex-shrink: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: -1px;
  margin-bottom: -1px;
}

/* radio */
.radio-wrap {
  display: flex;
  flex-direction: column;
  row-gap: 14px;
}
.radio {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.882em;
}
.radio input {
  display: none;
}
.radio input:checked + .radio__mark:before {
  -webkit-transform: scale(1);
  transform: scale(1);
}
.radio__mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--color-placeholder);
  flex-shrink: 0;
  margin-right: 10px;
  position: relative;
}
.radio__mark:before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background-color: var(--color-hover);
  -webkit-transform: scale(0);
  transform: scale(0);
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

/* choice */
.choice {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  cursor: pointer;
}
.choice:hover .choice__content {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.choice input {
  display: none;
}
.choice input:checked + .choice__content {
  border-color: var(--color-brand);
  box-shadow: none;
}
.choice__content {
  display: block;
  color: var(--color-icon);
  font-size: 0.94em;
  line-height: 1.06;
  font-weight: 500;
  border-radius: 44px;
  border: 1px solid var(--color-border);
  padding: 11px 14px;
  text-align: center;
  transition: all 0.3s;
}
@media(min-width: 1310px){
  .choice__content{
    padding: 11px;
  }
}

/* checkbox */
.checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.882em;
  color: var(--footer-border);
}
.checkbox_centered {
  justify-content: center;
}
.checkbox:hover .checkbox__mark {
  border-color: var(--color-hover);
}
.checkbox input {
  display: none;
}
.checkbox input:checked + .checkbox__mark {
  border-color: var(--color-hover);
  background-color: var(--color-hover);
}
.checkbox input:checked + .checkbox__mark svg {
  -webkit-transform: scale(1);
  transform: scale(1);
}
.checkbox__mark {
  width: 22px;
  height: 22px;
  padding: 0 0 1px 1px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-right: 10px;
  transition: all 0.3s;
}
.checkbox__mark svg {
  -webkit-transform: scale(0);
  transform: scale(0);
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

/* custom-select */
.custom-select-wrap {
  position: relative;
}
.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.custom-select-arrow {
  color: var(--color-icon);
  position: absolute;
  right: 15px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  pointer-events: none;
}

.icon-end {
  color: var(--color-icon);
  pointer-events: none;
  position: absolute;
  top: 50%;
  right: 14px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* form */
.form {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}
.form__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.form__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.form__gallery-item {
  width: calc(33.333% - 6px);
  aspect-ratio: 182/150;
  border: 1px solid var(--bg-body);
  border-radius: 6px;
  background-color: var(--white);
  overflow: hidden;
  position: relative;
}
/* .form__gallery-item {
  position: relative;
} */

.form__gallery-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  z-index: 1;
}

.form__gallery-item.is-uploaded .form__gallery-preview {
  display: block;
}

.form__gallery-item.is-uploaded .attach-box__content {
  opacity: 0;
  pointer-events: none;
}

.form__footer {
  padding-top: 16px;
  border-top: 1px solid var(--bg-body);
}

.stars {
  display: flex;
  align-items: center;
}
.stars:hover .stars__item {
  color: var(--color-second);
}
.stars__item {
  cursor: pointer;
  color: var(--color-border);
  display: flex;
  align-items: center;
  padding: 0 1px;
  transition: color 0.3s;
}
.stars__item input {
  display: none;
}
.stars__item:hover ~ .stars__item {
  color: var(--color-border);
}
.stars__item.is-active {
  color: var(--color-second);
}

.attach-box {
  display: block;
  width: 100%;
  height: 100%;
  font-size: 0.88em;
  color: var(--color-icon);
  cursor: pointer;
  transition: color 0.3s;
}
.attach-box:hover {
  color: var(--color-brand);
}
.attach-box:hover svg {
  color: inherit;
}
.attach-box:hover .attach-box__content {
  background-color: var(--bg-hover);
}
.attach-box input {
  display: none;
}
.attach-box__content {
  background-color: #f0f2f7;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 11px;
  transition: background-color 0.3s;
}
.attach-box__title {
  width: -webkit-min-content;
  width: min-content;
}
.attach-box svg {
  color: var(--color-placeholder);
  transition: color 0.3s;
}
@media (max-width: 575px) {
  .attach-box__content {
    gap: 5px;
  }
}

/* MARK */
.mark {
  border-radius: 4px;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
  height: 1.714em;
  min-width: 3em;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 1px 3px 0;
}
.mark_new {
  background-color: #467be5;
}
.mark_sale {
  background-color: var(--color-second);
}
.mark_hit {
  background-color: var(--color-hover);
}
.mark_popular {
  background-color: #8b5cf6;
}
.mark_free {
  background-color: #10b981;
}
.mark_sold {
  background-color: #6b7280;
}
.mark_featured {
  background-color: var(--dark);
}
@media (max-width: 575px) {
  .mark {
    font-size: 0.75rem;
  }
}

/* FLATPICKR */
.flatpickr-calendar {
  border-radius: 6px;
  border: 1px solid var(--color-brand);
  box-shadow: 0 4px 69px 0 rgba(79, 87, 143, 0.3);
}
.flatpickr-calendar:before, .flatpickr-calendar:after {
  display: none;
}

.flatpickr-months {
  font-size: 100%;
  background-color: var(--color-brand);
  color: var(--white);
  height: 47px;
  position: relative;
}
.flatpickr-months .flatpickr-month {
  color: inherit;
  font-weight: 600;
  font-size: 18px;
  height: 100%;
}
.flatpickr-months .flatpickr-month .flatpickr-current-month, .flatpickr-months .flatpickr-month .flatpickr-monthDropdown-months {
  font-weight: inherit;
  font-size: 100%;
}
.flatpickr-months .flatpickr-next-month, .flatpickr-months .flatpickr-prev-month {
  height: 100%;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.flatpickr-months .flatpickr-next-month:hover, .flatpickr-months .flatpickr-prev-month:hover {
  color: var(--white);
}
.flatpickr-months .flatpickr-next-month svg, .flatpickr-months .flatpickr-prev-month svg {
  width: 18px;
  height: 18px;
  fill: currentColor !important;
}

.flatpickr-current-month {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: static;
  padding: 0 0 0 20px;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
  text-align: center;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.flatpickr-current-month input.cur-year {
  font-weight: inherit;
}

.flatpickr-monthDropdown-months, .numInputWrapper {
  pointer-events: none;
}

span.flatpickr-weekday {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-placeholder);
}

.flatpickr-day {
  border-radius: 0;
  font-size: 17px;
  color: var(--footer-border);
}

.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover {
  color: var(--color-border);
}

.flatpickr-day.nextMonthDay {
  color: rgba(40, 42, 61, 0.7);
}

.flatpickr-day:hover, .flatpickr-day.prevMonthDay:hover, .flatpickr-day.nextMonthDay:hover, .flatpickr-day:focus, .flatpickr-day.prevMonthDay:focus, .flatpickr-day.nextMonthDay:focus {
  background-color: var(--bg-hover);
  border-color: var(--bg-hover);
}

.flatpickr-day.today {
  border-color: var(--color-brand);
}
.flatpickr-day.today:hover, .flatpickr-day.today:focus {
  background: var(--bg-hover);
  border-color: var(--color-brand);
  color: var(--footer-border);
}

.flatpickr-day.selected {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
}

/* SEO-TEXT */
.seo-text {
  padding: 31px 30px 39px;
}
.seo-text p:not(:last-child) {
  margin-bottom: 11px;
}
@media (max-width: 575px) {
  .seo-text {
    padding: 30px 15px;
  }
}

/* EMPTY-BOX */
.empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.882em;
  color: var(--color-placeholder);
  gap: 12px;
  height: 25.25rem;
}
.empty-box_v1 {
  height: 18.75rem;
}
.empty-box__icon {
  color: var(--color-border);
}
.empty-box__icon svg, .empty-box__icon img {
  display: block;
}
.empty-box__content {
  max-width: 12.5rem;
  margin: 0 auto;
}
@media (max-width: 991px) {
  .empty-box {
    height: 18.75rem;
  }
}

/* FOOTER */
.footer {
  flex: 0 0 auto;
  background-color: var(--dark);
  color: var(--white);
}
.footer__grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.footer__grid-item {
  padding: 60px 0;
}
.footer__block {
  display: flex;
  flex-direction: column;
  row-gap: 26px;
  max-width: 17.625rem;
  height: 100%;
}
.footer__block-bottom {
  margin-top: auto;
}
.footer__logo {
  display: inline-block;
  max-width: 200px;
}
.footer__contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  color: #cbd2dc;
}
.footer__contacts:not(:last-child) {
  margin-bottom: 37px;
}
.footer__contacts li, .footer__contacts a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer a {
  color: inherit;
  text-decoration: none;
}
.footer a:hover {
  color: var(--color-hover);
}
.footer__title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.176em;
  color: inherit;
  margin-bottom: 24px;
}
.footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  font-size: 0.882em;
  color: #cbd2dc;
}
.footer__subs-caption {
  font-size: 1.058em;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer__hr {
  width: 1px;
  background-color: var(--footer-border);
}
.footer__bottom {
  padding: 20px 0;
}
@media (min-width: 576px) {
  .footer__subs {
    width: 100%;
    max-width: 19.4375rem;
  }
  .footer__nav {
    min-width: 8.875rem;
  }
}
@media (max-width: 991px) {
  .footer__grid {
    flex-wrap: wrap;
    gap: 0;
    margin-left: -10px;
    margin-right: -10px;
  }
  .footer__grid-item {
    width: 50%;
    border-bottom: 1px solid var(--footer-border);
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer__hr {
    display: none;
  }
}
@media (max-width: 575px) {
  .footer__grid-item {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .footer .mobile-styled {
    width: 50%;
  }
  .footer__block {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    max-width: 100%;
  }
  .footer__block-item {
    width: 50%;
  }
  .footer__contacts:not(:last-child) {
    margin-bottom: 20px;
  }
  .footer__subs {
    padding-top: 20px;
    border-top: 1px solid var(--footer-border);
  }
}

.copy {
  font-size: 0.88em;
  color: var(--color-icon);
}

/* ANIMATE */
.animate-shake:hover svg {
  -webkit-animation: shake 0.8s;
  animation: shake 0.8s;
}

.animate-pulse:hover svg {
  -webkit-animation: pulse 0.9s;
  animation: pulse 0.9s;
}

.animate-scale:hover svg {
  -webkit-animation: scale 0.6s;
  animation: scale 0.6s;
}

@-webkit-keyframes shake {
  0% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  20% {
    -webkit-transform: scale3d(0.8, 0.8, 0.8) rotate(-5deg);
    transform: scale3d(0.8, 0.8, 0.8) rotate(-5deg);
  }
  50%, 70%, 90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate(5deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate(5deg);
  }
  60%, 80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate(-5deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate(-5deg);
  }
  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}
@keyframes shake {
  0% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  20% {
    -webkit-transform: scale3d(0.8, 0.8, 0.8) rotate(-5deg);
    transform: scale3d(0.8, 0.8, 0.8) rotate(-5deg);
  }
  50%, 70%, 90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate(5deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate(5deg);
  }
  60%, 80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate(-5deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate(-5deg);
  }
  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}
@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  14% {
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
  }
  28% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  42% {
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
  }
  70% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  14% {
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
  }
  28% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  42% {
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
  }
  70% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@-webkit-keyframes scale {
  0% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 1.15, 1.15);
    transform: scale3d(1.15, 1.15, 1.15);
  }
  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}
@keyframes scale {
  0% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 1.15, 1.15);
    transform: scale3d(1.15, 1.15, 1.15);
  }
  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}
/* TO-TOP */
.to-top {
  position: fixed;
  z-index: 9;
  bottom: 15px;
  right: 15px;
  color: var(--color-brand);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(255, 75, 75, 0.15);
  -webkit-transform: scale(0);
  transform: scale(0);
  border: none;
  padding: 0;
  background-color: transparent;
  transition: all 0.3s;
}
.to-top.is-active {
  -webkit-transform: scale(1);
  transform: scale(1);
}
.to-top:hover {
  color: var(--color-hover);
}
.to-top svg {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
@media (max-width: 767px) {
  .to-top {
    bottom: 5px;
    right: 5px;
  }
}

/* BOX-OVERLAY */
.box-overlay {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-color: var(--dark);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s;
}
.box-overlay.is-active {
  z-index: 99;
  opacity: 0.5;
  visibility: visible;
  pointer-events: auto;
}

/* MODAL */
.modal {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  align-items: center;
  display: flex;
  justify-content: center;
  transition: opacity 0.4s, visibility 0.4s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 15px;
}
.modal.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal.is-show .modal__inner {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.modal_lg .modal__inner {
  max-width: 730px;
}
.modal__bg {
  background-color: var(--dark);
  opacity: 0.5;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
}
.modal__inner {
  width: 100%;
  max-width: 638px;
  max-height: 100%;
  overflow: hidden;
  overflow-y: auto;
  position: relative;
  z-index: 10;
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(0, -50%, 0);
  transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
  transition: transform 0.6s, -webkit-transform 0.6s;
  background-color: var(--white);
  box-shadow: 0 2px 14px 0 rgba(73, 91, 147, 0.07);
  border-radius: 6px;
}
.modal__header {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #a8d8a8;
  padding: 4px 3px 4px 20px;
}
.modal__title {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.0588em;
  margin: 0;
}
.modal__close {
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  margin-left: auto;
  border: none;
  background-color: transparent;
  color: #0A8F2F;
  transition: all 0.3s;
}
.modal__close:hover {
  color: var(--color-brand);
}
.modal__body {
  padding: 21px 20px 31px;
  min-height: 400px;
}
@media (max-width: 575px) {
  .modal__body {
    padding-left: 15px;
    padding-right: 15px;
  }
}
.modal-caption {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.94em;
  margin-bottom: 12px;
}
.modal__border-bottom {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bg-body);
  margin-bottom: 16px;
}
.modal__block {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}
.modal-switch-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.modal-switch {
  border: 1px solid var(--color-border);
  background-color: transparent;
  border-radius: 44px;
  padding: 9px 14px;
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
}
.modal-switch span {
  color: var(--color-icon);
}
.modal-switch:hover {
  background-color: var(--bg-hover);
  border-color: var(--color-hover);
}
.modal-switch.is-active {
  border-color: var(--color-brand);
  pointer-events: none;
}
.modal__footer {
  padding-top: 24px;
  border-top: 1px solid var(--bg-body);
}
@media (max-width: 500px) {
  .modal__button {
    width: 100%;
  }
}

.modal-show {
  overflow: hidden;
}

/* HELPERS */
.color-brand {
  color: var(--color-brand);
}

.color-dark {
  color: var(--dark);
}

.color-txt {
  color: var(--color-placeholder);
}

.color-default {
  color: var(--color-txt);
}

.color-green {
  color: #0a8f2f;
}

.bg-white {
  background-color: var(--white);
}

.bold {
  font-weight: 700;
}

.font-400 {
  font-weight: 400;
}

.font-600 {
  font-weight: 600;
}

.font-sm {
  font-size: 0.9375rem;
}

.font-md {
  font-size: 0.9em;
}

.text-up {
  text-transform: uppercase;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.size-inherit {
  font-size: inherit;
}

.text-underline {
  text-decoration: underline;
}

.nowrap {
  white-space: nowrap;
}

.pt-0 {
  padding-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-28 {
  margin-top: 28px;
}

@media (max-width: 991px) {
  .hidden-md {
    display: none;
  }
}
@media (max-width: 767px) {
  .hidden-sm {
    display: none;
  }
}
@media (max-width: 575px) {
  .hidden-xs {
    display: none;
  }
  .ml-auto-xs {
    margin-left: auto;
  }
  .w100-mobile {
    width: 100%;
  }
}
/* min */
@media (min-width: 576px) {
  .visible-xs {
    display: none;
  }
}
@media (min-width: 992px) {
  .visible-md {
    display: none;
  }
}

.currency-select{
  border: none;
  background: transparent;
}

.language-select{
  border: none;
  background: transparent;
  text-transform: uppercase;
}
.cur-language{
  text-transform: uppercase;
}
.form-notice {
  position: fixed;
  top: -300px;
  left: 0;
  right: 0;
  /* height: 50px; */
  line-height: 50px;
  text-align: center;
  font-weight: 600;
  color: #fff;
  z-index: 99999;
  transition: top .3s ease;
  white-space: pre-line;
}

.form-notice.is-success {
  background: #2ecc71;
}

.form-notice.is-error {
  background: #e74c3c;
}

.form-notice.is-visible {
  top: 0;
}

.nav-catalog__icon {
  width: 28px;
  height: 28px;
  display: inline-block;
}

.nav-catalog__icon-img {
  width: 100%;
  height: 100%;
  display: block;
  filter: invert(82%) sepia(7%) saturate(3%) hue-rotate(186deg) brightness(92%) contrast(87%);
}

a.kit-part-link{
  color: var(--color-txt);
}

.d-none{
  display: none;
}

.form-field{
  background: transparent;
  border: none;
}

.w30{
  width: 30%;
}

.w70{
  width: 70%;
}

.w100{
  width: 100%;
}

.list-unstyled{
  display: flex;
}

.list-unstyled li{
  list-style: none;
  padding: 0;
  margin: 0 5px;
}

.list-unstyled li a{
  color: var(--color-brand);
}

.mt-5{
  margin-top: 5px;
}

.tcenter{
  text-align: center;
}

/* Десктоп: ширина контейнера 1/3 экрана, изображение слева, текст справа */
@media (min-width: 992px) {
  .live-search-results {
    position: absolute;
    top: 100%; /* сразу под полем ввода */
    left: 50%; /* центрируем по X */
    transform: translateX(-50%); /* смещаем на половину ширины контейнера */
    width: 33%; /* треть экрана */
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
    max-height: 400px;
    overflow-y: auto;
    padding: 5px 0;
  }

  .live-search-results .live-item {
      display: flex;
      gap: 10px;
      align-items: center;
      padding: 10px;
      border-bottom: 1px solid #f1f1f1;
  }

  .live-search-results .live-item img {
      width: 50px;
      height: 50px;
      object-fit: cover;
      flex-shrink: 0;
  }

  .live-search-results .live-item .item-info {
      display: flex;
      flex-direction: column;
      justify-content: center;
  }
}

@media (max-width: 991px) {
  /* Контейнер модального окна */
  .live-search-results {
      position: absolute;
      top: 100%; /* сразу под input */
      left: 5%;  /* отступ слева 10% */
      width: 90%; /* ширина = 100% - 10% - 10% */
      display: none; /* скрыт по умолчанию */
      max-height: 400px;
      overflow-y: auto;
      background: #fff;
      border: 1px solid #eee;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      z-index: 9999;
      padding: 5px 0;
      border-radius: 4px;
  }

  /* Каждая карточка результата */
  .live-search-results .live-item {
      display: flex;
      flex-direction: row; /* изображение слева, текст справа */
      align-items: center;
      padding: 10px;
      border-bottom: 1px solid #f1f1f1;
      text-decoration: none;
      color: #000;
  }

  .live-search-results .live-item:hover {
      background: #f9f9f9;
  }

  /* Изображение товара */
  .live-search-results .live-item img {
      width: 50px;
      height: 50px;
      object-fit: cover;
      flex-shrink: 0;
      margin-right: 10px;
  }

  /* Блок с названием и ценой */
  .live-search-results .live-item .item-info {
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: left; /* текст слева, не центрируем */
  }

  .live-search-results .live-item .item-info .item-name {
      font-size: 14px;
      font-weight: 500;
      line-height: 1.2;
  }

  .live-search-results .live-item .item-info .item-price {
      font-size: 13px;
      color: #333;
      margin-top: 4px;
  }
}

.product-btn svg {
  fill: none;
  stroke: #000;
}

.product-btn.in-wishlist svg {
  fill: red;
  stroke: red;
}

@media (min-width: 992px) {
  /* 1. Головний контейнер - дозволяємо вільний рух елементів */
  .grid.with-border-bottom {
      display: block !important;
      position: relative !important;
  }
  /* SK: clearfix — контейнер має охоплювати float-сайдбар (інакше каталог
     налазить на футер коли контент короткий, напр. інфо-сторінки) */
  .grid.with-border-bottom::after {
      content: "";
      display: block;
      clear: both;
  }
  /* SK: контент інфо-сторінки (#content.grid__main) робимо BFC-блоком,
     щоб він обтікав float-сайдбар праворуч, а не розтягувався під нього.
     (display:inline вище призначений для товарів категорії, не для тексту) */
  #content.grid__main {
      display: block !important;
      overflow: hidden;
      width: auto !important;
      float: none !important;
  }

  /* 2. Меню - притискаємо вліво */
  .grid__aside {
      float: left !important;
      width: 25% !important; /* Чверть ширини */
      margin-right: 0 !important;
      padding-right: 20px !important;
      display: block !important;
  }

  /* 3. КОНТЕЙНЕР ТОВАРІВ - МАГІЯ */
  /* Прибираємо ширину і робимо його прозорим для float */
  .grid__main {
      display: inline !important; /* Не block, щоб не створювати стіну */
      width: auto !important;
      margin: 0 !important;
      padding: 0 !important;
  }

  /* 4. Фільтри - сортування зверху */
  .filter-line {
      float: right !important;
      width: 75% !important;
      display: flex !important;
      margin-bottom: 20px !important;
  }

  /* 5. Сітка карток - теж робимо "прозорою" */
  .card-grid {
      display: inline !important;
  }

  /* 6. Картка товару - головний елемент */
  .card-grid__item {
      float: left !important;
      /* Робимо 24.8%, щоб 4 в ряд точно влізли */
      width: 24.8% !important; 
      margin: 0 !important;
      padding: 0 10px !important; /* Стандартні відступи */
      box-sizing: border-box !important;
      min-height: 480px !important; /* Щоб не було дірок */
      display: block !important;
  }

  /* 7. Очищення в самому кінці */
  .button-wrap_mt {
      clear: both !important;
      display: block !important;
      width: 100% !important;
      padding-top: 20px;
  }
}

@media (min-width: 992px) {
  /* 1. Вирівнюємо висоту карток, щоб не було "сходинок" і дірок */
  .card-grid__item {
      /* Встановіть мінімальну висоту, яка підходить вашим товарам */
      /* Наприклад, 420px або 450px */
      min-height: 440px !important; 
      margin-bottom: 10px !important; /* Зменшуємо вертикальний відступ між рядами */
      display: flex !important;
      flex-direction: column;
  }

  /* 2. Змушуємо саму картку розтягуватися на всю висоту контейнера */
  .card-grid__item .card {
      height: 100% !important;
      display: flex !important;
      flex-direction: column;
      justify-content: space-between;
      margin-bottom: 0 !important;
  }

  /* 3. Фіксуємо висоту заголовка, щоб кнопки "Купити" були в одну лінію */
  .card__title {
      height: 42px !important; /* Приблизно 2 рядки тексту */
      line-height: 21px !important;
      overflow: hidden;
      margin-bottom: 10px !important;
  }

  /* 4. Прибираємо зайві відступи у контейнера, якщо вони є */
  .card-grid {
      margin-top: 0 !important;
      padding-top: 0 !important;
  }
}

@media (min-width: 992px) {
  /* Знаходимо контейнер кнопки саме в цьому модулі */
  .with-border-bottom .button-wrap.mt-28 {
      clear: both !important; /* Скасовує вплив float від карток */
      display: block !important;
      width: 100% !important;
      float: none !important;
      text-align: center; /* Центрує кнопку, якщо потрібно */
      margin-top: 30px !important;
  }

  /* Якщо всередині посилання а не кнопка, переконаємося що воно по центру */
  .with-border-bottom .button-wrap.mt-28 .button {
      display: inline-flex !important;
  }
}

/* ========== CONTACT PAGE =========== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-box {
  background-color: var(--white);
  border-radius: 8px;
  padding: 28px 32px;
}

@media (max-width: 767px) {
  .contact-box {
    padding: 20px;
  }
}

.contact-box__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.contact-box__title--center {
  text-align: center;
}

.contact-form__field {
  margin-bottom: 16px;
}

.contact-form__label {
  display: block;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  font-size: 0.9375rem;
}

.contact-form__label .required {
  color: var(--color-brand);
}

.contact-form__input--error {
  border-color: var(--color-brand) !important;
}

.contact-form__submit {
  margin-top: 8px;
}

.contact-info__item {
  margin-bottom: 20px;
}

.contact-info__label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  font-size: 0.9375rem;
}

.contact-info__value {
  color: var(--color-txt);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-info__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

@media (max-width: 575px) {
  .contact-info__cols {
    grid-template-columns: 1fr;
  }
}

.contact-info__link {
  color: var(--color-brand);
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-info__phone {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-info__link:hover {
  opacity: 0.75;
}

/* ========== LOGIN PAGE =========== */
.login-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.login-forgotten {
  margin-bottom: 20px;
}

.login-link {
  color: var(--color-brand);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: opacity 0.2s;
}

.login-link:hover {
  opacity: 0.75;
}

.login-submit {
  width: 100%;
  justify-content: center;
}

.login-register-text {
  color: var(--color-txt);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ========== COMPARE PAGE =========== */
.sc-table-compare {
  table-layout: fixed;
  width: 100%;
}

.sc-table-compare td {
  word-wrap: break-word;
  white-space: normal;
  min-width: 0;
}

.sc-table-compare-cols-2 td { width: 50%; }
.sc-table-compare-cols-3 td { width: 33.33%; }
.sc-table-compare-cols-4 td { width: 25%; }
.sc-table-compare-cols-5 td { width: 20%; }


/* SK: широкий контейнер на великих екранах (1920), на 1440 без змін */
@media (min-width: 1600px) {
  .container { max-width: 1860px; }
}
