/* Специфичные стили для страницы входной двери */

/* Изменение пропорций основной сетки */
.product-main__grid {
    grid-template-columns: minmax(0, 40%) minmax(0, 60%) !important;
}

/* Изменение пропорций сетки опций */
.options-grid {
    grid-template-columns: minmax(0, 50%) minmax(0, 50%) !important;
}

/* Ограничение ширины блока заголовка и перенос текста */
.product-title-block {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Галерея с двумя изображениями */
.product-gallery__images {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.product-gallery__image-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
}
.product-gallery__image-item img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s;
    /* border-radius удалён */
}
.product-gallery__image-item img:hover {
    transform: scale(1.02);
}
/* Скрываем подписи */
.product-gallery__image-caption {
    display: none;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .product-main__grid {
        grid-template-columns: 1fr !important;
    }
    .product-gallery__images {
        flex-direction: column;
    }
    .product-gallery__image-item {
        min-width: auto;
    }
    .options-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Стили для action-btn в карточке товара */
.product-gallery__images .product-card-actions .action-btn {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 20px 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-decoration: none;
}

.product-gallery__images .product-card-actions .action-btn:hover {
    background: var(--color-accent);
    color: white;
}

.product-gallery__images .product-card-actions .action-btn i {
    font-size: 16px;
}