/* Принудительные стили для страницы каталога */

/* Стили для заголовка мини-порций CLASSICO */
.section-header h3, 
.section-header h3.uppercase-title,
.section-header .uppercase-title {
    font-size: 36px !important;
    text-align: center !important;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #333 !important;
}

/* Стили для подзаголовка "итальянский десерт" */
.section-header + p,
.section-header .section-subtitle,
p.section-subtitle {
    text-align: center !important;
    font-style: italic !important;
    margin-bottom: 30px !important;
    color: #666 !important;
}

/* Стили для названий пирожных */
.product-catalog-details h3 {
    font-size: 24px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: #333 !important;
    display: block !important;
}

/* Стили для веса продукта */
.product-weight {
    text-align: center !important;
    font-size: 18px !important;
    margin-bottom: 15px !important;
}

/* Центрирование карточек в линейках CLASSICO и UNO */
.product-catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    margin-top: 40px !important;
    justify-items: center !important;
}

/* Стили для карточек продуктов */
.product-catalog-card {
    background-color: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    max-width: 350px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* Стили для изображений продуктов */
.product-catalog-image {
    text-align: center !important;
    padding: 15px !important;
}

.product-catalog-image img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;

    margin: 6px;
}

/* Стили для деталей продукта */
.product-catalog-details {
    padding: 20px !important;
}

/* Принудительное применение стилей для мини-порций */
.section-header[style*="margin-top: 60px"],
.section-header.section-subheader[style*="margin-top: 60px"] {
    margin-top: 60px !important;
    padding-top: 40px !important;
    border-top: 1px solid #eee !important;
}

.section-header[style*="margin-top: 60px"] h3,
.section-header[style*="margin-top: 60px"] .uppercase-title,
.section-header.section-subheader[style*="margin-top: 60px"] h3,
.section-header.section-subheader[style*="margin-top: 60px"] .uppercase-title {
    font-size: 32px !important;
    color: #333 !important;
}

.section-header[style*="margin-top: 60px"] .section-subtitle,
.section-header.section-subheader[style*="margin-top: 60px"] .section-subtitle {
    font-style: italic !important;
    color: #666 !important;
    text-align: center !important;
    margin-bottom: 30px !important;
}