:root {
    --bg: #f6f8f3;
    --bg-soft: #eef6ea;
    --white: #ffffff;
    --text: #142018;
    --muted: #667085;
    --green: #2fb36f;
    --green-dark: #1f8b54;
    --orange: #ff7a1a;
    --orange-dark: #f06400;
    --card-shadow: 0 20px 60px rgba(16, 24, 40, 0.08);
    --soft-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    --glass: rgba(255, 255, 255, 0.65);
    --border: rgba(255, 255, 255, 0.55);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --transition: all 0.35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: Inter, Arial, sans-serif;
    background: radial-gradient(circle at top left, rgba(61, 173, 102, 0.08), transparent 30%), radial-gradient(circle at top right, rgba(255, 122, 26, 0.08), transparent 28%), linear-gradient(180deg, #f8fbf6 0%, #f5f8f2 100%);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}


/* ── Loader ── */

.page-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #f7fbf4, #eef6ea);
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 5px solid rgba(47, 179, 111, 0.15);
    border-top-color: var(--green);
    animation: spinLoader 1s linear infinite;
}

.page-loader p {
    font-weight: 700;
    color: var(--green-dark);
    letter-spacing: 0.4px;
}

@keyframes spinLoader {
    to {
        transform: rotate(360deg);
    }
}


/* ── Background orbs ── */

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.42;
    pointer-events: none;
    animation: floatOrb 10s ease-in-out infinite;
}

.orb-1 {
    width: 420px;
    height: 420px;
    background: rgba(47, 179, 111, 0.16);
    top: 80px;
    left: -120px;
}

.orb-2 {
    width: 460px;
    height: 460px;
    background: rgba(255, 122, 26, 0.14);
    top: 140px;
    right: -120px;
    animation-delay: 1.5s;
}

.orb-3 {
    width: 340px;
    height: 340px;
    background: rgba(44, 88, 255, 0.08);
    bottom: 100px;
    left: 42%;
    animation-delay: 2s;
}

@keyframes floatOrb {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) translateX(16px) scale(1.05);
    }
}


/* ── Navbar ── */

.navbar {
    position: sticky;
    top: 20px;
    z-index: 1000;
    margin: 24px auto 0;
    /* KEY FIX: use a proper max-width with comfortable side padding */
    width: min(1560px, calc(100% - 64px));
    padding: 18px 28px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    gap: 24px;
    backdrop-filter: blur(18px);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 16px 48px rgba(20, 32, 24, 0.09);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--orange));
    box-shadow: 0 0 18px rgba(47, 179, 111, 0.4);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.brand-text {
    font-size: 28px;
    font-weight: 800;
    color: #15251b;
    letter-spacing: -0.5px;
}

.search-bar {
    position: relative;
    width: 100%;
}

.search-bar input {
    width: 100%;
    border: none;
    outline: none;
    height: 52px;
    border-radius: 999px;
    padding: 0 56px 0 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.06);
    font-size: 15px;
    color: var(--text);
    transition: var(--transition);
}

.search-bar input:focus {
    box-shadow: inset 0 0 0 2px rgba(47, 179, 111, 0.25), 0 0 0 6px rgba(47, 179, 111, 0.08);
}

.search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #5f6b66;
    font-size: 20px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.nav-link {
    text-decoration: none;
    color: #243328;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--green-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green), var(--orange));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-pill {
    border: none;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: white;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 24px rgba(255, 122, 26, 0.25);
}

.nav-pill:hover {
    transform: translateY(-2px);
}


/* ── Layout shells ── */


/* KEY FIX: All shells use a wide max-width so the content fills the screen properly */

.site-shell,
.cart-shell,
.admin-shell,
.dashboard-shell {
    width: min(1560px, calc(100% - 64px));
    margin: 36px auto 80px;
}

.page-back-row {
    width: min(1560px, calc(100% - 64px));
    margin: 14px auto 0;
}

.page-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, var(--green), var(--orange));
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.16);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.page-back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.2);
}


/* ── Hero ── */

.hero-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
    padding: 48px 0 56px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--green-dark);
    background: rgba(47, 179, 111, 0.1);
    border: 1px solid rgba(47, 179, 111, 0.12);
    padding: 10px 16px;
    border-radius: 999px;
}

.hero-content h1 {
    font-size: clamp(56px, 5vw, 96px);
    line-height: 1.02;
    letter-spacing: -2.5px;
    max-width: 820px;
    margin-bottom: 22px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--green-dark), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.85;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-btn {
    text-decoration: none;
    padding: 18px 30px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: white;
    box-shadow: 0 18px 34px rgba(47, 179, 111, 0.22);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    border: 1px solid rgba(16, 24, 40, 0.06);
    box-shadow: var(--soft-shadow);
}

.hero-btn:hover {
    transform: translateY(-3px);
}

.hero-metrics {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.metric-card {
    min-width: 160px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    padding: 22px 24px;
    border-radius: 22px;
    box-shadow: var(--card-shadow);
}

.metric-card h3 {
    font-size: 38px;
    margin-bottom: 4px;
}

.metric-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.float-card {
    animation: floatCard 5s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 0.7s;
}

.delay-2 {
    animation-delay: 1.4s;
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}


/* ── Hero visual ── */

.hero-visual {
    position: relative;
}

.hero-visual-card {
    position: relative;
    min-height: 680px;
    border-radius: 40px;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.9), transparent 30%), linear-gradient(135deg, #dff6df, #eff8eb 55%, #fff6ec);
    box-shadow: 0 30px 80px rgba(16, 24, 40, 0.12);
    overflow: hidden;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-visual-card::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(47, 179, 111, 0.12);
    top: -100px;
    left: -100px;
    filter: blur(12px);
}

.hero-visual-card::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 122, 26, 0.12);
    bottom: -70px;
    right: -60px;
    filter: blur(16px);
}

