/* ============================================
   SULDAL BRAND TOKENS
   ============================================ */

:root {
    --blue:         #1A4F9C;
    --blue-l:       #2D6DD0;
    --blue-pale:    rgba(26, 79, 156, 0.08);
    --blue-border:  rgba(26, 79, 156, 0.22);
    --green:        #8DB520;
    --green-pale:   rgba(141, 181, 32, 0.1);
    --green-border: rgba(141, 181, 32, 0.3);
    --red:          #D4202A;
    --red-l:        #E8333D;
    --orange:       #F47B20;
    --s-black:      #1A1A18;
    --s-white:      #FFFFFF;

    --bg:           #EEF1F6;
    --surface:      #FFFFFF;
    --surface-2:    #F5F7FA;
    --border:       rgba(26, 26, 24, 0.10);
    --border-hi:    rgba(26, 79, 156, 0.28);

    --text:         #1A1A18;
    --text-muted:   #5c5c5a;
    --text-faint:   #898987;
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Exo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
}

body {
    display: flex;
    flex-direction: column;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */

.LoadingOverlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: opacity 0.4s ease;
}

.LoadingOverlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.LoadingOverlay__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--blue-border);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.LoadingOverlay__text {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   LAYOUT
   ============================================ */

.Template {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    height: 100%;
}

.MapApp {
    display: flex;
    width: 100%;
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
}

/* ============================================
   SIDEBAR
   ============================================ */

.MapApp__sidebar-container {
    width: 290px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #17498F 0%, #123C78 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    overflow-y: auto;
    z-index: 50;
    display: flex;
    flex-direction: column;
    color: var(--s-white);
}

.MapSidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.25rem;
    font-size: 1rem;
}

.MapSidebar__content {
    flex: 1;
    overflow-y: auto;
}

.MapSidebar__title-row {
    border-bottom: 2px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.MapSidebar__close {
    display: none;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: color 0.15s;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}
.MapSidebar__close:hover { color: #fff; }

.MapSidebar__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--s-white);
}

/* ПОИСК */

.MapSidebar__category-filter {
    margin-bottom: 1rem;
}

.MapSidebar__field-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
}

.MapSidebar__select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 0.85rem 2.5rem 0.85rem 1rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.55)'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
    color: var(--s-white);
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
    font-family: inherit;
    cursor: pointer;
}

.MapSidebar__select option {
    background: #17498F;
    color: #ffffff;
}

.MapSidebar__select:focus {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.18);
}

.MapSidebar__search {
    margin-bottom: 1.25rem;
    position: relative;
}

.MapSidebar__search-input {
    width: 100%;
    padding: 0.75rem 0.9rem 0.75rem 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.12);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    color: var(--s-white);
    font-family: inherit;
}

.MapSidebar__search-input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.MapSidebar__search-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.MapSidebar__search::before {
    content: '🔍';
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    pointer-events: none;
}

/* РЕГИОНЫ */

.SeasonFilter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    margin-top: 0.4rem;
}
.SeasonFilter__item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.88);
    user-select: none;
}
.SeasonFilter__cb {
    width: 16px;
    height: 16px;
    accent-color: #fff;
    cursor: pointer;
    flex-shrink: 0;
}
.SeasonFilter__hint {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.35rem;
}

.MapSidebar__regions {
    margin-bottom: 1.25rem;
}

.MapSidebar__regions-title {
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.9px;
    margin-bottom: 0.5rem;
}

.region-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    background: none;
    border: 1px solid transparent;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.90);
    cursor: pointer;
    transition: all 0.15s;
    margin-bottom: 0.35rem;
    font-family: inherit;
    touch-action: manipulation;
}

.region-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--s-white);
    border-color: rgba(255, 255, 255, 0.22);
}

.region-btn.active {
    background: rgba(255, 255, 255, 0.18);
    color: var(--s-white);
    border-color: rgba(255, 255, 255, 0.36);
    font-weight: 600;
}

.region-btn__count {
    font-size: 0.6rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.18);
    color: var(--s-white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 0.04rem 0.32rem;
    border-radius: 10px;
    margin-left: auto;
}

/* ─── Region Accordion ─── */
.RegionAccordion {
    margin-bottom: 1px;
}

