/**
 * Home Page Styles
 * Extracted from index.php inline styles
 */

/* Featured Tours Section */
.featured-tours-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.featured-tours-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.featured-tours-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(118, 75, 162, 0.05);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite reverse;
}

.featured-tours-section .featured-tours-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

@media (min-width: 992px) {
    .featured-tours-section .featured-tours-layout {
        flex-wrap: nowrap;
    }

    .featured-tours-section .featured-tours-main {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .featured-tours-section .featured-tours-sidebar {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.premium-tours-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 991px) {
    .premium-tours-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .premium-tours-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.premium-tours-grid-item {
    min-width: 0;
}

.tour-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(118, 75, 162, 0.25);
}

.tour-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.tour-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tour-card:hover .tour-image {
    transform: scale(1.08);
}

.tour-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
    z-index: 2;
}

.difficulty-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.tour-details {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-destination {
    font-size: 0.85rem;
    color: #7b5cbf;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-destination i {
    color: #f5576c;
}

.tour-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #1a202c;
    line-height: 1.4;
}

.tour-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tour-title a:hover {
    color: #667eea;
}

.tour-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #6c757d;
}

.info-item i {
    color: #667eea;
    width: 16px;
}

.tour-amenities {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.amenity {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0f4ff;
    color: #667eea;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.amenity i {
    width: 12px;
    height: 12px;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    gap: 15px;
}

.tour-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.tour-rating i {
    color: #ffc107;
    font-size: 0.8rem;
}

.tour-rating span {
    color: #6c757d;
    font-size: 0.85rem;
}

.tour-price {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tour-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.tour-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.tour-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.4);
}

/* Main Menu */
.main-menu .main-menu__list>li {
    padding-top: 38.5px;
    padding-bottom: 11.5px;
    position: relative;
}

/* Destinations Section */
.categories-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.category-card {
    position: relative;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    background: #fff;
    border-radius: 0;
}

.category-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 50px rgba(118, 75, 162, 0.3) !important;
}

.category-card:hover>div:first-child {
    transform: scale(1.1) !important;
}

.category-card:hover>div:last-child {
    opacity: 1 !important;
}

.category-card .destination-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.category-card .dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.category-card .destination-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
}

.category-card .destination-content h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.category-card .destination-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 15px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
}

.category-card .listing-badge {
    background: #764ba2;
    color: white;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    border-radius: 0;
}

.category-card .hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(118, 75, 162, 0.9);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card .hover-overlay a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-card .hover-overlay a i {
    margin-left: 10px;
}

/* Popular Destinations Grid Section */
.popular-destinations-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.popular-destinations-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(40, 167, 69, 0.08);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.popular-destinations-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: rgba(32, 201, 151, 0.05);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

/* Grid Layout */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 575px) {
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Destination Card */
.destination-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.destination-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(40, 167, 69, 0.2);
}

/* Destination Image */
.destination-card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

.destination-card:hover .destination-card-image img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
    z-index: 1;
}

/* Destination Content */
.destination-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.destination-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.destination-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.destination-count {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.25);
}

.destination-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

/* Destination Button */
.destination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: auto;
}

.destination-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(118, 75, 162, 0.3);
    color: white;
}

.destination-btn i {
    transition: transform 0.3s ease;
}

.destination-btn:hover i {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .destination-card-image {
        height: 240px;
    }

    .destination-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 575px) {
    .destination-card-image {
        height: 220px;
    }

    .destination-name {
        font-size: 1.2rem;
    }

    .destination-card-content {
        padding: 20px;
    }
}


/* Hero Search Section */
.hero-search-section {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 100px 0 50px;
    margin-top: 0;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.hero-search__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-search__bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1s ease, transform 7s ease;
}

.hero-search__bg-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-search-overlay {
    display: none;
}

.hero-search-section .container {
    position: relative;
    z-index: 2;
}

.hero-search-header {
    position: relative;
    z-index: 2;
    margin-bottom: 28px;
    color: #fff;
}

