/* catalog-style.css - современный дизайн страницы подбора */

/* ===== КАЛЬКУЛЯТОР ===== */
.calculator-section-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 1.5rem 1rem;
    margin: 1rem auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03), 0 10px 20px rgba(0,191,165,0.1);
    border: 1px solid rgba(0,191,165,0.1);
    max-width: 1200px;
    width: 95%;
}

@media (min-width: 768px) {
    .calculator-section-modern {
        padding: 2.5rem;
        margin: 2rem auto;
        border-radius: 30px;
    }
}

.calculator-header-modern {
    text-align: center;
    margin-bottom: 1.5rem;
}

.calculator-title-modern {
    font-size: 1.5rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .calculator-title-modern {
        font-size: 2.2rem;
    }
}

.calculator-title-modern span {
    color: #00BFA5;
    font-weight: 400;
    display: inline-block;
}

.calculator-subtitle-modern {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .calculator-subtitle-modern {
        font-size: 1.1rem;
    }
}

.calculator-card-modern {
    background: white;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,191,165,0.1);
}

@media (min-width: 768px) {
    .calculator-card-modern {
        border-radius: 24px;
        padding: 2rem;
    }
}

/* Сетка калькулятора - мобильная версия */
.calculator-grid-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .calculator-grid-modern {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
}

/* Заголовки секций */
.calc-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0,191,165,0.2);
    padding-bottom: 0.5rem;
}

.calc-section-icon {
    font-size: 1.3rem;
}

@media (min-width: 768px) {
    .calc-section-icon {
        font-size: 1.8rem;
    }
}

.calc-section-title h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #00BFA5;
    margin: 0;
}

@media (min-width: 768px) {
    .calc-section-title h3 {
        font-size: 1.2rem;
    }
}

/* Сетка параметров помещения */
.calc-params-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 480px) {
    .calc-params-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Поле на всю ширину */
.calc-param-item.full-width {
    grid-column: auto;
}

@media (min-width: 480px) {
    .calc-param-item.full-width {
        grid-column: span 2;
    }
}

/* Стили для полей ввода */
.calc-param-item label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .calc-param-item label {
        font-size: 0.9rem;
    }
}

.param-input-wrapper {
    position: relative;
}

.param-input-wrapper input {
    width: 100%;
    padding: 0.7rem 2.5rem 0.7rem 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: white;
    -webkit-appearance: none;
}

@media (min-width: 768px) {
    .param-input-wrapper input {
        padding: 0.8rem 3rem 0.8rem 1rem;
        font-size: 1rem;
    }
}

.param-input-wrapper input:focus {
    outline: none;
    border-color: #00BFA5;
    box-shadow: 0 0 0 3px rgba(0,191,165,0.1);
}

.param-unit {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #00BFA5;
    font-weight: 500;
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .param-unit {
        font-size: 0.9rem;
    }
}

/* Стили для select */
.calc-param-item select {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: white;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300BFA5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1rem;
}

@media (min-width: 768px) {
    .calc-param-item select {
        padding: 0.8rem 1rem;
        font-size: 1rem;
        background-position: right 1rem center;
    }
}

.calc-param-item select:focus {
    outline: none;
    border-color: #00BFA5;
    box-shadow: 0 0 0 3px rgba(0,191,165,0.1);
}

/* Радио-кнопки для солнечной стороны */
.param-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
}

.param-option {
    cursor: pointer;
}

.param-option input[type="radio"] {
    display: none;
}

.option-content {
    display: block;
    padding: 0.6rem 0.2rem;
    text-align: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.7rem;
    transition: all 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 480px) {
    .option-content {
        font-size: 0.8rem;
        padding: 0.6rem 0.3rem;
    }
}

@media (min-width: 768px) {
    .option-content {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }
}

.param-option input[type="radio"]:checked + .option-content {
    background: #00BFA5;
    border-color: #00BFA5;
    color: white;
}

/* Сетка теплопритоков */
.calc-heat-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

@media (min-width: 480px) {
    .calc-heat-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Элемент теплопритока */
.heat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    flex-wrap: nowrap;
}

