/* ==========================================================================
   BASE STYLES
   ========================================================================== */

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

@import url('https://fonts.googleapis.com/css2?family=Inria+Sans:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inria Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fdfaf7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

header {
    background: #1a0d06;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    position: relative;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-icon {
    color: #e07840;
    font-size: 1.4rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.3px;
}

.brand-tagline {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

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

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    padding: 0.48rem 0.95rem;
    border-radius: 25px;
    transition: all 0.2s ease;
    font-size: 0.88rem;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: #c4622d;
    color: white;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.section-hero {
    background: linear-gradient(135deg, #2a1005 0%, #5a2510 45%, #8B4513 100%);
    padding: 3.5rem 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.section-hero::before {
    content: '';
    position: absolute;
    top: -70px;
    right: -70px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 160, 80, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content h2 {
    font-size: 3.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.7rem;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 1.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.button {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.button-primary {
    background: #8B4513;
    color: white;
}

.button-primary:hover {
    background: #A0522D;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.4);
}

.button-secondary {
    background: transparent;
    color: #8B4513;
    border: 2px solid #8B4513;
}

.button-secondary:hover {
    background: #8B4513;
    color: white;
}

.button-outline {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.6);
}
.button-outline:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Data freshness banner */
.cache-banner {
    background: #fff8e1;
    border-left: 4px solid #f0a500;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    color: #7a5a00;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: sticky;
    top: 0;
    z-index: 999;
}
.cache-banner a { color: #8B4513; font-weight: 600; cursor: pointer; }
[data-theme="dark"] .cache-banner { background: #2e1e00; color: #f0c040; border-color: #f0a500; }
[data-theme="dark"] .cache-banner a { color: #f0a500; }

/* PWA install banner */
.pwa-install-banner {
    background: linear-gradient(135deg, #1a6b3a, #2d9655);
    color: #fff;
    padding: 0.65rem 1.2rem;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
}
.pwa-install-banner span { flex: 1; min-width: 180px; }
[data-theme="dark"] .pwa-install-banner { background: linear-gradient(135deg, #0d4a27, #1a6b3a); }

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
    padding: 3rem 0;
    margin: 2rem 0;
}

.section-content {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.section h2 {
    font-size: 2.5rem;
    color: #8B4513;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.section h3 {
    font-size: 1.5rem;
    color: #8B4513;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: #f8f6f0;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-card h4 {
    font-size: 1.5rem;
    color: #8B4513;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-card p {
    font-size: 1rem;
    color: #666;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: #f8f6f0;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.contact-item h4 {
    color: #8B4513;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: #666;
    font-size: 1rem;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    background: #f8f6f0;
    border: none;
    padding: 1.5rem;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #8B4513;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #ede8d8;
}

.faq-answer {
    padding: 1.5rem;
    display: none;
    background: white;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;
    color: #555;
}

/* ==========================================================================
   LOCATIONS PAGE
   ========================================================================== */

.locations-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding: 0 1.5rem 2rem;
}

.filters-section {
    flex: 0 0 300px;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 75px;
}

.filters-section h2 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.filter-description {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.filter-group {
    margin-bottom: 0;
    padding-bottom: 1.2rem;
    padding-top: 1.2rem;
    border-bottom: 1px solid #f0ebe3;
}

.filter-group:first-of-type {
    padding-top: 0;
}

.filter-group:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-group h3 {
    color: #8B4513;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    background: #f8f6f0;
    border: 2px solid transparent;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #8B4513;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #8B4513;
    color: white;
    border-color: #8B4513;
}

.results-section {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.rink-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid #ede8d8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.rink-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.rink-card-image {
    width: 100%;
    height: 200px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    position: relative;
    background-color: #e8e0d4;
}

.rink-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    transition: transform 0.5s ease;
}

.rink-card:hover .rink-card-image img {
    transform: scale(1.07);
}

.rink-card-content {
    padding: 1.5rem;
}

.rink-card h3 {
    color: #8B4513;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.rink-type {
    background: #8B4513;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
}

.rink-details p {
    color: #666;
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.status-open {
    background: #28a745;
}

.status-closed {
    background: #dc3545;
}

.status-maintenance {
    background: #ffc107;
}

.view-details-btn {
    display: inline-block;
    background: #8B4513;
    color: white;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.view-details-btn:hover {
    background: #A0522D;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-results h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

/* ==========================================================================
   DETAILS PAGE
   ========================================================================== */

.details-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.back-button-container {
    margin-bottom: 2rem;
}

.rink-details {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.rink-title {
    color: #8B4513;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.rink-info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.rink-image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.rink-info p {
    margin: 0.8rem 0;
    font-size: 1rem;
}

.rink-description {
    margin: 2rem 0;
}

.pro-tips h2 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.pro-tips ul {
    list-style: none;
    padding: 0;
}

.pro-tips li {
    background: #f8f6f0;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border-radius: 8px;
    border-left: 4px solid #8B4513;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    background: #1a0d06;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand-icon {
    color: #e07840;
    font-size: 1.6rem;
    display: block;
    margin-bottom: 0.6rem;
}

.footer-brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
    max-width: 240px;
    margin: 0;
}

.footer-col h4 {
    color: white;
    font-size: 0.75rem;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.55rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 1.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.28);
}

.footer-bottom p {
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .header-inner {
        height: auto;
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
    }

    .brand-link {
        flex: 1;
    }

    .hamburger-btn {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0.15rem;
        padding: 0.6rem 0 0.2rem;
        margin-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.nav-open {
        display: flex;
    }

    .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .section-hero {
        padding: 1.5rem 1rem;
    }

    .section-content {
        padding: 1.5rem 1rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .locations-container {
        flex-direction: column;
    }

    .filters-section {
        flex: none;
        position: static;
    }

    .rink-info-container {
        grid-template-columns: 1fr;
    }

    .rink-details {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .section h2 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   HAMBURGER MENU
   ========================================================================== */

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.45rem;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   SEARCH BAR
   ========================================================================== */

.search-bar-container {
    margin-bottom: 1.5rem;
}

.search-input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 2px solid #ede8d8;
    border-radius: 25px;
    font-size: 1rem;
    font-family: 'Inria Sans', sans-serif;
    color: #333;
    background: #f8f6f0;
    transition: all 0.3s ease;
    outline: none;
}

.search-input:focus {
    border-color: #8B4513;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.search-input::placeholder {
    color: #aaa;
}

/* ==========================================================================
   FILTER CONTROLS
   ========================================================================== */

.filter-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-header h2 {
    margin-bottom: 0;
}

.filter-count-badge {
    background: #8B4513;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.filter-count-badge.visible {
    display: flex;
}

.clear-filters-btn {
    width: 100%;
    background: transparent;
    border: 2px solid #8B4513;
    color: #8B4513;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: 'Inria Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: none;
}

.clear-filters-btn.visible {
    display: block;
}

.clear-filters-btn:hover {
    background: #8B4513;
    color: white;
}

/* ==========================================================================
   RESULTS HEADER
   ========================================================================== */

.results-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f6f0;
}

.results-count {
    color: #666;
    font-size: 0.95rem;
}

.results-count strong {
    color: #8B4513;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

.contact-form {
    background: #f8f6f0;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 2px solid #ede8d8;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inria Sans', sans-serif;
    color: #333;
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-success {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    display: none;
    margin-top: 1rem;
}

.form-success.visible {
    display: block;
}

.form-success h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   DIRECTIONS BUTTON
   ========================================================================== */

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #4285f4;
    color: white;
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.5rem 0 0.8rem 0;
    transition: all 0.3s ease;
}

.directions-btn:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

/* ==========================================================================
   FAVOURITES
   ========================================================================== */

.fav-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: #e74c3c;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    flex-shrink: 0;
}
.fav-nav-icon:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); transform: scale(1.1); }

    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.fav-btn:hover {
    transform: scale(1.2);
    background: white;
}

.rink-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rink-title-row .rink-title {
    margin-bottom: 0;
}

.fav-btn-detail {
    background: #f8f6f0;
    border: 2px solid #ede8d8;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.fav-btn-detail:hover {
    border-color: #8B4513;
    transform: scale(1.1);
}

/* ==========================================================================
   SORT SELECT
   ========================================================================== */

.sort-select {
    padding: 0.45rem 1rem;
    border: 2px solid #ede8d8;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: 'Inria Sans', sans-serif;
    color: #8B4513;
    background: #f8f6f0;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}

.sort-select:focus {
    border-color: #8B4513;
}

.results-header {
    justify-content: space-between;
}

/* ==========================================================================
   MAP
   ========================================================================== */

.rink-map-section {
    margin: 2rem 0 0 0;
}

.rink-map-section h2 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.rink-map {
    width: 100%;
    height: 320px;
    border-radius: 10px;
    border: 2px solid #ede8d8;
    z-index: 1;
}

/* ==========================================================================
   HERO STATS & SEARCH
   ========================================================================== */

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 1.5rem 0 1.8rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.hero-stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.52);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 0.3rem;
}

.hero-search {
    display: flex;
    max-width: 480px;
    margin: 0 auto 0.5rem;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.hero-search-input {
    flex: 1;
    padding: 0.9rem 1.4rem;
    border: none;
    font-size: 1rem;
    font-family: 'Inria Sans', sans-serif;
    outline: none;
    background: white;
    color: #333;
}

.hero-search-input::placeholder {
    color: #aaa;
}

.hero-search-btn {
    background: #8B4513;
    color: white;
    border: none;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-family: 'Inria Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: #A0522D;
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 1.5rem;
    }
    .hero-stat-number {
        font-size: 1.6rem;
    }
    .hero-search {
        margin: 0 0.5rem 0.5rem;
    }
}

/* ==========================================================================
   SHARE BUTTON
   ========================================================================== */

.share-btn {
    background: #f8f6f0;
    border: 2px solid #ede8d8;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.share-btn:hover {
    border-color: #8B4513;
    transform: scale(1.1);
}

/* ==========================================================================
   RELATED LOCATIONS
   ========================================================================== */

.related-section {
    margin: 2rem 0 0;
}

.related-section h2 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.related-card {
    background: #f8f6f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.related-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.related-card-info {
    padding: 0.75rem 1rem;
}

.related-card-info h4 {
    color: #8B4513;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.related-card-info p {
    color: #888;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    text-transform: capitalize;
}

@media (max-width: 600px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   STATUS BADGE
   ========================================================================== */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    margin: 0.4rem 0 0.5rem;
    letter-spacing: 0.3px;
}

.status-open   { background: #d1fae5; color: #065f46; }
.status-closed { background: #fee2e2; color: #991b1b; }
.status-maintenance { background: #fef3c7; color: #92400e; }

/* ==========================================================================
   RESULTS GRID (2-up on wider screens)
   ========================================================================== */

#results-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.2rem;
}

#results-container .rink-card {
    margin-bottom: 0;
}

#results-container .no-results {
    grid-column: 1 / -1;
}

/* ==========================================================================
   WEATHER WIDGET
   ========================================================================== */

.weather-widget {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    padding: 0.45rem 1.1rem;
    border-radius: 25px;
    font-size: 0.88rem;
    color: #555;
    margin-bottom: 1.3rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

/* ==========================================================================
   FONT AWESOME NAV ICONS
   ========================================================================== */

.nav-link i {
    font-size: 0.8rem;
    margin-right: 0.2rem;
    opacity: 0.85;
}

.filter-group h3 i {
    font-size: 0.85rem;
    margin-right: 0.35rem;
    color: #a0785a;
}

/* ==========================================================================
   BUTTON GRADIENT POLISH
   ========================================================================== */

.button-primary {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.25);
}

.button-primary:hover {
    background: linear-gradient(135deg, #A0522D 0%, #b5622d 100%);
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.4);
}

.view-details-btn {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

.view-details-btn:hover {
    background: linear-gradient(135deg, #A0522D 0%, #b5622d 100%);
}

/* ==========================================================================
   SECTION CONTENT BORDER
   ========================================================================== */

.section-content {
    border: 1px solid #ede8d8;
}

.about-card {
    border: 1px solid #e8e0d0;
}

/* ==========================================================================
   HERO SEARCH FA ICON ALIGNMENT
   ========================================================================== */

.hero-search-btn i {
    margin-right: 0.3rem;
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2.4rem;
    }
}

/* ==========================================================================
   HERO DARK — BUTTON SECONDARY OVERRIDE
   ========================================================================== */

.section-hero .button-secondary {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.4);
}

.section-hero .button-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: white;
    color: white;
}

/* ==========================================================================
   FOOTER RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 1.5rem 1.5rem;
    }
}

/* ==========================================================================
   MAP PAGE
   ========================================================================== */

#full-map {
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8e0d0;
    margin-top: 1.25rem;
}

.map-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.map-legend {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #555;
}

.legend-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    border: 2px solid rgba(0,0,0,0.12);
}

.legend-open        { background: #28a745; }
.legend-closed      { background: #dc3545; }
.legend-maintenance { background: #f0a500; }
.legend-ice         { background: #3b82f6; }
.legend-roller      { background: #8b5cf6; }

/* Leaflet popup custom styling */
.map-popup { font-family: 'Inria Sans', sans-serif; min-width: 210px; }
.map-popup-title  { font-size: 1rem; font-weight: 700; color: #1a0d06; margin-bottom: 0.25rem; }
.map-popup-status { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.3rem; }
.map-popup-address,
.map-popup-hours  { font-size: 0.82rem; color: #555; margin-bottom: 0.2rem; }
.map-popup-address i,
.map-popup-hours i { color: #a0785a; margin-right: 0.3rem; }
.map-popup-link {
    display: inline-block;
    margin-top: 0.55rem;
    background: #8B4513;
    color: #fff;
    padding: 0.3rem 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.2s;
}
.map-popup-link:hover { background: #6b3410; color: #fff; }

@media (max-width: 640px) {
    #full-map { height: 440px; }
    .map-page-header { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   DISTANCE BADGE (Near Me sort)
   ========================================================================== */

.distance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: 0.18rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 0.45rem;
    margin-bottom: 0.1rem;
}

/* ==========================================================================
   THEME TOGGLE BUTTON
   ========================================================================== */

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: background 0.2s, color 0.2s;
    font-size: 0.82rem;
    flex-shrink: 0;
    margin-left: 0.4rem;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* ==========================================================================
   RESULTS CONTROLS (view toggle + sort)
   ========================================================================== */

.results-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.view-toggle {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #ede8d8;
}

.view-btn {
    background: white;
    border: none;
    border-right: 1px solid #ede8d8;
    padding: 0.38rem 0.75rem;
    cursor: pointer;
    font-family: 'Inria Sans', sans-serif;
    font-size: 0.82rem;
    color: #666;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.view-btn:last-child { border-right: none; }

.view-btn.active {
    background: #8B4513;
    color: #fff;
}

.view-btn:hover:not(.active) {
    background: #f8f6f0;
}

/* ==========================================================================
   INLINE MAP VIEW (locations page)
   ========================================================================== */

#map-view-container { width: 100%; }

#locations-map {
    height: 540px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8e0d0;
}

@media (max-width: 640px) {
    #locations-map { height: 380px; }
}

/* ==========================================================================
   SEARCH AUTOCOMPLETE
   ========================================================================== */

.search-bar-container {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #ede8d8;
    border-top: none;
    border-radius: 0 0 10px 10px;
    z-index: 200;
    max-height: 270px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.suggestion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: background 0.15s;
    gap: 0.5rem;
}

.suggestion-item:hover,
.suggestion-item.active {
    background: #f8f6f0;
}

.suggestion-text {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.suggestion-sub {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: capitalize;
    flex-shrink: 0;
}

/* ==========================================================================
   SKELETON LOADING CARDS
   ========================================================================== */

@keyframes skeleton-shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.skeleton-card {
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.skeleton-img {
    height: 200px;
    background: linear-gradient(90deg, #f0e8dc 25%, #e4d8c4 50%, #f0e8dc 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.6s infinite linear;
}

.skeleton-body { padding: 1.5rem; }

.skeleton-line {
    height: 13px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0e8dc 25%, #e4d8c4 50%, #f0e8dc 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.6s infinite linear;
    margin-bottom: 0.8rem;
}

.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-40 { width: 40%; }
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-30 { width: 30%; }

/* ==========================================================================
   DARK MODE OVERRIDES
   ========================================================================== */

[data-theme="dark"] {
    color-scheme: dark;
}

[data-theme="dark"] body {
    background: #0d0806;
    color: #ddd0c0;
}

[data-theme="dark"] .section-content {
    background: #1a1009;
    border-color: #3a2010;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .section-content h2,
[data-theme="dark"] .section-content h3 {
    color: #c97a3a;
}

[data-theme="dark"] .section-content p,
[data-theme="dark"] .section-content li {
    color: #a89078;
}

[data-theme="dark"] .about-card {
    background: #221408;
    border-color: #3a2010;
}

[data-theme="dark"] .about-card p,
[data-theme="dark"] .contact-item p,
[data-theme="dark"] .filter-description,
[data-theme="dark"] .rink-details p {
    color: #9a8070;
}

/* Filters */
[data-theme="dark"] .filters-section {
    background: #1a1009;
    border-color: #3a2010;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .filters-section h2,
[data-theme="dark"] .filters-section h3 {
    color: #c97a3a;
}

[data-theme="dark"] .filter-btn {
    background: #221408;
    border-color: #3a2010;
    color: #ddd0c0;
}

[data-theme="dark"] .filter-btn:hover { background: #2e1a0c; }

[data-theme="dark"] .filter-btn.active {
    background: #8B4513;
    border-color: #8B4513;
    color: #fff;
}

[data-theme="dark"] .clear-filters-btn {
    background: #8B4513;
    color: #fff;
}

/* Results */
[data-theme="dark"] .results-section {
    background: #1a1009;
}

[data-theme="dark"] .results-header {
    border-bottom-color: #2d1a0a;
}

[data-theme="dark"] .results-count { color: #9a8070; }
[data-theme="dark"] .results-count strong { color: #c97a3a; }

[data-theme="dark"] .search-input {
    background: #221408;
    border-color: #3a2010;
    color: #ddd0c0;
}

[data-theme="dark"] .search-input::placeholder { color: #6a5040; }

[data-theme="dark"] .search-input:focus {
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.2);
}

[data-theme="dark"] .sort-select {
    background: #221408;
    border-color: #3a2010;
    color: #ddd0c0;
}

[data-theme="dark"] .sort-select:focus { border-color: #8B4513; }

/* Cards */
[data-theme="dark"] .rink-card {
    background: #1a1009;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .rink-card:hover {
    background: #221408;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .rink-card h3 { color: #c97a3a; }
[data-theme="dark"] .rink-type { color: #9a8070; }

/* View toggle */
[data-theme="dark"] .view-toggle { border-color: #3a2010; }

[data-theme="dark"] .view-btn {
    background: #221408;
    border-color: #3a2010;
    color: #9a8070;
}

[data-theme="dark"] .view-btn.active { background: #8B4513; color: #fff; }
[data-theme="dark"] .view-btn:hover:not(.active) { background: #2e1a0c; }

/* Autocomplete */
[data-theme="dark"] .search-suggestions {
    background: #1a1009;
    border-color: #3a2010;
}

[data-theme="dark"] .suggestion-item:hover,
[data-theme="dark"] .suggestion-item.active { background: #221408; }

[data-theme="dark"] .suggestion-text { color: #ddd0c0; }
[data-theme="dark"] .suggestion-sub { color: #6a5040; }

/* Skeleton */
[data-theme="dark"] .skeleton-card { background: #1a1009; }

[data-theme="dark"] .skeleton-img,
[data-theme="dark"] .skeleton-line {
    background: linear-gradient(90deg, #221408 25%, #2e1a0c 50%, #221408 75%);
    background-size: 800px 100%;
}

/* FAQ */
[data-theme="dark"] .faq-item {
    background: #1a1009;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .faq-question {
    background: #221408;
    color: #c97a3a;
}

[data-theme="dark"] .faq-question:hover { background: #2e1a0c; }

[data-theme="dark"] .faq-answer {
    background: #1a1009;
    color: #9a8070;
}

[data-theme="dark"] .faq-answer p { color: #9a8070; }

/* Contact form */
[data-theme="dark"] .contact-item {
    background: #221408;
}

[data-theme="dark"] .contact-form { background: #221408; }

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: #1a1009;
    border-color: #3a2010;
    color: #ddd0c0;
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder { color: #6a5040; }

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.2);
}

/* Details page */
[data-theme="dark"] .details-container { background: transparent; }

[data-theme="dark"] .rink-info-container,
[data-theme="dark"] .rink-description,
[data-theme="dark"] .pro-tips {
    color: #9a8070;
}

[data-theme="dark"] .rink-info p { color: #9a8070; }

/* Leaflet dark tiles */
[data-theme="dark"] .leaflet-tile-pane {
    filter: invert(1) hue-rotate(180deg);
}

[data-theme="dark"] .leaflet-container {
    background: #1a1009;
}

[data-theme="dark"] .leaflet-popup-content-wrapper,
[data-theme="dark"] .leaflet-popup-tip {
    background: #221408;
    color: #ddd0c0;
}

/* Map page legend in dark mode */
[data-theme="dark"] .legend-item { color: #9a8070; }

/* Footer stays dark regardless */

/* ==========================================================================
   LANG TOGGLE
   ========================================================================== */
.lang-toggle-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    border-radius: 6px;
    padding: 0.3rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}
.lang-toggle-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); }

/* ==========================================================================
   SCROLL-TO-TOP BUTTON
   ========================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    z-index: 900;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #8B4513;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}
.scroll-top-btn.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top-btn:hover { background: #a0522d; }

/* ==========================================================================
   KEYBOARD SHORTCUT HINT
   ========================================================================== */
.shortcut-hint-btn {
    position: fixed;
    bottom: 2rem;
    left: 1.5rem;
    z-index: 900;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3a2010;
    color: #a0785a;
    border: 1px solid #5a3020;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.shortcut-hint-btn:hover { background: #5a3020; color: #fff; }
.shortcut-tooltip {
    position: absolute;
    bottom: calc(100% + 0.6rem);
    left: 0;
    background: #1a0d06;
    color: #ddd0c0;
    border: 1px solid #3a2010;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 0.82rem;
    white-space: nowrap;
    min-width: 180px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    display: none;
}
.shortcut-tooltip.visible { display: block; }
.shortcut-tooltip strong { display: block; margin-bottom: 0.4rem; color: #c97a3a; font-size: 0.85rem; }
.shortcut-tooltip div { margin: 0.2rem 0; }
kbd {
    display: inline-block;
    background: #3a2010;
    border: 1px solid #5a3020;
    border-radius: 4px;
    padding: 0.1rem 0.4rem;
    font-size: 0.75rem;
    font-family: monospace;
    margin-right: 0.3rem;
    color: #c97a3a;
}

/* ==========================================================================
   SHARED MODAL OVERLAY
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.25s;
}
.modal-overlay.visible { opacity: 1; }
.modal-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.94);
    transition: transform 0.25s;
}
.modal-overlay.visible .modal-card { transform: scale(1); }
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem 0.8rem;
    border-bottom: 1px solid #f0e8dc;
}
.modal-title { font-size: 1.1rem; font-weight: 700; color: #1a0d06; margin: 0; }
.modal-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.2rem;
}
.modal-close:hover { color: #333; }
.modal-body { padding: 1.2rem 1.5rem 1.5rem; }

[data-theme="dark"] .modal-card { background: #1e0f06; border: 1px solid #3a2010; }
[data-theme="dark"] .modal-header { border-bottom-color: #3a2010; }
[data-theme="dark"] .modal-title { color: #ddd0c0; }
[data-theme="dark"] .modal-close { color: #7a6050; }

/* ==========================================================================
   STAR RATINGS + REVIEWS
   ========================================================================== */
.star-display { display: inline-flex; gap: 2px; }
.star-filled { color: #f59e0b; }
.star-empty { color: #d1d5db; }

.reviews-header { margin-bottom: 1rem; }
.reviews-avg { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.reviews-avg-num { font-size: 1.2rem; font-weight: 700; color: #1a0d06; }
.reviews-count { color: #666; font-size: 0.88rem; }
.reviews-none { color: #888; font-style: italic; }

.reviews-list { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.5rem; }
.review-card { background: #fdf8f3; border: 1px solid #f0e8dc; border-radius: 10px; padding: 0.8rem 1rem; }
.review-card-top { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.3rem; }
.review-author { font-weight: 600; font-size: 0.9rem; color: #3a2010; }
.review-date { font-size: 0.78rem; color: #aaa; margin-left: auto; }
.review-note { color: #555; font-size: 0.88rem; margin: 0; }

.review-form-wrap h4 { font-size: 1rem; margin-bottom: 0.8rem; color: #1a0d06; }
.review-form { display: flex; flex-direction: column; gap: 0.7rem; }
.review-input, .review-textarea {
    border: 1px solid #e0d4c8;
    border-radius: 8px;
    padding: 0.55rem 0.8rem;
    font-size: 0.9rem;
    font-family: inherit;
    background: #fff;
    color: #333;
    resize: vertical;
}
.review-input:focus, .review-textarea:focus { outline: none; border-color: #8B4513; box-shadow: 0 0 0 2px rgba(139,69,19,0.15); }
.review-submit { align-self: flex-start; margin-top: 0.2rem; }
.review-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.star-picker { display: flex; gap: 6px; font-size: 1.5rem; cursor: pointer; }
.star-pick { color: #d1d5db; transition: color 0.15s; }
.star-pick.star-hover, .star-pick.star-selected { color: #f59e0b; }

/* Card stars */
.card-stars-row { margin: 0.15rem 0 0.25rem; }
.card-star { font-size: 0.7rem; color: #f59e0b; }
.card-stars { display: inline-flex; align-items: center; gap: 2px; font-size: 0.78rem; color: #888; }

[data-theme="dark"] .review-card { background: #1a0f06; border-color: #3a2010; }
[data-theme="dark"] .review-author { color: #c0a080; }
[data-theme="dark"] .review-note { color: #8a7060; }
[data-theme="dark"] .review-input,
[data-theme="dark"] .review-textarea { background: #150a03; border-color: #3a2010; color: #ddd0c0; }
[data-theme="dark"] .review-form-wrap h4 { color: #ddd0c0; }
[data-theme="dark"] .reviews-avg-num { color: #ddd0c0; }

/* ==========================================================================
   REVIEWS SECTION (details page)
   ========================================================================== */
.reviews-section {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0e8dc;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.reviews-section h2 { font-size: 1.2rem; margin-bottom: 1rem; color: #1a0d06; }
[data-theme="dark"] .reviews-section { background: #1e0f06; border-color: #3a2010; }
[data-theme="dark"] .reviews-section h2 { color: #ddd0c0; }

/* ==========================================================================
   CHECK-IN BUTTON + ACTION BUTTONS ROW
   ========================================================================== */
.action-buttons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.8rem 0 1.2rem;
}
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    border: 1px solid #ddd0c8;
    background: #fff;
    color: #3a2010;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.action-btn:hover { background: #f8f0e8; border-color: #8B4513; color: #8B4513; }
.action-btn.active, .action-btn.checked-in { background: #8B4513; color: #fff; border-color: #8B4513; }

@keyframes checkinPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}
.checkin-pulse { animation: checkinPulse 0.55s ease; }

[data-theme="dark"] .action-btn { background: #1e0f06; border-color: #3a2010; color: #c0a080; }
[data-theme="dark"] .action-btn:hover { background: #3a2010; color: #e0b880; }
[data-theme="dark"] .action-btn.active,
[data-theme="dark"] .action-btn.checked-in { background: #8B4513; color: #fff; }

/* ==========================================================================
   GALLERY + LIGHTBOX
   ========================================================================== */
.gallery-single { border-radius: 12px; overflow: hidden; }
.gallery-main-img { width: 100%; height: 280px; object-fit: cover; display: block; border-radius: 12px; }
.gallery-strip { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.gallery-thumb {
    width: calc(50% - 0.25rem);
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: zoom-in;
    transition: opacity 0.2s, transform 0.2s;
}
.gallery-thumb:hover { opacity: 0.85; transform: scale(1.02); }

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0,0,0,0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.25s;
}
.lightbox-overlay.visible { opacity: 1; }
.lightbox-card { position: relative; max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 8px; display: block; }
.lightbox-close {
    position: absolute;
    top: -2.2rem;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
}
.lightbox-prev { left: -3rem; }
.lightbox-next { right: -3rem; }
.lightbox-counter { color: #ccc; font-size: 0.85rem; margin-top: 0.5rem; }

/* ==========================================================================
   SEASONAL CALENDAR
   ========================================================================== */
.season-section {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0e8dc;
    padding: 1.2rem 1.5rem;
    margin: 1.2rem 0;
}
.season-section h2 { font-size: 1.1rem; margin-bottom: 0.8rem; color: #1a0d06; }
.month-grid { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.month-pill {
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.month-open { background: #d1fae5; color: #065f46; }
.month-closed { background: #f3f4f6; color: #9ca3af; }

[data-theme="dark"] .season-section { background: #1e0f06; border-color: #3a2010; }
[data-theme="dark"] .season-section h2 { color: #ddd0c0; }
[data-theme="dark"] .month-open { background: #064e3b; color: #6ee7b7; }
[data-theme="dark"] .month-closed { background: #2a1808; color: #5a4a3a; }

/* ==========================================================================
   ICE CONDITIONS
   ========================================================================== */
.conditions-section {
    background: #f0f8ff;
    border-radius: 12px;
    border: 1px solid #bde0f8;
    padding: 1.2rem 1.5rem;
    margin: 1.2rem 0;
}
.conditions-section h2 { font-size: 1.1rem; margin-bottom: 0.8rem; color: #1a0d06; }
.conditions-body { display: flex; flex-direction: column; gap: 0.3rem; }
.conditions-stars { display: flex; gap: 3px; font-size: 1.1rem; margin-bottom: 0.3rem; }
.conditions-star { color: #f59e0b; }
.conditions-notes-text { color: #666; font-size: 0.9rem; font-style: italic; }

[data-theme="dark"] .conditions-section { background: #0a1a2a; border-color: #1a3a5a; }
[data-theme="dark"] .conditions-section h2 { color: #ddd0c0; }
[data-theme="dark"] .conditions-notes-text { color: #7a8a9a; }

/* ==========================================================================
   DIRECTIONS + TTC BUTTONS
   ========================================================================== */
.ttc-btn { margin-left: 0.5rem; }

/* ==========================================================================
   BUDDY MODAL
   ========================================================================== */
.buddy-modal-body { display: flex; flex-direction: column; gap: 0.8rem; }
.buddy-location { font-weight: 700; color: #8B4513; font-size: 1rem; margin: 0; }
.buddy-address { color: #666; margin: 0; font-size: 0.9rem; }
.buddy-label { font-weight: 600; font-size: 0.9rem; color: #3a2010; }
.buddy-time-options { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.buddy-time-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid #ddd0c8;
    background: #fff;
    color: #3a2010;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s;
}
.buddy-time-btn.active { background: #8B4513; color: #fff; border-color: #8B4513; }
.buddy-time-btn:hover:not(.active) { background: #f8f0e8; border-color: #8B4513; }
.buddy-time-input { padding: 0.4rem 0.6rem; border: 1px solid #ddd0c8; border-radius: 8px; font-size: 0.85rem; font-family: inherit; }
.buddy-actions { display: flex; gap: 0.8rem; }
.buddy-send-btn {
    flex: 1;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: filter 0.2s;
}
.buddy-whatsapp { background: #25D366; color: #fff; }
.buddy-sms { background: #007AFF; color: #fff; }
.buddy-send-btn:hover { filter: brightness(1.1); }

[data-theme="dark"] .buddy-location { color: #c97a3a; }
[data-theme="dark"] .buddy-address { color: #8a7060; }
[data-theme="dark"] .buddy-time-btn { background: #1e0f06; border-color: #3a2010; color: #c0a080; }
[data-theme="dark"] .buddy-time-btn.active { background: #8B4513; color: #fff; }

/* ==========================================================================
   QR CODE MODAL
   ========================================================================== */
.qr-modal-body { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 0.5rem 0; }
#qr-canvas { background: #fff; padding: 0.8rem; border-radius: 8px; }
.qr-url { font-size: 0.78rem; color: #888; word-break: break-all; text-align: center; }
.qr-download-btn { font-size: 0.85rem; }

/* ==========================================================================
   TRIP TRAY
   ========================================================================== */
.trip-tray {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    background: #1a0d06;
    color: #fff;
    padding: 0.8rem 1.2rem;
    transform: translateY(100%);
    transition: transform 0.3s;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.trip-tray.visible { transform: translateY(0); }
.trip-tray-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.trip-tray-left { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; }
.trip-tray-left i { color: #c97a3a; font-size: 1rem; }
.trip-tray-left > span { font-weight: 700; white-space: nowrap; font-size: 0.9rem; }
.trip-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; overflow: hidden; }
.trip-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #3a2010;
    border-radius: 16px;
    padding: 0.2rem 0.5rem 0.2rem 0.7rem;
    font-size: 0.78rem;
}
.trip-chip-remove { background: none; border: none; color: #c0a080; cursor: pointer; font-size: 0.9rem; padding: 0; line-height: 1; }
.trip-chip-remove:hover { color: #fff; }
.trip-tray-actions { display: flex; align-items: center; gap: 0.5rem; }
.trip-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #5a3020;
    background: #3a2010;
    color: #ddd0c0;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.trip-action-btn:hover { background: #8B4513; border-color: #8B4513; color: #fff; }
.trip-clear-btn { background: transparent; border-color: #4a2a14; color: #7a5a40; }
.trip-clear-btn:hover { background: #c0392b; border-color: #c0392b; color: #fff; }

/* ==========================================================================
   COMPARE BAR
   ========================================================================== */
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 799;
    background: #2d1a08;
    color: #fff;
    padding: 0.7rem 1.2rem;
    transform: translateY(100%);
    transition: transform 0.3s;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.3);
}
.compare-bar.visible { transform: translateY(0); }
.trip-tray.visible ~ .compare-bar.visible,
.trip-tray.visible + .compare-bar.visible { bottom: 60px; }
.compare-bar-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.compare-bar-label { font-size: 0.85rem; font-weight: 700; color: #c97a3a; white-space: nowrap; }
.compare-names { display: flex; align-items: center; gap: 0.5rem; flex: 1; flex-wrap: wrap; }
.compare-name-chip { background: #4a2a14; padding: 0.2rem 0.7rem; border-radius: 16px; font-size: 0.82rem; }
.compare-vs { color: #7a5a40; font-size: 0.8rem; }
.compare-now-btn {
    padding: 0.45rem 1rem;
    border-radius: 8px;
    border: none;
    background: #8B4513;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}
.compare-now-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.compare-now-btn:not(:disabled):hover { background: #a0522d; }
.compare-clear-btn { background: none; border: none; color: #7a5a40; font-size: 1.1rem; cursor: pointer; padding: 0.2rem 0.3rem; }
.compare-clear-btn:hover { color: #fff; }

/* Compare table */
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.compare-table th, .compare-table td { padding: 0.6rem 0.8rem; border-bottom: 1px solid #f0e8dc; text-align: left; }
.compare-table th { font-weight: 700; color: #8B4513; font-size: 0.9rem; vertical-align: top; }
.compare-row-label { color: #888; font-weight: 600; white-space: nowrap; }
.compare-thumb { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; }

[data-theme="dark"] .compare-table td, [data-theme="dark"] .compare-table th { border-bottom-color: #3a2010; }
[data-theme="dark"] .compare-row-label { color: #7a6050; }

/* Card action row for trip/compare on location cards */
.card-action-row { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.card-action-row .view-details-btn { flex: 1; text-align: center; }
.card-trip-btn, .card-compare-btn {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #e0d4c8;
    background: #fff;
    color: #666;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.card-trip-btn:hover { background: #f8f0e8; border-color: #8B4513; color: #8B4513; }
.card-compare-btn:hover { background: #f0f4ff; border-color: #4f6bd0; color: #4f6bd0; }
.card-trip-btn.active { background: #8B4513; color: #fff; border-color: #8B4513; }
.card-compare-btn.active { background: #4f6bd0; color: #fff; border-color: #4f6bd0; }

[data-theme="dark"] .card-trip-btn, [data-theme="dark"] .card-compare-btn { background: #1e0f06; border-color: #3a2010; color: #7a6050; }
[data-theme="dark"] .card-trip-btn.active { background: #8B4513; color: #fff; }
[data-theme="dark"] .card-compare-btn.active { background: #4f6bd0; color: #fff; }

/* ==========================================================================
   SURPRISE ME BUTTON
   ========================================================================== */
.surprise-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    border: 1px solid #c97a3a;
    background: transparent;
    color: #8B4513;
    font-size: 0.83rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
}
.surprise-btn:hover { background: #8B4513; color: #fff; border-color: #8B4513; }
[data-theme="dark"] .surprise-btn { border-color: #5a3020; color: #c97a3a; }
[data-theme="dark"] .surprise-btn:hover { background: #8B4513; color: #fff; }

/* Hero buttons row */
.hero-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.8rem; justify-content: center; }

/* ==========================================================================
   RECENTLY VIEWED
   ========================================================================== */
.recently-viewed-section { }
.rv-grid { display: flex; gap: 0.8rem; overflow-x: auto; padding-bottom: 0.5rem; }
.rv-card {
    flex-shrink: 0;
    width: 140px;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #f0e8dc;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
    display: block;
}
.rv-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); transform: translateY(-2px); }
.rv-card img { width: 100%; height: 90px; object-fit: cover; display: block; }
.rv-card-info { padding: 0.4rem 0.5rem 0.5rem; }
.rv-card-name { display: block; font-size: 0.78rem; font-weight: 700; color: #1a0d06; line-height: 1.2; margin-bottom: 0.25rem; }
[data-theme="dark"] .rv-card { background: #1e0f06; border-color: #3a2010; }
[data-theme="dark"] .rv-card-name { color: #ddd0c0; }

/* ==========================================================================
   FAVOURITES PAGE
   ========================================================================== */
.fav-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.fav-page-desc {
    color: #7a6050;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.fav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.fav-card-remove {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: rgba(231,76,60,0.9);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
}
.fav-card-remove:hover { background: #c0392b; transform: scale(1.1); }
.rink-card-image-wrap { position: relative; }
[data-theme="dark"] .fav-page-desc { color: #9a8070; }

/* ==========================================================================
   DETAILS PAGE — MOBILE
   ========================================================================== */
@media (max-width: 480px) {
    .rink-title { font-size: 1.5rem !important; }
    .rink-title-row { flex-wrap: wrap; justify-content: flex-start; gap: 0.5rem; }
    .action-btn { font-size: 0.8rem; padding: 0.4rem 0.7rem; }
}

/* ==========================================================================
   PRINT STYLESHEET
   ========================================================================== */
@media print {
    header, footer, .filters-section, .fav-btn, .share-btn, .trip-tray, .compare-bar,
    .scroll-top-btn, .shortcut-hint-btn, #lang-toggle, #theme-toggle,
    .action-buttons-row, .directions-btn, .back-button-container, nav { display: none !important; }
    body { background: #fff; color: #000; }
    .rink-card, .section-content, .reviews-section, .season-section, .conditions-section { box-shadow: none !important; border: 1px solid #ccc !important; }
    .rink-map { height: 200px !important; }
    .modal-overlay { display: none !important; }
}

