    /* Migrated inline stylesheet from user-provided shop.php. */

    /* Theme colors mirror getThemeConfig() in shop.php; no inline CSS needed. */
    body.store-theme-ocean_blue {
        --shop-primary: #2563eb;
        --shop-primary-dark: #1d4ed8;
        --shop-accent: #06b6d4;
        --shop-soft: #eff6ff;
        --shop-bg: #f8fafc;
        --shop-hero: linear-gradient(135deg, #0f172a, #2563eb 58%, #06b6d4);
        --shop-shadow: rgba(37, 99, 235, .22);
    }

    body.store-theme-sunset {
        --shop-primary: #f97316;
        --shop-primary-dark: #ea580c;
        --shop-accent: #e11d48;
        --shop-soft: #fff7ed;
        --shop-bg: #fff7ed;
        --shop-hero: linear-gradient(135deg, #431407, #f97316 55%, #e11d48);
        --shop-shadow: rgba(249, 115, 22, .22);
    }

    body.store-theme-forest {
        --shop-primary: #16a34a;
        --shop-primary-dark: #15803d;
        --shop-accent: #059669;
        --shop-soft: #ecfdf5;
        --shop-bg: #f0fdf4;
        --shop-hero: linear-gradient(135deg, #052e16, #16a34a 55%, #059669);
        --shop-shadow: rgba(22, 163, 74, .22);
    }

    body.store-theme-purple_night {
        --shop-primary: #7c3aed;
        --shop-primary-dark: #6d28d9;
        --shop-accent: #4f46e5;
        --shop-soft: #f5f3ff;
        --shop-bg: #faf5ff;
        --shop-hero: linear-gradient(135deg, #1e1b4b, #7c3aed 55%, #4f46e5);
        --shop-shadow: rgba(124, 58, 237, .22);
    }

    body.store-theme-dark_mode {
        --shop-primary: #38bdf8;
        --shop-primary-dark: #0284c7;
        --shop-accent: #818cf8;
        --shop-soft: #111827;
        --shop-bg: #020617;
        --shop-hero: linear-gradient(135deg, #020617, #0f172a 55%, #334155);
        --shop-shadow: rgba(56, 189, 248, .22);
    }

    /* Delivery-type choices have three supported routes. */
    .shop-delivery-choice-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .shop-status-success {
        color: #059669;
        font-weight: 900;
    }

    .shop-status-pending {
        color: #d97706;
        font-weight: 900;
    }

    /* ============================================================
            AGENT / SUB-AGENT THEME FIX
            ------------------------------------------------------------
            The store theme comes from agent_stores.store_theme. These
            CSS variables make the theme work even when the external CSS
            or Tailwind dynamic color loading is cached by the browser.
            ============================================================ */
    body {
        background: var(--shop-bg, #f8fafc) !important;
        font-family: "Plus Jakarta Sans", sans-serif;
    }

    .store-hero {
        background: var(--shop-hero, linear-gradient(135deg, #0f172a, #2563eb 58%, #06b6d4)) !important;
        box-shadow: 0 18px 45px var(--shop-shadow, rgba(37, 99, 235, .22));
    }

    .bg-primary {
        background-color: var(--shop-primary, #2563eb) !important;
    }

    .text-primary {
        color: var(--shop-primary, #2563eb) !important;
    }

    .border-primary,
    .hover\:border-primary:hover,
    .focus\:border-primary:focus {
        border-color: var(--shop-primary, #2563eb) !important;
    }

    .peer:checked~.peer-checked\:border-primary {
        border-color: var(--shop-primary, #2563eb) !important;
    }

    .peer:checked~.peer-checked\:text-primary {
        color: var(--shop-primary, #2563eb) !important;
    }

    .peer:checked~.peer-checked\:bg-indigo-50,
    .peer:checked~.peer-checked\:bg-emerald-50 {
        background-color: var(--shop-soft, #eff6ff) !important;
    }

    .peer:checked~.peer-checked\:shadow-indigo-500\/20,
    .peer:checked~.peer-checked\:shadow-emerald-500\/20 {
        box-shadow: 0 14px 30px var(--shop-shadow, rgba(37, 99, 235, .22)) !important;
    }

    .focus\:shadow-\[0_0_0_4px_rgba\(79\2c 70\2c 229\2c 0\.1\)\]:focus {
        box-shadow: 0 0 0 4px rgba(37, 99, 235, .12) !important;
    }

    .store-soft-card:hover {
        border-color: var(--shop-primary, #2563eb) !important;
    }

    .shimmer {
        background-image: linear-gradient(90deg, var(--shop-primary, #2563eb), var(--shop-accent, #06b6d4), var(--shop-primary, #2563eb)) !important;
        background-size: 180% 100%;
        animation: shopShimmer 1.5s linear infinite;
    }

    @keyframes shopShimmer {
        to {
            background-position: -180% 0;
        }
    }

    /* Public voucher add-on: keeps vouchers in the same agent/sub-agent storefront. */
    .voucher-choice.is-active {
        border-color: var(--shop-primary, #4f46e5) !important;
        background: var(--shop-soft, #eef2ff) !important;
        box-shadow: 0 14px 30px var(--shop-shadow, rgba(79, 70, 229, .16));
    }

    .voucher-choice.is-disabled {
        opacity: .48;
        cursor: not-allowed;
    }

    .voucher-code-box {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 18px;
        padding: 12px;
        margin-top: 10px;
    }

    .voucher-copy-btn {
        border: 0;
        border-radius: 12px;
        background: #0f172a;
        color: #ffffff;
        font-size: 11px;
        font-weight: 900;
        padding: 8px 10px;
        margin-top: 8px;
        width: 100%;
    }

    /* Live MTN delivery widget supplied by DataHub Ghana. */
    .mtn-status-section {
        grid-column: 1 / -1;
        width: 100%;
        margin-bottom: 1rem;
        padding: 16px;
        border: 1px solid rgba(187, 247, 208, .95);
        border-radius: 26px;
        background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 72%);
        box-shadow: 0 16px 38px rgba(22, 163, 74, .09);
        overflow: hidden;
    }

    .mtn-status-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
    }

    .mtn-status-icon {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
        color: #ffffff;
        background: linear-gradient(135deg, #16a34a, #059669);
        box-shadow: 0 10px 22px rgba(22, 163, 74, .22);
    }

    .mtn-status-title {
        min-width: 0;
        flex: 1;
    }

    .mtn-status-title p {
        margin: 0 0 3px;
        color: #16a34a;
        font-size: .63rem;
        font-weight: 950;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .mtn-status-title h3 {
        margin: 0;
        color: #0f172a;
        font-size: .92rem;
        font-weight: 950;
        line-height: 1.25;
    }

    .mtn-live-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        flex: 0 0 auto;
        padding: 7px 10px;
        border: 1px solid #bbf7d0;
        border-radius: 999px;
        background: #dcfce7;
        color: #15803d;
        font-size: .61rem;
        font-weight: 950;
        letter-spacing: .08em;
    }

    .mtn-live-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #22c55e;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, .14);
        animation: mtnLivePulse 1.8s ease-in-out infinite;
    }

    #datahub-mtn-widget {
        width: 100%;
        min-height: 60px;
        overflow: hidden;
        border-radius: 16px;
    }

    #datahub-mtn-widget:empty {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px;
        border: 1px dashed #bbf7d0;
        background: rgba(255, 255, 255, .8);
        color: #64748b;
        font-size: .75rem;
        font-weight: 800;
        text-align: center;
    }

    #datahub-mtn-widget:empty::before {
        content: "Loading live MTN delivery status...";
    }

    .mtn-status-note {
        margin: 10px 2px 0;
        color: #64748b;
        font-size: .67rem;
        font-weight: 700;
        line-height: 1.5;
    }

    @keyframes mtnLivePulse {

        0%,
        100% {
            opacity: 1;
            transform: scale(1);
        }

        50% {
            opacity: .55;
            transform: scale(.82);
        }
    }

    @media (max-width: 420px) {
        .mtn-status-section {
            padding: 15px;
            border-radius: 22px;
        }

        .mtn-status-header {
            align-items: flex-start;
        }

        .mtn-status-icon {
            width: 40px;
            height: 40px;
            flex-basis: 40px;
            border-radius: 13px;
        }

        .mtn-live-badge {
            padding: 6px 8px;
            font-size: .56rem;
        }
    }


    /* ============================================================
            NEW SHOP FRONTEND V2
            Clean mobile storefront for data + vouchers.
            ============================================================ */
    body {
        min-height: 100vh;
        background:
            radial-gradient(circle at top left, color-mix(in srgb, var(--shop-primary, #2563eb) 18%, transparent), transparent 34%),
            radial-gradient(circle at top right, color-mix(in srgb, var(--shop-accent, #06b6d4) 14%, transparent), transparent 30%),
            linear-gradient(180deg, #f8fafc 0%, color-mix(in srgb, var(--shop-soft, #eff6ff) 45%, #ffffff) 45%, #ffffff 100%) !important;
    }

    .shop-top-nav {
        width: min(100%, 560px);
        margin: 12px auto 0;
        border: 1px solid rgba(226, 232, 240, .95) !important;
        border-radius: 999px;
        box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
    }

    .shop-shell {
        width: min(100%, 560px) !important;
        padding-bottom: 112px;
    }

    .shop-hero {
        position: relative;
        overflow: hidden;
        border-radius: 34px !important;
        padding: 28px 24px !important;
        text-align: left;
        isolation: isolate;
    }

    .shop-hero::before,
    .shop-hero::after {
        content: "";
        position: absolute;
        border-radius: 999px;
        background: rgba(255, 255, 255, .16);
        pointer-events: none;
        z-index: -1;
    }

    .shop-hero::before {
        width: 180px;
        height: 180px;
        right: -70px;
        top: -70px;
    }

    .shop-hero::after {
        width: 120px;
        height: 120px;
        left: -45px;
        bottom: -55px;
    }

    .shop-action-panel {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        margin: -14px 0 16px;
        position: relative;
        z-index: 3;
    }

    .shop-action-card {
        border: 1px solid rgba(226, 232, 240, .92);
        background: rgba(255, 255, 255, .94);
        backdrop-filter: blur(14px);
        border-radius: 22px;
        padding: 12px 8px;
        min-height: 82px;
        box-shadow: 0 18px 38px rgba(15, 23, 42, .08);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }

    .shop-action-card:active {
        transform: scale(.98);
    }

    .shop-action-card:hover {
        border-color: var(--shop-primary, #2563eb);
        box-shadow: 0 18px 42px var(--shop-shadow, rgba(37, 99, 235, .18));
        transform: translateY(-2px);
    }

    .shop-action-icon {
        width: 42px;
        height: 42px;
        border-radius: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--shop-soft, #eff6ff);
        color: var(--shop-primary, #2563eb);
    }

    .shop-action-card strong {
        color: #0f172a;
        font-size: 12px;
        line-height: 1.1;
        text-align: center;
        font-weight: 950;
    }

    .shop-section-card {
        border: 1px solid rgba(226, 232, 240, .95) !important;
        border-radius: 30px !important;
        box-shadow: 0 18px 48px rgba(15, 23, 42, .07) !important;
        margin-bottom: 16px !important;
        height: auto !important;
        align-self: start;
    }

    /* Keep a busy sales day from making the whole storefront extremely long. */
    #dashboardRecentOrdersList {
        max-height: 330px;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-right: 3px;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }

    #dashboardRecentOrdersList::-webkit-scrollbar {
        width: 5px;
    }

    #dashboardRecentOrdersList::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: #cbd5e1;
    }

    .shop-bottom-bar {
        background: linear-gradient(to top, rgba(255, 255, 255, .98), rgba(255, 255, 255, .92), rgba(255, 255, 255, 0)) !important;
    }

    .shop-bottom-bar>div {
        padding: 10px;
        border-radius: 28px;
        background: rgba(255, 255, 255, .94);
        border: 1px solid rgba(226, 232, 240, .95);
        box-shadow: 0 -10px 40px rgba(15, 23, 42, .10);
        backdrop-filter: blur(18px);
    }

    .shop-bottom-bar button {
        min-height: 60px;
        border-radius: 20px !important;
    }

    #bottomSheet,
    #voucherSheet {
        border: 1px solid rgba(226, 232, 240, .9);
    }

    #bottomSheet select,
    #bottomSheet input,
    #voucherSheet input {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
    }

    .new-ui-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .16);
        border: 1px solid rgba(255, 255, 255, .22);
        color: rgba(255, 255, 255, .9);
        font-size: 11px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .08em;
        margin-bottom: 14px;
    }

    .special-offer-choice.is-active {
        border-color: var(--shop-primary, #2563eb) !important;
        background: var(--shop-soft, #eff6ff) !important;
        box-shadow: 0 14px 30px var(--shop-shadow, rgba(37, 99, 235, .18));
    }

    .special-offer-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 999px;
        background: #fff7ed;
        color: #9a3412;
        font-size: 10px;
        font-weight: 950;
        text-transform: uppercase;
        letter-spacing: .08em;
    }

    .special-offer-package-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    @media (max-width: 520px) {
        .special-offer-package-list {
            grid-template-columns: 1fr;
        }
    }

    body.store-theme-dark_mode {
        background: #020617 !important;
    }

    body.store-theme-dark_mode .shop-action-card,
    body.store-theme-dark_mode .shop-section-card,
    body.store-theme-dark_mode .shop-bottom-bar>div,
    body.store-theme-dark_mode .shop-top-nav {
        background: rgba(15, 23, 42, .92) !important;
        border-color: rgba(51, 65, 85, .95) !important;
    }

    body.store-theme-dark_mode .shop-action-card strong {
        color: #f8fafc;
    }

    body.store-theme-dark_mode .mtn-status-section {
        border-color: rgba(34, 197, 94, .32);
        background: linear-gradient(135deg, rgba(20, 83, 45, .42), rgba(15, 23, 42, .96));
    }

    body.store-theme-dark_mode .mtn-status-title h3 {
        color: #f8fafc;
    }

    body.store-theme-dark_mode .mtn-status-note,
    body.store-theme-dark_mode #datahub-mtn-widget:empty {
        color: #cbd5e1;
    }

    body.store-theme-dark_mode #datahub-mtn-widget:empty {
        border-color: rgba(34, 197, 94, .32);
        background: rgba(15, 23, 42, .72);
    }

    @media (max-width: 560px) {
        .shop-action-panel {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 420px) {
        .shop-action-panel {
            gap: 8px;
        }

        .shop-action-card {
            min-height: 86px;
            padding: 12px 8px;
        }

        .shop-action-icon {
            width: 38px;
            height: 38px;
            border-radius: 14px;
        }

        .shop-action-card strong {
            font-size: 11px;
        }
    }


    /* ============================================================
            FASTDATANET RESPONSIVE FRONTEND UPGRADE PATCH
            ------------------------------------------------------------
            This patch keeps your existing PHP/JS/payment logic untouched.
            It only improves the public shop layout on desktop, tablet,
            and small mobile screens.
            ============================================================ */
    html {
        width: 100%;
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
    }

    body {
        overflow-x: hidden;
        touch-action: manipulation;
    }

    img,
    svg,
    video,
    canvas {
        max-width: 100%;
        height: auto;
    }

    button,
    a,
    input,
    select,
    textarea {
        -webkit-tap-highlight-color: transparent;
    }

    .no-scrollbar {
        scrollbar-width: none;
    }

    .no-scrollbar::-webkit-scrollbar {
        display: none;
    }

    .shop-top-nav {
        width: min(calc(100% - 24px), 1180px) !important;
        top: 10px !important;
        padding-left: clamp(14px, 3vw, 24px) !important;
        padding-right: clamp(14px, 3vw, 24px) !important;
    }

    .shop-shell {
        width: min(calc(100% - 24px), 1180px) !important;
        max-width: 1180px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .shop-hero {
        min-height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .shop-action-panel,
    .shop-section-card,
    #dynamic-wa-link,
    a[href*="register"] {
        width: 100%;
    }

    .shop-action-panel {
        margin-top: -20px !important;
    }

    .shop-action-card {
        border: 0 !important;
    }

    #dashboardRecentOrdersList>div,
    #planOptions>label,
    #voucherChoiceGrid>button,
    .special-offer-choice,
    .voucher-choice {
        word-break: break-word;
    }

    input[type="tel"],
    input[type="number"],
    input[type="text"],
    select {
        min-height: 52px;
    }

    #phone,
    #voucherCustomerPhone,
    #specialOfferPhone {
        font-size: clamp(1.15rem, 5vw, 1.75rem) !important;
        letter-spacing: .12em !important;
    }

    #bottomSheet,
    #voucherSheet,
    #specialOfferSheet {
        width: min(calc(100% - 18px), 640px) !important;
        max-width: 640px !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, 100%) !important;
        border-top-left-radius: 32px !important;
        border-top-right-radius: 32px !important;
    }

    #bottomSheet.translate-y-0,
    #voucherSheet.translate-y-0,
    #specialOfferSheet.translate-y-0 {
        transform: translate(-50%, 0) !important;
    }

    .shop-bottom-bar {
        pointer-events: none;
    }

    .shop-bottom-bar>div {
        width: min(calc(100% - 18px), 720px) !important;
        max-width: 720px !important;
        pointer-events: auto;
    }

    @media (min-width: 900px) {
        .shop-shell {
            display: grid;
            grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
            gap: 22px;
            align-items: start;
            margin-top: 28px !important;
        }

        .shop-shell>.mb-6.text-center,
        .shop-action-panel,
        .shop-shell>.grid.grid-cols-2.gap-4.mb-8 {
            grid-column: 1 / -1;
        }

        .shop-hero {
            text-align: left !important;
            padding: 34px 36px !important;
        }

        .shop-hero .w-16.h-16 {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }

        .shop-hero h2 {
            font-size: clamp(2rem, 4vw, 3.4rem) !important;
            max-width: 760px;
        }

        .shop-hero p {
            max-width: 720px;
            font-size: 1rem !important;
        }

        .shop-action-panel {
            grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
            gap: 14px !important;
        }

        .shop-action-card {
            min-height: 96px !important;
        }

        .shop-action-icon {
            width: 50px !important;
            height: 50px !important;
        }

        .shop-action-card strong {
            font-size: 14px !important;
        }

        .shop-shell>.grid.grid-cols-2.gap-4.mb-8 {
            display: grid !important;
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }

        .shop-section-card {
            margin-bottom: 0 !important;
        }

        #dynamic-wa-link,
        a[href*="register"] {
            margin-top: 0 !important;
        }

        .shop-bottom-bar {
            padding-bottom: 18px !important;
        }
    }

    @media (min-width: 1180px) {
        .shop-shell {
            grid-template-columns: 1fr 1fr;
        }

        .shop-shell>.mb-6.text-center,
        .shop-action-panel,
        .shop-shell>.grid.grid-cols-2.gap-4.mb-8 {
            grid-column: 1 / -1;
        }
    }

    @media (max-width: 899px) {
        .shop-shell {
            display: block;
            max-width: 560px !important;
        }

        .shop-top-nav {
            max-width: 560px !important;
        }
    }

    @media (max-width: 560px) {
        .shop-top-nav {
            width: calc(100% - 16px) !important;
            margin-top: 8px !important;
            border-radius: 22px !important;
            align-items: center !important;
            gap: 10px !important;
        }

        .shop-top-nav h1 {
            max-width: 170px !important;
            font-size: 1rem !important;
        }

        .shop-top-nav button {
            padding: 10px 12px !important;
            font-size: .68rem !important;
            white-space: nowrap;
        }

        .shop-shell {
            width: calc(100% - 16px) !important;
            margin-top: 18px !important;
        }

        .shop-hero {
            border-radius: 28px !important;
            min-height: 0 !important;
            padding: 20px 16px !important;
        }

        .shop-hero h2 {
            font-size: 1.55rem !important;
        }

        .shop-action-panel {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 10px !important;
        }

        .shop-action-card {
            min-height: 80px !important;
        }

        .shop-section-card {
            border-radius: 24px !important;
            padding: 16px !important;
        }

        #dynamic-wa-link,
        a[href*="register"] {
            border-radius: 24px !important;
            padding: 14px !important;
        }

        .shop-bottom-bar {
            padding: 10px 8px max(10px, env(safe-area-inset-bottom)) !important;
        }

        .shop-bottom-bar>div {
            width: calc(100% - 8px) !important;
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            gap: 8px !important;
            border-radius: 24px !important;
        }

        .shop-bottom-bar button {
            min-height: 56px !important;
            padding-left: 6px !important;
            padding-right: 6px !important;
            font-size: .70rem !important;
            gap: 5px !important;
        }

        #bottomSheet,
        #voucherSheet,
        #specialOfferSheet {
            width: 100% !important;
            max-width: 100% !important;
            border-top-left-radius: 28px !important;
            border-top-right-radius: 28px !important;
        }

        #bottomSheet>.px-6,
        #voucherSheet>.px-6,
        #specialOfferSheet>.px-6 {
            padding-left: 16px !important;
            padding-right: 16px !important;
        }
    }

    @media (max-width: 420px) {

        .shop-shell>.grid.grid-cols-2.gap-4.mb-8,
        .shop-section-card .grid.grid-cols-2.gap-3 {
            grid-template-columns: 1fr !important;
        }

        .shop-action-panel {
            grid-template-columns: 1fr 1fr !important;
        }

        .shop-action-card strong {
            font-size: 10.5px !important;
        }

        .special-offer-badge {
            font-size: 9px !important;
        }

        .shop-bottom-bar button span,
        .shop-bottom-bar button {
            font-size: .64rem !important;
        }
    }

    @media (max-width: 350px) {
        .shop-action-panel {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }

        .shop-bottom-bar>div {
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        }

        .shop-bottom-bar button {
            min-height: 48px !important;
            font-size: .55rem !important;
            gap: 2px !important;
        }
    }


    /* ============================================================
    FASTDATANET — COMPACT STOREFRONT REDESIGN
    Light UI, touch-first controls, external-only custom CSS.
    Loaded AFTER existing shop.css and Tailwind utilities.
    ============================================================ */
    :root {
        color-scheme: light;
    }

    html {
        overflow-x: clip;
        scroll-padding-top: 75px;
    }

    body {
        font-family: "Plus Jakarta Sans", system-ui, sans-serif;
        line-height: 1.45;
    }

    button,
    input,
    select,
    textarea {
        font: inherit;
    }

    button:focus-visible,
    a:focus-visible,
    input:focus-visible,
    select:focus-visible {
        outline: 3px solid var(--shop-primary, #2563eb);
        outline-offset: 3px;
    }

    .shop-top-nav {
        width: min(calc(100% - 28px), 1050px) !important;
        margin: 15px auto 0 !important;
        top: 10px !important;
        padding: 11px 18px !important;
        border-radius: 18px !important;
        border: 1px solid rgba(226, 232, 240, .9) !important;
        background: rgba(255, 255, 255, .95) !important;
        box-shadow: 0 4px 22px rgba(15, 23, 42, .07) !important;
    }

    .shop-top-nav h1 {
        max-width: min(48vw, 440px) !important;
        font-size: clamp(15px, 2vw, 19px) !important;
    }

    .shop-top-nav button {
        min-height: 36px;
        padding: 8px 12px !important;
        font-size: 11px !important;
    }

    .shop-top-nav>div>span {
        font-size: 9px !important;
        margin-top: 3px !important;
    }

    .shop-shell {
        width: min(calc(100% - 28px), 1050px) !important;
        max-width: 1050px !important;
        margin: 20px auto 0 !important;
        padding: 0 0 106px !important;
    }

    .shop-hero {
        min-height: 0 !important;
        padding: 26px 26px !important;
        border-radius: 23px !important;
    }

    .shop-hero .w-16.h-16 {
        width: 47px !important;
        height: 47px !important;
        border-radius: 13px !important;
        font-size: 16px !important;
        margin-bottom: 11px !important;
    }

    .shop-hero .new-ui-badge {
        font-size: 9px !important;
        padding: 5px 10px !important;
        margin-bottom: 10px !important;
    }

    .shop-hero h2 {
        font-size: clamp(20px, 2.8vw, 30px) !important;
        line-height: 1.2 !important;
    }

    .shop-hero p {
        font-size: 12px !important;
        line-height: 1.55 !important;
        margin-top: 8px !important;
    }

    .shop-action-panel {
        gap: 11px !important;
        margin: -12px 0 15px !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .shop-action-card {
        min-height: 77px !important;
        padding: 10px 7px !important;
        gap: 6px !important;
        border-radius: 15px !important;
    }

    .shop-action-icon {
        width: 35px !important;
        height: 35px !important;
        border-radius: 11px !important;
    }

    .shop-action-icon svg {
        width: 19px !important;
        height: 19px !important;
    }

    .shop-action-card strong {
        font-size: 11px !important;
        line-height: 1.25 !important;
    }

    .shop-section-card {
        padding: 19px !important;
        border-radius: 18px !important;
        margin-bottom: 13px !important;
    }

    .shop-section-card h3 {
        line-height: 1.35;
    }

    .shop-section-card .w-12.h-12 {
        width: 40px !important;
        height: 40px !important;
        border-radius: 12px !important;
    }

    .mtn-status-section {
        padding: 13px !important;
        border-radius: 17px !important;
        margin-bottom: 13px !important;
    }

    .mtn-status-header {
        margin-bottom: 9px;
        gap: 9px;
    }

    .mtn-status-icon {
        width: 34px !important;
        height: 34px !important;
        flex-basis: 34px !important;
        border-radius: 10px !important;
    }

    .mtn-status-title h3 {
        font-size: 12px !important;
    }

    .mtn-status-title p {
        font-size: 9px !important;
    }

    .mtn-live-badge {
        font-size: 9px !important;
        padding: 5px 8px !important;
    }

    .mtn-status-note {
        font-size: 10px !important;
    }

    #dashboardRecentOrdersList {
        max-height: 268px;
        gap: 7px !important;
    }

    #dashboardRecentOrdersList>div {
        padding: 10px !important;
        border-radius: 12px !important;
        gap: 6px !important;
    }

    #dashboardRecentOrdersList>div>div {
        min-width: 0;
    }

    #dashboardRecentOrdersList>div>div p {
        overflow-wrap: anywhere;
    }

    .shop-bottom-bar {
        padding: 8px 10px max(8px, env(safe-area-inset-bottom)) !important;
    }

    .shop-bottom-bar>div {
        max-width: 620px !important;
        border-radius: 19px !important;
        gap: 8px !important;
        padding: 7px !important;
    }

    .shop-bottom-bar button {
        min-height: 46px !important;
        padding: 7px 5px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        border-radius: 12px !important;
        gap: 5px !important;
    }

    .shop-bottom-bar button svg {
        width: 16px !important;
        height: 16px !important;
        flex-shrink: 0;
    }

    #bottomSheet,
    #voucherSheet,
    #specialOfferSheet {
        width: min(100%, 540px) !important;
        max-width: 540px !important;
        max-height: min(91dvh, 790px) !important;
        border-radius: 22px 22px 0 0 !important;
        background: #fff !important;
        overflow: hidden;
    }

    #bottomSheet>.px-6,
    #voucherSheet>.px-6,
    #specialOfferSheet>.px-6 {
        padding: 0 20px max(20px, env(safe-area-inset-bottom)) !important;
        min-height: 0;
        overflow-y: auto !important;
        overscroll-behavior: contain;
    }

    #bottomSheet .w-12.h-1\.5,
    #voucherSheet .w-12.h-1\.5,
    #specialOfferSheet .w-12.h-1\.5 {
        width: 38px !important;
        height: 4px !important;
    }

    #bottomSheet h2,
    #voucherSheet h2,
    #specialOfferSheet h2 {
        font-size: 21px !important;
        line-height: 1.2 !important;
    }

    #bottomSheet form>.mb-6,
    #voucherSheet form>.mb-6,
    #specialOfferSheet form>.mb-6 {
        margin-bottom: 15px !important;
    }

    #bottomSheet form label,
    #voucherSheet form label,
    #specialOfferSheet form label {
        line-height: 1.4;
    }

    .shop-delivery-choice-grid {
        gap: 8px !important;
    }

    .shop-delivery-choice-grid>label {
        min-width: 0;
    }

    .shop-delivery-choice-grid>label>div {
        min-height: 79px;
        padding: 10px 8px !important;
        border-radius: 12px !important;
    }

    .shop-delivery-choice-grid h4 {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    .shop-delivery-choice-grid p {
        font-size: 9px !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere;
    }

    .shop-delivery-choice-grid label>div>div:first-child {
        font-size: 16px !important;
        margin-bottom: 3px !important;
    }

    #bottomSheet input[type="tel"],
    #voucherSheet input[type="tel"],
    #specialOfferSheet input[type="tel"],
    #voucherSheet input[type="number"],
    #specialOfferSheet input[type="number"] {
        min-height: 45px !important;
        padding: 10px 12px !important;
        border-radius: 12px !important;
        font-size: 16px !important;
        letter-spacing: .025em !important;
    }

    #bottomSheet select,
    #voucherSheet select,
    #specialOfferSheet select {
        min-height: 46px !important;
        padding: 10px 12px !important;
        border-radius: 12px !important;
        font-size: 13px !important;
    }

    #networkGridContainer .grid {
        gap: 8px !important;
    }

    #networkGridContainer .grid>label>div {
        padding: 9px 5px !important;
        min-height: 63px !important;
        border-radius: 12px !important;
    }

    #networkGridContainer img {
        height: 28px !important;
        width: 28px !important;
    }

    #priceBox {
        padding: 15px !important;
        border-radius: 15px !important;
        margin-bottom: 15px !important;
    }

    #totalPrice {
        font-size: 29px !important;
    }

    #priceBox>.flex:last-child {
        padding: 9px 10px !important;
        font-size: 11px !important;
        gap: 7px !important;
        flex-wrap: wrap;
    }

    #payBtn,
    #voucherPayBtn,
    #specialOfferPayBtn {
        min-height: 48px !important;
        padding: 11px 14px !important;
        border-radius: 12px !important;
        font-size: 13px !important;
        gap: 7px !important;
    }

    #voucherChoiceGrid {
        gap: 9px !important;
    }

    #voucherChoiceGrid .voucher-choice {
        padding: 12px !important;
        border-radius: 13px !important;
    }

    .special-offer-package-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    .special-offer-choice {
        padding: 12px !important;
        border-radius: 13px !important;
    }

    #dynamic-wa-link,
    a[href*="register"] {
        border-radius: 16px !important;
    }

    .swal2-popup {
        width: min(94vw, 460px) !important;
        border-radius: 18px !important;
        font-family: "Plus Jakarta Sans", sans-serif !important;
    }

    .swal2-title {
        font-size: 18px !important;
    }

    .swal2-html-container {
        font-size: 13px !important;
    }

    /* Two-column mobile storefront — compact, no page-wide scrolling. */
    @media(max-width:899px) {
        .shop-shell {
            display: block !important;
            max-width: 560px !important;
        }

        .shop-top-nav {
            max-width: 560px !important;
        }
    }

    @media(max-width:600px) {
        .shop-top-nav {
            width: calc(100% - 20px) !important;
            margin-top: 8px !important;
            top: 7px !important;
            padding: 10px 12px !important;
            border-radius: 15px !important;
            gap: 8px !important;
        }

        .shop-top-nav h1 {
            max-width: 46vw !important;
            font-size: 14px !important;
        }

        .shop-top-nav button {
            min-height: 34px !important;
            padding: 7px 9px !important;
            font-size: 10px !important;
        }

        .shop-shell {
            width: calc(100% - 20px) !important;
            margin-top: 13px !important;
            padding-bottom: 100px !important;
        }

        .shop-shell>.mb-6.text-center {
            margin-bottom: 13px !important;
        }

        .shop-hero {
            padding: 17px 16px !important;
            border-radius: 17px !important;
        }

        .shop-hero .w-16.h-16 {
            width: 41px !important;
            height: 41px !important;
            margin-bottom: 8px !important;
            font-size: 14px !important;
        }

        .shop-hero h2 {
            font-size: 20px !important;
        }

        .shop-hero p {
            font-size: 11px !important;
            line-height: 1.45 !important;
        }

        .shop-action-panel {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 8px !important;
            margin: -7px 0 12px !important;
        }

        .shop-action-card {
            min-height: 68px !important;
            padding: 8px 6px !important;
            gap: 4px !important;
            border-radius: 13px !important;
            box-shadow: 0 4px 15px rgba(15, 23, 42, .055) !important;
        }

        .shop-action-icon {
            width: 29px !important;
            height: 29px !important;
            border-radius: 9px !important;
        }

        .shop-action-icon svg {
            width: 16px !important;
            height: 16px !important;
        }

        .shop-action-card strong {
            font-size: 10px !important;
        }

        .shop-section-card {
            padding: 13px !important;
            border-radius: 15px !important;
            margin-bottom: 10px !important;
        }

        .shop-section-card .grid.grid-cols-2.gap-3 {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 8px !important;
        }

        .shop-section-card .grid.grid-cols-2.gap-3>button {
            padding: 11px !important;
            border-radius: 12px !important;
        }

        .shop-section-card .grid.grid-cols-2.gap-3>button h4 {
            font-size: 12px !important;
        }

        .mtn-status-section {
            padding: 11px !important;
            border-radius: 14px !important;
        }

        .mtn-live-badge {
            padding: 4px 6px !important;
            font-size: 8px !important;
            letter-spacing: 0 !important;
        }

        .shop-bottom-bar {
            padding: 6px 8px max(6px, env(safe-area-inset-bottom)) !important;
        }

        .shop-bottom-bar>div {
            width: 100% !important;
            padding: 6px !important;
            border-radius: 16px !important;
            gap: 6px !important;
        }

        .shop-bottom-bar button {
            min-height: 44px !important;
            padding: 6px 4px !important;
            font-size: 10px !important;
            gap: 4px !important;
        }

        #bottomSheet,
        #voucherSheet,
        #specialOfferSheet {
            max-height: 92dvh !important;
            border-radius: 20px 20px 0 0 !important;
        }

        #bottomSheet>.px-6,
        #voucherSheet>.px-6,
        #specialOfferSheet>.px-6 {
            padding: 0 14px max(15px, env(safe-area-inset-bottom)) !important;
        }

        #bottomSheet h2,
        #voucherSheet h2,
        #specialOfferSheet h2 {
            font-size: 19px !important;
        }

        .shop-delivery-choice-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            gap: 6px !important;
        }

        .shop-delivery-choice-grid>label>div {
            min-height: 74px !important;
            padding: 8px 6px !important;
            border-radius: 11px !important;
        }

        .shop-delivery-choice-grid h4 {
            font-size: 10px !important;
        }

        .shop-delivery-choice-grid p {
            font-size: 8px !important;
        }

        #priceBox {
            padding: 12px !important;
        }

        #totalPrice {
            font-size: 26px !important;
        }

        .special-offer-package-list {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }
    }

    @media(max-width:360px) {
        .shop-top-nav h1 {
            max-width: 43vw !important;
            font-size: 12px !important;
        }

        .shop-top-nav button {
            font-size: 9px !important;
        }

        .shop-action-card strong {
            font-size: 9px !important;
        }

        .shop-bottom-bar button {
            font-size: 9px !important;
            gap: 2px !important;
        }

        .shop-bottom-bar button svg {
            width: 13px !important;
            height: 13px !important;
        }

        .shop-delivery-choice-grid>label>div {
            padding: 7px 4px !important;
        }

        .shop-delivery-choice-grid h4 {
            font-size: 9px !important;
        }

        .shop-delivery-choice-grid p {
            font-size: 8px !important;
        }
    }

    /* Dark storefront theme retains readable text and form controls. */
    body.store-theme-dark_mode .shop-section-card h3,
    body.store-theme-dark_mode .shop-section-card h4,
    body.store-theme-dark_mode .shop-top-nav h1 {
        color: #f8fafc !important;
    }

    body.store-theme-dark_mode .shop-section-card p {
        color: #cbd5e1;
    }

    body.store-theme-dark_mode .shop-top-nav button {
        background: #e2e8f0 !important;
        color: #0f172a !important;
    }

    @media(hover:none) {
        .shop-action-card:hover {
            transform: none !important;
        }
    }

    @media(prefers-reduced-motion:reduce) {

        .shop-action-card,
        .shop-bottom-bar button {
            transition: none !important;
        }

        .shimmer,
        .mtn-live-dot {
            animation: none !important;
        }
    }