.hero-search-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.hero-search-subtitle {
    font-size: 1rem;
    color: #fff;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.search-category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.search-category-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.search-category-tab i {
    font-size: 1rem;
}

.search-category-tab:hover {
    background: rgba(255, 255, 255, 0.12);
}

.search-category-tab.active {
    background: #e63946;
    border-color: #e63946;
    color: #fff;
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.45);
}

.search-panel {
    display: none;
    overflow: visible;
    position: relative;
}

.search-panel.active {
    display: block;
    overflow: visible;
}

.search-panel[hidden] {
    display: none !important;
}

.form-group-trip-type select {
    background: #f97316 !important;
    color: #fff !important;
    border-color: #f97316 !important;
    font-weight: 600;
    padding-left: 14px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
}

.search-btn--red {
    background: #e63946 !important;
    border: none;
}

.search-btn--red:hover {
    background: #d62839 !important;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.45) !important;
}

/* Transfer form: trip type + pickup + dropoff + date + button */
.search-form--transfer {
    grid-template-columns: 120px repeat(3, minmax(160px, 1fr)) 140px !important;
}

@media (min-width: 992px) {
    .search-form--activity {
        grid-template-columns: repeat(4, minmax(150px, 1fr)) 140px !important;
        grid-auto-rows: minmax(44px, auto) !important;
    }
}

/* Activity: pickup place + conditional detail field */
.activity-pickup-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    height: auto !important;
    align-self: stretch;
}

.activity-pickup-group .input-wrapper {
    flex-shrink: 0;
}

.activity-pickup-detail[hidden] {
    display: none !important;
}

.activity-pickup-detail--open {
    display: block;
}

.activity-pickup-detail-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
    box-sizing: border-box;
    min-height: 40px;
}

.activity-pickup-detail-input:focus {
    outline: none;
    border-color: #7b5cbf;
    box-shadow: 0 0 0 3px rgba(123, 92, 191, 0.1);
}

.activity-pickup-group--expanded {
    grid-row: span 2;
}

.search-section .search-form--activity .activity-pickup-group {
    height: auto !important;
}

/* Search Section */
.search-section {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    padding: 30px 0;
    position: relative;
    overflow: visible;
    margin-top: 10px;
    margin-bottom: 30px;
}

.hero-search-section.search-section {
    background-color: transparent;
}

.search-section .decorative-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.search-section .decorative-element-1 {
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
}

.search-section .decorative-element-2 {
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    animation: float 12s ease-in-out infinite reverse;
}

.search-section .container {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 1140px;
    margin: 0 auto;
}

.search-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    height: auto;
    overflow: visible;
    position: relative;
    z-index: 100;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .search-container {
        max-width: 1430px;
        width: 110%;
        margin-left: -5%;
        margin-right: -5%;
    }
}

