/* =========================================
   Himalayan Mart Elementor Widgets Styles
   22 Widget Styles - 5 Skins Each
   ========================================= */

/* =========================================
   CSS Variables
   ========================================= */
:root {
    --hmea-primary: #2563eb;
    --hmea-primary-dark: #1d4ed8;
    --hmea-secondary: #10b981;
    --hmea-dark: #111827;
    --hmea-gray: #6b7280;
    --hmea-light: #f3f4f6;
    --hmea-white: #ffffff;
    --hmea-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --hmea-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --hmea-radius: 12px;
    --hmea-radius-sm: 8px;
    --hmea-transition: 0.3s ease;
}

/* Fix External SVG Sizing */
.hmea-service-box .hmea-icon svg,
.hmea-icon-box .hmea-icon svg,
.hmea-info-box .hmea-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* =========================================
   Glowing Border Effect
   ========================================= */
.hmea-glow-border {
    --glow-color: #3b82f6;
    --glow-spread: 10px;
    position: relative;
    z-index: 1;
}

/* Outer glow - spreads outside the border */
.hmea-glow-border::before {
    content: '';
    position: absolute;
    inset: calc(var(--glow-spread) * -1);
    border-radius: inherit;
    border: var(--glow-spread) solid var(--glow-color);
    filter: blur(var(--glow-spread));
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Inner glow - spreads inside the border */
.hmea-glow-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 var(--glow-spread) var(--glow-color);
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Always active glow */
.hmea-glow-border--always::before,
.hmea-glow-border--always::after {
    opacity: 1;
}

/* Hover/Tap trigger glow */
.hmea-glow-border--hover:hover::before,
.hmea-glow-border--hover:hover::after,
.hmea-glow-border--hover.glow-active::before,
.hmea-glow-border--hover.glow-active::after {
    opacity: 1;
}

/* Touch device support */
@media (hover: none) and (pointer: coarse) {

    .hmea-glow-border--hover.glow-active::before,
    .hmea-glow-border--hover.glow-active::after {
        opacity: 1;
    }
}

/* =========================================
   1. Hero Section - Carousel with Search
   ========================================= */
.hmea-hero-section {
    position: relative;
}

.hmea-hero-carousel {
    position: relative;
}

.hmea-hero-slide {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hmea-hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hmea-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hmea-hero-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--hmea-white);
    padding: 60px 0 120px;
}

.hmea-hero-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, var(--hmea-primary) 0%, var(--hmea-secondary) 100%);
    color: var(--hmea-white);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hmea-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hmea-hero-description {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 600px;
}

.hmea-hero-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--hmea-primary);
    color: var(--hmea-white);
    text-decoration: none;
    border-radius: var(--hmea-radius-sm);
    font-weight: 600;
    font-size: 16px;
    transition: all var(--hmea-transition);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.hmea-hero-btn:hover {
    background: var(--hmea-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

/* Hero Carousel Navigation */
.hmea-hero-carousel .swiper-button-prev,
.hmea-hero-carousel .swiper-button-next {
    color: var(--hmea-white);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    transition: all var(--hmea-transition);
}

.hmea-hero-carousel .swiper-button-prev:hover,
.hmea-hero-carousel .swiper-button-next:hover {
    background: var(--hmea-primary);
}

.hmea-hero-carousel .swiper-button-prev::after,
.hmea-hero-carousel .swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}

.hmea-hero-pagination {
    bottom: 140px !important;
}

.hmea-hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.hmea-hero-pagination .swiper-pagination-bullet-active {
    background: var(--hmea-white);
    width: 30px;
    border-radius: 6px;
}

/* Hero Search Form */
.hmea-hero-search {
    background: var(--hmea-white);
    border-radius: var(--hmea-radius);
    box-shadow: var(--hmea-shadow-lg);
    padding: 25px 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.hmea-search--bottom {
    position: relative;
    margin-top: -80px;
    z-index: 10;
    margin-left: 20px;
    margin-right: 20px;
}

.hmea-search--overlay {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    z-index: 10;
}

.hmea-hero-search-form {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    flex-wrap: wrap;
}

.hmea-search-field {
    flex: 1;
    min-width: 150px;
}

.hmea-search-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--hmea-gray);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hmea-search-field label i {
    color: var(--hmea-primary);
    margin-right: 6px;
}

.hmea-search-field input,
.hmea-search-field select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--hmea-light);
    border-radius: var(--hmea-radius-sm);
    font-size: 15px;
    transition: border-color var(--hmea-transition);
    background: var(--hmea-white);
}

.hmea-search-field input:focus,
.hmea-search-field select:focus {
    outline: none;
    border-color: var(--hmea-primary);
}

.hmea-search-submit {
    flex: 0 0 auto;
}

.hmea-hero-search-form .hmea-search-btn {
    padding: 16px 35px;
    background: var(--hmea-primary);
    color: var(--hmea-white);
    border: none;
    border-radius: var(--hmea-radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--hmea-transition);
    white-space: nowrap;
}

.hmea-hero-search-form .hmea-search-btn:hover {
    background: var(--hmea-primary-dark);
    transform: translateY(-2px);
}

.hmea-hero-search-form .hmea-search-btn i {
    margin-right: 8px;
}

/* Mobile Responsive Hero Form */
@media (max-width: 767px) {
    .hmea-search--overlay {
        width: 100%;
        left: 0;
        transform: none;
        bottom: 0;
        max-height: 50%;
        /* limit height to 50% of parent */
        overflow-y: auto;
        /* scroll if content exceeds 50% */
        z-index: 20;
    }

    .hmea-hero-search {
        border-radius: 16px 16px 0 0;
        /* Rounded top corners only */
        padding: 20px;
        margin: 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }

    .hmea-hero-search-form {
        gap: 12px;
    }

    .hmea-search-field {
        flex: 1 1 100%;
        width: 100%;
        min-width: 100%;
    }

    /* Ensure content is visible above the form if possible, or just let form standard behavior apply */
}

/* Hero Section Skins */
.hmea-hero-section--classic .hmea-hero-slide::before {
    background: rgba(0, 0, 0, 0.4);
}

.hmea-hero-section--modern .hmea-hero-slide::before {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(16, 185, 129, 0.6) 100%);
}

.hmea-hero-section--modern .hmea-hero-subtitle {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hmea-hero-section--minimal .hmea-hero-slide::before {
    background: rgba(0, 0, 0, 0.6);
}

.hmea-hero-section--minimal .hmea-hero-subtitle {
    background: transparent;
    border: 2px solid var(--hmea-white);
    padding: 8px 20px;
}

.hmea-hero-section--minimal .hmea-hero-btn {
    background: transparent;
    border: 2px solid var(--hmea-white);
    box-shadow: none;
}

.hmea-hero-section--minimal .hmea-hero-btn:hover {
    background: var(--hmea-white);
    color: var(--hmea-dark);
}

.hmea-hero-section--gradient .hmea-hero-slide::before {
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.9) 100%);
}

.hmea-hero-section--gradient .hmea-hero-content {
    text-align: center;
}

.hmea-hero-section--gradient .hmea-hero-btn {
    background: var(--hmea-white);
    color: var(--hmea-primary);
}

.hmea-hero-section--gradient .hmea-hero-btn:hover {
    background: var(--hmea-dark);
    color: var(--hmea-white);
}

.hmea-hero-section--glass .hmea-hero-slide::before {
    background: rgba(0, 0, 0, 0.3);
}

.hmea-hero-section--glass .hmea-hero-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--hmea-radius);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hmea-hero-section--glass .hmea-hero-subtitle {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hmea-hero-section--glass .hmea-hero-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hmea-hero-section--glass .hmea-hero-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}


/* =========================================
   2. Title Section
   ========================================= */
.hmea-title-section {
    position: relative;
}

.hmea-title-content {
    position: relative;
}

/* Alignment Wrappers */
.hmea-title-tag-wrap {
    display: flex;
    justify-content: center;
}

.hmea-title-divider-wrap {
    display: flex;
    justify-content: center;
}

/* Tag/Label Base Styles */
.hmea-title-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.hmea-title-tag i,
.hmea-title-tag svg {
    line-height: 1;
}

/* Title Base Styles */
.hmea-title-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hmea-dark);
    line-height: 1.3;
    margin: 0;
}

/* Divider/Underline Base */
.hmea-title-divider {
    display: block;
}

/* Description Base */
.hmea-title-desc {
    font-size: 14px;
    color: var(--hmea-gray);
    line-height: 1.6;
    margin: 0;
}

/* Centered alignment helper */
.hmea-title-section[style*="text-align: center"] .hmea-title-divider,
.hmea-title-section[style*="text-align: center"] .hmea-title-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   SKIN 1: Classic (Centered Badge)
   ========================================== */
.hmea-title-section--classic .hmea-title-tag {
    background-color: #10b981;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
}

/* ==========================================
   SKIN 2: Icon Badge
   ========================================== */
.hmea-title-section--icon-badge .hmea-title-tag {
    background-color: #2563eb;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
}

.hmea-title-section--icon-badge .hmea-title-tag i,
.hmea-title-section--icon-badge .hmea-title-tag svg {
    color: #fbbf24;
    fill: #fbbf24;
}

/* ==========================================
   SKIN 3: Outlined Badge + Underline
   ========================================== */
.hmea-title-section--underline .hmea-title-tag {
    background: transparent;
    color: #2563eb;
    padding: 6px 14px;
    border: 2px solid #2563eb;
    border-radius: 4px;
}

.hmea-title-section--underline .hmea-title-divider {
    background-color: #10b981;
    width: 80px;
    height: 3px;
    border-radius: 2px;
}

/* ==========================================
   SKIN 4: Ribbon Badge
   ========================================== */
.hmea-title-section--ribbon .hmea-title-tag {
    background-color: #dc2626;
    color: #ffffff;
    padding: 8px 16px 8px 12px;
    border-radius: 0;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%);
    padding-right: 20px;
}

.hmea-title-section--ribbon .hmea-title-tag i,
.hmea-title-section--ribbon .hmea-title-tag svg {
    color: #fbbf24;
    fill: #fbbf24;
}

/* ==========================================
   SKIN 5: Framed Section
   ========================================== */
.hmea-title-section--framed {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
}

.hmea-title-section--framed .hmea-title-tag {
    background-color: #2563eb;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
}

/* ==========================================
   SKIN 6: Corner Ribbon Frame
   ========================================== */
.hmea-title-section--corner-ribbon {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px 30px 30px;
    overflow: hidden;
}

.hmea-corner-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #10b981;
    color: #ffffff;
    padding: 8px 20px 8px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 0 0 8px 0;
    z-index: 1;
}