@media (min-width: 768px) {
    .heat-item {
        padding: 0.7rem;
        border-radius: 12px;
    }
}

.heat-icon {
    font-size: 1.1rem;
    min-width: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .heat-icon {
        font-size: 1.3rem;
        min-width: 2rem;
    }
}

.heat-label {
    flex: 1;
    font-size: 0.75rem;
    color: #2c3e50;
    white-space: nowrap;
}

@media (min-width: 480px) {
    .heat-label {
        font-size: 0.8rem;
    }
}

@media (min-width: 768px) {
    .heat-label {
        font-size: 0.9rem;
    }
}

.heat-item input {
    width: 50px;
    padding: 0.3rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-align: center;
    font-size: 0.8rem;
    -webkit-appearance: none;
}

@media (min-width: 480px) {
    .heat-item input {
        width: 60px;
    }
}

@media (min-width: 768px) {
    .heat-item input {
        width: 70px;
        padding: 0.4rem;
        font-size: 0.9rem;
    }
}

.heat-item input:focus {
    outline: none;
    border-color: #00BFA5;
}

/* Блок результата */
.calculator-result-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(135deg, #00BFA5 0%, #006064 100%);
    border-radius: 12px;
    padding: 1.2rem;
    color: white;
}

@media (min-width: 768px) {
    .calculator-result-modern {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 2rem;
        border-radius: 16px;
    }
}

.result-info {
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .result-info {
        text-align: left;
    }
}

.result-label {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 0.2rem;
}

@media (min-width: 768px) {
    .result-label {
        font-size: 0.9rem;
    }
}

.result-value-modern {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.2rem;
}

@media (min-width: 768px) {
    .result-value-modern {
        font-size: 2.8rem;
    }
}

.result-value-modern small {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .result-value-modern small {
        font-size: 1rem;
    }
}

.result-hint {
    font-size: 0.7rem;
    opacity: 0.7;
}

@media (min-width: 768px) {
    .result-hint {
        font-size: 0.8rem;
    }
}

/* Кнопка подбора */
.calc-btn-modern {
    background: white;
    color: #00BFA5;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .calc-btn-modern {
        width: auto;
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
        white-space: nowrap;
    }
}

.calc-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.calc-btn-modern:active {
    transform: translateY(0);
}

/* ===== ФИЛЬТРЫ ===== */
.show-filters-btn-modern {
    background: #00BFA5;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    width: 100%;
}

@media (min-width: 768px) {
    .show-filters-btn-modern {
        width: auto;
        padding: 0.8rem 2rem;
    }
}

.show-filters-btn-modern.visible {
    display: flex;
}

.show-filters-btn-modern:hover {
    background: #006064;
    transform: translateY(-2px);
}

/* Панель фильтров */
.filters-panel-modern {
    background: white;
    border-radius: 16px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,191,165,0.1);
    display: none;
}

.filters-panel-modern.show {
    display: block;
}

.filters-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.filters-header-modern h3 {
    font-size: 1.1rem;
    color: #00BFA5;
    font-weight: 600;
    margin: 0;
}

.close-filters-btn-modern {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    padding: 0 0.3rem;
}

.close-filters-btn-modern:hover {
    color: #00BFA5;
}

/* Сетка фильтров - исправлено для ПК */
.filters-grid-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 992px) {
    .filters-grid-modern {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        align-items: start;
    }
}

.filter-group-modern {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
}

/* Специальные стили для разных типов фильтров */
.filter-group-modern:has(.price-inputs-modern) {
    grid-column: span 1;
}

.filter-group-modern:has(#searchInput) {
    grid-column: span 1;
}

.filter-group-modern:has(#areaSelect) {
    grid-column: span 1;
}

/* Блок с брендами - занимает 2 колонки */
.filter-group-modern:has(.brand-checkboxes-modern) {
    grid-column: span 2;
}

/* Блок с тегами - занимает 2 колонки */
.filter-group-modern.filter-tags-modern {
    grid-column: span 2;
}

