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

/* Reset and Core Variables */
:root {
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Plus Jakarta Sans', sans-serif;
    
    /* Summer Theme Variables (Default) */
    --primary: #ff6b35;
    --primary-rgb: 255, 107, 53;
    --secondary: #f7c59f;
    --accent: #00b4d8;
    --accent-rgb: 0, 180, 216;
    --bg-overlay: rgba(253, 244, 235, 0.75);
    --card-bg: rgba(255, 255, 255, 0.7);
    --text-main: #2b2d42;
    --text-light: #6c757d;
    --border-color: rgba(255, 107, 53, 0.15);
    --shadow-color: rgba(255, 107, 53, 0.1);
    --success: #2ec4b6;
    --danger: #e63946;
    --glow-color: rgba(255, 107, 53, 0.4);
}

/* Winter Theme Variables */
[data-season="winter"] {
    --primary: #0077b6;
    --primary-rgb: 0, 119, 182;
    --secondary: #90e0ef;
    --accent: #f72585;
    --accent-rgb: 247, 37, 133;
    --bg-overlay: rgba(224, 242, 254, 0.75);
    --card-bg: rgba(255, 255, 255, 0.75);
    --text-main: #1d2d44;
    --text-light: #5c677d;
    --border-color: rgba(0, 119, 182, 0.15);
    --shadow-color: rgba(0, 119, 182, 0.1);
    --success: #06d6a0;
    --danger: #ef476f;
    --glow-color: rgba(0, 119, 182, 0.4);
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-main);
    background-color: #0f172a;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}


/* Background Image Handler */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: filter 0.8s ease;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1.2s ease-in-out;
}

.bg-summer {
    background-image: url('assets/bg_summer.png');
    opacity: 1;
}

.bg-winter {
    background-image: url('assets/bg_winter.png');
    opacity: 0;
}

[data-season="winter"] .bg-summer {
    opacity: 0;
}

[data-season="winter"] .bg-winter {
    opacity: 1;
}

/* Base App Layout */
.app-wrapper {
    width: 100%;
    max-width: 1440px;
    min-height: 100vh;
    background: var(--bg-overlay);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transition: background 0.8s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* Header & Controls */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.logo-section h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.8s ease;
}

.logo-section p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 0.2rem;
}

.controls-section {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* Departure Selector */
.departure-box {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--card-bg);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: all 0.3s ease;
}

.departure-box:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.departure-box label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.departure-box select {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}

/* Season Toggle Switch */
.season-toggle-wrapper {
    display: flex;
    background: var(--card-bg);
    border-radius: 50px;
    padding: 0.3rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow-color);
    position: relative;
    width: 240px;
    height: 48px;
    overflow: hidden;
}

.season-btn {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
    z-index: 2;
    transition: color 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.season-btn.active {
    color: white;
}

.season-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    border-radius: 50px;
    background: linear-gradient(135deg, #ff6b35, #feb47b);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.8s ease;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

[data-season="winter"] .season-slider {
    transform: translateX(100%);
    background: linear-gradient(135deg, #0077b6, #90e0ef);
}

/* Search Bar */
.search-wrapper {
    position: relative;
    width: 320px;
}

.search-wrapper input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    box-shadow: 0 4px 12px var(--shadow-color);
    outline: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.search-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--glow-color);
    transform: scale(1.02);
}

.search-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

/* Main Dashboard Grid */
.main-dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
    flex: 1;
}

/* Sidebar / Filters */
.filters-sidebar {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
    backdrop-filter: blur(8px);
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.4s ease;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.filter-label {
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

/* Budget Range Slider */
.budget-slider-container {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.budget-values {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.9rem;
}

.budget-slider-container input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: var(--secondary);
    outline: none;
    cursor: pointer;
}

.budget-slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    transition: transform 0.1s ease;
}

.budget-slider-container input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Category Buttons & Checkboxes */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-pill {
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-pill:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.category-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 10px var(--shadow-color);
}

.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
}