.hmea-corner-ribbon i,
.hmea-corner-ribbon svg {
    font-size: 10px;
    width: 10px;
    height: 10px;
}

/* ==========================================
   Animations
   ========================================== */
/* Entrance Animations */
.hmea-animate-fade-in {
    animation: hmeaFadeIn 0.6s ease-out forwards;
}

.hmea-animate-fade-up {
    animation: hmeaFadeUp 0.6s ease-out forwards;
}

.hmea-animate-fade-down {
    animation: hmeaFadeDown 0.6s ease-out forwards;
}

.hmea-animate-zoom-in {
    animation: hmeaZoomIn 0.5s ease-out forwards;
}

@keyframes hmeaFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes hmeaFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hmeaFadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hmeaZoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hover Effects (for framed skins) */
.hmea-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hmea-hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hmea-hover-glow {
    transition: box-shadow 0.3s ease;
}

.hmea-hover-glow:hover {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 768px) {
    .hmea-title-main {
        font-size: 1.5rem;
    }

    .hmea-title-section--framed,
    .hmea-title-section--corner-ribbon {
        padding: 20px 15px;
    }

    .hmea-title-section--corner-ribbon {
        padding-top: 35px;
    }

    .hmea-corner-ribbon {
        font-size: 10px;
        padding: 6px 14px 6px 10px;
    }
}

/* =========================================
   3. Homestay Cards / Grid
   ========================================= */
.hmea-homestay-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hmea-homestay-card {
    background: var(--hmea-white);
    border-radius: var(--hmea-radius);
    overflow: hidden;
    box-shadow: var(--hmea-shadow);
    transition: transform var(--hmea-transition), box-shadow var(--hmea-transition);
}

.hmea-homestay-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hmea-shadow-lg);
}

.hmea-card-image-wrap {
    position: relative;
    overflow: hidden;
}

.hmea-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform var(--hmea-transition);
}

.hmea-homestay-card:hover .hmea-card-img {
    transform: scale(1.05);
}

.hmea-card-image {
    height: 220px;
    background-color: var(--hmea-light);
    background-size: cover;
    background-position: center;
    position: relative;
}

.hmea-price-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--hmea-primary);
    color: var(--hmea-white);
    padding: 6px 12px;
    border-radius: var(--hmea-radius-sm);
    font-weight: 600;
    font-size: 13px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.hmea-card-body {
    padding: 20px;
}

.hmea-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.hmea-card-title a {
    color: var(--hmea-dark);
    text-decoration: none;
    transition: color var(--hmea-transition);
}

.hmea-card-title a:hover {
    color: var(--hmea-primary);
}

.hmea-card-location {
    color: var(--hmea-gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.hmea-card-location i {
    color: var(--hmea-primary);
    margin-right: 5px;
}

.hmea-card-meta {
    display: flex;
    gap: 15px;
    color: var(--hmea-gray);
    font-size: 14px;
}

.hmea-card-meta i {
    margin-right: 5px;
}

.hmea-card-city {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--hmea-gray);
    font-size: 13px;
    margin-bottom: 8px;
}

.hmea-card-city i,
.hmea-card-city svg {
    margin-right: 3px;
}

.hmea-meta-reviews {
    color: var(--hmea-gray);
    font-size: 12px;
    opacity: 0.8;
}

.hmea-card-description {
    color: var(--hmea-gray);
    font-size: 13px;
    line-height: 1.5;
    margin: 10px 0 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   4. Service Box
   ========================================= */
.hmea-service-box {
    padding: 40px 30px;
    border-radius: var(--hmea-radius);
    transition: all var(--hmea-transition);
}

.hmea-service-box--classic {
    background: var(--hmea-white);
    box-shadow: var(--hmea-shadow);
}

.hmea-service-box--classic:hover {
    box-shadow: var(--hmea-shadow-lg);
    transform: translateY(-5px);
}

.hmea-service-box--gradient {
    background: linear-gradient(135deg, var(--hmea-primary) 0%, var(--hmea-secondary) 100%);
    color: var(--hmea-white);
}

.hmea-service-box--gradient .hmea-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    color: var(--hmea-white) !important;
}

.hmea-service-box--bordered {
    background: var(--hmea-white);
    border: 2px solid var(--hmea-light);
}

.hmea-service-box--bordered:hover {
    border-color: var(--hmea-primary);
}

.hmea-service-box--minimal {
    background: transparent;
}

.hmea-service-box--shadow {
    background: var(--hmea-white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hmea-service-box--glassmorphic {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hmea-service-box--neumorphic {
    background: #e0e5ec;
    box-shadow: 8px 8px 16px #b8bcc0, -8px -8px 16px #ffffff;
}

.hmea-service-box--flat {
    background: var(--hmea-light);
}

.hmea-service-box--outlined {
    background: transparent;
    border: 2px solid var(--hmea-primary);
}

.hmea-service-box--modern {
    background: var(--hmea-white);
    border-radius: 20px;
    box-shadow: var(--hmea-shadow);
    position: relative;
    overflow: hidden;
}

.hmea-service-box--modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hmea-primary), var(--hmea-secondary));
}

.hmea-icon-wrap {
    margin-bottom: 20px;
}

.hmea-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 32px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--hmea-primary);
    transition: all var(--hmea-transition);
}

.hmea-icon-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.hmea-service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--hmea-dark);
}

.hmea-service-desc {
    color: var(--hmea-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.hmea-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--hmea-primary);
    color: var(--hmea-white);
    text-decoration: none;
    border-radius: var(--hmea-radius-sm);
    font-weight: 600;
    transition: all var(--hmea-transition);
}

.hmea-btn:hover {
    background: var(--hmea-primary-dark);
    transform: translateY(-2px);
}

/* =========================================
   5. Icon Box
   ========================================= */
.hmea-icon-box {
    display: flex;
    gap: 20px;
}

.hmea-icon-box--top {
    flex-direction: column;
    text-align: center;
}

.hmea-icon-box--left {
    flex-direction: row;
    text-align: left;
}

.hmea-icon-box--right {
    flex-direction: row-reverse;
    text-align: right;
}

.hmea-icon-content {
    flex: 1;
}

.hmea-icon-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--hmea-dark);
}

.hmea-icon-title a {
    color: inherit;
    text-decoration: none;
}

.hmea-icon-title a:hover {
    color: var(--hmea-primary);
}

.hmea-icon-desc {
    color: var(--hmea-gray);
    line-height: 1.6;
}

/* =========================================
   6. Info Box
   ========================================= */
.hmea-info-box {
    background: var(--hmea-white);
    border-radius: var(--hmea-radius);
    overflow: hidden;
    box-shadow: var(--hmea-shadow);
    transition: all var(--hmea-transition);
}

.hmea-info-box--vertical {
    text-align: center;
    padding: 40px 30px;
}

.hmea-info-box--horizontal {
    display: flex;
    align-items: center;
    padding: 30px;
}

.hmea-info-box--horizontal .hmea-info-media {
    margin-right: 25px;
}

.hmea-info-box--overlay {
    position: relative;
    min-height: 300px;
}

.hmea-info-box--overlay .hmea-info-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--hmea-white);
}

.hmea-info-media {
    margin-bottom: 20px;
}

.hmea-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--hmea-primary);
}

.hmea-info-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--hmea-radius-sm);
}

.hmea-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.hmea-info-desc {
    color: var(--hmea-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Info Box Skins */
.hmea-info-box--modern {
    background: var(--hmea-white);
    border: 1px solid var(--hmea-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hmea-info-box--modern .hmea-icon {
    background: var(--hmea-light);
    color: var(--hmea-dark);
    border-radius: 8px;
}

.hmea-info-box--minimal {
    box-shadow: none;
    background: transparent;
    border: 1px solid var(--hmea-light);
}

.hmea-info-box--gradient {
    background: linear-gradient(135deg, var(--hmea-primary) 0%, var(--hmea-secondary) 100%);
    color: var(--hmea-white);
}

.hmea-info-box--gradient .hmea-icon,
.hmea-info-box--gradient .hmea-info-title,
.hmea-info-box--gradient .hmea-info-desc,
.hmea-info-box--gradient .hmea-number {
    color: var(--hmea-white);
}

.hmea-info-box--gradient .hmea-btn {
    background: var(--hmea-white);
    color: var(--hmea-primary);
}

.hmea-info-box--gradient .hmea-icon {
    background: rgba(255, 255, 255, 0.2);
}

.hmea-info-box--glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

/* Icon Box Skins */
.hmea-icon-box--modern {
    padding: 30px;
    background: var(--hmea-white);
    border-radius: var(--hmea-radius);
    box-shadow: var(--hmea-shadow);
    transition: transform 0.3s ease;
}

.hmea-icon-box--modern:hover {
    transform: translateY(-5px);
}

.hmea-icon-box--minimal .hmea-icon {
    background: transparent;
    padding: 0;
    width: auto;
    height: auto;
}

.hmea-icon-box--gradient {
    padding: 30px;
    border-radius: var(--hmea-radius);
    background: linear-gradient(135deg, var(--hmea-primary) 0%, var(--hmea-secondary) 100%);
    color: var(--hmea-white);
}

.hmea-icon-box--gradient .hmea-icon,
.hmea-icon-box--gradient .hmea-icon-title,
.hmea-icon-box--gradient .hmea-icon-title a,
.hmea-icon-box--gradient .hmea-icon-desc {
    color: var(--hmea-white);
}

.hmea-icon-box--gradient .hmea-icon {
    background: rgba(255, 255, 255, 0.2);
}

.hmea-icon-box--glass {
    padding: 30px;
    border-radius: var(--hmea-radius);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* =========================================
   7. Call to Action
   ========================================= */
.hmea-cta {
    padding: 60px 40px;
    border-radius: var(--hmea-radius);
    text-align: center;
    background: var(--hmea-primary);
    color: var(--hmea-white);
}

.hmea-cta--gradient {
    background: linear-gradient(135deg, var(--hmea-primary) 0%, #6366f1 50%, var(--hmea-secondary) 100%);
}

.hmea-cta--cover {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hmea-cta--cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--hmea-radius);
}

.hmea-cta--cover .hmea-cta-content {
    position: relative;
    z-index: 2;
}

.hmea-cta--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.hmea-cta--minimal {
    background: var(--hmea-light);
    color: var(--hmea-dark);
}

.hmea-cta--modern {
    background: var(--hmea-white);
    box-shadow: var(--hmea-shadow-lg);
    border-left: 5px solid var(--hmea-primary);
    color: var(--hmea-dark);
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hmea-cta--modern .hmea-cta-title {
    color: var(--hmea-dark);
}

.hmea-cta--modern .hmea-btn-primary {
    background: var(--hmea-primary);
    color: var(--hmea-white);
}

.hmea-cta--glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: var(--hmea-dark);
}

.hmea-cta--glass .hmea-cta-title {
    color: inherit;
}

.hmea-cta--glass .hmea-btn-primary {
    background: rgba(255, 255, 255, 0.5);
    color: var(--hmea-primary);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hmea-cta--glass .hmea-btn-primary:hover {
    background: var(--hmea-primary);
    color: var(--hmea-white);
}

.hmea-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hmea-cta-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hmea-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hmea-btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background: var(--hmea-white);
    color: var(--hmea-primary);
    text-decoration: none;
    border-radius: var(--hmea-radius-sm);
    font-weight: 600;
    transition: all var(--hmea-transition);
}

.hmea-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hmea-btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    background: transparent;
    color: var(--hmea-white);
    text-decoration: none;
    border: 2px solid var(--hmea-white);
    border-radius: var(--hmea-radius-sm);
    font-weight: 600;
    transition: all var(--hmea-transition);
}

.hmea-btn-secondary:hover {
    background: var(--hmea-white);
    color: var(--hmea-primary);
}

/* =========================================
   8. Team Member
   ========================================= */
.hmea-team-member {
    text-align: center;
}

.hmea-team-photo {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: var(--hmea-radius);
}

.hmea-team-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--hmea-transition);
}

.hmea-team-member:hover .hmea-team-photo img {
    transform: scale(1.05);
}

.hmea-team-member--rounded .hmea-team-photo {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
}

.hmea-team-member--rounded .hmea-team-photo img {
    height: 100%;
}

.hmea-team-member--card {
    background: var(--hmea-white);
    padding: 30px;
    border-radius: var(--hmea-radius);
    box-shadow: var(--hmea-shadow);
}

.hmea-team-overlay {
    position: absolute;
    inset: 0;
    background: var(--hmea-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--hmea-transition);
}

.hmea-team-member--overlay:hover .hmea-team-overlay {
    opacity: 1;
}

.hmea-team-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--hmea-dark);
}