.RegionAccordion__header {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    background: none;
    border: 1px solid transparent;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    transition: all 0.15s;
    gap: 0.4rem;
    font-family: inherit;
    touch-action: manipulation;
}

.RegionAccordion__header:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--s-white);
    border-color: rgba(255, 255, 255, 0.22);
}

.RegionAccordion__header.is-active {
    background: rgba(255, 255, 255, 0.18);
    color: var(--s-white);
    border-color: rgba(255, 255, 255, 0.36);
    font-weight: 600;
}

.RegionAccordion__icon { flex-shrink: 0; font-size: 0.9rem; }

.RegionAccordion__name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.RegionAccordion__right {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.RegionAccordion__count {
    font-size: 0.6rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.18);
    color: var(--s-white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 0.04rem 0.3rem;
    border-radius: 10px;
}

.RegionAccordion__chevron {
    color: rgba(255, 255, 255, 0.75);
    transition: transform 0.22s;
    flex-shrink: 0;
}

.RegionAccordion__chevron.is-open {
    transform: rotate(180deg);
}

.RegionAccordion__body {
    padding: 0.15rem 0 0.25rem 1.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.18);
    margin-left: 1.1rem;
    margin-bottom: 0.2rem;
}

.RegionAccordion__place {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.86);
    cursor: pointer;
    transition: all 0.12s;
    gap: 0.4rem;
    font-family: inherit;
    margin-bottom: 1px;
    touch-action: manipulation;
}

.RegionAccordion__place:hover {
    color: var(--s-white);
    background: rgba(255, 255, 255, 0.1);
}

.RegionAccordion__place-icon {
    font-size: 0.78rem;
    flex-shrink: 0;
    width: 1.1rem;
    text-align: center;
}

.RegionAccordion__place-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.RegionAccordion__empty {
    font-size: 0.73rem;
    color: rgba(255, 255, 255, 0.72);
    padding: 0.25rem 0.4rem;
    font-style: italic;
}

/* КАТЕГОРИИ */

.MapSidebar__categories {
    margin-bottom: 1.25rem;
}

.MapSidebar__categories-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--s-white);
    letter-spacing: 0.05px;
    margin-bottom: 0.85rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.category-btn {
    padding: 0.55rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.15s;
    text-align: center;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.3;
    font-family: inherit;
}

.category-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.18);
    color: var(--s-white);
}

.category-btn.active {
    background: var(--s-white);
    border-color: var(--s-white);
    color: var(--blue);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.MapSidebar__section-action {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    color: var(--s-white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.18s;
}

/* НИЖНЯЯ НАВИГАЦИЯ */

.MapSidebar__bottom-nav {
    display: flex;
    gap: 0.4rem;
    border-top: 1px solid var(--border);
    padding-top: 0.9rem;
    margin-top: auto;
    flex-shrink: 0;
}

.MapSidebar__nav-item {
    flex: 1;
    padding: 0.65rem 0.4rem;
    border: 1px solid var(--border);
    background: var(--surface-2);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.15s;
    color: var(--text-muted);
    font-family: inherit;
}

.MapSidebar__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.MapSidebar__section-action:hover,
.MapSidebar__section-action.is-active {
    background: var(--s-white);
    color: var(--blue);
    border-color: var(--s-white);
}

.MapSidebar__section-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0.85rem;
}

.LangSwitcher {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
}
.LangSwitcher__btn {
    padding: 0.18rem 0.55rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.15s;
}
.LangSwitcher__btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
}
.LangSwitcher__btn.is-active {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 768px) {
    .LangSwitcher__btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
        min-height: 44px;
    }
}

.MapSidebar__support {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.75rem 0 0.25rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.MapSidebar__support-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}
.MapSidebar__support-email {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}
.MapSidebar__support-email:hover {
    color: #fff;
    text-decoration: underline;
}
.MapSidebar__support-privacy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4) !important;
    text-decoration: none !important;
    margin-top: 0.15rem;
    display: block;
}
.MapSidebar__support-privacy:hover {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: underline !important;
}

.MapSidebar__quick-actions {
    padding: 1rem 0 0.5rem;
}

.MapSidebar__quick-btn {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--s-white);
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.18s;
}

.MapSidebar__quick-btn:hover,
.MapSidebar__quick-btn.is-active {
    background: var(--s-white);
    color: var(--blue);
    border-color: var(--s-white);
}

