/* MADILAND – Frontend "mobile app" style */

:root {
    --bg1: #4f46e5;
    --bg2: #06b6d4;
    --bg3: #22c55e;

    --card: #ffffff;
    --ink: #0b1220;
    --muted: #6b7280;

    --orange: #ff7a00;
    --orange2: #ff9a3d;

    --radius: 26px;
}

/* Background */
body {
    background:
        radial-gradient(900px 600px at 10% 0%, rgba(79, 70, 229, .18), transparent 60%),
        radial-gradient(900px 600px at 100% 0%, rgba(6, 182, 212, .16), transparent 55%),
        radial-gradient(900px 600px at 20% 100%, rgba(34, 197, 94, .10), transparent 55%),
        #f6f7fb;
    padding-bottom: 92px;
}

/* =========================
   HERO
   ========================= */

.madi-hero {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(11, 18, 32, .14);
    background: linear-gradient(135deg, rgba(79, 70, 229, .95), rgba(6, 182, 212, .90));
    position: relative;
}

.madi-hero::after {
    content: "";
    position: absolute;
    inset: -140px -140px auto auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, .30), transparent 65%);
}

.madi-hero-inner {
    position: relative;
    padding: 18px;
}

@media (min-width:768px) {
    .madi-hero-inner {
        padding: 28px;
    }
}

.madi-hello {
    color: rgba(255, 255, 255, .88);
    font-weight: 800;
    letter-spacing: .2px;
}

.madi-title {
    color: #fff;
    font-weight: 900;
    line-height: 1.12;
    font-size: 1.45rem;
}

.madi-subtitle {
    color: rgba(255, 255, 255, .82);
}

.madi-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(10px);
}

.madi-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
}

.madi-badge-text {
    color: #fff;
    font-weight: 900;
    letter-spacing: .5px;
}

/* =========================
   QUICK CARDS
   ========================= */

.madi-quick {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width:768px) {
    .madi-quick {
        grid-template-columns: 1fr 1fr;
    }
}

.madi-quick-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    transition: .15s transform ease, .15s background ease;
}

.madi-quick-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .16);
}

.madi-quick-icon {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-size: 18px;
}

.madi-quick-text {
    flex: 1;
}

.madi-quick-title {
    color: #fff;
    font-weight: 900;
}

.madi-quick-sub {
    color: rgba(255, 255, 255, .88);
    font-size: .92rem;
}

.madi-quick-go {
    color: #fff;
    opacity: .95;
}

/* =========================
   SECTION HEADER
   ========================= */

.madi-section-title {
    font-weight: 900;
    color: var(--ink);
    font-size: 1.08rem;
}

.madi-link {
    text-decoration: none;
    font-weight: 800;
    color: rgba(11, 18, 32, .72);
}

/* =========================
   CHIPS
   ========================= */

.madi-chips {
    display: flex;
    gap: 10px;
    overflow: auto;
    padding-bottom: 4px;
}

.madi-chips::-webkit-scrollbar {
    height: 6px;
}

.madi-chips::-webkit-scrollbar-thumb {
    background: rgba(11, 18, 32, .12);
    border-radius: 999px;
}

.madi-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(11, 18, 32, .06);
    box-shadow: 0 10px 22px rgba(11, 18, 32, .07);
    text-decoration: none;
    color: rgba(11, 18, 32, .86);
    font-weight: 800;
    font-size: .92rem;
}

.madi-chip:hover {
    background: #fff;
}

.madi-chip .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.dot.d1 {
    background: #22c55e;
}

.dot.d2 {
    background: #fb7185;
}

.dot.d3 {
    background: #60a5fa;
}

.dot.d4 {
    background: #f59e0b;
}

.dot.d5 {
    background: #a78bfa;
}

/* =========================
   TILES
   ========================= */

.madi-tile {
    display: block;
    text-decoration: none;
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 0 14px 32px rgba(11, 18, 32, .10);
    border: 1px solid rgba(11, 18, 32, .06);
    transition: .15s transform ease, .15s box-shadow ease;
    height: 100%;
}

.madi-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(11, 18, 32, .14);
}

.madi-tile-icon {
    width: 54px;
    height: 54px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}

.madi-tile-title {
    font-weight: 900;
    color: var(--ink);
}

.madi-tile-sub {
    color: var(--muted);
    font-weight: 700;
    font-size: .92rem;
}

.t1 .madi-tile-icon {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
}

