/**
 * ==============================================================================
 * LA HABANA — MODERN LUXURY UI/UX DESIGN SYSTEM
 * Architecture: Mobile-First, Accessible, Literary & Lounge Luxury
 * ==============================================================================
 */

/* ------------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
------------------------------------------------------------------------------ */
:root {
    /* Brand Palette: Warm Terracotta & Cuban Espresso */
    --h-primary: #b83a22;
    --h-primary-hover: #9c2e19;
    --h-primary-light: rgba(184, 58, 34, 0.08);
    --h-primary-glow: rgba(184, 58, 34, 0.25);
    --h-primary-gradient: linear-gradient(135deg, #c44d34 0%, #a82e18 100%);
    
    --h-gold: #c59b27;
    --h-gold-light: #f7e7be;
    --h-gold-gradient: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);

    --h-dark: #181413;
    --h-dark-surface: #221c1a;
    --h-dark-card: #292321;
    --h-dark-gradient: linear-gradient(145deg, #1f1a18 0%, #151110 100%);

    --h-bg-warm: #faf7f2;
    --h-surface: #ffffff;
    --h-surface-alt: #f5f0e8;
    
    --h-border: #ede6dc;
    --h-border-focus: #c44d34;
    
    --h-text: #211c1b;
    --h-text-muted: #6e6763;
    --h-text-light: #948b85;
    --h-text-white: #ffffff;

    /* Elevation & Shadows */
    --h-shadow-xs: 0 2px 6px rgba(24, 20, 19, 0.04);
    --h-shadow-sm: 0 4px 14px rgba(24, 20, 19, 0.06);
    --h-shadow-md: 0 10px 25px rgba(24, 20, 19, 0.08);
    --h-shadow-lg: 0 18px 40px rgba(24, 20, 19, 0.12);
    --h-shadow-card: 0 12px 30px rgba(24, 20, 19, 0.07);
    --h-shadow-button: 0 8px 20px rgba(184, 58, 34, 0.28);

    /* Radii */
    --h-radius-xs: 6px;
    --h-radius-sm: 10px;
    --h-radius-md: 14px;
    --h-radius-lg: 20px;
    --h-radius-pill: 9999px;

    /* Typography */
    --h-font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --h-font-serif: 'Playfair Display', Georgia, serif;
    --h-font-script: 'Kaushan Script', cursive;

    /* Spacing & Transitions */
    --h-transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    --h-transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --h-mobile-nav-height: 66px;
}

/* ------------------------------------------------------------------------------
   2. GLOBAL RESETS & TYPOGRAPHY ENHANCEMENTS
------------------------------------------------------------------------------ */
html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--h-font-sans);
    color: var(--h-text);
    background-color: var(--h-bg-warm);
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Safe bottom clearance on phones for the sticky bottom bar */
@media (max-width: 991px) {
    body {
        padding-bottom: calc(var(--h-mobile-nav-height) + env(safe-area-inset-bottom, 12px) + 10px) !important;
    }
}

/* Headings scale nicely across all screens */
h1, .h1 {
    font-family: var(--h-font-sans);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--h-text);
}

h2, .h2 {
    font-family: var(--h-font-sans);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: var(--h-font-sans);
    font-weight: 600;
    letter-spacing: -0.015em;
}

.sub_heading, .font_style1 {
    font-family: var(--h-font-script) !important;
    color: var(--h-primary) !important;
    letter-spacing: 0.02em;
    font-size: 1.35rem;
}

/* Responsive font scaling on phones */
@media (max-width: 576px) {
    h1, .h1 { font-size: 1.75rem !important; line-height: 1.25 !important; }
    h2, .h2 { font-size: 1.5rem !important; line-height: 1.3 !important; }
    h3, .h3 { font-size: 1.25rem !important; }
    h4, .h4 { font-size: 1.1rem !important; }
    .sub_heading, .font_style1 { font-size: 1.15rem !important; }
}

