/* ==========================================================================
   EscortsPanda.com - Modern Homepage Stylesheet
   Strictly scoped under .ep-homepage to prevent any conflict with /listings/
   ========================================================================== */

:root {
    --ep-pink: #FF0055;
    --ep-pink-hover: #E0004C;
    --ep-pink-light: #FFF0F5;
    --ep-pink-subtle: #FFF5F7;
    --ep-pink-border: #FFD6E5;
    --ep-dark: #111827;
    --ep-gray-text: #6B7280;
    --ep-gray-light: #F9FAFB;
    --ep-gray-border: #E5E7EB;
    --ep-radius: 16px;
    --ep-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --ep-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.06);
    --ep-shadow-lg: 0 12px 32px rgba(255, 0, 85, 0.12);
}

.ep-homepage {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--ep-dark);
    background: #ffffff;
    overflow-x: hidden;
    width: 100%;
}

.ep-homepage *,
.ep-homepage *::before,
.ep-homepage *::after {
    box-sizing: border-box;
}

/* Reusable Container */
.ep-homepage .ep-container {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    position: relative;
}

/* Common Section Headers */
.ep-homepage .ep-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 14px;
}

.ep-homepage .ep-section-header-left h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--ep-dark);
    margin: 0 0 3px 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.ep-homepage .ep-section-header-left p {
    font-size: 13px;
    color: var(--ep-gray-text);
    margin: 0;
    line-height: 1.35;
}

.ep-homepage .ep-section-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ep-pink);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ep-homepage .ep-section-view-all:hover {
    color: var(--ep-pink-hover);
    transform: translateX(3px);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.ep-homepage .ep-hero-section {
    position: relative;
    background: linear-gradient(180deg, #FFF1F5 0%, #FFFFFF 100%);
    padding: 30px 0 14px 0;
    overflow: hidden;
}

.ep-homepage .ep-hero-bg-map {
    position: absolute;
    top: 48%;
    right: 0;
    transform: translateY(-50%);
    width: 68%;
    max-width: 980px;
    height: 100%;
    min-height: 340px;
    background: url('../images/world-map-network.png?v=2') right center no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 12%, #000000 30%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 12%, #000000 30%);
    opacity: 0.95;
}

.ep-homepage .ep-hero-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: center;
    position: relative;
    min-height: auto;
    z-index: 2;
}

.ep-homepage .ep-hero-content {
    max-width: 780px;
    position: relative;
    z-index: 3;
}

.ep-homepage .ep-hero-text-group {
    margin-top: 0;
    margin-bottom: 14px;
    text-align: left;
}

.ep-homepage .ep-hero-title {
    font-size: 46px;
    font-weight: 900;
    color: var(--ep-dark);
    margin: 0 0 12px 0;
    line-height: 1.12;
    letter-spacing: -1px;
}

.ep-homepage .ep-hero-title .ep-pink-text {
    color: var(--ep-pink);
    display: block;
}

.ep-homepage .ep-hero-subtitle {
    font-size: 15px;
    color: #4B5563;
    line-height: 1.5;
    margin: 0;
    max-width: 540px;
}

/* Hero Search Floating Bar */
.ep-homepage .ep-search-bar {
    background: #ffffff;
    border-radius: 36px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
    border: 1px solid #F1F3F5;
    padding: 4px 4px 4px 18px;
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 780px;
    position: relative;
    z-index: 3;
}

.ep-homepage .ep-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 4px;
    position: relative;
}

.ep-homepage .ep-search-field:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #E5E7EB;
}

.ep-homepage .ep-search-icon {
    font-size: 14px;
    color: var(--ep-pink);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
}

.ep-homepage .ep-search-select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: #1F2937;
    outline: none;
    cursor: pointer;
    padding: 5px 0;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236B7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 15px;
    padding-right: 16px;
}

.ep-homepage .ep-search-select:disabled {
    color: #9CA3AF;
    cursor: not-allowed;
    opacity: 0.7;
}