.hmea-team-designation {
    color: var(--hmea-primary);
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.hmea-team-bio {
    color: var(--hmea-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.hmea-team-socials {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.hmea-team-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--hmea-light);
    color: var(--hmea-gray);
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--hmea-transition);
}

.hmea-team-socials a:hover {
    background: var(--hmea-primary);
    color: var(--hmea-white);
}

/* =========================================
   9. Testimonial Carousel (Dual Row)
   ========================================= */

/* Main Carousel Container */
.hmea-testimonial-carousel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    background: #0f172a;
    padding: 40px 0;
}

/* Fade Edges */
.hmea-testimonial-carousel.hmea-fade-edges::before,
.hmea-testimonial-carousel.hmea-fade-edges::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 10;
    pointer-events: none;
}

.hmea-testimonial-carousel.hmea-fade-edges::before {
    left: 0;
    background: linear-gradient(to right, #0f172a 0%, transparent 100%);
}

.hmea-testimonial-carousel.hmea-fade-edges::after {
    right: 0;
    background: linear-gradient(to left, #0f172a 0%, transparent 100%);
}

/* Row Container */
.hmea-testimonial-row {
    display: flex;
    gap: 16px;
    width: max-content;
}

/* Track - contains duplicated cards for seamless loop */
.hmea-testimonial-track {
    display: flex;
    gap: 16px;
    will-change: transform;
}

/* Animation - Scroll Left (moves left to right visually) */
.hmea-scroll-left .hmea-testimonial-track {
    animation: hmea-scroll-left var(--scroll-speed, 30s) linear infinite;
}

/* Animation - Scroll Right (moves right to left visually) */
.hmea-scroll-right .hmea-testimonial-track {
    animation: hmea-scroll-right var(--scroll-speed, 30s) linear infinite;
}

@keyframes hmea-scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes hmea-scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Pause on Hover */
.hmea-testimonial-carousel.hmea-pause-on-hover:hover .hmea-testimonial-track {
    animation-play-state: paused;
}

/* Individual Card */
.hmea-testimonial-card {
    min-width: 350px;
    max-width: 350px;
    min-height: 140px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hmea-testimonial-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.15);
}

/* Rating */
.hmea-testimonial-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.hmea-testimonial-rating i {
    font-size: 14px;
    color: #fbbf24;
}

.hmea-testimonial-rating i.empty {
    color: #475569;
}

/* Content Text */
.hmea-testimonial-content {
    font-size: 14px;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 16px;
    flex: 1;
}

/* Author Section */
.hmea-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

/* Avatar */
.hmea-testimonial-avatar {
    width: 44px;
    height: 44px;
    overflow: hidden;
    flex-shrink: 0;
}

.hmea-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Avatar Shapes */
.hmea-avatar-circle {
    border-radius: 50%;
}

.hmea-avatar-rounded {
    border-radius: 10px;
}

.hmea-avatar-square {
    border-radius: 0;
}

/* Author Info */
.hmea-testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hmea-testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: #f8fafc;
    line-height: 1.3;
}

.hmea-testimonial-username {
    font-size: 13px;
    color: #ef4444;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hmea-testimonial-username:hover {
    color: #f87171;
}

/* Responsive */
@media (max-width: 768px) {
    .hmea-testimonial-card {
        min-width: 280px;
        max-width: 280px;
        padding: 16px;
    }

    .hmea-testimonial-content {
        font-size: 13px;
    }

    .hmea-testimonial-carousel.hmea-fade-edges::before,
    .hmea-testimonial-carousel.hmea-fade-edges::after {
        width: 40px;
    }

    /* Mobile single row option */
    .hmea-testimonial-carousel.hmea-mobile-single .hmea-row-bottom {
        display: none;
    }
}

@media (max-width: 480px) {
    .hmea-testimonial-card {
        min-width: 260px;
        max-width: 260px;
        min-height: 120px;
        padding: 14px;
    }

    .hmea-testimonial-avatar {
        width: 36px;
        height: 36px;
    }

    .hmea-testimonial-name {
        font-size: 13px;
    }

    .hmea-testimonial-username {
        font-size: 12px;
    }
}

/* =========================================
   10. Counter
   ========================================= */
.hmea-counter {
    text-align: center;
    padding: 30px;
}

.hmea-counter-icon {
    font-size: 48px;
    color: var(--hmea-primary);
    margin-bottom: 15px;
}

.hmea-counter-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--hmea-dark);
    line-height: 1;
    margin-bottom: 10px;
}

.hmea-prefix,
.hmea-suffix {
    font-size: 36px;
}

.hmea-counter-title {
    font-size: 1rem;
    color: var(--hmea-gray);
    font-weight: 500;
}

/* =========================================
   11. Homestay Carousel
   ========================================= */
.hmea-homestay-carousel {
    position: relative;
    padding: 0 50px;
}

.hmea-homestay-carousel .swiper-button-prev,
.hmea-homestay-carousel .swiper-button-next {
    color: var(--hmea-primary);
    width: 44px;
    height: 44px;
    background: var(--hmea-white);
    border-radius: 50%;
    box-shadow: var(--hmea-shadow);
}

.hmea-homestay-carousel .swiper-button-prev::after,
.hmea-homestay-carousel .swiper-button-next::after {
    font-size: 18px;
}

.hmea-homestay-carousel .swiper-pagination-bullet {
    background: var(--hmea-primary);
}

/* =========================================
   12. Homestay Search
   ========================================= */
.hmea-search-form {
    background: var(--hmea-white);
    padding: 30px;
    border-radius: var(--hmea-radius);
    box-shadow: var(--hmea-shadow);
}

.hmea-search-form--horizontal {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.hmea-search-form--horizontal .hmea-field {
    flex: 1;
    min-width: 150px;
}

.hmea-search-form--vertical .hmea-field {
    margin-bottom: 15px;
}

.hmea-search-form--boxed {
    border: 2px solid var(--hmea-light);
    box-shadow: none;
}

.hmea-search-form--minimal {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.hmea-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--hmea-gray);
    margin-bottom: 8px;
}

.hmea-field label i {
    margin-right: 5px;
    color: var(--hmea-primary);
}

.hmea-field input,
.hmea-field select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--hmea-light);
    border-radius: var(--hmea-radius-sm);
    font-size: 15px;
    transition: border-color var(--hmea-transition);
}

.hmea-field input:focus,
.hmea-field select:focus {
    outline: none;
    border-color: var(--hmea-primary);
}

.hmea-search-btn {
    width: 100%;
    padding: 16px 32px;
    background: var(--hmea-primary);
    color: var(--hmea-white);
    border: none;
    border-radius: var(--hmea-radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--hmea-transition);
}

.hmea-search-btn:hover {
    background: var(--hmea-primary-dark);
}

/* =========================================
   13. Homestay Categories
   ========================================= */
.hmea-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hmea-categories-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hmea-category-item {
    background: var(--hmea-white);
    border-radius: var(--hmea-radius);
    padding: 20px;
    transition: all var(--hmea-transition);
    border: 2px solid transparent;
}

.hmea-category-item:hover {
    border-color: var(--hmea-primary);
    transform: translateY(-3px);
}

.hmea-categories--card .hmea-category-item {
    padding: 0;
    overflow: hidden;
}

.hmea-category-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.hmea-categories--card .hmea-category-content {
    padding: 20px;
}

.hmea-category-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--hmea-dark);
}

.hmea-category-count {
    color: var(--hmea-gray);
    font-size: 14px;
}

/* =========================================
   14. Booking Form
   ========================================= */
.hmea-booking-form {
    background: var(--hmea-white);
    padding: 30px;
    border-radius: var(--hmea-radius);
    box-shadow: var(--hmea-shadow);
}

.hmea-booking-form--floating {
    position: sticky;
    top: 100px;
}

.hmea-booking-form--sidebar {
    max-width: 350px;
}

.hmea-booking-form--compact .hmea-field-group {
    margin-bottom: 10px;
}

.hmea-booking-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--hmea-dark);
}

.hmea-booking-price {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hmea-light);
}

.hmea-price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hmea-dark);
}

.hmea-price-period {
    color: var(--hmea-gray);
}

.hmea-booking-fields .hmea-field-group {
    margin-bottom: 15px;
}

.hmea-booking-fields label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--hmea-gray);
    margin-bottom: 8px;
}

.hmea-booking-fields input,
.hmea-booking-fields select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--hmea-light);
    border-radius: var(--hmea-radius-sm);
    font-size: 15px;
}