.hero-badge {
    position: absolute;
    top: 28px;
    right: 28px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: var(--soft-shadow);
    font-weight: 700;
    font-size: 14px;
    color: #213127;
    animation: badgeBob 4s ease-in-out infinite;
}

@keyframes badgeBob {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

.hero-products-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-product {
    position: absolute;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 52px rgba(16, 24, 40, 0.16);
    background: white;
    animation: floatObject 6s ease-in-out infinite;
}

.floating-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-a {
    width: 380px;
    height: 420px;
    top: 100px;
    left: 40px;
    transform: rotate(-6deg);
}

.product-b {
    width: 220px;
    height: 260px;
    top: 72px;
    right: 44px;
    transform: rotate(8deg);
    animation-delay: 0.7s;
}

.product-c {
    width: 290px;
    height: 200px;
    bottom: 66px;
    right: 80px;
    transform: rotate(-5deg);
    animation-delay: 1.2s;
}

@keyframes floatObject {
    0%,
    100% {
        transform: translateY(0px) rotate(-3deg);
    }
    50% {
        transform: translateY(-14px) rotate(1deg);
    }
}

.hero-order-card {
    position: absolute;
    left: 30px;
    bottom: 34px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: var(--soft-shadow);
    border-radius: 22px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 300px;
    animation: cardPulseSoft 3.8s infinite;
}

.hero-order-card h4 {
    margin-bottom: 4px;
    font-size: 18px;
}

.hero-order-card p {
    color: var(--muted);
    font-size: 14px;
}

.pulse-dot {
    width: 16px;
    height: 16px;
    background: var(--green);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(47, 179, 111, 0.25);
    animation: pulseRing 1.8s linear infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.7);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes cardPulseSoft {
    0%,
    100% {
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    }
    50% {
        box-shadow: 0 18px 36px rgba(47, 179, 111, 0.16);
    }
}


/* ── Featured Strip ── */

.featured-strip {
    margin: 16px 0 56px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.strip-card {
    background: rgba(255, 255, 255, 0.82);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.75);
}

.strip-card:hover {
    transform: translateY(-8px);
}

.strip-card h4 {
    margin-bottom: 8px;
    font-size: 20px;
}

.strip-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}


/* ── Sections ── */

.categories-block,
.products-area {
    margin-top: 40px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-tag {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: var(--orange-dark);
    margin-bottom: 8px;
}

.section-head h2 {
    font-size: clamp(36px, 3vw, 52px);
    letter-spacing: -1.2px;
}

.categories-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.categories-scroll::-webkit-scrollbar {
    height: 6px;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: rgba(47, 179, 111, 0.2);
    border-radius: 999px;
}

.cat-btn {
    border: none;
    background: rgba(255, 255, 255, 0.86);
    color: #1d2d23;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    box-shadow: var(--soft-shadow);
    cursor: pointer;
    transition: var(--transition);
}

.cat-btn:hover {
    transform: translateY(-4px) scale(1.02);
}

.cat-btn.active {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: white;
    box-shadow: 0 16px 28px rgba(255, 122, 26, 0.25);
}


/* ── Product grid ── */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.product-card {
    position: relative;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.75);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 35%);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 30px 60px rgba(16, 24, 40, 0.14);
}

.product-image-wrap {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.12);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--green-dark);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.product-content {
    padding: 22px 22px 24px;
}

.product-title-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
    margin-bottom: 10px;
}

.product-content h3 {
    font-size: 24px;
    letter-spacing: -0.4px;
}

.product-category {
    color: var(--muted);
    margin-bottom: 10px;
    font-size: 14px;
}

.product-price {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 18px;
    color: #1a2e21;
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.quick-meta {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.add-cart-btn {
    border: none;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: white;
    padding: 14px 20px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.35s ease;
    box-shadow: 0 14px 26px rgba(47, 179, 111, 0.22);
    position: relative;
    overflow: hidden;
}

.add-cart-btn:hover {
    transform: translateY(-2px);
}

.add-cart-btn:active {
    transform: scale(0.96);
}

.add-cart-btn.clicked::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.55s ease-out;
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}


/* ── Skeleton ── */

.skeleton {
    height: 400px;
    border-radius: 28px;
    background: linear-gradient(90deg, #edf2ea 25%, #f8fbf6 50%, #edf2ea 75%);
    background-size: 200% 100%;
    animation: shimmer 1.25s infinite linear;
    box-shadow: var(--soft-shadow);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}


/* ── Floating cart ── */

.floating-cart-btn {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: white;
    box-shadow: 0 22px 34px rgba(255, 122, 26, 0.3);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 1001;
    animation: cartFloat 3s ease-in-out infinite;
    transition: transform 0.25s ease;
}

.floating-cart-btn:hover {
    transform: scale(1.08);
}

.floating-cart-btn span {
    font-size: 28px;
}

.floating-cart-btn small {
    position: absolute;
    top: 8px;
    right: 6px;
    min-width: 24px;
    height: 24px;
    background: white;
    color: var(--orange-dark);
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 12px;
}

@keyframes cartFloat {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}


/* ── Reveal Animations ── */

.reveal,
.reveal-right {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}


/* ══════════════════════════════════════
   AUTH PAGE
══════════════════════════════════════ */

.auth-body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(47, 179, 111, 0.12), transparent 26%), radial-gradient(circle at bottom right, rgba(255, 122, 26, 0.12), transparent 25%), linear-gradient(135deg, #f8fbf6 0%, #eef6ea 100%);
    position: relative;
    overflow: hidden;
}

.auth-bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.55;
    z-index: 0;
    animation: floatAuthShape 10s ease-in-out infinite;
}

.auth-shape-1 {
    width: 360px;
    height: 360px;
    background: rgba(47, 179, 111, 0.18);
    top: -60px;
    left: -80px;
}

