body {
    background-color: #ffffff; 
    font-family: "TTDaysSans", sans-serif;
}

.map-section {
    padding: 20px 40px;
    max-width: 1640px;
    margin: 90px auto;
}

.map-title {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.map-search-top {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.map-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.map-input-wrapper input {
    width: 100%;
    padding: 10px 20px;
    padding-right: 50px;
    border: 1px solid #ddd;
    border-radius: 100px;
    background: #fff;
    font-size: 15px;
    outline: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-family: "TTDaysSans", sans-serif;
    transition: border-color 0.2s;
}

.map-input-wrapper input:focus {
    border-color: #609432;
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    opacity: 0.6;
}

.map-layout {
    display: grid;
    grid-template-columns: 350px 1fr; 
    gap: 20px;
    align-items: start;
}

.filters-sidebar {
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
}

.filters-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #000;
}

.filters-close {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #609432;
}

.filter-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #000;
}

/* Чекбоксы */
.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 5px;
}

.checkbox-list::-webkit-scrollbar { width: 4px; }
.checkbox-list::-webkit-scrollbar-thumb { background: #6094327e; border-radius: 2px; }

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #000;
}

.checkbox-item input {
    width: 16px;
    height: 16px;
    accent-color: #609432;
    cursor: pointer;
}

/* Радио */
.radio-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #000;
}

.radio-item input {
    width: 16px;
    height: 16px;
    accent-color: #609432;
    cursor: pointer;
}

/* Слайдеры */
.range-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.range-wrapper input[type="range"] {
    flex: 1;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.range-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 13px;
    height: 13px;
    background: #609432;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(96, 148, 50, 0.4);
}

.range-value {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    color: #609432;
    font-size: 14px;
}