.hmea-booking-fields input:focus,
.hmea-booking-fields select:focus {
    outline: none;
    border-color: var(--hmea-primary);
}

.hmea-book-btn {
    width: 100%;
    padding: 16px;
    background: var(--hmea-primary);
    color: var(--hmea-white);
    border: none;
    border-radius: var(--hmea-radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all var(--hmea-transition);
}

.hmea-book-btn:hover {
    background: var(--hmea-primary-dark);
}

/* =========================================
   15. Product Grid & Carousel (Unified System)
   ========================================= */

/* Grid Layout */
.hmea-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Carousel Layout */
.hmea-product-carousel {
    position: relative;
    padding: 0 50px;
}

.hmea-product-carousel .swiper-button-prev,
.hmea-product-carousel .swiper-button-next {
    color: var(--hmea-dark);
    width: 44px;
    height: 44px;
    background: var(--hmea-white);
    border-radius: 50%;
    box-shadow: var(--hmea-shadow);
    transition: all var(--hmea-transition);
}

.hmea-product-carousel .swiper-button-prev:hover,
.hmea-product-carousel .swiper-button-next:hover {
    background: var(--hmea-primary);
    color: var(--hmea-white);
}

.hmea-product-carousel .swiper-button-prev::after,
.hmea-product-carousel .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.hmea-product-carousel .swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.hmea-product-carousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    opacity: 1;
}

.hmea-product-carousel .swiper-pagination-bullet-active {
    background: var(--hmea-primary);
}

/* =========================================
   Product Card - Base Styles
   ========================================= */
.hmea-product-card {
    background: var(--hmea-white);
    border-radius: var(--hmea-radius);
    overflow: hidden;
    box-shadow: var(--hmea-shadow);
    transition: all var(--hmea-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Image Container */
.hmea-product-card__image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.hmea-product-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: transparent;
    transition: background-color var(--hmea-transition);
    pointer-events: none;
}

.hmea-product-card__image a {
    display: block;
    height: 100%;
}

.hmea-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--hmea-transition);
}

/* Image Shapes */
.hmea-product-image-shape-rounded .hmea-product-card__image {
    border-radius: 20px;
}

.hmea-product-image-shape-circle .hmea-product-card__image {
    border-radius: 50%;
    aspect-ratio: 1;
}

.hmea-product-image-shape-blob .hmea-product-card__image {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.hmea-product-image-shape-hexagon .hmea-product-card__image {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hmea-product-image-shape-diamond .hmea-product-card__image {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Badges */
.hmea-product-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
}

.hmea-product-card__badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hmea-product-card__badge--sale {
    background: #ef4444;
    color: var(--hmea-white);
}

.hmea-product-card__badge--featured {
    background: #8b5cf6;
    color: var(--hmea-white);
}

.hmea-product-card__badge--new {
    background: #10b981;
    color: var(--hmea-white);
}

/* Action Icons */
.hmea-product-card__actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
    transition: all var(--hmea-transition);
}

.hmea-product-card__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--hmea-white);
    border-radius: 50%;
    color: var(--hmea-dark);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all var(--hmea-transition);
}

.hmea-product-card__action:hover {
    background: var(--hmea-primary);
    color: var(--hmea-white);
    transform: scale(1.1);
}

.hmea-product-card__action i,
.hmea-product-card__action svg {
    font-size: 15px;
    width: 15px;
    height: 15px;
    color: var(--hmea-dark);
    fill: var(--hmea-dark);
    transition: all var(--hmea-transition);
}

.hmea-product-card__action svg path {
    fill: var(--hmea-dark);
    transition: fill var(--hmea-transition);
}

.hmea-product-card__action:hover i,
.hmea-product-card__action:hover svg {
    color: var(--hmea-white);
    fill: var(--hmea-white);
}

.hmea-product-card__action:hover svg path {
    fill: var(--hmea-white);
}

/* Content */
.hmea-product-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hmea-product-card__category {
    font-size: 12px;
    color: var(--hmea-gray);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hmea-product-card__category a {
    color: var(--hmea-gray);
    text-decoration: none;
    transition: color var(--hmea-transition);
}

.hmea-product-card__category a:hover {
    color: var(--hmea-primary);
}

.hmea-product-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.hmea-product-card__title a {
    color: var(--hmea-dark);
    text-decoration: none;
    transition: color var(--hmea-transition);
}

.hmea-product-card__title a:hover {
    color: var(--hmea-primary);
}

.hmea-product-card__rating {
    margin-bottom: 10px;
}

.hmea-product-card__rating .star-rating {
    font-size: 14px;
}

.hmea-product-card__rating .star-rating span::before {
    color: #f59e0b;
}

.hmea-product-card__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hmea-primary);
    margin-bottom: 10px;
}

.hmea-product-card__price del {
    color: var(--hmea-gray);
    font-weight: 400;
    margin-right: 8px;
    font-size: 0.9rem;
}

.hmea-product-card__price ins {
    text-decoration: none;
}

.hmea-product-card__stock {
    font-size: 13px;
    margin-bottom: 10px;
}

.hmea-product-card__stock--instock .in-stock {
    color: #10b981;
}

.hmea-product-card__stock--outofstock .out-of-stock {
    color: #ef4444;
}

.hmea-product-card__excerpt {
    font-size: 14px;
    color: var(--hmea-gray);
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Add to Cart Button */
.hmea-product-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: var(--hmea-primary);
    text-align: center;
    text-decoration: none;
    border-radius: var(--hmea-radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--hmea-transition);
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.hmea-product-card__button:hover {
    background: var(--hmea-primary-dark);
}

.hmea-product-card__button-text {
    color: var(--hmea-white);
    transition: color var(--hmea-transition);
}

.hmea-product-card__button:hover .hmea-product-card__button-text {
    color: var(--hmea-white);
}

.hmea-product-card__button i,
.hmea-product-card__button svg {
    font-size: 15px;
    width: 15px;
    height: 15px;
    color: var(--hmea-white);
    fill: var(--hmea-white);
    transition: all var(--hmea-transition);
}

.hmea-product-card__button svg path {
    fill: var(--hmea-white);
    transition: fill var(--hmea-transition);
}

.hmea-product-card__button:hover i,
.hmea-product-card__button:hover svg {
    color: var(--hmea-white);
    fill: var(--hmea-white);
}

.hmea-product-card__button:hover svg path {
    fill: var(--hmea-white);
}

.hmea-product-card__button-icon--left {
    order: -1;
}

.hmea-product-card__button-icon--right {
    order: 1;
}

/* Button Loading State */
.hmea-product-card__button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.hmea-product-card__button.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: hmea-spin 0.8s linear infinite;
}

.hmea-product-card__button.added {
    background: #10b981 !important;
}

@keyframes hmea-spin {
    to {
        transform: rotate(360deg);
    }
}

/* No Products Message */
.hmea-no-products {
    text-align: center;
    padding: 40px 20px;
    color: var(--hmea-gray);
    font-size: 16px;
}

/* =========================================
   Product Card - Hover Animations
   ========================================= */

/* Lift Animation */
.hmea-product-card--hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--hmea-shadow-lg);
}

/* Zoom Image Animation */
.hmea-product-card--hover-zoom-image .hmea-product-card__image img {
    transition: transform 0.4s ease;
}

.hmea-product-card--hover-zoom-image:hover .hmea-product-card__image img {
    transform: scale(1.08);
}

/* Glow Animation */
.hmea-product-card--hover-glow:hover {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
}

/* Reveal Actions Animation */
.hmea-product-card--actions-hover .hmea-product-card__actions {
    opacity: 0;
    transform: translateX(10px);
}