.search-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.form-group {
    flex: 1;
    min-width: 150px;
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.search-btn {
    /* keep button aligned with inputs; avoid accidental “second row” spacing */
    margin-top: 0;
}

/* Desktop: force one-line grid per search type */
@media (min-width: 992px) {
    .search-section .search-form {
        display: grid !important;
        gap: 12px !important;
        grid-auto-rows: 44px;
        align-items: stretch !important;
        flex-wrap: nowrap !important;
    }

    .search-section .search-form--activity {
        grid-template-columns: repeat(4, minmax(150px, 1fr)) 140px !important;
        grid-auto-rows: minmax(44px, auto) !important;
    }

    .search-section .search-form--transfer {
        grid-template-columns: 120px repeat(3, minmax(140px, 1fr)) 140px !important;
    }

    .form-group {
        min-width: 0;
    }

    .form-group select,
    .form-group input {
        min-width: 0;
        height: 100%; /* fill grid row height */
    }

    .search-btn {
        width: 140px;
        height: 100%; /* fill grid row height */
        justify-self: end;
        margin-top: 0 !important;
    }
}

.form-group.form-group-select,
.form-group.form-group-input {
    justify-content: flex-end;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #7b5cbf;
    pointer-events: none;
    flex-shrink: 0;
    z-index: 1;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
    background: white;
    transition: all 0.2s ease;
    cursor: pointer;
    height: auto;
    min-height: 40px;
    box-sizing: border-box;
}

.form-group select {
    appearance: auto;
    -webkit-appearance: menulist;
    padding-right: 32px;
    position: relative;
    z-index: 12;
    pointer-events: auto;
}

.search-section .input-wrapper select {
    width: 100%;
    cursor: pointer;
}

.form-group input[type="text"] {
    width: 100%;
}

.form-group select:hover,
.form-group input:hover {
    border-color: #7b5cbf;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: #7b5cbf;
    box-shadow: 0 0 0 3px rgba(123, 92, 191, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, #7b5cbf 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 0 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 130px;
    height: 40px;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-sizing: border-box;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
}

.search-btn:hover {
    background: linear-gradient(135deg, #6d4fb5 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(123, 92, 191, 0.4);
}

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

.search-btn svg {
    width: 16px;
    height: 16px;
}

.search-btn span {
    display: inline;
}

/* Tablet Responsive Search Form */
@media (min-width: 992px) and (max-width: 1199px) {
    .search-form {
        gap: 10px;
    }

    .form-group {
        min-width: 130px;
    }

    .form-group select,
    .form-group input {
        font-size: 13px;
        padding: 9px 10px 9px 34px;
        min-height: 38px;
    }

    .form-group select {
        padding-right: 28px;
    }

    .input-icon {
        left: 10px;
        width: 14px;
        height: 14px;
    }

    .search-btn {
        padding: 0 20px;
        min-width: 120px;
        height: 38px;
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    .search-section {
        padding: 25px 0;
    }

    .search-container {
        padding: 18px;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .search-form {
        gap: 10px;
    }

    .form-group {
        min-width: 120px;
        flex: 1 1 auto;
    }

    .form-group select,
    .form-group input {
        font-size: 13px;
        padding: 9px 10px 9px 34px;
        min-height: 38px;
    }

    .form-group select {
        padding-right: 28px;
    }

    .input-icon {
        left: 10px;
        width: 14px;
        height: 14px;
    }

    .search-btn {
        padding: 0 18px;
        min-width: 110px;
        height: 38px;
        font-size: 12px;
        margin: 0;
    }
}

/* Mobile Responsive Search Form */
@media (max-width: 768px) {
    .search-section {
        padding: 20px 0;
    }

    .search-container {
        padding: 15px;
        overflow: visible;
    }

    .search-form {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .form-group {
        min-width: 100%;
        flex: 1 1 100%;
    }

    .form-group select,
    .form-group input {
        font-size: 14px;
        padding: 10px 12px 10px 38px;
        min-height: 42px;
    }

    .form-group select {
        padding-right: 32px;
        background-position: right 10px center;
    }

    .travhub-multi-datepicker {
        padding: 10px 12px 10px 38px !important;
        min-height: 42px !important;
    }

    .input-icon {
        display: none;
        /* Hide icons on mobile to prevent overlap */
    }

    /* Adjust padding since icons are hidden */
    .form-group select,
    .form-group input {
        padding-left: 12px !important;
    }

    .search-btn {
        width: 100%;
        padding: 0;
        min-width: auto;
        height: 44px;
        font-size: 13px;
        margin: 0;
        border-radius: 6px;
    }
}

.search-btn:hover {
    background: linear-gradient(135deg, #6d4fb5 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(123, 92, 191, 0.4);
}

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

.search-btn svg {
    width: 16px;
    height: 16px;
}

.search-btn span {
    display: inline;
}

/* Mobile Responsive Search Form */
@media (max-width: 1200px) {
    .search-form {
        gap: 10px;
    }

    .form-group {
        min-width: 140px;
    }
}

@media (max-width: 992px) {
    .search-section {
        padding: 25px 0;
    }

    .search-container {
        padding: 18px;
    }

    .search-form {
        gap: 10px;
    }

    .form-group {
        min-width: 120px;
        flex: 1;
    }

    .form-group select,
    .form-group input {
        font-size: 13px;
        padding: 9px 10px;
        min-height: 38px;
    }

    .form-group select {
        padding-right: 28px;
    }

    .form-group label {
        font-size: 11px;
        margin-bottom: 4px;
        gap: 4px;
    }

    .form-group label svg {
        width: 14px;
        height: 14px;
    }

    .search-btn {
        padding: 0 20px;
        min-width: 120px;
        height: 38px;
        font-size: 12px;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .search-section {
        padding: 20px 0;
    }

    .search-container {
        padding: 15px;
    }

    .search-form {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .form-group {
        min-width: 100%;
        flex: 1 1 100%;
    }

    .form-group select,
    .form-group input {
        font-size: 14px;
        padding: 10px 12px;
        min-height: 42px;
    }

    .form-group select {
        padding-right: 32px;
        background-position: right 10px center;
    }

    .form-group label {
        font-size: 12px;
        margin-bottom: 6px;
        gap: 6px;
    }

    .form-group label svg {
        width: 16px;
        height: 16px;
    }

    .search-btn {
        width: 100%;
        padding: 0;
        min-width: auto;
        height: 44px;
        font-size: 13px;
        margin-top: 0;
        border-radius: 6px;
    }
}

.search-form-wrapper .travhub-btn:hover {
    background: #667eea !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.6) !important;
}

/* Datepicker Styling */
.form-group-input .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-group-input .input-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: #7b5cbf;
    pointer-events: none;
    z-index: 2;
}

.travhub-multi-datepicker {
    width: 100% !important;
    padding: 10px 12px 10px 38px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    color: #374151 !important;
    background: white !important;
    transition: all 0.2s ease !important;
    height: auto !important;
    min-height: 40px !important;
    box-sizing: border-box !important;
}

.travhub-multi-datepicker::placeholder {
    color: #9ca3af;
}

.travhub-multi-datepicker:hover {
    border-color: #7b5cbf !important;
}

.travhub-multi-datepicker:focus {
    outline: none !important;
    border-color: #7b5cbf !important;
    box-shadow: 0 0 0 3px rgba(123, 92, 191, 0.1) !important;
}

/* Flatpickr Calendar Popup */
.flatpickr-calendar {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    z-index: 99999 !important;
}

.flatpickr-calendar.open {
    display: inline-block !important;
}

.flatpickr-months {
    padding: 12px !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    padding: 8px 10px !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    color: #7b5cbf !important;
}

.flatpickr-day.selected {
    background: #7b5cbf !important;
    border-color: #7b5cbf !important;
}

.flatpickr-day.today {
    border-color: #7b5cbf !important;
}

.flatpickr-day:hover {
    background: rgba(123, 92, 191, 0.1) !important;
}

/* Phone Modal */
#phoneModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 8% auto;
    padding: 0;
    border-radius: 20px;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.modal-header h4 {
    margin: 0;
    font-weight: 700;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 30px;
}

.modal-body .search-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.modal-body .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.modal-body .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    width: 100%;
    font-size: 1rem;
}

.modal-body .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.modal-body .form-control:blur {
    border-color: #e9ecef;
    box-shadow: none;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.modal-btn {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 12px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-btn-cancel {
    background: #e9ecef;
    color: #495057;
}

.modal-btn-cancel:hover {
    background: #dee2e6;
}

.modal-btn-submit {
    background: #764ba2;
    color: white;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.4);
}

.modal-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* About Section */
.about-one {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.about-one .floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.about-one .floating-element-1 {
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.about-one .floating-element-2 {
    bottom: 20%;
    right: 15%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    animation: float 8s ease-in-out infinite reverse;
}

.about-one .scroll-reveal {
    z-index: 2;
    position: relative;
}

.about-one .badge {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.about-one .gradient-text {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-one .lead {
    font-size: 1.5rem;
    color: #6c757d;
    font-weight: 400;
    margin-bottom: 15px;
}

.about-one .glass-effect {
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

.about-one .glass-effect:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2) !important;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

.stat-item {
    min-width: 0;
}


/* ================================
   Popular Destinations Section
================================ */

.destinations-one {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative Elements */
.destinations-one .decorative-element {
    position: absolute;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.destinations-one .decorative-element-1 {
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.05) 0%,
            rgba(118, 75, 162, 0.05) 100%);
}

.destinations-one .decorative-element-2 {
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.03) 0%,
            rgba(118, 75, 162, 0.03) 100%);
    animation: float 12s ease-in-out infinite reverse;
}

/* ================================
   Grid Layout
================================ */

.destinations-one .destination-tours .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 2;
}

/* Remove Bootstrap column interference */
.destinations-one .destination-tours .col-md-6 {
    width: 100%;
    padding: 0;
}

/* ================================
   Destination Card
================================ */

.destinations-one .destination-card,
.destinations-one .card {
    border: none;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    background: #fff;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.destinations-one .destination-card:hover,
.destinations-one .card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(102, 126, 234, 0.15),
        0 0 0 1px rgba(102, 126, 234, 0.1);
}

/* ================================
   Hover Overlay
================================ */

.destinations-one .destination-card .hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(40, 167, 69, 0.9) 0%,
            rgba(32, 201, 151, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.destinations-one .destination-card:hover .hover-overlay {
    opacity: 1;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

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

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Card Hover Effects */
.card:hover .card-img-top {
    transform: scale(1.05) !important;
}

.card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.15), 0 0 0 1px rgba(102, 126, 234, 0.1) !important;
}

.card:hover>div:nth-child(2) {
    opacity: 1 !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%) !important;
}

.btn:hover,
.travhub-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .search-section {
        padding: 20px 0 !important;
    }

    .search-form-wrapper {
        padding: 30px 20px !important;
    }

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

    .gradient-text {
        font-size: 2.5rem !important;
    }

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

@media (max-width: 768px) {
    .categories-section {
        padding: 20px 0 !important;
    }

    .category-card {
        height: 300px !important;
        margin-bottom: 20px !important;
    }

    .search-section {
        padding: 20px 0 !important;
    }

    .search-form-wrapper {
        padding: 25px 15px !important;
    }

    .search-section h2 {
        font-size: 1.75rem !important;
    }

    .search-section p {
        font-size: 1rem !important;
    }

    .gradient-text {
        font-size: 2rem !important;
    }

    .section-space {
        padding: 50px 0 !important;
    }

    .card {
        margin-bottom: 25px !important;
    }

    .mt-4 {
        margin-top: 2rem !important;
    }

    .travhub-btn {
        margin: 5px 0;
        display: inline-block;
        width: auto;
        min-width: 140px;
    }
}

@media (max-width: 575px) {
    .gradient-text {
        font-size: 1.6rem !important;
    }

    .section-space {
        padding: 40px 0 !important;
    }

    .card {
        margin-bottom: 20px !important;
    }

    .card-body {
        padding: 15px !important;
    }

    .card-title {
        font-size: 1.1rem !important;
    }

    .card-text {
        font-size: 0.9rem !important;
    }

    .lead {
        font-size: 1.1rem !important;
    }

    .glass-effect {
        padding: 15px !important;
        margin-bottom: 15px !important;
    }

    .travhub-btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        min-width: 120px;
        margin: 8px 5px;
    }

    .mt-4 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

@media (min-width: 1400px) {
    .main-header__inner {
        padding: 0px 0 !important;
    }
}

.owl-carousel .owl-stage {
    display: flex !important;
}

.owl-carousel .owl-item {
    display: flex !important;
    height: auto !important;
}

.owl-carousel .card {
    flex: 1 1 auto;
    height: 100%;
}


.destination-header.mb-4 {
    /* background: #6974dc; */
    padding: 19px;
    box-shadow: #0000;

    display: flex;
    align-items: center;
    /* border-radius: 10px; */

}



.destination-header {

    padding: 19px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
}

.destination-header i {
    color: #667eea;
    transition: 0.3s ease;
}

.destination-header h1,
.destination-header h1 small {
    color: #333;
    transition: 0.3s ease;
}





.destination-header:hover i {
    color: #22c55e !important;
    /* green icon */
}

.destination-header i {
    color: #22c55e !important;
    /* green icon */
}

/* Featured Tours Responsive Styles */
@media (max-width: 1199px) {
    .featured-tours-section {
        padding: 60px 0;
    }

    .tour-card {
        margin-bottom: 30px;
    }

    .tour-details {
        padding: 20px;
    }

    .tour-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 991px) {
    .featured-tours-section {
        padding: 50px 0;
    }

    .featured-tours-section::before {
        width: 250px;
        height: 250px;
        top: -30px;
        right: -30px;
    }

    .featured-tours-section::after {
        width: 300px;
        height: 300px;
        bottom: -50px;
        left: -50px;
    }

    .tour-image-wrapper {
        height: 200px;
    }

    .tour-details {
        padding: 18px;
    }

    .tour-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .tour-info {
        margin-bottom: 12px;
        padding-bottom: 12px;
        gap: 15px;
    }

    .tour-footer {
        gap: 10px;
    }

    .tour-price .price {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .featured-tours-section {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 40px !important;
    }

    .section-title h2 {
        font-size: 1.8rem !important;
    }

    .section-title p {
        font-size: 0.95rem !important;
    }

    .tour-image-wrapper {
        height: 180px;
    }

    .tour-badge {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .tour-details {
        padding: 15px;
    }

    .tour-destination {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .tour-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .tour-info {
        margin-bottom: 10px;
        padding-bottom: 10px;
        gap: 12px;
        font-size: 0.85rem;
    }

    .info-item {
        gap: 4px;
    }

    .tour-amenities {
        margin-bottom: 12px;
        gap: 6px;
    }

    .amenity {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .tour-footer {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .tour-rating {
        justify-content: center;
    }

    .tour-price {
        text-align: center;
    }

    .tour-price .price {
        font-size: 1.2rem;
    }

    .tour-btn {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .featured-tours-section {
        padding: 30px 0;
    }

    .section-title h2 {
        font-size: 1.5rem !important;
    }

    .tour-image-wrapper {
        height: 160px;
    }

    .tour-details {
        padding: 12px;
    }

    .tour-title {
        font-size: 0.95rem;
    }

    .tour-info {
        gap: 10px;
    }

    .amenity {
        padding: 3px 6px;
    }
}

/* ==========================================================================
   HOME SEARCH BAR - DESKTOP SINGLE LINE
   ========================================================================== */

.search-section .search-container {
    overflow: visible;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 992px) {
    .search-section .search-form {
        display: grid !important;
        gap: 12px !important;
        grid-auto-rows: 44px;
        align-items: stretch !important;
        flex-wrap: nowrap !important;
    }

    .search-section .search-form--activity,
    .search-section .search-form--activity-v2 {
        grid-template-columns: repeat(4, minmax(150px, 1fr)) 140px !important;
        grid-auto-rows: minmax(44px, auto) !important;
    }

    .search-section .search-form--activity-v2 {
        grid-template-columns: minmax(220px, 1.6fr) minmax(140px, 1fr) minmax(140px, 1fr) 120px !important;
    }

    .search-section .search-form--activity-v2 .activity-pickup-group {
        display: none !important;
    }

    .search-section .search-form--transfer {
        grid-template-columns: 120px repeat(3, minmax(140px, 1fr)) 140px !important;
    }

    .search-section .form-group {
        min-width: 0 !important;
        height: 44px;
    }

    .search-section .form-group.activity-guest-field {
        height: auto !important;
        min-height: 44px;
        position: relative;
        z-index: 10010;
        overflow: visible;
    }

    .search-section .form-group.activity-guest-field:has(.activity-guest-panel:not([hidden])),
    .search-section .form-group.activity-guest-field:has(.activity-guest-dropdown.is-open) {
        z-index: 10050;
    }

    .search-section .search-form--activity .form-group.activity-pickup-group {
        height: auto !important;
        min-height: 44px;
    }

    .search-section .input-wrapper {
        height: 44px;
        align-items: center;
    }

    .search-section .form-group select,
    .search-section .form-group input {
        min-width: 0 !important;
        height: 44px !important;
        min-height: 44px !important;
    }

    .search-section .search-btn {
        width: 140px !important;
        margin-top: 0 !important;
        height: 44px !important;
        min-height: 44px !important;
        align-self: stretch;
        justify-self: end;
    }
}

@media (max-width: 991px) {
    .hero-search-section {
        padding: 80px 0 40px;
        overflow-x: clip;
    }

    .hero-search-section .container {
        padding-left: 12px;
        padding-right: 12px;
        max-width: 100%;
    }

    .hero-search-title {
        font-size: 1.85rem;
    }

    .hero-search-subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .search-section .search-container,
    .search-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 16px !important;
        box-sizing: border-box;
    }

    .search-section .search-form,
    .search-section .search-form--activity,
    .search-section .search-form--activity-v2,
    .search-section .search-form--transfer,
    .search-form--transfer,
    .search-form--activity,
    .search-form--activity-v2 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        gap: 12px !important;
    }

    .search-section .form-group {
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        flex: 1 1 100% !important;
    }

    .search-section .input-wrapper {
        height: auto;
        min-height: 44px;
    }

    .search-section .search-btn {
        width: 100% !important;
        max-width: 100% !important;
        justify-self: stretch !important;
    }

    .activity-browser {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .search-category-tabs {
        gap: 8px;
        padding: 0 4px;
    }

    .search-category-tab {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Activity tab — reference-style search + destination browser
   ========================================================================== */

@media (min-width: 992px) {
    .search-form--activity-v2 {
        grid-template-columns: minmax(200px, 1.4fr) minmax(140px, 1fr) minmax(130px, 0.9fr) minmax(130px, 0.9fr) 120px !important;
    }
}

.search-panel--activity.active .search-container {
    padding-bottom: 0;
    border-radius: 12px 12px 0 0;
}

.activity-field select,
.activity-field input[type="text"] {
    width: 100%;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 36px 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    box-sizing: border-box;
}

.activity-query-wrap {
    position: relative;
}

.activity-query-wrap input[type="text"] {
    padding-right: 40px;
}

.input-icon--right {
    left: auto !important;
    right: 12px;
}

.activity-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 50;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    max-height: 260px;
    overflow-y: auto;
}

.activity-suggestions[hidden] {
    display: none !important;
}

.activity-suggestion-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    border: 0;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
}

.activity-suggestion-item:hover,
.activity-suggestion-item:focus {
    background: linear-gradient(90deg, #f8f9ff 0%, #eef2ff 100%);
    outline: none;
}

.activity-suggestion-item small {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-top: 2px;
}

.activity-guest-dropdown {
    position: relative;
    width: 100%;
    z-index: 10010;
}

.activity-guest-dropdown.is-open {
    z-index: 10050;
}

.activity-guest-toggle {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    color: #1e293b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-sizing: border-box;
}

.activity-guest-caret {
    color: #2563eb;
    flex-shrink: 0;
}

.activity-guest-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: 280px;
    z-index: 10060;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
    padding: 0 0 8px;
}

.activity-guest-panel[hidden] {
    display: none !important;
}

.activity-guest-panel-head {
    padding: 14px 16px 10px;
    font-size: 15px;
    font-weight: 700;
    color: #1e3a5f;
    border-bottom: 1px solid #f1f5f9;
}

.activity-guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.activity-guest-row strong {
    display: block;
    font-size: 14px;
    color: #1e3a5f;
    font-weight: 700;
}

.activity-guest-sub {
    display: block;
    font-size: 12px;
    color: #dc2626;
    margin-top: 2px;
}

.activity-guest-counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.activity-counter-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    font-size: 18px;
    line-height: 1;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-counter-btn:hover {
    background: #f8fafc;
}

.activity-browser {
    border-top: 1px solid #e5e7eb;
    margin: 0 -20px -20px;
    padding: 0;
    background: #fff;
    border-radius: 0 0 12px 12px;
}

.search-panel--activity:not(.active) .activity-browser {
    display: none;
}

.activity-browser-layout {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    position: relative;
    overflow: hidden;
}

.activity-sidebar {
    background: #f3f4f6;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* Desktop: destinations + sidebar reveal on hover */
@media (min-width: 992px) and (hover: hover) {
    #activitySearchPanel .activity-browser {
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        border-top-color: transparent;
        margin-top: 0;
        transition: max-height 0.35s ease, opacity 0.28s ease, visibility 0.28s, border-color 0.28s ease;
    }

    #activitySearchPanel.is-dest-browser-open .activity-browser {
        max-height: 240px;
        opacity: 1;
        visibility: visible;
        border-top-color: #e5e7eb;
    }

    #activitySearchPanel .activity-browser-layout {
        min-height: 0;
    }

    #activitySearchPanel.is-dest-browser-open .activity-browser-layout {
        min-height: 0;
    }

    #activitySearchPanel .activity-dest-grid {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.28s ease, transform 0.28s ease, padding-left 0.28s ease;
    }

    #activitySearchPanel.is-dest-browser-open .activity-dest-grid {
        opacity: 1;
        transform: translateY(0);
    }

    .activity-sidebar {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 220px;
        z-index: 6;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
        box-shadow: 8px 0 24px rgba(15, 23, 42, 0.12);
    }

    .activity-browser-layout:hover .activity-sidebar,
    .activity-sidebar:focus-within {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .activity-browser-layout::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 6px;
        z-index: 5;
        background: linear-gradient(90deg, rgba(30, 58, 95, 0.18) 0%, transparent 100%);
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .activity-browser-layout:hover::before {
        opacity: 0;
    }

    .activity-browser-layout:hover .activity-dest-grid {
        padding-left: 236px;
    }

}

/* Desktop without hover (touch laptops): keep browser visible */
@media (min-width: 992px) and (hover: none) {
    .activity-browser-layout {
        grid-template-columns: 220px 1fr;
    }
}

.activity-sidebar-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease, color 0.2s ease;
}

.activity-sidebar-item:hover {
    background: #e5e7eb;
}

.activity-sidebar-item.active {
    background: #1e3a5f;
    color: #fff;
    font-weight: 600;
}

.activity-sidebar-item.active::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;
}

.activity-dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 108px));
    gap: 10px;
    padding: 12px 16px;
    align-content: start;
    justify-content: start;
}

.activity-dest-card {
    position: relative;
    display: block;
    width: 100%;
    max-width: 108px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    max-height: 81px;
    text-decoration: none;
    text-align: left;
    font: inherit;
    cursor: pointer;
    background: transparent;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.activity-dest-card:hover,
.activity-dest-card.is-preview {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.activity-dest-card.is-preview {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

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

.activity-dest-card__name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 4px 5px;
    text-align: center;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.activity-dest-card.is-hidden {
    display: none !important;
}

.activity-dest-empty {
    grid-column: 1 / -1;
    padding: 48px 20px;
    text-align: center;
    color: #64748b;
    font-size: 15px;
}

@media (max-width: 1199px) {
    .activity-dest-grid {
        grid-template-columns: repeat(auto-fill, minmax(92px, 104px));
    }
}

@media (max-width: 991px) {
    .activity-browser-layout {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .activity-sidebar {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        width: auto;
        flex-direction: row;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: none;
    }

    .activity-sidebar-item {
        white-space: nowrap;
        border-bottom: 0;
        border-right: 1px solid #e5e7eb;
        min-width: max-content;
    }

    .activity-sidebar-item.active::after {
        display: none;
    }

    .activity-dest-grid {
        grid-template-columns: repeat(auto-fill, minmax(88px, 100px));
        justify-content: start;
    }
}

@media (max-width: 575px) {
    .activity-dest-grid {
        grid-template-columns: repeat(auto-fill, minmax(84px, 96px));
        gap: 8px;
        padding: 10px 12px;
    }

    .activity-dest-card {
        max-width: 96px;
        max-height: 72px;
    }

    .hero-search-title {
        font-size: 1.5rem;
    }
}