.ep-homepage .ep-btn-search {
    background: var(--ep-pink);
    color: #ffffff;
    border: none;
    border-radius: 28px;
    padding: 10px 22px;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(255, 0, 85, 0.35);
    transition: all 0.2s ease;
    text-decoration: none;
}

.ep-homepage .ep-btn-search:hover {
    background: var(--ep-pink-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 0, 85, 0.45);
    color: #ffffff;
}

/* Floating Badge "Verified Providers Across the World" */
.ep-homepage .ep-hero-floating-badge {
    position: absolute;
    right: 320px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border-radius: 40px;
    padding: 8px 18px 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(255, 0, 85, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #FFE4E9;
    z-index: 3;
    pointer-events: none;
    animation: epFloat 4s ease-in-out infinite;
}

.ep-homepage .ep-badge-shield {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFE4E9;
    color: var(--ep-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.ep-homepage .ep-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.ep-homepage .ep-badge-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--ep-dark);
    white-space: nowrap;
}

.ep-homepage .ep-badge-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--ep-gray-text);
    white-space: nowrap;
}

@keyframes epFloat {
    0%, 100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(-58%);
    }
}

/* Trust Badges Card on Right */
.ep-homepage .ep-hero-trust-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #FFE4E9;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 270px;
    margin-left: auto;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.ep-homepage .ep-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ep-homepage .ep-trust-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFF0F3;
    color: var(--ep-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.ep-homepage .ep-trust-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #1F2937;
    line-height: 1.2;
}

/* ==========================================================================
   2. POPULAR CATEGORIES SECTION
   ========================================================================== */
.ep-homepage .ep-categories-section {
    padding: 8px 0 12px 0;
    background: #ffffff;
}

.ep-homepage .ep-categories-grid {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 14px;
}

.ep-homepage .ep-category-card {
    background: #ffffff;
    border: 1px solid #EEF0F3;
    border-radius: 14px;
    padding: 12px 6px 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 84px;
}

.ep-homepage .ep-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 85, 0.12);
    border-color: #FECDD3;
}

.ep-homepage .ep-category-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFF1F5;
    color: var(--ep-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ep-homepage .ep-category-card:hover .ep-category-icon-wrap {
    background: var(--ep-pink);
    color: #ffffff;
    transform: scale(1.04);
}

.ep-homepage .ep-category-name {
    font-size: 11.5px;
    font-weight: 700;
    color: #1F2937;
    text-align: center;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    padding: 0 2px;
}

/* ==========================================================================
   3. FEATURED LISTINGS SECTION
   ========================================================================== */
.ep-homepage .ep-featured-section {
    padding: 10px 0 20px 0;
    background: #ffffff;
}

.ep-homepage .ep-carousel-wrapper {
    position: relative;
    width: 100%;
}

.ep-homepage .ep-carousel-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    padding: 6px 2px 14px 2px;
    scroll-snap-type: x proximity;
}

.ep-homepage .ep-carousel-container::-webkit-scrollbar {
    display: none;
}

.ep-homepage .ep-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    width: max-content;
}

.ep-homepage .ep-carousel-track > .ep-listing-card {
    flex: 0 0 233.6px;
    width: 233.6px;
    min-width: 0;
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

/* Listing Card (matching mockup) */
.ep-homepage .ep-listing-card {
    background: #ffffff;
    border: 1px solid #EEF0F3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.ep-homepage .ep-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #E2E8F0;
}

.ep-homepage .ep-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #EAEDF0;
    overflow: hidden;
}

.ep-homepage .ep-card-media a {
    display: block;
    width: 100%;
    height: 100%;
}

.ep-homepage .ep-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ep-homepage .ep-listing-card:hover .ep-card-img {
    transform: scale(1.03);
}

/* Neutral Map Placeholder for listings */
.ep-homepage .ep-card-media.is-placeholder {
    background: url('../images/map-placeholder.svg') center center no-repeat;
    background-size: cover;
}

/* Badges on Image */
.ep-homepage .ep-card-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.ep-homepage .ep-card-badge.ep-badge-featured {
    background: #FEF3C7;
    color: #B45309;
}