/* ------------------------------------------------------------------------------
   3. MODERN BUTTONS & TOUCH TARGETS (MIN 44PX)
------------------------------------------------------------------------------ */
.btn {
    font-family: var(--h-font-sans);
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 12px 24px;
    border-radius: var(--h-radius-pill) !important;
    transition: var(--h-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

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

/* Override old template sliding ::before/::after buttons */
.btn-default,
.btn-danger,
.btn-fill-in {
    background: var(--h-primary-gradient) !important;
    color: #ffffff !important;
    border: 1px solid transparent !important;
    box-shadow: var(--h-shadow-button);
}

.btn-default:hover,
.btn-danger:hover,
.btn-fill-in:hover {
    background: linear-gradient(135deg, #ad3620 0%, #8f230f 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(184, 58, 34, 0.38);
}

.btn-default::before,
.btn-default::after,
.btn-white::before,
.btn-white::after {
    display: none !important;
}

.btn-white {
    background: #ffffff !important;
    color: var(--h-text) !important;
    border: 1px solid var(--h-border) !important;
    box-shadow: var(--h-shadow-xs);
}

.btn-white:hover {
    background: var(--h-surface-alt) !important;
    color: var(--h-primary) !important;
    border-color: var(--h-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #4a423f !important;
    color: #ffffff !important;
    border: none !important;
}

.btn-secondary:hover {
    background: #332d2b !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-outline-danger {
    border: 1.5px solid var(--h-primary) !important;
    color: var(--h-primary) !important;
    background: transparent !important;
}

.btn-outline-danger:hover {
    background: var(--h-primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    min-height: 38px;
}

/* ------------------------------------------------------------------------------
   4. GLASSMORPHIC HEADER & NAVIGATION (ULTRA-ROBUST MOBILE & DESKTOP)
------------------------------------------------------------------------------ */
.header_wrap {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

/* Header Background - consistent luxury dark glassmorphism */
.header_wrap,
.header_wrap.nav-fixed,
.header_wrap.header_with_topbar,
.transparent_header,
.transparent_header.nav-fixed {
    background: rgba(22, 18, 17, 0.96) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.header_wrap .container,
.header_wrap .container-fluid {
    position: relative !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* Always force navbar to be a 1-row flexbox on BOTH desktop and mobile */
.header_wrap .navbar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    min-height: 64px !important;
    height: 64px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Brand Logo */
.header_wrap .navbar-brand {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100% !important;
    flex-shrink: 0 !important;
}

.habana-nav-logo {
    height: 44px !important;
    max-height: 46px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    transition: transform 0.25s ease;
}

.header_wrap .navbar-brand:hover .habana-nav-logo {
    transform: scale(1.03);
}

/* Header Right Actions */
.header-right-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    order: 3 !important;
}

/* Cart badge button - overrides responsive.css float/padding */
.header-right-actions .attr-nav {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.header-right-actions .attr-nav li {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
}

.header-right-actions .attr-nav .nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    position: relative !important;
    transition: all 0.25s ease !important;
    font-size: 1.15rem !important;
    line-height: 1 !important;
}

.header-right-actions .attr-nav .nav-link:hover {
    background: var(--h-primary) !important;
    transform: translateY(-2px);
}

.header-right-actions .attr-nav .nav-link .cart_count {
    position: absolute !important;
    top: -3px !important;
    right: -3px !important;
    background: var(--h-primary) !important;
    color: #ffffff !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #161211 !important;
    line-height: 1 !important;
}

/* Maps Header Button (Mobile & Desktop) */
.habana-nav-maps-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 40px !important;
    padding: 0 14px !important;
    border-radius: var(--h-radius-pill) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

.habana-nav-maps-btn:hover {
    background: var(--h-primary) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.habana-nav-maps-btn i {
    font-size: 1.05rem !important;
    color: var(--h-gold);
}

@media (max-width: 575.98px) {
    .habana-nav-maps-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        padding: 0 !important;
        border-radius: 50% !important;
    }
    .habana-nav-maps-btn i {
        font-size: 1.15rem !important;
        margin: 0 !important;
    }
}

/* Phone Direct Call Header Button (Mobile & Desktop) */
.habana-nav-phone-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 40px !important;
    padding: 0 14px !important;
    border-radius: var(--h-radius-pill) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

.habana-nav-phone-btn:hover {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
}

.habana-nav-phone-btn i {
    font-size: 1.05rem !important;
    color: #55e68b !important;
    transition: color 0.25s ease;
}

.habana-nav-phone-btn:hover i {
    color: #ffffff !important;
}

@media (max-width: 575.98px) {
    .habana-nav-phone-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        padding: 0 !important;
        border-radius: 50% !important;
    }
    .habana-nav-phone-btn i {
        font-size: 1.15rem !important;
        margin: 0 !important;
    }
}

/* Header Toggler Button */
.header_wrap .navbar-toggler {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    outline: none !important;
}

/* Suppress any style.css pseudo-element box glitches */
.header_wrap .navbar-toggler::before,
.header_wrap .navbar-toggler::after,
.header_wrap .navbar-toggler span::before,
.header_wrap .navbar-toggler span::after {
    content: none !important;
    display: none !important;
}

.header_wrap .navbar-toggler:hover,
.header_wrap .navbar-toggler:focus {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    outline: none !important;
}

.header_wrap .navbar-toggler i {
    font-size: 1.25rem !important;
    line-height: 1 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header_wrap .navbar-toggler .toggler-icon-close {
    display: none !important;
}

.header_wrap .navbar-toggler .toggler-icon-open {
    display: inline-block !important;
}

.header_wrap .navbar-toggler[aria-expanded="true"] .toggler-icon-open {
    display: none !important;
}

.header_wrap .navbar-toggler[aria-expanded="true"] .toggler-icon-close {
    display: inline-block !important;
    font-size: 1.35rem !important;
}

/* Desktop Navbar Navigation (>= 992px) */
@media (min-width: 992px) {
    .header_wrap .navbar-toggler {
        display: none !important;
    }

    .header_wrap .navbar-collapse {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        order: 2 !important;
        margin-right: 20px !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        position: static !important;
    }

    .header_wrap .navbar-collapse .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 4px !important;
        background: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header_wrap .navbar-collapse .nav-link {
        font-family: var(--h-font-sans);
        font-weight: 500;
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.85) !important;
        padding: 9px 16px !important;
        border-radius: var(--h-radius-pill);
        transition: var(--h-transition);
        display: inline-flex;
        align-items: center;
    }

    .header_wrap .navbar-collapse .nav-link:hover,
    .header_wrap .navbar-collapse .nav-link.active {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.12);
    }

    .header_wrap .navbar-collapse .nav-link.active {
        color: var(--h-gold) !important;
        font-weight: 600;
    }
}

/* Mobile Dropdown Menu Collapse (< 992px) */
@media (max-width: 991.98px) {
    .header_wrap {
        height: 60px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1030 !important;
        overflow: visible !important;
    }

    .header_wrap .container,
    .header_wrap .navbar {
        overflow: visible !important;
        height: 60px !important;
        min-height: 60px !important;
    }

    .habana-nav-logo {
        height: 38px !important;
        max-height: 38px !important;
    }

    /* Elegant, natural-height mobile dropdown sheet */
    .header_wrap .navbar-collapse {
        position: absolute !important;
        top: 62px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        height: auto !important;
        min-height: fit-content !important;
        max-height: calc(85vh - 70px) !important;
        max-height: calc(85dvh - 70px) !important;
        background: #181312 !important;
        background: rgba(22, 17, 16, 0.98) !important;
        backdrop-filter: blur(24px) saturate(200%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
        border-radius: 20px !important;
        padding: 16px 14px 20px 14px !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.85) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        z-index: 99999 !important;
        display: none !important;
    }

    .header_wrap .navbar-collapse.show {
        display: block !important;
        animation: habanaMenuSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .header_wrap .navbar-collapse .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        background: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .header_wrap .navbar-collapse .nav-item {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
    }

    .header_wrap .navbar-collapse .nav-link {
        display: flex !important;
        align-items: center !important;
        padding: 12px 16px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        border-radius: 12px !important;
        transition: all 0.2s ease !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        text-align: left !important;
        width: 100% !important;
    }

    .header_wrap .navbar-collapse .nav-link:hover,
    .header_wrap .navbar-collapse .nav-link.active {
        background: rgba(255, 255, 255, 0.14) !important;
        color: var(--h-gold) !important;
        border-color: rgba(229, 169, 59, 0.35) !important;
        padding-left: 18px !important;
    }

    .mobile-status-item {
        background: rgba(255, 255, 255, 0.06);
        border-radius: 12px;
        padding: 10px 14px !important;
        border: 1px solid rgba(255, 255, 255, 0.08);
        width: 100% !important;
        display: block !important;
    }
}

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

/* ------------------------------------------------------------------------------
   5. STICKY MOBILE BOTTOM NAVIGATION BAR (THUMB-FRIENDLY)
------------------------------------------------------------------------------ */
.habana-mobile-bottom-nav {
    display: none;
}

@media (max-width: 991px) {
    .habana-mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: var(--h-mobile-nav-height);
        background: rgba(22, 18, 17, 0.95);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1040;
        padding: 0 10px env(safe-area-inset-bottom, 8px) 10px;
        box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.35);
        align-items: center;
        justify-content: space-around;
    }

    .habana-bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 4px;
        color: rgba(255, 255, 255, 0.65);
        text-decoration: none !important;
        font-size: 0.68rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        transition: var(--h-transition);
        position: relative;
        min-height: 48px;
    }

    .habana-bottom-nav-item i {
        font-size: 1.25rem;
        margin-bottom: 3px;
        transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .habana-bottom-nav-item.active {
        color: var(--h-gold);
    }

    .habana-bottom-nav-item.active i {
        transform: translateY(-2px);
        color: var(--h-gold);
        text-shadow: 0 0 12px rgba(197, 155, 39, 0.5);
    }

    .habana-bottom-nav-item:active {
        transform: scale(0.92);
    }

    /* Cart badge in bottom nav */
    .habana-bottom-cart-badge {
        position: absolute;
        top: 2px;
        right: 25%;
        background: var(--h-primary);
        color: #ffffff;
        font-size: 0.65rem;
        font-weight: 700;
        min-width: 17px;
        height: 17px;
        line-height: 17px;
        padding: 0 4px;
        border-radius: 9px;
        text-align: center;
        border: 2px solid #161211;
    }
}

/* ------------------------------------------------------------------------------
   6. BREADCRUMBS & SECTION HEADERS
------------------------------------------------------------------------------ */
.breadcrumb_section {
    padding: 80px 0 60px !important;
    position: relative;
    background-size: cover;
    background-position: center center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.breadcrumb_section .page-title h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
}

.breadcrumb_section .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb_section .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: var(--h-transition);
}

.breadcrumb_section .breadcrumb-item a:hover {
    color: var(--h-gold);
}

.breadcrumb_section .breadcrumb-item.active {
    color: var(--h-gold);
    font-weight: 600;
}

@media (max-width: 576px) {
    .breadcrumb_section {
        padding: 60px 0 40px !important;
    }
    .breadcrumb_section .page-title h1 {
        font-size: 1.85rem !important;
    }
}

/* ------------------------------------------------------------------------------
   7. MENU CARDS & PRODUCTS GRID (MOBILE 2-COLUMNS BEAUTY)
------------------------------------------------------------------------------ */
.menu_product_img {
    position: relative;
    overflow: hidden;
    border-radius: var(--h-radius-md);
    background: var(--h-surface-alt);
    aspect-ratio: 1 / 1;
}

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

.single_product {
    background: var(--h-surface);
    border-radius: var(--h-radius-md);
    padding: 10px;
    box-shadow: var(--h-shadow-xs);
    border: 1px solid var(--h-border);
    transition: var(--h-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 20px;
}

.single_product:hover {
    transform: translateY(-4px);
    box-shadow: var(--h-shadow-md);
    border-color: rgba(184, 58, 34, 0.2);
}

.single_product:hover .menu_product_img img {
    transform: scale(1.06);
}

.menu_product_info {
    padding-top: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu_product_info .title h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.35;
}

.menu_product_info .title h5 a {
    color: var(--h-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.menu_product_info .title h5 a:hover {
    color: var(--h-primary);
}

.menu_product_info p.text-danger {
    font-size: 0.95rem;
    font-weight: 700 !important;
    color: var(--h-primary) !important;
    margin-bottom: 0;
}

/* Category header styling */
.heading_tab_header {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--h-border);
}

.heading_tab_header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--h-text);
    position: relative;
    display: inline-block;
}

.heading_tab_header h2::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--h-primary);
    border-radius: 2px;
}

/* Search bar styling */
.input-group .form-control {
    border-radius: var(--h-radius-pill) 0 0 var(--h-radius-pill) !important;
    padding-left: 20px;
    border: 1.5px solid var(--h-border);
    font-size: 0.95rem;
    min-height: 46px;
}

.input-group .form-control:focus {
    border-color: var(--h-primary);
    box-shadow: 0 0 0 3px var(--h-primary-light);
}

.input-group-append .btn {
    border-radius: 0 var(--h-radius-pill) var(--h-radius-pill) 0 !important;
    padding: 0 24px !important;
}

/* ------------------------------------------------------------------------------
   8. EVENT & BLOG CARDS
------------------------------------------------------------------------------ */
.blog_post {
    background: var(--h-surface);
    border-radius: var(--h-radius-lg);
    overflow: hidden;
    border: 1px solid var(--h-border);
    box-shadow: var(--h-shadow-xs);
    transition: var(--h-transition);
}

.blog_post:hover {
    transform: translateY(-5px);
    box-shadow: var(--h-shadow-lg);
    border-color: rgba(184, 58, 34, 0.2);
}

.blog_post .blog_img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: var(--h-dark);
}