.auth-shape-2 {
    width: 340px;
    height: 340px;
    background: rgba(255, 122, 26, 0.15);
    right: -80px;
    bottom: -40px;
    animation-delay: 1s;
}

.auth-shape-3 {
    width: 240px;
    height: 240px;
    background: rgba(67, 97, 238, 0.10);
    top: 20%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes floatAuthShape {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    50% {
        transform: translateY(-24px) translateX(18px) scale(1.08);
    }
}

.auth-page-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #f7fbf4, #eef6ea);
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.auth-page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.auth-page-loader p {
    font-weight: 700;
    color: var(--green-dark);
}

.auth-main {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    width: min(1560px, calc(100% - 64px));
    margin: auto;
    padding: 40px 0;
}

.auth-shell {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 800px;
    border-radius: 36px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(16, 24, 40, 0.12);
}

.auth-left-panel {
    padding: 52px 48px;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.6), transparent 30%), linear-gradient(135deg, #dff6df, #eef8ea, #fff8ef);
    position: relative;
    overflow: hidden;
}

.auth-left-panel::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(47, 179, 111, 0.10);
    top: -120px;
    left: -80px;
}

.auth-left-panel::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 122, 26, 0.10);
    bottom: -60px;
    right: -60px;
}

.auth-brand-pill {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--soft-shadow);
    font-weight: 800;
    color: #1c2f22;
    margin-bottom: 40px;
}

.auth-brand-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--orange));
}

.auth-left-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
}

.auth-mini-tag {
    color: var(--green-dark);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1.8px;
    margin-bottom: 14px;
}

.auth-left-content h1 {
    font-size: clamp(42px, 4vw, 64px);
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.auth-left-content>p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 28px;
}

.auth-feature-list {
    display: grid;
    gap: 16px;
}

.auth-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.auth-feature-card span {
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: white;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(47, 179, 111, 0.20);
}

.auth-feature-card h4 {
    font-size: 17px;
    margin-bottom: 4px;
}

.auth-feature-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.auth-right-panel {
    position: relative;
    background: rgba(255, 255, 255, 0.84);
    overflow: hidden;
    min-height: 800px;
}

.auth-form-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 62%;
    height: 100%;
    padding: 52px 40px;
    z-index: 3;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-switch {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
}

.switch-btn {
    flex: 1;
    border: none;
    padding: 14px 16px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    background: #eef3ed;
    color: #304338;
    transition: var(--transition);
}

.switch-btn.active {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: white;
    box-shadow: 0 14px 24px rgba(47, 179, 111, 0.20);
}

.auth-forms-slider {
    width: 200%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}

.auth-form-slide {
    width: 50%;
    padding-right: 18px;
}

.auth-form-card {
    animation: fadeAuthIn 0.7s ease;
}

@keyframes fadeAuthIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-form-card h2 {
    font-size: 44px;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--muted);
    margin-bottom: 26px;
    line-height: 1.7;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 14px;
    font-weight: 700;
    color: #223228;
}

.input-group input,
.input-group textarea {
    border: none;
    outline: none;
    min-height: 54px;
    border-radius: 16px;
    background: rgba(245, 247, 244, 0.9);
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.06);
    padding: 14px 16px;
    font-size: 15px;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    background: white;
    box-shadow: inset 0 0 0 2px rgba(47, 179, 111, 0.25), 0 0 0 6px rgba(47, 179, 111, 0.08);
    transform: translateY(-1px);
}

.auth-action-btn {
    margin-top: 6px;
    border: none;
    height: 56px;
    border-radius: 16px;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: white;
    box-shadow: 0 16px 28px rgba(47, 179, 111, 0.22);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.signup-btn {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    box-shadow: 0 16px 28px rgba(255, 122, 26, 0.22);
}

.auth-action-btn:hover {
    transform: translateY(-2px);
}

.auth-message {
    margin-top: 18px;
    min-height: 22px;
    font-weight: 700;
    color: var(--green-dark);
}

.auth-overlay-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 38%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 30%), linear-gradient(135deg, #2fb36f, #1f8b54 55%, #ff7a1a);
    color: white;
    z-index: 4;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px;
    overflow: hidden;
}

.auth-overlay-panel::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    top: -80px;
    right: -60px;
}

.auth-overlay-panel::after {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    bottom: -60px;
    left: -40px;
}

.overlay-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 280px;
    animation: fadeAuthIn 0.6s ease;
}

.overlay-mini {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.overlay-content h3 {
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 14px;
}

.overlay-content p {
    line-height: 1.8;
    font-size: 15px;
    opacity: 0.92;
    margin-bottom: 20px;
}

.overlay-btn {
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.12);
    color: white;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.overlay-btn:hover {
    background: white;
    color: var(--green-dark);
    transform: translateY(-2px);
}

.auth-shell.signup-mode .auth-form-wrapper {
    transform: translateX(61%);
}

.auth-shell.signup-mode .auth-overlay-panel {
    transform: translateX(-163%);
}

.auth-shell.signup-mode .auth-forms-slider {
    transform: translateX(-50%);
}

.auth-shell.signup-mode .login-state {
    display: none;
}

.auth-shell.signup-mode .signup-state {
    display: block !important;
}


/* ══════════════════════════════════════
   MENU / CART / ADMIN / DASHBOARD
══════════════════════════════════════ */

.menu-body,
.cart-body {
    min-height: 100vh;
}

.menu-hero {
    padding: 20px 8px 20px;
    margin-bottom: 24px;
}

.menu-hero h1 {
    font-size: clamp(44px, 4.2vw, 72px);
    line-height: 1.04;
    letter-spacing: -1.5px;
    margin-bottom: 14px;
    max-width: 960px;
}

.menu-hero p {
    max-width: 820px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 17px;
}


/* cart bg shapes */

.cart-bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    z-index: -1;
    opacity: 0.5;
    animation: floatOrb 10s ease-in-out infinite;
}

