/* ==========================================================================
   1. ГЛОБАЛЬНАЯ СЕТКА КАРТОЧКИ ТОВАРА (СТРОГО ПОД РАЗМЕР ШАПКИ 1620PX)
   ========================================================================== */
   .product-card-container {
    max-width: 1620px;
    width: 100%;
    margin: 0 auto;
    padding-top: 20px;
    display: flex; /* Переключаем с grid на flex для идеального b2b-прижатия колонок */
    justify-content: space-between; /* Левая часть прижмется влево, правая — вправо */
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   2. ЛЕВАЯ КОЛОНКА: АДАПТИВНАЯ ГАЛЕРЕЯ (ИДЕАЛЬНЫЙ БАЛАНС ШИРИНЫ И ВЫСОТЫ)
   ========================================================================== */
.product-gallery {
    display: flex;
    gap: 20px; /* Уменьшили зазор до 20px, чтобы слить миниатюры и фото в единый блок без дыр */
    flex-grow: 1; 
    min-width: 0;
    align-items: stretch; /* Важно: растягивает и 1-ю, и 2-ю колонку до одинаковой высоты */
}

/* ПЕРВАЯ КОЛОНКА: Миниатюры теперь резиновые, занимают ровно 16% от всей левой стороны */
.gallery-thumbs {
    width: 25% !important;
    max-width: 25% !important;
    height: 88vh !important; /* КЛЮЧЕВОЙ ФИКС: Ограничили высоту ровно как у главного фото */
    max-height: 88vh !important;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    display: block !important;
}

.gallery-thumbs .slick-list,
.gallery-thumbs .slick-track {
    height: calc(100% - 60px) !important; /* Оставляем по 30px сверху и снизу под стрелочки */
    overflow: hidden !important;
}


/* Фикс Slick-трека для вертикального растяжения на всю высоту */
.gallery-thumbs .slick-list {
    height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important; /* КРИТИЧЕСКИЙ ФИКС: Прячем все лишние фотографии, которые не влазят в экран */
    position: relative !important;
    display: block !important;
}

.gallery-thumbs .slick-track {
    height: auto !important; /* Трек должен быть гибким, чтобы Slick двигал его вверх/вниз */
    display: block !important;
}

/* Слайды миниатюр автоматически масштабируются */
.gallery-thumbs .slick-slide {
    display: block !important;
    width: 100% !important;
    height: calc((88vh - 15px) / 3) !important; /* Математический авто-расчет высоты строго под 4 фото с учетом гэпов */
    margin-bottom: 15px !important; /* Фиксированный зазор между маленькими фотками */
    float: none !important;
    box-sizing: border-box !important;
}

.thumb-item {
    width: 100% !important;
    height: 100% !important;
    cursor: pointer;
    border: 1px solid transparent !important; /* Прозрачная рамка по умолчанию */
    transition: border-color 0.2s ease;
    box-sizing: border-box !important;
    display: block !important;
}

.thumb-item.active, 
.slick-current .thumb-item,
.thumb-item:hover {
    border-color: #000 !important;
    border-width: 1px !important;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Идеальное кадрирование миниатюры */
}

/* ВТОРАЯ КОЛОНКА: Центральное фото занимает все оставшиеся 84% */
.gallery-main {
    width: 75% !important; /* Беспрекословно забирает все оставшиеся 84% полезной ширины */
    height: 88vh !important; /* Фиксируем высоту по первому экрану */
    max-height: 88vh !important;
    overflow: hidden;
    position: relative;
    background-color: #f9f9f9;
    /* УБРАЛИ aspect-ratio, чтобы убрать пустые боковые "уши" */
}

/* Полная синхронизация Slick-контейнеров с ограничением 80vh */
.gallery-main .slick-list,
.gallery-main .slick-track,
#slider,
#slider .slide,
.gallery-main img,
#slider .slide img {
    height: 100% !important;
    max-height: 88vh !important;
}

#slider.slick-initialized.slick-slider {
    width: 100% !important;
}

