

/* Start:/local/templates/reborn/components/bitrix/catalog.element/pdp_fashion/style.css?179451759421364*/
/* ==========================================================================
   0. BITRIX NESTED CONTAINER FIX
   ========================================================================== */
/* Защита от двойных отступов, когда Битрикс вкладывает контейнеры друг в друга */
.site-container .site-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* ==========================================================================
   1. MAIN GRID & LAYOUT (01-pdp-layout.css)
   ========================================================================== */
.pdp-layout {
    display: grid;
    grid-template-columns: minmax(440px, 1fr) minmax(500px, 1.25fr) 72px;
    column-gap: 50px;
    align-items: start;
    /* Убрали боковые отступы, так как они уже есть у родительского .site-container */
    padding: 32px 0 80px; 
    position: relative;
    box-sizing: border-box;
    width: 100%;
}

/* ==========================================================================
   2. LEFT COLUMN: STICKY INFO (02-pdp-info.css)
   ========================================================================== */
.pdp-info-col {
    position: sticky;
    top: calc(var(--header-height, 64px) + 20px);
    z-index: 10;
}

.pdp-info-content {
    display: flex;
    flex-direction: column;
}

/* Заголовок и цена */
.pdp-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 24px;
}

.pdp-title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #111111;
    margin: 0;
    line-height: 1.2;
}

.pdp-prices-box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    text-align: right;
    white-space: nowrap;
}

.pdp-price--current {
    font-size: 18px;
    font-weight: 500;
    color: #111111;
}

.pdp-price--old {
    font-size: 16px;
    font-weight: 400;
    color: #9E9E9E;
    text-decoration: line-through;
}

.pdp-desc-text {
    font-size: 13px;
    line-height: 1.55;
    color: #111111;
    margin-bottom: 32px;
    max-width: 480px;
    font-weight: 400;
}

/* Артикул */
.pdp-article-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
}

.pdp-article-copy {
    font-size: 12px;
    font-weight: 500;
    color: #111111;
    text-decoration: underline;
    text-underline-offset: 3px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.pdp-article-copy:hover {
    opacity: 0.6;
}

.pdp-article-copied {
    font-size: 11px;
    color: #15803d;
    font-weight: 500;
    margin-left: 4px;
}

/* Размеры и добавление в корзину */
.pdp-sizes-cart-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px;
}

.pdp-sizes-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.pdp-size-item {
    font-size: 13px;
    font-weight: 500;
    color: #111111;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.pdp-size-item:hover {
    opacity: 0.6;
}

.pdp-size-item.is-selected {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

.pdp-size-item.is-disabled {
    color: #D2D2D2;
    cursor: default;
    pointer-events: none;
    text-decoration: none;
}

.pdp-btn-add-cart {
    font-size: 13px;
    font-weight: 500;
    color: #A31E1E;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s ease;
}

.pdp-btn-add-cart:hover {
    opacity: 0.7;
}

/* Долями и Лист ожидания */
.pdp-bnpl-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
}

.pdp-btn-subscribe {
    font-size: 13px;
    font-weight: 500;
    color: #111111;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s ease;
}

.pdp-btn-subscribe:hover {
    opacity: 0.6;
}

.bnpl-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bnpl-badge__icon {
    background: #000000;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.bnpl-badge__text {
    font-size: 12px;
    color: #111111;
}

.bnpl-arrow {
    font-family: monospace;
    margin-left: 4px;
}

.bnpl-info-link {
    font-size: 12px;
    color: #A0A0A0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Цвета и Вишлист */
.pdp-colors-wishlist-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
}

.pdp-sublabel {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #111111;
}

.pdp-btn-wishlist {
    font-size: 11px;
    font-weight: 500;
    color: #A0A0A0;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.pdp-btn-wishlist.is-active {
    color: #111111;
}