.cart-shape-1 {
    width: 280px;
    height: 280px;
    background: rgba(47, 179, 111, 0.14);
    top: 100px;
    left: -60px;
}

.cart-shape-2 {
    width: 320px;
    height: 320px;
    background: rgba(255, 122, 26, 0.14);
    right: -80px;
    bottom: 80px;
    animation-delay: 1s;
}

.cart-page-title-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    box-shadow: var(--soft-shadow);
    font-weight: 800;
    color: #1f3225;
}

.cart-hero,
.admin-hero,
.dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 32px;
    padding: 14px 4px;
}

.cart-hero h1,
.admin-hero h1,
.dashboard-hero h1 {
    font-size: clamp(42px, 4vw, 68px);
    line-height: 1.04;
    letter-spacing: -1.5px;
    margin-bottom: 14px;
    max-width: 860px;
}

.cart-hero p,
.admin-hero p,
.dashboard-hero p {
    max-width: 780px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 17px;
}

.cart-hero-badge,
.admin-hero-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 22px;
    padding: 20px 22px;
    min-width: 300px;
    box-shadow: var(--soft-shadow);
    animation: floatCard 5s ease-in-out infinite;
}

.cart-hero-badge span,
.admin-hero-badge span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: white;
    font-size: 22px;
    box-shadow: 0 14px 26px rgba(255, 122, 26, 0.24);
}

.admin-hero-badge span {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    box-shadow: 0 14px 26px rgba(47, 179, 111, 0.24);
}


/* shared card containers */

.cart-layout,
.dashboard-top-grid,
.dashboard-main-grid,
.admin-layout {
    display: grid;
    gap: 30px;
    align-items: start;
}

.cart-layout {
    grid-template-columns: 1.2fr 0.8fr;
}

.cart-left,
.cart-right,
.admin-left-panel,
.admin-right-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cart-items-header,
.cart-summary-card,
.checkout-card,
.dashboard-profile-card,
.dashboard-stats-card,
.dashboard-orders-card,
.dashboard-edit-card,
.admin-form-card,
.admin-products-card,
.admin-orders-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.08);
}

.cart-items-header h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.cart-items-header p {
    color: var(--muted);
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 170px 1fr auto;
    gap: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    animation: fadeAuthIn 0.5s ease;
}

.cart-item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(16, 24, 40, 0.12);
}

.cart-item-image {
    width: 100%;
    height: 160px;
    border-radius: 20px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-content h3 {
    font-size: 26px;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.cart-item-category {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.cart-item-price {
    font-size: 24px;
    font-weight: 800;
    color: #1c3022;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
}

.quantity-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f6f8f4;
    border-radius: 999px;
    padding: 8px 12px;
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.05);
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: white;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    transform: scale(1.08);
}

.qty-value {
    min-width: 22px;
    text-align: center;
    font-weight: 800;
    font-size: 16px;
}

.remove-btn {
    border: none;
    background: rgba(255, 77, 79, 0.1);
    color: #d92d20;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.remove-btn:hover {
    background: rgba(255, 77, 79, 0.15);
    transform: translateY(-2px);
}

.cart-empty-state,
.dashboard-empty-state,
.admin-empty-state {
    background: #fbfcfa;
    padding: 30px;
    border-radius: 22px;
    text-align: center;
    color: var(--muted);
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.05);
}

.empty-cart-btn {
    text-decoration: none;
    display: inline-block;
    margin-top: 16px;
    padding: 14px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: white;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(47, 179, 111, 0.24);
}

.summary-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.summary-top h3,
.checkout-head h3,
.admin-card-head h2,
.dashboard-card-head h2 {
    font-size: 30px;
    letter-spacing: -0.8px;
}

.summary-icon {
    font-size: 26px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    color: #243328;
}

.summary-row span {
    color: var(--muted);
    font-weight: 600;
}

.summary-row strong {
    font-size: 18px;
}

.summary-divider {
    height: 1px;
    background: rgba(16, 24, 40, 0.08);
    margin: 18px 0;
}

.total-row span,
.total-row strong {
    color: #15251b;
    font-weight: 800;
    font-size: 20px;
}

.summary-note {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(47, 179, 111, 0.08);
    color: #255236;
    line-height: 1.7;
    font-size: 14px;
    font-weight: 600;
}

.checkout-head {
    margin-bottom: 22px;
}

.checkout-head p {
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.7;
}

.checkout-form-grid,
.admin-form-grid,
.profile-meta-grid {
    display: grid;
    gap: 16px;
}

.checkout-form-grid {
    grid-template-columns: 1fr 1fr;
}

.checkout-form-grid .full-width {
    grid-column: 1 / -1;
}

.checkout-submit-btn,
.admin-submit-btn,
.dashboard-save-btn {
    margin-top: 20px;
    width: 100%;
    border: none;
    height: 60px;
    border-radius: 18px;
    color: white;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-submit-btn {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    box-shadow: 0 18px 30px rgba(255, 122, 26, 0.24);
}

.admin-submit-btn,
.dashboard-save-btn {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    box-shadow: 0 16px 28px rgba(47, 179, 111, 0.22);
}

.checkout-submit-btn:hover,
.admin-submit-btn:hover,
.dashboard-save-btn:hover {
    transform: translateY(-2px);
}


/* Dashboard */

.dashboard-top-grid {
    grid-template-columns: 1.15fr 0.85fr;
    margin-bottom: 28px;
}

.dashboard-main-grid {
    grid-template-columns: 1.15fr 0.85fr;
}

.profile-meta-grid {
    grid-template-columns: 1fr 1fr;
}

.profile-meta-box,
.dashboard-mini-stat {
    background: #fbfcfa;
    border-radius: 18px;
    padding: 18px;
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.05);
}