.checkbox-item input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Offers Grid */
.offers-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-count {
    font-size: 1.1rem;
    font-weight: 700;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.8rem;
}

/* Travel Card Component */
.travel-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(8px);
}

.travel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-color), 0 0 20px var(--border-color);
    border-color: rgba(var(--primary-rgb), 0.4);
}

.card-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.travel-card:hover .card-image-wrapper img {
    transform: scale(1.08);
}

.card-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.badge-season {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e293b;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.badge-agency {
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.badge-agency:hover {
    background: var(--accent);
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.card-reliability {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

/* Card Body */
.card-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.8rem;
}

.card-dest-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
}

.card-hotel-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: var(--font-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.card-tag {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Card Vehicle Selector Section */
.card-vehicles-container {
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
    padding: 0.8rem 0;
    margin: 0.4rem 0;
}

.vehicles-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
}

.vehicle-pill {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem 0.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.vehicle-pill:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.vehicle-pill.selected {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 10px var(--shadow-color);
}

.vehicle-icon {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.vehicle-price {
    font-size: 0.75rem;
    font-weight: 700;
}

.vehicle-duration {
    font-size: 0.6rem;
    opacity: 0.8;
    margin-top: 0.1rem;
}

/* Badges on transport choice */
.vehicle-label {
    position: absolute;
    top: -5px;
    font-size: 0.5rem;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 4px;
    color: white;
    text-transform: uppercase;
}
.label-veloce { background-color: var(--accent); }
.label-economico { background-color: var(--success); }
.label-consigliato { background-color: var(--primary); }

/* Card Footer & Price Display */
.card-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 0.8rem;
}

.price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-only-proposal {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    text-align: left;
}

.price-only-proposal span {
    font-weight: 700;
    color: var(--text-main);
}

.price-total {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    transition: color 0.4s ease;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.btn-card-secondary {
    flex: 1;
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: 10px;
    padding: 0.55rem 0.6rem;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.btn-card-secondary:hover {
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--accent);
    border-color: var(--accent);
}

.btn-card-secondary:active {
    transform: scale(0.98);
}

.btn-card-primary {
    flex: 1.2;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.55rem 0.6rem;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.btn-card-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--shadow-color), 0 0 12px var(--glow-color);
}

.btn-card-primary:active {
    transform: scale(0.98);
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border-radius: 24px;
    border: 1px dashed var(--border-color);
    text-align: center;
    gap: 1rem;
}

.empty-state-icon {
    font-size: 3rem;
    color: var(--text-light);
}

.empty-state-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.empty-state-desc {
    color: var(--text-light);
    max-width: 400px;
    font-family: var(--font-secondary);
}

/* Details Panel / Booking Drawer (Slide in from right) */
.details-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.details-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.details-drawer {
    position: fixed;
    top: 0;
    right: -500px;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: white;
    z-index: 101;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    color: #1e293b;
    overflow-y: auto;
}

[data-season="winter"] .details-drawer {
    background: #f8fafc;
}

.details-drawer.active {
    right: 0;
}

.drawer-close {
    align-self: flex-end;
    background: #e2e8f0;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.drawer-close:hover {
    background: #cbd5e1;
    transform: rotate(90deg);
}

.drawer-body {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.drawer-dest-image {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.drawer-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--primary);
    border-left: 3px solid var(--primary);
    padding-left: 0.5rem;
}

.agency-trust-card {
    background: rgba(241, 245, 249, 0.8);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

[data-season="winter"] .agency-trust-card {
    background: #fff;
    border-color: #e2e8f0;
}

.agency-trust-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    align-items: center;
}

.trust-badge {
    background: #dcfce7;
    color: #166534;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #bbf7d0;
}

.agency-trust-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

.receipt-box {
    border-top: 2px dashed #cbd5e1;
    border-bottom: 2px dashed #cbd5e1;
    padding: 1rem 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #475569;
}

.receipt-row.total-row {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    border-top: 1px solid #e2e8f0;
    padding-top: 0.6rem;
    margin-top: 0.4rem;
}

.receipt-row.total-row span {
    color: var(--primary);
}

.booking-success-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
    margin: auto 0;
}

.booking-success-icon {
    font-size: 4rem;
    color: #2ec4b6;
    animation: bounce 1s infinite alternate;
}

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

.btn-confirm-booking {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 1rem;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-confirm-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-color);
    background: var(--accent);
}

/* Default hidden components for desktop */
.filters-close-btn {
    display: none;
}
.btn-mobile-filters {
    display: none;
}
.filters-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.filters-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.mobile-categories-bar {
    display: none;
}
.drawer-handle {
    display: none;
}
.btn-apply-mobile-filters {
    display: none;
}

/* Animations and Responsive */
@media(max-width: 900px) {
    .main-dashboard {
        grid-template-columns: 1fr;
    }
    .filters-sidebar {
        position: static;
    }
}

@media(max-width: 650px) {
    .app-wrapper {
        padding: 1rem 0.8rem;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding-bottom: 1.2rem;
    }
    .logo-section h1 {
        font-size: 1.8rem;
    }
    .search-wrapper {
        width: 100%;
    }
    .controls-section {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        width: 100%;
    }
    .departure-box {
        width: 100%;
        justify-content: space-between;
        border-radius: 14px;
    }
    .date-selector-box {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        border-radius: 16px;
        padding: 0.8rem 1rem;
        width: 100%;
    }
    .date-input-group {
        justify-content: space-between;
        width: 100%;
    }
    .season-toggle-wrapper {
        width: 100%;
    }
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    /* Mobile categories horizontal bar styling */
    .mobile-categories-bar {
        display: flex !important;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0.4rem 0.2rem;
        gap: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide scrollbar Firefox */
        margin-bottom: 0.4rem;
        width: 100%;
        box-sizing: border-box;
    }
    .mobile-categories-bar::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari */
    }
    .mobile-categories-bar .category-pill {
        flex: 0 0 auto;
        padding: 0.4rem 0.8rem;
        font-size: 0.82rem;
        border-radius: 50px;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        color: var(--text-main);
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .mobile-categories-bar .category-pill.active {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
        box-shadow: 0 4px 10px var(--shadow-color);
    }
    
    /* Hide category filters inside drawer on mobile since they are in the horizontal bar */
    .filter-group-categories {
        display: none !important;
    }
    
    /* Results Header with mobile filters trigger */
    .results-header {
        display: flex;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 0.5rem;
    }
    .btn-mobile-filters {
        display: inline-flex !important;
        align-items: center;
        gap: 0.4rem;
        padding: 0.5rem 1rem;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        border: none;
        color: white;
        border-radius: 50px;
        font-family: var(--font-primary);
        font-weight: 700;
        font-size: 0.82rem;
        cursor: pointer;
        box-shadow: 0 4px 10px var(--shadow-color);
        transition: all 0.3s ease;
        box-sizing: border-box;
    }
    .btn-mobile-filters:active {
        transform: scale(0.95);
    }
    .month-select {
        width: 100%;
    }
    .details-drawer {
        padding: 1.2rem;
    }
    .savings-tip-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        padding: 1rem;
    }
    .savings-tip-banner button {
        width: 100%;
    }
    
    /* Filters Sidebar as a Bottom Sheet Drawer */
    .filters-sidebar {
        position: fixed !important;
        top: auto !important;
        bottom: -100%;
        left: 0 !important;
        width: 100% !important;
        max-height: 80vh;
        z-index: 999;
        overflow-y: auto;
        border-radius: 24px 24px 0 0 !important;
        border: none !important;
        border-top: 1px solid var(--border-color) !important;
        box-shadow: none;
        transition: bottom 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding: 2.5rem 1.5rem 1.5rem 1.5rem;
        background: white !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    .filters-sidebar.active {
        bottom: 0 !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    }
    .drawer-handle {
        display: block !important;
        width: 40px;
        height: 4px;
        background: #cbd5e1;
        border-radius: 10px;
        position: absolute;
        top: 0.8rem;
        left: 50%;
        transform: translateX(-50%);
    }
    .filters-close-btn {
        display: flex !important;
        position: absolute;
        top: 0.8rem;
        right: 1.2rem;
        background: #f1f5f9;
        border: none;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-weight: 700;
        font-size: 1rem;
        transition: all 0.3s ease;
        z-index: 1001;
    }
    .filters-close-btn:hover {
        background: #cbd5e1;
        transform: rotate(90deg);
    }
    .sidebar-title {
        margin-top: 0.5rem;
    }
    .btn-apply-mobile-filters {
        display: block !important;
        width: 100%;
        padding: 0.8rem;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        border: none;
        color: white;
        font-family: var(--font-primary);
        font-weight: 700;
        font-size: 0.95rem;
        border-radius: 12px;
        cursor: pointer;
        box-shadow: 0 4px 12px var(--shadow-color);
        transition: all 0.3s ease;
        margin-top: 0.5rem;
        text-align: center;
    }
    .btn-apply-mobile-filters:active {
        transform: scale(0.98);
    }
    
    /* Force mobile inputs/selects to have at least 16px to prevent iOS Safari auto-zoom on focus */
    input, select, textarea {
        font-size: 16px !important;
    }
    
    /* Make floating newsletter banner fully responsive so it doesn't overflow mobile widths */
    .floating-newsletter-banner {
        bottom: 1rem !important;
        right: 1rem !important;
        left: 1rem !important;
        width: auto !important;
    }
}





/* Date Selector Box */
.date-selector-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: all 0.3s ease;
}

.date-selector-box:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.date-input-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.date-input-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.date-input-group input[type="date"] {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-main);
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}