.MapSidebar__quick-count {
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.18);
    color: var(--s-white);
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
    font-weight: 700;
}

.MapSidebar__quick-btn.is-active .MapSidebar__quick-count,
.MapSidebar__quick-btn:hover .MapSidebar__quick-count {
    background: var(--blue-pale);
    color: var(--blue);
    border: 1px solid var(--blue-border);
}

.MapSidebar__nav-item:hover {
    border-color: var(--blue-border);
    color: var(--blue);
    background: var(--blue-pale);
}

.MapSidebar__nav-item.is-active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--s-white);
    font-weight: 600;
}

.MapSidebar__nav-item-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.MapSidebar__product-count {
    font-size: 0.8rem;
    font-weight: 700;
}

/* ============================================
   КАРТА
   ============================================ */

.MapApp__map-container {
    flex: 1;
    position: relative;
    background: #e8e0d8;
    min-width: 0;
    min-height: 0;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    inset: 0;
    width: 100%;
    height: 100%;
}

.Map--unavailable {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.MapFallback {
    max-width: 320px;
    text-align: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    box-shadow: 0 6px 24px rgba(26, 26, 24, 0.1);
}

.MapFallback__title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.MapFallback__text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}


/* ============================================
   MOBILE SIDEBAR TOGGLE (floating)
   ============================================ */

.MapToggle {
    position: absolute;
    top: calc(0.75rem + env(safe-area-inset-top, 0px));
    left: calc(0.75rem + env(safe-area-inset-left, 0px));
    z-index: 1000;
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(26, 26, 24, 0.14);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
}

.MapToggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.25s ease;
    transform-origin: center;
}

.MapToggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.MapToggle.is-open span:nth-child(2) { opacity: 0; }
.MapToggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================
   POPUP
   ============================================ */

.maplibregl-popup-content {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(26, 26, 24, 0.14);
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid var(--border);
    font-family: inherit;
}

.maplibregl-popup-tip {
    display: none !important;
}

.maplibregl-popup-close-button {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 1;
    padding: 0;
}

.map-popup {
    width: 250px;
    font-family: inherit;
    position: relative;
}

.map-popup::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
    z-index: 2;
    pointer-events: none;
}

.popup-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.popup-img--placeholder {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, rgba(26,79,156,0.1) 0%, rgba(141,181,32,0.08) 60%, rgba(244,123,32,0.05) 100%);
    display: block;
}

.popup-body {
    padding: 0.75rem 0.85rem 0.85rem;
}

.popup-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.45rem;
    line-height: 1.3;
}

.popup-meta {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: var(--blue);
    color: #ffffff;
    border-radius: 4px;
    padding: 0.18rem 0.5rem;
    margin-bottom: 0.7rem;
}

.popup-btn {
    width: 100%;
    padding: 0.5rem;
    background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
    font-family: 'Exo', inherit;
    letter-spacing: 0.2px;
}

.popup-btn:hover {
    opacity: 0.88;
}

/* ============================================
   ПАНЕЛЬ КАРТОЧЕК
   ============================================ */

.AttractionsGrid {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    border-radius: 20px 20px 0 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 30px rgba(26, 26, 24, 0.12);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@keyframes infoPanelOpen {
    from { opacity: 0; transform: translateY(calc(-50% + 14px)); }
    to   { opacity: 1; transform: translateY(-50%); }
}

@keyframes infoPanelClose {
    to { opacity: 0; }
}

.InfoPanel__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.38);
    z-index: 41;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s;
}
.InfoPanel__backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.InfoPanel.is-closing {
    animation: infoPanelClose 0.18s ease forwards !important;
}

/* ─── Handle ─── */
.AttractionsGrid__handle {
    padding: 7px 0.9rem 0.4rem;
    user-select: none;
}

.AttractionsGrid__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.AttractionsGrid__title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.1px;
    flex: 1;
}

.AttractionsGrid__count {
    display: inline-block;
    background: var(--green-pale);
    color: var(--green);
    font-size: 0.66rem;
    font-weight: 700;
    padding: 0.08rem 0.4rem;
    border-radius: 20px;
    margin-left: 0.3rem;
    border: 1px solid var(--green-border);
}