.hmea-product-card--actions-hover:hover .hmea-product-card__actions {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   Product Card - Classic Skin
   ========================================= */
.hmea-product-card--classic {
    background: var(--hmea-white);
    border-radius: var(--hmea-radius);
    box-shadow: var(--hmea-shadow);
}

/* =========================================
   Product Card - Modern Skin
   ========================================= */
.hmea-product-card--modern {
    background: var(--hmea-white);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: none;
}

.hmea-product-card--modern .hmea-product-card__image::after {
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity var(--hmea-transition);
}

.hmea-product-card--modern:hover .hmea-product-card__image::after {
    opacity: 1;
}

.hmea-product-card--modern .hmea-product-card__badge {
    border-radius: 8px;
}

.hmea-product-card--modern .hmea-product-card__button {
    background: linear-gradient(135deg, var(--hmea-primary) 0%, #3b82f6 100%);
    border-radius: 10px;
}

.hmea-product-card--modern .hmea-product-card__button:hover {
    background: linear-gradient(135deg, var(--hmea-primary-dark) 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* =========================================
   Product Card - Minimal Skin
   ========================================= */
.hmea-product-card--minimal {
    background: transparent;
    border: 1px solid #e5e7eb;
    box-shadow: none;
    border-radius: var(--hmea-radius);
}

.hmea-product-card--minimal:hover {
    border-color: var(--hmea-primary);
    box-shadow: none;
}

.hmea-product-card--minimal .hmea-product-card__badge {
    border-radius: 4px;
    font-size: 11px;
    padding: 4px 10px;
}

.hmea-product-card--minimal .hmea-product-card__button {
    background: transparent;
    color: var(--hmea-primary);
    border: 2px solid var(--hmea-primary);
}

.hmea-product-card--minimal .hmea-product-card__button:hover {
    background: var(--hmea-primary);
    color: var(--hmea-white);
}

.hmea-product-card--minimal .hmea-product-card__action {
    background: transparent;
    border: 1px solid #e5e7eb;
    box-shadow: none;
}

.hmea-product-card--minimal .hmea-product-card__action:hover {
    border-color: var(--hmea-primary);
    background: var(--hmea-primary);
}

/* =========================================
   Product Card - Gradient Skin
   ========================================= */
.hmea-product-card--gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hmea-product-card--gradient:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.hmea-product-card--gradient .hmea-product-card__badge--sale {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.hmea-product-card--gradient .hmea-product-card__badge--featured {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.hmea-product-card--gradient .hmea-product-card__badge--new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.hmea-product-card--gradient .hmea-product-card__button {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.hmea-product-card--gradient .hmea-product-card__button:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    transform: translateY(-2px);
}

.hmea-product-card--gradient .hmea-product-card__action {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

/* =========================================
   Product Card - Glass Skin
   ========================================= */
.hmea-product-card--glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.hmea-product-card--glass:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.15);
}

.hmea-product-card--glass .hmea-product-card__image {
    margin: 12px;
    border-radius: 12px;
    aspect-ratio: 1;
}

.hmea-product-card--glass .hmea-product-card__badge {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hmea-product-card--glass .hmea-product-card__badge--sale {
    background: rgba(239, 68, 68, 0.9);
}

.hmea-product-card--glass .hmea-product-card__badge--featured {
    background: rgba(139, 92, 246, 0.9);
}

.hmea-product-card--glass .hmea-product-card__badge--new {
    background: rgba(16, 185, 129, 0.9);
}

.hmea-product-card--glass .hmea-product-card__button {
    background: rgba(37, 99, 235, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
}

.hmea-product-card--glass .hmea-product-card__button:hover {
    background: rgba(37, 99, 235, 1);
}

.hmea-product-card--glass .hmea-product-card__action {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hmea-product-card--glass .hmea-product-card__action:hover {
    background: var(--hmea-primary);
}

/* =========================================
   16. Product Carousel - Additional Styles
   =========================================

/* =========================================
   17. Product Categories
   ========================================= */
.hmea-product-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hmea-cat-item {
    background: var(--hmea-white);
    border-radius: var(--hmea-radius);
    overflow: hidden;
    box-shadow: var(--hmea-shadow);
    transition: all var(--hmea-transition);
}

.hmea-cat-item:hover {
    transform: translateY(-5px);
}

.hmea-cat-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.hmea-cat-content {
    padding: 20px;
    text-align: center;
}

.hmea-cat-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

/* =========================================
   18. FAQ Widget
   ========================================= */
.hmea-faq-item {
    margin-bottom: 15px;
    border-radius: var(--hmea-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.hmea-faq-summary {
    position: relative;
    padding: 15px 20px;
    cursor: pointer;
    list-style: none;
    /* Hide default triangle */
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.1rem;
    background: var(--hmea-white);
}

.hmea-faq-summary::-webkit-details-marker {
    display: none;
}

.hmea-faq-answer {
    padding: 20px;
    background: var(--hmea-white);
    border-top: 1px solid var(--hmea-light);
    line-height: 1.6;
}

/* Icon Toggle */
.hmea-faq-item[open] .hmea-icon-closed {
    display: none;
}

.hmea-faq-item:not([open]) .hmea-icon-open {
    display: none;
}

/* Skins */
.hmea-faq--modern .hmea-faq-item {
    box-shadow: var(--hmea-shadow);
    border: none;
}

.hmea-faq--modern .hmea-faq-item[open] {
    box-shadow: var(--hmea-shadow-lg);
}

.hmea-faq--minimal .hmea-faq-item {
    border-bottom: 2px solid var(--hmea-light);
    border-radius: 0;
}

.hmea-faq--minimal .hmea-faq-summary,
.hmea-faq--minimal .hmea-faq-answer {
    background: transparent;
    padding-left: 0;
    padding-right: 0;
}

.hmea-faq--minimal .hmea-faq-answer {
    border-top: none;
    padding-top: 0;
}

.hmea-faq--gradient .hmea-faq-summary {
    background: linear-gradient(135deg, var(--hmea-primary) 0%, var(--hmea-secondary) 100%);
    color: var(--hmea-white) !important;
}

.hmea-faq--gradient .hmea-faq-summary .hmea-faq-title {
    color: var(--hmea-white) !important;
}

.hmea-faq--gradient .hmea-faq-icon {
    color: rgba(255, 255, 255, 0.8) !important;
}

.hmea-faq--glass .hmea-faq-item {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hmea-faq--glass .hmea-faq-summary,
.hmea-faq--glass .hmea-faq-answer {
    background: transparent;
}

/* =========================================
   19. Simple Hero (Inner Pages)
   ========================================= */
.hmea-simple-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--hmea-white);
}

.hmea-simple-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Default overlay */
    z-index: 1;
}

.hmea-simple-hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}

.hmea-simple-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hmea-simple-hero-desc {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Skins for Simple Hero */
.hmea-simple-hero--modern .hmea-simple-hero-title {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hmea-simple-hero--gradient::before {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(16, 185, 129, 0.8) 100%);
}

.hmea-simple-hero--glass .hmea-simple-hero-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--hmea-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hmea-simple-hero--minimal .hmea-simple-hero-title {
    font-weight: 500;
}

.hmea-simple-hero--minimal::before {
    background: rgba(0, 0, 0, 0.3);
}

.hmea-cat-name a {
    color: var(--hmea-dark);
    text-decoration: none;
}

.hmea-cat-count {
    color: var(--hmea-gray);
    font-size: 14px;
}

/* =========================================
   18. Mini Cart
   ========================================= */
.hmea-mini-cart {
    position: relative;
}

.hmea-cart-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--hmea-dark);
}

.hmea-mini-cart-icon {
    position: relative;
    font-size: 24px;
}

.hmea-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: var(--hmea-white);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

.hmea-cart-total {
    font-weight: 600;
}

.hmea-mini-cart--dropdown .hmea-cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: var(--hmea-white);
    border-radius: var(--hmea-radius);
    box-shadow: var(--hmea-shadow-lg);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--hmea-transition);
    z-index: 1000;
}

.hmea-mini-cart--dropdown:hover .hmea-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================================
   19. Advanced Menu
   ========================================= */
.hmea-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hmea-menu--horizontal {
    display: flex;
    align-items: center;
}

.hmea-menu--vertical {
    display: flex;
    flex-direction: column;
}

.hmea-menu li {
    position: relative;
}

.hmea-menu a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--hmea-transition);
}

.hmea-menu--horizontal a {
    padding: 10px 20px;
}

/* =========================================
   20. Mega Menu
   ========================================= */
.hmea-mega-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.hmea-mega-nav>li>a {
    display: block;
    padding: 15px 20px;
    font-weight: 600;
    text-decoration: none;
    color: var(--hmea-dark);
}

.hmea-mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--hmea-white);
    box-shadow: var(--hmea-shadow-lg);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--hmea-transition);
}

.hmea-mega--full .hmea-mega-dropdown {
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* =========================================
   21. Breadcrumb
   ========================================= */
.hmea-breadcrumb {
    font-size: 14px;
    color: var(--hmea-gray);
}

.hmea-breadcrumb a {
    color: var(--hmea-primary);
    text-decoration: none;
}

.hmea-breadcrumb a:hover {
    text-decoration: underline;
}

.hmea-separator {
    margin: 0 10px;
}

.hmea-current {
    color: var(--hmea-gray);
}

/* =========================================
   22. Site Logo
   ========================================= */
.hmea-site-logo {
    display: inline-block;
}

.hmea-site-logo a {
    display: inline-block;
    text-decoration: none;
}

.hmea-logo-img {
    max-width: 200px;
    height: auto;
}

.hmea-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hmea-dark);
}

/* =========================================
   23. Social Icons
   ========================================= */
.hmea-social-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hmea-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    transition: all var(--hmea-transition);
}

.hmea-social-icons--default .hmea-social-icon {
    background: var(--hmea-light);
    border-radius: 50%;
    color: var(--hmea-dark);
}

.hmea-social-icons--default .hmea-social-icon:hover {
    background: var(--hmea-primary);
    color: var(--hmea-white);
}

.hmea-social-icons--branded .hmea-social-facebook {
    background: #1877f2;
    color: #fff;
    border-radius: 50%;
}

.hmea-social-icons--branded .hmea-social-twitter {
    background: #000;
    color: #fff;
    border-radius: 50%;
}

.hmea-social-icons--branded .hmea-social-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border-radius: 50%;
}

.hmea-social-icons--branded .hmea-social-linkedin {
    background: #0a66c2;
    color: #fff;
    border-radius: 50%;
}

.hmea-social-icons--branded .hmea-social-youtube {
    background: #ff0000;
    color: #fff;
    border-radius: 50%;
}

.hmea-social-icons--branded .hmea-social-whatsapp {
    background: #25d366;
    color: #fff;
    border-radius: 50%;
}

.hmea-social-icons--outline .hmea-social-icon {
    border: 2px solid currentColor;
    border-radius: 50%;
}

.hmea-social-icons--outline .hmea-social-icon:hover {
    background: var(--hmea-primary);
    border-color: var(--hmea-primary);
    color: var(--hmea-white);
}

.hmea-social-icons--minimal .hmea-social-icon {
    background: transparent;
}

/* =========================================
   Responsive Styles
   ========================================= */
@media (max-width: 1024px) {

    .hmea-homestay-grid,
    .hmea-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hmea-product-categories,
    .hmea-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hmea-hero-title {
        font-size: 2.5rem;
    }

    .hmea-hero-slide {
        min-height: 70vh;
    }

    .hmea-hero-content {
        padding: 40px 0 100px;
    }

    .hmea-hero-search-form {
        flex-direction: column;
    }

    .hmea-search-field {
        width: 100%;
    }

    .hmea-search--bottom {
        margin-top: -60px;
    }

    .hmea-hero-pagination {
        bottom: 110px !important;
    }

    .hmea-section-title {
        font-size: 2rem;
    }

    .hmea-homestay-grid,
    .hmea-product-grid,
    .hmea-product-categories,
    .hmea-categories-grid {
        grid-template-columns: 1fr;
    }

    .hmea-search-form--horizontal {
        flex-direction: column;
    }

    .hmea-cta--split {
        flex-direction: column;
        text-align: center;
    }

    .hmea-cta-title {
        font-size: 1.8rem;
    }

    .hmea-homestay-carousel,
    .hmea-product-carousel {
        padding: 0 30px;
    }

    .hmea-featured--side {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hmea-hero-title {
        font-size: 1.8rem;
    }

    .hmea-hero-subtitle {
        padding: 8px 16px;
        font-size: 12px;
    }

    .hmea-hero-description {
        font-size: 1rem;
    }

    .hmea-hero-btn {
        padding: 14px 28px;
        font-size: 14px;
    }

    .hmea-hero-carousel .swiper-button-prev,
    .hmea-hero-carousel .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .hmea-counter-number {
        font-size: 36px;
    }

    .hmea-service-box {
        padding: 30px 20px;
    }
}

/* =========================================
   24. Featured Homestay - MOBILE-FIRST
   ========================================= */

/* ========================
   MOBILE BASE (Default)
   ======================== */

/* Base Card - Mobile First */
.hmea-fh {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

/* Image Container */
.hmea-fh__image-wrap,
.hmea-fh__split-image {
    position: relative;
    overflow: hidden;
}

.hmea-fh__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Badges */
.hmea-fh__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 10;
}

.hmea-fh__badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hmea-fh__badge--featured {
    background: #ef4444;
    color: #ffffff;
}

.hmea-fh__badge--type {
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.hmea-fh__price-badge {
    background: #ffffff;
    color: var(--hmea-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Content Elements - Mobile */
.hmea-fh__city {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--hmea-primary);
}

.hmea-fh__city i {
    font-size: 11px;
}

.hmea-fh__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.3;
}

.hmea-fh__title a {
    text-decoration: none;
    color: var(--hmea-dark);
}

.hmea-fh__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.hmea-fh__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--hmea-gray);
}

