
 .product-card .price {
        font-size: 24px;
        color:green !important;
    }

.divider-parallax {
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  min-height: 400px; /* подставь свою высоту */
}
.divider .container{
  padding-top: 90px;
  padding-bottom: 90px;
}
.main-slider {
  width: 100%;
  height: 450px;
}

.swiper-slide {
  position: relative;
}

.blog-details h2,h3{font-size:24px!important}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-5); color: #fff;
  max-width: 450px;
}
 

.slide-content h1 {
  font-size: 40px;
  margin-bottom: 10px;
  margin-top:-180px!important;
}

.slide-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.slide-content .btn {
  background: #f9b000;
  padding: 12px 25px;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}
.swiper-button-next,
.swiper-button-next { outline: 3px solid red; }

.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 1;
}
.product-big-img .fade-slider{
  height: 883px !important;
vertical-align: top;
}
 

.product-big-img .fade-slider > img{
  width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: top; /* или middle / bottom */
}


 

.product-big-img .fade-slider > img.active{
  opacity: 1 !important;
}

.row.products-row {
  --bs-gutter-x: 10px; /* Было 30px (или стандарт), станет 10px */
  --bs-gutter-y: 15px; /* Ваше значение 30px меняем на 15px */
}

/* Растягиваем контейнер на всю ширину */
  .ot-product, .product-grid, .img-box {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Картинка заполняет всё место */
  .img-box img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    aspect-ratio: 1/1;
  }
  /* Убираем дырки в сетке */
  .row { --bs-gutter-x: 10px; }


.img-wrap:hover img{
  transform: scale(1.48);
}

.lang-switcher {
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
    gap: 5px;
}

.lang-btn {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    padding: 5px 8px;
    transition: all 0.3s ease;
    border-radius: 4px;
}
/* Цвет при наведении и для активного языка */
.lang-btn:hover, .lang-btn.active {
    background-color: #10428c;
    color: #fff;
}
.separator {
    color: #ccc;
    font-size: 12px;
}
.img-wrap:hover img{
  transform: scale(1.48);
}
.fade-slider {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 10px;
}



.fade-slider img.active {
    opacity: 1;
}
.text-wrapp {
  max-width: 600px;
 
}
.text-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.conclusion {
  max-width: 800px;
}

/* 📱 Мобилка */
@media (max-width: 768px) {
  .main-slider .swiper-slide {
    height: 340px;           /* под мобилу */
    border-radius: 14px;
  }

  .main-slider .slide-content {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }

  .main-slider .slide-content .hero-title {
    font-size: 24px;
  }

  .main-slider .box-title {
    font-size: 14px;
    margin-bottom: 12px;
  }

  /* стрелки на мобиле часто мешают */
  .main-slider .swiper-button-prev,
  .main-slider .swiper-button-next {
    display: none;
  }
  
  .lang-btn {
    padding: 2px 3px;
    transition: all 0.3s ease;
    border-radius: 4px;
}
}

.prod-title {
    min-height: calc(1.2em * 4); /* 2 строки */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}
.prod-t {
    min-height: calc(1.2em * 6); /* 2 строки */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}
