/* 1. TOKENS */
:root {
    --brand-dark: #0f172a;
    --brand-red: #E30613;
    --brand-red-hover: #c50510;
    --gray-text: #64748b;
    --gray-light: #94a3b8;
    --gray-border: #e2e8f0;
    --bg-body: #f1f5f9;
    --white: #ffffff;
    --gold: #f59e0b;
    --green: #10b981;
    --radius: 8px;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--brand-dark);
    margin: 0;
    padding-top: 64px;
    font-size: 13px;
    line-height: 1.5;
}

/* 2. HEADER */
.app-header {
    height: 64px;
    background: var(--brand-dark);
    color: var(--white);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 3px solid var(--brand-red);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.brand {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

/* 3. CONTAINER */
.main-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-title {
    font-size: 18px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 4. CARD SYSTEM */
.hotel-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.card-visual {
    position: relative;
    width: 100%;
    height: 220px;
    background: #000;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
}

.board-visual-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: rgba(15, 23, 42, 0.95);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    border-left: 3px solid var(--brand-red);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}

.card-visual .elite-score-overlay {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 11;
    min-width: 54px;
    text-align: center;
    background: #4CAF50;
    color: #fff;
    padding: 8px 12px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 20px;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-hosted {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 24px 12px 10px 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    font-weight: 600;
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.h-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.h-title {
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
    color: var(--brand-dark);
}


.h-stars {
    color: #4CAF50;
    font-size: 14px;
    white-space: nowrap;
    margin-left: 8px;
    font-weight: 800;
}

.h-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--gray-text);
    font-weight: 500;
}

.msp-verified-badge {
    margin-left: auto;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    color: var(--brand-red);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .5px;
}

.flag {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: #f8fafc;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
    color: var(--brand-dark);
    font-weight: 600;
    margin-top: 4px;
    border: 1px solid var(--gray-border);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-item i {
    color: var(--brand-red);
    font-size: 13px;
}

.h-desc {
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.amenity-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    min-height: 26px;
    transition: opacity 0.4s ease-in-out;
    opacity: 1;
}

.amenity-row.fading {
    opacity: 0;
}

.am-tag {
    font-size: 10px;
    color: #166534;
    background: #f0fdf4;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #bbf7d0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.tech-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    max-width: 100%;
}

.tech-scroll::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.tech-scroll::-webkit-scrollbar-thumb {
    background: transparent !important;
    border: 0 !important;
}

.tech-pill {
    font-size: 10px;
    font-weight: 700;
    color: var(--brand-dark);
    background: #fff;
    border: 1px solid var(--gray-border);
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    flex: 0 0 auto;
}

.tech-pill i {
    color: var(--brand-red);
}

/* Footer */
.card-footer {
    padding: 16px;
    border-top: 1px dashed var(--gray-border);
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-area {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price-lbl {
    font-size: 10px;
    color: var(--gray-text);
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

/* MODIFIED: MARGIN ADDED HERE */
.price-val {
    font-size: 24px;
    font-weight: 900;
    color: var(--brand-red);
    line-height: 1;
    margin-bottom: 8px;
    /* Added Space Below Price */
    margin-top: 4px;
    /* Added Space Above Price */
}

.price-unit {
    font-size: 10px;
    color: var(--gray-text);
    line-height: 1.2;
}

.flight-status {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.flight-status.excl {
    color: var(--gray-light);
}

.flight-status.incl {
    color: var(--green);
}

.action-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
}

.btn-outline {
    background: #fff;
    border: 1px solid var(--brand-dark);
    color: var(--brand-dark);
}

.btn-solid {
    background: var(--brand-dark);
    color: #fff;
}

.btn-solid.active {
    background: var(--brand-red);
}

.drawer {
    background: #f8fafc;
    border-top: 1px solid var(--gray-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.drawer-inner {
    padding: 20px;
}

.room-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.room-item {
    background: #fff;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    padding: 16px;
}

.ri-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}

.ri-name {
    font-weight: 800;
    font-size: 13px;
    color: var(--brand-dark);
}

.ri-spec {
    font-size: 11px;
    color: var(--gray-text);
}

/* Hotel Sports Detail Page */
body.hotel-details-page #header {
    width: 100%;
    background: 0 0;
    float: left;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    position: fixed;
    top: 0;
    z-index: 901;
    background-color: #00000075;
}

body.hotel-details-page .ms-main-wrapper {
    max-width: 1440px;
    margin: 40px auto;
    padding: 0 40px;
    margin-top: 100px;
}

body.hotel-details-page .sports-collapse-wrap {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-gutter: stable;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.hotel-details-page .sport-item {
    border: 1px solid #d9dee5;
    border-radius: 16px;
    padding: 10px 12px;
    background: #f5f6f8;
}

body.hotel-details-page .sport-item .badge {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2px;
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 6px;
    background: #eceff2 !important;
    border-color: #cfd6de !important;
    color: #1f2937 !important;
}

body.hotel-details-page .sport-item a.badge {
    text-decoration: none;
}

body.hotel-details-page .sport-item a.badge:hover {
    background: #e2e8f0 !important;
}

body.hotel-details-page .pitch-summary-row {
    padding: 20px 0 18px;
    border-bottom: 1px solid #d8dee5;
}

body.hotel-details-page .pitch-chip {
    display: inline-block;
    background: #1f2937;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 9px;
    margin-bottom: 10px;
}

body.hotel-details-page .pitch-summary-title {
    margin: 0;
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    color: #040816;
}

body.hotel-details-page .pitch-summary-dimension {
    margin-top: 34px;
    font-size: 36px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--ms-red);
    white-space: nowrap;
}

body.hotel-details-page .pitch-summary-divider {
    height: 1px;
    background: #d9dee6;
    margin: 16px 0;
}

body.hotel-details-page .pitch-summary-highlights {
    display: flex;
    flex-direction: inherit;
    gap: 8px;
    flex-wrap: wrap;
}

body.hotel-details-page .pitch-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #1f9d5f;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
}

body.hotel-details-page .pitch-highlight-item i {
    margin-top: 0px;
    font-size: 12px;
    color: #1f9d5f;
}

body.hotel-details-page .sport-camp-description-box {
    border-left: 2px solid #e2e8f0;
    padding-left: 16px;
    color: #475569;
    font-size: 15px;
    line-height: 1.85;
}

#sportPageFlow {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
}

#sportHeroSection {
    order: 1 !important;
}

#sportBlockGroup {
    order: 2 !important;
}

#hotelBlockGroup {
    order: 3 !important;
}

/* Sport vs Hotel visual separation */
.module-transition {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.module-transition .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,0,0,0), #cbd5e1 50%, rgba(0,0,0,0));
}

