/* ==========================================================================
   KHAU KA! — PUBLIC LIVING MAHARASHTRIAN VILLAGE & RESTAURANT MENU
   Mobile-First Responsive Rebuild (v10.0.0)
   Tested across 320px, 360px, 375px, 390px, 412px, 768px, 1366px, 1920px+
   Zero Image Overflow • Zero Horizontal Scroll • Single Source of Truth
   ========================================================================== */

/* --- 1. CSS VARIABLES & SYSTEM RESET --- */
:root {
    --theme-terracotta: #c84b1a;
    --theme-terracotta-dark: #9e360f;
    --theme-terracotta-light: #e0602d;
    --theme-saffron: #f57c00;
    --theme-gold: #e6a817;
    --theme-gold-light: #ffd54f;
    --theme-clay-dark: #24140e;
    --theme-clay-medium: #4e342e;
    --theme-clay-light: #d7ccc8;
    --theme-cream-bg: #faf6f0;
    --theme-cream-card: #ffffff;
    --theme-text-dark: #24140e;
    --theme-text-muted: #6d4c41;
    --status-veg: #2e7d32;
    --status-veg-light: #e8f5e9;

    --font-primary: 'Mukta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Yatra One', cursive;
    --font-serif: 'Lora', serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-soft: 0 4px 16px rgba(36, 20, 14, 0.08);
    --shadow-card: 0 4px 14px rgba(36, 20, 14, 0.12);
    --shadow-elevated: 0 8px 24px rgba(36, 20, 14, 0.2);

    /* Safe Area Insets */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--theme-cream-bg);
    color: var(--theme-text-dark);
    font-family: var(--font-primary);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select {
    font-family: inherit;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
    user-select: none;
}

/* ==========================================================================
   2. EXPERIENCE A: CINEMATIC LIVING VILLAGE WELCOME SCREEN
   ========================================================================== */
#village-screensaver-view {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 1000;
    background: #1a0f08;
    overflow: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

#village-screensaver-view.hidden-menu-active {
    opacity: 0;
    visibility: hidden;
    pointer-events: none !important;
    transform: scale(1.03);
    display: none !important;
}

#village-world-viewport {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Master Living Village Art */
.village-master-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    z-index: 1;
    filter: brightness(0.96) saturate(1.08);
    animation: masterArtBreathe 45s ease-in-out infinite alternate;
}

@keyframes masterArtBreathe {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.03); }
}

/* Atmospheric Sunset Sky Gradient */
.village-sky-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(180deg, 
        rgba(230, 81, 0, 0.35) 0%, 
        rgba(255, 143, 0, 0.20) 40%, 
        rgba(255, 183, 77, 0.10) 75%, 
        transparent 100%);
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 2;
    animation: sunsetSkyGlow 14s ease-in-out infinite alternate;
}

@keyframes sunsetSkyGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Setting Sun behind Sahyadri Hills */
.village-setting-sun {
    position: absolute;
    top: 18%;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(70px, 18vw, 105px);
    height: clamp(70px, 18vw, 105px);
    border-radius: 50%;
    background: radial-gradient(circle, #fff8e1 15%, #ffb74d 45%, #ff7043 75%, transparent 100%);
    box-shadow: 0 0 clamp(35px, 10vw, 65px) rgba(255, 183, 77, 0.8), 0 0 clamp(60px, 20vw, 110px) rgba(230, 81, 0, 0.5);
    filter: blur(2px);
    pointer-events: none;
    z-index: 2;
    animation: sunPulse 8s ease-in-out infinite alternate;
}

@keyframes sunPulse {
    0% { transform: translateX(-50%) scale(0.96); opacity: 0.85; }
    100% { transform: translateX(-50%) scale(1.04); opacity: 1; }
}

/* Soft Volumetric Drifting Clouds */
.village-cloud-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 35%;
    pointer-events: none;
    z-index: 3;
    opacity: 0.4;
}