.t2 .madi-tile-icon {
    background: linear-gradient(135deg, #fb7185, #f97316);
}

.t3 .madi-tile-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.t4 .madi-tile-icon {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
}

.t5 .madi-tile-icon {
    background: linear-gradient(135deg, #111827, #374151);
}

.t6 .madi-tile-icon {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

/* =========================
   DAILY QUIZ
   ========================= */

.madi-daily {
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid rgba(11, 18, 32, .06);
    box-shadow: 0 16px 42px rgba(11, 18, 32, .10);
    padding: 18px;
}

.madi-daily-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.madi-daily-kicker {
    font-weight: 900;
    color: rgba(11, 18, 32, .55);
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: .78rem;
}

.madi-daily-title {
    font-weight: 900;
    color: var(--ink);
    font-size: 1.08rem;
}

.madi-daily-sub {
    color: var(--muted);
    font-weight: 700;
}

.madi-daily-btn {
    border-radius: 999px !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, var(--orange), var(--orange2)) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 10px 16px !important;
}

/* =========================
   BANNER
   ========================= */

.madi-banner {
    border-radius: var(--radius);
    padding: 18px;
    background: linear-gradient(135deg, rgba(17, 24, 39, .95), rgba(31, 41, 55, .95));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 18px 50px rgba(11, 18, 32, .16);
}

.madi-banner-title {
    font-weight: 900;
    font-size: 1.08rem;
}

.madi-banner-sub {
    color: rgba(255, 255, 255, .82);
    font-weight: 700;
}

.madi-banner-btn {
    border-radius: 999px !important;
    font-weight: 900 !important;
}

/* =========================
   TOPBAR
   ========================= */

.madi-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.madi-topbar-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.madi-topbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.madi-topbar-logo {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    flex: 0 0 auto;
}

.madi-topbar-text {
    min-width: 0;
}

.madi-topbar-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.madi-topbar-sub {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.madi-back,
.madi-back-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex: 0 0 40px;
}

.madi-back {
    border: none;
    background: #f3f4f6;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
}

.madi-back:hover {
    background: #e5e7eb;
}

.madi-topbar-whatsapp {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #e9f9ef;
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: .2s ease;
}

.madi-topbar-whatsapp:hover {
    color: #25D366;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(37, 211, 102, .18);
}

/* =========================
   AUTH BUTTONS
   ========================= */

.madi-auth-box {
    text-align: center;
    margin-bottom: 22px;
}

.madi-auth-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap !important;
}

.madi-btn-login,
.madi-btn-register {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto !important;
    min-width: 140px;
    padding: 13px 22px;
    border-radius: 999px;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 800;
    transition: all .22s ease;
    white-space: nowrap;
}

.madi-btn-login {
    color: #fff !important;
    background: linear-gradient(135deg, #111111, #2f2f2f);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.madi-btn-login:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .26);
}

.madi-btn-register {
    color: #fff !important;
    background: linear-gradient(135deg, #7B4BAA, #a86cf0);
    box-shadow: 0 10px 24px rgba(123, 75, 170, .25);
}

.madi-btn-register:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(123, 75, 170, .35);
}

/* =========================
   USER BAR
   ========================= */

.madi-userbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f7f8fc, #eef6f6);
    border: 1px solid rgba(0, 0, 0, .05);
}

.madi-userbar-left {
    color: #374151;
    font-size: 15px;
}

.madi-userbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.madi-user-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap !important;
}

.madi-user-actions .madi-user-btn {
    width: auto !important;
    white-space: nowrap;
}

.madi-user-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 800;
    position: relative;
    transition: .2s ease;
}

.madi-user-btn-cart {
    background: #fff;
    color: #3157ff !important;
    border: 1px solid rgba(49, 87, 255, .14);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .05);
}

.madi-user-btn-cart:hover {
    color: #3157ff !important;
    transform: translateY(-1px);
}

.madi-user-btn-logout {
    background: #fff;
    color: #df2f4a !important;
    border: 1px solid rgba(223, 47, 74, .14);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .05);
}

.madi-user-btn-logout:hover {
    color: #df2f4a !important;
    transform: translateY(-1px);
}

.madi-cart-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ff2f59;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   FLOAT WHATSAPP
   ========================= */

.madi-wa-float {
    position: fixed;
    right: 16px;
    bottom: 105px;
    z-index: 9998;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 12px 26px rgba(37, 211, 102, .33);
    transition: .2s ease;
}

.madi-wa-float:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.02);
}

/* =========================
   BOTTOM APP NAV  ← CORRECTION PRINCIPALE
   ========================= */

.madi-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9997;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, .07);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .05);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}

/* Spécificité renforcée pour écraser Bootstrap */
.madi-bottom-nav .madi-bottom-link {
    flex: 1;
    min-height: 62px;
    color: #7b7b7b !important;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    transition: .2s ease;
}

.madi-bottom-nav .madi-bottom-link i {
    font-size: 20px;
}