.text-b {color:#10428c;}
.glowing-text {
    color: #fff; /* Цвет самого текста */
    text-shadow:
        0 0 5px #10428c, /* Белая тень (ближе к тексту) */
        0 0 10px #10428c; /* Чуть дальше */
     
    font-size: 4em;
    font-family: sans-serif; /* Пример шрифта */
}
.gloving-text {
    color: #fff; /* Цвет самого текста */
    text-shadow:
        0 0 5px #fff, /* Белая тень (ближе к тексту) */
        0 0 10px #fff, /* Чуть дальше */
        0 0 20px #0ff, /* Голубая тень для эффекта сияния */
        0 0 40px #0ff, /* Более широкая голубая */
        0 0 80px #0ff; /* Еще шире для яркости */
    font-size: 4em;
    font-family: sans-serif; /* Пример шрифта */
}

.produc {
      padding-left: 30px; /* или 40px */
}

.produc50 {
      padding-left: 50px; /* или 40px */
      margin-top:60px;
}
 .opis > p {
     text-align: left;
     line-height: 1.2!important;
   padding-top:20px;
}
.video-box {
    width: 100%;
    height: 683px;
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.miniQtyRow{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:8px;
  flex-wrap:wrap;
}
.qty-btn{
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid #e6e6e6;
  background:#fff;
  font-weight:700;
  line-height:1;
}
.miniPrice{
  color:#5b6773;
  font-weight:600;
}

.cart-undo-bar{
  display:none;
  margin:10px 0 12px;
  padding:10px 12px;
  background:#fff7e6;
  border:1px solid #ffd59a;
  border-radius:12px;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.cart-undo-bar.show{
  display:flex;
}
.cart-undo-bar button{
  border:none;
  background:#10428c;
  color:#fff;
  padding:8px 12px;
  border-radius:10px;
  font-weight:700;
}
.category-card3 .box-img video {
    width: 140px; /* Укажите ширину, которая используется для картинок */
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
}

   /* Стили секции с иконками (как на картинке) */
        .info-section {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            margin-top: 50px;
            gap: 20px;
        }
        .info-card {
            background: #fff;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            width: 300px;
            text-align: center;
        }
        .info-card img { width: 80px; margin-bottom: 20px; }
        .info-card h3 { font-size: 18px; margin-bottom: 15px; color: #333; }
        .info-card p { font-size: 14px; color: #666; line-height: 1.5; }
        .step-num {
            background: var(--primary-color);
            color: #fff;
            width: 30px; height: 30px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 15px;
        }
        
 
    .section-title {
        text-align: center;
        font-size: 28px;
        color: #333;
        margin-bottom: 40px;
    }
    .efficiency-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 20px;
    }
    .efficiency-item {
        display: flex;
        align-items: flex-start;
        padding: 20px;
        background: #fdfdfd;
        border-radius: 12px;
        transition: transform 0.3s ease;
        border: 1px solid #f0f0f0;
    }
    .efficiency-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    .icon-wrapper {
        min-width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    .efficiency-item p {
        margin: 0;
        font-size: 15px;
        color: #555;
        line-height: 1.4;
    }      
      /* ИНФОРМАЦИОННЫЕ БЛОКИ (МАССАЖЕР И ТОНОМЕТР) */
        .info-block { background: var(--bg-light); border-radius: 30px; padding: 50px 30px; margin-bottom: 60px; }
        .step-grid { display: flex; justify-content: space-between; gap: 20px; }
        .step-card { 
            background: #fff; padding: 40px 25px; border-radius: 20px; flex: 1; 
            text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }
        .step-num { 
            background: var(--primary-green); color: #fff; width: 35px; height: 35px; 
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            margin: 0 auto 20px; font-weight: bold;
        }
        .step-card h3 { font-size: 18px; margin-bottom: 15px; min-height: 50px; display: flex; align-items: center; justify-content: center; }
        .step-card p { font-size: 14px; color: var(--text-gray); }
        .icon-box { height: 80px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
        .icon-box img { max-height: 100%; }  
        /* Сайдбар ниже Bootstrap modal */
.sidemenu-wrapper.sidemenu-cart { z-index: 1040 !important; }

/* Bootstrap modal выше */
.modal { z-index: 1055 !important; }
.modal-backdrop { z-index: 1050 !important; }
 .accuracy-section {
        padding: 40px 0;
        background-color: #fff;
    }
    .accuracy-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }
    .accuracy-item {
        display: flex;
        align-items: center;
        background: #f9fdfc;
        padding: 20px;
        border-radius: 12px;
        border: 1px solid #e0f2f0;
        transition: all 0.3s ease;
    }
    .accuracy-item:hover {
        border-color: #00a896;
        box-shadow: 0 4px 12px rgba(0, 168, 150, 0.1);
    }
    .accuracy-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
        flex-shrink: 0;
    }
    .accuracy-content p {
        margin: 0;
        font-size: 14px;
        color: #444;
        line-height: 1.4;
        font-weight: 500;
    }
    
      .therapy-belt-section { font-family: 'Inter', sans-serif; padding: 60px 20px; line-height: 1.6; }
   
    .problem-box { border-left: 4px solid #ff4d4d; padding-left: 20px; margin-bottom: 40px; }
    .title { color: #333; font-size: 28px; }
    
    .warning-box { background: #fff5f5; padding: 15px; border-radius: 8px; color: #cc0000; margin-top: 20px; }
    
    .solution-box { background: #e6f7f5; padding: 30px; border-radius: 15px; text-align: center; margin-bottom: 40px; }
    .solution-box h2 { color: #00a896; margin-top: 0; }
    
    .results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
    .result-item { padding: 20px; background: #f9f9f9; border-radius: 12px; border: 1px solid #eee; }
    .result-item .time { display: block; font-weight: bold; color: #00a896; margin-bottom: 10px; font-size: 18px; }
    .result-item.highlight { border: 2px solid #00a896; background: #f0fdfa; }
    
    
    
     /* В модалке оформления — прячем фото */
  #checkoutModal #checkoutCartBox img { display:none !important; }

  /* Чуть компактнее список */
  #checkoutModal #checkoutCartBox .woocommerce-mini-cart-item a { display:inline-block; padding-left:0; }
    
    

  .chk-inp{
    width:100%;
    border:1px solid rgba(0,0,0,.08);
    background:#fff;
    border-radius:18px;
    padding:14px 16px;
    font-size:16px;
    outline:none;
  }
  .chk-inp:focus{ border-color: rgba(46,108,255,.35); box-shadow: 0 0 0 3px rgba(46,108,255,.12); }
  .chk-btn{
    border:0;
    background:#2e6cff;
    color:#fff;
    border-radius:999px;
    padding:14px 18px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
  }
  .chk-btn2{
    border:0;
    background:#fff;
    color:#111;
    border-radius:999px;
    padding:14px 18px;
    font-size:16px;
    cursor:pointer;
  }
  .pay-opt{
    background:#fff;
    border-radius:18px;
    padding:14px 16px;
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    border:1px solid rgba(0,0,0,.06);
  }
  .pay-opt input{ transform:scale(1.1); }

 .checkout-modal{border-radius:24px; overflow:hidden;}
.checkout-grid{display:grid; grid-template-columns: 1.1fr 0.9fr; gap:0; min-height:560px;}
.checkout-left{padding:26px; background:#fff;}
.checkout-right{padding:26px; background:#efeff2;}
.checkout-h{font-size:44px; margin:0 0 18px; font-weight:800; color:#2f3a45;}
.checkout-field{margin-bottom:14px;}
.checkout-field label{display:block; font-size:16px; color:#54616e; margin-bottom:6px; font-weight:600;}
.checkout-input,.checkout-textarea{
  width:100%; border:1px solid #e6ebf0; background:#fff; border-radius:18px;
  padding:16px 18px; outline:none; font-size:18px;
}
.checkout-textarea{min-height:140px; resize:vertical;}
.checkout-actions{display:flex; gap:14px; margin-top:16px; align-items:center;}
.checkout-btn{
  background:#2d67ff; color:#fff; border:0; border-radius:999px;
  padding:18px 26px; font-size:18px; font-weight:800; cursor:pointer;
}
.checkout-btn:disabled{opacity:.6; cursor:not-allowed;}
.checkout-cancel{
  background:#fff; border:0; border-radius:999px; padding:18px 26px; font-size:18px;
  box-shadow:0 0 0 1px #e6ebf0 inset;
}
.choice-box{display:flex; flex-direction:column; gap:14px;}
.choice-item{
  display:flex; align-items:center; justify-content:space-between;
  background:#fff; border-radius:18px; padding:18px 18px; cursor:pointer;
  box-shadow:0 0 0 1px #e6ebf0 inset;
}
.choice-item input{transform:scale(1.25);}
.delivery-box{background:#fff; border-radius:18px; padding:14px 18px; box-shadow:0 0 0 1px #e6ebf0 inset;}
.radio-line{display:flex; align-items:center; gap:12px; padding:10px 0; cursor:pointer;}
.radio-line input{transform:scale(1.25);}
.cart-mini-title{margin-top:18px; font-weight:800; color:#2f3a45;}
.checkout-cartbox{margin-top:10px; max-height:170px; overflow:auto; background:#fff; border-radius:18px; padding:12px; box-shadow:0 0 0 1px #e6ebf0 inset;}
.checkout-cart-item{display:flex; gap:12px; align-items:center; padding:10px 6px; border-bottom:1px solid #f0f2f5;}
.checkout-cart-item:last-child{border-bottom:0;}
.checkout-cart-name{font-weight:700; color:#2f3a45; font-size:16px; line-height:1.2;}
.checkout-cart-sub{color:#607080; font-size:14px;}
.checkout-total{margin-top:14px; padding-top:12px; border-top:1px solid rgba(0,0,0,.08);}
.checkout-total-row{display:flex; justify-content:space-between; padding:8px 0; color:#3b4650; font-size:18px;}
.checkout-grand{display:flex; justify-content:space-between; align-items:end; margin-top:12px; padding-top:12px; border-top:1px solid rgba(0,0,0,.12);}
.checkout-grand div:first-child{font-size:22px; font-weight:800;}
.checkout-grand div:last-child{font-size:44px; font-weight:900;}
.checkout-grand small{font-size:14px; font-weight:600; color:#6b7785;}
.checkout-msg{margin-top:12px; padding:10px 12px; border-radius:12px; font-weight:700;}
.checkout-err{background:#ffecec; color:#b00020;}
.checkout-ok{background:#eaffea; color:#167a2f;}

@media (max-width: 992px){
  .checkout-grid{grid-template-columns:1fr;}
  .checkout-h{font-size:32px;}
}

 .choice-item, .radio-line{
  position:relative;
}
.choice-item.is-active{
  box-shadow: 0 0 0 2px #ffd400 inset;
}
.choice-item.is-active::after{
  content:"✓";
  position:absolute;
  right:16px; top:50%;
  transform:translateY(-50%);
  width:26px; height:26px;
  border-radius:8px;
  background:#ffd400;
  color:#000;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}
.delivery-box .radio-line.is-active{
  color:#000;
  font-weight:800;
}
.delivery-box .radio-line.is-active input{
  accent-color:#2d67ff;
}
/* Компактнее checkout */
#checkoutModal .modal-dialog { max-width: 1040px; }
#checkoutModal .modal-content { border-radius: 22px; overflow: hidden; }

#checkoutModal h2, #checkoutModal h3, #checkoutModal .big-title{
  font-size: 34px !important;
  line-height: 1.05;
  margin: 0 0 10px 0;
  font-weight: 800;
}

/* Если у тебя заголовки просто <div class="sectionTitle">Куда доставить?</div> */
#checkoutModal .sectionTitle{
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 12px 0;
}

#checkoutModal label{ font-size: 14px; }
#checkoutModal .form-control{ padding: 12px 14px; border-radius: 16px; }
#checkoutModal textarea.form-control{ min-height: 100px; }

#checkoutModal .checkout-col{
  padding: 26px 26px;
}
#checkoutModal .checkout-right{
  background:#efeff2;
}

.pick-card{
  background:#fff;
  border-radius:18px;
  padding:16px 16px;
  margin-bottom:14px;
  position:relative;
  border:2px solid transparent;
  cursor:pointer;
}
.pick-card .pick-title{
  font-weight:800;
  font-size:18px;
}
.pick-card .pick-check{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  width:34px;height:34px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ffda00;
  color:#000;
  font-weight:900;
  opacity:0;
}
.pick-card.is-active{
  border-color:#ffda00;
}
.pick-card.is-active .pick-check{
  opacity:1;
}
.sectionTitle{ font-size:28px !important; } /* компактнее заголовки */
@media (min-width: 992px){
  .sectionTitle{ font-size:30px !important; }
}
#reset-all.is-visible { 
        display: inline-block !important; 
    }
/* Контейнер для фильтров: ограничиваем ширину, чтобы они не разъезжались */
.filter-container { display: flex; justify-content: center; gap: 20px; margin: 10px 0; flex-wrap: wrap; }
    .compact-select {
        border: none; background: transparent; font-size: 16px; font-weight: 500;
        padding: 5px 20px 5px 5px; cursor: pointer; appearance: none;
        min-width: 100px; max-width: 130px;
        /* Стрелочка */
        background-image: url('data:image/svg+xml;utf8,<svg width="10" height="6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1l4 4 4-4" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
        background-repeat: no-repeat; background-position: right center;
    }
    .compact-select:focus { outline: none; }
    .badge-item { background: #f0f0f0; border-radius: 20px; padding: 5px 15px; margin: 5px; display: inline-flex; align-items: center; font-size: 14px; }
    .badge-item span { margin-left: 8px; cursor: pointer; color: #aaa; font-weight: bold; }
    
.divers-checkout .form-label{ font-weight:800; color:#0c2e66; }
  .divers-checkout .form-control{ border-radius:18px; padding:16px 18px; }
  .divers-choice{ display:flex; flex-direction:column; gap:16px; }
  .divers-pill{
    width:100%;
    border:0;
    background:#fff;
    border-radius:18px;
    padding:18px 18px;
    text-align:left;
    font-weight:800;
    font-size:18px;
    color:#0c2e66;
    position:relative;
    box-shadow:0 1px 0 rgba(0,0,0,.05);
  }
  .divers-pill .divers-check{
    display:none;
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    width:34px;
    height:34px;
    border-radius:10px;
    background:#ffd000;
    color:#111;
    font-weight:900;
    align-items:center;
    justify-content:center;
  }
  .divers-pill.is-active{
    outline:2px solid #ffd000;
  }
  .divers-pill.is-active .divers-check{
    display:flex;
  }
  .checkout-item{
    background:#fff;
    border-radius:16px;
    padding:14px 14px;
    margin-bottom:10px;
  }
  .checkout-item .t{ font-weight:900; color:#2c2f36; font-size:16px; line-height:1.25; }
  .checkout-item .m{ color:#6c7886; font-weight:700; margin-top:4px; }
@media screen and (max-width: 768px) {
    /* Контейнер, в котором лежат карточки товаров */
    .products-grid { 
        display: flex;
        flex-wrap: wrap;
        gap: 10px; /* Расстояние между карточками */
        padding: 10px;
    }

    /* Сама карточка товара */
    .product-card {
        width: calc(50% - 5px); /* Ровно половина экрана минус половина отступа */
        box-sizing: border-box;
    }

    /* Уменьшаем шрифты, чтобы всё влезло в узкую колонку */
    .product-card h3 {
        font-size: 14px;
        margin: 5px 0;
    }
    
    .product-card .price {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .filter-panel {
        display: flex;
        overflow-x: auto; /* Включаем горизонтальный скролл */
        white-space: nowrap;
        padding: 10px 5px;
        -webkit-overflow-scrolling: touch; /* Плавность на iPhone */
    }
    
    .filter-item {
        flex: 0 0 auto; /* Чтобы пункты не сжимались */
        margin-right: 10px;
    }
}

@media (max-width: 991px) {
    .hide-on-mobile { display: none !important; }
}
 /* ===========================
   MOBILE FINAL: keep Super-Button BUT unstick from bottom
   =========================== */
@media (max-width: 768px){

  /* 1) УБИВАЕМ hover-absolute и делаем текст обычным */
  body .product-hover-content{
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    /* ВАЖНО: не даём ей быть flex-колонкой */
    display: block !important;
  }

  /* 2) Сбрасываем flex/растягивания на карточке, чтобы кнопка не "уезжала вниз" */
  body .img-box.ot-product,
  body .img-box.ot-product.product-grid,
  body .img-box.ot-product .product-grid,
   body .img-box.ot-product .product-img{
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
  }

  /* 3) Полный opis */
  body .product-hover-content .opis{
    display: block !important;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
    white-space: normal !important;
    margin: 0 0 0px 0 !important;
  }
    body .product-hover-content .opis .filter-item{
    display: block !important;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
    white-space: normal !important;
    margin: 0 0 0px 0 !important;
  }
/* 4) Наименование */
 body .product-hover-content .box-title a{
  font-size: 18px !important;
  line-height: 1.1 !important;
}
  /* 4) Цена */
 body .product-hover-content .price{
  font-size: 20px !important;
  color: green !important;
}

  /* ===========================
     SUPER-UDAR button (normal) + UNSTICK
     =========================== */
  body .product-card .product-hover-content .buyBtn,
  body .product-card .product-hover-content .buyBtnCard,
  body .product-card .product-hover-content .ot-btn{
    /* супер-удар против темы */
    position: static !important;
    inset: auto !important;
    float: none !important;
    clear: both !important;
    transform: none !important;
    translate: none !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 12px 10px !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    line-height: 1 !important;

    white-space: nowrap !important;
    text-decoration: none !important;
    box-sizing: border-box !important;

    /* ВАЖНО: отлепляем от низа */
    margin-top: 12px !important;
    margin-bottom: 0 !important;
  }

  /* 5) если где-то осталось "margin-top:auto" — убиваем */
  body .product-hover-content .buyBtn,
  body .product-hover-content .buyBtnCard,
  body .product-hover-content .ot-btn{
    margin-top: 12px !important;  /* перебивает auto */
  }

  /* 6) Иконка + нормальный отступ */
  body .product-card .product-hover-content .buyBtn i,
  body .product-card .product-hover-content .buyBtnCard i,
  body .product-card .product-hover-content .ot-btn i{
    position: static !important;
    display: inline-block !important;
    flex: 0 0 auto !important;
    margin: 0 10px 0 0 !important;
  }

}

/* ===========================
   CHECKOUT MODAL — SOFT FIX (оставляем “как было лучше”)
   =========================== */

/* 1) одинаковые колонки + одинаковые паддинги */
#checkoutModal .modal-body .col-lg-6{
  padding: 18px !important;
}
#checkoutModal .modal-body .col-lg-6[style*="background"]{
  padding: 18px !important;
}

/* 2) “Оплата / Доставка” как обычные заголовки (не огромные) */
#checkoutModal .col-lg-6 .h2{
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin: 8px 0 6px !important;
  color: #0c2e66 !important;
}

/* 3) уменьшаем высоту комментария -> кнопка поднимается */
#checkoutModal textarea.form-control{
  min-height: 90px !important;
}

/* 4) меньше вертикальных отступов у блоков (form row g-3) */
#checkoutModal #checkoutForm .row.g-3{
  --bs-gutter-y: 10px;
}

/* 5) Оплата/Доставка: чуть меньше “плашки”, без рамок */
#checkoutModal .divers-choice.divers-compact{
  display: grid !important;
  gap: 6px !important;
  margin: 0 !important;
}
#checkoutModal .divers-choice.divers-compact .divers-pill{
  padding: 10px 48px 10px 12px !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 12px !important;
  background: transparent !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

/* активный — лёгкая подложка (как у тебя “было лучше”) */
#checkoutModal .divers-choice.divers-compact .divers-pill.is-active{
  background: #eaf2ff !important;
}

/* 6) галочка справа и ТОЛЬКО у активного */
#checkoutModal .divers-choice.divers-compact .divers-check{
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 999px !important;
  background: #ffe9a6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 900 !important;
  opacity: 0 !important;
}
#checkoutModal .divers-choice.divers-compact .divers-pill{ position: relative !important; }
#checkoutModal .divers-choice.divers-compact .divers-pill.is-active .divers-check{
  opacity: 1 !important;
}

/* 7) правый список товаров: делаем компактнее и чуть выше */
#checkoutModal #checkoutCartBox{
  margin-top: 8px !important;
  max-height: 240px !important;
  overflow: auto !important;
}

/* 8) блок итога компактнее */
#checkoutModal .summary-box{
  padding: 14px !important;
  border-radius: 16px !important;
}
#checkoutModal .summary-box hr{
  margin: 10px 0 !important;
}
#checkoutModal .total-label{
  font-weight: 700 !important;
  font-size: 18px !important;
}
#checkoutModal .total-value{
  font-weight: 700 !important;
  font-size: 24px !important;
  line-height: 1 !important;
}
/* ===========================
   CHECKOUT: tighter + correct typography
   =========================== */

/* 1) Заголовки "Оплата / Доставка" = как label (Адрес, Имя...) */
#checkoutModal .col-lg-6 .h2{
  font-size: 14px !important;      /* как label */
  font-weight: 700 !important;     /* как label */
  line-height: 1.2 !important;
  margin: 6px 0 6px !important;    /* меньше воздуха */
  color: #0c2e66 !important;
}

/* 2) Варианты оплаты/доставки = как текст/placeholder (спокойнее) */
#checkoutModal .divers-choice.divers-compact .divers-pill{
  font-size: 16px !important;      /* ближе к “Город…” */
  font-weight: 500 !important;     /* НЕ жирный как заголовок */
  line-height: 1.25 !important;
  padding: 8px 44px 8px 12px !important;  /* ниже высота */
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 12px !important;
}

/* 3) Между вариантами — минимальный зазор */
#checkoutModal .divers-choice.divers-compact{
  display: grid !important;
  gap: 4px !important;             /* было слишком много */
  margin: 0 !important;
}

/* 4) Между блоками Оплата и Доставка — меньше */
#checkoutModal .col-12.mt-3{ 
  margin-top: 8px !important;      /* вместо большого */
}
#checkoutModal .col-12.mt-2{
  margin-top: 6px !important;
}

/* 5) Активный вариант — мягкая подложка, без рамок */
#checkoutModal .divers-choice.divers-compact .divers-pill.is-active{
  background: #eaf2ff !important;
}

/* 6) Галка справа — только у активного, компактнее */
#checkoutModal .divers-choice.divers-compact .divers-check{
  width: 28px !important;
  height: 28px !important;
  right: 10px !important;
  opacity: 0 !important;
}
#checkoutModal .divers-choice.divers-compact .divers-pill.is-active .divers-check{
  opacity: 1 !important;
}

/* 7) Поднимаем кнопку: уменьшаем высоту комментария + вертикальные отступы формы */
#checkoutModal textarea.form-control{
  min-height: 80px !important;
}
#checkoutModal #checkoutForm .row.g-3{
  --bs-gutter-y: 8px;              /* меньше вертикальные интервалы */
}

/* 8) Дополнительно: убираем лишний отступ перед блоком действий */
#checkoutModal .actions-row{
  margin-top: 10px !important;
}

/* ===========================
   CHECKOUT MODAL: финальные правки
   =========================== */

/* 1) Варианты оплаты/доставки НЕ жирные */
#checkoutModal .divers-choice .divers-pill .divers-compact{
  font-weight: 300 !important;     /* убрали жирность */
  font-size: 14px !important;      /* как обычный текст */
  line-height: 1.25 !important;
  padding: 10px 14px !important;   /* компактнее */
  margin: 4px 0 !important;        /* меньше расстояния */
  border: 0 !important;            /* убираем обводки каждого пункта */
  background: transparent !important;
  box-shadow: none !important;
  color:#0c2e66!important;
}

/* активный пункт — только лёгкий фон, без рамки */
#checkoutModal .divers-choice .divers-pill.is-active{
  background: #eaf2ff !important;
}

/* Заголовки "Оплата/Доставка" — как label "Адрес" */
#checkoutModal .h2{
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.1 !important;
  margin: 10px 0 6px !important;
}

/* галочка справа — оставляем */
#checkoutModal .divers-check{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  background: #ffe9a8 !important;
  color: #111 !important;
  font-weight: 900 !important;
  margin-left: auto !important;
}