.village-cloud {
    position: absolute;
    background: radial-gradient(ellipse at center, rgba(255, 243, 224, 0.65) 0%, rgba(255, 183, 77, 0.25) 55%, transparent 80%);
    border-radius: 50%;
    filter: blur(12px);
    mix-blend-mode: screen;
}

.cloud-1 { width: clamp(200px, 45vw, 360px); height: 80px; top: 6%; left: -5%; animation: cloudDrift 90s linear infinite; }
.cloud-2 { width: clamp(260px, 60vw, 440px); height: 100px; top: 14%; left: 35%; animation: cloudDrift 120s linear infinite; }
.cloud-3 { width: clamp(160px, 35vw, 280px); height: 70px; top: 3%; left: 75%; animation: cloudDrift 75s linear infinite; }

@keyframes cloudDrift {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Flying Birds Flocks */
.village-birds-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
}

.bird-flock {
    position: absolute;
    display: flex;
    gap: clamp(8px, 2.5vw, 14px);
}

.flock-1 {
    top: 12%;
    left: 105%;
    animation: birdsFlyWest 26s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.flock-2 {
    top: 7%;
    left: -25%;
    transform: scale(0.65) scaleX(-1);
    animation: birdsFlyEast 34s cubic-bezier(0.4, 0, 0.2, 1) infinite 10s;
}

.bird-silhouette {
    width: clamp(14px, 3.5vw, 20px);
    height: clamp(10px, 2.5vw, 14px);
    fill: #2e1a12;
    opacity: 0.85;
    animation: birdWingFlap 0.75s ease-in-out infinite alternate;
}

@keyframes birdWingFlap {
    0% { transform: scaleY(1); }
    100% { transform: scaleY(0.45) translateY(2px); }
}

@keyframes birdsFlyWest {
    0% { transform: translate(0, 0) scale(0.8); left: 105%; }
    50% { transform: translate(-60vw, 8px) scale(0.8); }
    100% { transform: translate(-130vw, -6px) scale(0.8); left: 105%; }
}

@keyframes birdsFlyEast {
    0% { transform: translate(0, 0) scale(0.6) scaleX(-1); left: -25%; }
    50% { transform: translate(65vw, 8px) scale(0.6) scaleX(-1); }
    100% { transform: translate(140vw, -6px) scale(0.6) scaleX(-1); left: -25%; }
}

/* Kitchen Hearth Smoke Rising */
.smoke-emitter {
    position: absolute;
    width: 16px;
    height: 16px;
    pointer-events: none;
    z-index: 5;
    top: 55%;
    left: 82%;
}

.smoke-puff {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 236, 179, 0.45) 0%, rgba(200, 180, 160, 0.16) 60%, transparent 80%);
    filter: blur(4px);
    opacity: 0;
    animation: smokeRise 5s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
}

.smoke-puff:nth-child(2) { animation-delay: 1.6s; }
.smoke-puff:nth-child(3) { animation-delay: 3.2s; }

@keyframes smokeRise {
    0% { transform: translate(0, 0) scale(0.6); opacity: 0; }
    20% { opacity: 0.6; }
    60% { transform: translate(-14px, -30px) scale(2.0); opacity: 0.3; }
    100% { transform: translate(-28px, -60px) scale(3.5); opacity: 0; }
}

/* Twilight Fireflies (काजवे) */
.village-fireflies-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 6;
}

.firefly-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ffeb3b;
    box-shadow: 0 0 6px #ffeb3b, 0 0 12px #ff9800;
    animation: fireflyFloat 8s ease-in-out infinite;
}

.ff-1 { top: 68%; left: 18%; animation-duration: 7s; }
.ff-2 { top: 62%; left: 45%; animation-duration: 9s; animation-delay: 2s; }
.ff-3 { top: 72%; left: 75%; animation-duration: 8s; animation-delay: 4s; }
.ff-4 { top: 78%; left: 30%; animation-duration: 10s; animation-delay: 1s; }
.ff-5 { top: 58%; left: 85%; animation-duration: 7.5s; animation-delay: 3s; }