.profile-meta-box span,
.dashboard-mini-stat span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.profile-meta-box strong,
.dashboard-mini-stat strong {
    font-size: 16px;
    color: #1c3022;
    line-height: 1.6;
    word-break: break-word;
}

.dashboard-stats-card {
    display: grid;
    gap: 16px;
}

.dashboard-order-card,
.admin-order-card,
.admin-product-item {
    background: #fbfcfa;
    border-radius: 24px;
    padding: 20px;
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.05);
    transition: var(--transition);
}

.dashboard-order-card:hover,
.admin-order-card:hover,
.admin-product-item:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.05), 0 14px 28px rgba(16, 24, 40, 0.08);
}

.dashboard-order-top,
.admin-order-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.dashboard-order-top h3,
.admin-order-top h3 {
    font-size: 22px;
}

.dashboard-order-top span,
.admin-order-top span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(47, 179, 111, 0.10);
    color: var(--green-dark);
    font-weight: 800;
    font-size: 13px;
}

.dashboard-order-meta,
.admin-order-meta {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.dashboard-order-meta p,
.admin-order-meta p {
    color: #314338;
    line-height: 1.6;
}

.dashboard-order-meta strong,
.admin-order-meta strong {
    color: #132018;
}

.dashboard-order-items,
.admin-order-items {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(47, 179, 111, 0.06);
}

.dashboard-order-items h4,
.admin-order-items h4 {
    margin-bottom: 10px;
}

.dashboard-order-items ul,
.admin-order-items ul {
    padding-left: 18px;
}

.dashboard-order-items li,
.admin-order-items li {
    color: #314338;
    line-height: 1.7;
}

.dashboard-profile-form,
.admin-product-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/* Admin */

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}

.admin-stat-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
    transition: var(--transition);
}

.admin-stat-card:hover {
    transform: translateY(-6px);
}

.admin-stat-card p {
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 10px;
}

.admin-stat-card h3 {
    font-size: 40px;
    letter-spacing: -1px;
}

.admin-layout {
    grid-template-columns: 1.05fr 0.95fr;
}

.admin-form-grid {
    grid-template-columns: 1fr 1fr;
}

.admin-search-input {
    border: none;
    outline: none;
    height: 50px;
    min-width: 260px;
    border-radius: 14px;
    background: rgba(245, 247, 244, 0.9);
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.06);
    padding: 0 16px;
    font-size: 15px;
    transition: var(--transition);
}

.admin-search-input:focus {
    background: white;
    box-shadow: inset 0 0 0 2px rgba(47, 179, 111, 0.25), 0 0 0 6px rgba(47, 179, 111, 0.08);
}

.admin-products-grid,
.dashboard-orders-list,
.admin-orders-list {
    display: grid;
    gap: 18px;
}

.admin-product-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 18px;
    align-items: center;
}

.admin-product-thumb {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
}

.admin-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-product-info h3 {
    font-size: 24px;
    margin-bottom: 6px;
}

.admin-product-info p {
    color: var(--muted);
    margin-bottom: 6px;
    line-height: 1.6;
}

.admin-product-price {
    font-weight: 800;
    color: #1c3022;
}

.admin-product-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-btn {
    border: none;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.edit-btn {
    background: rgba(47, 179, 111, 0.12);
    color: var(--green-dark);
}

.delete-btn {
    background: rgba(255, 77, 79, 0.1);
    color: #d92d20;
}


/* Payment methods */

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.payment-option {
    position: relative;
    border-radius: 16px;
    background: #f7f9f5;
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.06);
    padding: 18px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
    text-align: center;
}

.payment-option input {
    display: none;
}

.payment-option:hover {
    transform: translateY(-2px);
}

.payment-option.active-payment {
    background: rgba(47, 179, 111, 0.10);
    box-shadow: inset 0 0 0 2px rgba(47, 179, 111, 0.28);
    color: var(--green-dark);
}


/* ── Toast + Modal ── */

.toast-container {
    position: fixed;
    top: 28px;
    right: 28px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    min-width: 300px;
    max-width: 380px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    color: white;
    box-shadow: 0 20px 40px rgba(16, 24, 40, 0.18);
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    backdrop-filter: blur(12px);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    background: linear-gradient(135deg, #2fb36f, #1f8b54);
}

.toast-error {
    background: linear-gradient(135deg, #f04438, #d92d20);
}

.toast-info {
    background: linear-gradient(135deg, #475467, #344054);
}

.toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 900;
    flex-shrink: 0;
}

.toast-text {
    font-weight: 700;
    line-height: 1.5;
    font-size: 14px;
}

.success-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-modal.hidden {
    display: none !important;
}

.success-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 12, 0.45);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.success-modal-card {
    position: relative;
    z-index: 2;
    width: min(480px, calc(100% - 28px));
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    padding: 36px 30px;
    box-shadow: 0 30px 80px rgba(16, 24, 40, 0.22);
    text-align: center;
    animation: modalPop 0.35s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: white;
    font-size: 36px;
    font-weight: 900;
    box-shadow: 0 20px 36px rgba(47, 179, 111, 0.26);
}

.success-modal-card h3 {
    font-size: 32px;
    margin-bottom: 12px;
    letter-spacing: -0.7px;
}

.success-modal-card p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 22px;
}

.success-modal-btn {
    border: none;
    min-width: 180px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: white;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 16px 28px rgba(255, 122, 26, 0.24);
    transition: var(--transition);
}

