/* ==========================================================================
   CUSTOMER STOREFRONT UI — RASA NUSANTARA CATERING
   Desktop Editorial Culinary + Native Mobile Food-App Experience (GoFood Style)
   ========================================================================== */

body.customer-body {
    background-color: #FFFDF9;
    color: #475569;
}

/* --------------------------------------------------------------------------
   1. Desktop Glass Navbar & Mobile Native App Header
   -------------------------------------------------------------------------- */
.customer-navbar {
    background: rgba(255, 253, 249, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(254, 215, 170, 0.55);
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(135deg, #FB923C 0%, #F97316 55%, #EA580C 100%);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 18px -4px rgba(249, 115, 22, 0.42);
    flex-shrink: 0;
}

.nav-pill-group {
    background: #F8F4EE;
    padding: 0.3rem;
    border-radius: 999px;
    border: 1px solid rgba(254, 215, 170, 0.6);
}

.nav-pill-link {
    padding: 0.46rem 1.15rem !important;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    color: #475569 !important;
    transition: all 0.2s ease;
}

.nav-pill-link:hover {
    color: #EA580C !important;
}

.nav-pill-link.active {
    background: #FFFFFF;
    color: #EA580C !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

/* Mobile App Header (< 992px) */
.mobile-app-topbar {
    position: sticky;
    top: 0;
    z-index: 1025;
    background: rgba(255, 253, 249, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(254, 215, 170, 0.45);
    padding: 0.7rem 1rem;
}

.mobile-location-chip {
    font-size: 13px;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    line-height: 1.2;
}

/* --------------------------------------------------------------------------
   2. Hero Section Desktop + Mobile App Promo Banner Card
   -------------------------------------------------------------------------- */
.hero-culinary {
    position: relative;
    overflow: hidden;
    padding: 4.25rem 0 4.75rem;
    background:
        radial-gradient(circle at 8% 15%, rgba(254, 215, 170, 0.55) 0%, transparent 38%),
        radial-gradient(circle at 85% 25%, rgba(251, 146, 60, 0.18) 0%, transparent 42%),
        linear-gradient(180deg, #FFF9F2 0%, #FFFDF9 100%);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #FFFFFF;
    border: 1px solid #FED7AA;
    color: #C2410C;
    font-weight: 700;
    font-size: 13px;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.08);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #F97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
}

.hero-title {
    font-size: clamp(2.15rem, 4.2vw, 3.35rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0F172A;
}

.hero-lead {
    font-size: 1.06rem;
    line-height: 1.75;
    color: #475569;
    max-width: 540px;
}

.hero-visual-stage {
    position: relative;
    padding: 1rem;
}

.hero-main-photo-wrap {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 60px -15px rgba(124, 45, 18, 0.22);
    border: 6px solid #FFFFFF;
    aspect-ratio: 4 / 3.3;
    background: #FFEDD5;
}

.hero-main-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.floating-badge-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(254, 215, 170, 0.8);
    border-radius: 18px;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.14);
    z-index: 3;
}

.floating-top-left     { top: -6px; left: -8px; }
.floating-bottom-right { bottom: -10px; right: -6px; }

/* Kartu Banner Aplikasi Mobile (Tampil Eksklusif di Mobile < 992px) */
.mobile-app-banner {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(130deg, rgba(15, 23, 42, 0.88) 0%, rgba(154, 52, 18, 0.78) 65%, rgba(249, 115, 22, 0.72) 100%),
        url('https://images.unsplash.com/photo-1555244162-803834f70033?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
    color: #FFFFFF;
    padding: 1.45rem 1.35rem;
    box-shadow: 0 16px 32px -10px rgba(194, 65, 12, 0.35);
}

.mobile-quick-pill-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.mobile-quick-pill {
    background: #FFFFFF;
    border: 1px solid #F3ECE2;
    border-radius: 16px;
    padding: 0.7rem 0.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* --------------------------------------------------------------------------
   3. Info Strip Desktop & Sticky Swipe Category Bar
   -------------------------------------------------------------------------- */
.feature-strip-card {
    background: #FFFFFF;
    border: 1px solid #F1ECE4;
    border-radius: 22px;
    padding: 1.6rem 1.75rem;
    box-shadow: 0 12px 32px -10px rgba(15, 23, 42, 0.06);
}

.filter-chip {
    padding: 0.52rem 1.15rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    border: 1.5px solid #E2E8F0;
    background: #FFFFFF;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.filter-chip:hover {
    border-color: #FDBA74;
    color: #EA580C;
    background: #FFF7ED;
}

.filter-chip.active {
    background: linear-gradient(135deg, #FB923C 0%, #EA580C 100%);
    border-color: transparent;
    color: #FFFFFF;
    box-shadow: 0 6px 14px -3px rgba(249, 115, 22, 0.35);
}

/* --------------------------------------------------------------------------
   4. Katalog Kartu Menu: Grid Besar di Desktop, GoFood Compact List di Mobile!
   -------------------------------------------------------------------------- */
.menu-card {
    background: #FFFFFF;
    border: 1px solid #F1ECE4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 22px -6px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (hover: hover) {
    .menu-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 22px 40px -12px rgba(15, 23, 42, 0.12);
        border-color: #FED7AA;
    }

    .menu-card:hover .menu-card-media img {
        transform: scale(1.06);
    }
}

.menu-card-media {
    position: relative;
    height: 215px;
    overflow: hidden;
    background: #FFF7ED;
    flex-shrink: 0;
}

.menu-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-category-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsif ala Aplikasi Mobile Food Delivery (< 992px & < 576px) */
@media (max-width: 991.98px) {
    body.customer-body {
        padding-bottom: calc(var(--mobile-nav-height) + 20px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-category-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .mobile-cat-box {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.38rem;
        padding: 0.45rem 0.5rem;
        border-radius: 11px;
        background: #FFFFFF;
        border: 1px solid #E8E2D9;
        color: #334155;
        text-decoration: none;
        box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
        transition: all 0.18s ease;
        min-height: 38px;
    }

    .mobile-cat-box:active {
        transform: scale(0.96);
    }

    .mobile-cat-box-icon {
        color: #EA580C;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.88rem;
        flex-shrink: 0;
    }

    .mobile-cat-box-label {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.15;
        color: #1E293B;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-cat-box.active {
        background: linear-gradient(135deg, #FB923C 0%, #EA580C 100%);
        border-color: transparent;
        color: #FFFFFF;
        box-shadow: 0 4px 12px -2px rgba(249, 115, 22, 0.35);
    }

    .mobile-cat-box.active .mobile-cat-box-icon,
    .mobile-cat-box.active .mobile-cat-box-label {
        color: #FFFFFF;
    }
}

/* Di layar HP (< 576px), ubah kartu menu menjadi Horizontal App Card (seperti GoFood/GrabFood) */
@media (max-width: 575.98px) {
    .menu-card {
        flex-direction: row !important;
        align-items: stretch;
        padding: 0.8rem;
        gap: 0.9rem;
        border-radius: 18px;
    }

    .menu-card:active {
        transform: scale(0.985);
    }

    .menu-card-media {
        width: 112px;
        height: 118px;
        border-radius: 14px;
    }

    .menu-category-tag {
        display: none;
    }

    .menu-card-media .badge-status {
        margin: 0.35rem !important;
        padding: 0.25em 0.55em;
        font-size: 13px;
    }

    .menu-card-body-inner {
        padding: 0 !important;
        min-width: 0;
    }

    .menu-card-body-inner h3 {
        font-size: 15.5px !important;
        margin-bottom: 0.2rem !important;
    }

    .menu-card-body-inner p {
        font-size: 13px !important;
        margin-bottom: 0.55rem !important;
    }

    .menu-card-footer-inner {
        padding-top: 0.45rem !important;
    }
}

/* --------------------------------------------------------------------------
   5. Footer Desktop Elegan & Mobile App Info Card Rapi
   -------------------------------------------------------------------------- */
.customer-footer {
    background: linear-gradient(180deg, #0F172A 0%, #0B1120 100%);
    color: #94A3B8;
    border-top: 1px solid #1E293B;
}

.footer-heading {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F8FAFC;
    font-size: 13px;
    font-weight: 600;
}

.footer-links {
    display: grid;
    gap: 0.65rem;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: #FB923C;
    transform: translateX(3px);
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(249, 115, 22, 0.14);
    color: #FB923C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-bottom-bar {
    background: rgba(2, 6, 23, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: #64748B;
}

/* Kartu Info Toko Ringkas di Layar Mobile (Menyatu Mulus dengan Bottom Dock) */
.mobile-footer-card {
    background: #FFFFFF;
    border: 1.5px solid #EFEAE2;
    border-radius: 20px;
    padding: 1.1rem 1.15rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

/* --------------------------------------------------------------------------
   6. ORDER APP CARD (/customer/pesanan) & VERTICAL TRACKING STEPPER
   -------------------------------------------------------------------------- */
.order-app-card {
    background: #FFFFFF;
    border: 1.5px solid #EFEAE2;
    border-radius: 22px;
    padding: 1.15rem 1.35rem;
    box-shadow: 0 6px 20px -6px rgba(15, 23, 42, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

@media (hover: hover) {
    .order-app-card:hover {
        transform: translateY(-2px);
        border-color: #FED7AA;
        box-shadow: 0 16px 32px -10px rgba(15, 23, 42, 0.09);
    }
}

.order-app-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px dashed #E2E8F0;
}

.order-inv-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #FFF7ED;
    color: #EA580C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.order-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
}

.order-app-card-body {
    padding: 0.95rem 0;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.order-info-box {
    background: #F8FAFC;
    border: 1px solid #EEF2F6;
    border-radius: 14px;
    padding: 0.65rem 0.85rem;
    min-width: 0;
}

.order-info-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 2px;
}

.order-info-val {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
}

.order-app-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid #F1F5F9;
}

.order-total-group {
    display: flex;
    flex-direction: column;
}

.order-total-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.02em;
}

.order-actions-group {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

/* Responsif Kartu Pesanan di Layar HP (< 768px) — Rapi Seperti Shopee / GoFood */
@media (max-width: 767.98px) {
    .order-app-card {
        padding: 1rem;
        border-radius: 20px;
    }

    .order-app-card-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }

    .order-badges-wrap {
        justify-content: flex-start;
        width: 100%;
    }

    .order-info-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .order-app-card-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .order-total-group {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .order-actions-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
    }

    .order-actions-group .btn {
        width: 100%;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        font-size: 13.5px;
    }
}

/* Vertical Tracking Stepper di Mobile (< 768px) */
.mobile-vertical-stepper {
    position: relative;
    padding-left: 0.25rem;
}

.v-step-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    position: relative;
    padding-bottom: 1.15rem;
}

.v-step-item:last-child {
    padding-bottom: 0;
}

.v-step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: 0;
    width: 2px;
    background: #E2E8F0;
}

.v-step-item.done:not(:last-child)::after {
    background: #F97316;
}

.v-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F5F9;
    border: 2px solid #CBD5E1;
    color: #64748B;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.v-step-item.done .v-step-dot {
    background: #F97316;
    border-color: #F97316;
    color: #FFFFFF;
}

.v-step-item.current .v-step-dot {
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.22);
}