/* 2) Убираем "стрелочки" / скролл внутри модалки.
   Если нужно оставить прокрутку страницы — лучше так: */
#checkoutModal .modal-dialog-scrollable .modal-body{
  overflow: visible !important;
}

/* опционально: если полоска прокрутки всё равно появляется у модалки */
#checkoutModal .modal-content{
  overflow: hidden !important;
}

/* 3) Фото в правой части (без JS):
   будет работать, если внутри checkoutCartBox уже есть <img>.
   Просто делаем их маленькими и аккуратными */
#checkoutModal #checkoutCartBox img{
  width: 48px !important;
  height: 48px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  margin-right: 10px !important;
}

/* Если у вас в разметке товара есть строка с картинкой — выравниваем */
#checkoutModal #checkoutCartBox .checkout-item,
#checkoutModal #checkoutCartBox li{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
/* ===== Checkout modal: compact cart with images ===== */
#checkoutModal .divers-mini{
  list-style: none;
  padding: 0;
  margin: 0;
}

#checkoutModal .divers-mini .mini_cart_item{
  display: grid;
  grid-template-columns: 34px 1fr auto;
  grid-template-areas:
    "img title remove"
    "img qty   qty";
  gap: 6px 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

#checkoutModal .divers-mini .mini_cart_item:last-child{
  border-bottom: 0;
}

