:root {
    --brand-primary: #004a8f;
    --brand-dark: #003366;
    --brand-accent: #fdb714;
    --brand-text: #2d3436;
    --brand-text-muted: #636e72;
    --brand-bg: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --premium-shadow: 0 10px 40px rgba(0, 74, 143, 0.08);
    --border-radius: 16px;
}

.voyages-custom-wrapper {
    background-color: var(--brand-bg);
    padding-bottom: 80px;
    font-family: 'Inter', sans-serif;
}

/* Breadcrumb */
.custom-breadcrumb {
    background: linear-gradient(rgba(0, 51, 102, 0.65), rgba(0, 51, 102, 0.85)), url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 0 100px;
    color: #fff;
}

.custom-breadcrumb h1 {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.custom-breadcrumb .breadcrumb-nav {
    text-align: center;
}

/* Search Bar Container */
.search-bar-container {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--premium-shadow);
    margin-top: -50px;
    margin-bottom: 30px;
    z-index: 100;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.search-grid .form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-text);
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(0, 74, 143, 0.1);
    outline: none;
}

.search-grid .btn-search-custom {
    flex: 0 0 200px;
    height: 52px;
    background: var(--brand-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    transition: all 0.3s;
    cursor: pointer;
}

.search-grid .btn-search-custom:hover {
    background: var(--brand-accent);
    color: var(--brand-dark);
}

/* Main Layout Grid */
.voyages-section .container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar Styling */
.sidebar-sticky {
    position: sticky;
    top: 110px;
}

.sidebar-card {
    background: #fff;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.sidebar-heading {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--brand-dark);
    border-bottom: 3px solid var(--brand-accent);
    padding-bottom: 12px;
    display: block;
}

.filter-group {
    margin-bottom: 35px;
}

.filter-group h6 {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Premium Card Design */
.results-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.voyage-card-container {
    width: 100%;
}

.custom-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: box-shadow 0.3s ease;
    display: flex;
    /* List mode by default */
    height: 280px;
}

.custom-card:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.card-img-wrapper {
    width: 350px;
    min-width: 350px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-card:hover .card-img-wrapper img {
    /* zoom effect removed */
}

.price-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fdb714;
    color: #000;
    padding: 6px 14px;
    font-weight: 700;
    border-radius: 6px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 14px;
}

.favorite-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #636e72;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.favorite-btn:hover {
    background: #fff;
}

.favorite-btn.active {
    color: #ff385c;
}

.card-body-custom {
    padding: 25px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-meta-top {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.card-meta-top span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-meta-top i {
    color: var(--brand-primary);
    font-size: 14px;
}

.card-title-custom {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
    display: block;
    line-height: 1.3;
}

.card-title-custom:hover {
    color: var(--brand-primary);
}

.card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.stars-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars-rating i {
    color: #fdb714;
    font-size: 16px;
}

.rating-text {
    font-size: 14px;
    color: #666;
}

.card-price-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.price-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b35;
}

.price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.btn-view-details {
    background: #ff6b35;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s;
    white-space: nowrap;
}

.btn-view-details:hover {
    background: #e55a28;
    color: #fff;
}

/* Grid Mode Specifics */
.results-container.grid-mode {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.grid-mode .custom-card {
    flex-direction: column;
    height: auto;
}

.grid-mode .card-img-wrapper {
    width: 100%;
    min-width: 100%;
    height: 240px;
}

/* Responsive Overrides */
@media (max-width: 1100px) {
    .voyages-section .container {
        grid-template-columns: 1fr;
    }

    .sidebar-sticky {
        position: static;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .custom-card {
        flex-direction: column;
        height: auto;
    }

    .card-img-wrapper {
        width: 100%;
        min-width: 100%;
        height: 220px;
    }

    .card-body-custom {
        padding: 25px;
    }

    .card-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .search-grid {
        grid-template-columns: 1fr;
    }

    .custom-breadcrumb h1 {
        font-size: 32px;
    }

    .card-body-custom {
        padding: 25px;
    }
}
/* AIRBNB STYLE BOOKING CARD */
.booking-card-airbnb {
    background: #fff;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 12px;
    padding: 24px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 16px;
    margin-bottom: 24px;
}

.booking-tabs {
    display: flex;
    background: #f7f7f7;
    border-radius: 100px;
    padding: 4px;
    margin-bottom: 24px;
    border: 1px solid #ddd;
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    color: #484848;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn.active {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: #000;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.card-price-header-airbnb {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
}

.price-amount-large {
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.price-period {
    font-size: 16px;
    color: #222;
}

.rating-mini {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.rating-mini i { color: #222; font-size: 12px; }
.review-count { color: #717171; font-weight: 400; text-decoration: underline; margin-left: 2px; }

/* INPUT GRID */
.booking-inputs-grid {
    border: 1px solid #b0b0b0;
    border-radius: 8px;
    margin-bottom: 16px;
}

.date-row {
    display: flex;
    border-bottom: 1px solid #b0b0b0;
}

.date-input-group {
    flex: 1;
    padding: 10px 12px;
    position: relative;
}

.date-input-group.border-right {
    border-right: 1px solid #b0b0b0;
}

.date-input-group label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: #222;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.date-input-group input {
    width: 100%;
    border: none;
    padding: 0;
    font-size: 14px;
    color: #222;
    background: transparent;
    outline: none;
    height: auto;
}

.guest-row-input {
    padding: 10px 12px;
    position: relative;
    cursor: pointer;
}

.guest-row-input label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: #222;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.guest-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #222;
}

/* BUTTON */
.btn-book-airbnb {
    width: 100%;
    background: linear-gradient(to right, #E61E4D 0%, #E31C5F 50%, #D70466 100%);
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.1s;
}

.btn-book-airbnb:active { transform: scale(0.98); }

.price-breakdown-airbnb {
    margin-top: 24px;
    font-size: 16px;
    color: #222;
}

.line-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.line-item span:first-child { text-decoration: underline; color: #5e5e5e; }

.line-total {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #ddd;
    font-weight: 800;
    font-size: 18px;
}

/* Guest Dropdown */
.guest-dropdown-airbnb {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 16px;
    z-index: 100;
    margin-top: 4px;
}

.guest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.guest-item:last-child { margin-bottom: 0; }

.guest-item h6 { margin: 0; font-size: 16px; font-weight: 600; color: #222; }
.guest-item p { margin: 0; font-size: 12px; color: #717171; }

.controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.controls button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #b0b0b0;
    background: white;
    color: #717171;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.controls button:hover { border-color: #222; color: #222; }
.controls span { font-size: 16px; width: 20px; text-align: center; }

.close-row {
    text-align: right;
    margin-top: 10px;
}

.btn-text {
    background: none;
    border: none;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
    color: #222;
}


.btn-book-card { display: inline-block; background: #004a8f; color: #fff; padding: 8px 16px; border-radius: 50px; font-weight: 600; font-size: 13px; text-decoration: none; transition: all 0.2s ease; } .btn-book-card:hover { background: #003366; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); color: #fff; }

.btn-whatsapp-full { display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px 20px; background-color: #25D366; color: white; font-weight: 600; border-radius: 8px; text-decoration: none; transition: background-color 0.2s; gap: 10px; font-size: 16px; } .btn-whatsapp-full:hover { background-color: #128C7E; color: white; }