/* Savings Tip Banner */
.savings-tip-banner {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(46, 196, 182, 0.12);
    border: 1px solid rgba(46, 196, 182, 0.3);
    border-radius: 16px;
    padding: 1.2rem;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(8px);
    animation: fadeInSlide 0.5s ease-out;
}

[data-season="winter"] .savings-tip-banner {
    background: rgba(6, 214, 160, 0.12);
    border-color: rgba(6, 214, 160, 0.3);
}

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

.savings-tip-icon {
    font-size: 1.6rem;
    color: #2ec4b6;
    animation: pulseGlow 2s infinite;
}

[data-season="winter"] .savings-tip-icon {
    color: #06d6a0;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.savings-tip-content {
    flex: 1;
}

.savings-tip-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    display: block;
    margin-bottom: 0.2rem;
}

.savings-tip-text {
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

.btn-apply-savings {
    background: #2ec4b6;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(46, 196, 182, 0.2);
    white-space: nowrap;
}

[data-season="winter"] .btn-apply-savings {
    background: #06d6a0;
    box-shadow: 0 4px 10px rgba(6, 214, 160, 0.2);
}

.btn-apply-savings:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Newsletter Widget Styling */
.newsletter-card {
    border-top: 1px dashed var(--border-color);
    padding-top: 1.2rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.newsletter-desc {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
}

.newsletter-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.2rem;
    transition: all 0.3s ease;
    align-items: center;
}

.newsletter-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--glow-color);
    background: rgba(255, 255, 255, 0.8);
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem 0.8rem;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    outline: none;
    color: var(--text-main);
}

