@import url("css/windowsill.css");

/* Подзаголовок раздела */
.section-subtitle {
    font-size: 16px;
    color: #888;
    margin-top: -35px;
    margin-bottom: 40px;
    font-weight: normal;
}

/* Карточки изделий */
.product-card {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid #eee;
    background: #fff;
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-link:hover {
    text-decoration: none;
}

/* Обертка изображения */
.product-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 1.6;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover-эффект для изображения */
.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: #c5a47e;
}

/* Заголовок изделия */
.product-title {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    margin-top: 15px;
    margin-bottom: 0;
}

.product-card:hover .product-title {
    color: #c5a47e;
}

/* Иконка калькулятора на оверлее */
.product-img-wrapper .icon-proto {
    font-size: 32px;
}

.product-img-wrapper:hover .overlay-porto {
    opacity: 1;
}

.product-img-wrapper:hover .zoomico {
    transform: scale(1);
}

/* Адаптивность для сетки плиток */
@media (max-width: 991px) {
    .product-card {
        padding: 15px !important;
    }
    .product-title {
        font-size: 16px;
    }
}