/* Кнопки действий - занимают 4 колонки */
.filter-actions-modern {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

@media (min-width: 992px) {
    .filter-actions-modern {
        flex-direction: row;
    }
}

@media (max-width: 991px) {
    .filter-actions-modern {
        flex-direction: column;
    }
}

.filter-group-modern label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.2rem;
}

.filter-select-modern,
.price-inputs-modern input {
    width: 100%;
    padding: 0.6rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.85rem;
    transition: all 0.3s;
    background: white;
    -webkit-appearance: none;
}

.filter-select-modern:focus,
.price-inputs-modern input:focus {
    outline: none;
    border-color: #00BFA5;
    box-shadow: 0 0 0 3px rgba(0,191,165,0.1);
}

.price-inputs-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-inputs-modern input {
    flex: 1;
    min-width: 0;
}

.price-inputs-modern span {
    color: #00BFA5;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Чекбоксы для брендов */
.brand-checkboxes-modern {
    max-height: 200px;
    overflow-y: auto;
    padding: 0.3rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    scrollbar-width: thin;
    scrollbar-color: #00BFA5 #e9ecef;
}

.brand-checkboxes-modern::-webkit-scrollbar {
    width: 6px;
}

.brand-checkboxes-modern::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px;
}

.brand-checkboxes-modern::-webkit-scrollbar-thumb {
    background: #00BFA5;
    border-radius: 10px;
}

.brand-checkboxes-modern::-webkit-scrollbar-thumb:hover {
    background: #006064;
}

.brand-checkbox-label-modern {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #e9ecef;
}

.brand-checkbox-label-modern:last-child {
    border-bottom: none;
}

.brand-checkbox-label-modern:hover {
    background-color: #f8f9fa;
}

.brand-checkbox-label-modern input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom-modern {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #00BFA5;
    border-radius: 4px;
    margin-right: 10px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.brand-checkbox-label-modern input[type="checkbox"]:checked + .checkbox-custom-modern {
    background-color: #00BFA5;
    border-color: #00BFA5;
}

.brand-checkbox-label-modern input[type="checkbox"]:checked + .checkbox-custom-modern::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

.brand-name-modern {
    flex: 1;
    font-size: 0.85rem;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 768px) {
    .brand-name-modern {
        font-size: 0.9rem;
    }
}

.brand-count-modern {
    font-size: 0.75rem;
    color: #999;
    margin-left: 5px;
    flex-shrink: 0;
}

/* Состояние загрузки */
.checkbox-loading {
    padding: 1rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* Теги фильтров - исправлено для работы кнопок */
.filter-tags-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

@media (min-width: 992px) {
    .filter-tags-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
    }
}

.filter-tag-modern {
    padding: 0.5rem 0.3rem;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    background: white;
    color: #2c3e50;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .filter-tag-modern {
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
    }
}

.filter-tag-modern:hover {
    border-color: #00BFA5;
    background: rgba(0,191,165,0.05);
}

.filter-tag-modern.active {
    background: #00BFA5;
    border-color: #00BFA5;
    color: white;
}

/* Кнопки действий с фильтрами */
.apply-filters-btn-modern,
.reset-filters-btn-modern {
    padding: 0.7rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    text-align: center;
    border: none;
    flex: 1;
}

.apply-filters-btn-modern {
    background: #00BFA5;
    color: white;
}

.apply-filters-btn-modern:hover {
    background: #006064;
    transform: translateY(-2px);
}

.reset-filters-btn-modern {
    background: white;
    color: #666;
    border: 2px solid #e9ecef;
}

.reset-filters-btn-modern:hover {
    border-color: #00BFA5;
    color: #00BFA5;
}

/* Информация о поиске */
.search-info-modern {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(0,191,165,0.1);
}

@media (min-width: 768px) {
    .search-info-modern {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1.2rem 1.5rem;
    }
}

.search-info-text-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #2c3e50;
    flex-wrap: wrap;
}

.search-info-icon {
    font-size: 1.1rem;
}

.search-info-text-modern strong {
    color: #00BFA5;
    font-size: 1rem;
}