@keyframes fireflyFloat {
    0% { transform: translate(0, 0) scale(0.3); opacity: 0.1; }
    50% { transform: translate(12px, -15px) scale(1.1); opacity: 0.95; }
    100% { transform: translate(-8px, -30px) scale(0.4); opacity: 0.1; }
}

/* Drifting Sunset Leaves */
.village-drifting-leaf {
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
    z-index: 7;
    opacity: 0;
}

.leaf-1 { top: 35%; left: -5%; animation: leafTumble 14s cubic-bezier(0.2, 0.6, 0.4, 1) infinite; }
.leaf-2 { top: 55%; left: -5%; animation: leafTumble 17s cubic-bezier(0.2, 0.6, 0.4, 1) infinite 6s; }

@keyframes leafTumble {
    0% { transform: translate(0, 0) rotate(0deg) scale(0.55); opacity: 0; }
    15% { opacity: 0.85; }
    50% { transform: translate(50vw, 25px) rotate(180deg) scale(0.75); opacity: 0.85; }
    85% { opacity: 0.5; }
    100% { transform: translate(105vw, 60px) rotate(360deg) scale(0.55); opacity: 0; }
}

/* ==========================================================================
   3. WELCOME SCREEN UI & CLEAN COMPOSITION
   ========================================================================== */
.village-cinematic-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: calc(var(--safe-top) + 10px) calc(var(--safe-right) + 12px) calc(var(--safe-bottom) + 16px) calc(var(--safe-left) + 12px);
    overflow: hidden;
    pointer-events: none;
}

/* Top Bar: Clean Branding + Sound Button */
.village-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 900px;
    pointer-events: auto;
    gap: 0.5rem;
}

.village-brand-pill {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(36, 20, 14, 0.88);
    border: 1.5px solid rgba(230, 168, 23, 0.7);
    border-radius: var(--radius-full);
    padding: 0.35rem 0.85rem 0.35rem 0.45rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.village-brand-logo {
    width: clamp(32px, 8vw, 38px);
    height: clamp(32px, 8vw, 38px);
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--theme-gold);
}

.village-brand-text {
    display: flex;
    flex-direction: column;
}

