

/* Start:/local/templates/bobber2022/template_styles.css?179319818813301*/
/* ============================================================
   МЕНЮ ПРОДУКТОВ: ИКОНКА BOTTLE NEW
   ============================================================ */

/* --- МОБИЛЬНАЯ ВЕРСИЯ (до 991px) --- */
@media (max-width: 991px) {
    .header-nav__dropdown-item[href="/catalog/bottle-new/"] .products-list__item-img {
        display: flex;
        align-items: center; 
        justify-content: flex-end;
    }

    .header-nav__dropdown-item[href="/catalog/bottle-new/"] .products-list__item-img img {
        /* Жестко фиксируем ширину и высоту, чтобы она не разрывала строку */
        width: 35px !important; 
        height: 60px !important; 
        
        /* Вписываем без искажений */
        object-fit: contain !important; 
        transform: none !important;
    }
}

/* --- ДЕСКТОПНАЯ ВЕРСИЯ (от 992px и выше) --- */
@media (min-width: 992px) {
    .header-nav__dropdown-item[href="/catalog/bottle-new/"] .products-list__item-img {
        display: flex;
        align-items: flex-end; 
        justify-content: center;
    }

    .header-nav__dropdown-item[href="/catalog/bottle-new/"] .products-list__item-img img {
        height: 118px !important; 
        width: auto !important;
        max-width: none !important;
        transform: scale(1.15); 
        transform-origin: bottom right; 
        object-fit: contain;
    }
}
/* ============================================================
   2. МЕНЮ АКСЕССУАРОВ (ICON JACOB CRO & ВЫРАВНИВАНИЕ)
   ============================================================ */

.products-list__item-img--silikonovoe-donyshko {
    bottom: 0;
}
.products-list__item-img--silikonovoe-donyshko img {
    width: 45px;
    height: auto;
}

@media (min-width: 992px) {
    .products-list__item-img--silikonovoe-donyshko img {
        width: 90px;
    }
}

/* bobber x Jacob Cro: иконка в меню аксессуаров */
.products-list__item-img--chekhol-jacob-cro img {
    height: 64px;
    width: auto;
    max-width: none;
}

@media (min-width: 992px) {
    .products-list__item-img--chekhol-jacob-cro img {
        /* масштабируется вместе с вьюпортом, как основные продукты */
        height: clamp(130px, 9.5vw, 190px);
    }
}

/* Меню аксессуаров: центрирование и подпись Jacob */
@media (min-width: 960px) {
    /* Центрирование, которое не отрезает левый край при переполнении */
    .header-nav__dropdown--accessories {
        align-items: safe center;
    }

    /* Подпись Jacob всегда в одну строку, иконка не прыгает вверх */
    .products-list__item--chekhol-jacob-cro .products-list__item-title {
        white-space: nowrap;
    }
    
    /* Ряд на всю ширину, зазоры считает браузер */
    .header-nav .header-nav__dropdown--accessories .header-nav__dropdown-wrap {
        width: 100%;
        max-width: 1720px;          /* как у .container на сайте */
        justify-content: space-between;
        column-gap: 24px;           /* минимальный зазор, меньше не сожмётся */
    }
}


/* ============================================================
   3. КОНТАКТНЫЕ ДАННЫЕ И СКРЫТИЕ ПОЛЕЙ
   ============================================================ */
input[data-code="GREETING_TEXT"],
input[data-code="ADD_GREETING_CARD"] {
    display: none !important;
}


/* ============================================================
   4. КАРТОЧКА ТОВАРА — ОБЩИЕ ОТСТУПЫ (desktop)
   ============================================================ */