.reset-search-btn-modern {
    background: none;
    border: 2px solid #00BFA5;
    color: #00BFA5;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    width: 100%;
}

@media (min-width: 768px) {
    .reset-search-btn-modern {
        width: auto;
        padding: 0.5rem 1.5rem;
    }
}

.reset-search-btn-modern:hover {
    background: #00BFA5;
    color: white;
}

/* Каталог товаров */
.catalog-section-modern {
    margin: 1.5rem 0;
}

.products-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin: 1.5rem 0;
}

@media (min-width: 768px) {
    .products-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .products-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Пустой каталог */
.empty-catalog-modern {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    border: 2px dashed rgba(0,191,165,0.3);
}

@media (min-width: 768px) {
    .empty-catalog-modern {
        padding: 4rem 2rem;
        border-radius: 30px;
    }
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@media (min-width: 768px) {
    .empty-icon {
        font-size: 5rem;
    }
}

.empty-title {
    font-size: 1.3rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

@media (min-width: 768px) {
    .empty-title {
        font-size: 2rem;
    }
}

.empty-text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .empty-text {
        font-size: 1.1rem;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Кнопка загрузки */
.load-more-container-modern {
    text-align: center;
    margin: 2rem 0;
}

.load-more-btn-modern {
    background: #00BFA5;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(0,191,165,0.2);
    width: 100%;
}

@media (min-width: 768px) {
    .load-more-btn-modern {
        width: auto;
        padding: 1rem 3rem;
        font-size: 1.1rem;
    }
}

.load-more-btn-modern:hover {
    background: #006064;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,191,165,0.3);
}

/* Информационный блок */
.info-block-modern {
    background: linear-gradient(135deg, #E0F2F1, #B2EBF2);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem auto;
    border: 1px solid rgba(0,191,165,0.2);
    box-shadow: 0 20px 40px rgba(0,191,165,0.1);
}

@media (min-width: 768px) {
    .info-block-modern {
        border-radius: 24px;
        padding: 2rem;
    }
}

.info-block-modern h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #006064;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .info-block-modern h3 {
        font-size: 1.5rem;
    }
}

.info-content-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .info-content-modern {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 2rem;
        align-items: start;
    }
}

.info-content-modern p {
    color: #2c3e50;
    line-height: 1.5;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .info-content-modern p {
        font-size: 1rem;
    }
}

.info-content-modern ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-content-modern li {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0,191,165,0.1);
    color: #2c3e50;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .info-content-modern li {
        font-size: 0.95rem;
    }
}

.info-content-modern li:last-child {
    border-bottom: none;
}

.info-note {
    text-align: center;
    font-style: italic;
    color: #006064;
    font-weight: 500;
    margin-top: 1rem;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .info-note {
        grid-column: span 2;
        font-size: 1rem;
    }
}

/* Убираем дублирование стилей для товаров, используем существующие из style.css */
.products-grid-modern .product-card {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.products-grid-modern .product-image {
    height: 180px;
    padding: 10px;
}

@media (min-width: 768px) {
    .products-grid-modern .product-image {
        height: 200px;
    }
}

.products-grid-modern .product-info {
    padding: 1rem;
}

.products-grid-modern .product-title {
    font-size: 0.9rem;
}

.products-grid-modern .price {
    font-size: 1.1rem;
}

.products-grid-modern .product-actions {
    padding: 0.8rem;
    gap: 0.5rem;
}

.products-grid-modern .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    min-width: 90px;
}
/* Информация о площади из калькулятора */
.area-info-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem;
    background: #f0f9f7;
    border: 2px solid #00BFA5;
    border-radius: 10px;
    color: #2c3e50;
}

.area-info-icon {
    font-size: 1.2rem;
}

.area-info-text {
    font-size: 0.9rem;
}

.area-info-text strong {
    color: #00BFA5;
    font-weight: 600;
}

@media (min-width: 768px) {
    .area-info-modern {
        padding: 0.7rem;
    }
    .area-info-text {
        font-size: 0.95rem;
    }
}