.ep-homepage .ep-card-badge.ep-badge-verified {
    background: #0284C7;
    color: #ffffff;
}

/* Favorite Heart Button */
.ep-homepage .ep-card-favorite {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ep-pink);
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    z-index: 3;
    transition: transform 0.2s ease;
}

.ep-homepage .ep-card-favorite:hover {
    transform: scale(1.15);
}

/* Card Body */
.ep-homepage .ep-card-body {
    padding: 12px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ep-homepage .ep-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ep-homepage .ep-card-title a {
    color: inherit;
    text-decoration: none;
}

.ep-homepage .ep-card-title a:hover {
    color: var(--ep-pink);
}

.ep-homepage .ep-card-location {
    font-size: 12px;
    color: var(--ep-gray-text);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ep-homepage .ep-card-location i {
    font-size: 11px;
    color: #9CA3AF;
}

.ep-homepage .ep-btn-view-profile {
    margin-top: auto;
    border: 1.5px solid var(--ep-pink);
    color: var(--ep-pink);
    background: transparent;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.ep-homepage .ep-btn-view-profile:hover {
    background: var(--ep-pink);
    color: #ffffff;
}

/* Carousel Prev / Next Arrows */
.ep-homepage .ep-carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #EEF0F3;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    color: #1F2937;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.ep-homepage .ep-carousel-nav-btn:hover {
    background: var(--ep-pink);
    color: #ffffff;
    border-color: var(--ep-pink);
    box-shadow: 0 6px 18px rgba(255, 0, 85, 0.25);
    transform: translateY(-50%) scale(1.06);
}

.ep-homepage .ep-carousel-nav-btn:active {
    transform: translateY(-50%) scale(0.96);
}

.ep-homepage .ep-carousel-nav-btn.ep-btn-prev {
    left: -19px;
}

.ep-homepage .ep-carousel-nav-btn.ep-btn-next {
    right: -19px;
}

/* ==========================================================================
   4. POPULAR DESTINATIONS SECTION
   ========================================================================== */
.ep-homepage .ep-destinations-section {
    padding: 28px 0 24px 0;
    background: #ffffff;
}

.ep-homepage .ep-destinations-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.ep-homepage .ep-destination-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    padding: 16px 14px;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    border: 1px solid #EEF0F3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.ep-homepage .ep-destination-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #CBD5E1;
}

/* Individual Skyline Backgrounds */
.ep-homepage .ep-destination-card.ep-dest-tirana {
    background-image: url('../images/skyline-tirana.svg');
}
.ep-homepage .ep-destination-card.ep-dest-london {
    background-image: url('../images/skyline-london.svg');
}
.ep-homepage .ep-destination-card.ep-dest-paris {
    background-image: url('../images/skyline-paris.svg');
}
.ep-homepage .ep-destination-card.ep-dest-newyork {
    background-image: url('../images/skyline-newyork.svg');
}
.ep-homepage .ep-destination-card.ep-dest-dubai {
    background-image: url('../images/skyline-dubai.svg');
}
.ep-homepage .ep-destination-card.ep-dest-bangkok {
    background-image: url('../images/skyline-bangkok.svg');
}

.ep-homepage .ep-destination-info {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    overflow: hidden;
}

.ep-homepage .ep-dest-pin-icon {
    font-size: 15px;
    color: #1E293B;
    flex-shrink: 0;
}

.ep-homepage .ep-dest-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ep-homepage .ep-dest-name {
    font-size: 14.5px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ep-homepage .ep-dest-count {
    font-size: 11.5px;
    color: #64748B;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 2px;
}

.ep-homepage .ep-dest-arrow-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E293B;
    font-size: 12px;
    flex-shrink: 0;
    z-index: 2;
    transition: all 0.2s ease;
}

.ep-homepage .ep-destination-card:hover .ep-dest-arrow-btn {
    background: var(--ep-pink);
    color: #ffffff;
    transform: translateX(2px);
}

/* ==========================================================================
   5. "JOIN AS A PROVIDER" CTA BANNER
   ========================================================================== */
.ep-homepage .ep-cta-section {
    padding: 16px 0 46px 0;
    background: #ffffff;
}

.ep-homepage .ep-cta-banner {
    background: linear-gradient(135deg, #FFF1F5 0%, #FFE4E9 55%, #FFD6DF 100%);
    border: 1px solid #FECDD3;
    border-radius: 20px;
    padding: 26px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(255, 0, 85, 0.06);
}

.ep-homepage .ep-cta-bg-graphic {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 140px;
    height: 100px;
    background: url('../images/growth-chart.svg') right center no-repeat;
    background-size: contain;
    pointer-events: none;
    opacity: 0.85;
}

.ep-homepage .ep-cta-left {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 2;
}

.ep-homepage .ep-cta-shield-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ep-pink);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(255, 0, 85, 0.35);
}