.gallery-main img,
#slider .slide img {
    width: 100% !important; /* Заполняет всю ширину средней колонки без дыр */
    height: 100% !important; /* Заполняет всю высоту 80vh */
    object-fit: cover !important; /* Заставляет фото идеально заполнить прямоугольник, обрезая лишнее по вертикали и убирая пустые поля */
    display: block !important;
}

#slider .slide {
    outline: none;
    width: 100%;
}

#slider-nav .slide img {
    width: 100% !important;
}

/* СТИЛИЗАЦИЯ НАВИГАЦИОННЫХ СТРЕЛОК ВВЕРХ/ВНИЗ */
.gallery-thumbs .slick-prev.slick-arrow,
.gallery-thumbs .slick-next.slick-arrow {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    height: 25px !important;
    z-index: 100 !important;
    cursor: pointer !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0 !important; /* Убираем стандартный текст Up/Down */
    transition: background-color 0.2s;
}

.gallery-thumbs .slick-prev.slick-arrow:hover,
.gallery-thumbs .slick-next.slick-arrow:hover {
    background-color: #f5f5f5 !important;
}

/* Стрелка Вверх (В самый верх контейнера) */
.gallery-thumbs .slick-prev.slick-arrow {
    top: 0 !important;
    border-bottom: 1px solid #eee !important;
}
.gallery-thumbs .slick-prev.slick-arrow::before {
    content: "↑" !important;
    font-size: 14px !important;
    color: #333 !important;
    font-weight: bold !important;
}

/* Стрелка Вниз (В самый низ контейнера) */
.gallery-thumbs .slick-next.slick-arrow {
    bottom: 0 !important;
    border-top: 1px solid #eee !important;
}
.gallery-thumbs .slick-next.slick-arrow::before {
    content: "↓" !important;
    font-size: 14px !important;
    color: #333 !important;
    font-weight: bold !important;
}
.slick-next {
    right: 0 !important;
}
.slick-next, .slick-prev {
    line-height: inherit !important;
    top: inherit !important;
    padding: 0 !important;
}

/* ==========================================================================
   3. ПРАВАЯ КОЛОНКА: ТОРГОВЫЙ БЛОК (СТИКИ И ШАПКА)
   ========================================================================== */
/* Фиксируем ширину правой торговой панели */
.product-info-sticky {
    width: 450px; /* Возвращаем благородную ширину для читаемости текстов */
    position: sticky;
    top: 20px;
    height: max-content;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-title {
	display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    justify-content: space-between;
}
.product-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-title {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-premium {
    font-size: 11px;
    background: #333;
    color: #fff;
    padding: 3px 8px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
}

.product-price {
    font-size: 22px;
    font-weight: 600;
    color: #000;
}

.product-bonus {
    font-size: 13px;
    color: #27ae60;
}

#slider-nav.gallery-thumbs.slick-initialized.slick-slider.slick-vertical {
    max-height: 100%;
    margin-right: 0;
}

#slider-nav .slide {
    max-height: 100% !important;
    margin: 0 !important;
    margin-bottom: 20px !important;
}

/* ==========================================================================
   4. СЕКЦИИ СВОЙСТВ И ПЛАШКИ РАЗМЕРОВ БИТРИКСА
   ========================================================================== */
.product-prop-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prop-title {
    font-size: 14px;
    font-weight: 500;
}

.color-select-wrapper select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    outline: none;
}

/* Связка кастомных стилей с оригинальными классами размеров Битрикса */
.product-item-scu-item-text-container {
    padding: 4px 12px !important;
    border: 1px solid #ddd !important;
    font-size: 13px !important;
    cursor: pointer !important;
    background-color: #fff !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    box-sizing: border-box !important;
}

/* Активный выбранный размер */
.product-item-scu-item-text-container.active {
    border-color: #000 !important;
    background-color: #000 !important;
    color: #fff !important;
}

/* Недоступный размер (Out of stock) */
.product-item-scu-item-text-container.disable {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    background-color: #f5f5f5 !important;
    border-color: #eee !important;
}
/* ==========================================================================
   5. БЛОК ДЕЙСТВИЙ ПОКУПКИ, СЧЕТЧИКА И КНОПОК КОРЗИНЫ БИТРИКСА
   ========================================================================== */
