/**
 * Стили для товарной страницы окна
 * Template: product-window-page.php
 */

/* Основная секция товара */
.product-window {
    padding: 60px 0 80px;
    background: #fff;
}

.product-window__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}

.product-window__wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Левая часть - Изображение */
.product-window__image {
    flex: 0 0 50%;
    max-width: 50%;
}

.product-window__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    object-fit: contain;
    background: #f8f9fa;
}

.product-window__image-placeholder {
    width: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ccd0d5;
}

.product-window__image-placeholder span {
    color: #8c939a;
    font-size: 18px;
    font-weight: 500;
}

/* Правая часть - Контент */
.product-window__content {
    flex: 0 0 calc(50% - 60px);
    max-width: calc(50% - 60px);
}

.product-window__title {
    font-family: 'GothamPro', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #252525;
    margin: 0 0 24px;
    line-height: 1.2;
}

.product-window__description {
    font-size: 16px;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 32px;
}

.product-window__description p {
    margin: 0;
}

/* Детали товара */
.product-window__details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.product-window__size {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e4e8ec;
}

.product-window__label {
    font-size: 14px;
    color: #8c939a;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-window__value {
    font-size: 18px;
    font-weight: 600;
    color: #252525;
}

.product-window__price {
    display: flex;
    align-items: center;
}

.product-window__price-value {
    font-family: 'GothamPro', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #005A98;
}

/* Кнопка заказа */
.product-window__actions {
    margin-bottom: 20px;
}

.product-window__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-window__button.button {
    background: #d60a0e;
    color: #fff;
    border: none;
}

.product-window__button.button:hover {
    background: #d60a0e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 90, 152, 0.3);
}

/* Примечание */
.product-window__note {
    padding: 16px 20px;
    background: linear-gradient(135deg, #e8f4fd 0%, #d4ecfb 100%);
    border-radius: 8px;
    border-left: 4px solid #005A98;
}

.product-window__note p {
    margin: 0;
    font-size: 14px;
    color: #005A98;
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .product-window__wrapper {
        gap: 40px;
    }
    
    .product-window__title {
        font-size: 30px;
    }
    
    .product-window__price-value {
        font-size: 28px;
    }
}

@media (max-width: 991px) {
    .product-window {
        padding: 40px 0 60px;
    }
    
    .product-window__wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-window__image,
    .product-window__content {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .product-window__image img {
        max-height: 400px;
        margin: 0 auto;
        display: block;
    }
    
    .product-window__title {
        font-size: 26px;
        text-align: center;
    }
    
    .product-window__description {
        text-align: center;
    }
    
    .product-window__details {
        padding: 20px;
    }
    
    .product-window__size {
        justify-content: center;
    }
    
    .product-window__price {
        justify-content: center;
    }
    
    .product-window__actions {
        text-align: center;
    }
    
    .product-window__button {
        width: 100%;
        max-width: 400px;
    }
    
    .product-window__note {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .product-window {
        padding: 30px 0 40px;
    }
    
    .product-window__title {
        font-size: 22px;
    }
    
    .product-window__description {
        font-size: 15px;
    }
    
    .product-window__price-value {
        font-size: 24px;
    }
    
    .product-window__button {
        padding: 16px 30px;
        font-size: 14px;
    }
}