.madi-bottom-nav .madi-bottom-link span {
    font-size: 11px;
    font-weight: 800;
    text-decoration: none !important;
}

.madi-bottom-nav .madi-bottom-link.active {
    color: #7B4BAA !important;
    text-decoration: none !important;
}

.madi-bottom-nav .madi-bottom-link:hover {
    color: #7B4BAA !important;
    text-decoration: none !important;
}

.madi-bottom-cart-wrap {
    position: relative;
    display: inline-flex;
}

.madi-bottom-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff2f59;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   INTERIOR CARDS
   ========================= */

.madi-card {
    background: #fff;
    border: 1px solid rgba(11, 18, 32, .06);
    border-radius: var(--radius);
    box-shadow: 0 16px 42px rgba(11, 18, 32, .10);
}

.madi-kicker {
    font-weight: 900;
    color: rgba(11, 18, 32, .50);
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: .78rem;
}

.madi-h1 {
    font-weight: 950;
    font-size: 1.35rem;
    color: var(--ink);
}

.madi-muted {
    color: var(--muted);
    font-size: 14px;
}

.madi-label {
    font-weight: 900;
    color: rgba(11, 18, 32, .78);
}

.madi-input {
    border-radius: 16px !important;
    border: 1px solid rgba(11, 18, 32, .10) !important;
    padding: 12px 14px !important;
    box-shadow: none !important;
}

.madi-cta {
    border-radius: 18px !important;
    padding: 12px 14px !important;
    font-weight: 950 !important;
}

.madi-cta2 {
    border-radius: 18px !important;
    padding: 12px 14px !important;
    font-weight: 950 !important;
}

.madi-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(79, 70, 229, .10);
    color: rgba(11, 18, 32, .80);
    font-weight: 900;
    border: 1px solid rgba(79, 70, 229, .12);
}

/* =========================
   CHIP CHOICE
   ========================= */

.madi-chip-choice {
    flex: 0 0 auto;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(11, 18, 32, .06);
    box-shadow: 0 10px 22px rgba(11, 18, 32, .07);
    text-decoration: none;
    color: rgba(11, 18, 32, .86);
    font-weight: 900;
    font-size: .92rem;
    transition: .12s ease;
}

.madi-chip-choice:hover {
    background: #fff;
    transform: translateY(-1px);
}

.madi-chip-choice.active {
    background: rgba(255, 122, 0, .14);
    border-color: rgba(255, 122, 0, .22);
    color: rgba(11, 18, 32, .92);
}

/* =========================
   QUIZ UI
   ========================= */

.madi-progress {
    height: 10px;
    border-radius: 999px;
    background: rgba(11, 18, 32, .08);
    overflow: hidden;
    flex: 1;
    margin-right: 12px;
}

.madi-progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    width: 10%;
}

.madi-timer {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 122, 0, .12);
    border: 1px solid rgba(255, 122, 0, .18);
    font-weight: 950;
    color: rgba(11, 18, 32, .85);
}

.madi-question {
    font-weight: 950;
    color: var(--ink);
    font-size: 1.10rem;
    line-height: 1.25;
}

.madi-answer {
    width: 100%;
    border: 1px solid rgba(11, 18, 32, .08);
    background: #fff;
    border-radius: 18px;
    padding: 12px 14px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 26px rgba(11, 18, 32, .08);
    transition: .12s ease;
}

.madi-answer:hover {
    transform: translateY(-1px);
}

.madi-answer.disabled {
    opacity: .65;
}

.madi-answer-key {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, .10);
    border: 1px solid rgba(79, 70, 229, .14);
    font-weight: 950;
    color: rgba(11, 18, 32, .85);
}

.madi-answer-text {
    flex: 1;
    font-weight: 850;
    color: rgba(11, 18, 32, .86);
}

.madi-answer-go {
    color: rgba(11, 18, 32, .45);
}

/* =========================
   RESULT
   ========================= */

.madi-score {
    background: rgba(11, 18, 32, .04);
    border: 1px solid rgba(11, 18, 32, .06);
    padding: 12px 14px;
    border-radius: 18px;
    font-weight: 900;
    color: rgba(11, 18, 32, .86);
}

.madi-result {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(11, 18, 32, .06);
}

.madi-result.success {
    background: rgba(34, 197, 94, .10);
    border-color: rgba(34, 197, 94, .18);
}

.madi-result.fail {
    background: rgba(251, 113, 133, .10);
    border-color: rgba(251, 113, 133, .18);
}

.madi-result-emoji {
    font-size: 1.7rem;
}

.madi-result-title {
    font-weight: 950;
    color: rgba(11, 18, 32, .90);
}