/* ===== КАСТОМНЫЙ ВЫБОР ВРЕМЕНИ ===== */
.custom-time-picker {
    animation: slideDown 0.3s ease;
    margin-top: 12px;
    padding: 16px;
    background: #f8faf8;
    border-radius: 12px;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.time-picker-row { margin-bottom: 12px; }
.time-picker-row:last-child { margin-bottom: 0; }

.time-input {
    font-family: "TTDaysSans", sans-serif;
    outline: none;
    transition: border-color 0.2s;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
}

.time-input:focus { border-color: #609432; }

input[type="date"], input[type="time"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(0.4) sepia(1) saturate(5) hue-rotate(50deg);
}

/* ===== КНОПКИ ФИЛЬТРОВ ===== */
.filter-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-apply {
    flex: 1;
    padding: 10px;
    background: #609432;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0px 5px 10px #00000020;
    font-family: "TTDaysSans", sans-serif;
    transition: all 0.3s ease;
}

.btn-apply:hover { background-color: #426623; }

.btn-reset {
    flex: 1;
    padding: 10px;
    background: #fff;
    color: #609432;
    border: 1px solid #609432;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: "TTDaysSans", sans-serif;
    transition: all 0.3s ease;
}

.btn-reset:hover { background: #e8f5e3; }

.map-content {
    background: #fff;
    border-radius: 24px;
    padding: 10px 30px;
}

.map-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    margin-bottom: 0;
}

.found-count {
    font-size: 16px;
    color: #333;
}

.found-count strong {
    color: #609432;
    font-weight: 700;
}

.view-switcher {
    position: relative;
    display: flex;
    background: #f0f0f0;
    border: 1px solid #6094321e;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
}

.view-switcher input[type="radio"] { display: none; }

.switch-label {
    position: relative;
    z-index: 2;
    padding: 10px 28px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    user-select: none;
}

.switch-text {
    font-size: 15px;
    font-weight: 500;
    color: #000000;
    font-family: "TTDaysSans", sans-serif;
    transition: color 0.3s ease;
}

.view-switcher input[type="radio"]:checked + .switch-label .switch-text {
    color: #ffffff;
    font-weight: 600;
}

.switch-slider {
    position: absolute;
    height: 100%;
    width: 50%;
    background: #609432;
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.view-switcher input[value="map"]:checked ~ .switch-slider { transform: translateX(0); }
.view-switcher input[value="list"]:checked ~ .switch-slider { transform: translateX(100%); }

.switch-label:hover .switch-text { color: #333; }
.view-switcher input[type="radio"]:checked + .switch-label:hover .switch-text { color: #fff; }

@media (max-width: 768px) {
    .switch-label { padding: 10px 24px; }
    .switch-text { font-size: 14px; }
}

.map-view, .list-view { display: none; }
.map-view.active, .list-view.active { display: block; }

.map-container {
    width: 100%;
    height: 700px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    background: #ffffff;
}

.list-header {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 0px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    font-family: "TTDaysSans", sans-serif;
}

.list-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    gap: 20px;
}

.ymaps-2-1-79-balloon,
.ymaps-balloon,
[class*="ymaps"][class*="balloon"] {
    background: transparent !important;
    border: none !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important;
    border-radius: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: auto !important;
    min-height: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

.ymaps-2-1-79-balloon__content,
.ymaps-balloon__content,
[class*="balloon__content"] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
}

/* Скрываем все лишние элементы */
.ymaps-balloon__close-button,
.ymaps-2-1-79-balloon__close-button,
[class*="balloon__close"] {
    display: none !important;
}

/* Твой кастомный баллон — единственный видимый */
.map-balloon {
    font-family: "TTDaysSans", sans-serif !important;
    background: #fff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 300px !important; /* Фиксированная ширина */
    position: relative !important;
}

/* Убираем все стрелки и указатели системного баллона */
.ymaps-balloon__tail,
.ymaps-2-1-79-balloon__tail,
[class*="balloon__tail"] {
    display: none !important;
}

/* Кнопка закрытия баллона */
.balloon-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: #609432;
    z-index: 10;
}

.balloon-close:hover {
    color: #555;
}

.balloon-close svg {
    width: 12px;
    height: 12px;
}

.balloon-header {
    padding: 16px 20px 12px;
    background: #fff;
    padding-right: 40px;
}

.balloon-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #000;
    line-height: 1.3;
}

.balloon-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.balloon-rating .star {
    color: #FFD700;
    font-size: 20px;
}

.balloon-rating .rating-value {
    font-weight: 600;
    color: #000;
}

.balloon-rating .rating-count {
    color: #888;
}

.balloon-body {
    padding: 0 20px;
    background: #fff;
}

.balloon-address {
    font-size: 14px;
    color: #000000;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.balloon-hours {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.balloon-footer {
    padding: 14px 20px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.status-badge {
    font-size: 13px;
    font-weight: 600;
    color: #609432;
    text-transform: lowercase;
}

.status-badge.status-closed {
    color: #c62828;
}

.balloon-btn {
    width: 36px;
    height: 36px;
    padding: 8px;            
    background: #609432;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex; 
    align-items: center;
    justify-content: center;
}

.balloon-btn img {
    width: 12px;
    height: 12px;
    display: block;
}

.balloon-btn:hover {
    background: #426623;
}

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

@media (max-width: 480px) {
    .map-balloon {
        max-width: 260px;
    }
    
    .balloon-header,
    .balloon-body,
    .balloon-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .balloon-title {
        font-size: 18px;
    }
}

/* КАРТОЧКА ПУНКТА В СПИСКЕ */
.collection-point-card {
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid #00000020;
    border-radius: 20px;
    padding: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.2);
}

.collection-point-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.card-header {
    padding: 16px 20px 12px;
    background: #fff;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #000;
    line-height: 1.3;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.card-rating .star {
    color: #FFD700;
    font-size: 20px;
}

.card-rating .rating-value {
    font-weight: 600;
    color: #000;
}

.card-rating .rating-count {
    color: #888;
}

.card-body {
    padding: 0 20px 16px;
    background: #fff;
}

.card-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #000000;
}

.card-info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 16px;
    line-height: 1.4;
    flex-shrink: 0;
}

.info-text {
    line-height: 1.5;
    color: #000000;
}

.card-footer {
    padding: 16px 24px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.status-badge {
    font-size: 14px;
    font-weight: 600;
    color: #609432;
    text-transform: lowercase;
}

.status-badge.status-closed {
    color: #c62828;
}

.card-btn {
    padding: 10px 24px;
    background: #609432;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0px 5px 10px #00000020;
    font-family: "TTDaysSans", sans-serif;
    transition: all 0.3s ease;
}

.collection-point-card:hover .card-btn {
    background: #426623;
}

@media (max-width: 768px) {
    .card-header,
    .card-body,
    .card-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .status-badge {
        text-align: center;
    }
    
    .card-btn {
        width: 100%;
    }
}

/* ===== МОДАЛЬНОЕ ОКНО ПУНКТА ===== */
.point-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.point-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.point-modal-content {
    background: #fff;
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    font-family: "TTDaysSans", sans-serif;
    padding: 32px;
}

.point-modal-overlay.active .point-modal-content {
    transform: translateY(0) scale(1);
}

/* Крестик закрытия */
.point-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.point-modal-close:hover {
    background: #f0f0f0;
}

/* Шапка модалки */
.point-modal-header {
    margin-bottom: 20px;
    padding-right: 50px;
}

.point-modal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.heart-icon {
    font-size: 20px;
}

.point-modal-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
}

.point-modal-rating .star {
    color: #FFD700;
    font-size: 18px;
}

.point-modal-rating .rating-value {
    font-weight: 700;
    color: #000;
}

.point-modal-rating .rating-count {
    color: #888;
}

/* Разделитель */
.point-modal-divider {
    height: 1px;
    background: #e8e8e8;
    margin: 20px 0;
}

/* Секции */
.point-modal-section {
    margin-bottom: 8px;
}

.modal-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-inline {
    font-size: 13px;
    font-weight: 600;
}

.status-inline.status-open {
    color: #609432;
}

.status-inline.status-closed {
    color: #c62828;
}

/* График работы */
.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
}

.schedule-day {
    color: #333;
    font-weight: 500;
}

.schedule-time {
    color: #666;
    font-weight: 500;
}

.schedule-row-weekend .schedule-day {
    color: #333;
}

.schedule-row-weekend .schedule-time {
    color: #c62828;
    font-weight: 600;
}

/* Адрес и текст */
.point-modal-text {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

/* Ссылки */
.point-modal-link {
    display: block;
    font-size: 14px;
    color: #609432;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.point-modal-link:hover {
    color: #426623;
    text-decoration: underline;
}

/* Цены */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.price-material {
    color: #333;
}

.price-value {
    color: #609432;
    font-weight: 700;
}

/* Отзывы */
.review-card {
    background: #f8faf8;
    border-radius: 16px;
    padding: 16px;
    margin-top: 12px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    background: #609432;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.review-info {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.review-date {
    font-size: 12px;
    color: #888;
}

.review-rating {
    color: #FFD700;
    font-size: 16px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 14px;
    color: #444;
    margin: 0;
    line-height: 1.6;
}

/* Кнопка "Написать отзыв" */
.point-modal-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding-top: 20px;
}

.btn-review {
    padding: 14px 40px;
    background: #609432;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: "TTDaysSans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(96, 148, 50, 0.3);
    transition: all 0.2s;
}

.btn-review:hover {
    background: #426623;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(96, 148, 50, 0.4);
}

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

@media (max-width: 600px) {
    .point-modal-content {
        padding: 24px 20px;
        max-height: 95vh;
    }

    .point-modal-title {
        font-size: 20px;
    }

    .point-modal-close {
        top: 16px;
        right: 16px;
    }
}

.btn-primary, .btn-secondary {
    padding: 10px 24px;
    max-width: 250px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 10px #00000020;
}

.btn-primary {
    background: #609432;
    color: #fff;
    flex: 1;
}

.btn-primary:hover { background: #4a7a26; }

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover { background: #e0e0e0; }

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 968px) {
    .map-layout { grid-template-columns: 1fr; }
    
    .filters-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        max-width: 90%;
        height: 100vh;
        z-index: 1500;
        transition: left 0.3s;
        padding: 20px;
        border-radius: 0 20px 20px 0;
    }
    
    .filters-sidebar.open { left: 0; }
    .filters-close { display: block; }
    
    .map-controls { flex-direction: column; gap: 16px; align-items: stretch; }
    .found-count { text-align: center; }
    .view-switcher { justify-content: center; margin: 0 auto; }
}

@media (max-width: 768px) {
    .map-section { padding: 20px; }
    .map-title { font-size: 24px; }
    .map-container { height: 500px; }
    
    .list-content { grid-template-columns: 1fr; }
    
    .modal-body-two-columns { grid-template-columns: 1fr; }
    .modal-left-column {
        border-right: none;
        border-bottom: 1px solid #e8f5e3;
        padding: 32px 24px;
    }
    .modal-right-column { padding: 24px 20px 32px; }
    .modal-image { max-width: 200px; height: 200px; }
    .modal-title { font-size: 1.4rem; }
    .modal-price { font-size: 1.5rem; }
    .modal-actions { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; }
    
    .custom-time-picker { padding: 12px; }
    .time-input { font-size: 16px; }
}

.point-side-panel {
    position: fixed;
    top: 0;
    right: -500px;
    width: 400px;
    max-width: 90%;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    z-index: 2000;
    transition: right 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.point-side-panel.active {
    right: 0;
}

.panel-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #609432;
    transition: all 0.2s;
    z-index: 10;
}

.panel-close:hover {
    color: #609432;
}

.panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px 0px 24px;
}