.ep-homepage .ep-cta-text h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--ep-pink);
    margin: 0 0 3px 0;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.ep-homepage .ep-cta-text p {
    font-size: 13.5px;
    color: #4B5563;
    margin: 0;
    line-height: 1.3;
}

.ep-homepage .ep-btn-cta-add {
    background: var(--ep-pink);
    color: #ffffff;
    border-radius: 30px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(255, 0, 85, 0.35);
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.ep-homepage .ep-btn-cta-add:hover {
    background: var(--ep-pink-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(255, 0, 85, 0.45);
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Wide Desktop (>=1600px) */
@media (min-width: 1600px) {
    .ep-homepage .ep-container {
        max-width: 1440px;
    }
}

/* Desktop & Laptop (1200px - 1440px) */
@media (max-width: 1366px) {
    .ep-homepage .ep-hero-title {
        font-size: 42px;
    }
    .ep-homepage .ep-hero-grid {
        grid-template-columns: 1fr 280px;
        gap: 30px;
    }
}

/* Small Laptop / Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    .ep-homepage .ep-hero-text-group {
        margin-top: -20px;
        margin-bottom: 26px;
    }
    .ep-homepage .ep-hero-title {
        font-size: 38px;
    }
    .ep-homepage .ep-hero-grid {
        grid-template-columns: 1fr;
    }
    .ep-homepage .ep-hero-trust-card {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        width: 100%;
        margin-left: 0;
        margin-top: 15px;
    }
    .ep-homepage .ep-hero-bg-map {
        width: 75%;
        opacity: 0.85;
    }
    .ep-homepage .ep-hero-floating-badge {
        display: none;
    }
    .ep-homepage .ep-categories-grid {
        gap: 10px;
    }
    .ep-homepage .ep-category-card {
        padding: 10px 4px 8px 4px;
        min-height: 80px;
    }
    .ep-homepage .ep-category-icon-wrap {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
    .ep-homepage .ep-category-name {
        font-size: 11px;
    }
    .ep-homepage .ep-carousel-track > .ep-listing-card {
        flex: 0 0 240px;
        width: 240px;
    }
    .ep-homepage .ep-destinations-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    .ep-homepage .ep-hero-floating-badge {
        display: none;
    }
    .ep-homepage .ep-hero-section {
        padding: 30px 0 24px 0;
    }
    .ep-homepage .ep-hero-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        min-height: auto;
    }
    .ep-homepage .ep-hero-content {
        width: 100%;
        max-width: 100%;
    }
    .ep-homepage .ep-hero-text-group {
        margin-top: 0;
        margin-bottom: 22px;
    }
    .ep-homepage .ep-hero-bg-map {
        width: 100%;
        max-width: 600px;
        opacity: 0.55;
        top: 38%;
        right: 0;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .ep-homepage .ep-hero-trust-card {
        width: 100%;
        margin-top: 5px;
    }
    .ep-homepage .ep-hero-title {
        font-size: 32px;
    }
    .ep-homepage .ep-hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .ep-homepage .ep-search-bar {
        border-radius: 20px;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 8px;
    }
    .ep-homepage .ep-search-field {
        padding: 8px 10px;
        border-bottom: 1px solid #F1F3F5;
    }
    .ep-homepage .ep-search-field:not(:last-child)::after {
        display: none;
    }
    .ep-homepage .ep-btn-search {
        width: 100%;
        justify-content: center;
        padding: 12px;
        border-radius: 14px;
    }
    .ep-homepage .ep-hero-trust-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .ep-homepage .ep-categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .ep-homepage .ep-carousel-track {
        gap: 14px;
    }
    .ep-homepage .ep-carousel-track > .ep-listing-card {
        flex: 0 0 calc((100% - 28px) / 3);
        width: calc((100% - 28px) / 3);
        min-width: 0;
    }
    .ep-homepage .ep-carousel-nav-btn.ep-btn-prev {
        left: -10px;
    }
    .ep-homepage .ep-carousel-nav-btn.ep-btn-next {
        right: -10px;
    }
    .ep-homepage .ep-destinations-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .ep-homepage .ep-cta-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 22px;
    }
    .ep-homepage .ep-cta-bg-graphic {
        display: none;
    }
    .ep-homepage .ep-btn-cta-add {
        width: 100%;
        justify-content: center;
    }
}

/* Tablet / Mobile Controls (<= 768px) */
@media (max-width: 768px) {
    .ep-homepage .ep-carousel-nav-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    .ep-homepage .ep-carousel-nav-btn.ep-btn-prev {
        left: 2px;
    }
    .ep-homepage .ep-carousel-nav-btn.ep-btn-next {
        right: 2px;
    }
}

/* Mobile Devices (<= 480px / 390px / 375px) */
@media (max-width: 480px) {
    .ep-homepage .ep-container {
        padding: 0 16px;
    }
    .ep-homepage .ep-hero-text-group {
        margin-top: 0;
        margin-bottom: 18px;
    }
    .ep-homepage .ep-hero-title {
        font-size: 26px;
        letter-spacing: -0.5px;
    }
    .ep-homepage .ep-hero-subtitle {
        font-size: 13px;
    }
    .ep-homepage .ep-hero-bg-map {
        width: 100%;
        max-width: 440px;
        opacity: 0.45;
        top: 30%;
        right: 0;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .ep-homepage .ep-hero-trust-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .ep-homepage .ep-categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .ep-homepage .ep-category-card {
        padding: 10px 4px 8px 4px;
        min-height: 78px;
    }
    .ep-homepage .ep-category-icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    .ep-homepage .ep-category-name {
        font-size: 10.5px;
    }
    .ep-homepage .ep-carousel-track {
        gap: 12px;
    }
    .ep-homepage .ep-carousel-track > .ep-listing-card {
        flex: 0 0 calc(100vw - 46px);
        width: calc(100vw - 46px);
        min-width: 0;
    }
    .ep-homepage .ep-destinations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .ep-homepage .ep-destination-card {
        padding: 12px 10px;
        min-height: 72px;
    }
    .ep-homepage .ep-dest-name {
        font-size: 13px;
    }
    .ep-homepage .ep-dest-count {
        font-size: 10.5px;
    }
    .ep-homepage .ep-dest-arrow-btn {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }
    .ep-homepage .ep-cta-text h3 {
        font-size: 17px;
    }
    .ep-homepage .ep-cta-text p {
        font-size: 12px;
    }
}

/* Header Add Listing Button matching mockup (Desktop only) */
@media (min-width: 992px) {
    #header .button.border.with-icon,
    .user_not_logged_in #header .button.border.with-icon {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        border: 1.5px solid var(--ep-pink) !important;
        color: var(--ep-pink) !important;
        background: transparent !important;
        border-radius: 30px !important;
        padding: 7px 18px !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        box-shadow: none !important;
        transition: all 0.2s ease;
    }

    #header .button.border.with-icon:hover,
    .user_not_logged_in #header .button.border.with-icon:hover {
        background: var(--ep-pink) !important;
        color: #ffffff !important;
    }
}

@media (max-width: 991px) {
    #header .button.border.with-icon,
    .user_not_logged_in #header .button.border.with-icon {
        display: none !important;
    }
}