.madi-lot {
    margin-top: 2px;
    font-weight: 950;
    color: rgba(11, 18, 32, .92);
}

/* =========================
   SHOP
   ========================= */

.madi-cart-btn {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(11, 18, 32, .08);
    box-shadow: 0 14px 30px rgba(11, 18, 32, .10);
    color: rgba(11, 18, 32, .86);
    position: relative;
}

.madi-cat-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(11, 18, 32, .06);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: 0 14px 32px rgba(11, 18, 32, .10);
    transition: .12s ease;
    height: 100%;
    color: rgba(11, 18, 32, .92);
}

.madi-cat-card:hover {
    transform: translateY(-2px);
}

.madi-cat-card.active {
    outline: 2px solid rgba(255, 122, 0, .35);
    background: rgba(255, 122, 0, .06);
}

.madi-cat-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(11, 18, 32, .04);
    border: 1px solid rgba(11, 18, 32, .05);
}

.madi-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.madi-cat-ph {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(79, 70, 229, .18), rgba(11, 18, 32, .06));
}

.madi-cat-name {
    margin-top: 10px;
    font-weight: 950;
}

.madi-chip-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 122, 0, .10);
    border: 1px solid rgba(255, 122, 0, .16);
    color: rgba(11, 18, 32, .85);
    font-weight: 900;
    font-size: .90rem;
}

.madi-food-card {
    display: flex;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(11, 18, 32, .06);
    border-radius: var(--radius);
    box-shadow: 0 16px 42px rgba(11, 18, 32, .10);
    overflow: hidden;
    height: 100%;
}

.madi-food-left {
    width: 34%;
    min-width: 120px;
    background: rgba(11, 18, 32, .04);
}

.madi-food-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.madi-food-ph {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(6, 182, 212, .18), rgba(11, 18, 32, .06));
}

.madi-food-body {
    padding: 14px 14px 14px 0;
    flex: 1;
}

.madi-food-name {
    font-weight: 950;
    color: rgba(11, 18, 32, .92);
}

.madi-food-desc {
    color: var(--muted);
    font-weight: 650;
    font-size: .92rem;
    margin-top: 2px;
}

.madi-food-price {
    font-weight: 950;
    color: rgba(11, 18, 32, .92);
}

.madi-add-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.madi-qty {
    width: 70px;
    border-radius: 14px;
    border: 1px solid rgba(11, 18, 32, .10);
    padding: 10px 10px;
    font-weight: 900;
    outline: none;
}

.madi-add-btn {
    border: 0;
    border-radius: 16px;
    padding: 10px 12px;
    font-weight: 950;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    box-shadow: 0 12px 26px rgba(255, 122, 0, .22);
}

/* =========================
   WEEKLY MODAL
   ========================= */

.madi-modal {
    border: 0 !important;
    border-radius: var(--radius) !important;
    overflow: hidden;
}

.madi-modal-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background: rgba(11, 18, 32, .06);
}

.madi-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.madi-modal-ph {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 122, 0, .20), rgba(11, 18, 32, .06));
}

.madi-modal-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(11, 18, 32, .08);
    font-weight: 950;
}

.madi-modal-title {
    font-weight: 950;
    font-size: 1.18rem;
    color: var(--ink);
}

.madi-modal-sub {
    margin-top: 4px;
    color: var(--muted);
    font-weight: 650;
}

.madi-modal-price {
    font-weight: 950;
    color: rgba(11, 18, 32, .92);
}

.madi-modal-cta {
    border: 0;
    border-radius: 18px;
    padding: 12px 14px;
    font-weight: 950;
    color: #fff;
    width: 100%;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    box-shadow: 0 12px 26px rgba(255, 122, 0, .22);
}

.madi-modal-close {
    border: 1px solid rgba(11, 18, 32, .10);
    border-radius: 18px;
    padding: 12px 14px;
    font-weight: 900;
    background: #fff;
    width: 100%;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
    .madi-topbar-title {
        max-width: 160px;
        font-size: 15px;
    }

    .madi-userbar {
        justify-content: center;
    }

    .madi-userbar-left {
        width: 100%;
        text-align: center;
    }

    .madi-userbar-right {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 576px) {

    .madi-auth-buttons {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        gap: 10px;
    }

    .madi-btn-login,
    .madi-btn-register {
        width: auto !important;
        min-width: 0;
        padding: 11px 16px;
        font-size: 14px;
    }

    .madi-user-btn {
        width: auto !important;
        min-width: 0;
    }

    .madi-wa-float {
        width: 54px;
        height: 54px;
        font-size: 26px;
        right: 14px;
        bottom: 100px;
    }
}