.newsletter-input-group input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.btn-newsletter {
    background: var(--primary);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px var(--shadow-color);
}

.btn-newsletter:hover {
    transform: scale(1.1);
    background: var(--accent);
}

.btn-newsletter:active {
    transform: scale(0.95);
}

.newsletter-msg {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    transition: all 0.3s ease;
    display: none;
}

.newsletter-msg.success {
    display: block !important;
    color: var(--success);
    animation: fadeInSlide 0.3s ease-out;
}

.newsletter-msg.error {
    display: block !important;
    color: var(--danger);
    animation: fadeInSlide 0.3s ease-out;
}

/* Booking Lead Form Styling */
.form-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: left;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    display: block;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.65rem 0.8rem;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    color: var(--text-main);
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--glow-color);
    background: rgba(255, 255, 255, 0.95);
}

.form-group textarea {
    resize: vertical;
}

.btn-back-drawer {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.btn-back-drawer:hover {
    color: var(--primary);
}

/* Secondary Redirect Link Style */
.btn-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 4px 10px var(--shadow-color);
}

.btn-secondary-link:hover {
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px var(--shadow-color);
}

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

/* Scarcity & Urgency Badges */
.badge-scarcity {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    color: white;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.badge-scarcity.urgency {
    background: linear-gradient(135deg, #ff4d4d, #f857a6);
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.4);
}

.badge-scarcity.popular {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    box-shadow: 0 0 8px rgba(0, 198, 255, 0.4);
}

.badge-scarcity.promo {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    box-shadow: 0 0 8px rgba(17, 153, 142, 0.4);
}

/* Trust Signals Widget in Booking Drawer */
.drawer-trust-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.8rem;
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    backdrop-filter: blur(8px);
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.trust-item i {
    color: var(--primary);
    font-size: 0.95rem;
    margin-top: 0.15rem;
}

.trust-item div strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
}