/* Контент панели */
.panel-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #000;
    padding-right: 50px;
}

.panel-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 15px;
}

.panel-rating .star {
    color: #FFD700;
    font-size: 18px;
}

.panel-rating .rating-value {
    font-weight: 500;
}

.panel-rating .rating-count {
    color: #888;
}

.panel-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8e8e8;
}

.panel-section:last-child {
    border-bottom: none;
}

.panel-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin: 0 0 12px 0;
}

.panel-status {
    font-size: 14px;
    font-weight: 600;
    color: #609432;
    white-space: nowrap;
    margin: 0;
    align-items: center;
}

.panel-status.status-closed {
    color: #c62828;
}

.panel-text {
    font-size: 14px;
    color: #000000;
    margin: 0 0 8px 0;
    line-height: 1.6;
}

.panel-time {
    display: flex;
    gap: 15px;
}

.panel-time, .panel-text {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.panel-link {
    display: block;
    font-size: 14px;
    color: #609432;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.panel-link:hover {
    color: #426623;
    text-decoration: underline;
}

/* Цены */
.panel-prices {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.panel-price-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.panel-price-material {
    color: #333;
}

.panel-price-value {
    color: #609432;
    font-weight: 700;
}

/* Типы */
.panel-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.panel-type-tag {
    padding: 6px 14px;
    background: #e8f5e3;
    color: #609432;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Кнопки действий */
.panel-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.panel-btn {
    flex: 1;
    padding: 10px;
    background: #fff;
    color: #609432;
    border: 1px solid #609432;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: "TTDaysSans", sans-serif;
    transition: all 0.3s ease;
    background: #609432;
    color: #fff;
}

.panel-btn-primary:hover {
    background: #426623;
}

/* Затемнение фона */
.point-side-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.point-side-overlay.active {
    opacity: 1;
    visibility: visible;
}

.panel-footer {
    background: #fff;
    padding: 20px 24px;
    border-top: 1px solid #e8e8e8;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
    flex-shrink: 0;
    z-index: 10;
}

.btn-review-full {
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    background: #609432;
    color: #fff;
    border: none;
    font-family: "TTDaysSans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(96, 148, 50, 0.3);
}

.btn-review-full:hover {
    background: #426623;
    transform: translateY(-2px);
}

.panel-reviews-section {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.review-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0px 5px 10px #00000020;
    border: 1px solid #d8d8d896;
    border-left: 3px solid #609432;
}

.review-item:last-child { margin-bottom: 0; }

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 36px;
    height: 36px;
    background: #609432;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.review-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.review-date {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.review-stars {
    color: #FFD700;
    font-size: 14px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 14px;
    color: #444;
    margin: 0;
    line-height: 1.5;
}

.panel-types {

    display: flex;

    flex-direction: column;

    gap: 14px;
}

.panel-type-item {

    padding: 14px;

    border-radius: 16px;

    background: #f7f7f7;
}

.panel-type-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 12px;
}

.panel-type-name {

    font-weight: 600;
}

.panel-type-price {

    color: #609432;

    font-weight: 700;
}

.panel-type-category {

    margin-top: 6px;

    color: #777;

    font-size: 14px;
}