#checkoutModal .divers-mini .mini_cart_item a{
  grid-area: title;
  display: block;
  text-decoration: none;
  color: #0c2e66;
  font-weight: 600;
  line-height: 1.2;
}

#checkoutModal .divers-mini .mini_cart_item img{
  grid-area: img;
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

#checkoutModal .divers-mini .mini_cart_item .remove{
  grid-area: remove;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#checkoutModal .divers-mini .mini_cart_item .quantity{
  grid-area: qty;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5b6774;
  font-size: 16px;
  font-weight: 700 !important;
}

#checkoutModal .divers-mini .qty-btn{
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
}
#checkoutModal #checkoutCartBox img{
  display: inline-block !important;
  width: 44px !important;
  height: 44px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  margin-right: 10px !important;
}
/* =========================
   CHECKOUT MODAL - polish
   (вставь в самый низ CSS)
   ========================= */

/* 1) Фото товара — больше, ровнее, без растягивания */
#checkoutCartBox img{
  width: 56px !important;
  height: 56px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  display: block !important;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.06) !important;
}

/* 2) Крестик удаления — аккуратный круглый */
#checkoutCartBox .remove,
#checkoutCartBox .js-cart-del{
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  background: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 18px !important;
  color: #1c2b44 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.05) !important;
}