.village-brand-title {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 3.2vw, 1.15rem);
    color: var(--theme-gold-light);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.village-brand-sub {
    font-size: clamp(0.68rem, 2vw, 0.75rem);
    color: #efebe9;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Sound Button: Touch-Friendly (>=44px) */
.village-sound-btn {
    background: rgba(36, 20, 14, 0.88);
    border: 1.5px solid rgba(230, 168, 23, 0.7);
    color: var(--theme-gold-light);
    padding: 0.45rem 0.85rem;
    min-height: 44px;
    min-width: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: clamp(0.78rem, 2.5vw, 0.88rem);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: all 0.2s ease;
}

.village-sound-btn:hover, .village-sound-btn:focus-visible {
    background: rgba(58, 30, 20, 0.95);
    border-color: var(--theme-gold-light);
    transform: translateY(-1px);
}

.village-sound-btn.sound-active {
    background: linear-gradient(135deg, var(--theme-terracotta), var(--theme-terracotta-dark));
    color: #ffffff;
    border-color: var(--theme-gold-light);
}

/* Welcome Center Card (Anchored gracefully at the bottom, perfectly responsive) */
.village-welcome-card {
    width: 100%;
    max-width: min(92%, 460px);
    margin: auto 0 0 0;
    pointer-events: auto;
    animation: welcomeCardSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes welcomeCardSlideUp {
    0% { opacity: 0; transform: translateY(24px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1.0); }
}

.welcome-card-inner {
    background: rgba(30, 16, 10, 0.84);
    border: 1.5px solid rgba(230, 168, 23, 0.65);
    border-radius: var(--radius-lg);
    padding: clamp(1rem, 3.8vw, 1.5rem) clamp(0.9rem, 3.2vw, 1.4rem);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(200, 75, 26, 0.25);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.welcome-badge {
    background: rgba(200, 75, 26, 0.28);
    border: 1px solid rgba(255, 213, 79, 0.6);
    color: var(--theme-gold-light);
    font-size: clamp(0.72rem, 2.4vw, 0.82rem);
    font-weight: 700;
    padding: 0.22rem 0.75rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.4px;
    margin-bottom: 0.5rem;
}

.village-title-main {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 5.8vw, 2.3rem);
    color: #fff9e6;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 183, 77, 0.5);
    line-height: 1.15;
    margin-bottom: 0.2rem;
}

.village-title-sub {
    font-size: clamp(0.95rem, 3.4vw, 1.15rem);
    color: #ffe0b2;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.3;
    margin-bottom: 0.35rem;
}

.village-tagline-text {
    font-size: clamp(0.78rem, 2.6vw, 0.88rem);
    color: #d7ccc8;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: clamp(0.75rem, 2.5vw, 1.1rem);
}

/* Handcrafted Terracotta Signboard CTA Button (Touch target >= 50px) */
.village-wooden-sign-cta {
    background: linear-gradient(135deg, var(--theme-terracotta) 0%, #a7320c 100%);
    border: 2px solid var(--theme-gold-light);
    border-radius: var(--radius-md);
    color: #ffffff;
    padding: clamp(0.6rem, 2.2vw, 0.85rem) clamp(1.2rem, 4vw, 2rem);
    min-height: 50px;
    width: min(100%, 320px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 112, 67, 0.4);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.village-wooden-sign-cta:hover, .village-wooden-sign-cta:focus-visible {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 28px rgba(255, 143, 0, 0.6);
    border-color: #ffffff;
}

.village-wooden-sign-cta:active {
    transform: translateY(1px) scale(0.99);
}

.cta-board-title {
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 3.8vw, 1.35rem);
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.15;
}

.cta-board-subtitle {
    font-size: clamp(0.68rem, 2.2vw, 0.78rem);
    color: #ffe0b2;
    opacity: 0.95;
    margin-top: 2px;
}

/* ==========================================================================
   4. EXPERIENCE B: RESTAURANT ORDERING MENU
   ========================================================================== */
#public-menu-view {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: calc(var(--safe-bottom) + 90px);
    background-color: var(--theme-cream-bg);
}

/* Sticky Top Menu Header */
.public-menu-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1.5px solid rgba(109, 76, 65, 0.12);
    box-shadow: 0 2px 10px rgba(36, 20, 14, 0.05);
    padding-top: var(--safe-top);
}

.menu-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.85rem;
    gap: 0.4rem;
}

.menu-brand-btn {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: transparent;
    text-align: left;
    min-height: 44px;
}

.menu-brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--theme-terracotta);
    flex-shrink: 0;
}

.menu-brand-info {
    display: flex;
    flex-direction: column;
}

.menu-brand-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--theme-terracotta);
    line-height: 1.1;
}

.menu-brand-sub {
    font-size: 0.68rem;
    color: var(--theme-text-muted);
    white-space: nowrap;
}