.trust-item div p {
    font-size: 0.65rem;
    color: var(--text-light);
    margin: 0;
}

/* Interactive FAQ Section */
.faq-section {
    margin-top: 3.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    backdrop-filter: blur(16px);
}

.section-title-faq {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.section-title-faq i {
    color: var(--primary);
}

.section-subtitle-faq {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.4rem;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question i {
    font-size: 0.8rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 1.4rem;
}

.faq-answer p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    padding-bottom: 1.1rem;
    margin: 0;
}

/* Active FAQ Item state */
.faq-item.active {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.02);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.05);
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.3s ease-in-out;
}

/* Share Travel Package Button */
.btn-share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: rgba(var(--primary-rgb), 0.03);
    border: 1.5px dashed var(--primary);
    color: var(--primary);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.btn-share-link:hover {
    background: rgba(var(--primary-rgb), 0.08);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-share-link:active {
    transform: scale(0.98);
}

/* Toast Notification Container */
.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-container.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Social Grid Sharing Menu */
.share-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.8rem;
    animation: fadeInSlide 0.3s ease;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.share-btn.wa {
    background-color: #25d366;
}
.share-btn.wa:hover {
    background-color: #1ebd56;
    transform: translateY(-1px);
}

.share-btn.tg {
    background-color: #0088cc;
}
.share-btn.tg:hover {
    background-color: #0077b5;
    transform: translateY(-1px);
}

.share-btn.fb {
    background-color: #1877f2;
}
.share-btn.fb:hover {
    background-color: #166fe5;
    transform: translateY(-1px);
}

.share-btn.copy {
    background-color: var(--text-light);
}
.share-btn.copy:hover {
    background-color: var(--text-main);
    transform: translateY(-1px);
}

.share-btn:active {
    transform: scale(0.97);
}

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

/* Card Direct Share Button */
.btn-card-share {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: rgba(var(--primary-rgb), 0.03);
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.btn-card-share:hover {
    background: rgba(var(--primary-rgb), 0.08);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.btn-card-share:active {
    transform: scale(0.95);
}

/* Floating Newsletter Banner */
.floating-newsletter-banner {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    backdrop-filter: blur(16px);
    z-index: 999;
    display: flex;
    gap: 0.8rem;
    box-sizing: border-box;
    animation: slideInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.banner-close {
    position: absolute;
    top: 0.5rem;
    right: 0.7rem;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
}

.banner-close:hover {
    color: var(--primary);
}

.banner-icon {
    font-size: 1.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.banner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.banner-content h4 {
    margin: 0 0 0.2rem 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
}

.banner-content p {
    margin: 0 0 0.8rem 0;
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.4;
}

.banner-content form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.banner-content form input {
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.9);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    box-sizing: border-box;
}

.banner-content form button {
    padding: 0.5rem;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-content form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px var(--shadow-color);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Month Filter Select & Dropdown Styling */
.month-select {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    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='%236c757d' 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 1rem center;
    background-size: 1em;
}

.month-select:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.month-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--glow-color);
}

/* Skeleton Loading Shimmer Placeholders */
.skeleton-card {
    pointer-events: none;
    background: var(--card-bg);
    border: 1px dashed var(--border-color);
}

.skeleton-image {
    width: 100%;
    height: 200px;
    background: rgba(var(--primary-rgb), 0.05);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.skeleton-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.skeleton-line {
    height: 12px;
    background: rgba(43, 45, 66, 0.08);
    border-radius: 4px;
}

.skeleton-line.title {
    height: 20px;
    width: 70%;
    margin-bottom: 0.4rem;
}

.skeleton-line.hotel {
    height: 14px;
    width: 45%;
    margin-bottom: 0.8rem;
    background: rgba(var(--primary-rgb), 0.1);
}

.skeleton-line.desc {
    width: 100%;
}

.skeleton-pills {
    height: 40px;
    background: rgba(43, 45, 66, 0.04);
    border-radius: 8px;
    margin-top: 0.6rem;
    margin-bottom: 0.6rem;
}

.skeleton-footer {
    height: 48px;
    background: rgba(43, 45, 66, 0.06);
    border-radius: 12px;
    margin-top: 0.4rem;
}

/* Shimmer Animation Effect */
.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: loading-shimmer 1.4s infinite;
}

@keyframes loading-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Scarcity Indicators & Trust Badges */
.live-viewers-box {
    margin-bottom: 0.75rem;
}

.badge-live-viewers {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--danger);
    background: rgba(230, 57, 70, 0.08);
    padding: 0.35rem 0.7rem;
    border-radius: 50px;
    border: 1px solid rgba(230, 57, 70, 0.15);
}

.badge-live-viewers i {
    animation: pulse-active 1.8s infinite;
}

@keyframes pulse-active {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.6;
    }
}

/* Premium Badges and glowing borders */
.badge-premium {
    padding: 0.35rem 0.7rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.03rem;
}

.badge-premium.top-choice {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.badge-premium.best-value {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    color: white;
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.3);
}

/* Glowing card borders for highlighted products */
.card-top-choice {
    position: relative;
    border: 2px solid rgba(255, 215, 0, 0.45) !important;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.08), 0 4px 12px var(--shadow-color);
}

