/* ==========================================================
   Deal Bazar — Mobile App Layout Patch
   Keeps the existing PHP/database functionality intact.
   Flow: deal card -> deal detail page -> business WhatsApp.
   ========================================================== */

:root {
    --app-red: #ef4136;
    --app-red-dark: #d92f26;
    --app-bg: #f4f5f7;
    --app-card: #ffffff;
    --app-ink: #17171c;
    --app-soft: #666a73;
    --app-line: #eceef3;
    --app-green: #19a968;

    --cream: var(--app-bg);
    --cream-deep: #eceff4;
    --paper: var(--app-card);
    --ink: var(--app-ink);
    --ink-soft: #343741;
    --saffron: var(--app-red);
    --saffron-deep: var(--app-red-dark);
    --line: var(--app-line);
    --muted: var(--app-soft);
    --font-display: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { background: var(--app-bg); }
body {
    background: var(--app-bg);
    background-image: none !important;
    color: var(--app-ink);
    padding-bottom: 0;
}

body::before {
    content: '';
    position: fixed;
    inset: 0 0 auto 0;
    height: 220px;
    background: linear-gradient(180deg, rgba(239,65,54,0.12), rgba(239,65,54,0));
    pointer-events: none;
    z-index: -1;
}

/* App-style top bar */
.nav {
    background: rgba(255,255,255,0.9) !important;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(23,23,28,0.08) !important;
    box-shadow: 0 10px 35px rgba(23,23,28,0.04);
}
.nav-inner {
    max-width: 1180px;
    padding: 12px 22px !important;
}
.logo {
    font-family: var(--font-body) !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
    gap: 10px !important;
}
.logo::before {
    content: 'D';
    width: 38px;
    height: 38px;
    border-radius: 13px;
    display: inline-grid;
    place-items: center;
    background: var(--app-red);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(239,65,54,0.28);
}
.logo-dot { display: none !important; }
.nav-links { gap: 8px !important; }
.nav-links a {
    padding: 10px 14px;
    border-radius: 999px;
    color: #4f535d !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}
.nav-links a:hover {
    background: rgba(239,65,54,0.08);
    color: var(--app-red) !important;
}
.btn-nav, .btn-nav-outline {
    border-radius: 999px !important;
    border: 0 !important;
    padding: 11px 18px !important;
    box-shadow: none !important;
}
.btn-nav {
    background: var(--app-red) !important;
    color: #fff !important;
}
.btn-nav-outline {
    background: #f2f3f6 !important;
    color: var(--app-ink) !important;
}

/* Homepage hero becomes a mobile app landing panel */
.hero {
    max-width: 1180px !important;
    padding: 34px 22px 24px !important;
}
.hero-badge {
    background: rgba(239,65,54,0.1);
    color: var(--app-red) !important;
    border-radius: 999px;
    padding: 9px 14px;
    font-family: var(--font-body) !important;
    font-weight: 800;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    margin-bottom: 18px !important;
}
.hero-badge::before { display: none !important; }
.hero h1 {
    font-family: var(--font-body) !important;
    font-weight: 900 !important;
    font-size: clamp(36px, 8vw, 78px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.07em !important;
    max-width: 780px !important;
    margin-bottom: 18px !important;
}
.hero h1 em {
    color: var(--app-red) !important;
    font-style: normal !important;
    font-weight: 900 !important;
}
.hero-sub {
    max-width: 610px !important;
    color: #585d68 !important;
    margin-bottom: 22px !important;
    font-size: clamp(15px, 2vw, 18px) !important;
}
.search-bar {
    max-width: 760px !important;
    background: #fff !important;
    border: 1px solid rgba(23,23,28,0.08) !important;
    border-radius: 26px !important;
    padding: 10px !important;
    box-shadow: 0 18px 45px rgba(23,23,28,0.10) !important;
}
.search-input {
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}
.search-btn {
    background: var(--app-red) !important;
    border-radius: 18px !important;
    font-weight: 900 !important;
    box-shadow: 0 10px 22px rgba(239,65,54,0.28);
}
.hero-tags { gap: 8px !important; margin-top: 20px !important; }
.hero-tag {
    background: #fff !important;
    color: #2a2d34 !important;
    border: 1px solid rgba(23,23,28,0.08) !important;
    border-radius: 999px !important;
    padding: 9px 13px !important;
    font-weight: 800 !important;
}
.floating-badge, .stats-strip { display: none !important; }

.section {
    max-width: 1180px !important;
    padding: 34px 22px !important;
}
.section-head {
    margin-bottom: 22px !important;
    gap: 12px !important;
    align-items: center !important;
}
.section-eyebrow {
    font-family: var(--font-body) !important;
    color: var(--app-red) !important;
    letter-spacing: 0.04em !important;
    font-weight: 900 !important;
    margin-bottom: 5px !important;
}
.section-title {
    font-family: var(--font-body) !important;
    font-size: clamp(25px, 4vw, 44px) !important;
    line-height: 1.04 !important;
    font-weight: 900 !important;
    letter-spacing: -0.05em !important;
}
.section-title em { font-style: normal !important; font-weight: 900 !important; }

/* App-like deal cards */
.deals-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
    gap: 18px !important;
}
.deal-card {
    background: #fff !important;
    border: 0 !important;
    border-radius: 26px !important;
    box-shadow: 0 14px 38px rgba(23,23,28,0.08) !important;
    overflow: hidden !important;
    min-width: 0;
}
.deal-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 18px 48px rgba(23,23,28,0.13) !important;
}
.deal-card-link { height: 100%; }
.deal-image, .deal-image-placeholder {
    aspect-ratio: 1 / 0.82 !important;
    border: 0 !important;
    background: #eef0f4 !important;
}
.deal-image { object-fit: cover !important; }
.deal-discount-badge, .deal-featured-badge, .deal-type-badge {
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 20px rgba(23,23,28,0.12);
    font-family: var(--font-body) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}
.deal-discount-badge {
    top: 12px !important;
    left: 12px !important;
    background: var(--app-red) !important;
    color: #fff !important;
    padding: 7px 10px !important;
    font-size: 12px !important;
}
.deal-featured-badge {
    top: 12px !important;
    right: 12px !important;
    background: #111 !important;
    color: #fff !important;
}
.deal-type-badge {
    left: 12px !important;
    bottom: 12px !important;
    background: rgba(255,255,255,0.92) !important;
    color: #15171c !important;
}
.deal-body {
    padding: 14px !important;
}
.deal-restaurant {
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #787d88 !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}
.deal-title {
    font-family: var(--font-body) !important;
    font-size: 17px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
    font-weight: 900 !important;
    margin-bottom: 10px !important;
    color: #15171c !important;
}
.deal-meta {
    gap: 6px 10px !important;
    font-size: 12px !important;
    color: #848995 !important;
    margin-bottom: 10px !important;
}
.deal-prices {
    border-top: 1px solid #eff1f5 !important;
    padding-top: 12px !important;
    margin-top: auto !important;
    gap: 8px !important;
}
.deal-price-now {
    font-family: var(--font-body) !important;
    color: var(--app-red) !important;
    font-size: 21px !important;
    font-weight: 900 !important;
}
.deal-price-old { font-size: 13px !important; }
.deal-card-view {
    margin-top: 12px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #f4f5f7;
    color: #252832;
    font-size: 13px;
    font-weight: 900;
}

/* Buttons */
.btn, button, input, select, textarea { font-family: var(--font-body) !important; }
.btn-saffron, .btn-nav {
    background: var(--app-red) !important;
    color: #fff !important;
}
.btn-outline {
    border: 0 !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(23,23,28,0.07);
}

/* Deal detail page */
.app-detail-page {
    max-width: 1040px;
    margin: 0 auto;
    padding: 26px 22px 96px;
}
.app-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: #fff;
    color: #4f535d;
    font-weight: 900;
    font-size: 13px;
    box-shadow: 0 10px 25px rgba(23,23,28,0.06);
}
.app-detail-card {
    background: #fff;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(23,23,28,0.10);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
}
.app-detail-media {
    position: relative;
    min-height: 100%;
    background: #eef0f4;
}
.app-detail-image {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}
.app-detail-placeholder {
    display: grid;
    place-items: center;
    color: #8b919d;
    font-size: 38px;
    font-weight: 900;
}
.app-detail-overlay {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.app-discount-chip,
.app-date-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(23,23,28,0.12);
}
.app-discount-chip { background: var(--app-red); color: #fff; }
.app-date-chip { background: rgba(255,255,255,0.92); color: #22252c; }
.app-detail-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.app-detail-kicker {
    color: var(--app-red);
    font-size: 13px;
    font-weight: 900;
}
.app-detail-title {
    font-family: var(--font-body) !important;
    font-size: clamp(30px, 4vw, 48px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.06em !important;
    font-weight: 900 !important;
    color: #15171c !important;
    margin: 0 !important;
}
.app-business-line {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    color: #757a85;
    font-size: 15px;
}
.app-business-line strong { color: #15171c; font-weight: 900; }
.app-business-line small {
    width: 100%;
    color: #8a8f9b;
    font-weight: 700;
}
.app-price-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 24px;
    background: #f6f7fa;
}
.app-price-label {
    display: block;
    color: #7c828e;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 4px;
}
.app-price-card strong {
    color: var(--app-red);
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.05em;
}
.app-price-card del { color: #8b909c; font-weight: 800; }
.app-info-block {
    padding: 18px;
    border-radius: 24px;
    border: 1px solid #eff1f5;
    background: #fff;
}
.app-info-block h2 {
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    margin: 0 0 8px !important;
    letter-spacing: -0.02em !important;
}
.app-info-block p {
    margin: 0;
    color: #565b66;
    line-height: 1.65;
    font-size: 15px;
}
.app-validity-block { background: #fff7f6; border-color: rgba(239,65,54,0.14); }
.app-business-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px;
    background: #15171c;
    color: #fff;
    border-radius: 26px;
}
.app-business-avatar {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--app-red);
    color: #fff;
    font-weight: 900;
    font-size: 22px;
}
.app-business-info span {
    display: block;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 2px;
}
.app-business-info h3 {
    font-family: var(--font-body) !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    margin: 0 0 4px !important;
    color: #fff !important;
}
.app-business-info p {
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    line-height: 1.45;
}
.app-contact-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.app-secondary-action,
.app-whatsapp-main {
    min-height: 48px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 900;
    font-size: 14px;
}
.app-secondary-action { background: #f1f2f5; color: #252832; }
.app-whatsapp-main {
    background: var(--app-green);
    color: #fff;
    grid-column: 1 / -1;
    box-shadow: 0 12px 28px rgba(25,169,104,0.22);
}
.app-sticky-cta { display: none; }

/* Footer */
.footer {
    background: #15171c !important;
    border: 0 !important;
}
.footer h3,
.footer h5 { font-family: var(--font-body) !important; }
.footer h3 { font-weight: 900 !important; letter-spacing: -0.05em !important; }
.footer h3 em { font-style: normal !important; color: var(--app-red) !important; }

.mobile-bottom-nav { display: none; }

/* Mobile app shell */
@media (max-width: 768px) {
    body { padding-bottom: 86px; }
    body::before { height: 180px; }

    .nav { position: sticky !important; top: 0 !important; z-index: 200 !important; }
    .nav-inner { padding: 10px 14px !important; }
    .logo { font-size: 18px !important; }
    .logo::before { width: 34px; height: 34px; border-radius: 12px; }
    .menu-toggle {
        display: grid !important;
        place-items: center;
        min-width: 42px;
        height: 42px;
        border-radius: 14px;
        background: #f3f4f6 !important;
        color: #20232a;
        font-size: 0 !important;
    }
    .menu-toggle::before {
        content: 'Menu';
        font-size: 13px;
        font-weight: 900;
    }
    .nav-links {
        position: fixed !important;
        top: 62px !important;
        left: 14px !important;
        right: 14px !important;
        width: auto !important;
        padding: 14px !important;
        border-radius: 24px !important;
        background: #fff !important;
        box-shadow: 0 24px 60px rgba(23,23,28,0.18) !important;
        border: 1px solid rgba(23,23,28,0.08);
        z-index: 300 !important;
        gap: 6px !important;
    }
    .nav-links a {
        width: 100%;
        padding: 13px 14px !important;
        border-radius: 16px !important;
        background: #f7f8fa;
    }

    .hero {
        padding: 22px 14px 14px !important;
    }
    .hero h1 { font-size: 40px !important; }
    .hero-sub { font-size: 15px !important; margin-bottom: 16px !important; }
    .search-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        border-radius: 28px !important;
        padding: 12px !important;
        gap: 8px !important;
        position: relative;
    }
    .search-icon, .search-divider { display: none !important; }
    .search-input {
        width: 100% !important;
        min-height: 46px !important;
        padding: 0 14px !important;
        border-radius: 16px !important;
        background: #f5f6f8 !important;
    }
    .search-btn {
        width: 100% !important;
        min-height: 48px !important;
        border-radius: 17px !important;
    }
    .hero-tags {
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        padding-bottom: 4px !important;
        scrollbar-width: none;
    }
    .hero-tags::-webkit-scrollbar { display: none; }
    .hero-tags span { flex: 0 0 auto; }
    .hero-tag { flex: 0 0 auto; }

    .section { padding: 26px 14px !important; }
    .section-head { align-items: flex-start !important; }
    .section-title { font-size: 28px !important; }

    .category-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .deals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    .deal-card { border-radius: 22px !important; }
    .deal-body { padding: 11px !important; }
    .deal-title { font-size: 15px !important; }
    .deal-restaurant { font-size: 11px !important; }
    .deal-meta { font-size: 11px !important; }
    .deal-price-now { font-size: 18px !important; }
    .deal-price-old { font-size: 11px !important; }
    .deal-card-view { height: 34px; border-radius: 13px; font-size: 12px; }
    .deal-discount-badge { font-size: 11px !important; padding: 6px 9px !important; }
    .deal-type-badge { display: none !important; }

    .app-detail-page {
        padding: 14px 14px 112px;
    }
    .app-back-link {
        margin-bottom: 12px;
        box-shadow: none;
        border: 1px solid #eef0f4;
    }
    .app-detail-card {
        grid-template-columns: 1fr;
        border-radius: 28px;
        box-shadow: 0 15px 44px rgba(23,23,28,0.09);
    }
    .app-detail-image { min-height: 330px; aspect-ratio: 1 / 0.86; }
    .app-detail-content { padding: 20px; gap: 15px; }
    .app-detail-title { font-size: 31px !important; }
    .app-price-card { border-radius: 21px; }
    .app-price-card strong { font-size: 27px; }
    .app-info-block { border-radius: 21px; padding: 15px; }
    .app-contact-actions { grid-template-columns: 1fr 1fr; }
    .app-contact-actions .app-whatsapp-main { display: none; }

    .app-sticky-cta {
        display: block;
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 84px;
        z-index: 260;
    }
    .app-sticky-cta a {
        display: grid;
        place-items: center;
        min-height: 54px;
        border-radius: 20px;
        background: var(--app-green);
        color: #fff;
        font-weight: 900;
        box-shadow: 0 16px 36px rgba(25,169,104,0.28);
    }

    .footer { display: none !important; }
    .mobile-bottom-nav {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 250;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        padding: 8px;
        border-radius: 24px;
        background: rgba(255,255,255,0.94);
        backdrop-filter: blur(18px);
        box-shadow: 0 18px 60px rgba(23,23,28,0.20);
        border: 1px solid rgba(23,23,28,0.08);
    }
    .mobile-bottom-item {
        min-height: 46px;
        border-radius: 17px;
        display: grid;
        place-items: center;
        color: #606672;
        font-size: 12px;
        font-weight: 900;
    }
    .mobile-bottom-primary {
        background: var(--app-red);
        color: #fff;
    }
}

@media (max-width: 380px) {
    .deals-grid { gap: 10px !important; }
    .deal-title { font-size: 14px !important; }
    .deal-price-now { font-size: 17px !important; }
    .app-detail-title { font-size: 28px !important; }
}

/* ===== App navigation + user save patch ===== */
.app-home-hero { padding-bottom: 18px !important; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:24px; }
.app-feed-section { padding-top: 28px !important; }
.deal-card { position: relative; }
.deal-save-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.94);
    color: #a5abb6;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(23,23,28,0.16);
    cursor: pointer;
    transition: transform .18s ease, color .18s ease, background .18s ease;
}
.deal-save-btn:hover { transform: scale(1.06); color: var(--app-red); }
.deal-save-btn.is-saved { background: var(--app-red); color: #fff; }
.deal-save-form { position: static; margin: 0; }
.detail-save-btn { position: static; flex: 0 0 auto; }
.deal-detail-save-form { margin: 0; }
.app-detail-overlay { align-items: flex-start; }
.app-empty-card {
    background: #fff;
    border: 1px solid rgba(23,23,28,0.08);
    border-radius: 26px;
    box-shadow: 0 16px 42px rgba(23,23,28,0.07);
}

.app-how-section,
.app-payment-section,
.app-business-benefits {
    background: transparent !important;
    border: 0 !important;
}
.app-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}
.app-step-card {
    background: #fff;
    border: 1px solid rgba(23,23,28,0.08);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 14px 36px rgba(23,23,28,0.07);
}
.app-step-card strong {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    margin-bottom: 16px;
    background: rgba(239,65,54,0.1);
    color: var(--app-red);
    font-weight: 900;
}
.app-step-card h4 {
    font-family: var(--font-body) !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em;
    margin: 0 0 8px;
}
.app-step-card p { margin: 0; color: #666b76; line-height: 1.55; }
.app-business-soft-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
    border-radius: 30px;
    background: #15171c;
    color: #fff;
    box-shadow: 0 18px 50px rgba(23,23,28,0.14);
}
.app-business-soft-card .section-title,
.app-business-soft-card .section-eyebrow { color: #fff !important; }
.app-business-soft-card p { margin: 8px 0 0; color: rgba(255,255,255,0.68); }
.app-business-hero h1 { max-width: 820px !important; }
.app-featured-addon {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.app-featured-addon > div {
    background: #fff;
    border-radius: 26px;
    border: 1px solid rgba(23,23,28,0.08);
    padding: 24px;
    color: #555b66;
    line-height: 1.6;
}
.app-featured-addon h3 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #15171c;
}

.auth-shell,
.profile-shell {
    max-width: 1040px;
    margin: 0 auto;
    padding: 42px 22px 110px;
}
.auth-card {
    max-width: 460px;
    margin: 0 auto;
    background: #fff;
    border-radius: 34px;
    padding: 30px;
    box-shadow: 0 18px 55px rgba(23,23,28,0.10);
    border: 1px solid rgba(23,23,28,0.06);
}
.auth-kicker {
    color: var(--app-red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.auth-card h1,
.profile-hero h1,
.profile-panel h2 {
    font-family: var(--font-body) !important;
    font-weight: 900 !important;
    letter-spacing: -0.055em !important;
    color: #15171c !important;
}
.auth-card h1 { font-size: 42px !important; margin: 0 0 10px !important; }
.auth-card p { color: #656a75; line-height: 1.6; margin: 0 0 22px; }
.auth-form { display: grid; gap: 10px; }
.auth-form label { font-size: 13px; font-weight: 900; color: #343842; }
.auth-form input {
    width: 100%;
    min-height: 50px;
    border: 1px solid #e8ebf0;
    border-radius: 16px;
    background: #f7f8fa;
    padding: 0 14px;
    outline: none;
    color: #15171c;
    font-weight: 700;
}
.auth-form input:focus { border-color: rgba(239,65,54,0.45); background: #fff; box-shadow: 0 0 0 4px rgba(239,65,54,0.08); }
.auth-form .btn { margin-top: 6px; min-height: 52px; border-radius: 17px; }
.auth-alert,
.auth-success {
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 800;
}
.auth-alert { background: #fff1f0; color: #c62b21; }
.auth-success { background: #eefbf5; color: #137d4c; }
.auth-switch { margin-top: 18px; text-align: center; color: #6f7480; font-size: 14px; font-weight: 700; }
.auth-switch a { color: var(--app-red); font-weight: 900; }
.auth-business-link { margin-top: 8px; }
.profile-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}
.profile-hero h1 { font-size: clamp(36px, 7vw, 64px) !important; margin: 0 0 8px !important; }
.profile-hero p { margin: 0; color: #666b76; }
.profile-stat-card {
    min-width: 150px;
    background: #fff;
    border-radius: 26px;
    padding: 20px;
    box-shadow: 0 14px 36px rgba(23,23,28,0.08);
    text-align: center;
    color: #15171c;
}
.profile-stat-card strong { display: block; color: var(--app-red); font-size: 38px; line-height: 1; }
.profile-stat-card span { font-size: 13px; font-weight: 900; color: #707581; }
.profile-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
}
.profile-panel {
    background: #fff;
    border-radius: 30px;
    padding: 26px;
    border: 1px solid rgba(23,23,28,0.06);
    box-shadow: 0 16px 46px rgba(23,23,28,0.08);
}
.profile-panel h2 { font-size: 28px !important; margin: 0 0 18px !important; }
.profile-actions-panel { display: grid; align-content: start; gap: 10px; }
.profile-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 14px;
    border-radius: 18px;
    background: #f6f7fa;
    color: #22252c;
    font-weight: 900;
}
.profile-action-row strong { color: var(--app-red); font-size: 13px; }
.profile-action-row.danger strong { color: #c62b21; }

.nav-ico { width: 22px; height: 22px; display:grid; place-items:center; margin-bottom: 2px; }
.nav-ico svg { width: 21px; height: 21px; fill: currentColor; display:block; }
.mobile-bottom-item { grid-template-rows: 22px auto; }
.mobile-bottom-item span:last-child { line-height: 1; }

@media (max-width: 768px) {
    .hero-actions { gap: 10px; }
    .app-business-soft-card { align-items: flex-start; flex-direction: column; padding: 22px; border-radius: 26px; }
    .app-featured-addon { grid-template-columns: 1fr; }
    .auth-shell,
    .profile-shell { padding: 24px 14px 110px; }
    .auth-card { padding: 22px; border-radius: 28px; }
    .auth-card h1 { font-size: 34px !important; }
    .profile-hero { align-items: flex-start; flex-direction: column; }
    .profile-stat-card { width: 100%; }
    .profile-grid { grid-template-columns: 1fr; }
    .profile-panel { padding: 20px; border-radius: 26px; }
    .app-steps-grid { grid-template-columns: 1fr; gap: 12px; }
    .deal-save-btn { width: 34px; height: 34px; top: 10px; right: 10px; }
    .deal-featured-badge { top: 52px !important; right: 10px !important; }
    .app-business-hero .hero-actions .btn { width: 100% !important; }
    .app-pricing-section .pricing-grid { grid-template-columns: 1fr !important; }
}
.deal-featured-badge { right: 58px !important; }
@media (max-width: 768px) { .deal-featured-badge { top: 50px !important; right: 10px !important; } }

/* ===== Deal Hub-style mobile home screen ===== */
.logo::before { display: none !important; }
.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    background: #fff;
}
.logo span:not(.logo-dot) { display: inline-block; }

.app-home-page {
    background: #ef4136 !important;
    min-height: 100vh;
}
.app-home-page::before { display: none !important; }
.app-home-page .nav {
    background: rgba(255,255,255,.92) !important;
}
.app-home-canvas {
    width: 100%;
    padding: 28px 14px 110px;
    display: grid;
    place-items: start center;
}
.app-phone-home {
    width: min(100%, 430px);
    min-height: 720px;
    background: #fff;
    border-radius: 34px;
    padding: 12px 14px 22px;
    box-shadow: 0 28px 80px rgba(24, 24, 30, .26);
    overflow: hidden;
    position: relative;
}
.app-phone-home::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(239,65,54,.035), rgba(255,255,255,0) 170px);
}
/* Native phone status mockup removed: no fake time or signal dots on the home screen. */
.home-top-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 46px 1fr 42px;
    align-items: center;
    gap: 10px;
    padding: 8px 0 10px;
}
.home-logo-avatar {
    width: 46px;
    height: 46px;
    border-radius: 17px;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(23,23,28,.08);
    border: 1px solid #f0f1f4;
}
.home-logo-avatar img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}
.home-greeting span {
    display: block;
    color: #90949d;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 800;
}
.home-greeting strong {
    display: block;
    color: #18191f;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: -.03em;
}
.home-round-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f5f6f8;
    color: #15171c;
}
.home-round-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.home-search-app {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    margin: 2px 0 12px;
}
.home-search-pill {
    min-height: 44px;
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 7px;
    border-radius: 18px;
    padding: 0 14px;
    background: #f5f6f8;
    border: 1px solid #eff1f4;
}
.home-search-pill svg {
    width: 18px;
    height: 18px;
    fill: #b1b6c0;
}
.home-search-pill input,
.home-filter-strip input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #17181d;
    font-family: var(--font-body) !important;
    font-size: 13px;
    font-weight: 800;
}
.home-search-pill input::placeholder,
.home-filter-strip input::placeholder { color: #aab0bb; }
.home-filter-strip {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}
.home-filter-strip label {
    min-height: 40px;
    border-radius: 16px;
    background: #f9fafb;
    border: 1px solid #eff1f4;
    padding: 5px 12px;
    display: grid;
    align-content: center;
}
.home-filter-strip label span {
    color: #a0a5af;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.home-filter-strip button {
    min-width: 72px;
    border: 0;
    border-radius: 16px;
    background: #ef4136;
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(239,65,54,.24);
}
.home-result-pill {
    position: relative;
    z-index: 1;
    min-height: 34px;
    border-radius: 16px;
    background: #fff6f5;
    border: 1px solid rgba(239,65,54,.13);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 10px;
    padding: 8px 10px;
    color: #d92f26;
    font-size: 12px;
    font-weight: 900;
}
.home-result-pill a { color: #17181d; }
.home-promo-card {
    position: relative;
    z-index: 1;
    min-height: 132px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 8px;
    border-radius: 22px;
    overflow: hidden;
    padding: 18px 16px;
    background: linear-gradient(135deg, #ef4136 0%, #ff665d 100%);
    color: #fff;
    box-shadow: 0 16px 36px rgba(239,65,54,.27);
}
.home-promo-card::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    right: -70px;
    top: -50px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
}
.home-promo-card::after {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    right: 56px;
    bottom: -50px;
    border-radius: 50%;
    background: rgba(255,255,255,.13);
}
.home-promo-copy,
.home-promo-image { position: relative; z-index: 2; }
.home-promo-copy span,
.home-promo-copy small {
    display: block;
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
}
.home-promo-copy strong {
    display: block;
    color: #fff;
    font-size: 25px;
    line-height: .98;
    font-weight: 950;
    letter-spacing: -.05em;
    margin: 6px 0 7px;
}
.home-promo-copy small {
    max-width: 180px;
    opacity: .94;
}
.home-promo-image {
    height: 108px;
    display: grid;
    place-items: center;
}
.home-promo-image img {
    max-width: 122px;
    max-height: 116px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    filter: drop-shadow(0 18px 20px rgba(0,0,0,.18));
}
.home-promo-image img[src*="deals-hub-logo"] {
    object-fit: contain;
    background: #fff;
    padding: 12px;
}
.home-feed-section {
    position: relative;
    z-index: 1;
    margin-top: 18px;
}
.home-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.home-section-head h2 {
    margin: 0;
    color: #17181d;
    font-family: var(--font-body) !important;
    font-size: 17px !important;
    line-height: 1;
    font-weight: 950 !important;
    letter-spacing: -.035em !important;
}
.home-section-head a {
    color: #ef4136;
    font-size: 12px;
    font-weight: 950;
}
.home-deal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.home-deal-tile {
    position: relative;
    min-width: 0;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #eff1f4;
    box-shadow: 0 12px 26px rgba(24,24,30,.06);
    overflow: hidden;
}
.home-deal-link {
    display: block;
    color: inherit;
}
.home-deal-media {
    position: relative;
    height: 118px;
    background: #eef0f4;
    overflow: hidden;
}
.home-deal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}
.home-deal-tile:hover .home-deal-media img { transform: scale(1.04); }
.home-deal-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f3f4f7, #e9ecf2);
    color: #ef4136;
    font-size: 38px;
    font-weight: 950;
}
.home-discount-chip {
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 2;
    min-height: 24px;
    display: inline-grid;
    place-items: center;
    padding: 4px 7px;
    border-radius: 999px;
    background: #ef4136;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    box-shadow: 0 8px 16px rgba(239,65,54,.24);
}
.home-deal-copy {
    padding: 9px 10px 11px;
}
.home-deal-copy h3 {
    margin: 0 0 3px;
    color: #17181d;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    line-height: 1.12 !important;
    font-weight: 950 !important;
    letter-spacing: -.035em !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 29px;
}
.home-deal-copy p {
    margin: 0 0 6px;
    color: #858b96;
    font-size: 10px;
    line-height: 1.25;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-deal-copy strong {
    display: block;
    color: #ef4136;
    font-size: 13px;
    line-height: 1;
    font-weight: 950;
}
.home-save-form { margin: 0; }
.home-save-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    width: 31px;
    height: 31px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.94);
    color: #16171d;
    box-shadow: 0 8px 18px rgba(23,23,28,.16);
    cursor: pointer;
}
.home-save-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.home-save-btn.is-saved {
    background: #ef4136;
    color: #fff;
}
.home-empty-state {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    padding: 30px 22px;
    border-radius: 26px;
    background: #f7f8fa;
    text-align: center;
    border: 1px dashed #e3e6ec;
}
.home-empty-state img {
    width: 66px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 12px;
}
.home-empty-state h2 {
    margin: 0 0 8px;
    color: #17181d;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -.045em;
}
.home-empty-state p {
    margin: 0 auto 16px;
    max-width: 270px;
    color: #737986;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
}
.home-empty-state a {
    min-height: 44px;
    display: inline-grid;
    place-items: center;
    padding: 0 18px;
    border-radius: 16px;
    background: #ef4136;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
}

@media (min-width: 769px) {
    .app-home-canvas { padding-top: 42px; }
    .app-home-page .footer { display: none; }
}

@media (max-width: 768px) {
    .app-home-page .nav { display: none !important; }
    .app-home-page { background: #ef4136 !important; }
    .app-home-canvas {
        padding: 12px 10px 96px;
        place-items: start center;
    }
    .app-phone-home {
        width: min(100%, 420px);
        min-height: calc(100vh - 108px);
        border-radius: 28px;
        padding: 10px 12px 20px;
        box-shadow: 0 18px 50px rgba(24,24,30,.22);
    }
    .home-promo-card { min-height: 120px; border-radius: 20px; }
    .home-promo-copy strong { font-size: 22px; }
    .home-deal-grid { gap: 10px; }
    .home-deal-media { height: 104px; }
    .mobile-bottom-nav {
        background: rgba(255,255,255,.96);
    }
}

@media (max-width: 380px) {
    .app-home-canvas { padding-left: 7px; padding-right: 7px; }
    .app-phone-home { border-radius: 24px; padding-left: 10px; padding-right: 10px; }
    .home-deal-grid { gap: 8px; }
    .home-deal-media { height: 92px; }
    .home-deal-copy { padding: 8px; }
    .home-deal-copy h3 { font-size: 12px !important; min-height: 27px; }
    .home-promo-card { grid-template-columns: 1.1fr .9fr; padding: 16px 13px; }
}

/* ===== Desktop home layout fix =====
   Mobile keeps the app-style screen. Desktop becomes a proper wide website layout. */
@media (min-width: 769px) {
    .app-home-page {
        background: #f4f5f7 !important;
        min-height: 100vh;
    }

    .app-home-page .nav {
        display: block !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 200 !important;
        background: rgba(255,255,255,.92) !important;
        border-bottom: 1px solid rgba(23,23,28,.08) !important;
    }

    .app-home-page .footer {
        display: block !important;
    }

    .app-home-canvas {
        max-width: 1228px;
        margin: 0 auto;
        padding: 34px 24px 70px !important;
        display: block !important;
    }

    .app-phone-home {
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
        display: grid;
        grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
        grid-template-areas:
            "top promo"
            "search promo"
            "result promo"
            "featured featured"
            "popular popular";
        gap: 22px 26px;
        align-items: stretch;
    }

    .app-phone-home::before {
        display: none !important;
    }

    .home-top-row {
        grid-area: top;
        align-self: end;
        display: grid !important;
        grid-template-columns: 66px 1fr 52px !important;
        gap: 14px !important;
        padding: 0 !important;
        min-height: 78px;
        border-radius: 30px;
        background: #fff;
        border: 1px solid rgba(23,23,28,.06);
        box-shadow: 0 18px 45px rgba(23,23,28,.06);
        padding: 14px 18px !important;
    }

    .home-logo-avatar {
        width: 58px !important;
        height: 58px !important;
        border-radius: 20px !important;
        box-shadow: none !important;
        background: #f7f8fa !important;
    }

    .home-logo-avatar img {
        width: 43px !important;
        height: 43px !important;
    }

    .home-greeting span {
        font-size: 13px !important;
        color: #8c929d !important;
    }

    .home-greeting strong {
        font-size: 28px !important;
        line-height: 1.05 !important;
        letter-spacing: -.055em !important;
    }

    .home-round-icon {
        width: 52px !important;
        height: 52px !important;
        border-radius: 18px !important;
        background: #f4f5f7 !important;
    }

    .home-search-app {
        grid-area: search;
        margin: 0 !important;
        border-radius: 30px;
        background: #fff;
        border: 1px solid rgba(23,23,28,.06);
        box-shadow: 0 18px 45px rgba(23,23,28,.06);
        padding: 16px;
        display: grid !important;
        grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
        gap: 14px !important;
        align-items: center;
    }

    .home-search-pill {
        min-height: 58px !important;
        border-radius: 20px !important;
        background: #f6f7f9 !important;
        padding: 0 18px !important;
    }

    .home-search-pill input,
    .home-filter-strip input {
        font-size: 15px !important;
    }

    .home-filter-strip {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 86px !important;
        gap: 10px !important;
    }

    .home-filter-strip label {
        min-height: 58px !important;
        border-radius: 20px !important;
        background: #f6f7f9 !important;
        padding: 7px 15px !important;
    }

    .home-filter-strip button {
        min-width: 86px !important;
        min-height: 58px !important;
        border-radius: 20px !important;
        font-size: 14px !important;
    }

    .home-result-pill {
        grid-area: result;
        margin: 0 !important;
        max-width: 100%;
    }

    .home-promo-card {
        grid-area: promo;
        min-height: 238px !important;
        height: 100%;
        border-radius: 34px !important;
        padding: 30px !important;
        grid-template-columns: minmax(0, 1fr) 190px !important;
        box-shadow: 0 28px 70px rgba(239,65,54,.24) !important;
    }

    .home-promo-copy span,
    .home-promo-copy small {
        font-size: 15px !important;
    }

    .home-promo-copy strong {
        max-width: 340px;
        font-size: clamp(35px, 4.2vw, 58px) !important;
        line-height: .92 !important;
        letter-spacing: -.07em !important;
    }

    .home-promo-copy small {
        max-width: 280px !important;
        line-height: 1.45 !important;
    }

    .home-promo-image {
        height: 190px !important;
    }

    .home-promo-image img {
        max-width: 190px !important;
        max-height: 190px !important;
        border-radius: 26px !important;
    }

    .home-feed-section {
        grid-column: 1 / -1;
        margin-top: 10px !important;
        border-radius: 34px;
        background: #fff;
        border: 1px solid rgba(23,23,28,.06);
        box-shadow: 0 18px 45px rgba(23,23,28,.055);
        padding: 24px;
    }

    .home-section-head {
        margin-bottom: 18px !important;
    }

    .home-section-head h2 {
        font-size: 27px !important;
        letter-spacing: -.055em !important;
    }

    .home-section-head a {
        min-height: 38px;
        display: inline-grid;
        place-items: center;
        padding: 0 14px;
        border-radius: 999px;
        background: #fff2f1;
        color: #ef4136 !important;
        font-size: 13px !important;
    }

    .home-deal-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .home-deal-tile {
        border-radius: 24px !important;
        box-shadow: 0 16px 36px rgba(23,23,28,.07) !important;
        transition: transform .22s ease, box-shadow .22s ease;
    }

    .home-deal-tile:hover {
        transform: translateY(-5px);
        box-shadow: 0 22px 50px rgba(23,23,28,.12) !important;
    }

    .home-deal-media {
        height: auto !important;
        aspect-ratio: 1 / .72;
    }

    .home-deal-copy {
        padding: 14px 15px 16px !important;
    }

    .home-deal-copy h3 {
        min-height: 38px !important;
        font-size: 17px !important;
        line-height: 1.12 !important;
    }

    .home-deal-copy p {
        font-size: 12px !important;
        margin-bottom: 9px !important;
    }

    .home-deal-copy strong {
        font-size: 16px !important;
    }

    .home-save-btn {
        width: 38px !important;
        height: 38px !important;
        top: 12px !important;
        right: 12px !important;
    }

    .home-empty-state {
        grid-column: 1 / -1;
        margin-top: 10px !important;
        border-radius: 34px !important;
        background: #fff !important;
        padding: 54px 28px !important;
        box-shadow: 0 18px 45px rgba(23,23,28,.055);
    }
}

@media (min-width: 769px) and (max-width: 1040px) {
    .app-phone-home {
        grid-template-columns: 1fr;
        grid-template-areas:
            "top"
            "search"
            "result"
            "promo"
            "featured"
            "popular";
    }

    .home-search-app {
        grid-template-columns: 1fr !important;
    }

    .home-promo-card {
        min-height: 210px !important;
    }

    .home-deal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Home admin-controlled banners and manual featured sections */
.home-banner-carousel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    overflow: hidden;
    border-radius: 22px;
}
.home-banner-carousel.has-multiple .home-manual-banner {
    grid-area: 1 / 1;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateX(16px) scale(.985);
    transition: opacity .45s ease, transform .45s ease;
}
.home-banner-carousel.has-multiple .home-manual-banner.active,
.home-banner-carousel.is-single .home-manual-banner.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}
.home-manual-banner {
    text-decoration: none;
    touch-action: pan-y;
}
.home-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Multiple active admin banners auto-scroll every 10 seconds. Dots stay removed for a cleaner home ad area. */
.home-section-subtitle {
    margin: -4px 0 10px;
    color: #737782;
    font-size: 12px;
    font-weight: 750;
}
@media (min-width: 980px) {
    .home-banner-carousel {
        grid-area: promo;
        align-self: stretch;
        border-radius: 34px;
    }
    .home-banner-carousel .home-promo-card {
        height: 100%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-banner-carousel.has-multiple .home-manual-banner {
        transition: none;
        transform: none;
    }
}

/* ==========================================================
   FINAL HOME HARD FIX — desktop website + mobile app preserved
   - Desktop no longer uses the phone-shell layout.
   - Admin banner ads are full banner images.
   - Multiple active banners auto-rotate every 10 seconds from JS.
   ========================================================== */

.desktop-home-hero { display: none; }

.home-banner-carousel,
.home-banner-fallback {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(23,23,28,.06);
    box-shadow: 0 16px 42px rgba(23,23,28,.08);
}

.home-banner-carousel {
    height: 132px;
    min-height: 132px;
}

.home-banner-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateX(18px) scale(.99);
    transition: opacity .45s ease, transform .45s ease;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.home-banner-carousel.is-single .home-banner-slide,
.home-banner-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.home-banner-art {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-banner-label {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    min-height: 26px;
    display: inline-grid;
    place-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #ef4136;
    font-size: 10px;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(23,23,28,.12);
}

.home-banner-fallback {
    min-height: 132px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 18px;
    background: linear-gradient(135deg, #ef4136, #ff6a60);
    color: #fff;
    box-shadow: 0 16px 42px rgba(239,65,54,.24);
    text-decoration: none;
}
.home-banner-fallback span,
.home-banner-fallback small {
    display: block;
    color: rgba(255,255,255,.86);
    font-size: 12px;
    font-weight: 850;
}
.home-banner-fallback strong {
    display: block;
    max-width: 260px;
    margin: 5px 0;
    color: #fff;
    font-size: 24px;
    line-height: .98;
    font-weight: 950;
    letter-spacing: -.05em;
}
.home-banner-fallback img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    padding: 10px;
    border-radius: 22px;
    background: #fff;
}

@media (min-width: 769px) {
    .app-home-page {
        background: #f4f5f7 !important;
        min-height: 100vh;
    }

    .app-home-page .nav {
        display: block !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 200 !important;
        background: rgba(255,255,255,.94) !important;
        border-bottom: 1px solid rgba(23,23,28,.08) !important;
        box-shadow: 0 10px 32px rgba(23,23,28,.035) !important;
    }

    .app-home-page .footer { display: block !important; }

    .app-home-canvas {
        width: min(100%, 1240px) !important;
        max-width: 1240px !important;
        margin: 0 auto !important;
        padding: 34px 24px 76px !important;
        display: block !important;
        place-items: unset !important;
    }

    .desktop-home-hero {
        display: flex !important;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;
        margin-bottom: 24px;
        padding: 34px;
        border-radius: 36px;
        background:
            radial-gradient(circle at top right, rgba(239,65,54,.16), transparent 36%),
            linear-gradient(135deg, #ffffff, #fafbfc);
        border: 1px solid rgba(23,23,28,.06);
        box-shadow: 0 20px 55px rgba(23,23,28,.07);
    }

    .desktop-home-kicker {
        display: inline-grid;
        place-items: center;
        min-height: 32px;
        padding: 0 13px;
        border-radius: 999px;
        background: #fff0ef;
        color: #ef4136;
        font-size: 12px;
        font-weight: 950;
        letter-spacing: .02em;
        margin-bottom: 14px;
    }

    .desktop-home-copy h1 {
        max-width: 680px;
        margin: 0;
        color: #17181d;
        font-family: var(--font-body) !important;
        font-size: clamp(42px, 5vw, 72px) !important;
        line-height: .92 !important;
        font-weight: 950 !important;
        letter-spacing: -.075em !important;
    }

    .desktop-home-copy p {
        max-width: 640px;
        margin: 14px 0 0;
        color: #626772;
        font-size: 16px;
        line-height: 1.65;
        font-weight: 650;
    }

    .desktop-home-actions {
        flex: 0 0 auto;
        display: flex;
        gap: 10px;
        align-items: center;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .desktop-home-primary,
    .desktop-home-secondary {
        min-height: 48px;
        display: inline-grid;
        place-items: center;
        padding: 0 18px;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 950;
        text-decoration: none;
    }

    .desktop-home-primary {
        background: #ef4136;
        color: #fff;
        box-shadow: 0 14px 30px rgba(239,65,54,.24);
    }

    .desktop-home-secondary {
        background: #fff;
        color: #17181d;
        border: 1px solid #ebedf2;
    }

    .app-phone-home {
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(380px, 430px);
        grid-template-areas:
            "search banner"
            "result banner"
            "content content";
        gap: 22px 26px;
        align-items: start;
    }

    .app-phone-home::before,
    .home-top-row { display: none !important; }

    .home-search-app {
        grid-area: search !important;
        margin: 0 !important;
        padding: 16px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
        gap: 14px !important;
        align-items: center;
        border-radius: 32px;
        background: #fff;
        border: 1px solid rgba(23,23,28,.06);
        box-shadow: 0 18px 45px rgba(23,23,28,.06);
    }

    .home-search-pill,
    .home-filter-strip label {
        min-height: 58px !important;
        border-radius: 20px !important;
        background: #f6f7f9 !important;
        border-color: #eef0f4 !important;
    }

    .home-search-pill { padding: 0 18px !important; }

    .home-search-pill input,
    .home-filter-strip input {
        font-size: 15px !important;
        font-weight: 850 !important;
    }

    .home-filter-strip {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 86px !important;
        gap: 10px !important;
    }

    .home-filter-strip button {
        min-width: 86px !important;
        min-height: 58px !important;
        border-radius: 20px !important;
        background: #ef4136 !important;
        font-size: 14px !important;
    }

    .home-result-pill {
        grid-area: result !important;
        margin: 0 !important;
        min-height: 48px;
        padding: 0 16px !important;
        border-radius: 22px !important;
        background: #fff !important;
        box-shadow: 0 12px 34px rgba(23,23,28,.05);
    }

    .home-banner-carousel,
    .home-banner-fallback {
        grid-area: banner !important;
        min-height: 292px !important;
        height: 100% !important;
        border-radius: 34px !important;
        align-self: stretch;
        box-shadow: 0 22px 60px rgba(23,23,28,.10) !important;
    }

    .home-banner-carousel { height: 292px !important; }
    .home-banner-label { left: 18px; top: 18px; min-height: 30px; padding: 0 12px; font-size: 11px; }

    .home-banner-fallback {
        padding: 30px !important;
        grid-template-columns: minmax(0, 1fr) 110px !important;
    }
    .home-banner-fallback strong { font-size: clamp(30px, 3.5vw, 44px) !important; max-width: 420px; }
    .home-banner-fallback img { width: 104px; height: 104px; }

    .home-feed-section,
    .home-empty-state {
        grid-column: 1 / -1 !important;
    }

    .home-feed-section {
        margin-top: 2px !important;
        padding: 24px !important;
        border-radius: 34px !important;
        background: #fff !important;
        border: 1px solid rgba(23,23,28,.06) !important;
        box-shadow: 0 18px 45px rgba(23,23,28,.055) !important;
    }

    .home-section-head h2 {
        font-size: 28px !important;
        letter-spacing: -.055em !important;
    }

    .home-deal-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .home-deal-tile { border-radius: 24px !important; }
    .home-deal-media { height: auto !important; aspect-ratio: 1 / .72; }
    .home-deal-copy { padding: 14px 15px 16px !important; }
    .home-deal-copy h3 { font-size: 17px !important; min-height: 38px !important; }
    .home-deal-copy p { font-size: 12px !important; margin-bottom: 9px !important; }
    .home-deal-copy strong { font-size: 16px !important; }
    .home-save-btn { width: 38px !important; height: 38px !important; top: 12px !important; right: 12px !important; }
}

@media (min-width: 769px) and (max-width: 1040px) {
    .desktop-home-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .desktop-home-actions { justify-content: flex-start; }

    .app-phone-home {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "search"
            "result"
            "banner"
            "content" !important;
    }

    .home-search-app { grid-template-columns: 1fr !important; }
    .home-banner-carousel,
    .home-banner-fallback { min-height: 260px !important; height: 260px !important; }
    .home-deal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 768px) {
    .desktop-home-hero { display: none !important; }
    .home-banner-carousel { height: 120px; min-height: 120px; }
    .home-banner-label { display: none; }
    .home-banner-fallback { min-height: 120px; border-radius: 20px; }
}

@media (max-width: 440px) {
    .home-banner-carousel { height: 118px; min-height: 118px; }
}

/* ==========================================================
   UI/UX FINAL CLEANUP v1.6
   Purpose: remove every visible dot/pagination artifact, use real logo,
   lock desktop as website layout, keep mobile as app-style layout,
   and stabilize admin-controlled home banner carousel.
   ========================================================== */

/* Do not show decorative logo/status/banner dots anywhere. */
.logo::before,
.logo-dot,
.direct-ad-dots,
.direct-ad-dots span,
.home-slider-dots,
.home-slider-dot,
.home-banner-dots,
.home-banner-dot,
.carousel-dots,
.carousel-dot,
.swiper-pagination,
.slider-pagination,
.pagination-dots,
.app-statusbar,
.phone-status,
.status-dots,
.status-dot,
.mock-status,
.mock-status-dots {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

.logo {
    gap: 10px !important;
    text-decoration: none !important;
}
.logo-img {
    display: block !important;
    width: 42px !important;
    height: 42px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    background: #ffffff !important;
}
.logo span {
    display: inline-block !important;
}

/* Manual ad banner: clean image carousel only, no controls/dots. */
.home-banner-carousel {
    isolation: isolate;
    touch-action: pan-y;
}
.home-banner-slide {
    border: 0 !important;
    outline: none !important;
}
.home-banner-slide:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(239,65,54,.55);
}
.home-banner-slide:not(.active) {
    pointer-events: none !important;
}
.home-banner-art {
    border: 0 !important;
    display: block !important;
}
.home-banner-label {
    display: none !important;
}

/* Desktop: real website, not phone mockup. */
@media (min-width: 769px) {
    body.app-home-page {
        background: #f4f5f7 !important;
    }
    .app-home-page .mobile-bottom-nav {
        display: none !important;
    }
    .app-home-page .nav {
        display: block !important;
        background: rgba(255,255,255,.96) !important;
        border-bottom: 1px solid rgba(23,23,28,.08) !important;
        box-shadow: 0 10px 32px rgba(23,23,28,.04) !important;
    }
    .app-home-page .footer {
        display: block !important;
    }
    .app-home-canvas {
        width: min(100%, 1240px) !important;
        max-width: 1240px !important;
        margin: 0 auto !important;
        padding: 34px 24px 76px !important;
        display: block !important;
    }
    .desktop-home-hero {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        gap: 24px !important;
        margin-bottom: 24px !important;
    }
    .app-phone-home {
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(380px, 430px) !important;
        grid-template-areas:
            "search banner"
            "result banner"
            "content content" !important;
        gap: 22px 26px !important;
        align-items: start !important;
    }
    .app-phone-home::before,
    .app-phone-home::after,
    .home-top-row {
        display: none !important;
    }
    .home-search-app {
        grid-area: search !important;
        margin: 0 !important;
        padding: 16px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr) !important;
        gap: 14px !important;
        align-items: center !important;
        border-radius: 32px !important;
        background: #ffffff !important;
        border: 1px solid rgba(23,23,28,.06) !important;
        box-shadow: 0 18px 45px rgba(23,23,28,.06) !important;
    }
    .home-result-pill {
        grid-area: result !important;
        margin: 0 !important;
        min-height: 48px !important;
        border-radius: 22px !important;
        background: #ffffff !important;
    }
    .home-banner-carousel,
    .home-banner-fallback {
        grid-area: banner !important;
        height: 292px !important;
        min-height: 292px !important;
        max-height: 292px !important;
        border-radius: 34px !important;
        align-self: stretch !important;
        box-shadow: 0 22px 60px rgba(23,23,28,.10) !important;
        background: #fff !important;
    }
    .home-banner-art {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
    .home-feed-section,
    .home-empty-state {
        grid-column: 1 / -1 !important;
        grid-area: auto !important;
    }
    .home-feed-section {
        margin-top: 2px !important;
        padding: 24px !important;
        border-radius: 34px !important;
        background: #ffffff !important;
        border: 1px solid rgba(23,23,28,.06) !important;
        box-shadow: 0 18px 45px rgba(23,23,28,.055) !important;
    }
    .home-deal-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }
}

@media (min-width: 769px) and (max-width: 1040px) {
    .app-phone-home {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "search"
            "result"
            "banner"
            "content" !important;
    }
    .home-search-app {
        grid-template-columns: 1fr !important;
    }
    .home-banner-carousel,
    .home-banner-fallback {
        height: 260px !important;
        min-height: 260px !important;
        max-height: 260px !important;
    }
    .home-deal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Mobile: app layout, clean top, no browser/status mockup. */
@media (max-width: 768px) {
    body.app-home-page {
        background: #ef4136 !important;
        padding-bottom: 0 !important;
    }
    .app-home-page .nav,
    .app-home-page .footer {
        display: none !important;
    }
    .app-home-canvas {
        display: grid !important;
        place-items: start center !important;
        padding: 12px 10px 96px !important;
    }
    .app-phone-home {
        width: min(100%, 420px) !important;
        min-height: calc(100vh - 108px) !important;
        border-radius: 28px !important;
        padding: 12px 12px 20px !important;
        background: #fff !important;
        box-shadow: 0 18px 50px rgba(24,24,30,.22) !important;
        overflow: hidden !important;
    }
    .app-phone-home::before,
    .app-phone-home::after {
        display: none !important;
    }
    .home-top-row {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    .home-banner-carousel,
    .home-banner-fallback {
        height: 124px !important;
        min-height: 124px !important;
        max-height: 124px !important;
        border-radius: 20px !important;
        margin-top: 14px !important;
        box-shadow: 0 16px 34px rgba(23,23,28,.08) !important;
    }
    .home-banner-art {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    .home-deal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

@media (max-width: 380px) {
    .home-banner-carousel,
    .home-banner-fallback {
        height: 116px !important;
        min-height: 116px !important;
        max-height: 116px !important;
    }
}

/* ==========================================================
   DESKTOP HOME REBUILD v1.7
   Requested order: heading -> search -> full-width banner -> feature sections.
   Mobile remains app-style, with only Home / Saved / Sign in-Account in bottom nav.
   ========================================================== */

@media (min-width: 769px) {
    body.app-home-page {
        background: #f4f5f7 !important;
        color: #17181d !important;
    }

    .app-home-page .nav {
        display: block !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 200 !important;
        background: rgba(255,255,255,.97) !important;
        border-bottom: 1px solid rgba(23,23,28,.08) !important;
        box-shadow: 0 10px 34px rgba(23,23,28,.045) !important;
    }

    .app-home-page .footer { display: block !important; }
    .app-home-page .mobile-bottom-nav { display: none !important; }

    .app-home-canvas {
        width: min(100%, 1240px) !important;
        max-width: 1240px !important;
        margin: 0 auto !important;
        padding: 34px 24px 80px !important;
        display: block !important;
        place-items: unset !important;
    }

    .desktop-home-hero {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        gap: 26px !important;
        width: 100% !important;
        margin: 0 0 22px !important;
        padding: 34px 36px !important;
        border-radius: 36px !important;
        background:
            radial-gradient(circle at top right, rgba(239,65,54,.16), transparent 36%),
            linear-gradient(135deg, #ffffff 0%, #fbfcfd 100%) !important;
        border: 1px solid rgba(23,23,28,.06) !important;
        box-shadow: 0 20px 58px rgba(23,23,28,.07) !important;
    }

    .desktop-home-copy { min-width: 0 !important; }
    .desktop-home-kicker {
        display: inline-grid !important;
        place-items: center !important;
        min-height: 32px !important;
        padding: 0 14px !important;
        margin-bottom: 14px !important;
        border-radius: 999px !important;
        background: #fff0ef !important;
        color: #ef4136 !important;
        font-size: 12px !important;
        font-weight: 950 !important;
        letter-spacing: .02em !important;
    }

    .desktop-home-copy h1 {
        max-width: 720px !important;
        margin: 0 !important;
        color: #17181d !important;
        font-family: var(--font-body) !important;
        font-size: clamp(44px, 5.2vw, 74px) !important;
        line-height: .92 !important;
        font-weight: 950 !important;
        letter-spacing: -.075em !important;
    }

    .desktop-home-copy p {
        max-width: 720px !important;
        margin: 14px 0 0 !important;
        color: #626772 !important;
        font-size: 16px !important;
        line-height: 1.65 !important;
        font-weight: 650 !important;
    }

    .desktop-home-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
        flex: 0 0 auto !important;
    }

    .desktop-home-primary,
    .desktop-home-secondary {
        min-height: 48px !important;
        display: inline-grid !important;
        place-items: center !important;
        padding: 0 18px !important;
        border-radius: 999px !important;
        font-size: 14px !important;
        font-weight: 950 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    .desktop-home-primary {
        background: #ef4136 !important;
        color: #fff !important;
        box-shadow: 0 14px 30px rgba(239,65,54,.24) !important;
    }

    .desktop-home-secondary {
        background: #fff !important;
        color: #17181d !important;
        border: 1px solid #ebedf2 !important;
    }

    .app-phone-home {
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
        display: block !important;
        grid-template-columns: none !important;
        grid-template-areas: none !important;
    }

    .app-phone-home::before,
    .app-phone-home::after,
    .home-top-row {
        display: none !important;
    }

    .home-search-app {
        width: 100% !important;
        margin: 0 0 22px !important;
        padding: 16px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr) !important;
        gap: 14px !important;
        align-items: center !important;
        border-radius: 32px !important;
        background: #ffffff !important;
        border: 1px solid rgba(23,23,28,.06) !important;
        box-shadow: 0 18px 45px rgba(23,23,28,.06) !important;
        grid-area: auto !important;
    }

    .home-search-pill,
    .home-filter-strip label {
        min-height: 58px !important;
        border-radius: 20px !important;
        background: #f6f7f9 !important;
        border-color: #eef0f4 !important;
    }

    .home-search-pill { padding: 0 18px !important; }
    .home-search-pill input,
    .home-filter-strip input {
        font-size: 15px !important;
        font-weight: 850 !important;
    }

    .home-filter-strip {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 92px !important;
        gap: 10px !important;
    }

    .home-filter-strip button {
        min-width: 92px !important;
        min-height: 58px !important;
        border-radius: 20px !important;
        background: #ef4136 !important;
        font-size: 14px !important;
    }

    .home-result-pill {
        width: 100% !important;
        margin: -8px 0 20px !important;
        min-height: 48px !important;
        padding: 0 16px !important;
        border-radius: 22px !important;
        background: #ffffff !important;
        box-shadow: 0 12px 34px rgba(23,23,28,.05) !important;
        grid-area: auto !important;
    }

    .home-banner-carousel,
    .home-banner-fallback {
        width: 100% !important;
        height: clamp(300px, 32vw, 420px) !important;
        min-height: clamp(300px, 32vw, 420px) !important;
        max-height: 420px !important;
        margin: 0 0 28px !important;
        border-radius: 36px !important;
        grid-area: auto !important;
        align-self: auto !important;
        background: #fff !important;
        border: 1px solid rgba(23,23,28,.06) !important;
        box-shadow: 0 24px 64px rgba(23,23,28,.10) !important;
    }

    .home-banner-art {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
    }

    .home-banner-fallback {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 160px !important;
        align-items: center !important;
        gap: 24px !important;
        padding: 42px !important;
        background: linear-gradient(135deg, #ef4136 0%, #ff655c 100%) !important;
        color: #fff !important;
    }

    .home-banner-fallback strong {
        max-width: 620px !important;
        font-size: clamp(38px, 4.8vw, 64px) !important;
        line-height: .92 !important;
        letter-spacing: -.075em !important;
    }

    .home-banner-fallback img {
        width: 150px !important;
        height: 150px !important;
        object-fit: contain !important;
        border-radius: 32px !important;
        padding: 18px !important;
        background: #fff !important;
    }

    .home-feed-section,
    .home-empty-state {
        width: 100% !important;
        grid-column: auto !important;
        grid-area: auto !important;
    }

    .home-feed-section {
        margin: 0 0 24px !important;
        padding: 26px !important;
        border-radius: 34px !important;
        background: #ffffff !important;
        border: 1px solid rgba(23,23,28,.06) !important;
        box-shadow: 0 18px 45px rgba(23,23,28,.055) !important;
    }

    .home-section-head { margin-bottom: 18px !important; }
    .home-section-head h2 {
        font-size: 28px !important;
        letter-spacing: -.055em !important;
    }

    .home-deal-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .home-deal-tile { border-radius: 24px !important; }
    .home-deal-media { height: auto !important; aspect-ratio: 1 / .72 !important; }
    .home-deal-copy { padding: 14px 15px 16px !important; }
    .home-deal-copy h3 { font-size: 17px !important; min-height: 38px !important; }
    .home-deal-copy p { font-size: 12px !important; margin-bottom: 9px !important; }
    .home-deal-copy strong { font-size: 16px !important; }
    .home-save-btn { width: 38px !important; height: 38px !important; top: 12px !important; right: 12px !important; }
}

@media (min-width: 769px) and (max-width: 1040px) {
    .desktop-home-hero {
        align-items: flex-start !important;
        flex-direction: column !important;
    }
    .desktop-home-actions { justify-content: flex-start !important; }
    .home-search-app { grid-template-columns: 1fr !important; }
    .home-banner-carousel,
    .home-banner-fallback {
        height: 280px !important;
        min-height: 280px !important;
        max-height: 280px !important;
    }
    .home-deal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (min-width: 769px) and (max-width: 900px) {
    .home-deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .mobile-bottom-item {
        min-height: 50px !important;
    }
    .mobile-bottom-primary {
        display: none !important;
    }
    .app-home-page .mobile-bottom-nav {
        display: grid !important;
    }
}

/* ===== Search nav + filter page patch v1.8 ===== */
.nav-links a.is-active,
.nav-links .btn-nav.is-active,
.nav-links .btn-nav-outline.is-active {
    background: rgba(239,65,54,.10) !important;
    color: #ef4136 !important;
}
.nav-links .btn-nav.is-active {
    background: #ef4136 !important;
    color: #fff !important;
}

.mobile-bottom-item.is-active {
    color: #ef4136 !important;
    background: #fff0ef !important;
}
.mobile-bottom-item.is-active .nav-ico svg { fill: currentColor !important; }

.search-shell {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 34px 24px 88px;
}
.search-hero-card {
    border-radius: 36px;
    padding: 36px;
    background:
        radial-gradient(circle at top right, rgba(239,65,54,.18), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, #fbfcfd 100%);
    border: 1px solid rgba(23,23,28,.06);
    box-shadow: 0 20px 58px rgba(23,23,28,.07);
    margin-bottom: 18px;
}
.search-kicker {
    display: inline-grid;
    place-items: center;
    min-height: 32px;
    padding: 0 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #fff0ef;
    color: #ef4136;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .02em;
}
.search-hero-card h1 {
    margin: 0;
    color: #17181d;
    font-family: var(--font-body) !important;
    font-size: clamp(42px, 5vw, 68px) !important;
    line-height: .95 !important;
    font-weight: 950 !important;
    letter-spacing: -.075em !important;
}
.search-hero-card p {
    max-width: 720px;
    margin: 14px 0 0;
    color: #626772;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 650;
}
.search-filter-card {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(220px, .75fr) minmax(250px, .85fr) 130px;
    gap: 12px;
    align-items: end;
    padding: 16px;
    border-radius: 32px;
    background: #fff;
    border: 1px solid rgba(23,23,28,.06);
    box-shadow: 0 18px 45px rgba(23,23,28,.06);
    margin-bottom: 22px;
}
.search-input-wrap {
    min-width: 0;
    min-height: 62px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 9px 14px;
    border-radius: 20px;
    background: #f6f7f9;
    border: 1px solid #eef0f4;
}
.search-input-wrap span {
    color: #9aa0aa;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.search-input-wrap input,
.search-input-wrap select {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #17181d;
    font-family: var(--font-body) !important;
    font-size: 15px;
    font-weight: 850;
}
.search-input-wrap select { cursor: pointer; }
.search-submit-btn {
    min-height: 62px;
    border: 0;
    border-radius: 20px;
    background: #ef4136;
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(239,65,54,.24);
}
.search-results-panel {
    padding: 26px;
    border-radius: 34px;
    background: #fff;
    border: 1px solid rgba(23,23,28,.06);
    box-shadow: 0 18px 45px rgba(23,23,28,.055);
}
.search-results-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.search-results-head h2 {
    margin: 0;
    color: #17181d;
    font-size: 30px !important;
    line-height: 1;
    font-weight: 950 !important;
    letter-spacing: -.055em !important;
}
.search-results-head p {
    margin: 8px 0 0;
    color: #747a85;
    font-size: 14px;
    font-weight: 700;
}
.search-results-head a {
    color: #ef4136;
    font-size: 14px;
    font-weight: 950;
    white-space: nowrap;
}
.search-results-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}
.search-empty-state { margin-top: 0 !important; }

@media (max-width: 1040px) and (min-width: 769px) {
    .search-filter-card { grid-template-columns: 1fr 1fr; }
    .search-submit-btn { grid-column: 1 / -1; }
    .search-results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 900px) and (min-width: 769px) {
    .search-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 768px) {
    .search-shell {
        padding: 14px 14px 104px;
    }
    .app-search-page .footer { display: none !important; }
    .app-search-page .mobile-bottom-nav {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
    .search-hero-card {
        padding: 22px;
        border-radius: 28px;
        margin-bottom: 12px;
    }
    .search-hero-card h1 { font-size: 36px !important; }
    .search-hero-card p { font-size: 14px; line-height: 1.55; }
    .search-filter-card {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
        border-radius: 26px;
        margin-bottom: 14px;
    }
    .search-input-wrap,
    .search-submit-btn {
        min-height: 54px;
        border-radius: 18px;
    }
    .search-results-panel {
        padding: 14px;
        border-radius: 28px;
    }
    .search-results-head {
        align-items: flex-start;
        margin-bottom: 14px;
    }
    .search-results-head h2 { font-size: 22px !important; }
    .search-results-head p { font-size: 12px; }
    .search-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    .mobile-bottom-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 380px) {
    .mobile-bottom-item { font-size: 10.5px !important; }
    .mobile-bottom-item .nav-ico svg { width: 19px; height: 19px; }
}

/* ===== Announcement bar + pre-launch system ===== */
.announcement-bar {
    position: relative;
    z-index: 1200;
    background: linear-gradient(90deg, #130f0b, #2b130c 48%, #6d210d);
    color: #fff7ed;
    border-bottom: 1px solid rgba(255,255,255,.16);
    overflow: hidden;
}
.announcement-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
    transform: translateX(-100%);
    animation: announcementSweep 4.5s ease-in-out infinite;
}
.announcement-bar__inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    font-size: 13px;
    line-height: 1.35;
}
.announcement-bar__pulse {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #fbbf24;
    box-shadow: 0 0 0 0 rgba(251,191,36,.6);
    animation: announcementPulse 1.6s ease-out infinite;
    flex: 0 0 auto;
}
.announcement-bar a {
    color: #111827;
    background: #fbbf24;
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 2px 0 rgba(0,0,0,.22);
}
@keyframes announcementSweep { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes announcementPulse { 0% { box-shadow: 0 0 0 0 rgba(251,191,36,.6); } 100% { box-shadow: 0 0 0 12px rgba(251,191,36,0); } }

.subscription-strip--prelaunch {
    background: linear-gradient(135deg, #101827, #18263f);
    color: #f8fafc;
    border-color: rgba(251,191,36,.42) !important;
}
.subscription-strip--prelaunch .subscription-strip-icon {
    background: #fbbf24;
    color: #111827;
}
.subscription-strip--prelaunch .subscription-strip-link {
    color: #fbbf24;
}

.home-launch-panel {
    position: relative;
    overflow: hidden;
    margin: 22px auto 18px;
    max-width: 1180px;
    border: 1px solid rgba(251,191,36,.35);
    border-radius: 28px;
    background: radial-gradient(circle at 12% 15%, rgba(251,191,36,.22), transparent 28%), linear-gradient(135deg, #0f172a, #111827 48%, #2a160b);
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    gap: 22px;
    padding: clamp(20px, 4vw, 36px);
    box-shadow: 0 22px 60px rgba(15,23,42,.28);
}
.home-launch-panel__glow {
    position: absolute;
    width: 260px;
    height: 260px;
    right: -60px;
    top: -80px;
    border-radius: 999px;
    background: rgba(232,80,31,.32);
    filter: blur(44px);
    animation: launchFloat 8s ease-in-out infinite alternate;
}
.home-launch-panel__content,
.home-launch-countdown { position: relative; z-index: 1; }
.home-launch-panel__kicker,
.launch-kicker {
    display: inline-flex;
    width: fit-content;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(251,191,36,.14);
    border: 1px solid rgba(251,191,36,.28);
    color: #fde68a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.home-launch-panel h2 {
    margin: 14px 0 10px;
    font-size: clamp(26px, 4vw, 46px);
    line-height: .98;
    letter-spacing: -.04em;
}
.home-launch-panel p {
    margin: 0;
    max-width: 720px;
    color: rgba(255,255,255,.78);
    line-height: 1.65;
}
.home-launch-panel__actions,
.launch-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.home-launch-panel__actions a,
.launch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
}
.home-launch-panel__actions a:first-child,
.launch-btn--primary {
    color: #111827;
    background: #fbbf24;
    box-shadow: 0 4px 0 rgba(0,0,0,.24);
}
.home-launch-panel__actions a:last-child,
.launch-btn--ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(255,255,255,.08);
}
.home-launch-countdown {
    align-self: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.home-launch-countdown div,
.launch-countdown div {
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.09);
    border-radius: 18px;
    padding: 18px 12px;
    text-align: center;
    backdrop-filter: blur(10px);
}
.home-launch-countdown strong,
.launch-countdown strong {
    display: block;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
    color: #fbbf24;
}
.home-launch-countdown span,
.launch-countdown span {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.launch-page .nav { background: rgba(9,12,22,.88); border-bottom-color: rgba(255,255,255,.12); }
.launch-page .nav a,
.launch-page .logo span { color: #fff; }
.launch-page .menu-toggle { color: #fff; border-color: rgba(255,255,255,.22); }
.launch-hero {
    position: relative;
    min-height: calc(100vh - 74px);
    overflow: hidden;
    background: #060914;
    color: #fff;
    padding: clamp(32px, 6vw, 82px) 18px;
}
.launch-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(circle at center, black 0 45%, transparent 80%);
    animation: launchGridMove 16s linear infinite;
}
.launch-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(52px);
    opacity: .8;
    animation: launchFloat 9s ease-in-out infinite alternate;
}
.launch-orb--one { width: 360px; height: 360px; left: -120px; top: 6%; background: rgba(232,80,31,.42); }
.launch-orb--two { width: 420px; height: 420px; right: -140px; bottom: -90px; background: rgba(251,191,36,.28); animation-delay: -3s; }
.launch-shell {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}
.launch-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(44px, 7vw, 92px);
    line-height: .88;
    letter-spacing: -.07em;
    max-width: 820px;
}
.launch-copy p {
    max-width: 720px;
    color: rgba(255,255,255,.75);
    line-height: 1.72;
    font-size: clamp(16px, 2vw, 20px);
}
.launch-status-card {
    margin-top: 24px;
    max-width: 620px;
    padding: 18px;
    border: 1px solid rgba(251,191,36,.28);
    border-radius: 22px;
    background: rgba(255,255,255,.075);
    backdrop-filter: blur(12px);
}
.launch-status-card span {
    display: block;
    color: #fde68a;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: 11px;
}
.launch-status-card strong {
    display: block;
    margin: 7px 0;
    font-size: 24px;
}
.launch-status-card small { color: rgba(255,255,255,.68); line-height: 1.5; }
.launch-console {
    position: relative;
    padding: 18px;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.16);
    background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
    box-shadow: 0 30px 80px rgba(0,0,0,.38), inset 0 0 0 1px rgba(255,255,255,.06);
    backdrop-filter: blur(18px);
}
.launch-console-top {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
}
.launch-console-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #fbbf24;
}
.launch-console-top span:nth-child(2) { background: #e8501f; }
.launch-console-top span:nth-child(3) { background: #22c55e; }
.launch-console-top strong { margin-left: auto; }
.launch-radar {
    position: relative;
    width: min(360px, 82vw);
    aspect-ratio: 1;
    margin: 26px auto;
    border-radius: 999px;
    border: 1px solid rgba(251,191,36,.22);
    background: radial-gradient(circle, rgba(251,191,36,.2) 0 2px, transparent 3px), repeating-radial-gradient(circle, rgba(255,255,255,.12) 0 1px, transparent 1px 54px), linear-gradient(135deg, rgba(251,191,36,.08), rgba(232,80,31,.12));
    overflow: hidden;
}
.launch-radar::before,
.launch-radar::after {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    height: 1px;
    background: rgba(255,255,255,.12);
}
.launch-radar::after { transform: rotate(90deg); }
.launch-radar-sweep {
    position: absolute;
    inset: 0;
    background: conic-gradient(from 0deg, rgba(251,191,36,.55), transparent 72deg);
    animation: radarSpin 3.2s linear infinite;
}
.launch-radar-core {
    position: absolute;
    inset: 42%;
    border-radius: 999px;
    background: #fbbf24;
    box-shadow: 0 0 34px #fbbf24;
}
.launch-countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.launch-rule-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}
.launch-rule-list div {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.74);
    font-size: 13px;
    line-height: 1.45;
}
.launch-rule-list b { color: #fbbf24; }
@keyframes launchGridMove { from { background-position: 0 0; } to { background-position: 52px 52px; } }
@keyframes launchFloat { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(18px, -18px, 0) scale(1.08); } }
@keyframes radarSpin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
    .home-launch-panel,
    .launch-shell { grid-template-columns: 1fr; }
    .launch-copy h1 { font-size: clamp(40px, 14vw, 68px); }
}
@media (max-width: 640px) {
    .announcement-bar__inner { align-items: flex-start; justify-content: flex-start; text-align: left; padding: 10px 14px; }
    .announcement-bar a { padding: 5px 10px; font-size: 12px; }
    .home-launch-panel { border-radius: 24px; margin: 14px 10px; }
    .home-launch-countdown,
    .launch-countdown { grid-template-columns: repeat(2, 1fr); }
    .launch-console { border-radius: 24px; padding: 14px; }
    .launch-rule-list div { grid-template-columns: 36px 1fr; }
}

/* ===== Cleaner business-first launch design patch ===== */
.announcement-bar {
    background: linear-gradient(90deg, #130d0b 0%, #25110d 42%, #6f1d14 100%);
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 8px 24px rgba(17,24,39,.10);
}
.announcement-bar::before { opacity: .35; }
.announcement-bar__inner {
    max-width: 1120px;
    min-height: 42px;
    padding: 8px 18px;
    gap: 10px;
    font-size: 13px;
}
.announcement-bar__inner strong { font-weight: 850; letter-spacing: -.01em; }
.announcement-bar a {
    background: #ffbe18;
    color: #1c1306;
    padding: 7px 16px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(251,191,36,.24);
}
.home-launch-panel.home-launch-panel--business {
    max-width: 1120px;
    margin: 22px auto 18px;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .55fr);
    align-items: center;
    border: 1px solid rgba(239,68,68,.14);
    border-radius: 30px;
    background:
        radial-gradient(circle at 78% 18%, rgba(255,190,24,.16), transparent 30%),
        radial-gradient(circle at 12% 86%, rgba(239,68,68,.12), transparent 28%),
        linear-gradient(135deg, #121620 0%, #191b24 52%, #33130e 100%);
    padding: clamp(22px, 4vw, 42px);
    box-shadow: 0 26px 70px rgba(17,24,39,.14);
}
.home-launch-panel.home-launch-panel--business::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.06);
    pointer-events: none;
}
.home-launch-panel--business .home-launch-panel__glow {
    width: 360px;
    height: 360px;
    right: -110px;
    top: -120px;
    background: rgba(255,190,24,.22);
    filter: blur(54px);
}
.home-launch-panel--business .home-launch-panel__kicker {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.14);
    color: #ffdf7a;
}
.home-launch-panel--business .home-launch-panel__kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34,197,94,.12);
}
.home-launch-panel--business h2 {
    max-width: 720px;
    margin-top: 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: .94;
    letter-spacing: -.06em;
}
.home-launch-panel--business p {
    max-width: 780px;
    color: rgba(255,255,255,.76);
    font-size: 16px;
}
.home-launch-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.home-launch-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.82);
    font-size: 12px;
    font-weight: 800;
}
.home-launch-benefits span::before {
    content: "✓";
    color: #ffbe18;
    font-weight: 950;
}
.home-launch-panel--business .home-launch-panel__actions { margin-top: 22px; }
.home-launch-panel--business .home-launch-panel__actions a,
.home-launch-panel--business .home-launch-panel__actions a:first-child,
.home-launch-panel--business .home-launch-panel__actions a:last-child {
    min-height: 50px;
    padding: 0 24px;
    background: linear-gradient(135deg, #ffbe18, #ffdf70);
    color: #1c1306;
    border: 0;
    box-shadow: 0 12px 24px rgba(255,190,24,.24), 0 4px 0 rgba(0,0,0,.20);
}
.home-launch-countdown-wrap {
    position: relative;
    z-index: 1;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.075);
    backdrop-filter: blur(14px);
}
.home-launch-countdown-wrap > span {
    display: block;
    margin-bottom: 12px;
    color: rgba(255,255,255,.78);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.home-launch-countdown-wrap small {
    display: block;
    margin-top: 12px;
    color: rgba(255,255,255,.58);
    line-height: 1.45;
}
.home-launch-countdown-wrap .home-launch-countdown {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.home-launch-countdown-wrap .home-launch-countdown div {
    border-radius: 18px;
    padding: 16px 10px;
    background: rgba(0,0,0,.16);
    border-color: rgba(255,255,255,.11);
}
.home-launch-countdown-wrap .home-launch-countdown strong { color: #ffbe18; }
.launch-page .announcement-bar { display: none; }
.launch-page .nav {
    background: rgba(6,9,20,.82);
    backdrop-filter: blur(16px);
}
.launch-hero {
    background:
        radial-gradient(circle at 16% 20%, rgba(239,68,68,.16), transparent 28%),
        radial-gradient(circle at 84% 18%, rgba(255,190,24,.14), transparent 32%),
        linear-gradient(180deg, #060914 0%, #0e121f 100%);
}
.launch-copy h1 { max-width: 760px; }
.launch-actions .launch-btn--primary,
.launch-actions .launch-btn--primary:first-child,
.launch-actions .launch-btn--primary:last-child {
    min-height: 54px;
    padding: 0 28px;
    color: #1c1306;
    background: linear-gradient(135deg, #ffbe18, #ffdf70);
    border: 0;
    box-shadow: 0 14px 28px rgba(255,190,24,.24), 0 4px 0 rgba(0,0,0,.22);
}
.launch-benefit-list div {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 900px) {
    .home-launch-panel.home-launch-panel--business { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .announcement-bar__inner {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 8px 10px;
    }
    .announcement-bar a { grid-column: 2; width: max-content; }
    .home-launch-panel.home-launch-panel--business {
        margin: 14px 10px;
        border-radius: 24px;
        padding: 22px;
    }
    .home-launch-panel--business h2 { font-size: clamp(32px, 12vw, 46px); }
    .home-launch-countdown-wrap .home-launch-countdown { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .home-launch-countdown-wrap .home-launch-countdown div { padding: 13px 6px; }
    .home-launch-countdown-wrap .home-launch-countdown strong { font-size: 26px; }
}

/* ===== Red / White / Black launch design patch v2.0 ===== */
:root {
    --db-red: #ff1628;
    --db-red-deep: #b3000d;
    --db-red-dark: #640006;
    --db-black: #070707;
    --db-charcoal: #111114;
    --db-white: #ffffff;
}

.announcement-bar {
    background:
        radial-gradient(circle at 66% 0%, rgba(255,22,40,.28), transparent 34%),
        linear-gradient(90deg, #050505 0%, #0b0b0d 46%, #7a050b 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.10) !important;
}
.announcement-bar::before { opacity: .18 !important; }
.announcement-bar__inner {
    max-width: 1120px !important;
    min-height: 44px !important;
    padding: 8px 18px !important;
    justify-content: center !important;
    gap: 12px !important;
    color: #fff !important;
}
.announcement-bar__pulse,
.announcement-bar__inner > span:first-child {
    width: 9px !important;
    height: 9px !important;
    background: var(--db-red) !important;
    box-shadow: 0 0 0 5px rgba(255,22,40,.16), 0 0 22px rgba(255,22,40,.75) !important;
}
.announcement-bar__inner strong {
    color: #fff !important;
    font-weight: 850 !important;
    letter-spacing: -.015em !important;
}
.announcement-bar a {
    background: linear-gradient(135deg, #ff1d2e 0%, #e90012 100%) !important;
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 12px 26px rgba(255,22,40,.28) !important;
}
.announcement-bar a:hover { transform: translateY(-1px); }

.nav {
    background: rgba(255,255,255,.96) !important;
    border-bottom: 1px solid rgba(10,10,12,.07) !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.045) !important;
}
.nav-links a.is-active,
.nav-links .btn-nav.is-active,
.nav-links .btn-nav-outline.is-active {
    background: rgba(255,22,40,.08) !important;
    color: var(--db-red) !important;
}
.btn-nav,
.nav-links .btn-nav,
.nav-links .btn-nav.is-active {
    background: linear-gradient(135deg, #ff1d2e 0%, #e60012 100%) !important;
    color: #fff !important;
    box-shadow: 0 13px 25px rgba(255,22,40,.24) !important;
}
.nav-links a:hover { color: var(--db-red) !important; }

.home-launch-panel.home-launch-panel--business {
    max-width: 1120px !important;
    margin: 22px auto 18px !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(290px, .58fr) !important;
    align-items: center !important;
    isolation: isolate !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 30px !important;
    background:
        radial-gradient(circle at 82% 22%, rgba(255,22,40,.34), transparent 30%),
        radial-gradient(circle at 88% 86%, rgba(179,0,13,.38), transparent 36%),
        linear-gradient(135deg, #050505 0%, #09090b 50%, #250306 100%) !important;
    color: #fff !important;
    padding: clamp(24px, 4vw, 42px) !important;
    box-shadow: 0 28px 80px rgba(0,0,0,.18), 0 0 0 1px rgba(255,255,255,.03) inset !important;
}
.home-launch-panel.home-launch-panel--business::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255,255,255,.08), transparent 22%, transparent 72%, rgba(255,22,40,.08)),
        repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 58px);
    opacity: .48;
    pointer-events: none;
    z-index: 0;
}
.home-launch-panel.home-launch-panel--business::after {
    inset: 14px !important;
    border-radius: 22px !important;
    border: 1px solid rgba(255,255,255,.075) !important;
    box-shadow: inset 0 0 70px rgba(255,22,40,.04) !important;
}
.home-launch-panel--business .home-launch-panel__content,
.home-launch-countdown-wrap { position: relative; z-index: 2; }
.home-launch-panel--business .home-launch-panel__glow {
    width: 460px !important;
    height: 460px !important;
    right: -110px !important;
    top: -125px !important;
    background: rgba(255,22,40,.42) !important;
    filter: blur(62px) !important;
    opacity: .95 !important;
}
.home-launch-panel--business .home-launch-panel__kicker {
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    color: #fff !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03) !important;
}
.home-launch-panel--business .home-launch-panel__kicker::before {
    background: var(--db-red) !important;
    box-shadow: 0 0 0 5px rgba(255,22,40,.14), 0 0 18px rgba(255,22,40,.8) !important;
}
.home-launch-panel--business h2 {
    color: #fff !important;
    text-shadow: 0 14px 34px rgba(0,0,0,.32) !important;
}
.home-launch-panel--business p {
    color: rgba(255,255,255,.78) !important;
    max-width: 790px !important;
}
.home-launch-benefits span {
    background: rgba(255,255,255,.075) !important;
    border: 1px solid rgba(255,255,255,.13) !important;
    color: rgba(255,255,255,.88) !important;
    box-shadow: inset 0 0 18px rgba(255,255,255,.025) !important;
}
.home-launch-benefits span::before {
    color: var(--db-red) !important;
    text-shadow: 0 0 14px rgba(255,22,40,.72) !important;
}
.home-launch-panel--business .home-launch-panel__actions a,
.home-launch-panel--business .home-launch-panel__actions a:first-child,
.home-launch-panel--business .home-launch-panel__actions a:last-child {
    min-height: 52px !important;
    padding: 0 26px !important;
    background: linear-gradient(135deg, #ff2636 0%, #ed0013 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 18px 34px rgba(255,22,40,.28), 0 0 0 1px rgba(255,255,255,.06) inset !important;
}
.home-launch-panel--business .home-launch-panel__actions a:hover { transform: translateY(-2px); }
.home-launch-countdown-wrap {
    background: rgba(20,20,22,.72) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 24px !important;
    box-shadow: 0 24px 62px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.08) !important;
    backdrop-filter: blur(18px) !important;
}
.home-launch-countdown-wrap > span { color: rgba(255,255,255,.86) !important; }
.home-launch-countdown-wrap .home-launch-countdown div {
    background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025) !important;
}
.home-launch-countdown-wrap .home-launch-countdown strong {
    color: var(--db-red) !important;
    text-shadow: 0 0 24px rgba(255,22,40,.42) !important;
}
.home-launch-countdown-wrap .home-launch-countdown span { color: rgba(255,255,255,.82) !important; }
.home-launch-countdown-wrap small { color: rgba(255,255,255,.64) !important; }

.launch-page .announcement-bar { display: none !important; }
.launch-page .nav {
    background: rgba(255,255,255,.96) !important;
    border-bottom-color: rgba(0,0,0,.08) !important;
}
.launch-page .nav a,
.launch-page .logo span { color: #111 !important; }
.launch-page .btn-nav { color: #fff !important; }
.launch-hero {
    background:
        radial-gradient(circle at 18% 18%, rgba(255,22,40,.20), transparent 30%),
        radial-gradient(circle at 86% 14%, rgba(255,22,40,.22), transparent 34%),
        linear-gradient(180deg, #050505 0%, #0b0b0d 100%) !important;
}
.launch-orb--one { background: rgba(255,22,40,.42) !important; }
.launch-orb--two { background: rgba(128,0,8,.46) !important; }
.launch-status-card {
    border-color: rgba(255,22,40,.34) !important;
    background: rgba(255,255,255,.07) !important;
}
.launch-status-card span,
.launch-rule-list b,
.launch-countdown strong { color: var(--db-red) !important; }
.launch-radar {
    border-color: rgba(255,22,40,.28) !important;
    background: radial-gradient(circle, rgba(255,22,40,.22) 0 2px, transparent 3px), repeating-radial-gradient(circle, rgba(255,255,255,.12) 0 1px, transparent 1px 54px), linear-gradient(135deg, rgba(255,22,40,.08), rgba(110,0,8,.18)) !important;
}
.launch-radar-sweep { background: conic-gradient(from 0deg, rgba(255,22,40,.58), transparent 72deg) !important; }
.launch-radar-core {
    background: var(--db-red) !important;
    box-shadow: 0 0 34px rgba(255,22,40,.9) !important;
}
.launch-actions .launch-btn--primary,
.launch-actions .launch-btn--primary:first-child,
.launch-actions .launch-btn--primary:last-child {
    background: linear-gradient(135deg, #ff2636 0%, #ed0013 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 18px 34px rgba(255,22,40,.26) !important;
}
.launch-benefit-list div,
.launch-rule-list div {
    background: rgba(255,255,255,.075) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
}

@media (max-width: 900px) {
    .home-launch-panel.home-launch-panel--business {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }
}
@media (max-width: 640px) {
    .announcement-bar__inner {
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
    .announcement-bar a {
        padding: 7px 14px !important;
        font-size: 12px !important;
    }
    .home-launch-panel.home-launch-panel--business {
        margin: 14px 10px 16px !important;
        border-radius: 24px !important;
        padding: 22px !important;
    }
    .home-launch-panel.home-launch-panel--business::after {
        inset: 10px !important;
        border-radius: 18px !important;
    }
    .home-launch-panel--business h2 { font-size: clamp(32px, 11vw, 46px) !important; }
    .home-launch-panel--business p { font-size: 15px !important; }
    .home-launch-countdown-wrap .home-launch-countdown { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
    .home-launch-countdown-wrap .home-launch-countdown div { padding: 13px 6px !important; }
    .home-launch-countdown-wrap .home-launch-countdown strong { font-size: 26px !important; }
}

/* === Deal detail image visibility patch ===
   Keeps uploaded deal images fully visible on the explanation/detail page.
   Large images are scaled down inside the media box instead of being cropped. */
.app-detail-media {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 420px;
    padding: 18px;
    background: #f3f4f6;
}
.app-detail-media img.app-detail-image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 520px !important;
    min-height: 0 !important;
    object-fit: contain !important;
    border-radius: 24px;
    background: #f3f4f6;
}
.app-detail-placeholder {
    width: 100% !important;
    min-height: 420px !important;
}
@media (max-width: 768px) {
    .app-detail-media {
        min-height: auto !important;
        padding: 12px !important;
    }
    .app-detail-media img.app-detail-image {
        max-height: 360px !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        border-radius: 20px;
    }
    .app-detail-placeholder {
        min-height: 260px !important;
    }
}

/* Deal detail sticky bottom actions */
.deal-detail-sticky-actions {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(520px, calc(100% - 28px));
    z-index: 280;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(23,23,28,0.08);
    box-shadow: 0 18px 50px rgba(23,23,28,0.18);
    backdrop-filter: blur(16px);
}
.deal-sticky-save-form { margin: 0; }
.deal-sticky-action {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
}
.deal-sticky-save {
    background: #15171c;
    color: #fff;
}
.deal-sticky-save.is-saved {
    background: #fff0ee;
    color: var(--app-red);
    box-shadow: inset 0 0 0 1px rgba(239,65,54,0.16);
}
.deal-sticky-whatsapp {
    background: var(--app-green);
    color: #fff;
    box-shadow: 0 12px 28px rgba(25,169,104,0.24);
}
.deal-detail-sticky-actions:has(.deal-sticky-action:only-child),
.deal-detail-sticky-actions:has(.deal-sticky-save-form:only-child) {
    grid-template-columns: 1fr;
}

@media (min-width: 769px) {
    .app-detail-page {
        padding-bottom: 128px;
    }
}

@media (max-width: 768px) {
    .app-detail-page {
        padding-bottom: 180px !important;
    }
    .deal-detail-sticky-actions {
        left: 12px;
        right: 12px;
        bottom: 86px;
        transform: none;
        width: auto;
        z-index: 270;
        border-radius: 22px;
        padding: 8px;
        gap: 8px;
    }
    .deal-sticky-action {
        min-height: 50px;
        border-radius: 16px;
        font-size: 14px;
    }
}