.header-action-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-header-qr, .btn-return-village {
    background: var(--theme-cream-bg);
    border: 1px solid rgba(109, 76, 65, 0.2);
    color: var(--theme-clay-medium);
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 600;
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.btn-header-qr:hover, .btn-return-village:hover {
    background: #efebe9;
    color: var(--theme-clay-dark);
}

/* Cart Button in Header */
.btn-header-cart {
    background: var(--theme-terracotta);
    color: #ffffff;
    padding: 0.38rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 700;
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 3px 8px rgba(200, 75, 26, 0.3);
    transition: transform 0.2s ease;
}

.btn-header-cart:active {
    transform: scale(0.96);
}

.cart-count-badge {
    background: #ffffff;
    color: var(--theme-terracotta);
    border-radius: var(--radius-full);
    padding: 0.1rem 0.45rem;
    font-size: 0.76rem;
    font-weight: 800;
    min-width: 20px;
    text-align: center;
}

/* Controls Bar (Search + Categories) */
.menu-controls-bar {
    padding: 0.35rem 0.85rem 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-input-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 0.85rem;
    font-size: 0.95rem;
    color: #8d6e63;
    pointer-events: none;
}

#menu-search-input {
    width: 100%;
    background: #f5f0e8;
    border: 1.5px solid transparent;
    border-radius: var(--radius-full);
    padding: 0.55rem 2.2rem 0.55rem 2.4rem;
    font-size: 0.92rem;
    color: var(--theme-text-dark);
    min-height: 42px;
    transition: all 0.2s ease;
}

#menu-search-input:focus {
    background: #ffffff;
    border-color: var(--theme-terracotta);
    box-shadow: 0 0 0 3px rgba(200, 75, 26, 0.15);
}