.blog_post .blog_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog_post:hover .blog_img img {
    transform: scale(1.06);
}

/* Post Date badge */
.post_date {
    background: var(--h-primary) !important;
    color: #ffffff !important;
    border-radius: var(--h-radius-sm);
    padding: 6px 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    text-align: center;
    min-width: 52px;
}

.post_date strong {
    font-size: 1.15rem;
    line-height: 1;
}

.blog_content {
    padding: 20px;
}

.blog_title a {
    color: var(--h-text);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.blog_title a:hover {
    color: var(--h-primary);
}

/* ------------------------------------------------------------------------------
   9. BOOKS & LIBRARY CARDS
------------------------------------------------------------------------------ */
.book_card, .book-item {
    background: var(--h-surface);
    border-radius: var(--h-radius-md);
    overflow: hidden;
    border: 1px solid var(--h-border);
    box-shadow: var(--h-shadow-xs);
    transition: var(--h-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.book_card:hover, .book-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--h-shadow-md);
}

.book_cover_wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--h-surface-alt);
    position: relative;
}

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

.book_card:hover .book_cover_wrap img {
    transform: scale(1.05);
}

/* ------------------------------------------------------------------------------
   10. CART & CHECKOUT MOBILE-FIRST TRANSFORMATION
------------------------------------------------------------------------------ */
.shop_cart_table {
    background: var(--h-surface);
    border-radius: var(--h-radius-md);
    box-shadow: var(--h-shadow-xs);
    border: 1px solid var(--h-border);
    overflow: hidden;
}

