/* ══════════════════════════════════════════
   RESET & VARIABLES
══════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green-dark:  #1a5c38;
    --green-mid:   #2d7a50;
    --green-btn:   #1f6b42;
    --green-light: #e8f5ee;
    --gold:        #e6a817;
    --red-btn:     #d63b2f;
    --chat-bg:     #ece5dd;
    --bubble-in:   #ffffff;
    --bubble-out:  #dcf8c6;
    --wa-green:    #00a884;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f0f0f0;
}

/* Only middle section scrolls; header + footer stay put */
body.mobile-app-body {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
}

/* ══════════════════════════════════════════
   MOBILE WRAPPER  — full-width, zero bleed
══════════════════════════════════════════ */
.mobile-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    height: 100dvh;
    max-height: 100dvh;
    background: var(--chat-bg);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.mobile-fixed-top {
    flex-shrink: 0;
    width: 100%;
    z-index: 100;
}

.mobile-fixed-bottom {
    flex-shrink: 0;
    width: 100%;
    z-index: 100;
    background: #fff;
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.mobile-header {
    background: var(--green-dark);
    display: flex;
    align-items: center;
    padding: 10px 14px;
    gap: 10px;
    width: 100%;
}

.mobile-header .back-icon {
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.mobile-header .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

.mobile-header .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-header .info {
    flex: 1;
    min-width: 0;
}

.mobile-header .info h2 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-header .info span {
    color: #90ee90;
    font-size: 11px;
}

.mobile-header .actions {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    font-size: 26px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   LOCATION BAR
══════════════════════════════════════════ */
.location-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    background: linear-gradient(90deg, #e8f5e9, #f1f8f1);
    border-bottom: 1px solid #c8e6c9;
    font-size: 12px;
    color: #2e7d32;
    min-height: 26px;
    transition: all 0.3s ease;
    width: 100%;
    flex-shrink: 0;
}

.location-bar.hidden { display: none; }

.location-bar.loading {
    background: linear-gradient(90deg, #fff8e1, #fffde7);
    border-color: #ffe082;
    color: #f57f17;
}

.location-bar.error {
    background: linear-gradient(90deg, #fce4ec, #fdf2f5);
    border-color: #f8bbd0;
    color: #c62828;
}

.location-bar .loc-icon  { font-size: 14px; flex-shrink: 0; }
.location-bar .loc-text  { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.location-bar .loc-coords {
    font-size: 10px; color: #558b2f; background: #fff;
    border: 1px solid #a5d6a7; border-radius: 20px;
    padding: 2px 8px; white-space: nowrap; font-family: monospace; flex-shrink: 0;
}
.location-bar.loading .loc-coords,
.location-bar.error   .loc-coords { display: none; }
.location-bar .loc-refresh { font-size: 18px; cursor: pointer; opacity: 0.7; flex-shrink: 0; }
.location-bar .loc-refresh:hover { opacity: 1; }

/* ══════════════════════════════════════════
   CHAT AREA (home)
══════════════════════════════════════════ */
.chat-scroll-area {
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    background: var(--chat-bg);
}

.chat-body {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 5px 10px 48px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* ── Incoming bubble (LEFT) ── */
.msg-in {
    background: var(--bubble-in);
    border-radius: 0 12px 12px 12px;
    padding: 8px 12px;
    max-width: 78%;
    align-self: flex-start;       /* LEFT */
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
    font-size: 13px;
    color: #222;
    line-height: 1.5;
    word-break: break-word;
}

/* ── Outgoing bubble (RIGHT) ── */
.msg-out {
    background: var(--bubble-out);
    border-radius: 12px 0 12px 12px;
    padding: 8px 12px;
    max-width: 78%;
    align-self: flex-end;         /* RIGHT */
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
    font-size: 13px;
    color: #222;
    line-height: 1.5;
    word-break: break-word;
}

.msg-in .time,
.msg-out .time {
    font-size: 10px;
    color: #888;
    text-align: right;
    margin-top: 4px;
}

/* voice.js bubbles */
.bubble-wrap {
    display: flex;
    width: 100%;
    margin: 2px 0;
}

.bubble-wrap.in { justify-content: flex-start; }
.bubble-wrap.out { justify-content: flex-end; }

.bubble {
    max-width: 78%;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.bubble.in {
    background: var(--bubble-in);
    border-radius: 0 12px 12px 12px;
    color: #222;
    align-self: flex-start;
}

.bubble.out {
    background: var(--bubble-out);
    border-radius: 12px 0 12px 12px;
    color: #222;
}

.bubble .time {
    font-size: 10px;
    color: #888;
    text-align: right;
    margin-top: 4px;
}

.bubble .typing {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.bubble .typing span {
    width: 6px;
    height: 6px;
    background: #999;
    border-radius: 50%;
    animation: typingDot 1s infinite ease-in-out;
}

.bubble .typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble .typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingDot {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.85); }
    40% { opacity: 1; transform: scale(1); }
}

/* ── Menu card (compact preview on home chat) ── */
.menu-section {
    background: var(--bubble-in);
    border-radius: 12px;
    padding: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
    align-self: flex-start;
    width: 100%;
    flex-shrink: 0;
}

.menu-preview {
    max-height: none;
}

.menu-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 8px;
}

.menu-see-all {
    font-size: 11px;
    font-weight: 600;
    color: #e65c00;
    text-decoration: none;
    white-space: nowrap;
}

.menu-grid-featured .menu-item img {
    height: 88px;
}

.menu-hi-strip {
    margin-top: 8px;
    border-top: 1px dashed #ddd;
    padding-top: 8px;
}

.menu-hi-title {
    font-size: 10px;
    font-weight: 700;
    color: #666;
    margin: 0 0 6px 2px;
    font-family: 'Noto Sans Devanagari', sans-serif;
}

.menu-hi-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 110px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2px;
}

.menu-hi-chip {
    display: inline-block;
    background: #fff;
    border: 1px solid #e65c00;
    border-radius: 16px;
    padding: 4px 10px;
    font-size: 11px;
    line-height: 1.35;
    font-family: 'Noto Sans Devanagari', sans-serif;
    color: #222;
    white-space: nowrap;
}

.menu-hi-chip em {
    font-style: normal;
    color: #e65c00;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
}

a.menu-item {
    text-decoration: none;
    color: inherit;
}

.menu-label {
    background: var(--green-dark);
    color: white;
    font-weight: 700;
    font-size: 14px;
    padding: 5px 14px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 10px;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.menu-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
}

.menu-item:hover { transform: scale(1.03); }

.menu-item img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.menu-item .item-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.72));
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 16px 6px 5px;
}

/* ══════════════════════════════════════════
   INPUT BAR  — the heart of the fixes
══════════════════════════════════════════ */
/* Scrollable inner pages (menu, orders, profile) */
.app-scroll-main {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.app-scroll-main--white {
    background: #fff;
}

.app-scroll-main--profile {
    background: #f0f2f5;
}

.mera-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e65c00;
    color: #fff;
    padding: 10px 11px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 11px;
    box-shadow: 0 2px 8px rgba(230, 92, 0, 0.35);
}

.mera-order-overlay {
    position: absolute;
    bottom: 10px;
    right: 12px;
    z-index: 15;
}

.mera-order-btn:active {
    transform: scale(0.97);
}

.chat-input-bar {
    background: #f0f0f0;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.chat-input-bar .input-wrap {
    flex: 1;
    min-width: 0;        /* prevents overflow */
    background: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
}

.chat-input-bar .input-wrap .emoji-icon  { color: #888; font-size: 18px; flex-shrink: 0; }
.chat-input-bar .input-wrap .attach-icon { color: #888; font-size: 16px; flex-shrink: 0; }

.chat-input-bar input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    background: transparent;
    font-family: 'Poppins', sans-serif;
}

/* ── Shared round button (mic & send) ── */
.round-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;     /* never squash */
    min-height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--wa-green);
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    flex-shrink: 0;
    transition: background 0.15s, transform 0.1s;
}

#chatInput{
    padding: 7px;
}
.round-btn:active { transform: scale(0.93); }
.round-btn.hidden { display: none; }