.card-top-choice::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 20px;
    border: 2px solid #ffd700;
    opacity: 0;
    animation: border-glow-gold 3s infinite;
    pointer-events: none;
}

.card-best-value {
    position: relative;
    border: 2px solid rgba(79, 172, 254, 0.45) !important;
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.08), 0 4px 12px var(--shadow-color);
}

.card-best-value::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 20px;
    border: 2px solid #00f2fe;
    opacity: 0;
    animation: border-glow-blue 3s infinite;
    pointer-events: none;
}

@keyframes border-glow-gold {
    0% { opacity: 0; box-shadow: 0 0 0 rgba(255, 215, 0, 0); }
    50% { opacity: 0.6; box-shadow: 0 0 15px rgba(255, 215, 0, 0.45); }
    100% { opacity: 0; box-shadow: 0 0 0 rgba(255, 215, 0, 0); }
}

@keyframes border-glow-blue {
    0% { opacity: 0; box-shadow: 0 0 0 rgba(0, 242, 254, 0); }
    50% { opacity: 0.6; box-shadow: 0 0 15px rgba(0, 242, 254, 0.45); }
    100% { opacity: 0; box-shadow: 0 0 0 rgba(0, 242, 254, 0); }
}

.last-update-box {
    margin-bottom: 0.75rem;
}

.badge-last-update {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.35rem 0.7rem;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.badge-last-update i {
    animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Floating AI Chat Bubble */
.zaino-ai-bubble {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7, #0f766e);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-ring 2s infinite;
}

.zaino-ai-bubble:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.5);
}

.zaino-ai-bubble:active {
    transform: scale(0.95);
}

.zaino-ai-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(2, 132, 199, 0); }
    100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