.shop_cart_table thead th {
    background: var(--h-surface-alt);
    font-weight: 600;
    color: var(--h-text);
    border-bottom: 2px solid var(--h-border);
    padding: 14px 18px;
}

.shop_cart_table tbody td {
    padding: 16px 18px;
    vertical-align: middle;
    border-bottom: 1px solid var(--h-border);
}

/* Touch Quantity Stepper */
.quantity {
    display: inline-flex;
    align-items: center;
    background: var(--h-surface-alt);
    border-radius: var(--h-radius-pill);
    padding: 3px;
    border: 1px solid var(--h-border);
}

.quantity input.minus,
.quantity input.plus {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: var(--h-text);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--h-shadow-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--h-transition);
}

.quantity input.minus:hover,
.quantity input.plus:hover {
    background: var(--h-primary);
    color: #ffffff;
}

.quantity input.qty {
    width: 42px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    color: var(--h-text);
    font-size: 1rem;
}

/* Mobile Cart items card conversion */
@media (max-width: 767px) {
    .shop_cart_table thead {
        display: none;
    }

    .shop_cart_table tbody,
    .shop_cart_table tr,
    .shop_cart_table td {
        display: block;
        width: 100%;
    }

    .shop_cart_table tr {
        margin-bottom: 16px;
        padding: 16px;
        background: #ffffff;
        border-radius: var(--h-radius-md);
        border: 1px solid var(--h-border);
        box-shadow: var(--h-shadow-xs);
        position: relative;
    }

    .shop_cart_table td {
        padding: 6px 0 !important;
        border: none !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .shop_cart_table td.product-thumbnail {
        justify-content: center;
        margin-bottom: 10px;
    }

    .shop_cart_table td.product-thumbnail img {
        width: 90px;
        height: 90px;
        object-fit: cover;
        border-radius: var(--h-radius-sm);
    }

    .shop_cart_table td.product-name {
        font-size: 1.1rem;
        font-weight: 700;
    }

    .shop_cart_table td::before {
        content: attr(data-title);
        font-weight: 600;
        color: var(--h-text-muted);
        font-size: 0.9rem;
    }

    .shop_cart_table td.product-thumbnail::before,
    .shop_cart_table td.product-name::before {
        display: none;
    }

    .shop_cart_table td.product-remove {
        position: absolute;
        top: 12px;
        right: 12px;
        width: auto;
    }
}

/* Order review card */
.order_review {
    background: var(--h-surface);
    border-radius: var(--h-radius-lg);
    padding: 24px;
    box-shadow: var(--h-shadow-sm);
    border: 1px solid var(--h-border);
}

/* ------------------------------------------------------------------------------
   11. FORMS & INPUTS (NO AUTO-ZOOM ON IOS)
------------------------------------------------------------------------------ */
.form-control {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
    border-radius: var(--h-radius-sm);
    border: 1.5px solid var(--h-border);
    padding: 12px 16px;
    color: var(--h-text);
    background-color: #ffffff;
    transition: var(--h-transition);
}

.form-control:focus {
    border-color: var(--h-primary);
    box-shadow: 0 0 0 3px var(--h-primary-light);
    outline: none;
}

textarea.form-control {
    border-radius: var(--h-radius-md);
}

/* ------------------------------------------------------------------------------
   12. CONTACT, ABOUT & FOOTER POLISH
------------------------------------------------------------------------------ */
.contact_wrap {
    background: var(--h-surface);
    border-radius: var(--h-radius-lg);
    padding: 24px;
    border: 1px solid var(--h-border);
    box-shadow: var(--h-shadow-xs);
    transition: var(--h-transition);
}

.contact_wrap:hover {
    transform: translateY(-4px);
    box-shadow: var(--h-shadow-md);
}

.contact_icon i {
    width: 52px;
    height: 52px;
    background: var(--h-primary-light);
    color: var(--h-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 12px;
}

/* Footer Luxury Enhancement */
.footer_dark {
    background: var(--h-dark-gradient) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer_dark .widget_title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer_dark .widget_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--h-gold);
}

.footer_dark p,
.footer_dark .widget_links li a,
.footer_dark .contact_info li p,
.footer_dark .contact_info li a {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.95rem;
    transition: var(--h-transition);
}

.footer_dark .widget_links li a:hover,
.footer_dark .contact_info li a:hover {
    color: var(--h-gold) !important;
    padding-left: 4px;
}

.social_icons li a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: var(--h-transition);
}