.pdp-colors-grid {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.pdp-color-swatch {
    width: 64px;
    height: 86px;
    background: #F8F8F8;
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.pdp-color-swatch.is-active,
.pdp-color-swatch:hover {
    border-color: #111111;
}

.pdp-color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Спецификации и навигация */
.pdp-specs-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #111111;
    margin-bottom: 28px;
}

.pdp-links-row {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.pdp-inline-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #111111;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.pdp-footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #EFEFEF;
}

.back-catalog-link,
.need-help-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.back-catalog-link { color: #111111; }
.need-help-link { color: #D2C29D; }

/* ==========================================================================
   3. CENTRAL GALLERY (03-pdp-gallery.css)
   ========================================================================== */
.pdp-gallery-col {
    position: relative;
    width: 100%;
}

.pdp-gallery-track {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pdp-big-photo {
    width: 100%;
    background-color: #F8F8F8;
    overflow: hidden;
}

.pdp-big-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-bottom-fade {
    width: 100%;
    height: 120px;
    margin-top: -120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
    pointer-events: none;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   4. RIGHT COLUMN: THUMBNAILS (04-pdp-thumbs.css)
   ========================================================================== */
.pdp-thumbs-col {
    position: sticky;
    top: calc(var(--header-height, 64px) + 20px);
}

.pdp-thumbs-sticky {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pdp-thumb-item {
    width: 100%;
    aspect-ratio: 3 / 4;
    padding: 0;
    border: 1px solid transparent;
    background: #F8F8F8;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.pdp-thumb-item.is-active,
.pdp-thumb-item:hover {
    opacity: 1;
    border-color: #111111;
}

.pdp-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   5. COMPLETE LOOK (05-complete-look.css)
   ========================================================================== */
.complete-look-section {
    padding: 40px 0 80px;
    border-top: 1px solid #EFEFEF;
}

.complete-look-heading {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111111;
    margin-bottom: 32px;
}

.complete-look-wrapper {
    width: 100%;
    position: relative;
}

.complete-look-track {
    position: relative;
    width: 100%;
}

.complete-look-slide {
    display: none;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
    animation: lookFadeIn 0.35s ease;
}

.complete-look-slide.is-active {
    display: grid;
}

@keyframes lookFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.complete-look-links-row {
    margin-top: 20px;
}

.look-photo-slider {
    width: 100%;
    background: #F8F8F8;
    position: relative;
    cursor: pointer;
}

.look-photo-slide {
    display: none;
    width: 100%;
}

.look-photo-slide.is-active {
    display: block;
}

.look-photo-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   6. OTHER POSITIONS / REEL (06-other-positions.css)
   ========================================================================== */
.other-positions-section {
    padding: 40px 0 80px;
    width: 100%;
    position: relative;
}

.other-positions-heading {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111111;
    margin-bottom: 32px;
}

/* Вырываем ленту из контейнера на всю ширину экрана */
.positions-reel-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: visible; /* УБРАНО ограничение, чтобы не резать кнопки */
}

.positions-reel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 24px;
    /* Точный расчет отступа: 40px - это базовый паддинг сайта. Это выровняет 1-ю карточку по сетке. */
    padding-left: max(40px, calc((100vw - 1600px) / 2 + 40px));
    padding-right: max(40px, calc((100vw - 1600px) / 2 + 40px));
}

.positions-reel-track::-webkit-scrollbar {
    display: none;
}

/* Кнопки навигации карусели */
.reel-nav-btn {
    position: absolute !important;
    top: calc(50% - 24px) !important; /* Центрируем по картинке, учитывая высоту текста */
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    background: #FFFFFF !important;
    border: 1px solid #EBEBEB !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #111111 !important;
    padding: 0 !important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
    z-index: 20 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.reel-nav-btn:hover {
    background: #F8F8F8 !important;
    transform: translateY(-50%) scale(1.05) !important;
}

/* Позиционируем кнопки по краям контента, чуть наплывая на карточки */
.reel-nav-btn--prev { 
    left: calc(max(40px, 50vw - 800px + 40px) - 22px) !important; 
}
.reel-nav-btn--next { 
    right: calc(max(40px, 50vw - 800px + 40px) - 22px) !important; 
}

.reel-product-card {
    flex: 0 0 calc(25% - 12px); 
    min-width: 240px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
}

.reel-product-card__photo {
    width: 100%;
    aspect-ratio: 2 / 3;
    background: #F8F8F8;
    margin-bottom: 12px;
}

.reel-product-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-product-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12px;
    text-transform: uppercase;
    color: #111111;
    margin-top: 12px;
    gap: 12px;
}

.reel-product-card__title {
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.reel-product-card__price {
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ==========================================================================
   7. MODALS (07-pdp-modals.css)
   ========================================================================== */
.subscribe-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999; 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background: transparent; 
}

.subscribe-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.subscribe-modal__box {
    background: #FFFFFF;
    width: 100%;
    max-width: 440px;
    padding: 48px 40px;
    position: relative;
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.subscribe-modal.is-active .subscribe-modal__box {
    transform: translateY(0);
}

.subscribe-modal__close {
    position: absolute;
    top: 16px; right: 16px;
    background: none; border: none;
    font-size: 20px; cursor: pointer; color: #111111;
}

.subscribe-modal__title {
    font-size: 18px; 
    font-weight: 500; 
    text-transform: uppercase;
    margin: 0 0 16px 0; 
    letter-spacing: 0.02em;
}

.subscribe-modal__desc {
    font-size: 13px; 
    color: #555555; 
    margin-bottom: 24px; 
    line-height: 1.5;
}

.subscribe-modal__form { 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
}

.subscribe-modal__form input {
    padding: 14px 16px; 
    border: 1px solid #EFEFEF;
    font-size: 14px; 
    outline: none; 
    transition: border-color 0.2s;
    text-align: center;
}

.subscribe-modal__form input:focus { 
    border-color: #111111; 
}

.subscribe-modal__submit {
    padding: 16px; 
    background: #111111; 
    color: #FFFFFF;
    font-size: 13px; 
    font-weight: 500; 
    letter-spacing: 0.04em;
    text-transform: uppercase; 
    border: none; 
    cursor: pointer;
    transition: background 0.2s;
}

.subscribe-modal__submit:hover { 
    background: #333333; 
}

.subscribe-modal__status { 
    margin-top: 16px; 
    font-size: 13px; 
}

/* ==========================================================================
   8. MOBILE RESPONSIVE (08-pdp-mobile.css)
   ========================================================================== */
@media (max-width: 1024px) {
    .pdp-layout {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    /* Галерея уходит наверх */
    .pdp-gallery-col {
        order: -1;
        width: 100%;
    }

    .pdp-gallery-track {
        display: flex;
        flex-direction: row;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .pdp-big-photo {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }

    /* Скрываем ПК элементы */
    .gallery-bottom-fade,
    .pdp-thumbs-col {
        display: none;
    }

    /* Инфо-блок */
    .pdp-info-col {
        position: relative;
        top: 0;
        order: 1;
        width: 100%;
        padding: 24px 16px 60px; /* Строгие мобильные отступы */
    }

    /* Типографика (мобилка) */
    .pdp-heading-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 16px;
    }

    .pdp-title { font-size: 18px; line-height: 1.3; }
    
    .pdp-prices-box { flex-direction: row; align-items: baseline; }
    .pdp-price--current { font-size: 16px; font-weight: 500; }
    .pdp-price--old { font-size: 14px; }
    
    .pdp-desc-text { font-size: 12px; margin-bottom: 24px; }
    
    .pdp-sizes-cart-row { align-items: center; margin-bottom: 24px; }
    .pdp-size-item { font-size: 13px; }
    .pdp-btn-add-cart { font-size: 13px; }
    
    .pdp-colors-wishlist-row { margin-bottom: 12px; }
    .pdp-sublabel { font-size: 11px; }
    .pdp-btn-wishlist { font-size: 11px; }
    
    .pdp-colors-grid { gap: 8px; margin-bottom: 24px; }
    .pdp-color-swatch { width: 54px; height: 72px; }
    
    .pdp-specs-block { font-size: 11px; gap: 6px; margin-bottom: 20px; }
    .pdp-inline-link { font-size: 11px; }
    
    .pdp-links-row { gap: 16px; margin-bottom: 40px; }
    .back-catalog-link, .need-help-link { font-size: 11px; }

    /* Долями */
    .pdp-bnpl-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }
    .pdp-bnpl-row .bnpl-info-link {
        align-self: flex-end;
        margin-top: -30px;
    }

    /* Дополните Образ (мобилка) */
    .complete-look-section {
        padding: 32px 0 60px;
    }
    .complete-look-heading {
        padding-left: 16px;
        font-size: 12px;
        margin-bottom: 20px;
    }
    .complete-look-slide {
        display: none;
        flex-direction: column;
        gap: 24px;
    }
    .complete-look-slide.is-active {
        display: flex;
    }
    .complete-look-visual {
        order: -1;
    }

    /* Рилс (Другие позиции - мобилка) */
    .other-positions-section {
        padding: 32px 0 60px; 
    }
    .other-positions-heading {
        padding-left: 16px;
        font-size: 12px; 
        margin-bottom: 20px;
    }
    .positions-reel-track {
        /* На планшетах и телефонах жестко задаем отступы */
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .reel-product-card {
        flex: 0 0 65%; /* Видно кусок следующей карточки для свайпа */
        min-width: 0;
        max-width: none;
    }
    .reel-product-card__title,
    .reel-product-card__price {
        font-size: 11px;
    }

    /* Скрываем кнопки со стрелками на телефонах (удобнее пальцем) */
    .reel-nav-btn {
        display: none !important;
    }
}

/* ==========================================================================
   СТИЛИ ДЛЯ КОНТЕНТА ДРОУЭРА "ДОСТАВКА" (ИСПРАВЛЕННЫЕ)
   ========================================================================== */
.drawer-spacing {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Большой отступ между разными способами доставки */
    padding-top: 24px;
    padding-bottom: 40px;
}

.drawer-section {
    display: block; /* Уходим от flex для предсказуемости текста */
}

.drawer-section__title {
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    margin: 0 0 16px 0 !important; /* Жесткий отступ под заголовком */
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.drawer-section__list {
    margin: 0 0 16px 0 !important; /* Отступ между списком и серой плашкой */
    padding: 0 0 0 20px !important; /* Место под точки */
    list-style-type: disc !important; /* Принудительно возвращаем точки */
}

.drawer-section__list li {
    font-size: 13px;
    line-height: 1.6;
    color: #111111;
    margin-bottom: 8px !important; /* Отступ между самими пунктами */
    list-style-type: disc !important; /* Защита от сброса */
    display: list-item !important; /* Защита от display: block из ресета */
}

.drawer-section__list li:last-child {
    margin-bottom: 0 !important;
}

.drawer-section__list li::marker {
    color: #888888; /* Аккуратные серые точки */
}

.delivery-details {
    font-size: 13px;
    line-height: 1.6;
    color: #555555;
    margin: 0 !important;
    background: #F8F8F8;
    padding: 16px !important; /* Больше воздуха внутри серой плашки */
    border-radius: 4px;
}

.delivery-details strong {
    color: #111111;
    font-weight: 500;
}
/* End */
/* /local/templates/reborn/components/bitrix/catalog.element/pdp_fashion/style.css?179451759421364 */
