/* Desktop-only layout polish. Mobile rules remain in order-page.css. */
@media (min-width: 769px) {
    #app {
        overflow-x: hidden;
    }

    .hero-inner,
    .cnt,
    .mf-container {
        width: min(1200px, calc(100% - 48px));
        max-width: 1200px;
    }

    .nav-i {
        width: min(1480px, calc(100% - 32px));
        max-width: 1480px;
        padding-left: 0;
        padding-right: 0;
        gap: 12px;
    }

    .nav-logo {
        min-width: 170px;
    }

    .nav-logo .lt {
        min-width: 0;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-dashboard-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 38px;
        padding: 0 14px;
        border: 1px solid #fecaca;
        border-radius: 10px;
        background: #fff1f2;
        color: #b91c1c;
        font-size: .78rem;
        font-weight: 800;
        text-decoration: none;
        white-space: nowrap;
        transition: background .18s ease, color .18s ease, transform .18s ease;
    }

    .nav-dashboard-btn:hover {
        background: #dc2626;
        color: #fff;
        transform: translateY(-1px);
    }

    .nav-dashboard-btn i {
        font-size: 1rem;
    }

    /* Navbar fixed; fallback search starts below it without full-screen empty space. */
    .hero:not(.hero-carousel) {
        min-height: 0 !important;
        padding: 164px 0 56px !important;
    }

    .hero-carousel {
        min-height: 0 !important;
        padding: 148px 0 24px !important;
    }

    .hero-stage,
    .hero__stage {
        width: min(1200px, calc(100% - 48px));
        max-width: 1200px;
        margin: 0 auto;
    }

    .hero-inner {
        width: min(900px, calc(100% - 48px));
        max-width: 900px;
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
        margin: 0 auto;
        align-items: center;
        text-align: center;
    }

    .hero-inner > .afu:first-child {
        width: 100%;
        padding: 26px 30px 24px;
        border: 1px solid rgba(148, 163, 184, .16);
        border-radius: 22px;
        background: rgba(15, 23, 42, .58);
        box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
    }

    .hero-trust,
    .qpills {
        justify-content: center;
    }

    .hero-trust {
        margin-bottom: 18px;
    }

    .aurora-blob {
        filter: blur(80px);
        opacity: 0.5;
    }

    .hero p {
        max-width: 600px;
        margin-bottom: 20px;
    }

    .hero-search {
        margin-top: 0;
        margin-bottom: 14px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-right-wrap {
        display: none !important;
    }

    .st-dedicated-view {
        width: min(1180px, calc(100% - 48px));
        max-width: 1180px;
        padding: 32px 0 60px;
    }

    .st-view-inner {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }

    .st-top-bar {
        margin-bottom: 20px;
    }

    .st-section-card,
    .co-summary-box,
    .qris-compact-box {
        border-radius: 20px;
    }

    .catalog-grid,
    .product-grid,
    .st-products-grid,
    .st-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    .product-card,
    .st-product-card {
        min-width: 0;
        transition: transform .2s ease, box-shadow .2s ease;
    }

    .product-card:hover,
    .st-product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(15, 23, 42, .14);
    }

    .modal-overlay .modal-box {
        width: min(720px, calc(100vw - 96px));
        max-width: 720px;
    }

    .qris-compact-box {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .qris-c-item {
        min-height: 76px;
        padding: 16px 20px;
    }

    .modern-footer {
        padding-top: 48px;
        padding-bottom: 36px;
    }

    .mf-grid {
        grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(180px, 1fr));
        gap: 40px;
        align-items: start;
    }

    .order-style-69 {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .mf-brand-pill {
        min-width: 72px;
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1120px) {
    .catalog-grid,
    .product-grid,
    .st-products-grid,
    .st-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-inner {
        gap: 30px;
    }
}