.search-clear-btn {
    position: absolute;
    right: 0.75rem;
    background: #d7ccc8;
    color: #4e342e;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

/* Category Pills Bar (Horizontal Scroll on Mobile) */
.category-pills-scroll {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

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

.category-pill {
    background: #f5f0e8;
    border: 1.5px solid rgba(109, 76, 65, 0.15);
    color: var(--theme-clay-medium);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.category-pill:hover {
    background: #ede6da;
    color: var(--theme-clay-dark);
}

.category-pill.active {
    background: var(--theme-terracotta);
    color: #ffffff;
    border-color: var(--theme-terracotta);
    box-shadow: 0 3px 8px rgba(200, 75, 26, 0.25);
}

.pill-count {
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    border-radius: var(--radius-full);
    padding: 0.05rem 0.38rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.category-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ==========================================================================
   5. MENU CONTAINER & FOOD CARDS
   ========================================================================== */
.menu-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem;
}

.category-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 3.8vw, 1.45rem);
    color: var(--theme-clay-dark);
    margin: 1.2rem 0 0.75rem 0;
    padding-bottom: 0.35rem;
    border-bottom: 2px dashed rgba(200, 75, 26, 0.25);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-section-title:first-of-type {
    margin-top: 0.4rem;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}

@media (min-width: 600px) {
    .food-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1rem;
    }
}

/* Modern Responsive Food Card */
.food-card {
    background: #ffffff;
    border: 1.5px solid rgba(109, 76, 65, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.food-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(200, 75, 26, 0.3);
}

.food-card-img-wrap {
    position: relative;
    width: 100%;
    height: clamp(115px, 28vw, 160px);
    background: #ede6da;
    overflow: hidden;
    cursor: pointer;
}

.food-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.food-card:hover .food-card-img {
    transform: scale(1.04);
}

.food-badge-veg {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ffffff;
    border: 1.5px solid var(--status-veg);
    border-radius: 4px;
    padding: 2.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.veg-dot {
    width: 8px;
    height: 8px;
    background: var(--status-veg);
    border-radius: 50%;
}

.food-badge-stock {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(36, 20, 14, 0.85);
    color: #fff9e6;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.food-badge-stock.out-of-stock {
    background: rgba(183, 28, 28, 0.9);
    color: #ffffff;
}

.food-card-body {
    padding: 0.65rem 0.75rem 0.75rem 0.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.food-card-title {
    font-size: clamp(0.92rem, 2.8vw, 1.05rem);
    font-weight: 700;
    color: var(--theme-clay-dark);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.food-card-desc {
    font-size: 0.74rem;
    color: var(--theme-text-muted);
    line-height: 1.35;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.food-card-rating-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

.star-rating {
    color: #f57f17;
    font-size: 0.78rem;
    letter-spacing: -1px;
}

.rating-score {
    font-size: 0.72rem;
    color: #795548;
    font-weight: 700;
}

.btn-card-details {
    background: transparent;
    color: var(--theme-terracotta);
    font-size: 0.72rem;
    font-weight: 700;
    text-align: left;
    padding: 0;
    margin-bottom: 0.65rem;
    align-self: flex-start;
}

.btn-card-details:hover {
    text-decoration: underline;
}

.food-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(109, 76, 65, 0.08);
}

.food-card-price {
    font-size: clamp(0.95rem, 3.2vw, 1.15rem);
    font-weight: 800;
    color: var(--theme-terracotta);
}

/* Card Add Button (Touch Target >= 44px) */
.btn-card-add {
    background: var(--theme-terracotta);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.4rem 0.85rem;
    min-height: 38px;
    border-radius: var(--radius-md);
    box-shadow: 0 3px 8px rgba(200, 75, 26, 0.25);
    transition: all 0.2s ease;
}

.btn-card-add:hover {
    background: var(--theme-terracotta-dark);
}

.btn-card-add:active {
    transform: scale(0.96);
}

/* Stepper Quantity Control in Card */
.card-qty-stepper {
    display: flex;
    align-items: center;
    background: #f5f0e8;
    border: 1.5px solid var(--theme-terracotta);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 38px;
}

.btn-stepper {
    background: transparent;
    color: var(--theme-terracotta);
    font-size: 1rem;
    font-weight: 800;
    width: 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.btn-stepper:hover {
    background: rgba(200, 75, 26, 0.15);
}

.stepper-val {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--theme-clay-dark);
    padding: 0 0.45rem;
    min-width: 22px;
    text-align: center;
}

/* ==========================================================================
   6. FLOATING STICKY CART BAR (MOBILE-FIRST)
   ========================================================================== */
.floating-cart-bar {
    position: fixed;
    bottom: calc(var(--safe-bottom) + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: min(92%, 500px);
    background: linear-gradient(135deg, var(--theme-clay-dark) 0%, #3e2723 100%);
    border: 1.5px solid var(--theme-gold-light);
    border-radius: var(--radius-full);
    padding: 0.65rem 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(200, 75, 26, 0.3);
    z-index: 500;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-cart-bar.visible {
    transform: translateX(-50%) translateY(0);
}

.floating-cart-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.floating-cart-badge {
    background: var(--theme-terracotta);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cart-summary {
    font-size: 0.85rem;
    color: #efebe9;
    font-weight: 600;
}

.floating-cart-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.floating-cart-total {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--theme-gold-light);
}

.floating-cart-btn {
    background: var(--theme-terracotta);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   7. SLIDE-OUT CART DRAWER
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 88vh;
    max-height: 88dvh;
    background: #ffffff;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding-bottom: var(--safe-bottom);
}

@media (min-width: 600px) {
    .cart-drawer {
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: 420px;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0;
        border-top-left-radius: var(--radius-lg);
        border-bottom-left-radius: var(--radius-lg);
        transform: translateX(100%);
    }
}

.cart-drawer.active {
    transform: translateY(0);
}

@media (min-width: 600px) {
    .cart-drawer.active {
        transform: translateX(0);
    }
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    border-bottom: 1.5px solid rgba(109, 76, 65, 0.1);
    background: #fdfbf7;
}

.cart-drawer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--theme-clay-dark);
}

.cart-items-scroll {
    padding: 0.85rem 1.2rem;
    overflow-y: auto;
    flex-grow: 1;
    max-height: 45vh;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(109, 76, 65, 0.08);
}

.cart-item-info {
    flex-grow: 1;
    margin-right: 0.85rem;
}

.cart-item-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--theme-clay-dark);
}

.cart-item-price {
    font-size: 0.8rem;
    color: var(--theme-terracotta);
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-drawer-footer {
    padding: 1rem 1.2rem;
    border-top: 1.5px solid rgba(109, 76, 65, 0.1);
    background: #fdfbf7;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.cart-total-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--theme-clay-dark);
}

.cart-total-amt {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--theme-terracotta);
}

.cart-form-group {
    margin-bottom: 0.65rem;
}

.cart-input-label {
    display: block;
    font-size: 0.76rem;
    color: var(--theme-clay-medium);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.cart-customer-input {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid rgba(109, 76, 65, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    color: var(--theme-text-dark);
    min-height: 42px;
}

.cart-customer-input:focus {
    border-color: var(--theme-terracotta);
    outline: none;
}

.btn-place-order {
    width: 100%;
    background: linear-gradient(135deg, var(--theme-terracotta) 0%, var(--theme-terracotta-dark) 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    min-height: 48px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(200, 75, 26, 0.35);
    transition: all 0.2s ease;
}

.btn-place-order:hover {
    filter: brightness(1.08);
}

.btn-place-order:active {
    transform: scale(0.98);
}

/* ==========================================================================
   8. MODALS & POPUPS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.detail-modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    border: 1.5px solid rgba(230, 168, 23, 0.5);
}

.btn-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(36, 20, 14, 0.8);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    z-index: 10;
    cursor: pointer;
}

.modal-img-wrap {
    width: 100%;
    height: 200px;
    background: #ede6da;
    position: relative;
}

.modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 1.2rem;
}

.modal-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.85rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--theme-clay-dark);
}

.modal-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--theme-terracotta);
}

.detail-section {
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(109, 76, 65, 0.08);
}

.detail-section-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--theme-terracotta);
    margin-bottom: 0.2rem;
}

.detail-section-text {
    font-size: 0.85rem;
    color: var(--theme-clay-medium);
    line-height: 1.4;
}

/* Payment QR Modal Body */
.payment-modal-content {
    padding: 1.5rem;
    text-align: center;
}

.payment-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-badge-pill {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.2rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
}

.payment-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--theme-clay-dark);
    margin-bottom: 0.2rem;
}

.payment-subtitle {
    font-size: 0.85rem;
    color: var(--theme-text-muted);
    margin-bottom: 1rem;
}

.payment-qr-frame {
    width: 210px;
    height: 210px;
    background: #ffffff;
    border: 2px solid var(--theme-gold);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    margin-bottom: 0.5rem;
}

.payment-qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.payment-qr-caption {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--theme-clay-medium);
    margin-bottom: 1rem;
}

.payment-info-box {
    width: 100%;
    background: #faf6f0;
    border-radius: var(--radius-md);
    padding: 0.75rem;
    font-size: 0.82rem;
}

.payment-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

/* ==========================================================================
   9. SPINNER & EMPTY STATE
   ========================================================================== */
.menu-loading-spinner {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--theme-clay-medium);
}

.spinner-icon {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    animation: gentleBob 2s ease-in-out infinite alternate;
}

@keyframes gentleBob {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.spinner-text {
    font-weight: 700;
    font-size: 1.05rem;
}

/* ==========================================================================
   10. REDUCED MOTION PREFERENCE (ACCESSIBILITY)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   11. TOKEN & MANUAL PAYMENT CONFIRMATION FLOW (KHAU KA)
   ========================================================================== */
.payment-amount-hero {
    background: #fff8f0;
    border: 2px dashed var(--theme-terracotta);
    border-radius: 12px;
    padding: 0.85rem;
    margin-bottom: 0.85rem;
    text-align: center;
}

.payment-amount-hero .hero-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--theme-clay-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-amount-hero .hero-val {
    font-size: 2rem;
    font-weight: 900;
    color: var(--theme-terracotta);
    line-height: 1.2;
    margin-top: 2px;
}

.payment-amount-hero .hero-order-ref {
    font-size: 0.82rem;
    color: var(--theme-text-muted);
    font-weight: 600;
    margin-top: 4px;
}

.token-hero-box {
    background: linear-gradient(135deg, #1c1917, #292524);
    border: 2px solid #d4af37;
    border-radius: 16px;
    padding: 1.25rem 1rem;
    margin: 1rem 0;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}

.token-hero-box::before {
    content: "KHAU KA! OFFICIAL TOKEN";
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    color: rgba(212, 175, 55, 0.7);
    font-weight: 800;
}

.token-hero-title {
    font-size: 0.95rem;
    color: #e2e8f0;
    margin-top: 0.5rem;
    font-weight: 700;
}

.token-hero-number {
    font-size: 3.6rem;
    font-weight: 900;
    color: #ffd700;
    line-height: 1.1;
    margin: 0.4rem 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

.token-hero-instruction {
    font-size: 0.9rem;
    color: #4ade80;
    font-weight: 800;
    margin-top: 0.25rem;
}

.token-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 1rem;
}

.btn-token-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 0.6rem;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-token-screenshot {
    background: #0f172a;
    color: #38bdf8;
    border: 1.5px solid #38bdf8;
}

.btn-token-download {
    background: linear-gradient(135deg, #15803d, #16a34a);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.pulse-badge {
    animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(0.98); }
}

/* ==========================================================================
   12. PAYTM BRANDED PAYMENT CARD & UPI APP INTENT BUTTONS
   ========================================================================== */
.paytm-payment-card {
    width: 100%;
    max-width: 290px;
    margin: 0.5rem auto 0.75rem auto;
    background: #ffffff;
    border: 2.5px solid #002e6e;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 46, 110, 0.12);
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.paytm-card-header {
    width: 100%;
    background: #002e6e;
    padding: 7px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.paytm-brand-logo {
    font-weight: 900;
    font-size: 1.15rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.paytm-accepted-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: #00b9f1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.paytm-qr-wrapper {
    width: 100%;
    padding: 14px;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.paytm-scannable-qr {
    width: 200px;
    height: 200px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border: none;
    border-radius: 4px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.paytm-vpa-container {
    padding: 8px 10px 10px 10px;
    background: #f0f9ff;
    border-top: 1px solid #e0f2fe;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.paytm-vpa-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #002e6e;
    text-transform: uppercase;
}

.paytm-vpa-value {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0284c7;
    font-family: monospace;
    user-select: all;
}

.btn-copy-vpa {
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #0369a1;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-vpa:hover {
    background: #bae6fd;
}

/* Direct UPI Apps Section */
.upi-apps-section {
    width: 100%;
    max-width: 340px;
    margin: 0 auto 0.4rem auto;
}

.upi-apps-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.4rem;
    text-align: center;
}

.upi-apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.btn-upi-app {
    min-height: 46px;
    padding: 8px 4px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-upi-app:active {
    transform: scale(0.96);
}

.btn-upi-paytm {
    background: #f0f9ff;
    border: 1.5px solid #00b9f1;
    color: #002e6e;
    box-shadow: 0 2px 6px rgba(0, 185, 241, 0.15);
}

.btn-upi-phonepe {
    background: #fbf5ff;
    border: 1.5px solid #9333ea;
    color: #6b21a8;
    box-shadow: 0 2px 6px rgba(147, 51, 234, 0.15);
}

.btn-upi-gpay {
    background: #f0fdf4;
    border: 1.5px solid #22c55e;
    color: #15803d;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.15);
}

.upi-app-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.upi-app-name {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* Mobile Screen Responsive Adaptations (360px - 430px) */
@media screen and (max-width: 430px) {
    .paytm-payment-card {
        max-width: 290px;
        margin: 0.35rem auto 0.6rem auto;
    }

    .paytm-scannable-qr {
        width: 195px;
        height: 195px;
    }

    .paytm-qr-wrapper {
        padding: 10px;
    }

    .upi-apps-grid {
        gap: 6px;
    }

    .btn-upi-app {
        min-height: 42px;
        padding: 6px 3px;
    }

    .upi-app-name {
        font-size: 0.72rem;
    }
}