@media (min-width: 1201px) {
    .product-detail__title-wrap .product-detail__title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .product-detail__option-title {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }

    .product-detail__stoppers {
        margin-bottom: 12px !important;
        gap: 6px !important;
    }

    .product-detail__stoppers-item-label {
        padding: 0 14px !important;
        font-size: 13px !important;
        height: 32px !important;
        line-height: 32px !important;
        text-align: center !important;
    }

    .big-product-card__colors {
        margin-bottom: 12px !important;
    }

    .radio-colors__item {
        margin-right: 4px !important;
    }

    .radio-colors__item-label {
        width: 24px !important;
        height: 24px !important;
    }

    .js-offers-product-card-variant-block[data-code="STOPPER"] .product-detail__stoppers {
        margin-bottom: 10px !important;
    }

    .js-offers-product-card-variant-block[data-code="COVERAGE"] .product-detail__stoppers {
        margin-bottom: 10px !important;
    }

    .product-detail__max-width .product-detail__engraving:first-of-type {
        margin-top: 14px !important;
        margin-bottom: 6px !important;
    }

    .product-detail__max-width .product-detail__engraving:last-of-type {
        margin-top: 0 !important;
        margin-bottom: 14px !important;
    }

    .product-detail__engraving,
    .product-detail__sample-sale-link {
        font-size: 16px !important;
        gap: 8px !important;
        margin-bottom: 6px;
    }

    .product-detail__engraving svg {
        width: 24px !important;
        height: 24px !important;
    }

    .big-product-card__colors {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .radio-colors__content {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .product-detail__sample-sale-link {
        margin-bottom: 12px !important;
    }
}


/* ============================================================
   5. ГЛАВНЫЙ СЛАЙДЕР — ВИДЕО
   ============================================================ */
.main-slider__item--video {
  position: relative;
  aspect-ratio: 1920 / 790;
}

.main-slider__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.main-slider__item--video a {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 1500px) {
  .main-slider__item--video { aspect-ratio: 1500 / 620; }
}
@media (max-width: 1200px) {
  .main-slider__item--video { aspect-ratio: 1200 / 500; }
}
@media (max-width: 960px) {
  .main-slider__item--video { aspect-ratio: 960 / 400; }
}
@media (max-width: 768px) {
  .main-slider__item--video { aspect-ratio: 480 / 640; }
}


/* ============================================================
   6. ПЛАШКА «ГРАВИРОВКА НЕДОСТУПНА»
   ============================================================ */
.engrave-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-sizing: border-box;
    min-height: 48px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e6e6e6;
    color: #000;
    font-family: "Styrene A Web", sans-serif, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.3;
}

.engrave-note[hidden] { display: none !important; }
.engrave-note__icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; color: #989898; }
.engrave-note__body { flex: 1; min-width: 0; }
.engrave-note__title { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.3; }
.engrave-note__text { margin: 2px 0 0; font-size: 12px; line-height: 1.35; color: #989898; }

@media (min-width: 1200px) {
    .product-detail__title-wrap { margin-bottom: 8px !important; }
    .product-detail__announce { margin-bottom: 12px !important; line-height: 1.45 !important; }
    .js-offers-product-card-variant-block { margin-bottom: 8px !important; }
    .product-detail__option-title { margin-bottom: 6px !important; }
    .product-compare-wrapper, .hint-gift-wrapper { margin-bottom: 8px !important; }
}

@media (max-width: 768px) {
    .engrave-note { min-height: 0; padding: 8px 10px; font-size: 12px; }
    .engrave-note__title { font-size: 12px; }
    .engrave-note__text  { font-size: 11px; }
}


/* ============================================================
   7. ЦЕНА «НЕТ В НАЛИЧИИ» И СКРЫТИЕ КНОПКИ
   ============================================================ */
.big-product-card__price-current--not-available {
    font-family: "Styrene A Web", sans-serif, Arial, sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 30px;
    color: #000000;
    display: inline-block;
}

@media (max-width: 768px) {
    .big-product-card__price-current--not-available {
        font-size: 30px;
        line-height: 28px;
        color: #FFFFFF;
    }
}

.big-product-card--not-available .js-add-to-cart,
.big-product-card--not-available .big-product-card__btn-cart {
    display: none !important;
}

.wholesales__video .wholesales__video-iframe {
  padding-bottom: 0;
  height: auto;
  margin-bottom: 0;
}


/* ============================================================
   8. МОБИЛЬНЫЕ АКСЕССУАРЫ (ГАЛЕРЕЯ 3:4)
   ============================================================ */
@media (max-width: 767px) {
    .is-accessories .product-detail__gallery .swiper-slide {
        position: relative !important;
        height: 0 !important;
        padding-bottom: 133% !important;
        display: block !important;
        overflow: hidden !important;
    }

    .is-accessories .product-detail__gallery .swiper-slide img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        display: block !important;
    }
}


/* ============================================================
   9. КОМПАКТНАЯ ФОРМА ПОДПИСКИ
   ============================================================ */
.form__action { max-width: 100%; margin-top: 10px; }
.form__action .input { padding: 0; }
.form__action .input__field {
    padding: 12px 16px;
    font-size: 14px;
    height: 44px;
}
.form__action .form__btn {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.form__action .form__btn .btn__icon {
    width: 16px;
    height: 16px;
    margin: 0;
}
.form__action .form__info {
    font-size: 11px;
    line-height: 1.3;
    margin-top: 8px;
    display: block;
    color: #989898;
}
.form__action .form__info-link {
    color: #989898;
}




/* ==========================================
   BOBBER — COMPACT MOBILE MENU
   ========================================== */

@media (max-width: 991px) {

    /* Компактные строки */
    .header-nav__dropdown-item:has(.products-list__item-img) {
        position: relative;
        box-sizing: border-box;
        height: 76px;
        min-height: 76px;
        padding-right: 75px;
        display: flex;
        align-items: center;
    }

    /* Названия товаров */
    .header-nav__dropdown-item .products-list__item-title {
        font-size: clamp(14px, 3.6vw, 18px);
        line-height: 1.25;
        min-width: 0;
        max-width: 100%;
        margin: 0;
    }

    /* Фиксированная зона для иконок */
    .header-nav__dropdown-item .products-list__item-img {
        position: absolute;
        top: 50%;
        right: 16px;
        bottom: auto;
        left: auto;

        width: 48px;
        height: 60px;

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

        transform: translateY(-50%);
        overflow: hidden;
        pointer-events: none;
    }

    /* Пропорции изображений */
    .header-nav__dropdown-item .products-list__item-img img {
        display: block;
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 58px !important;
        object-fit: contain !important;
        transform: none !important;
    }

    /* Bottle New */
    .header-nav__dropdown-item[href="/catalog/bottle-new/"]
    .products-list__item-img img {
        width: auto !important;
        height: auto !important;
        max-width: 36px !important;
        max-height: 55px !important;
    }

    /* Длинные названия */
    .products-list__item--chekhol-jacob-cro
    .products-list__item-title {
        font-size: 14px;
        line-height: 1.2;
    }

}



/* Bottle New — корректировка позиции на мобильных */
@media (max-width: 991px) {
    .header-nav__dropdown-item[href="/catalog/bottle-new/"]
    .products-list__item-img {
        right: 24px !important;
    }
}


/* End */
/* /local/templates/bobber2022/template_styles.css?179319818813301 */