.round-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.chat-input-bar input:disabled {
    background: #f0f0f0;
    color: #888;
    cursor: not-allowed;
}

.send-btn.login-cta {
    animation: loginPulse 1.4s ease-in-out infinite;
    box-shadow: 0 0 0 3px rgba(0, 168, 132, 0.45);
}

@keyframes loginPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.08); }
}

/* ══════════════════════════════════════════
   BOTTOM NAV
══════════════════════════════════════════ */
.mobile-bottom-nav {
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-around;
    padding: 8px 0 10px;
    width: 100%;
    flex-shrink: 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: #888;
    cursor: pointer;
}

.nav-item.active { color: var(--green-dark); }
.nav-item i { font-size: 18px; }

/* ══════════════════════════════════════════
   LOCATION ICON ANIMATION
══════════════════════════════════════════ */
.location-icon-btn { cursor: pointer; transition: transform 0.2s; }
.location-icon-btn:hover { transform: scale(1.15); }
.location-icon-btn.fetching i { animation: locPulse 0.8s infinite alternate; }

@keyframes locPulse {
    from { color: inherit; }
    to   { color: #43a047; transform: scale(1.2); }
}

@keyframes spin { to { transform: rotate(360deg); } }

.loc-spinner {
    width: 12px; height: 12px;
    border: 2px solid #f57f17;
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}
.online-pulse { animation: pulse 2s infinite; }

/* ══════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════ */
::-webkit-scrollbar        { width: 4px; }
::-webkit-scrollbar-track  { background: transparent; }
::-webkit-scrollbar-thumb  { background: rgba(0,0,0,.18); border-radius: 4px; }

/* ══════════════════════════════════════════
   DESKTOP WRAPPER  (hidden on mobile)
══════════════════════════════════════════ */
.desktop-wrapper {
    display: none;
    width: 100%;
    min-height: 100vh;
    background: #f5f5f5;
}

/* Sidebar */
.desktop-sidebar {
    width: 220px;
    background: var(--green-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    position: fixed;
    top: 0; left: 0;
    z-index: 40;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.sidebar-brand .brand-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: white;
    overflow: hidden;
    border: 2px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    padding: 4px;
}

.sidebar-brand .brand-avatar img {
    width: 100%; height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.sidebar-brand .brand-info h2    { color: white; font-size: 14px; font-weight: 700; line-height: 1.2; }
.sidebar-brand .brand-info .online-dot {
    display: inline-block; width: 8px; height: 8px;
    background: #4caf50; border-radius: 50%; margin-right: 4px;
}
.sidebar-brand .brand-info span { color: #90ee90; font-size: 11px; }

.sidebar-nav { padding: 20px 0; flex: 1; }

.sidebar-nav a {
    display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,.75);
    padding: 12px 22px;
    font-size: 14px; text-decoration: none;
    transition: all 0.2s; cursor: pointer;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: white;
    background: rgba(255,255,255,.12);
    border-left-color: var(--gold);
}

.sidebar-nav a i { font-size: 16px; width: 20px; text-align: center; }

/* Main */
.desktop-main { margin-left: 220px; display: flex; min-height: 100vh; }

/* Hero */
.desktop-hero {
    flex: 1;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, #4a9e6a 100%);
    padding: 40px 500px 30px;
    position: relative; overflow: hidden; min-height: 100vh;
}

.desktop-hero::before {
    content: ''; position: absolute;
    width: 400px; height: 400px;
    background: var(--gold); border-radius: 50%;
    left: -200px; bottom: -200px; opacity: 0.25; z-index: 0;
}

.desktop-hero::after {
    content: ''; position: absolute;
    width: 260px; height: 260px;
    background: rgba(255,255,255,.08); border-radius: 50%;
    right: 130px; bottom: 80px; z-index: 0;
}

.gold-band {
    position: absolute; width: 220px; height: 100%;
    background: linear-gradient(180deg, var(--gold) 0%, #f5c842 100%);
    right: 160px; top: 0; transform: skewX(-8deg); opacity: 0.55; z-index: 0;
}

.hero-content { position: relative; z-index: 1; right: 400px; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }

.happy-customers {
    background: rgba(0,0,0,.4); border-radius: 40px; padding: 8px 14px; gap: 8px;
    position: relative; top: 530px; right: 260px;
}

.happy-customers .avatars { display: flex; }
.happy-customers .avatars img {
    width: 28px; height: 28px; border-radius: 50%;
    border: 2px solid white; margin-left: -8px;
}
.happy-customers .avatars img:first-child { margin-left: 0; }
.happy-customers .count-badge {
    background: #555; color: white; border-radius: 50%;
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
    font-size: 9px; font-weight: 700; margin-left: -8px; border: 2px solid white;
}
.happy-customers span { color: white; font-size: 11px; font-weight: 600; }

.hero-headline h1 { font-size: 42px; font-weight: 800; color: white; line-height: 1.15; max-width: 380px; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.hero-headline p  { color: rgba(255,255,255,.8); font-size: 13px; margin-top: 10px; max-width: 280px; }

.hero-btns { display: flex; gap: 16px; margin-top: 22px; align-items: center; }

.btn-order-now {
    background: var(--red-btn); color: white; border: none;
    padding: 12px 26px; border-radius: 30px; font-size: 14px; font-weight: 700;
    cursor: pointer; box-shadow: 0 4px 16px rgba(214,59,47,.4); transition: transform 0.2s;
}
.btn-order-now:hover { transform: scale(1.04); }
.btn-see-menu { color: var(--gold); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: underline; }

.hero-food-img { position: absolute; right: 90px; top: 30px; width: 340px; height: 340px; z-index: 2; }
.hero-food-img img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
    box-shadow: 0 16px 48px rgba(0,0,0,.4); border: 5px solid rgba(255,255,255,.2);
}

.featured-cards { position: absolute; bottom: 30px; right: 20px; display: flex; gap: 14px; z-index: 3; }

.feat-card {
    background: rgba(10,10,10,.75); border-radius: 12px; padding: 10px; width: 150px;
    backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.1);
    transition: transform 0.2s; cursor: pointer;
}
.feat-card:hover { transform: translateY(-4px); }
.feat-card img { width: 100%; height: 90px; object-fit: cover; border-radius: 8px; }
.feat-card h4  { color: white; font-size: 11px; font-weight: 600; margin-top: 6px; }
.feat-card .stars { color: var(--gold); font-size: 9px; margin: 2px 0; }
.feat-card .price { color: var(--gold); font-size: 11px; font-weight: 700; }
.feat-card .order-btn {
    background: var(--green-dark); color: white; width: 100%;
    border: none; padding: 5px; border-radius: 6px; font-size: 10px;
    margin-top: 6px; cursor: pointer; font-weight: 600;
}
.feat-card .cart-icon {
    position: absolute; bottom: 10px; right: 10px;
    background: var(--gold); color: white; width: 24px; height: 24px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px;
}

/* Desktop chat panel */
.desktop-chat-panel {
    width: 340px; min-height: 100vh;
    background: var(--chat-bg);
    display: flex; flex-direction: column;
    box-shadow: -4px 0 20px rgba(0,0,0,.15);
    position: relative; right: 880px;
}

.desktop-chat-header {
    background: var(--green-dark); padding: 14px 16px;
    display: flex; align-items: center; gap: 10px;
}
.desktop-chat-header .back  { color: white; font-size: 16px; cursor: pointer; }
.desktop-chat-header .dav   { width: 38px; height: 38px; border-radius: 50%; background: white; overflow: hidden; border: 2px solid var(--gold); }
.desktop-chat-header .dav img { width: 100%; }
.desktop-chat-header .dinfo { flex: 1; }
.desktop-chat-header .dinfo h3   { color: white; font-size: 14px; font-weight: 700; }
.desktop-chat-header .dinfo span { color: #90ee90; font-size: 11px; }
.desktop-chat-header .dactions  { display: flex; gap: 14px; color: white; font-size: 16px; }

.desktop-chat-body {
    flex: 1; overflow-y: auto; padding: 12px 10px;
    display: flex; flex-direction: column; gap: 10px;
}

.dc-msg-in {
    background: var(--bubble-in); border-radius: 0 10px 10px 10px;
    padding: 9px 12px; max-width: 82%; align-self: flex-start;
    box-shadow: 0 1px 2px rgba(0,0,0,.1); font-size: 12px; color: #222; line-height: 1.5;
}
.dc-msg-out {
    background: var(--bubble-out); border-radius: 10px 0 10px 10px;
    padding: 9px 12px; max-width: 82%; align-self: flex-end;
    box-shadow: 0 1px 2px rgba(0,0,0,.1); font-size: 12px; color: #222; line-height: 1.5;
}
.dc-msg-in .dtime,
.dc-msg-out .dtime { font-size: 9px; color: #888; text-align: right; margin-top: 3px; }

.dc-img-msg {
    background: var(--bubble-out); border-radius: 10px 0 10px 10px;
    align-self: flex-end; overflow: hidden; max-width: 80%;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.dc-img-msg img  { width: 100%; display: block; }
.dc-img-msg .dtime { font-size: 9px; color: #888; text-align: right; padding: 3px 8px 5px; }

.green-bar { background: var(--green-dark); height: 26px; width: 90px; border-radius: 6px; align-self: flex-end; }

.desktop-chat-input {
    background: #f0f0f0; padding: 8px 10px;
    display: flex; align-items: center; gap: 8px;
}
.desktop-chat-input .input-area {
    flex: 1; background: white; border-radius: 20px;
    display: flex; align-items: center; padding: 7px 12px; gap: 6px;
}
.desktop-chat-input input { flex: 1; border: none; outline: none; font-size: 12px; color: #555; background: transparent; }
.desktop-chat-input .dmic-btn {
    background: var(--green-dark); color: white; border: none;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; cursor: pointer;
}

/* ══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════ */
@media (min-width: 900px) {
    .mobile-wrapper  { display: none; }
    .desktop-wrapper { display: flex; }
    body.mobile-app-body.home-page {
        height: auto;
        max-height: none;
        overflow: auto;
    }
}

@media (max-width: 899px) {
    .mobile-wrapper  { display: flex; }
    .desktop-wrapper { display: none; }
}

/* ══════════════════════════════════════════
   WHATSAPP-LOGIN CARD (if used)
══════════════════════════════════════════ */
.card {
    background: #fff; border-radius: 16px; padding: 40px 32px;
    text-align: center; max-width: 360px; width: 90%;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.icon { font-size: 56px; margin-bottom: 16px; }
.card h1 { font-size: 22px; font-weight: 600; color: #222; margin-bottom: 8px; }
.message { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 24px; }
.phone-badge {
    display: inline-block; background: #f0faf4; color: #25D366;
    border: 1px solid #c3e8d1; border-radius: 20px; padding: 6px 16px;
    font-size: 15px; font-weight: 500; margin-bottom: 24px;
}
.btn {
    display: inline-block; background: #ff6b6b; color: #fff;
    border: none; border-radius: 10px; padding: 12px 28px;
    font-size: 15px; font-weight: 500; cursor: pointer; text-decoration: none;
    transition: background 0.15s;
}
.btn:hover { background: #e85555; }
.countdown { font-size: 12px; color: #aaa; margin-top: 16px; }