.success-modal-btn:hover {
    transform: translateY(-2px);
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(16px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

@media (max-width: 1400px) {
    .navbar,
    .site-shell,
    .cart-shell,
    .admin-shell,
    .dashboard-shell,
    .auth-main {
        width: calc(100% - 48px);
    }
}

@media (max-width: 1100px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    .featured-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .cart-layout,
    .dashboard-top-grid,
    .dashboard-main-grid,
    .admin-layout {
        grid-template-columns: 1fr;
    }
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .auth-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .auth-right-panel {
        min-height: 800px;
    }
    .auth-form-wrapper {
        width: 100%;
        position: relative;
        transform: none !important;
    }
    .auth-overlay-panel {
        position: relative;
        width: 100%;
        min-height: 260px;
        transform: none !important;
    }
    .auth-shell.signup-mode .auth-overlay-panel {
        transform: none !important;
    }
    .hero-visual-card {
        min-height: 540px;
    }
}

@media (max-width: 768px) {
    .navbar,
    .site-shell,
    .cart-shell,
    .dashboard-shell,
    .admin-shell,
    .auth-main {
        width: calc(100% - 24px);
    }
    .navbar {
        grid-template-columns: 1fr;
        padding: 16px;
        top: 10px;
    }
    .nav-right {
        justify-content: center;
    }
    .featured-strip,
    .admin-stats-grid,
    .product-grid,
    .profile-meta-grid,
    .checkout-form-grid,
    .admin-form-grid,
    .payment-methods {
        grid-template-columns: 1fr;
    }
    .hero-content h1,
    .menu-hero h1,
    .cart-hero h1,
    .dashboard-hero h1,
    .admin-hero h1 {
        font-size: 42px;
    }
    .hero-visual-card {
        min-height: 460px;
    }
    .product-a {
        width: 230px;
        height: 260px;
        left: 18px;
    }
    .product-b {
        width: 140px;
        height: 170px;
        right: 18px;
    }
    .product-c {
        width: 180px;
        height: 140px;
        right: 38px;
        bottom: 54px;
    }
    .cart-item-card,
    .admin-product-item {
        grid-template-columns: 1fr;
    }
    .cart-item-actions {
        align-items: flex-start;
    }
    .floating-cart-btn {
        width: 66px;
        height: 66px;
    }
    .toast-container {
        right: 12px;
        left: 12px;
        top: 14px;
    }
    .toast {
        min-width: auto;
        max-width: 100%;
    }
}


/* =========================
   ADVANCED ADMIN PANEL
========================= */

.admin-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.admin-tab-btn {
    border: none;
    background: rgba(255, 255, 255, 0.85);
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--soft-shadow);
    transition: var(--transition);
}

.admin-tab-btn.active {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: white;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.admin-overview-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--soft-shadow);
}

.admin-overview-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.admin-overview-card p {
    font-size: 32px;
    font-weight: 800;
    color: var(--green-dark);
}

.admin-users-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.08);
}

.admin-users-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 1100px) {
    .admin-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-overview-grid {
        grid-template-columns: 1fr;
    }
    .admin-tabs {
        flex-direction: column;
    }
}


/* =========================
   ADMIN PHASE 2
========================= */

.stock-badge,
.low-stock-badge,
.active-user-badge,
.blocked-user-badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    margin-top: 6px;
}

.stock-badge {
    background: rgba(47, 179, 111, 0.10);
    color: var(--green-dark);
}

.low-stock-badge {
    background: rgba(255, 122, 26, 0.12);
    color: var(--orange-dark);
}

.active-user-badge {
    background: rgba(47, 179, 111, 0.10);
    color: var(--green-dark);
}

.blocked-user-badge {
    background: rgba(255, 77, 79, 0.12);
    color: #d92d20;
}

.admin-order-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.quick-status-btn {
    background: rgba(47, 179, 111, 0.12);
    color: var(--green-dark);
}

.quick-status-btn:hover {
    background: rgba(47, 179, 111, 0.18);
}

@media (max-width: 768px) {
    .admin-order-quick-actions {
        flex-direction: column;
    }
}


/* =========================
   ADMIN PHASE 3
========================= */

.admin-phase3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.admin-phase3-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.08);
}

.admin-mini-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-mini-item {
    background: #fbfcfa;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.05);
}

.admin-mini-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.admin-mini-item p {
    color: var(--muted);
    font-size: 13px;
}

.admin-export-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-filters-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .admin-phase3-grid {
        grid-template-columns: 1fr;
    }
}


/* ══════════════════════════════════════
   HAMBURGER MENU
══════════════════════════════════════ */

.nav-hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(16, 24, 40, 0.07);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.08);
    transition: var(--transition);
}

.nav-hamburger span {
    display: block;
    width: 18px;
    height: 2.5px;
    background: var(--text);
    border-radius: 99px;
    transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

@keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-10px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}


/* ══════════════════════════════════════
   AUTH BACK LINK (was missing)
══════════════════════════════════════ */

.auth-back-link {
    text-decoration: none;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.07);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-back-link:hover {
    background: rgba(47, 179, 111, 0.1);
    color: var(--green-dark);
    transform: translateY(-1px);
}


/* ══════════════════════════════════════
   ADMIN / DASHBOARD CARD HEAD LAYOUT
══════════════════════════════════════ */

.admin-card-head,
.dashboard-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}


/* ══════════════════════════════════════
   768px MOBILE — NAV + FIXES
══════════════════════════════════════ */