.hmea-fh__meta-item i {
    font-size: 12px;
}

.hmea-fh__rating i {
    color: #fbbf24;
}

.hmea-fh__reviews {
    opacity: 0.7;
    font-size: 12px;
}

/* Description - Mobile shows mobile version */
.hmea-fh__description {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px;
    color: var(--hmea-gray);
}

.hmea-fh__description--desktop {
    display: none;
}

.hmea-fh__description--mobile {
    display: block;
}

/* Footer */
.hmea-fh__footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.hmea-fh__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.hmea-fh__price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hmea-primary);
}

.hmea-fh__price-suffix {
    font-size: 13px;
    color: var(--hmea-gray);
}

/* Button - Mobile (Thumb Friendly 48px height) */
.hmea-fh__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 12px 24px;
    background: var(--hmea-primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s ease;
}

.hmea-fh__button i,
.hmea-fh__button svg {
    font-size: 14px;
    width: 14px;
}

/* Mobile Meta Visibility Controls */
.hmea-fh--mob-hide-reviews .hmea-fh__meta--reviews,
.hmea-fh--mob-hide-bedrooms .hmea-fh__meta--bedrooms,
.hmea-fh--mob-hide-bathrooms .hmea-fh__meta--bathrooms {
    display: none;
}

.hmea-fh--mob-hide-desc .hmea-fh__description {
    display: none;
}

/* ========================
   Layout 1: Glass - MOBILE
   ======================== */

/* Glass Mobile: Content BELOW image (default mobile behavior) */
.hmea-fh--glass {
    display: flex;
    flex-direction: column;
}

.hmea-fh--glass .hmea-fh__image-wrap {
    position: relative;
}

.hmea-fh--glass .hmea-fh__glass-panel {
    position: relative;
    padding: 16px;
    background: #ffffff;
    color: var(--hmea-dark);
    display: flex;
    flex-direction: column;
}