/* AI Chat Window */
.zaino-ai-chat-window {
    position: fixed;
    bottom: 6.5rem;
    right: 2rem;
    width: 360px;
    height: 500px;
    max-height: 75vh;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 40px var(--shadow-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    animation: chatSlideIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes chatSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-header {
    background: linear-gradient(135deg, #0284c7, #0f766e);
    color: white;
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.chat-header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.chat-header-info h4 {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.chat-status {
    font-size: 0.7rem;
    opacity: 0.85;
}

.chat-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.chat-close-btn:hover {
    opacity: 1;
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    padding: 1.2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: #f8fafc;
}

.chat-message {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    word-break: break-word;
}

.ai-message {
    background: white;
    color: #1e293b;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.user-message {
    background: #0284c7;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

/* Suggestions inside chat */
.chat-quick-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.chat-quick-suggestions button {
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.2);
    color: #0284c7;
    font-family: var(--font-primary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-quick-suggestions button:hover {
    background: #0284c7;
    color: white;
    border-color: #0284c7;
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    padding: 0.3rem 0.5rem;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Input Form */
.chat-input-form {
    display: flex;
    padding: 0.8rem 1rem;
    background: white;
    border-top: 1px solid var(--border-color);
    gap: 0.6rem;
}

.chat-input-form input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input-form input:focus {
    border-color: #0284c7;
}

.chat-input-form button {
    background: #0284c7;
    color: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.chat-input-form button:hover {
    background: #0369a1;
}

/* Responsive Chat Window */
@media(max-width: 650px) {
    .zaino-ai-bubble {
        bottom: 2rem;
        right: 1.5rem;
    }
    .zaino-ai-chat-window {
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        z-index: 1001; /* Above overlays */
    }
    .chat-close-btn {
        font-size: 2rem;
    }
}

/* Card Button: Price Alert */
.btn-card-alert {
    background: transparent;
    border: 1.5px solid rgba(var(--primary-rgb), 0.25);
    color: var(--primary);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.btn-card-alert:hover {
    background: rgba(var(--primary-rgb), 0.05);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.btn-card-alert:active {
    transform: scale(0.95);
}

/* Price Alert Modal */
.price-alert-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 2rem 1.8rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    text-align: center;
    z-index: 2001;
    animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: #475569;
}

.modal-header-icon {
    width: 64px;
    height: 64px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.2rem auto;
    animation: ring-bell 1.5s ease-in-out infinite alternate;
}

@keyframes ring-bell {
    0% { transform: rotate(-8deg); }
    100% { transform: rotate(8deg); }
}

.modal-content h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.modal-content p {
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-content .form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.modal-content .form-group input:focus {
    border-color: var(--primary);
}

.btn-submit-alert {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: white;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: all 0.3s ease;
}

.btn-submit-alert:hover {
    box-shadow: 0 6px 18px var(--shadow-color);
    transform: translateY(-1px);
}

.btn-submit-alert:active {
    transform: scale(0.98);
}

/* Site Footer */
.site-footer {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 2.5rem 2rem 1.5rem 2rem;
    box-shadow: 0 8px 32px var(--shadow-color);
}

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

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.footer-brand h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand p {
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-badges span {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border: 1px solid var(--border-color);
}

.footer-links-group h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.8rem;
}

.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links-group a {
    text-decoration: none;
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    color: var(--text-light);
    transition: color 0.2s ease;
}

.footer-links-group a:hover {
    color: var(--primary);
}

.partner-list-mini {
    font-family: var(--font-secondary);
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Legal Pages General Layout */
.legal-content-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 12px 40px var(--shadow-color);
}

.legal-content-card h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-subtitle {
    font-family: var(--font-secondary);
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-body section {
    margin-bottom: 2rem;
}

.legal-body h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-body p, .legal-body ul {
    font-family: var(--font-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.legal-body ul {
    padding-left: 1.5rem;
}

.legal-body li {
    margin-bottom: 0.4rem;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
}

.btn-back-home:hover {
    background: var(--primary);
    color: white;
}







