html {
  overflow-x: hidden;
}

.product-gallery .swiper {
  width: 100% !important;
  max-width: 748px !important;
}

.product-gallery .swiper-wrapper {
  width: 100% !important;
  display: flex !important;
}

@media (min-width: 768px) {
  .product-gallery .swiper-slide {
    flex-shrink: 0;
    width: 100% !important;
  }
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: inherit !important;
}

.no-scroll {
    position: fixed !important;
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    top: 0;
    left: 0;
}

.hidden-important {
  display: none !important;
}

input[type="checkbox"]:checked + div svg {
  display: block !important;  /* Принудительно показываем галочку */
  opacity: 1 !important;  /* Делаем её видимой */
}

/* По умолчанию скрываем галочку */
input[type="checkbox"] + div svg {
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

/* Проверяем, что чекбокс окрашивается */
input[type="checkbox"]:checked + div {
  background-color: #56937B !important;
  border-color: #56937B !important;
}

/* При ховере обводка чекбокса меняется */
input[type="checkbox"]:hover + div {
  border-color: #56937B !important;
}

/* Исправляем фокусную подсветку */
input[type="checkbox"]:focus-visible + div {
  box-shadow: 0 0 0 2px #56937B !important;
  outline: none;
}

.font-onest {
  font-family: 'Onest', sans-serif;
}
.font-light {
    font-weight: 300; /* Или другое значение, если шрифт поддерживает */
}
.font-regular {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}
.dashed-link {
  border-bottom: 1px dashed #9595A4;
  text-decoration: none;
}
.dashed-link:hover {
  text-decoration: none;
  color: #56937B;
}
.line-through {
  text-decoration: line-through;
}
.dash-border-bottom {
  border-bottom: 1px dashed #9595A4;
}
.btn:hover {
  background-color: #457a64 !important;
}
.btn-secondary:hover {
  background-color: #a38f7d !important;
}
.btn-link:hover {
  color: #457a64 !important;
  text-decoration: underline;
}

/* Чтобы скрывать/показывать выпадающие списки селектов */
.select-options {
  display: none;
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  background-color: #fff;
  border: 1px solid #D0D0DD;
  border-top: none;
  border-radius: 0 0 6px 6px;
}
.select-options.open {
  display: block;
}
.arrow {
  transition: transform 0.2s;
}
.arrow.rotate-180 {
  transform: rotate(180deg);
}
.toggle-text { cursor: pointer; transition: color 0.2s; }
.toggle-text:hover { color: #999; }
.stars-large svg {
    width: 32px;
    height: 30px;
}
.seo-text {
  max-height: 72px; /* Пример ограничения высоты */
  overflow: hidden;
  transition: max-height 0.2s ease-in-out;
}
.expanded {
  max-height: 100%; /* Раскрываем на полную высоту */
}
@media (max-width: 1440px) {
  /* Принудительно переопределяем направление флекс-контейнера на колонку */
  .responsive-options-container {
    flex-direction: column !important;
    /* при необходимости можно задать другой gap */
    gap: 20px;
  }
  /* Обнуляем ограничения по ширине для каждой колонки */
  .responsive-options-container > div {
    width: 100% !important;
  }
  /* Для правой колонки убираем max/min ширину */
  .right-column {
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/* Карточка */
.card-product {
  transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Плавное изменение */
  <!-- max-width:320px;
  min-width:284px;
  width:auto; -->
}

/* Скрываем карточки без скачков */
.card-product[style*="visibility: hidden"] {
  opacity: 0;
  position: absolute;
}

.bg-stripes {
  background-color: #EF6C26;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.2) 0,
    rgba(255, 255, 255, 0.2) 10px,
    transparent 10px,
    transparent 30px
  );
  background-size: 40px 40px;
  animation: move-stripes 1s linear infinite;
}

@keyframes move-stripes {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 0;
  }
}

@layer components {
  .swiper-pagination-bullet {
    @apply w-3 h-3 rounded-full bg-[#b0b0b0] border-2 border-white opacity-100 transition-all duration-300;
  }

  .swiper-pagination-bullet-active {
    @apply w-4 h-4 bg-white border-2 border-white;
  }
}


.iti--separate-dial-code .iti__selected-flag {
    background-color: rgb(255, 255, 255) !important;
}

.grecaptcha-badge {
    visibility: hidden;
}

@media (max-width: 760px) {
  .responsive-stroke {
    stroke-width: 1.2;
  }
}

.iti.iti--allow-dropdown.iti--separate-dial-code.ag-countrymask {
  width: 100% !important;
  height: 100% !important;
  display: flex;
  align-items: center;
}

.main-swiper .swiper-slide {
  margin: 0 !important;
}

.scrollbar-custom {
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f5f5f5;
}

.scrollbar-custom::-webkit-scrollbar {
  width: 8px;
}

.scrollbar-custom::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.scrollbar-custom::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
  border-radius: 10px;
  border: 2px solid #f5f5f5;
}
.iti__selected-flag {
  border-radius: 0.375rem; /* соответствует Tailwind rounded-md */
}

.filter_preloader_navigation {
    width: 100px;
    height: 100px;
    margin: 60px auto;
    position: relative;
    border: 6px solid transparent;
    border-top: 6px solid #56937B;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    display: block;
}

.filter_preloader_navigation::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border: 6px solid transparent;
    border-top: 6px solid #7CAF91; /* светлее 56937B */
    border-radius: 50%;
    animation: spin 3s linear infinite;
}

.filter_preloader_navigation::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    border: 6px solid transparent;
    border-top: 6px solid #3E6B5D; /* темнее 56937B */
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