.purchase-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.quantity-block {
    display: flex;
    border: 1px solid #ddd;
    height: 42px;
    align-items: center;
    box-sizing: border-box;
}

.qty-btn {
    width: 35px;
   /* height: 100%; */
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.qty-input {
    width: 40px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 14px;
    outline: none;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Связка с системным классом кнопки "В корзину" из template.php */
.product-item-detail-buy-button {
    flex-grow: 1;
    height: 42px;
    background-color: #7097cb !important; /* Нежный синий цвет по макету дизайнера */
    color: #fff !important;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
	min-width: 200px;
}

.product-item-detail-buy-button:hover {
    background-color: #5b84b8 !important;
}

/* Кастомные кнопки Избранного и Поделиться */
.favourites, .btn-share {
    width: 42px;
    height: 42px;
    background: none;
    border: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.favourites:hover, .btn-share:hover {
    border-color: #000;
}

/* Фикс Избранного: Белый фон кнопки + полностью закрашенное КРАСНОЕ сердечко */
.favourites.active {
    background-color: #fff !important; /* Намертво фиксируем белый фон плашки */
    border-color: #e74c3c !important; /* Тонкая аккуратная красная рамка вокруг */
}

.favourites.active svg {
    fill: #e74c3c !important;  /* ПОЛНАЯ КРАСНАЯ ЗАЛИВКА внутренности сердечка */
    stroke: #e74c3c !important; /* Красный контур для идеальной четкости иконок */
    color: #e74c3c !important;
}


/* Стилизация иконок внутри кнопок, чтобы они стояли ровно по центру */
.favourites svg, .btn-share svg {
    display: block;
    margin: 0 auto;
}

/* Ссылка на таблицу размеров */
.size-table-link {
    font-size: 13px;
    color: #777;
    text-decoration: underline;
}

/* ==========================================================================
   6. ТЕХНИЧЕСКИЕ ХАРАКТЕРИСТИКИ И КОНТЕНТ АККОРДЕОНОВ
   ========================================================================== */
.product-description-block {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    margin: 5px 0;
}

.meta-item {
    margin-bottom: 5px;
}

/* Стилизация заголовков и раскрываемых блоков аккордеона */
.product-accordion {
    display: flex;
    flex-direction: column;
}

.accordion-item, .inventory-balances {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ограничение и фон для раскрытых внутренних вкладок (#dd1, #dd2, #dd3) */
.description-content, #dd1, #dd2, #dd3, #js-model-params-block {
    padding: 15px;
    background: #fafafa;
    font-size: 13px;
    color: #555;
    border-bottom: 1px solid #eee;
}

/* Склады в наличии */
.store-location-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.store-location-availability.in-stock { color: #27ae60; }
.store-location-availability.low-stock { color: #f39c12; }
.store-location-availability.out-of-stock { color: #c0392b; }
.store-location-availability.pre-order-one { color: #7097cb; }

/* ==========================================================================
   7. УПРАВЛЕНИЕ МОДАЛЬНЫМИ ОКНАМИ И ПОП-АПОМ КОРЗИНЫ
   ========================================================================== */
.modal-wrapp {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.size-table, .share-modal {
    background: #fff;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

/* Стилизация жесткого позиционирования поп-апа корзины */
.modal-add-cart {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-add-cart.open {
    display: flex;
}

.modal-add-cart__item {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-align: center;
}

.modal-add-cart__buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.modal-add-cart__buttons .btn {
    padding: 10px 20px;
    border: 1px solid #7097cb;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

#common_buy { color: #7097cb; background: #fff; }
#reloc_cart { color: #fff; background: #7097cb; }

.dropdown-color-section .select-color {
    cursor: pointer;
    width: 100% !important;
    padding: 0 !important;
	border: inherit;
    border-radius: inherit;
    background-color: transparent !important;
    margin-top: 0 !important;
    z-index: 5;
    box-sizing: border-box;
}

.product-item-scu-container {
    width: 50% !important;
}
.size-table-link {
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
    user-select: none;
    justify-content: flex-end;
	width: 42%;
}

/* ==========================================================================
   9. ПРЕМИУМ-СТИЛИЗАЦИЯ ТАБЛИЦЫ РАЗМЕРОВ И МОДАЛЬНОГО ОКНА
   ========================================================================== */
.modal-wrapp {
    background: rgba(0, 0, 0, 0.4) !important; /* Легкое интеллигентное затемнение */
    backdrop-filter: blur(2px); /* Эффект размытия заднего плана */
    transition: all 0.3s ease;
}

.size-table {
    max-width: 600px !important;
    width: 90% !important;
    background: #fff !important;
    padding: 40px !important;
    border-radius: 0px !important; /* Убираем скругления, строго геометрия */
    box-shadow: 0 10px 40px rgba(0,0,0,0.08) !important;
    position: relative;
    box-sizing: border-box;
}

/* Кнопка закрытия (крестик) */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close::before, .modal-close::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 1px;
    background: #333;
}
.modal-close::before { transform: rotate(45deg); }
.modal-close::after { transform: rotate(-45deg); }

/* Элегантная минималистичная таблица */
.table-wrapp table {
    width: 100% !important;
    border-collapse: collapse !important; /* Схлопываем убогие двойные рамки */
    margin-top: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Шапка таблицы */
.table-wrapp tr:first-child td {
    font-weight: 500 !important;
    color: #000 !important;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.5px;
    border-bottom: 2px solid #000 !important; /* Жирная нижняя линия у шапки */
    padding-bottom: 12px !important;
}

/* Ячейки таблицы */
.table-wrapp td {
    padding: 14px 10px !important; /* Добавили воздуха в строки */
    font-size: 13px;
    color: #555;
    text-align: left;
    border-bottom: 1px solid #eee !important; /* Тонкая серая разделительная линия */
}

/* Эффект ховера на строки таблицы */
.table-wrapp tr:not(:first-child):hover td {
    background-color: #fcfcfc;
    color: #000;
}


.prop-row-align {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

.modal-wrapp .size-table {
    max-height: 450px !important;
}

.share-modal .link .copy {
    color: #fff !important;
    margin-top: 0px !important;
}

.share-modal .modal-close {
    background-color: #ffffff !important;
}

.shoff_short {
    font-size: 15px !important;
    margin-top: 0 !important;
    height: 84px !important;
    overflow: hidden !important;
}
.shoff_fulls.active {
    font-size: 15px !important;
    margin-top: 0 !important;
}

.product-item-scu-item-text-container.selected {
    color: #292929 !important;
}
.product-item-scu-item-text-container.selected.active {
    color: #ffffff !important;
}
.comment-list .item .date {
    color: #8a8a8a !important;
    font-size: 12px !important;
    margin-right: 0 !important;
}
.comment-list .item .images-item {
    margin-right: 10px !important;
	margin-left: 0 !important;
}
.comment-list .item {
    margin-top: 0 !important;
}
.add-comment-btn {
    margin-top: 0 !important;
}

.desc {
    flex-direction: column !important;
}
.form-wrapper .desc {
    margin-top: 0 !important;
}
#wrapper .desc p {
    padding: 0 0 10px 0;
    border: 1px solid transparent;
    border-radius: 4px;
    line-height: 1;
    word-wrap: break-word;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
    font-size: 14px !important;
    font-weight: 600 !important;
}
/* Текстовые звезды Bycoccon */
		#stars span { 
			font-size: 20px; 
			cursor: pointer; 
			color: #ddd !important; 
			transition: color 0.1s ease; 
			line-height: 1;
			user-select: none;
		}
		/* Золотое состояние активных звезд */
		#stars span.star-active { 
			color: #f1c40f !important; 
		}
		
.form-wrapper .add-file {
    margin-bottom: 10px !important;
    margin-top: 0 !important;
}

	/* Стили кастомных стрелок для карусели сертификатов */
	.cert-arrow {
		position: absolute; top: 50%; transform: translateY(-50%);
		width: 40px; height: 40px; background: #fff; border: 1px solid #eee;
		font-size: 24px; font-weight: 300; cursor: pointer; z-index: 10;
		display: flex; align-items: center; justify-content: center; color: #333;
		transition: all 0.2s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	}
	.cert-arrow:hover { background: #333; color: #fff; border-color: #333; }
	.slick-prev.cert-arrow { left: -20px; }
	.slick-next.cert-arrow { right: -20px; }
	/* Стили точек навигации */
	.slick-dots { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 20px 0 0 0; margin: 0; }
	.slick-dots button { font-size: 0; width: 8px; height: 8px; border-radius: 50%; background: #ddd; border: none; padding: 0; cursor: pointer; }
	.slick-dots .slick-active button { background: #7097cb; width: 20px; border-radius: 4px; transition: all 0.2s; }

.recommend {
    background-color: #fff !important;
}

.detail {
    width: 40% !important;
}
.element-container {
    margin-top: 30px;
}

.select-color__header.js-dropdown-header {
	display: flex; 
	justify-content: space-between; 
	align-items: center; 
	padding: 12px 15px; 
	border: 1px solid #ddd; 
	background: #fff; 
	cursor: pointer; 
	user-select: none;
}

.select-color__dropdown-list.js-dropdown-list {
	display: none; 
	position: absolute; 
	top: 100%; 
	left: 0; 
	width: 100%; 
	border: 1px solid #ddd; 
	border-top: none; 
	background: #fff; 
	z-index: 999; 
	box-sizing: border-box; 
	max-height: 250px; 
	overflow-y: auto; 
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.product-prop-section.dropdown-color-section {
	margin-bottom: 15px;
}
.product-item-scu-item-list {
	list-style: none; 
	padding: 0; 
	margin: 0; 
	display: flex; 
	gap: 8px; 
	align-items: center;
}
.products-wrapper .select-color {
			border: 0;
			padding: 0;
		}

/* ==========================================================================
   8. АДАПТИВ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ
   ========================================================================== */
@media (max-width: 991px) {
    .product-card-container {
        grid-template-columns: 1fr;
        /*padding: 10px;*/
    }
    .product-gallery {
        flex-direction: column-reverse;
        gap: 15px;
    }
    .gallery-thumbs {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }
    .thumb-item {
        width: 60px;
        height: 80px;
    }
    .gallery-main {
        max-width: 100%;
        max-height: 500px;
    }
    .gallery-main img, #slider .slide img {
        height: 100% !important;
    }
    .product-info-sticky {
        position: static;
    }
    .add-mobil {
        display: block !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 10px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 999;
        box-sizing: border-box;
    }
}

@media (max-width: 767px) {
		/* Переводим главную grid-сетку одежды в один вертикальный ряд */
		.product-card-container {
			display: flex !important;
			flex-direction: column !important;
			gap: 0 !important;
			padding-top: 0;
		}

		/* Растягиваем галерею слайдера на 100% ширины экрана смартфона */
		.product-gallery {
			width: 100% !important;
			display: block !important;
			margin-bottom: 15px !important;
		}

		/* Прячем вертикальную ленту миниатюр (на смартфонах она не нужна по макету) */
		.gallery-thumbs {
			display: none !important;
		}

		.gallery-main {
			width: 100% !important;
		}

		/* Снимаем sticky-позиционирование с правого блока */
		.product-info-sticky {
			position: relative !important;
			top: 0 !important;
			width: 100% !important;
		}

		/* Оформление плашек размеров под мобильный макет */
		.product-item-scu-item-list {
			flex-wrap: wrap !important;
			gap: 10px !important;
		}

		.product-item-scu-item-text-container {
			flex: 1 1 calc(33.333% - 10px) !important; /* Выстраиваем по 3 размера в ряд */
			min-width: 70px !important;
			height: 35px !important;
			border: 1px solid #e0e0e0 !important;
			display: flex !important;
			align-items: center !important;
			justify-content: center !important;
			background: #fff !important;
		}

		.product-item-scu-item-text-container.active {
			border: 1px solid #333 !important;
			max-width: 70px;
		}

		/* Спрячем десктопный блок счетчика и покупки на 1-м экране */
		.purchase-actions.add-pk {
			display: none !important;
		}

		/* ФИКСИРОВАННАЯ НИЖНЯЯ ПАНЕЛЬ ПОКУПКИ (СТРОГО ПО МАКЕТУ ДИЗАЙНЕРА) */
		.add-to-cart.add-mobil {
				display: flex !important;
				position: sticky;
				bottom: 55px !important;
				left: 0 !important;
				width: 100% !important;
				height: 75px !important;
				background: #fff !important;
				border-top: 1px solid #eee !important;
				box-shadow: 0 -5px 20px rgba(0,0,0,0.03) !important;
				z-index: 9 !important;
				align-items: center !important;
				justify-content: space-between !important;
				padding: 12px 15px !important;
				box-sizing: border-box !important;
			}

		/* Кнопка "В корзину" в мобильной шторке */
		.add-mobil .mob-buy-btn-link {
			flex-grow: 1 !important;
			height: 50px !important;
			background: #7097cb !important; /* Фирменный b2c-цвет Bycoccon */
			color: #fff !important;
			display: flex !important;
			align-items: center !important;
			justify-content: center !important;
			text-decoration: none !important;
			font-size: 14px !important;
			font-weight: 500 !important;
			letter-spacing: 1px !important;
			border-radius: 0px !important;
			transition: background 0.2s !important;
		}

		/* Мобильное сердечко "Избранное" рядом с кнопкой */
		.add-mobil .mob-fav-btn {
			width: 50px !important;
			height: 50px !important;
			border: 1px solid #ddd !important;
			margin-left: 12px !important;
			display: flex !important;
			align-items: center !important;
			justify-content: center !important;
			color: #555 !important;
			cursor: pointer !important;
		}
		
		.add-mobil .mob-fav-btn.active {
			color: #e74c3c !important;
		}
		
		.breadcrumbs-nav-block {
			display: none;
		}
		.element-container {
			margin-top: 0;
		}
		.gallery-main .slick-list, .gallery-main .slick-track, #slider, #slider .slide, .gallery-main img, #slider .slide img {
			max-height: 72vh !important;
		}
		.gallery-main {
			width: 100% !important;
			height: 72vh !important;
		}
		.detail {
			align-items: flex-start !important;
			padding: 0 15px;
		}
		.product-header {
			width: 100%;
		}
		.product-title {
			font-size: 18px;
		}
		.price .product-item-detail-price-current.mb-1 {
			margin-bottom: 0 !important;
			font-size: 18px !important;
		}
		.price {
			justify-content: start !important;
		}
		.product-prop-section {
			width: 100%;
		}
		.select-color__header.js-dropdown-header {
			padding: 12px 15px; 
		}
		.select-color__dropdown-list.js-dropdown-list {
			max-height: 160px;
		}
		.select-color {
			margin: 5px 0 !important;
		}
		.product-prop-section.dropdown-color-section {
			margin-bottom: 0;
		}
		.product-item-scu-item-list {
			justify-content: flex-start !important;
		}
		.detail .product-item-scu-item-list {
			margin-left: 0 !important;
		}
		.mb-3.st2 {
			margin-bottom: 0 !important;
		}
		.product-description-block {
			padding: 5px 0 !important;
			margin: 0 !important;
		}
		.product-accordion {
			width: 100%;
		}
		.shoff_short {
			font-size: 14px !important;
		}
		.shoff_fulls.active {
			font-size: 14px !important;
		}
		.product-item-scu-item-text-container {
			max-width: 70px;
		}
		.fiod {
			margin-top: 10px;
		}
				/* Отображение и позиционирование мобильной кнопки поделиться на фото */
		.mob-share-trigger {
			display: flex !important;
			position: absolute !important;
			top: 15px !important;
			right: 15px !important;
			width: 38px !important;
			height: 38px !important;
			background: #fff !important;
			border-radius: 50% !important;
			box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
			z-index: 900 !important; /* Поверх слайдов Slick */
			align-items: center !important;
			justify-content: center !important;
			cursor: pointer !important;
			opacity: 0.5 !important;
		}
		.product-item-scu-item-text-container {
		max-width: 40px !important;
	}
	
	.share-modal {
		margin: 0 25px;
		border-radius: 4px !important;
	}
		
}