/* если внутри иконка font-awesome */
#checkoutCartBox .remove i,
#checkoutCartBox .js-cart-del i{
  margin: 0 !important;
  font-size: 16px !important;
}

/* 3) Чуть собрать строку товара (чтобы выглядело ровно) */
#checkoutCartBox .woocommerce-mini-cart-item{
  align-items: center !important;
}
#checkoutCartBox .woocommerce-mini-cart-item a{
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* 4) Оплата/Доставка — сделать “дружной группой” (контейнер + элементы внутри) */
.divers-checkout .divers-choice.divers-compact{
  background: #f6f8fc !important;
  border: 1px solid rgba(12,46,102,.10) !important;
  border-radius: 16px !important;
  padding: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

/* Заголовки "Оплата / Доставка" — как "Адрес" (label) */
.divers-checkout .h2{
  font-weight: 700 !important;
  font-size: 16px !important;
  color: #0c2e66 !important;
  margin-bottom: 8px !important;
}

/* Виды оплаты/доставки — не жирные, компактные, как обычный текст */
.divers-checkout .divers-choice.divers-compact .divers-pill{
  background: transparent !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  font-weight: 500 !important;   /* <-- убрали жирность */
  font-size: 16px !important;
  line-height: 1.2 !important;
  text-align: left !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Активный пункт — лёгкая подсветка без “обводок каждого пункта” */
.divers-checkout .divers-choice.divers-compact .divers-pill.is-active{
  background: rgba(27, 111, 255, .10) !important;
}

/* Галочка — показывать ТОЛЬКО на активном */
.divers-checkout .divers-check{
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  background: #ffe7a6 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  opacity: 0 !important;
  transform: scale(.9) !important;
  transition: .15s ease !important;
}
.divers-checkout .divers-pill.is-active .divers-check{
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* 5) Уменьшаем расстояния между блоками, чтобы кнопка поднималась */
.divers-checkout .col-lg-6 .mt-3{ margin-top: 12px !important; }
.divers-checkout .col-lg-6 .mt-2{ margin-top: 8px !important; }
.divers-checkout .col-lg-6 .mb-2{ margin-bottom: 8px !important; }


/* ===== Checkout modal tweaks ===== */

/* фото товара */
#checkoutCartBox img{
  width: 52px !important;
  height: 52px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  display:block;
}

/* строка товара: чтобы все ровно стояло */
#checkoutCartBox .woocommerce-mini-cart-item{
  display:flex;
  align-items:center;
  gap:12px;
}