.social_icons li a:hover {
    background: var(--h-primary);
    color: #ffffff;
    transform: translateY(-3px);
}

.bottom_footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 24px 0;
}

/* ------------------------------------------------------------------------------
   13. ACCESSIBILITY & ANIMATION PERFORMANCE
------------------------------------------------------------------------------ */
:focus-visible {
    outline: 2px solid var(--h-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ------------------------------------------------------------------------------
   14. LIVE OPEN/CLOSED REAL-TIME STATUS BADGE
------------------------------------------------------------------------------ */
.habana-live-status-container {
    display: inline-flex;
    align-items: center;
}

.habana-live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.habana-live-status-pill.status-open {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.habana-live-status-pill.status-closed {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.habana-live-status-pill.status-open .status-indicator-dot {
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: habanaPulseDot 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.habana-live-status-pill.status-closed .status-indicator-dot {
    background-color: #ef4444;
}

@keyframes habanaPulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Header Specific Pill */
.header-right-actions .habana-live-status-pill {
    padding: 5px 12px;
    font-size: 0.78rem;
    letter-spacing: -0.01em;
}

/* ------------------------------------------------------------------------------
   15. MENU CATEGORIES HORIZONTAL SCROLLING PILLS (MOBILE & DESKTOP)
------------------------------------------------------------------------------ */
.menu-category-nav-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 72px;
    z-index: 990;
    margin-bottom: 30px;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--h-border);
    transition: all 0.3s ease;
}

.menu-category-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 4px 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.menu-category-pills::-webkit-scrollbar {
    display: none;
}

.category-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 9999px;
    background: var(--h-surface-alt);
    color: var(--h-text);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid var(--h-border);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-pill-item:hover {
    color: var(--h-primary);
    background: #f1eae2;
    border-color: rgba(184, 58, 34, 0.25);
    transform: translateY(-1px);
}

.category-pill-item.active {
    background: var(--h-primary-gradient) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(184, 58, 34, 0.35);
}

.category-pill-item .category-count {
    font-size: 0.75rem;
    opacity: 0.82;
    font-weight: 500;
}

.menu-category-section {
    scroll-margin-top: 150px;
}

@media (max-width: 991.98px) {
    .menu-category-nav-wrapper {
        top: 60px;
        margin-bottom: 20px;
        padding: 8px 0;
    }

    .category-pill-item {
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    .menu-category-section {
        scroll-margin-top: 125px;
    }
}

/* ------------------------------------------------------------------------------
   16. FLOATING WHATSAPP BUTTON WITH PREFILLED MESSAGE
------------------------------------------------------------------------------ */
.habana-whatsapp-fab {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 998;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    padding: 10px 20px 10px 16px;
    border-radius: 9999px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.12);
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-sizing: border-box;
}

.habana-whatsapp-fab::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: #25D366;
    opacity: 0.35;
    z-index: -1;
    animation: habanaWaPulse 2.4s infinite cubic-bezier(0.66, 0, 0, 1);
    pointer-events: none;
}

@keyframes habanaWaPulse {
    0% {
        transform: scale(0.96);
        opacity: 0.5;
    }
    70% {
        transform: scale(1.22);
        opacity: 0;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.habana-whatsapp-fab:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.15);
    color: #ffffff !important;
}

.whatsapp-fab-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.whatsapp-fab-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    width: 1em;
    height: 1em;
    text-align: center;
    margin: 0;
    padding: 0;
}

.whatsapp-fab-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #ffffff;
    line-height: 1;
}