.AttractionsGrid__arrows {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.AttractionsGrid__arrow {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    padding: 0;
    touch-action: manipulation;
}

.AttractionsGrid__arrow:hover {
    background: var(--blue-pale);
    color: var(--blue);
    border-color: var(--blue-border);
}

.AttractionsGrid__toggle {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.55rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
    padding: 0;
    touch-action: manipulation;
}

.AttractionsGrid__toggle:hover {
    background: var(--blue-pale);
    color: var(--blue);
    border-color: var(--blue-border);
}

/* ─── Collapse ─── */
.AttractionsGrid__body {
    max-height: 136px;
    overflow: hidden;
    transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.AttractionsGrid.is-collapsed .AttractionsGrid__body {
    max-height: 0;
}

/* ─── Carousel ─── */
.AttractionsGrid__list {
    display: flex;
    gap: 0.5rem;
    padding: 0.1rem 0.9rem 0.7rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    justify-content: safe center;
}

.AttractionsGrid__list::-webkit-scrollbar { display: none; }

.AttractionsGrid__list.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.empty-state {
    padding: 1rem;
    text-align: center;
    color: var(--text-faint);
    font-size: 0.85rem;
}

/* ─── Cards ─── */
.AttractCard {
    flex-shrink: 0;
    width: 108px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: var(--surface);
    border: 1.5px solid var(--border);
    box-shadow: 0 2px 10px rgba(26, 79, 156, 0.10), 0 1px 3px rgba(26,26,24,0.05);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s,
                border-color 0.25s;
    scroll-snap-align: start;
    touch-action: manipulation;
    position: relative;
}

/* Blue→green accent strip at the top of every card */
.AttractCard::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
    z-index: 1;
    pointer-events: none;
}

@media (hover: hover) {
    .AttractCard:hover {
        transform: translateY(-6px) scale(1.03);
        border-color: var(--blue-border);
        box-shadow: 0 16px 32px rgba(26, 79, 156, 0.20), 0 4px 8px rgba(26,26,24,0.08);
    }
}

.AttractCard__image {
    width: 100%;
    height: 62px;
    object-fit: cover;
    display: block;
    background: var(--surface-2);
}

.AttractCard__image--placeholder {
    width: 100%;
    height: 62px;
    background: linear-gradient(145deg, rgba(26,79,156,0.12) 0%, rgba(141,181,32,0.10) 60%, rgba(244,123,32,0.07) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.AttractCard__content {
    padding: 0.48rem 0.55rem 0.55rem;
    background: linear-gradient(180deg, rgba(26,79,156,0.025) 0%, transparent 60%);
}

.AttractCard__title {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.3rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.AttractCard__footer {
    display: flex;
    align-items: center;
}

.AttractCard__type {
    font-size: 0.58rem;
    background: var(--blue);
    color: #ffffff;
    padding: 0.12rem 0.45rem;
    border-radius: 4px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    letter-spacing: 0.2px;
}

/* ============================================
   DETAIL PANEL
   ============================================ */

.InfoPanel {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    left: auto;
    width: 360px;
    max-width: calc(100vw - 2rem);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    max-height: 72%;
    overflow-y: auto;
    z-index: 350;
    box-shadow: 0 12px 48px rgba(26,79,156,0.18), 0 2px 8px rgba(26,26,24,0.08);
    animation: slideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overscroll-behavior: contain;
}

.InfoPanel__drag-handle {
    display: none;
}

.InfoPanel__close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.75rem;
    cursor: pointer;
    color: var(--text-muted);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    touch-action: manipulation;
}

.InfoPanel__close:hover {
    background: rgba(212, 32, 42, 0.1);
    color: var(--red);
    border-color: rgba(212, 32, 42, 0.25);
}

.InfoPanel__content {
    padding: 0.9rem 1rem 1rem;
}

.AttractInfo__hero {
    width: 100%;
    height: 190px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(26,79,156,0.12) 0%, rgba(141,181,32,0.10) 60%, rgba(244,123,32,0.07) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.AttractInfo__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.AttractInfo__hero--placeholder {
    background: linear-gradient(135deg, rgba(26,79,156,0.12) 0%, rgba(141,181,32,0.10) 60%, rgba(244,123,32,0.07) 100%);
}

.AttractInfo__hero-icon {
    font-size: 2.8rem;
    opacity: 0.55;
}

.AttractInfo__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 0.6rem;
    padding-right: 1.5rem;
}

.AttractInfo__type {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    padding: 0.18rem 0.55rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 0.5rem;
}

.AttractInfo__desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.AttractInfo__info-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.7rem;
}

.AttractInfo__info-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    color: var(--text-muted);
    padding: 0.28rem 0.55rem;
    border-radius: 7px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    line-height: 1.3;
}

.AttractInfo__info-row:hover {
    background: var(--blue-pale);
    color: var(--blue);
    border-color: var(--blue-border);
}

.AttractInfo__info-icon {
    font-size: 0.78rem;
    flex-shrink: 0;
    opacity: 0.8;
}

.AttractInfo__buttons {
    display: flex;
    gap: 0.4rem;
}

.AttractInfo__btn {
    flex: 1;
    padding: 0.6rem 0.75rem;
    border: none;
    background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
    font-size: 0.82rem;
    text-align: center;
    font-family: 'Exo', inherit;
    letter-spacing: 0.2px;
}

.AttractInfo__btn:hover {
    opacity: 0.85;
}

.AttractInfo__btn--favorite {
    flex: 1;
    padding: 0.45rem 0.4rem;
    border: 1px solid rgba(244, 123, 32, 0.3);
    background: rgba(244, 123, 32, 0.08);
    color: var(--orange);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    font-size: 0.72rem;
    text-align: center;
    font-family: inherit;
}

.AttractInfo__btn--favorite:hover,
.AttractInfo__btn--favorite.active {
    background: rgba(244, 123, 32, 0.18);
    border-color: rgba(244, 123, 32, 0.5);
}

/* ============================================
   BOTTOM PANEL — TABS
   ============================================ */

.AttractionsGrid__tabs {
    display: flex;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.AttractionsGrid__tab {
    padding: 0.28rem 0.7rem;
    border: 1px solid transparent;
    border-radius: 6px;
    background: none;
    color: var(--text-faint);
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    white-space: nowrap;
    line-height: 1.4;
}

.AttractionsGrid__tab:hover {
    color: var(--text-muted);
    background: var(--surface-2);
}

.AttractionsGrid__tab.is-active {
    background: var(--blue-pale);
    border-color: var(--blue-border);
    color: var(--blue);
}

/* ─── Search mode body ─── */
.AttractionsGrid--search .AttractionsGrid__body {
    max-height: 270px;
    display: flex;
    flex-direction: column;
}

.AttractionsGrid__search-bar {
    padding: 0.35rem 0.85rem 0.45rem;
    flex-shrink: 0;
}

.AttractionsGrid__search-input {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.52rem 0.85rem;
    color: var(--text);
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.AttractionsGrid__search-input::placeholder {
    color: var(--text-faint);
}

.AttractionsGrid__search-input:focus {
    border-color: var(--blue-border);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(26, 79, 156, 0.08);
}

.AttractionsGrid__search-results {
    overflow-y: auto;
    flex: 1;
    padding: 0 0.6rem 0.6rem;
    scrollbar-width: none;
}

.AttractionsGrid__search-results::-webkit-scrollbar { display: none; }

.BottomSearch__hint {
    text-align: center;
    color: var(--text-faint);
    font-size: 0.78rem;
    padding: 1rem 0.5rem;
    line-height: 1.6;
}

.BottomSearch__empty {
    text-align: center;
    color: var(--text-faint);
    font-size: 0.82rem;
    padding: 1rem 0.5rem;
}

.BottomSearch__count {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--text-faint);
    padding: 0.25rem 0.4rem 0.3rem;
}

.BottomSearch__result {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.5rem;
    border-radius: 9px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    border: 1px solid transparent;
    margin-bottom: 0.2rem;
}

.BottomSearch__result:hover {
    background: var(--blue-pale);
    border-color: var(--blue-border);
}

.BottomSearch__thumb {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--border);
}

.BottomSearch__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.BottomSearch__info {
    flex: 1;
    min-width: 0;
}

.BottomSearch__name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.12rem;
}