/* крестик удаления - аккуратная круглая кнопка */
#checkoutCartBox .remove.js-cart-del{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid #e6e9ef;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  padding:0;
  box-shadow: 0 2px 8px rgba(20, 20, 20, .06);
}
#checkoutCartBox .remove.js-cart-del i{
  font-size:16px;
}

/* “Оплата/Доставка” + варианты: делаем единым блоком */
.divers-choice.divers-compact{
  background:#f5f7fb;
  border:1px solid #e7ecf4;
  border-radius:14px;
  padding:8px;
}

/* варианты оплаты/доставки: НЕ жирные, компактные, без “отдельной жизни” */
.divers-choice.divers-compact .divers-pill{
  width:100%;
  text-align:left;
  border:0 !important;
  background:transparent;
  padding:10px 12px;
  border-radius:12px;
  font-weight:400 !important;     /* убрать жирность */
  font-size:16px;                 /* как текст в инпутах/плейсхолдерах */
  color:#0c2e66;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0 !important;
}

/* минимальная дистанция между вариантами */
.divers-choice.divers-compact .divers-pill + .divers-pill{
  margin-top:4px !important;
}

/* активный вариант слегка подсвечиваем */
.divers-choice.divers-compact .divers-pill.is-active{
  background:#eaf2ff;
}

/* галочка только у активного */
.divers-choice .divers-check{ opacity:0; }
.divers-choice .divers-pill.is-active .divers-check{ opacity:1; }

/* заголовки “Оплата/Доставка” сделать как label (Адрес, Имя...) */
#checkoutForm .h2{
  font-weight:700 !important;
  font-size:16px !important;
  color:#0c2e66 !important;
  margin-bottom:6px !important;
}

/* убрать лишние “стрелочки” (спиннеры) если вдруг появятся у input[type=number] */
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; }
/* чтобы модалка всегда влезала по высоте и кнопка была доступна */
#checkoutModal .modal-dialog {
  height: calc(100vh - 40px);
}

#checkoutModal .modal-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#checkoutModal .modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
}

/* 1) Модалка на мобиле должна занимать экран */
@media (max-width: 991.98px) {
  #checkoutModal .modal-dialog {
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
  }

  #checkoutModal .modal-content {
    height: 100dvh;
    border-radius: 0 !important;
    overflow: hidden !important; /* ок, но скроллим body */
  }

  /* 2) Скролл внутри modal-body */
  #checkoutModal .modal-body {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100dvh - 60px); /* 60px ≈ header */
  }

  /* 3) Ряд не должен ломать скролл */
  #checkoutModal .modal-body > .row {
    min-height: 100%;
  }

  /* 4) Кнопки "подтвердить/отмена" всегда видны */
  #checkoutModal .actions-row {
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 10;
    padding: 12px 0;
    margin-top: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(0,0,0,.08);
  }

  /* Чтобы кнопки не уходили в 2 строки некрасиво */
  #checkoutModal .actions-row .btn {
    flex: 1 1 auto;
    width: 100%;
  }

  /* Правая колонка на мобиле пусть идет ниже и не "обрезается" */
  #checkoutModal .col-lg-6[style*="background"] {
    background: #eef0f3;
  }
}
@media (max-width: 991.98px) {
  #checkoutModal .modal-dialog {
    align-items: stretch !important;
  }
}