@media (max-width: 768px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 14px 16px;
    }

    .nav-center {
        display: none;
    }

    .nav-right {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(24px);
        border-radius: 20px;
        padding: 16px;
        box-shadow: 0 24px 60px rgba(16, 24, 40, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.82);
        flex-direction: column;
        gap: 6px;
        z-index: 200;
        align-items: stretch;
        justify-content: flex-start;
    }

    .nav-right.mobile-open {
        display: flex;
        animation: menuSlideDown 0.22s ease;
    }

    .nav-right .nav-link {
        padding: 12px 14px;
        border-radius: 12px;
        background: rgba(246, 248, 243, 0.9);
        display: block;
        font-size: 15px;
        font-weight: 700;
        color: var(--text);
    }

    .nav-right .nav-link::after {
        display: none;
    }

    .nav-right .nav-link.active,
    .nav-right .nav-link:hover {
        background: rgba(47, 179, 111, 0.1);
        color: var(--green-dark);
        transform: none;
    }

    .nav-right .nav-pill {
        width: 100%;
        border-radius: 14px;
        text-align: center;
        margin-top: 4px;
        height: 46px;
    }

    .nav-hamburger {
        display: flex;
    }

    .admin-search-input {
        min-width: 0;
        width: 100%;
    }

    .admin-card-head,
    .dashboard-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-filters-row {
        width: 100%;
    }

    .admin-filters-row .admin-search-input {
        flex: 1;
    }

    .auth-overlay-panel {
        display: none !important;
    }

    .auth-form-wrapper {
        width: 100%;
        position: relative;
    }

    .auth-right-panel {
        min-height: auto;
    }

    .admin-phase3-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-visual {
        display: none;
    }

    .cart-hero,
    .admin-hero,
    .dashboard-hero {
        flex-wrap: wrap;
    }

    .cart-hero-badge,
    .admin-hero-badge {
        min-width: 0;
        flex: 1;
    }
}


/* ══════════════════════════════════════
   480px — SMALL PHONES
══════════════════════════════════════ */