.BottomSearch__meta {
    font-size: 0.67rem;
    color: var(--text-faint);
}

.BottomSearch__rating {
    font-size: 0.7rem;
    color: var(--orange);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================
   TOAST
   ============================================ */

.Toast {
    position: fixed;
    bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    background: var(--s-black);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    z-index: 9999;
    transition: transform 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(26,26,24,0.25);
}

.Toast.is-visible {
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   ГЛОБАЛЬНО — убираем iOS-подсветку нажатий
   ============================================ */

button, a {
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   ПЛАНШЕТ (769px – 1024px)
   ============================================ */

@media (min-width: 769px) and (max-width: 1024px) {
    .MapApp__sidebar-container {
        width: 240px;
    }

    .InfoPanel {
        width: 320px;
    }
}

/* ============================================
   МОБИЛЬНАЯ АДАПТАЦИЯ (≤ 768px)
   ============================================ */

@media (max-width: 768px) {
    .MapToggle { display: flex; }
    .MapSidebar__close { display: flex; }
    /* Hide hamburger/X button while sidebar is open — sidebar has its own close button */
    .MapApp__sidebar-container.is-open + .MapApp__map-container .MapToggle { visibility: hidden; pointer-events: none; }

    .MapApp {
        flex-direction: column;
    }

    /* ─── Сайдбар ─── */
    .MapApp__sidebar-container {
        width: 100%;
        max-height: 80vh;
        border-right: none;
        border-bottom: 1px solid var(--border);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 49;
        transform: translateY(-110%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 6px 20px rgba(26, 26, 24, 0.12);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: 1.5rem;
    }

    .MapApp__sidebar-container.is-open {
        transform: translateY(0);
    }

    .MapApp__map-container {
        width: 100%;
        flex: 1;
        height: 100vh;
    }

    /* ─── Карточки ─── */
    .AttractCard {
        width: 124px;
    }

    .AttractCard__image,
    .AttractCard__image--emoji {
        height: 72px;
    }

    .AttractCard__title {
        font-size: 0.85rem;
    }

    .AttractCard__type {
        font-size: 0.68rem;
    }

    /* ─── Панель карточек ─── */
    .AttractionsGrid__body {
        max-height: 162px;
    }

    .AttractionsGrid--search .AttractionsGrid__body {
        max-height: 52vh;
    }

    /* Увеличиваем touch-цели кнопок до минимум 44px */
    .AttractionsGrid__toggle,
    .AttractionsGrid__arrow {
        width: 44px;
        height: 44px;
        font-size: 0.65rem;
    }

    /* Handle — больше пространство для свайпа */
    .AttractionsGrid__handle {
        padding: 10px 0.75rem 0.35rem;
    }

    /* Prevent iOS from zooming on input focus (requires 16px) */
    .AttractionsGrid__search-input,
    .MapSidebar__search-input,
    .MapSidebar__select {
        font-size: 16px;
    }

    /* Minimum touch targets for sidebar interactive elements */
    .region-btn,
    .RegionAccordion__header {
        min-height: 44px;
    }

    .RegionAccordion__place {
        min-height: 44px;
        padding: 0.6rem 0.5rem;
    }

    .SeasonFilter__item {
        min-height: 44px;
    }

    /* ─── Детальная панель — центрирована ─── */
    .InfoPanel {
        position: fixed;
        top: 50%;
        left: 1rem;
        right: 1rem;
        bottom: auto;
        width: auto;
        border-radius: 16px;
        border: 1.5px solid var(--border);
        max-height: 82vh;
        padding-bottom: 0;
        transform: translateY(-50%);
        animation: infoPanelOpen 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .InfoPanel__drag-handle {
        display: none;
    }

    /* Кнопка закрытия — больше touch-цель */
    .InfoPanel__close {
        width: 44px;
        height: 44px;
        top: 0.4rem;
        right: 0.4rem;
    }

    /* Навигация пред/след — выше для пальца */
    .InfoPanel__nav-btn {
        min-height: 44px;
        padding: 0.65rem 0.75rem;
    }

    /* Popup close — крупнее */
    .maplibregl-popup-close-button {
        width: 36px;
        height: 36px;
        line-height: 34px;
        top: 4px;
        right: 4px;
    }

    /* Кнопки действий — в столбик и полная ширина */
    .AttractInfo__buttons {
        flex-direction: column;
    }

    .AttractInfo__btn,
    .AttractInfo__btn--favorite {
        min-width: 100%;
        min-height: 44px;
    }

    /* Вкладки карточек — достаточная touch-цель */
    .AttractionsGrid__tab {
        min-height: 44px;
    }

    /* Кнопки категорий и кнопка сброса фильтров */
    .category-btn {
        min-height: 44px;
    }

    .empty-state__reset {
        min-height: 44px;
    }

    /* Ссылки в подвале боковой панели */
    .MapSidebar__support-email,
    .MapSidebar__support-privacy {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* ─── Прочее ─── */
    .categories-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .MapSidebar__bottom-nav {
        flex-wrap: wrap;
    }
}

/* ─── Пейзажная ориентация телефона ─── */
@media (max-width: 768px) and (orientation: landscape) {
    .MapApp__sidebar-container {
        max-height: 90vh;
    }

    .AttractionsGrid__body {
        max-height: 110px;
    }

    .AttractionsGrid--search .AttractionsGrid__body {
        max-height: 40vh;
    }

    .InfoPanel {
        max-height: 85vh;
        overflow-y: auto;
    }
}

/* ─── Маленькие телефоны (≤ 480px) ─── */
@media (max-width: 480px) {
    .MapSidebar {
        padding: 1rem;
    }

    .AttractCard {
        width: 116px;
    }

    .AttractCard__image {
        width: 100%;
        height: 68px;
    }

    .AttractCard__title {
        font-size: 0.85rem;
    }

    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }

    .InfoPanel__content {
        padding: 1.25rem 1rem;
    }

    /* Заголовок места — чуть крупнее */
    .AttractInfo__title {
        font-size: 1rem;
    }
}

/* ============================================
   EMPTY STATE WITH RESET
   ============================================ */

.empty-state {
    padding: 1.5rem 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

.empty-state__reset {
    background: var(--blue-pale);
    color: var(--blue);
    border: 1px solid var(--blue-border);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
    touch-action: manipulation;
}

.empty-state__reset:hover {
    background: rgba(26, 79, 156, 0.14);
}

/* ============================================
   INFOPANEL NAVIGATION (prev / next)
   ============================================ */

.InfoPanel__nav {
    display: flex;
    gap: 0.5rem;
    padding: 0.65rem 1rem 0.2rem;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
}

.InfoPanel__nav-btn {
    flex: 1;
    padding: 0.5rem 0.6rem;
    border: 1px solid var(--border);
    background: var(--surface-2);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 36px;
    touch-action: manipulation;
    overflow: hidden;
}

.InfoPanel__nav-btn:hover {
    background: var(--blue-pale);
    color: var(--blue);
    border-color: var(--blue-border);
}

.InfoPanel__nav-btn--next {
    justify-content: flex-end;
    text-align: right;
}

.InfoPanel__nav-btn__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.InfoPanel__nav-btn--prev .InfoPanel__nav-btn__label { text-align: left; }
.InfoPanel__nav-btn--next .InfoPanel__nav-btn__label { text-align: right; }

/* ============================================
   RATING COUNT
   ============================================ */

.AttractInfo__rating-count {
    font-size: 0.75rem;
    color: var(--text-faint);
    font-weight: 500;
}

/* ============================================
   CARD PLACEHOLDER EMOJI
   ============================================ */

.AttractCard__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}


/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

.CookieBanner {
    position: fixed;
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%) translateY(calc(100% + 2rem));
    z-index: 300;
    width: calc(100% - 2rem); max-width: 560px;
    background: rgba(18, 20, 26, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.3);
    color: #f0f0f0;
    display: none;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.1rem 1.25rem;
    font-size: 0.82rem;
    line-height: 1.55;
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.28s ease;
}
.CookieBanner.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.CookieBanner__text { opacity: 0.88; }
.CookieBanner__text a { color: #6cb2f5; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.CookieBanner__btns { display: flex; gap: 0.6rem; justify-content: flex-end; }
.CookieBanner__btn {
    padding: 0.48rem 1.2rem; border-radius: 8px;
    font-size: 0.8rem; font-weight: 600; cursor: pointer;
    border: 1.5px solid rgba(255,255,255,0.2); background: transparent;
    color: rgba(255,255,255,0.7); font-family: inherit;
    transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.CookieBanner__btn:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.4); }
.CookieBanner__btn--accept {
    background: #1A4F9C; border-color: #1A4F9C; color: #fff;
}
.CookieBanner__btn--accept:hover { background: #2563eb; border-color: #2563eb; }

@media (max-width: 480px) {
    .CookieBanner { bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)); padding: 1rem; border-radius: 14px; }
}