.hero-shape3{
    position: absolute;
  
}
.hero-shape1-3{
    position: absolute;
  top: -40px!important;
}
.hero-shape1-4{
    position: absolute;
 top: -10px!important;
}
 .title6 {font-size:36px!important}
.hero-countdown{
  margin-top: 18px;
  font-size: 14px;
  color: #ffffffcc;
}

#countdown{
  margin-top: 6px;
  display: flex;
  gap: 10px;
}

#countdown span{
  background: rgba(255,255,255,0.15);
  padding: 6px 10px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
}

#countdown b{
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.hero-countdown{
  margin-top: 18px;
  color: rgba(255,255,255,0.9);
}

.promo-text{
  display:inline-block;
  font-size:14px;
  font-weight:700;
  padding:4px 10px;
  border-radius:999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
}

.promo-sub{
  font-size:12px;
  color: rgba(255,255,255,0.7);
  margin-top:6px;
  margin-bottom:6px;
}

#countdown{
  display:flex;
  gap:10px;
}

#countdown span{
  display:inline-flex;
  align-items:baseline;
  gap:4px;
  background: rgba(255,255,255,0.12);
  padding:6px 10px;
  border-radius:10px;
}

#countdown b{
  font-size:18px;
  font-weight:800;
  color:#fff;
}

.promo-deadline{
  margin-top:18px;
  font-size:14px;
  color:rgba(255,255,255,0.85);
}

.promo-date{
  font-weight:800;
  color:#FFD86B; /* мягкий акцент */
  background: rgba(255,216,107,0.15);
  padding:3px 8px;
  border-radius:6px;
  margin:0 4px;
}

/* Promo input + button in Divers style */
.divers-promo{
  display:flex;
  gap:10px;
  align-items:stretch;
}

.divers-promo .form-control{
  border-radius:999px;
  padding:14px 18px;
  border:1px solid #d7dee7;
  box-shadow:none;
  min-height:52px;
}

.divers-pill-btn{
  border:0;
  border-radius:999px;
  padding:0 18px;
  min-height:52px;
  font-weight:800;
  background:#0c2e66; /* твой “Divers-синий” */
  color:#fff;
  white-space:nowrap;
}

.divers-pill-btn:hover{ filter:brightness(0.95); }
.divers-pill-btn:active{ transform:translateY(1px); }
.divers-pill-btn:disabled{ opacity:.6; cursor:not-allowed; }

.promo-msg{
  margin-top:6px;
  font-size:13px;
  font-weight:600;
}
.promo-msg.ok{ color:#1a8f3a; }
.promo-msg.bad{ color:#d93025; }


.divers-promo{
display:flex;
gap:10px;
}

.divers-promo input{
border-radius:999px;
padding:12px 16px;
border:1px solid #d9e1ea;
flex:1;
}

.divers-promo button{
border-radius:999px;
padding:10px 18px;
border:0;
background:#0c2e66;
color:#fff;
font-weight:700;
cursor:pointer;
}

.divers-promo button:hover{
opacity:.9;
}

@media (max-width: 768px) {

  /* 2 карточки в ряд */
  .grid-item.product-card {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    padding-top: 0 !important;
    padding-bottom: 14px !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  /* внешняя коробка */
  .grid-item.product-card .img-box.ot-product.product-grid.bg-white {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  /* десктопный блок скрываем */
  .grid-item.product-card .product-content {
    display: none !important;
  }

  /* мобильный контент */
  .grid-item.product-card .product-hover-content {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 2px !important;
  }

  /* картинка */
  .grid-item.product-card .product-img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: 22px !important;
    margin-bottom: 12px !important;
  }

  .grid-item.product-card .product-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 22px !important;
  }

  /* заголовок */
  .grid-item.product-card .box-title,
  .grid-item.product-card .product-hover-content h3 {
    margin: 0 0 8px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: #111 !important;
    min-height: 74px !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .grid-item.product-card .box-title a,
  .grid-item.product-card .product-hover-content h3 a {
    color: #111 !important;
    text-decoration: none !important;
    display: block !important;
  }

  /* цена ближе к заголовку */
  .grid-item.product-card .price {
    display: block !important;
    margin: 0 0 12px !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    color: #2f7d57 !important;
  }

  .grid-item.product-card .price del {
    display: inline-block !important;
    font-size: 14px !important;
    color: #9aa3ad !important;
    margin-left: 6px !important;
  }

  /* описание — НЕ обрезаем */
  .grid-item.product-card .opis {
    font-size: 15px !important;
    line-height: 1.28 !important;
    color: #222 !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  /* жирные слова */
  .grid-item.product-card .opis b,
  .grid-item.product-card .opis strong {
    font-weight: 800 !important;
  
  }

.opis b.gift{
color:#e53935 !important;
}

  /* если "Подарки:" встречается не первым элементом */
  .grid-item.product-card .opis {
    white-space: normal !important;
  }

  /* кнопка */
  .grid-item.product-card .cardBtns {
    margin-top: 10px !important;
  }

  .grid-item.product-card .buyBtnCard {
    width: 100% !important;
    min-height: 52px !important;
    border-radius: 999px !important;
    background: #3f875f !important;
    border: none !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 18px !important;
    box-shadow: none !important;
  }

  /* лишнее скрыть */
  .grid-item.product-card .actions,
  .grid-item.product-card .woocommerce-product-rating {
    display: none !important;
  }
  /* обычные характеристики */
.product-card .opis b{
color:#111 !important;
font-weight:700 !important;
}

/* слово Подарки красным */
.product-card .opis b:contains("Подарки"),
.product-card .opis b:contains("Cadouri"){
color:#e53935 !important;
}
.product-card .opis .gift{
color:#e53935 !important;
}
}

@media (max-width:768px){

.opis p br + text,
.opis p::first-letter{
display:none;
}

.opis span strong{
color:#e03e2d !important;
}
}
@media (max-width:768px){

/* блок описания */
.product-card .opis{
font-size:15px;
line-height:1.35;
margin-top:6px;
margin-bottom:12px;
}

/* расстояние между строками */
.product-card .opis br{
line-height:18px;
}

/* характеристики */
.product-card .opis strong{
font-weight:700;

}

/* Подарки и гарантия */
.product-card .opis strong.gift{
color:#e03e2d;
font-weight:800;
}

/* небольшой отступ перед подарками */
.product-card .opis strong.gift{
display:inline-block;
margin-top:4px;
}

/* текст характеристик чуть мягче */
.product-card .opis{
color:#222;
}
.variant-selector label{
padding:12px; border:1px solid #eee; border-radius:8px; margin-bottom:8px;
}
}
@media (max-width: 768px) {
    .title-area {
        margin-bottom: 14px !important;
    }

    .sec-title {
        font-size: 30px !important;
        line-height: 1.15 !important;
        margin-bottom: 12px !important;
    }

    .sec-text {
        font-size: 16px !important;
        line-height: 1.45 !important;
        margin-bottom: 16px !important;
        padding: 0 15px;
    }

    .filter-panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between !important;
    gap: 4px 12px !important;
    padding: 0 15px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

    .compact-select {
        width: calc(50% - 5px);
        min-width: unset;
        font-size: 16px;
        padding: 8px 10px;
    }

    #catalog .text-left.mb-4 {
        margin-top: -10px !important;
        margin-bottom: 12px !important;
        padding: 0 15px !important;
    }

    #active-badges {
        margin-bottom: 4px;
    }

    #res-count {
        font-weight: 700;
    }

    #catalog.space {
        padding-top: 40px !important;
        padding-bottom: 30px !important;
    }

    #catalog .row.justify-content-center {
        margin-bottom: 0 !important;
    }
    
    .compact-select {
    margin: 0 !important;
}
.filter-panel {
    row-gap: 4px !important;
}
.compact-select { margin: 0 !important; }
.filter-panel { row-gap: 4px !important; }


}
@media (max-width: 768px) {
    .compact-select {
        width: calc(50% - 10px);
        min-width: unset;
        font-size: 16px;
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
        line-height: normal !important;
    }
}