/* Adjust default scroll-to-top to avoid overlapping with WhatsApp FAB */
.scrollup {
    bottom: 92px !important;
    right: 26px !important;
    z-index: 995 !important;
}

@media (max-width: 991.98px) {
    .habana-whatsapp-fab {
        bottom: calc(var(--h-mobile-nav-height, 66px) + 16px);
        right: 16px;
        width: 52px !important;
        height: 52px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        box-sizing: border-box !important;
    }

    .habana-whatsapp-fab .whatsapp-fab-icon {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .habana-whatsapp-fab .whatsapp-fab-icon i {
        font-size: 1.7rem !important;
        line-height: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 1em !important;
        height: 1em !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .habana-whatsapp-fab .whatsapp-fab-label {
        display: none !important;
    }

    .scrollup {
        bottom: calc(var(--h-mobile-nav-height, 66px) + 78px) !important;
        right: 16px !important;
    }
}

/* ==============================================================================
 * SECTION: Vos Événements à La Habana (Privatisation & Événements Sur-Mesure)
 * ============================================================================== */
.habana-events-section {
    position: relative;
    background: linear-gradient(145deg, #161211 0%, #201716 50%, #130f0e 100%);
    padding: 90px 0 80px 0;
    overflow: hidden;
    color: #ffffff;
}

.habana-events-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(229, 169, 59, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.habana-events-section::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.habana-events-section .container {
    position: relative;
    z-index: 2;
}

.habana-event-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 169, 59, 0.12);
    color: var(--h-gold, #e5a93b);
    border: 1px solid rgba(229, 169, 59, 0.3);
    border-radius: 30px;
    padding: 7px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(229, 169, 59, 0.1);
}

.habana-event-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 34px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.habana-event-card-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.habana-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(229, 169, 59, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.habana-event-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(229, 169, 59, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.habana-event-card:hover::before {
    opacity: 1;
}

.habana-event-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.habana-event-card:hover .habana-event-icon-box {
    transform: scale(1.08) rotate(3deg);
}

.habana-event-icon-birthday {
    background: rgba(220, 53, 69, 0.18);
    border: 1px solid rgba(220, 53, 69, 0.35);
    color: #ff6b6b;
}

.habana-event-icon-meeting {
    background: rgba(229, 169, 59, 0.18);
    border: 1px solid rgba(229, 169, 59, 0.35);
    color: #ffd166;
}

.habana-event-icon-culture {
    background: rgba(74, 144, 226, 0.18);
    border: 1px solid rgba(74, 144, 226, 0.35);
    color: #70b4ff;
}

.habana-event-pills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.habana-event-pill {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.habana-event-cta-banner {
    background: linear-gradient(135deg, rgba(229, 169, 59, 0.12) 0%, rgba(220, 53, 69, 0.12) 100%), rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(229, 169, 59, 0.25);
    border-radius: 24px;
    padding: 36px 40px;
    margin-top: 50px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767.98px) {
    .habana-events-section {
        padding: 50px 0 40px 0;
    }

    /* 2 event cards per line on mobile */
    .habana-events-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        scroll-padding: 0 12px !important;
        padding: 8px 12px 16px 12px !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        gap: 10px !important;
        scrollbar-width: none !important; /* Firefox */
        -ms-overflow-style: none !important; /* IE */
    }

    .habana-events-row::-webkit-scrollbar {
        display: none !important; /* Chrome / Safari */
    }

    .habana-event-col {
        flex: 0 0 calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        width: calc(50% - 5px) !important;
        scroll-snap-align: start !important;
        margin-bottom: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .habana-event-card {
        padding: 16px 12px !important;
        border-radius: 16px !important;
        min-height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .habana-event-icon-box {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.05rem !important;
        margin-bottom: 8px !important;
    }

    .habana-event-card-body .badge {
        font-size: 0.62rem !important;
        padding: 2px 6px !important;
        margin-bottom: 6px !important;
    }

    .habana-event-card h3 {
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
        line-height: 1.25 !important;
    }

    .habana-event-card p {
        font-size: 0.75rem !important;
        line-height: 1.38 !important;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .habana-event-pills-list {
        margin-top: 10px !important;
        gap: 4px !important;
    }

    .habana-event-pill {
        font-size: 0.64rem !important;
        padding: 2px 6px !important;
    }

    .habana-event-cta-banner {
        padding: 26px 20px;
        text-align: center;
        margin-top: 25px;
    }

    .habana-events-dots {
        gap: 8px;
        margin-top: 4px;
        margin-bottom: 24px;
    }

    .habana-events-dot {
        width: 8px;
        height: 8px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.25);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        outline: none !important;
    }

    .habana-events-dot.active {
        width: 26px;
        background: #e5a93b;
        box-shadow: 0 0 12px rgba(229, 169, 59, 0.55);
    }
}

/* ==========================================================================
   Home Menu Grid: 3 items per line on Mobile (< 576px)
   ========================================================================== */
@media (max-width: 575.98px) {
    .home-menu-row {
        margin-left: -5px !important;
        margin-right: -5px !important;
    }

    .home-menu-col {
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-bottom: 10px !important;
    }

    .home-menu-col .single_product {
        padding: 6px !important;
        border-radius: 10px !important;
        margin-bottom: 0 !important;
        background: var(--h-surface, #ffffff);
        border: 1px solid var(--h-border, rgba(0, 0, 0, 0.08));
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
        display: flex;
        flex-direction: column;
        height: 100%;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .home-menu-col .single_product:active {
        transform: scale(0.98);
    }

    .home-menu-col .menu_product_img {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 8px;
        overflow: hidden;
        background: #f8f9fa;
    }

    .home-menu-col .menu_product_img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .home-menu-col .menu_product_info {
        padding-top: 6px !important;
        padding-bottom: 2px !important;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
    }

    .home-menu-col .menu_product_info .title h5 {
        font-size: 0.76rem !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
        font-weight: 600;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 2.5em; /* Ensures equal uniform height across all 3 cards in each row */
    }

    .home-menu-col .menu_product_info .title h5 a {
        color: #2b2b2b;
    }

    .home-menu-col .menu_product_info p {
        font-size: 0.78rem !important;
        margin-bottom: 0 !important;
        line-height: 1.2 !important;
    }
}

/* ==========================================================================
   Home Dynamic Events (Blog): 2 events per line on Mobile (< 768px)
   ========================================================================== */
@media (max-width: 767.98px) {
    .home-events-row {
        margin-left: -6px !important;
        margin-right: -6px !important;
    }

    .home-event-dynamic-col {
        padding-left: 6px !important;
        padding-right: 6px !important;
        margin-bottom: 12px !important;
    }

    .home-event-dynamic-col .blog_post {
        border-radius: 12px !important;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 100%;
        margin-bottom: 0 !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    }

    .home-event-dynamic-col .blog_img {
        position: relative;
        aspect-ratio: 16 / 11;
        overflow: hidden;
    }

    .home-event-dynamic-col .blog_img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .home-event-dynamic-col .post_date {
        top: 6px !important;
        right: 6px !important;
        padding: 3px 5px !important;
        min-width: 42px !important;
        max-width: 52px !important;
        border-radius: 6px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    }

    .home-event-dynamic-col .post_date strong {
        font-size: 13px !important;
        line-height: 1 !important;
    }

    .home-event-dynamic-col .post_date .post_month {
        font-size: 0.62rem !important;
        margin-top: 1px !important;
        line-height: 1 !important;
    }

    .home-event-dynamic-col .post_date .post_time {
        font-size: 0.58rem !important;
        margin-top: 1px !important;
        line-height: 1 !important;
    }

    .home-event-dynamic-col .blog-recurring-badge {
        top: 6px !important;
        left: 6px !important;
        padding: 2px 6px !important;
        font-size: 0.62rem !important;
        border-radius: 12px !important;
    }

    .home-event-dynamic-col .blog_content {
        padding: 8px 10px !important;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .home-event-dynamic-col .blog_title {
        font-size: 0.82rem !important;
        line-height: 1.3 !important;
        margin-bottom: 3px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 2.6em;
    }

    .home-event-dynamic-col .blog_desc {
        font-size: 0.72rem !important;
        line-height: 1.35 !important;
        color: #666;
        margin-bottom: 0 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.habana-event-btn-wa {
    background: #25D366 !important;
    border: 1px solid #25D366 !important;
    color: #ffffff !important;
    padding: 8px 18px !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    text-transform: none !important;
    letter-spacing: 0.2px !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28) !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}

.habana-event-btn-wa:hover {
    background: #20bd5a !important;
    border-color: #20bd5a !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38) !important;
}

.habana-event-btn-contact {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    padding: 8px 18px !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    text-transform: none !important;
    letter-spacing: 0.2px !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}

.habana-event-btn-contact:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* SweetAlert reCAPTCHA modal styling */
#swal-recaptcha-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 78px;
    margin: 12px 0;
}

@media (max-width: 380px) {
    #swal-recaptcha-wrapper > div {
        transform: scale(0.85);
        transform-origin: center;
    }
}