@media (max-width: 480px) {
    .navbar {
        width: calc(100% - 16px);
        padding: 12px 14px;
        top: 8px;
        border-radius: 18px;
    }

    .site-shell,
    .cart-shell,
    .dashboard-shell,
    .admin-shell,
    .page-back-row {
        width: calc(100% - 16px);
    }

    .auth-main {
        width: calc(100% - 16px);
        padding: 16px 0;
    }

    .brand-text {
        font-size: 22px;
    }

    .hero-content h1,
    .menu-hero h1,
    .cart-hero h1,
    .dashboard-hero h1,
    .admin-hero h1 {
        font-size: 30px;
        letter-spacing: -0.5px;
    }

    .auth-form-card h2 {
        font-size: 28px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }

    .hero-metrics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .metric-card {
        min-width: 0;
        padding: 14px 16px;
    }

    .metric-card h3 {
        font-size: 26px;
    }

    .featured-strip {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .strip-card {
        padding: 16px;
    }

    .strip-card h4 {
        font-size: 15px;
    }

    .strip-card p {
        font-size: 13px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .auth-left-panel {
        padding: 24px 18px;
    }

    .auth-form-wrapper {
        padding: 24px 18px;
    }

    .auth-shell {
        border-radius: 18px;
    }

    .auth-feature-list {
        display: none;
    }

    .admin-stat-card h3 {
        font-size: 28px;
    }

    .admin-overview-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-tab-btn {
        padding: 11px 14px;
        font-size: 14px;
    }

    .admin-tabs {
        gap: 8px;
    }

    .admin-phase3-card {
        padding: 16px;
        border-radius: 18px;
    }

    .admin-mini-item {
        padding: 12px 14px;
    }

    .cart-item-card {
        padding: 14px;
        border-radius: 20px;
    }

    .cart-item-image {
        height: 180px;
    }

    .admin-product-item {
        padding: 14px;
    }

    .cart-items-header,
    .cart-summary-card,
    .checkout-card,
    .dashboard-profile-card,
    .dashboard-stats-card,
    .dashboard-orders-card,
    .dashboard-edit-card,
    .admin-form-card,
    .admin-products-card,
    .admin-orders-card,
    .admin-users-card {
        padding: 18px;
        border-radius: 20px;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .section-head h2 {
        font-size: 26px;
    }

    .cart-hero,
    .admin-hero,
    .dashboard-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-hero-badge,
    .admin-hero-badge {
        width: 100%;
        min-width: 0;
    }

    .checkout-form-grid {
        grid-template-columns: 1fr;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .profile-meta-grid {
        grid-template-columns: 1fr;
    }

    .floating-cart-btn {
        width: 58px;
        height: 58px;
        right: 14px;
        bottom: 14px;
    }

    .floating-cart-btn span {
        font-size: 22px;
    }

    .qty-btn {
        width: 34px;
        height: 34px;
    }

    .toast-container {
        right: 8px;
        left: 8px;
        top: 10px;
    }

    .search-bar input {
        height: 44px;
        font-size: 14px;
    }
}


/* ══════════════════════════════════════
   SCROLL FIX — AUTH / LOGIN PAGE
   Removes overflow: hidden that clips
   content on mobile viewports
══════════════════════════════════════ */

@media (max-width: 1100px) {
    /* Remove overflow: hidden so auth content scrolls properly */
    .auth-shell {
        overflow: visible;
        min-height: auto;
    }

    .auth-left-panel {
        overflow: visible;
    }

    .auth-right-panel {
        overflow: visible;
        min-height: auto;
    }
}


/* ══════════════════════════════════════
   STICKY NAV FIX — restore sticky on
   mobile (was overridden to relative)
══════════════════════════════════════ */

@media (max-width: 768px) {
    .navbar {
        /* Restore sticky — relative was overriding it */
        position: sticky;
        /* Keep flex layout for brand + hamburger */
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* Navbar must allow absolute dropdown to show */
        overflow: visible;
        padding: 12px 16px;
        top: 10px;
        gap: 0;
        width: calc(100% - 24px);
    }

    /* Auth pages: single-column stacked layout */
    .auth-shell {
        overflow: visible;
        min-height: auto;
    }

    .auth-left-panel {
        overflow: visible;
        padding: 28px 24px;
    }

    .auth-right-panel {
        overflow: visible;
        min-height: auto;
    }

    /* Hide left panel features list on mobile — reduces scroll length */
    .auth-left-panel .auth-feature-list {
        display: none;
    }

    /* Tighten left panel heading for mobile */
    .auth-left-content h1 {
        font-size: 32px;
        line-height: 1.15;
        letter-spacing: -0.5px;
    }

    .auth-left-content > p {
        font-size: 15px;
    }

    /* Make form wrapper fully scroll-friendly */
    .auth-form-wrapper {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        padding: 28px 24px;
        transform: none !important;
    }

    /* Reset signup-mode transforms on mobile */
    .auth-shell.signup-mode .auth-form-wrapper,
    .auth-shell.signup-mode .auth-overlay-panel {
        transform: none !important;
    }

    /* Forms slider: show only active slide */
    .auth-forms-slider {
        width: 100%;
        overflow: hidden;
    }

    .auth-form-slide {
        display: none;
        width: 100%;
        padding-right: 0;
    }

    /* Show login slide by default, signup slide in signup-mode */
    .auth-forms-slider .auth-form-slide:first-child {
        display: block;
    }

    .auth-shell.signup-mode .auth-forms-slider .auth-form-slide:first-child {
        display: none;
    }

    .auth-shell.signup-mode .auth-forms-slider .auth-form-slide:last-child {
        display: block;
    }

    /* Page back row */
    .page-back-row {
        width: calc(100% - 24px);
        margin: 10px auto 0;
    }
}


/* ══════════════════════════════════════
   480px STICKY NAV
══════════════════════════════════════ */

@media (max-width: 480px) {
    .navbar {
        position: sticky;
        overflow: visible;
        width: calc(100% - 16px);
        padding: 10px 12px;
        top: 8px;
        border-radius: 18px;
    }

    .auth-shell {
        border-radius: 20px;
        overflow: visible;
    }

    .auth-form-wrapper {
        padding: 20px 16px;
    }

    .auth-left-panel {
        padding: 22px 18px;
    }

    .auth-form-card h2 {
        font-size: 26px;
        letter-spacing: -0.3px;
    }

    .auth-mini-tag {
        font-size: 11px;
    }
}


/* ══════════════════════════════════════
   PAGE LOADER — ensure it never
   permanently blocks interaction
══════════════════════════════════════ */

.page-loader,
.auth-page-loader {
    pointer-events: none;
}

.page-loader.hide,
.auth-page-loader.hide {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}


/* ══════════════════════════════════════
   AUTH FORM SLIDER MOBILE FIX
   Stop translateX from shifting the form
   off-screen on small viewports
══════════════════════════════════════ */

@media (max-width: 1100px) {
    /* Reset the width-200% slider to a simple show/hide */
    .auth-forms-slider {
        width: 100% !important;
        transform: none !important;
        transition: none !important;
        display: block;
        overflow: hidden;
    }

    .auth-shell.signup-mode .auth-forms-slider {
        transform: none !important;
    }

    /* Each slide is hidden by default */
    .auth-form-slide {
        width: 100% !important;
        padding-right: 0 !important;
        display: none;
    }

    /* Show login slide by default */
    .auth-forms-slider .auth-form-slide:first-child {
        display: block;
    }

    /* In signup mode: swap visible slide */
    .auth-shell.signup-mode .auth-forms-slider .auth-form-slide:first-child {
        display: none !important;
    }

    .auth-shell.signup-mode .auth-forms-slider .auth-form-slide:last-child {
        display: block !important;
    }

    /* Hide the overlay panel buttons — switch tabs handle the toggle */
    .auth-overlay-panel {
        display: none !important;
    }

    /* Ensure the right panel doesn't trap content */
    .auth-right-panel {
        overflow: visible !important;
        min-height: auto !important;
        height: auto !important;
    }

    /* Full width form wrapper with no absolute positioning */
    .auth-form-wrapper {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        transition: none !important;
    }

    .auth-shell.signup-mode .auth-form-wrapper {
        transform: none !important;
    }

    /* Auth shell — allow natural height and scrolling */
    .auth-shell {
        overflow: visible !important;
        min-height: auto !important;
    }
}


/* ══════════════════════════════════════
   LOGIN PAGE HIDE LEFT PANEL ON MOBILE
   Reduces total page height so the form
   is immediately visible without scrolling
══════════════════════════════════════ */

@media (max-width: 768px) {
    /* On mobile, hide the marketing left panel entirely */
    .auth-left-panel {
        display: none !important;
    }

    /* The right panel becomes the full page */
    .auth-right-panel {
        border-radius: 20px;
        min-height: auto !important;
        overflow: visible !important;
    }

    /* Give the form card comfortable padding */
    .auth-form-wrapper {
        padding: 28px 20px 32px !important;
    }

    /* Auth shell single-panel on mobile */
    .auth-shell {
        border-radius: 24px;
        overflow: visible !important;
    }

    /* Larger, easier-to-tap switch buttons */
    .auth-switch {
        margin-bottom: 24px;
    }

    .switch-btn {
        padding: 16px 20px;
        font-size: 16px;
        min-height: 52px;
    }

    /* Reduce heading size */
    .auth-form-card h2 {
        font-size: 30px;
        letter-spacing: -0.5px;
    }

    /* Bigger input fields for easier mobile tapping */
    .input-group input {
        min-height: 52px;
        font-size: 16px;
    }

    /* Full-width submit button */
    .auth-action-btn {
        height: 56px;
        font-size: 16px;
        border-radius: 16px;
    }

    /* Auth main — use full width with small gutters */
    .auth-main {
        width: calc(100% - 20px);
        padding: 14px 0 32px;
    }

    /* Forgot password link as proper text */
    #forgot-password-btn {
        display: block;
        text-align: left;
        font-size: 14px;
        color: var(--muted);
        margin-top: 12px;
    }
}


/* ══════════════════════════════════════
   GENERAL MOBILE SCROLLABILITY
   Ensure no fixed element blocks touch
══════════════════════════════════════ */

.page-loader,
.auth-page-loader {
    pointer-events: none !important;
    -webkit-touch-callout: none;
}

/* Prevent auth bg shapes from catching touch events */
.auth-bg-shape,
.bg-orb {
    pointer-events: none !important;
}