.variant-selector {
    margin: 15px 0;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
}

.size-option {
    display: block;
    cursor: pointer;
    padding: 8px 0;
    font-size: 16px;
    transition: color 0.3s;
}

.size-option input {
    margin-right: 10px;
    transform: scale(1.2); /* делаем кружок чуть больше */
}

.size-option:hover {
    color: #004691; /* твой фирменный синий */
}


#checkoutModal .modal-dialog,
#checkoutModal .modal-content {
    max-width: 100%;
    overflow-x: hidden;
}

#checkoutModal .modal-body {
    overflow-x: hidden;
}

#checkoutModal .row,
#checkoutModal .container,
#checkoutModal .checkout-wrap {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.gifts-hero {
    position: relative;
    padding: 70px 0 55px;
    background-size: cover;
    background-position: center;
}

.gifts-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.gifts-hero .container {
    position: relative;
    z-index: 2;
}

.gifts-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gifts-hero__content {
    max-width: 760px;
}

.gifts-hero__title {
    color: #fff;
    font-size: 52px;
    line-height: 1.08;
    font-weight: 800;
    text-align: left;
    margin: 0 0 12px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.35);
}

.gifts-hero__subtitle {
    color: #fff;
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 18px;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.35);
}

.gifts-hero__badge {
    display: inline-block;
    background: #ff9800;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    padding: 14px 22px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.gifts-hero__items {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.gifts-hero__item {
    background: rgba(255,255,255,0.96);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.gifts-hero__img-wrap {
    background: #fff;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.gifts-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gifts-hero__name {
    background: rgba(0,0,0,0.82);
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    padding: 14px 12px;
    text-align: center;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.gifts-hero-ref {
    position: relative;
    padding: 56px 0 46px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.gifts-hero-ref::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,32,73,0.62) 0%, rgba(8,32,73,0.42) 38%, rgba(8,32,73,0.18) 100%);
}

.gifts-hero-ref .container {
    position: relative;
    z-index: 2;
}

.gifts-hero-ref__content {
    max-width: 760px;
    margin-bottom: 30px;
}

.gifts-hero-ref__eyebrow {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.95;
}

.gifts-hero-ref__title {
    color: #ffffff;
    font-size: 56px;
    line-height: 1.02;
    font-weight: 900;
    margin: 0 0 14px;
    text-transform: uppercase;
    text-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

.gifts-hero-ref__line {
    width: 100%;
    max-width: 540px;
    height: 2px;
    background: rgba(255,255,255,0.72);
    margin-bottom: 18px;
}

.gifts-hero-ref__text {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 500;
    max-width: 920px;
    margin-bottom: 18px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.16);
}

.gifts-hero-ref__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #114b9b;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    padding: 14px 24px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.14);
    border: 2px solid rgba(255,255,255,0.16);
}

.gifts-hero-ref__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.gifts-hero-ref__card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    transition: transform .18s ease, box-shadow .18s ease;
}

.gifts-hero-ref__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.16);
}

.gifts-hero-ref__img-wrap {
    background: #ffffff;
    aspect-ratio: 1 / 0.8;
    overflow: hidden;
    padding: 10px;
}

.gifts-hero-ref__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.gifts-hero-ref__name {
    background: #ffffff;
    color: #113a7d;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
    padding: 14px 12px 16px;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #e7edf7;
}

.grid-item.product-card.is-hidden{
  display: none !important;
}

@media (max-width: 768px) {
    .filter-panel {
        flex-wrap: wrap; /* Чтобы селекты не сжимались в одну строку, а переносились */
        gap: 10px !important;
    }
    .compact-select {
        width: 45%; /* По два селекта в ряд на мобильном */
        min-height: 40px; /* Удобно для нажатия пальцем */
    }
    #active-badges div {
        margin-bottom: 8px; /* Чтобы бейджи не слипались */
    }
}
.blog-content .t-redactor__h2 h2 {font-size:16px!important}