/* ==========================================================================
   AstroZiva Pujas — Complete Native Mobile App Experience (<= 991px)
   Clean top app header, sleek 5-tab bottom bar, native-style grouped Menu
   sheet, and comprehensive responsive polish across every public view.
   Desktop (>= 992px) remains untouched.
   ========================================================================== */

:root {
    --az-bottom-nav-h: 58px;
    --az-mobile-header-h: 54px;
}

/* Core mobile & WebView smoothness */
html, body {
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: contain;
    max-width: 100%;
    overflow-x: clip;
}

a, button, input, select, textarea, label, .btn, [role="button"] {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

input, select, textarea {
    scroll-margin-top: 84px;
    scroll-margin-bottom: 150px;
}

/* Smooth modal overlays */
#global-login-modal,
#global-otp-modal {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overscroll-behavior: contain;
}

/* Desktop (>= 992px): Hide mobile-only bottom nav, sheet & top actions */
.az-app-bottom-nav,
.az-app-more-backdrop,
.az-app-more-sheet,
.az-mobile-top-actions {
    display: none !important;
}

/* Auto-hide bottom nav when soft keyboard or modal is open */
html.az-keyboard-active .az-app-bottom-nav,
html.az-modal-open .az-app-bottom-nav {
    transform: translateY(115%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html.az-keyboard-active *:not(.fa-spin):not(.fa-pulse) {
    animation-play-state: paused !important;
}

@media (max-width: 991px) {
    /* Prevent iOS/Android pinch-zoom jump on inputs */
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="number"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }

    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    /* ======================================================================
       1. SLEEK MOBILE APP TOP HEADER (Zero overflow, zero hamburger)
       ====================================================================== */
    .astro-header {
        padding: 0 !important;
        min-height: var(--az-mobile-header-h) !important;
        height: var(--az-mobile-header-h) !important;
        display: flex !important;
        align-items: center !important;
        background: linear-gradient(135deg, #28183a 0%, #1e112c 100%) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 3px 14px rgba(15, 23, 42, 0.22) !important;
    }

    .astro-nav-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 6px 12px !important;
        gap: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        box-sizing: border-box !important;
    }

    .astro-brand-group {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .astro-logo {
        display: inline-flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
    }

    .astro-header-logo {
        height: 32px !important;
        max-height: 32px !important;
        width: auto !important;
    }

    .az-mobile-back-chip {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 4px 9px !important;
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.22) !important;
        flex-shrink: 0 !important;
    }

    /* Completely remove top hamburger (all navigation moves cleanly to bottom) */
    .astro-mobile-toggle {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .astro-nav-right {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    .az-mobile-top-actions {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    .az-mob-wallet-pill {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        background: rgba(254, 240, 138, 0.14) !important;
        border: 1px solid rgba(254, 240, 138, 0.36) !important;
        color: #fef08a !important;
        padding: 5px 9px !important;
        border-radius: 999px !important;
        font-size: 0.74rem !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        line-height: 1.1 !important;
    }

    .az-mob-user-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        background: linear-gradient(135deg, #ea5a0b 0%, #f9ae10 100%) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.22) !important;
        padding: 5px 11px !important;
        border-radius: 999px !important;
        font-size: 0.76rem !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        cursor: pointer !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
        box-shadow: 0 2px 8px rgba(234, 90, 11, 0.34) !important;
    }

    .az-mob-user-dot {
        width: 19px !important;
        height: 19px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.26) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.65rem !important;
    }

    .az-mob-user-label {
        max-width: 68px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .az-global-announcement-bar {
        padding: 6px 12px !important;
        font-size: 0.74rem !important;
        flex-wrap: wrap !important;
        line-height: 1.3 !important;
    }

    /* ======================================================================
       2. NATIVE 5-TAB BOTTOM APP NAVIGATION BAR
       ====================================================================== */
    .az-app-bottom-nav {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        min-height: var(--az-bottom-nav-h) !important;
        padding: 4px 4px calc(5px + env(safe-area-inset-bottom, 0px)) 4px !important;
        background: rgba(255, 255, 255, 0.97) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        border-top: 1px solid #f1e6da !important;
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08) !important;
        z-index: 9990 !important;
        box-sizing: border-box !important;
        transition: transform 0.22s ease, opacity 0.2s ease !important;
        font-family: 'Outfit', sans-serif !important;
    }

    .az-bottom-nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        text-decoration: none !important;
        background: transparent !important;
        border: none !important;
        padding: 4px 2px 2px 2px !important;
        min-height: 48px !important;
        color: #64748b !important;
        cursor: pointer !important;
        position: relative !important;
        transition: color 0.16s ease, transform 0.12s ease !important;
        font-family: 'Outfit', sans-serif !important;
        min-width: 0 !important;
    }

    .az-bottom-nav-item:active {
        transform: scale(0.92) !important;
    }

    .az-bottom-nav-icon {
        width: 40px !important;
        height: 26px !important;
        border-radius: 999px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.04rem !important;
        position: relative !important;
        transition: background-color 0.18s ease, color 0.18s ease !important;
    }

    .az-bottom-nav-label {
        font-size: 0.67rem !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;
        letter-spacing: 0.1px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    .az-bottom-nav-item.active {
        color: #ea580c !important;
    }

    .az-bottom-nav-item.active .az-bottom-nav-icon {
        background: #fff7ed !important;
        color: #ea580c !important;
    }

    .az-bottom-nav-item.active::before {
        content: '' !important;
        position: absolute !important;
        top: -4px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 22px !important;
        height: 3px !important;
        border-radius: 0 0 4px 4px !important;
        background: linear-gradient(90deg, #ea5a0b, #f9ae10) !important;
    }

    .az-bottom-nav-dot {
        position: absolute !important;
        top: 3px !important;
        right: 7px !important;
        width: 6px !important;
        height: 6px !important;
        border-radius: 50% !important;
        background: #ea580c !important;
        box-shadow: 0 0 0 2px #ffffff !important;
    }

    /* ======================================================================
       3. NATIVE SLEEK GROUPED "MORE" BOTTOM SHEET
       ====================================================================== */
    .az-app-more-backdrop {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(15, 23, 42, 0.56) !important;
        z-index: 9995 !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.24s ease, visibility 0.24s ease;
    }

    .az-app-more-backdrop.open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .az-app-more-sheet {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        max-height: 82vh !important;
        max-height: 82dvh !important;
        background: #f8fafc !important;
        border-radius: 22px 22px 0 0 !important;
        box-shadow: 0 -12px 38px rgba(15, 23, 42, 0.24) !important;
        z-index: 9996 !important;
        transform: translateY(104%);
        visibility: hidden;
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
        font-family: 'Outfit', sans-serif !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .az-app-more-sheet.open {
        transform: translateY(0) !important;
        visibility: visible !important;
    }

    .az-sheet-handle {
        width: 38px !important;
        height: 4px !important;
        border-radius: 999px !important;
        background: #cbd5e1 !important;
        margin: 9px auto 2px auto !important;
        flex-shrink: 0 !important;
    }

    .az-sheet-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 16px 10px 16px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e2e8f0 !important;
        flex-shrink: 0 !important;
    }

    .az-sheet-title {
        font-size: 1rem !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .az-sheet-title-badge {
        width: 26px !important;
        height: 26px !important;
        border-radius: 8px !important;
        background: #fff7ed !important;
        color: #ea580c !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.85rem !important;
    }

    .az-sheet-close {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        border: 1px solid #e2e8f0 !important;
        background: #f8fafc !important;
        color: #475569 !important;
        font-size: 0.95rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
    }

    .az-sheet-scroll {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 12px 14px 10px 14px !important;
    }

    /* Compact Single-Row Account Card (Zero Cramped Multi-Line Breakage) */
    .az-sheet-account-card {
        background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%) !important;
        border: 1px solid #fed7aa !important;
        border-radius: 14px !important;
        padding: 11px 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        box-shadow: 0 2px 8px rgba(234, 88, 12, 0.06) !important;
    }

    .az-sheet-user-meta {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .az-sheet-avatar {
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #ea5a0b 0%, #f9ae10 100%) !important;
        color: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.95rem !important;
        flex-shrink: 0 !important;
    }

    .az-sheet-user-text {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .az-sheet-user-eyebrow {
        font-size: 0.66rem !important;
        font-weight: 800 !important;
        color: #ea580c !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        line-height: 1.2 !important;
    }

    .az-sheet-user-name {
        font-size: 0.92rem !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .az-sheet-user-sub {
        font-size: 0.74rem !important;
        font-weight: 500 !important;
        color: #64748b !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin-top: 1px !important;
    }

    .az-sheet-wallet-chip {
        background: #ffffff !important;
        border: 1px solid #fed7aa !important;
        color: #15803d !important;
        font-size: 0.78rem !important;
        font-weight: 800 !important;
        padding: 6px 11px !important;
        border-radius: 999px !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
    }

    .az-sheet-wallet-chip i {
        color: #ea580c !important;
    }

    .az-sheet-login-cta {
        background: linear-gradient(135deg, #ea5a0b 0%, #f9ae10 100%) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 999px !important;
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
        font-weight: 800 !important;
        cursor: pointer !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        box-shadow: 0 3px 10px rgba(234, 90, 11, 0.28) !important;
    }

    .az-sheet-section-lbl {
        font-size: 0.7rem !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.65px !important;
        color: #64748b !important;
        padding: 13px 4px 7px 4px !important;
    }

    /* 4-Col Horizontal Quick Spiritual Tools Strip */
    .az-sheet-tools-strip {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        padding: 10px 6px !important;
    }

    .az-sheet-tool-pill {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        text-decoration: none !important;
        color: #1e293b !important;
        padding: 4px 2px !important;
        border-radius: 10px !important;
        min-width: 0 !important;
    }

    .az-sheet-tool-pill.active {
        background: #fff7ed !important;
        color: #ea580c !important;
    }

    .az-tool-icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.92rem !important;
    }

    .az-sheet-tool-pill span:last-child {
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    /* Grouped App Navigation List Card */
    .az-sheet-list-card {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    .az-sheet-list-row {
        display: flex !important;
        align-items: center !important;
        gap: 11px !important;
        padding: 10px 13px !important;
        text-decoration: none !important;
        color: #0f172a !important;
        border-bottom: 1px solid #f1f5f9 !important;
        min-height: 48px !important;
        box-sizing: border-box !important;
        transition: background-color 0.15s ease !important;
    }

    .az-sheet-list-row:last-child {
        border-bottom: none !important;
    }

    .az-sheet-list-row:active,
    .az-sheet-list-row.active {
        background: #fff7ed !important;
    }

    .az-list-icon {
        width: 34px !important;
        height: 34px !important;
        border-radius: 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.92rem !important;
        flex-shrink: 0 !important;
    }

    .az-list-text {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .az-list-text strong {
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .az-list-text small {
        font-size: 0.72rem !important;
        font-weight: 500 !important;
        color: #64748b !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .az-list-chev {
        color: #94a3b8 !important;
        font-size: 0.76rem !important;
        flex-shrink: 0 !important;
    }

    .az-sheet-footer-actions {
        display: flex !important;
        gap: 8px !important;
        padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px)) 14px !important;
        background: #ffffff !important;
        border-top: 1px solid #e2e8f0 !important;
        flex-shrink: 0 !important;
    }

    .az-sheet-footer-actions a {
        flex: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        min-height: 40px !important;
        padding: 8px 10px !important;
        border-radius: 10px !important;
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    .az-sheet-action-neutral {
        background: #f1f5f9 !important;
        color: #334155 !important;
        border: 1px solid #cbd5e1 !important;
    }

    .az-sheet-action-wa {
        background: #ecfdf5 !important;
        color: #047857 !important;
        border: 1px solid #a7f3d0 !important;
    }

    .az-sheet-action-logout {
        background: #fef2f2 !important;
        color: #dc2626 !important;
        border: 1px solid #fecaca !important;
    }

    /* ======================================================================
       4. ZERO-OVERLAP STICKY BOOKING BAR LAYERING & FOOTER CLEARANCE
       ====================================================================== */
    .mobile-bottom-bar,
    .kashi-mobile-fixed-bar,
    .pc-floating-sankalp-bar,
    .chadhawa-mobile-bar,
    .az-floating-bottom-bar {
        z-index: 9985 !important;
    }

    html.az-has-sticky-cta .mobile-bottom-bar,
    html.az-has-sticky-cta .kashi-mobile-fixed-bar,
    html.az-has-sticky-cta .pc-floating-sankalp-bar,
    html.az-has-sticky-cta .chadhawa-mobile-bar,
    html.az-has-sticky-cta .az-floating-bottom-bar.is-visible {
        bottom: calc(var(--az-bottom-nav-h) + env(safe-area-inset-bottom, 0px)) !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.1) !important;
    }

    .astro-universal-footer {
        padding-top: 34px !important;
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    }

    html.az-has-sticky-cta .astro-universal-footer {
        padding-bottom: calc(156px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* ======================================================================
       5. FULL SITE MOBILE-APP RESPONSIVE POLISH (HOME, CATALOG, DETAILS, DASH)
       ====================================================================== */

    /* Sticky sub-navs align cleanly below 54px compact mobile header */
    .az-intent-bar-section,
    .all-pujas-toolbar-section,
    .pdp-subnav {
        top: var(--az-mobile-header-h) !important;
    }

    .az-deity-pills,
    .all-pujas-filter-pills,
    .tabs-nav-astro,
    .pdp-subnav-tabs {
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .az-deity-pills::-webkit-scrollbar,
    .all-pujas-filter-pills::-webkit-scrollbar,
    .tabs-nav-astro::-webkit-scrollbar,
    .pdp-subnav-tabs::-webkit-scrollbar {
        display: none !important;
    }

    /* Home Hero Mobile App Card Look */
    .hero-section {
        padding: 18px 0 22px 0 !important;
    }

    .hero-badge-pill {
        font-size: 0.72rem !important;
        padding: 5px 11px !important;
        margin-bottom: 10px !important;
    }

    .hero-description-text {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        margin-bottom: 14px !important;
    }

    .hero-action-buttons {
        display: flex !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
    }

    .hero-action-buttons a,
    .hero-action-buttons button {
        min-height: 44px !important;
    }

    .hero-spotlight-wrapper {
        margin-top: 6px !important;
    }

    .hero-spotlight-card {
        border-radius: 18px !important;
    }

    .hero-spotlight-card .puja-img-wrapper {
        height: 168px !important;
    }

    .hero-spotlight-card .puja-card-content {
        padding: 14px 15px 16px 15px !important;
    }

    .hero-spotlight-card .puja-participate-btn {
        min-height: 40px !important;
        padding: 8px 15px !important;
    }

    .az-hero-trust-bar {
        gap: 6px !important;
        padding-top: 10px !important;
    }

    .az-hero-trust-item {
        font-size: 0.72rem !important;
        padding: 5px 10px !important;
    }

    /* Clean Unified Simple Puja Card Sizing on Mobile */
    .simple-puja-card {
        border-radius: 16px !important;
    }

    .simple-puja-card:active,
    .az-puja-card:active,
    .az-home-chadhawa-card:active {
        transform: scale(0.985) !important;
    }

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

    .simple-card-title {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
        min-height: auto !important;
    }

    .simple-card-meta-list {
        gap: 6px !important;
        margin-bottom: 10px !important;
    }

    .simple-card-meta-row {
        font-size: 0.82rem !important;
    }

    .simple-card-benefit-box {
        height: auto !important;
        min-height: 42px !important;
        max-height: none !important;
        padding: 8px 10px !important;
        margin: 2px 0 12px 0 !important;
        font-size: 0.79rem !important;
    }

    .simple-card-btn {
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 10px !important;
        font-size: 0.9rem !important;
    }

    /* All Pujas & Chadhawa Toolbar Compact Mobile Stack */
    .all-pujas-toolbar-section {
        padding: 14px 0 12px 0 !important;
    }

    .all-pujas-header-row {
        gap: 10px !important;
        margin-bottom: 12px !important;
    }

    .all-pujas-clean-title {
        font-size: 1.38rem !important;
    }

    .all-pujas-clean-sub {
        font-size: 0.82rem !important;
    }

    .all-pujas-clean-search {
        max-width: 100% !important;
    }

    .all-pujas-toolbar-flex {
        padding-top: 10px !important;
        gap: 10px !important;
    }

    .all-pujas-grid-section {
        padding: 20px 0 36px 0 !important;
    }

    /* Reviews Horizontal Snap Slider on Home / Mobile Cards */
    .az-reviews-slider-wrapper {
        padding: 0 !important;
    }

    .az-reviews-slider {
        gap: 14px !important;
        margin-top: 18px !important;
    }

    /* Dashboard Mobile App Layout */
    .dash-container {
        padding: 0 12px 24px 12px !important;
        margin-top: 12px !important;
    }

    .dash-hero-banner {
        padding: 18px 14px !important;
        border-radius: 16px !important;
        gap: 14px !important;
    }

    .hero-stats-row {
        gap: 8px !important;
        width: 100% !important;
    }

    .hero-stat-chip {
        flex: 1 1 calc(50% - 8px) !important;
        min-width: 0 !important;
        padding: 10px 8px !important;
    }

    /* Native Bottom-Sheet Feel for Login, OTP & Booking Modals on Mobile */
    #global-login-modal,
    #global-otp-modal {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    #global-login-modal > div,
    #global-otp-modal > div {
        border-radius: 22px 22px 0 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        max-height: 90dvh !important;
        overflow-y: auto !important;
        padding: 22px 18px calc(22px + env(safe-area-inset-bottom, 0px)) 18px !important;
        border-bottom: none !important;
    }

    .chadhawa-modal {
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 88dvh !important;
        border-radius: 22px 22px 0 0 !important;
        padding: 22px 16px calc(20px + env(safe-area-inset-bottom, 0px)) 16px !important;
        transform: translateY(100%) !important;
    }

    .chadhawa-modal.open {
        transform: translateY(0) !important;
    }
}

@media (max-width: 640px) {
    /* Hide oversized hero slider side arrows on small screens (swipe + dots work) */
    .hero-slider-arrow {
        display: none !important;
    }

    .hero-action-buttons a,
    .hero-action-buttons button {
        flex: 1 1 100% !important;
        justify-content: center !important;
    }

    /* Horizontal Snap Swipe for Chadhawa Carousel on Phones */
    .az-home-chadhawa-card {
        flex: 0 0 82% !important;
        min-width: 256px !important;
        max-width: 300px !important;
    }

    .az-home-chadhawa-card .az-chadhawa-card-media {
        height: 162px !important;
    }

    /* Clean 2x2 Trust Pillars grid on phones */
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .trust-card {
        padding: 14px 10px !important;
        border-radius: 14px !important;
    }

    .trust-card-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.05rem !important;
        margin-bottom: 8px !important;
    }

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

    .trust-card-desc {
        font-size: 0.74rem !important;
        line-height: 1.35 !important;
    }

    /* Track Strip Full-Width Mobile Card */
    .az-track-strip {
        padding: 18px 14px !important;
        border-radius: 16px !important;
        margin: 24px 0 6px 0 !important;
        gap: 14px !important;
    }
}