.module-transition .label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 900;
    color: #0f172a;
    background: #eef2f7;
    border: 1px solid #d6dde8;
    border-radius: 999px;
    padding: 8px 14px;
    white-space: nowrap;
}

.sport-section-title,
.hotel-section-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 14px;
}

.sport-section-title {
    color: #dd0000;
}

.hotel-section-title {
    color: #dd0000;
}

#sportInfoSection,
#sportMediaSection 

#hotelInfoSection,
#hotelFacilitiesSection,
#hotelMediaSection,

#hotelInfoSection {
    border-top: 0px;
}

#otherSportsSection .accordion-button {
    font-size: 13px;
    letter-spacing: .3px;
    background: #f8fafc;
}

#otherSportsSection .accordion-button:not(.collapsed) {
    background: #fff1f2;
    color: #9f1239;
}

#otherSportsSection .accordion-body {
    background: #fff;
}

@media (max-width: 992px) {
    body.hotel-details-page .ms-main-wrapper {
        margin-top: 88px;
        padding: 0 12px;
    }

    #sportHeroSection .main-image-wrapper {
        height: 320px !important;
    }

    #sportHeroSection #detailThumbGrid .gallery-item-square {
        height: 120px !important;
    }

    #sportInfoSection,
    #sportMediaSection,
    #hotelInfoSection,
    #hotelFacilitiesSection,
    #hotelMediaSection,
    #otherSportsSection {
        padding: 22px 16px !important;
    }

    .module-transition {
        gap: 8px;
        margin-bottom: 14px;
    }

    .module-transition .label {
        font-size: 9px;
        letter-spacing: 1px;
        padding: 6px 10px;
        gap: 6px;
    }

    .sport-section-title,
    .hotel-section-title {
        font-size: 10px;
        letter-spacing: 1.2px;
        gap: 8px;
        margin-bottom: 10px;
    }

    #detailHotelTitle {
        font-size: 32px !important;
        line-height: 1.05;
        margin-bottom: 20px !important;
    }

    body.hotel-details-page .pitch-summary-title {
        font-size: 30px;
    }

    body.hotel-details-page .pitch-summary-dimension {
        font-size: 42px;
    }

    body.hotel-details-page .pitch-highlight-item {
        font-size: 15px;
    }
}