/* Soft card style on mobile */
.hmea-fh--mob-glass-style-soft .hmea-fh__glass-panel {
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hmea-fh--glass .hmea-fh__title a {
    color: var(--hmea-dark);
}

/* If user chooses overlay on mobile (not recommended) */
.hmea-fh--mob-glass-overlay {
    display: block;
}

.hmea-fh--mob-glass-overlay .hmea-fh__image-wrap {
    position: absolute;
    inset: 0;
}

.hmea-fh--mob-glass-overlay .hmea-fh__image {
    height: 100%;
}

.hmea-fh--mob-glass-overlay .hmea-fh__glass-panel {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    color: #ffffff;
}

.hmea-fh--mob-glass-overlay .hmea-fh__title a {
    color: #ffffff;
}

.hmea-fh--mob-glass-overlay .hmea-fh__city {
    color: rgba(255, 255, 255, 0.9);
}

.hmea-fh--mob-glass-overlay .hmea-fh__price-value {
    color: #ffffff;
}

/* ========================
   Layout 2: Split - MOBILE
   ======================== */

/* Split on mobile: Stacked vertically */
.hmea-fh--split {
    display: flex;
    flex-direction: column;
}

.hmea-fh--split .hmea-fh__split-image {
    position: relative;
}

.hmea-fh--split .hmea-fh__split-content {
    padding: 16px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.hmea-fh--split .hmea-fh__title a {
    color: var(--hmea-dark);
}

.hmea-fh--split .hmea-fh__city {
    color: var(--hmea-primary);
}

.hmea-fh--split .hmea-fh__price-value {
    color: var(--hmea-primary);
}

/* ========================
   Layout 3: Cinematic - MOBILE
   ======================== */

/* Cinematic Mobile: Text BELOW image (default) */
.hmea-fh--cinematic {
    display: flex;
    flex-direction: column;
}

.hmea-fh--cinematic .hmea-fh__image-wrap {
    position: relative;
}

.hmea-fh--cinematic .hmea-fh__cinematic-overlay {
    display: none;
}

.hmea-fh--cinematic .hmea-fh__cinematic-content {
    position: relative;
    padding: 16px;
    background: #ffffff;
    color: var(--hmea-dark);
}

.hmea-fh--cinematic .hmea-fh__title a {
    color: var(--hmea-dark);
}

.hmea-fh--cinematic .hmea-fh__city {
    color: var(--hmea-primary);
}

.hmea-fh--cinematic .hmea-fh__price-value {
    color: var(--hmea-primary);
}

/* Cinematic mobile overlay option (title + price only) */
.hmea-fh--mob-cine-overlay {
    display: block;
}

.hmea-fh--mob-cine-overlay .hmea-fh__image-wrap {
    position: absolute;
    inset: 0;
}

.hmea-fh--mob-cine-overlay .hmea-fh__image {
    height: 100%;
}

.hmea-fh--mob-cine-overlay .hmea-fh__cinematic-overlay {
    display: flex;
    position: absolute;
    inset: 0;
    align-items: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 5;
}

.hmea-fh--mob-cine-overlay .hmea-fh__cinematic-content {
    width: 100%;
    padding: 16px;
    background: transparent;
    color: #ffffff;
}

.hmea-fh--mob-cine-overlay .hmea-fh__title a {
    color: #ffffff;
}

.hmea-fh--mob-cine-overlay .hmea-fh__city {
    color: rgba(255, 255, 255, 0.9);
}

.hmea-fh--mob-cine-overlay .hmea-fh__price-value {
    color: #ffffff;
}

/* Hide description and most meta on cinematic overlay mobile */
.hmea-fh--mob-cine-overlay .hmea-fh__description,
.hmea-fh--mob-cine-overlay .hmea-fh__meta--bedrooms,
.hmea-fh--mob-cine-overlay .hmea-fh__meta--bathrooms,
.hmea-fh--mob-cine-overlay .hmea-fh__meta--reviews {
    display: none;
}

/* No hover animations on mobile */
@media (hover: none) and (pointer: coarse) {
    .hmea-fh--hover-zoom:hover .hmea-fh__image,
    .hmea-fh--hover-lift:hover,
    .hmea-fh--hover-glow:hover,
    .hmea-fh--hover-parallax:hover .hmea-fh__image {
        transform: none;
        box-shadow: none;
    }
}

/* ========================
   TABLET (min-width: 768px)
   ======================== */
@media (min-width: 768px) {
    .hmea-fh__image {
        height: 280px;
    }

    .hmea-fh__title {
        font-size: 1.4rem;
    }

    .hmea-fh__meta {
        gap: 14px;
    }

    .hmea-fh__badges {
        top: 16px;
        left: 16px;
        gap: 8px;
    }

    .hmea-fh__badge {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Description */
    .hmea-fh__description--desktop {
        display: block;
    }

    .hmea-fh__description--mobile {
        display: none;
    }

    /* Show hidden meta on tablet */
    .hmea-fh--mob-hide-reviews .hmea-fh__meta--reviews,
    .hmea-fh--mob-hide-bedrooms .hmea-fh__meta--bedrooms,
    .hmea-fh--mob-hide-bathrooms .hmea-fh__meta--bathrooms {
        display: inline-flex;
    }

    .hmea-fh--mob-hide-desc .hmea-fh__description {
        display: block;
    }

    /* Glass panel - larger padding */
    .hmea-fh--glass .hmea-fh__glass-panel,
    .hmea-fh--split .hmea-fh__split-content,
    .hmea-fh--cinematic .hmea-fh__cinematic-content {
        padding: 24px;
    }

    /* Button can be inline on tablet */
    .hmea-fh__footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hmea-fh__button {
        width: auto;
    }

    .hmea-fh--mob-btn-full .hmea-fh__button {
        width: auto;
    }
}

/* ========================
   DESKTOP (min-width: 1024px)
   ======================== */
@media (min-width: 1024px) {
    .hmea-fh {
        border-radius: 16px;
    }

    .hmea-fh__title {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }

    .hmea-fh__city {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .hmea-fh__meta {
        gap: 16px;
        margin-bottom: 16px;
    }

    .hmea-fh__meta-item {
        font-size: 14px;
    }

    .hmea-fh__description {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .hmea-fh__price-value {
        font-size: 1.5rem;
    }

    .hmea-fh__badges {
        top: 20px;
        left: 20px;
    }

    .hmea-fh__badge {
        padding: 6px 14px;
    }

    /* Button hover effects - desktop only */
    .hmea-fh__button {
        padding: 14px 28px;
        transition: all 0.3s ease;
    }

    .hmea-fh__button:hover {
        background: var(--hmea-primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    }

    .hmea-fh__button:hover i,
    .hmea-fh__button:hover svg {
        transform: translateX(3px);
    }

    /* ========================
       Glass Layout - DESKTOP
       ======================== */
    .hmea-fh--glass {
        display: block;
        height: 500px;
    }

    .hmea-fh--glass .hmea-fh__image-wrap {
        position: absolute;
        inset: 0;
    }

    .hmea-fh--glass .hmea-fh__image {
        height: 100%;
    }

    .hmea-fh--glass .hmea-fh__glass-panel {
        position: absolute;
        bottom: 30px;
        left: 30px;
        width: 400px;
        max-width: calc(100% - 60px);
        padding: 32px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 16px;
        color: #ffffff;
        z-index: 5;
    }

    .hmea-fh--glass .hmea-fh__title a {
        color: #ffffff;
    }

    .hmea-fh--glass .hmea-fh__city {
        color: rgba(255, 255, 255, 0.9);
    }

    .hmea-fh--glass .hmea-fh__city i {
        color: rgba(255, 255, 255, 0.8);
    }

    .hmea-fh--glass .hmea-fh__meta-item {
        color: rgba(255, 255, 255, 0.9);
    }

    .hmea-fh--glass .hmea-fh__description {
        color: rgba(255, 255, 255, 0.85);
    }

    .hmea-fh--glass .hmea-fh__price-value {
        color: #ffffff;
    }

    .hmea-fh--glass .hmea-fh__price-suffix {
        color: rgba(255, 255, 255, 0.7);
    }

    /* Glass Position - Desktop */
    .hmea-fh--pos-center .hmea-fh__glass-panel {
        left: 50%;
        transform: translateX(-50%);
    }

    .hmea-fh--pos-right .hmea-fh__glass-panel {
        left: auto;
        right: 30px;
    }

    /* Glass Hover Visibility - Desktop */
    .hmea-fh--glass-hover .hmea-fh__glass-panel {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .hmea-fh--glass-hover.hmea-fh--pos-center .hmea-fh__glass-panel {
        transform: translateX(-50%) translateY(20px);
    }

    .hmea-fh--glass-hover:hover .hmea-fh__glass-panel {
        opacity: 1;
        transform: translateY(0);
    }

    .hmea-fh--glass-hover.hmea-fh--pos-center:hover .hmea-fh__glass-panel {
        transform: translateX(-50%) translateY(0);
    }

    /* ========================
       Split Layout - DESKTOP
       ======================== */
    .hmea-fh--split {
        flex-direction: row;
        min-height: 400px;
    }

    .hmea-fh--split .hmea-fh__split-image {
        flex: 0 0 60%;
    }

    .hmea-fh--split .hmea-fh__image {
        height: 100%;
        position: absolute;
        inset: 0;
    }

    .hmea-fh--split .hmea-fh__split-content {
        flex: 1;
        padding: 40px;
        justify-content: center;
    }

    /* Split Ratios */
    .hmea-fh--ratio-50-50 .hmea-fh__split-image {
        flex: 0 0 50%;
    }

    .hmea-fh--ratio-70-30 .hmea-fh__split-image {
        flex: 0 0 70%;
    }

    /* Split Reverse */
    .hmea-fh--reverse {
        flex-direction: row-reverse;
    }

    .hmea-fh--split .hmea-fh__title a:hover {
        color: var(--hmea-primary);
    }

    /* ========================
       Cinematic Layout - DESKTOP
       ======================== */
    .hmea-fh--cinematic {
        display: block;
        height: auto;
    }

    .hmea-fh--cinematic .hmea-fh__image-wrap {
        position: relative;
    }

    .hmea-fh--cinematic .hmea-fh__image {
        height: 500px;
    }

    .hmea-fh--cinematic .hmea-fh__cinematic-overlay {
        display: flex;
        position: absolute;
        inset: 0;
        align-items: flex-end;
        z-index: 5;
    }

    .hmea-fh--cinematic .hmea-fh__cinematic-content {
        position: relative;
        width: 100%;
        padding: 40px;
        background: transparent;
        color: #ffffff;
    }

    .hmea-fh--cinematic .hmea-fh__title a {
        color: #ffffff;
    }

    .hmea-fh--cinematic .hmea-fh__city {
        color: rgba(255, 255, 255, 0.9);
    }

    .hmea-fh--cinematic .hmea-fh__city i {
        color: rgba(255, 255, 255, 0.8);
    }

    .hmea-fh--cinematic .hmea-fh__meta-item {
        color: rgba(255, 255, 255, 0.9);
    }

    .hmea-fh--cinematic .hmea-fh__description {
        color: rgba(255, 255, 255, 0.85);
    }

    .hmea-fh--cinematic .hmea-fh__price-value {
        color: #ffffff;
    }

    .hmea-fh--cinematic .hmea-fh__price-suffix {
        color: rgba(255, 255, 255, 0.7);
    }

    /* ========================
       Hover Animations - DESKTOP ONLY
       ======================== */

    /* Image Zoom */
    .hmea-fh__image {
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .hmea-fh--hover-zoom:hover .hmea-fh__image {
        transform: scale(1.08);
    }

    /* Card Lift */
    .hmea-fh--hover-lift {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .hmea-fh--hover-lift:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    }

    /* Subtle Glow */
    .hmea-fh--hover-glow {
        transition: box-shadow 0.4s ease;
    }

    .hmea-fh--hover-glow:hover {
        box-shadow: 0 0 40px rgba(37, 99, 235, 0.3);
    }

    /* Parallax Shift */
    .hmea-fh--hover-parallax .hmea-fh__image {
        transition: transform 0.6s ease;
    }

    .hmea-fh--hover-parallax:hover .hmea-fh__image {
        transform: scale(1.05) translateY(-10px);
    }

    .hmea-fh__title a {
        transition: opacity 0.3s ease;
    }

    .hmea-fh__title a:hover {
        opacity: 0.8;
    }
}

/* ========================
   LARGE DESKTOP (min-width: 1280px)
   ======================== */
@media (min-width: 1280px) {
    .hmea-fh--glass .hmea-fh__glass-panel {
        width: 420px;
    }
}

.hmea-no-results {
    text-align: center;
    color: var(--hmea-gray);
    padding: 40px;
}

/* =========================================
   25. Latest Hero - Advanced Hero Widget
   ========================================= */
.hmea-latest-hero-section {
    position: relative;
}

.hmea-latest-hero-carousel {
    position: relative;
}

.hmea-latest-hero-slide {
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hmea-latest-hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hmea-latest-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hmea-latest-hero-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--hmea-white);
    padding: 60px 0 80px;
}

.hmea-latest-hero-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, var(--hmea-primary) 0%, var(--hmea-secondary) 100%);
    color: var(--hmea-white);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hmea-latest-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    min-height: 1.15em;
}

.hmea-latest-hero-description {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 600px;
}

/* Typing Animation */
.hmea-typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--hmea-white);
    margin-left: 5px;
    animation: hmea-blink 0.7s infinite;
    vertical-align: text-bottom;
}

@keyframes hmea-blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Content Animations */
.hmea-animate-fade .hmea-animate-item {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hmea-animate-slide .hmea-animate-item {
    transform: translateY(30px);
}

.hmea-animate-fade .hmea-animate-item.animated,
.swiper-slide-active .hmea-animate-fade .hmea-animate-item {
    opacity: 1;
}

.hmea-animate-slide .hmea-animate-item.animated,
.swiper-slide-active .hmea-animate-slide .hmea-animate-item {
    transform: translateY(0);
}

/* Button Presets */
.hmea-latest-hero-btn {
    display: inline-block;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: var(--hmea-radius-sm);
    font-weight: 600;
    font-size: 16px;
    transition: all var(--hmea-transition);
    cursor: pointer;
    border: none;
}

.hmea-btn-preset-solid {
    background: var(--hmea-primary);
    color: var(--hmea-white);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.hmea-btn-preset-solid:hover {
    background: var(--hmea-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.hmea-btn-preset-outline {
    background: transparent;
    color: var(--hmea-white);
    border: 2px solid var(--hmea-white);
}

.hmea-btn-preset-outline:hover {
    background: var(--hmea-white);
    color: var(--hmea-dark);
}

.hmea-btn-preset-gradient {
    background: linear-gradient(135deg, var(--hmea-primary) 0%, var(--hmea-secondary) 100%);
    color: var(--hmea-white);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.hmea-btn-preset-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.hmea-btn-preset-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--hmea-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hmea-btn-preset-glass:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Latest Hero Navigation */
.hmea-latest-hero-carousel .swiper-button-prev,
.hmea-latest-hero-carousel .swiper-button-next {
    color: var(--hmea-white);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    transition: all var(--hmea-transition);
}

.hmea-latest-hero-carousel .swiper-button-prev:hover,
.hmea-latest-hero-carousel .swiper-button-next:hover {
    background: var(--hmea-primary);
}

.hmea-latest-hero-carousel .swiper-button-prev::after,
.hmea-latest-hero-carousel .swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}

.hmea-latest-hero-pagination {
    bottom: 30px !important;
}

.hmea-latest-hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.hmea-latest-hero-pagination .swiper-pagination-bullet-active {
    background: var(--hmea-white);
    width: 30px;
    border-radius: 6px;
}

/* Latest Hero Search Form - Stacked Below Carousel */
.hmea-latest-hero-search {
    background: var(--hmea-white);
    border-radius: var(--hmea-radius);
    box-shadow: var(--hmea-shadow-lg);
    padding: 0;
    max-width: 1100px;
    margin: -50px auto 0;
    position: relative;
    z-index: 10;
    margin-left: 20px;
    margin-right: 20px;
    overflow: hidden;
}

@media (min-width: 1140px) {
    .hmea-latest-hero-search {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Search Tabs */
.hmea-search-tabs {
    display: flex;
    border-bottom: 2px solid var(--hmea-light);
    background: var(--hmea-light);
}

.hmea-search-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--hmea-gray);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--hmea-transition);
    margin-bottom: -2px;
}

.hmea-search-tab:hover {
    color: var(--hmea-primary);
    background: rgba(37, 99, 235, 0.05);
}

.hmea-search-tab.active {
    color: var(--hmea-primary);
    border-bottom-color: var(--hmea-primary);
    background: var(--hmea-white);
}

.hmea-search-tab i,
.hmea-search-tab svg {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Tab Content */
.hmea-tab-content {
    display: none;
    padding: 25px 30px;
}

.hmea-tab-content.active {
    display: block;
}

/* Search Fields Layout */
.hmea-latest-hero-search .hmea-search-fields {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    flex-wrap: wrap;
}

.hmea-latest-hero-search .hmea-search-field {
    flex: 1;
    min-width: 140px;
}

.hmea-latest-hero-search .hmea-search-field.hmea-field-wide {
    flex: 2;
    min-width: 250px;
}

.hmea-latest-hero-search .hmea-search-field.hmea-field-half {
    flex: 0.5;
    min-width: 100px;
}

.hmea-latest-hero-search .hmea-search-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--hmea-gray);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hmea-latest-hero-search .hmea-search-field label i {
    color: var(--hmea-primary);
    margin-right: 6px;
}

.hmea-latest-hero-search .hmea-search-field input,
.hmea-latest-hero-search .hmea-search-field select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--hmea-light);
    border-radius: var(--hmea-radius-sm);
    font-size: 15px;
    transition: border-color var(--hmea-transition);
    background: var(--hmea-white);
}

.hmea-latest-hero-search .hmea-search-field input:focus,
.hmea-latest-hero-search .hmea-search-field select:focus {
    outline: none;
    border-color: var(--hmea-primary);
}

.hmea-latest-hero-search .hmea-search-submit {
    flex: 0 0 auto;
}

.hmea-latest-search-btn {
    padding: 16px 35px;
    background: var(--hmea-primary);
    color: var(--hmea-white);
    border: none;
    border-radius: var(--hmea-radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--hmea-transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hmea-latest-search-btn:hover {
    background: var(--hmea-primary-dark);
    transform: translateY(-2px);
}

/* Latest Hero Skins */
.hmea-latest-hero-section--classic .hmea-latest-hero-slide::before {
    background: rgba(0, 0, 0, 0.4);
}

.hmea-latest-hero-section--modern .hmea-latest-hero-slide::before {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(16, 185, 129, 0.6) 100%);
}

.hmea-latest-hero-section--modern .hmea-latest-hero-subtitle {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hmea-latest-hero-section--minimal .hmea-latest-hero-slide::before {
    background: rgba(0, 0, 0, 0.6);
}

.hmea-latest-hero-section--minimal .hmea-latest-hero-subtitle {
    background: transparent;
    border: 2px solid var(--hmea-white);
    padding: 8px 20px;
}

.hmea-latest-hero-section--gradient .hmea-latest-hero-slide::before {
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.9) 100%);
}

.hmea-latest-hero-section--gradient .hmea-latest-hero-content {
    text-align: center;
}

.hmea-latest-hero-section--glass .hmea-latest-hero-slide::before {
    background: rgba(0, 0, 0, 0.3);
}

.hmea-latest-hero-section--glass .hmea-latest-hero-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--hmea-radius);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hmea-latest-hero-section--glass .hmea-latest-hero-subtitle {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Mobile Responsive - Latest Hero */
@media (max-width: 991px) {
    .hmea-latest-hero-search {
        margin-top: -30px;
    }

    .hmea-latest-hero-search .hmea-search-fields {
        flex-direction: column;
    }

    .hmea-latest-hero-search .hmea-search-field,
    .hmea-latest-hero-search .hmea-search-field.hmea-field-wide,
    .hmea-latest-hero-search .hmea-search-field.hmea-field-half {
        flex: 1 1 100%;
        width: 100%;
        min-width: 100%;
    }

    .hmea-latest-hero-search .hmea-search-submit {
        width: 100%;
    }

    .hmea-latest-search-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hmea-latest-hero-slide {
        min-height: 50vh;
    }

    .hmea-latest-hero-content {
        padding: 40px 0 60px;
    }

    .hmea-latest-hero-title {
        font-size: 2rem;
    }

    .hmea-latest-hero-description {
        font-size: 1rem;
    }

    .hmea-latest-hero-search {
        margin: 0;
        border-radius: 0;
        max-height: 25vh;
        overflow-y: auto;
    }

    .hmea-search-tabs {
        position: sticky;
        top: 0;
        z-index: 5;
    }

    .hmea-tab-content {
        padding: 15px 20px;
    }

    .hmea-search-tab {
        padding: 12px 16px;
        font-size: 13px;
    }

    .hmea-search-tab span {
        display: none;
    }

    .hmea-search-tab i,
    .hmea-search-tab svg {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    .hmea-latest-hero-carousel .swiper-button-prev,
    .hmea-latest-hero-carousel .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .hmea-latest-hero-pagination {
        bottom: 15px !important;
    }

    /* Half fields side by side on mobile */
    .hmea-latest-hero-search .hmea-search-fields {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hmea-latest-hero-search .hmea-search-field.hmea-field-half {
        flex: 1 1 calc(50% - 8px);
        min-width: calc(50% - 8px);
    }
}

@media (max-width: 480px) {
    .hmea-latest-hero-title {
        font-size: 1.6rem;
    }

    .hmea-latest-hero-subtitle {
        padding: 8px 16px;
        font-size: 11px;
    }

    .hmea-latest-hero-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
}

/* =========================================
   Homestay Grid/Carousel Skins (User Request - 5 Skins)
   ========================================= */

/* Base Styles Update */
.hmea-homestay-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid transparent;
}

.hmea-card-image-wrap,
.hmea-card-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

/* Ensure images cover area */
.hmea-card-img,
.hmea-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

/* Footer & Button - Hidden by default in classic, shown in others */
.hmea-card-footer {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
}

.hmea-homestay-grid--skin1 .hmea-card-footer,
.hmea-homestay-grid--skin2 .hmea-card-footer,
.hmea-homestay-grid--skin3 .hmea-card-footer,
.hmea-homestay-grid--skin4 .hmea-card-footer,
.hmea-homestay-carousel--skin1 .hmea-card-footer,
.hmea-homestay-carousel--skin2 .hmea-card-footer,
.hmea-homestay-carousel--skin3 .hmea-card-footer,
.hmea-homestay-carousel--skin4 .hmea-card-footer {
    display: flex;
}

.hmea-card-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #10b981;
    color: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hmea-card-btn:hover {
    background: #059669;
    color: white;
    transform: translateY(-2px);
}

.hmea-card-price-box {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.hmea-card-price-text {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.hmea-card-price-unit {
    font-size: 13px;
    color: #6b7280;
}

/* SKIN 1: Glassmorphism (Top Left Ref) */
.hmea-homestay-grid--skin1 .hmea-homestay-card,
.hmea-homestay-carousel--skin1 .hmea-homestay-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.hmea-homestay-grid--skin1 .hmea-card-image-wrap,
.hmea-homestay-carousel--skin1 .hmea-card-image {
    border-radius: 12px;
    margin: 12px 12px 0;
    width: auto;
    /* constrained by margin */
}

.hmea-homestay-grid--skin1 .hmea-price-badge,
.hmea-homestay-carousel--skin1 .hmea-price-badge {
    background: rgba(59, 130, 246, 0.8) !important;
    /* Blue glass */
    backdrop-filter: blur(4px);
    border-radius: 0 0 8px 0;
}

/* SKIN 2: Modern Card (Top Right Ref) */
.hmea-homestay-grid--skin2 .hmea-homestay-card,
.hmea-homestay-carousel--skin2 .hmea-homestay-card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hmea-homestay-grid--skin2 .hmea-card-image-wrap,
.hmea-homestay-carousel--skin2 .hmea-card-image {
    border-radius: 12px 12px 0 0;
    margin: 0;
    height: 240px;
}

.hmea-homestay-grid--skin2 .hmea-price-badge,
.hmea-homestay-carousel--skin2 .hmea-price-badge {
    top: 15px;
    left: 15px;
    bottom: auto;
    background: #f97316 !important;
    /* Orange */
    border-radius: 30px 0 30px 0;
    padding: 6px 14px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* SKIN 3: Elevated (Bottom Left Ref) */
.hmea-homestay-grid--skin3 .hmea-homestay-card,
.hmea-homestay-carousel--skin3 .hmea-homestay-card {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(0);
}

.hmea-homestay-grid--skin3 .hmea-homestay-card:hover,
.hmea-homestay-carousel--skin3 .hmea-homestay-card:hover {
    transform: translateY(-5px);
}

.hmea-homestay-grid--skin3 .hmea-card-btn,
.hmea-homestay-carousel--skin3 .hmea-card-btn {
    background-color: #4f46e5;
    /* Indigo */
}

/* SKIN 4: Eco (Bottom Middle/Right Ref) */
.hmea-homestay-grid--skin4 .hmea-homestay-card,
.hmea-homestay-carousel--skin4 .hmea-homestay-card {
    border: 1px solid #e5e7eb;
    box-shadow: none;
}

.hmea-homestay-grid--skin4 .hmea-homestay-card:hover,
.hmea-homestay-carousel--skin4 .hmea-homestay-card:hover {
    border-color: #10b981;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.1);
}

.hmea-homestay-grid--skin4 .hmea-price-badge,
.hmea-homestay-carousel--skin4 .hmea-price-badge {
    background: #059669 !important;
    border-radius: 8px;
    top: 15px;
    right: 15px;
    left: auto;
    bottom: auto;
}

.hmea-homestay-grid--skin4 .hmea-card-btn,
.hmea-homestay-carousel--skin4 .hmea-card-btn {
    background-color: #059669;
    /* Emerald */
    width: 100%;
    text-align: center;
}

/* =========================================
   Product Card - Responsive Styles
   ========================================= */
@media (max-width: 1024px) {
    .hmea-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hmea-product-carousel {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .hmea-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .hmea-product-carousel {
        padding: 0 30px;
    }

    .hmea-product-card__content {
        padding: 15px;
    }

    .hmea-product-card__title {
        font-size: 0.9rem;
    }

    .hmea-product-card__price {
        font-size: 1rem;
    }

    .hmea-product-card__button {
        padding: 10px 16px;
        font-size: 13px;
    }

    .hmea-product-card__action {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 480px) {
    .hmea-product-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .hmea-product-carousel {
        padding: 0 15px;
    }

    .hmea-product-carousel .swiper-button-prev,
    .hmea-product-carousel .swiper-button-next {
        width: 36px;
        height: 36px;
    }

    .hmea-product-carousel .swiper-button-prev::after,
    .hmea-product-carousel .swiper-button-next::after {
        font-size: 14px;
    }

    .hmea-product-card {
        min-width: 0;
        width: 100%;
    }

    .hmea-product-card__badges {
        top: 8px;
        left: 8px;
    }

    .hmea-product-card__badge {
        padding: 4px 10px;
        font-size: 11px;
    }

    .hmea-product-card--glass .hmea-product-card__image {
        margin: 8px;
    }
}

/* =========================================
   CONTACT FORM WIDGET STYLES
   ========================================= */
.hmea-contact-form {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hmea-form-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.hmea-form-desc {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.hmea-contact-form-fields {
    display: flex;
    flex-direction: column;
}

.hmea-form-field {
    margin-bottom: 20px;
}

.hmea-field-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.hmea-required {
    color: #ef4444;
    margin-left: 2px;
}

.hmea-field-input,
.hmea-field-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
    color: #1f2937;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.hmea-field-input {
    height: 52px;
}

.hmea-field-textarea {
    min-height: 120px;
    resize: vertical;
}

.hmea-field-input::placeholder,
.hmea-field-textarea::placeholder {
    color: #9ca3af;
}

.hmea-field-input:focus,
.hmea-field-textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.hmea-form-submit {
    margin-top: 8px;
}

.hmea-form-submit.hmea-btn-full .hmea-submit-btn {
    width: 100%;
}

.hmea-form-submit.hmea-btn-center {
    text-align: center;
}

.hmea-form-submit.hmea-btn-right {
    text-align: right;
}

.hmea-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background-color: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.hmea-submit-btn:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.hmea-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.hmea-submit-btn.loading {
    position: relative;
    pointer-events: none;
}

.hmea-submit-btn i {
    font-size: 14px;
}

/* Form Messages */
.hmea-form-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.hmea-form-message.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #86efac;
}

.hmea-form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* =========================================
   BOOKING FORM SUCCESS STATE
   ========================================= */
.hmea-booking-success {
    text-align: center;
    padding: 40px 20px;
}

.hmea-success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.hmea-booking-success h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
}

.hmea-booking-success p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* =========================================
   FORM RESPONSIVE
   ========================================= */
@media (max-width: 767px) {
    .hmea-contact-form {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .hmea-form-title {
        font-size: 20px;
    }

    .hmea-form-field {
        margin-bottom: 16px;
    }

    .hmea-field-input {
        height: 48px;
        font-size: 16px;
    }

    .hmea-submit-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}