

/* Start:/local/templates/zavodlga/components/bitrix/catalog.element/offers/style.css?17835231227274*/
/* ===== СТИЛИ ДЛЯ СЕЛЕКТОРОВ ТОРГОВЫХ ПРЕДЛОЖЕНИЙ ===== */
.production__offer-selectors {
    display: flex;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 12px 0;
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
    margin-bottom: 5px;
    width: 100%;
}

.production__offer-selector {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
    flex: 0 0 auto !important;
}

.production__offer-label {
    font-weight: 500;
    color: var(--color-blck);
    white-space: nowrap;
    min-width: 130px;
    flex-shrink: 0;
}

.production__offer-selector .select {
    flex: 1 !important;
    min-width: 200px !important;
    max-width: 400px !important;
    transition: opacity 0.3s ease;
}

.production__offer-selector .select__body {
    width: 100% !important;
}

.production__offer-selector .select__title {
    width: 100% !important;
}

.production__offer-selector .select__value {
    width: 100% !important;
}

/* Стили для затемненных селекторов */
.production__offer-selector .select[style*="opacity: 0.4"] {
    pointer-events: none !important;
}

.production__offer-selector .select[style*="opacity: 0.4"] .select__title {
    cursor: not-allowed !important;
}

/* Стили для выпадающего списка */
.production__offer-selector .select__options {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 100%;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px 0;
    background: var(--color-whte);
    border-radius: 15px;
    box-shadow: 0 20px 30px rgba(var(--color-blck--rgb), 0.2);
    z-index: 100;
}

.production__offer-selector .select__scroll {
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Базовые стили для опций - ВСЕГДА ПОКАЗЫВАЕМ */
.production__offer-selector .select__option {
    display: block !important;
    width: 100%;
    padding: 10px 15px;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease-in 0s;
    font-weight: 500;
    background: transparent;
    border: none;
}

.production__offer-selector .select__option:hover {
    background: var(--color-alt) !important;
    color: var(--color-whte) !important;
}

/* Выбранная опция */
.production__offer-selector .select__option._select-selected {
    background-color: var(--color-alt) !important;
    color: var(--color-whte) !important;
}

/* Заголовок селекта */
.production__offer-selector .select__content {
    transition: all 0.3s ease;
}

/* Стили для затемненной цены */
.production__prices .production__price[style*="color: #999"] {
    transition: all 0.3s ease;
}

.production__prices .production__old[style*="color: #999"] {
    transition: all 0.3s ease;
}

/* Стили для затемненной кнопки */
.production__constructor-basket[style*="opacity: 0.4"] {
    pointer-events: none !important;
}

/* Адаптив */
@media only screen and (max-width: 991.98px) {
    .production__offer-selectors {
        flex-direction: column;
        gap: 12px;
    }
    
    .production__offer-selector {
        width: 100%;
    }
}

@media only screen and (max-width: 620px) {
    .production__offer-selector {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
    }
    
    .production__offer-label {
        min-width: auto;
    }
    
    .production__offer-selector .select {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
    }
}

.production__total {
    position: relative;
    cursor: help;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    width: 280px;
    background: #2b2b2b;
    color: #ffffff;
    font-size: 13px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    white-space: normal;
    z-index: 10;
}

.tooltip-text:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2b2b2b;
}

.production__total:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.production__total.yes-available {
	--color: #397D3D; 
	--bg: rgba(39, 213, 73, 0.10);
}
.production__total.non-available {
	--color: #ff3d00; 
	--bg: rgba(255, 0, 0, 0.10);
}
/* Выравнивание списка складов по левому краю */
.store-list {
    display: block;
    text-align: left !important;
    padding-left: 12px;
    padding-right: 12px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 6px;
}

/* Если нужна более компактная запись */
.store-list br {
    display: block;
    content: "";
    margin: 2px 0;
}

/* Стиль для каждой строки склада (опционально) */
.store-list .store-item {
    display: block;
    padding: 2px 0;
    font-weight: 400;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}
.tabs__characteristics-blocks {
	color:black;
}

/* Полноэкранный режим fancybox */
.fancybox__container:not(.fancybox--carousel) .fancybox__content {
    padding: 0 !important;
    max-width: 100% !important;
    max-height: 100vh !important;
}

.fancybox__container:not(.fancybox--carousel) .fancybox__slide {
    padding: 0 !important;
}

.fancybox__container {
    max-width: 100% !important;
    background: rgba(0, 0, 0, 0.9) !important; /* Затемнение фона */
}

/* Для изображений */
.fancybox__content img {
    max-width: 100vw !important;
    max-height: 100vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* ===== Кнопка "Поделиться" ===== */
.production__constructor {
    position: relative;
}

.share-trigger {
    position: relative;
}

.share-trigger.active {
    background: var(--color-alt);
}
.share-trigger.active:before {
    background: var(--color-whte) !important;
}

/* ===== Выпадающий список соцсетей ===== */
.share-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 100;
    background: var(--color-whte);
    border-radius: 12px;
    padding: 12px 16px;
    min-width: max-content;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: shareFadeIn 0.25s ease;
}

.share-dropdown:before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--color-whte);
}

/* ===== Адаптация для мобильных ===== */
@media (max-width: 767.98px) {
    .share-dropdown {
        right: -10px;
        min-width: 180px;
        padding: 10px 12px;
    }
    .share-dropdown:before {
        right: 15px;
    }
}
/* End */
/* /local/templates/zavodlga/components/bitrix/catalog.element/offers/style.css?17835231227274 */