.cap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.cap-badge {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bio-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bio-tag {
    font-size: 10px;
    padding: 2px 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #475569;
    font-weight: 600;
}

.btn-close-drawer {
    width: 100%;
    background: #fee2e2;
    color: #991b1b;
    padding: 14px;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    margin-top: 16px;
}

@media (min-width: 992px) {

    .hotel-card {
        display: grid;
        grid-template-columns: 260px 1fr 240px;
        grid-template-rows: auto auto;
        height: auto;
        min-height: 240px;
    }

    .card-visual {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        height: 100%;
        border-right: 1px solid var(--gray-border);
    }

    .card-body {
        grid-column: 2;
        grid-row: 1;
        border-right: 1px dashed var(--gray-border);
    }

    .card-footer {
        grid-column: 3;
        grid-row: 1;
        border-top: none;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .price-area {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .action-btns {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .drawer {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .room-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 460px) {
    .page-title {
        font-size: 12px;
        font-weight: 600;
    }
}

/* Sport detail template cleanup classes */
.detail-shell-card {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--ms-border);
}

.detail-main-image-wrap {
    height: 500px;
    overflow: hidden;
    border-radius: 2px;
}

.verified-badge-text {
    font-size: 11px;
    letter-spacing: 1px;
}

.detail-left-col {
    border-left: 1px solid var(--ms-red);
    padding-left: 35px;
}

.detail-location-tag {
    font-size: 13px;
    letter-spacing: 2.5px;
}

.detail-pro-content {
    border-left: 0px solid #f1f5f9;
    padding-left: 0px;
}

.detail-seo-text {
    font-size: 15px;
    line-height: 2;
    text-align: justify;
    color: #475569;
}

.section-label-heading {
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--ms-black);
}

.room-units-toggle-btn {
    font-size: 11px;
    letter-spacing: 1px;
}

.room-units-drawer {
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.quote-btn-pro {
    font-size: 14px;
    letter-spacing: 2px;
}

.elite-score-value {
    font-size: 82px;
    line-height: 0.8;
    color: #34ae0e;
    letter-spacing: -5px;
}

.elite-score-outof {
    letter-spacing: 0;
}

.metric-progress-track {
    height: 4px;
    background: #e2e8f0;
}

.metric-progress-92 { width: 92%; }
.metric-progress-90 { width: 90%; }
.metric-progress-89 { width: 89%; }
.metric-progress-94 { width: 94%; }
.metric-progress-88 { width: 88%; }
.metric-progress-85 { width: 85%; }

.testimonial-quote {
    font-size: 12px;
    font-style: italic;
}

.testimonial-author {
    font-size: 10px;
}

.reviews-link {
    font-size: 11px;
    text-decoration: none;
    letter-spacing: 1px;
}

.camp-here-note {
    font-size: 10px;
}

.write-review-link {
    font-size: 11px;
    text-decoration: none;
}

.gallery-label-meta {
    font-size: 10px;
    letter-spacing: 2px;
}

.sport-detail-title {
    font-size: 38px;
    letter-spacing: -1.5px;
}

.logistic-title {
    font-size: 12px;
    letter-spacing: 2px;
}

@media (max-width: 992px) {
    .detail-main-image-wrap {
        height: 320px;
    }

    .detail-left-col {
        border-left: 0;
        padding-left: 0;
    }
}

/* ============================================= */
/* HOTEL FILTER SECTION STYLES */
/* ============================================= */

.filter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.count-display {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.count-display i {
    font-size: 18px;
    color: #e30613;
}

.count-display strong {
    color: #e30613;
    font-size: 20px;
    font-weight: 900;
}

.filter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-form > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-form label {
    font-size: 11px;
    font-weight: 700;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-form select,
.filter-form input {
    padding: 10px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 13px;
    background-color: white;
    color: #1f2937;
    font-family: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 140px;
}

.filter-form select:focus,
.filter-form input:focus {
    outline: none;
    border-color: #e30613;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
    background-color: #fff9f9;
}

.filter-form select:hover,
.filter-form input:hover {
    border-color: #a0aec0;
}

.filter-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23495057' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 18px;
    padding-right: 32px;
}

.btn-filter-reset {
    padding: 10px 16px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #495057;
    border: 1px solid #adb5bd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-filter-reset:hover {
    background: linear-gradient(135deg, #dee2e6 0%, #cbcfd4 100%);
    border-color: #868e96;
    color: #212529;
}

.btn-filter-reset:active {
    transform: scale(0.98);
}

.btn-filter-reset i {
    font-size: 12px;
}

/* ============================================= */
/* FILTER TOGGLE & COLLAPSIBLE STYLES */
/* ============================================= */

.filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: none;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-toggle-btn:hover {
    background-color: rgba(227, 6, 19, 0.05);
    border-color: #e30613;
    color: #e30613;
}

.filter-toggle-btn i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
}

.filter-toggle-btn.collapsed i {
    transform: rotate(180deg);
}

.filter-content {
    max-height: 500px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.filter-content.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

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

.filter-header-top-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Responsive filter layout */
@media (max-width: 768px) {
    .filter-section {
        padding: 16px;
        margin-bottom: 24px;
    }

    .filter-header-top {
        flex-direction: column;
        gap: 12px;
    }

    .filter-header-top-left {
        width: 100%;
    }

    .count-display {
        width: 100%;
        justify-content: center;
        font-size: 14px;
    }

    .filter-toggle-btn {
        width: 100%;
        justify-content: center;
    }

    .filter-form {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .filter-form > div {
        width: 100%;
    }

    .filter-form select,
    .filter-form input {
        width: 100%;
        min-width: unset;
    }

    .btn-filter-reset {
        width: 100%;
        justify-content: center;
    }

    .filter-content {
        max-height: 1000px;
    }

    .filter-content.collapsed {
        max-height: 0;
    }
}

@media (max-width: 480px) {
    #sportHeroSection {
    padding: 0px;
    }
    #detailThumbGrid{
        margin: 0 auto;
        padding: 0px;
    }
    .price-lbl {
        margin: 10px;
    }
    .filter-section {
        padding: 12px;
        margin-bottom: 16px;
    }

    .count-display {
        font-size: 12px;
    }

    .count-display strong {
        font-size: 16px;
    }

    .filter-form select,
    .filter-form input {
        font-size: 12px;
        padding: 8px 10px;
    }

    .filter-form label {
        font-size: 10px;
    }
}

/* ============================================= */
/* HOTEL DETAILS TEMPLATE REFINEMENTS */
/* Desktop-first layout tuning based on approved visual */
/* ============================================= */

body.hotel-details-page .ms-main-wrapper {
    max-width: 1180px;
    margin: 24px auto 40px;
    margin-top: 88px;
    padding: 0 18px;
}

body.hotel-details-page .detail-shell-card {
    background: #fff;
    border: 1px solid #e3e7ec;
    border-radius: 14px;
    box-shadow: none;
}

/* Keep outer shell neutral; each ms-pro-card should be a separate card block. */
body.hotel-details-page #detailPageRoot .ms-card-pro.detail-shell-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

body.hotel-details-page #detailPageRoot .ms-pro-card {
    background: #ffffff;
    border: 1px solid #e2e6eb !important;
    border-radius: 20px;
    box-shadow: none;
}

body.hotel-details-page #detailPageRoot .ms-pro-card + .ms-pro-card {
    margin-top: 16px;
}

body.hotel-details-page #detailPageRoot .ms-pro-card.border-top {
    border-top: 1px solid #e2e6eb !important;
}

body.hotel-details-page .section-label-heading {
    font-size: 12px;
    letter-spacing: 1.8px;
    font-weight: 900;
}

body.hotel-details-page #detailHotelTitle,
body.hotel-details-page .sport-detail-title {
    letter-spacing: -1.2px;
    line-height: 0.95;
}

body.hotel-details-page .elite-score-value {
    font-size: 78px;
    letter-spacing: -4px;
}

body.hotel-details-page .pitch-summary-row {
    padding: 18px 0 16px;
}

body.hotel-details-page .pitch-summary-title {
    font-size: 36px;
    letter-spacing: -1.2px;
}

body.hotel-details-page .pitch-summary-dimension {
    margin-top: 28px;
    font-size: 30px;
    letter-spacing: -0.8px;
}

body.hotel-details-page .pitch-highlight-item {
    font-size: 13px;
}

body.hotel-details-page .detail-seo-text,
body.hotel-details-page .sport-camp-description-box {
    font-size: 14px;
    line-height: 1.8;
}

body.hotel-details-page #sportPageFlow {
    gap: 18px;
}

body.hotel-details-page #sportHeroSection,
body.hotel-details-page #sportInfoSection,
body.hotel-details-page #sportMediaSection,
body.hotel-details-page #hotelInfoSection,
body.hotel-details-page #hotelFacilitiesSection,
body.hotel-details-page #hotelMediaSection,
body.hotel-details-page #otherSportsSection {
    border-radius: 14px;
    border: 1px solid #e2e6eb;
    background: #f3f5f7;
    box-shadow: none;
}

body.hotel-details-page #sportHeroSection,
body.hotel-details-page #sportInfoSection,
body.hotel-details-page #sportMediaSection {
    border-top: 1px solid #e2e6eb;
}

body.hotel-details-page #hotelInfoSection,
body.hotel-details-page #hotelFacilitiesSection,
body.hotel-details-page #hotelMediaSection,
body.hotel-details-page #otherSportsSection {
    border-top: 1px solid #e2e6eb;
}

body.hotel-details-page .module-transition {
    display: none;
}

body.hotel-details-page .module-transition .line {
    height: 2px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.85), rgba(148, 163, 184, 0));
}

body.hotel-details-page .section-label-heading {
    position: relative;
    display: inline-block;
    padding-right: 0;
    margin-bottom: 12px;
}

body.hotel-details-page .section-label-heading::after {
    content: none;
}

body.hotel-details-page .sports-collapse-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px;
    background: #ffffff;
}

body.hotel-details-page #hotelFacilitiesSection .detail-shell-card,
body.hotel-details-page #hotelMediaSection .detail-shell-card,
body.hotel-details-page #otherSportsSection .detail-shell-card {
    box-shadow: none;
}

/* Tablet + Mobile */
@media (max-width: 991.98px) {
    body.hotel-details-page .ms-main-wrapper {
        margin-top: 82px;
        margin-bottom: 24px;
        padding: 0 10px;
    }

    body.hotel-details-page .detail-shell-card {
        border-radius: 14px;
    }

    body.hotel-details-page #sportPageFlow {
        gap: 14px;
    }

    body.hotel-details-page #sportHeroSection,
    body.hotel-details-page #sportInfoSection,
    body.hotel-details-page #sportMediaSection,
    body.hotel-details-page #hotelInfoSection,
    body.hotel-details-page #hotelFacilitiesSection,
    body.hotel-details-page #hotelMediaSection,
    body.hotel-details-page #otherSportsSection {
        border-radius: 14px;
        box-shadow: none;
    }

    body.hotel-details-page #detailPageRoot .ms-pro-card {
        border-radius: 16px;
    }

    body.hotel-details-page #detailPageRoot .ms-pro-card + .ms-pro-card {
        margin-top: 12px;
    }

    body.hotel-details-page .detail-main-image-wrap,
    #sportHeroSection .main-image-wrapper {
        height: 260px !important;
        border-radius: 10px;
    }

    #sportHeroSection #detailThumbGrid .gallery-item-square {
        height: 92px !important;
        border-radius: 8px;
        overflow: hidden;
    }

    body.hotel-details-page #detailHotelTitle,
    body.hotel-details-page .sport-detail-title {
        font-size: 42px !important;
        line-height: 0.98;
        margin-bottom: 14px !important;
    }

    body.hotel-details-page .detail-location-tag {
        font-size: 11px;
        letter-spacing: 1.2px;
    }

    body.hotel-details-page .section-label-heading {
        font-size: 10px;
        letter-spacing: 1.3px;
    }

    body.hotel-details-page .section-label-heading::after {
        width: 36px;
    }

    body.hotel-details-page .detail-seo-text,
    body.hotel-details-page .sport-camp-description-box {
        font-size: 12px;
        line-height: 1.65;
    }

    body.hotel-details-page .elite-score-value {
        font-size: 62px;
        line-height: 0.88;
        letter-spacing: -3px;
    }

    body.hotel-details-page .metric-progress-track {
        height: 5px;
    }

    body.hotel-details-page .pitch-summary-row {
        padding: 14px 0 12px;
    }

    body.hotel-details-page .pitch-chip {
        font-size: 10px;
        letter-spacing: 0.6px;
        padding: 3px 8px;
        margin-bottom: 8px;
    }

    body.hotel-details-page .pitch-summary-title {
        font-size: 24px;
        line-height: 1.02;
        letter-spacing: -0.6px;
    }

    body.hotel-details-page .pitch-summary-dimension {
        margin-top: 8px;
        font-size: 16px;
        line-height: 1.3;
        white-space: normal;
    }

    body.hotel-details-page .pitch-summary-highlights {
        gap: 6px;
    }

    body.hotel-details-page .pitch-highlight-item {
        font-size: 12px;
        line-height: 1.35;
    }

    body.hotel-details-page .module-transition {
        margin-bottom: 12px;
    }
}

@media (max-width: 575.98px) {
    body.hotel-details-page .ms-main-wrapper {
        padding: 0 8px;
    }

    body.hotel-details-page .detail-shell-card {
        border-radius: 12px;
    }

    body.hotel-details-page #sportHeroSection,
    body.hotel-details-page #sportInfoSection,
    body.hotel-details-page #sportMediaSection,
    body.hotel-details-page #hotelInfoSection,
    body.hotel-details-page #hotelFacilitiesSection,
    body.hotel-details-page #hotelMediaSection,
    body.hotel-details-page #otherSportsSection {
        border-radius: 12px;
    }

    body.hotel-details-page #detailPageRoot .ms-pro-card {
        border-radius: 14px;
    }

    body.hotel-details-page #detailPageRoot .ms-pro-card + .ms-pro-card {
        margin-top: 10px;
    }

    body.hotel-details-page #detailHotelTitle,
    body.hotel-details-page .sport-detail-title {
        font-size: 34px !important;
        letter-spacing: -0.5px;
    }

    body.hotel-details-page .elite-score-value {
        font-size: 54px;
    }

    body.hotel-details-page .quote-btn-pro,
    body.hotel-details-page .room-units-toggle-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    body.hotel-details-page .sports-collapse-wrap {
        max-height: 240px;
    }
}