/* ============================================
   SAVES MART — Design System & Styles
   Colors: Green (#1B8C3A) + Yellow (#F5C518)
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Brand Colors — deepened, market-green rather than flat Tailwind emerald */
    --green-primary: #1B7A3D;
    --green-dark: #0B4D22;
    --green-darker: #073817;
    --green-light: #2F9E52;
    --green-lightest: #EEF2E4;
    --green-subtle: #F4F7EC;

    --yellow-primary: #E8B923;
    --yellow-dark: #B8890C;
    --yellow-light: #F2CC4D;
    --yellow-lightest: #FBF3DD;

    /* Ride Brand */
    --ride-yellow: #FFD700;
    --ride-black: #1A1A1A;
    --ride-dark: #111111;

    /* Neutrals — warm sand/cream instead of clinical cool grey */
    --white: #FFFFFF;
    --cream: #FDFBF6;
    --sand: #FAF6EE;
    --gray-50: #F7F5F0;
    --gray-100: #EFEBE2;
    --gray-200: #E2DDD1;
    --gray-300: #C9C2B2;
    --gray-400: #9C9484;
    --gray-500: #746C5D;
    --gray-600: #57503F;
    --gray-700: #3D3830;
    --gray-800: #26221C;
    --gray-900: #171410;

    /* Semantic */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --danger: #EF4444;
    --info: #3B82F6;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(23,20,16,0.06);
    --shadow-md: 0 4px 6px -1px rgba(23,20,16,0.09), 0 2px 4px -2px rgba(23,20,16,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(23,20,16,0.09), 0 4px 6px -4px rgba(23,20,16,0.06);
    --shadow-xl: 0 20px 25px -5px rgba(23,20,16,0.1), 0 8px 10px -6px rgba(23,20,16,0.06);
    --shadow-glow-green: 0 0 20px rgba(27, 122, 61, 0.3);
    --shadow-glow-yellow: 0 0 20px rgba(232, 185, 35, 0.3);

    /* Borders — varied, no more universal pill radius on buttons/cards */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--cream);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Top Bar ---- */
.top-bar {
    background: var(--green-dark);
    color: var(--white);
    font-size: 13px;
    padding: 6px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.9;
}

.top-bar-divider {
    opacity: 0.3;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ---- Navbar ---- */
.navbar {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
}

.logo-saves {
    color: var(--yellow-primary);
}

.logo-mart {
    color: var(--green-primary);
}

.logo-tagline {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 14px;
    color: var(--gray-700);
    transition: all var(--transition-fast);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: var(--green-primary);
    background: var(--green-lightest);
}

.nav-link.active {
    color: var(--white);
    background: var(--green-primary);
}

.nav-link-credit {
    background: linear-gradient(135deg, var(--yellow-lightest), var(--green-lightest));
    border: 1px solid var(--yellow-primary);
    font-weight: 600;
}

.nav-link-credit:hover {
    background: linear-gradient(135deg, var(--yellow-primary), var(--green-light));
    color: var(--white);
    border-color: transparent;
}

.nav-link-credit.active {
    background: linear-gradient(135deg, var(--yellow-primary), var(--green-primary));
    border-color: transparent;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-search-btn,
.nav-cart,
.nav-account {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-search-btn:hover,
.nav-cart:hover,
.nav-account:hover {
    background: var(--green-lightest);
    color: var(--green-primary);
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--error);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-bounce);
}

.cart-badge.pulse {
    animation: badgePulse 0.5s ease;
}

@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Search Overlay */
.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    z-index: 100;
}

.search-overlay.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 12px 20px;
    transition: border-color var(--transition-fast);
}

.search-bar:focus-within {
    border-color: var(--green-primary);
    background: var(--white);
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font-size: 15px;
}

.search-close {
    font-size: 24px;
    color: var(--gray-400);
    padding: 0 4px;
}

/* ---- HERO SECTION ---- */
.hero {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 50%, var(--green-light) 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease both;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 .highlight {
    color: var(--yellow-primary);
    position: relative;
}

.hero p {
    font-size: 17px;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 520px;
    margin-left: auto;
}

.hero-float-badge {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
}

.hero-float-badge.badge-delivery {
    bottom: 20px;
    left: -20px;
    color: var(--ride-black);
}

.hero-float-badge.badge-credit {
    top: 20px;
    right: -10px;
    color: var(--green-primary);
}

.hero-float-badge .badge-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.hero-float-badge.badge-delivery .badge-icon {
    background: var(--yellow-lightest);
}

.hero-float-badge.badge-credit .badge-icon {
    background: var(--green-lightest);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition-base);
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--yellow-primary);
    color: var(--gray-900);
}

.btn-primary:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-yellow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-green {
    background: var(--green-primary);
    color: var(--white);
}

.btn-green:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-green);
}

.btn-outline {
    background: transparent;
    color: var(--green-primary);
    border-color: var(--green-primary);
}

.btn-outline:hover {
    background: var(--green-primary);
    color: var(--white);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ---- Section Styles ---- */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    color: var(--green-dark);
    padding: 0;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 26px;
    height: 3px;
    background: var(--yellow-primary);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-title .highlight {
    color: var(--green-primary);
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Category Cards ---- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
    aspect-ratio: 4/3;
    group: true;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    color: var(--white);
}

.category-card-overlay h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.category-card-overlay p {
    font-size: 14px;
    opacity: 0.8;
}

.category-card-overlay .cat-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.category-card:hover .cat-arrow {
    background: var(--yellow-primary);
    color: var(--gray-900);
}

/* ---- Product Cards ---- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-lightest);
}

.product-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-50);
    position: relative;
    cursor: pointer;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--error);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
}

.product-badge.new {
    background: var(--green-primary);
}

.product-card-body {
    padding: 18px;
}

.product-category-label {
    font-size: 12px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    margin-bottom: 6px;
}

.product-card-body h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-card-body .product-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.product-price {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--green-primary);
}

.product-price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-400);
}

.product-old-price {
    text-decoration: line-through;
    color: var(--gray-400);
    font-size: 14px;
    margin-left: 8px;
}

.add-to-cart-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--green-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.add-to-cart-btn:hover {
    background: var(--green-dark);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow-green);
}

.add-to-cart-btn.added {
    background: var(--yellow-primary);
    color: var(--gray-900);
}

/* Quantity control in product card */
.qty-control {
    display: flex;
    align-items: center;
    gap: 4px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    transition: all var(--transition-fast);
}

.qty-btn:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
    background: var(--green-lightest);
}

.qty-value {
    font-weight: 700;
    font-size: 15px;
    min-width: 28px;
    text-align: center;
    color: var(--gray-800);
}

/* ---- How It Works ---- */
.how-it-works {
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(to right, var(--green-primary), var(--yellow-primary), var(--green-primary));
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 88px;
    height: 88px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--green-lightest), var(--yellow-lightest));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow-green);
}

.step-number {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.step-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ---- Ride Delivery Section ---- */
.ride-section {
    background: linear-gradient(135deg, var(--ride-black) 0%, #2a2a2a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.ride-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.ride-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ride-content .ride-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.3);
    color: var(--ride-yellow);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.ride-content h2 {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.ride-content h2 .ride-highlight {
    color: var(--ride-yellow);
}

.ride-content p {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 28px;
}

.ride-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.ride-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
}

.ride-feature-icon {
    font-size: 24px;
}

.ride-feature span {
    font-size: 14px;
    font-weight: 500;
}

.ride-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition-base);
}

.ride-contact-btn:hover {
    background: #20ba59;
    transform: translateY(-2px);
}

.ride-image {
    text-align: center;
}

.ride-image img {
    border-radius: var(--radius-xl);
    max-width: 440px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ---- Credit Section on Homepage ---- */
.credit-promo {
    background: linear-gradient(135deg, var(--green-subtle) 0%, var(--yellow-lightest) 100%);
}

.credit-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.credit-promo-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 480px;
}

.credit-promo-content .credit-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-lightest);
    color: var(--green-primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.credit-promo-content h2 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: 16px;
}

.credit-promo-content h2 .credit-highlight {
    color: var(--yellow-primary);
}

.credit-promo-content > p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 28px;
}

.credit-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.credit-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.credit-benefit:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.credit-benefit-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--green-lightest);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.credit-benefit h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.credit-benefit p {
    font-size: 12px;
    color: var(--gray-500);
}

/* ---- SHOP PAGE ---- */
.shop-page {
    padding-top: 32px;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.shop-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    background: var(--white);
    color: var(--gray-600);
    border: 1.5px solid var(--gray-200);
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
}

.filter-btn.active {
    background: var(--green-primary);
    color: var(--white);
    border-color: var(--green-primary);
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-sort label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

.shop-sort select {
    padding: 10px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--gray-700);
    font-weight: 500;
    outline: none;
    cursor: pointer;
}

.shop-sort select:focus {
    border-color: var(--green-primary);
}

.shop-search-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 10px 20px;
    flex: 1;
    max-width: 400px;
    transition: border-color var(--transition-fast);
}

.shop-search-inline:focus-within {
    border-color: var(--green-primary);
}

.shop-search-inline input {
    border: none;
    outline: none;
    background: none;
    flex: 1;
    font-size: 14px;
}

.shop-results-count {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

/* ---- CART PAGE ---- */
.cart-page {
    padding-top: 32px;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.cart-item:hover {
    box-shadow: var(--shadow-md);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-50);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-item-info .cart-item-cat {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.cart-item-price {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--green-primary);
    white-space: nowrap;
}

.cart-item-remove {
    color: var(--gray-400);
    transition: color var(--transition-fast);
    padding: 8px;
}

.cart-item-remove:hover {
    color: var(--error);
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
}

.cart-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.cart-empty h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cart-empty p {
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* Cart Summary */
.cart-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gray-100);
    position: sticky;
    top: 96px;
}

.cart-summary h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 15px;
}

.summary-row.total {
    border-top: 2px solid var(--gray-200);
    margin-top: 12px;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

.summary-row.total .summary-amount {
    color: var(--green-primary);
    font-family: var(--font-display);
    font-size: 24px;
}

.summary-label {
    color: var(--gray-500);
}

.summary-amount {
    font-weight: 600;
    color: var(--gray-800);
}

.credit-toggle {
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, var(--green-lightest), var(--yellow-lightest));
    border-radius: var(--radius-md);
    border: 1px solid var(--green-primary);
}

.credit-toggle label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--green-dark);
}

.credit-toggle input[type="checkbox"] {
    accent-color: var(--green-primary);
    width: 18px;
    height: 18px;
}

.credit-toggle .credit-available {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 400;
    margin-top: 4px;
    margin-left: 28px;
}

.cart-summary .btn {
    margin-top: 20px;
}

/* ---- CHECKOUT PAGE ---- */
.checkout-page {
    padding-top: 32px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}

.checkout-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gray-100);
    margin-bottom: 24px;
}

.checkout-section h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-900);
}

.checkout-section h3 .section-num {
    width: 28px;
    height: 28px;
    background: var(--green-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* Forms */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--gray-50);
    color: var(--gray-800);
    outline: none;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(27, 140, 58, 0.1);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.payment-option:hover {
    border-color: var(--green-primary);
}

.payment-option.selected {
    border-color: var(--green-primary);
    background: var(--green-lightest);
}

.payment-option input[type="radio"] {
    accent-color: var(--green-primary);
    width: 18px;
    height: 18px;
}

.payment-option-icon {
    font-size: 24px;
}

.payment-option-info h4 {
    font-size: 15px;
    font-weight: 600;
}

.payment-option-info p {
    font-size: 13px;
    color: var(--gray-500);
}

.momo-chips {
    display: inline-flex;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.momo-chip {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.chip-mtn { background: #FFCC00; color: #000; }
.chip-telecel { background: #E60000; color: #FFF; }
.chip-at { background: #003399; color: #FFF; }
.chip-card { background: #1B8C3A; color: #FFF; }
.chip-secured { background: #3B82F6; color: #FFF; }

.verified-payment-banner {
    background: #EBF8F0;
    border: 1.5px solid var(--green-primary);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}


/* ---- CREDIT PAGE ---- */
.credit-page {
    padding-top: 32px;
}

.credit-hero {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 60%, #2BA84A 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    color: var(--white);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.credit-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.credit-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.credit-hero h1 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 12px;
}

.credit-hero h1 .credit-yellow {
    color: var(--yellow-primary);
}

.credit-hero .credit-tagline {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 24px;
    font-style: italic;
}

.credit-hero p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.7;
}

.credit-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.credit-stat {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.credit-stat-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--yellow-primary);
    margin-bottom: 4px;
}

.credit-stat-label {
    font-size: 13px;
    opacity: 0.8;
}

/* Credit Dashboard */
.credit-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.credit-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.credit-card:hover {
    box-shadow: var(--shadow-md);
}

.credit-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.credit-card .credit-amount {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--green-primary);
    margin-bottom: 8px;
}

.credit-card .credit-subtitle {
    font-size: 13px;
    color: var(--gray-500);
}

.credit-progress {
    margin-top: 16px;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--green-primary), var(--yellow-primary));
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

.credit-transactions {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gray-100);
}

.credit-transactions h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.transaction-list {
    display: flex;
    flex-direction: column;
}

.transaction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.transaction-icon.purchase {
    background: #FEE2E2;
}

.transaction-icon.payment {
    background: #D1FAE5;
}

.transaction-details h4 {
    font-size: 14px;
    font-weight: 600;
}

.transaction-details p {
    font-size: 12px;
    color: var(--gray-400);
}

.transaction-amount {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
}

.transaction-amount.debit {
    color: var(--error);
}

.transaction-amount.credit {
    color: var(--success);
}

/* Credit Application Form */
.credit-apply-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-100);
    max-width: 700px;
    margin: 0 auto;
}

.credit-apply-section h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.credit-apply-section > p {
    color: var(--gray-500);
    margin-bottom: 32px;
}

/* ---- TRACKING PAGE ---- */
.tracking-page {
    padding-top: 32px;
}

.tracking-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-100);
    max-width: 700px;
    margin: 0 auto;
}

.tracking-search {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.tracking-search input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 15px;
    outline: none;
    transition: border-color var(--transition-fast);
}

.tracking-search input:focus {
    border-color: var(--green-primary);
}

.tracking-timeline {
    position: relative;
    padding-left: 40px;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-step {
    position: relative;
    padding-bottom: 32px;
}

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

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    background: var(--gray-200);
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.timeline-step.completed .timeline-dot {
    background: var(--green-primary);
}

.timeline-step.active .timeline-dot {
    background: var(--yellow-primary);
    box-shadow: var(--shadow-glow-yellow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(245, 197, 24, 0); }
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.timeline-step.pending .timeline-content h4 {
    color: var(--gray-400);
}

.timeline-content p {
    font-size: 13px;
    color: var(--gray-500);
}

.timeline-content .timeline-time {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 4px;
}

.ride-delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ride-black);
    color: var(--ride-yellow);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    margin-top: 20px;
}

/* ---- ACCOUNT PAGE ---- */
.account-page {
    padding-top: 32px;
}

.account-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.account-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-100);
}

.account-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--green-primary), var(--yellow-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-display);
    margin: 0 auto 16px;
}

.account-name {
    text-align: center;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.account-email {
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-nav-item {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.account-nav-item:hover {
    background: var(--green-lightest);
    color: var(--green-primary);
}

.account-nav-item.active {
    background: var(--green-primary);
    color: var(--white);
}

.account-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-100);
}

.account-content h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

/* Auth Forms */
.auth-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 0;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
}

.auth-card h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
}

.auth-card > p {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.auth-tabs {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 4px;
    margin-bottom: 24px;
    gap: 4px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    background: transparent;
}

.auth-tab.active {
    background: var(--white);
    color: var(--green-primary);
    box-shadow: var(--shadow-sm);
}

.auth-field-error {
    font-size: 12px;
    color: var(--danger);
    margin-top: 4px;
    display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--danger) !important;
    background: #FFF5F5;
}

.form-group.has-error .auth-field-error {
    display: block;
}

.otp-box-container {
    text-align: center;
    padding: 16px 0;
}

.otp-input-code {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 12px;
    text-align: center;
    font-weight: 800;
    max-width: 280px;
    margin: 16px auto;
    padding: 12px 16px;
    border: 2px solid var(--green-primary);
    border-radius: var(--radius-md);
    background: var(--green-lightest);
    color: var(--green-dark);
}

.credit-contact-box {
    background: linear-gradient(135deg, #FFF8E1 0%, #E8F5EC 100%);
    border: 1.5px solid var(--green-primary);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 32px;
    text-align: center;
}

.credit-contact-channels {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.credit-channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.channel-whatsapp {
    background: #25D366;
    color: #FFFFFF;
}

.channel-whatsapp:hover {
    background: #1EBE5D;
    transform: translateY(-1px);
}

.channel-phone {
    background: var(--green-primary);
    color: #FFFFFF;
}

.channel-phone:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.channel-email {
    background: var(--white);
    color: var(--gray-800);
    border: 1.5px solid var(--gray-300);
}

.channel-email:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
}

.auth-toggle {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray-500);
}

.auth-toggle a {
    color: var(--green-primary);
    font-weight: 600;
    cursor: pointer;
}

/* ---- Product Detail Page ---- */
.product-detail {
    padding-top: 32px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.product-detail-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--gray-50);
    aspect-ratio: 1;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    padding-top: 16px;
}

.product-detail-info .product-category-label {
    margin-bottom: 8px;
}

.product-detail-info h1 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.product-detail-info .product-detail-desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

.product-detail-info .product-detail-price {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--green-primary);
    margin-bottom: 28px;
}

.product-detail-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
}

.detail-qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.detail-qty-control button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-50);
    transition: all var(--transition-fast);
}

.detail-qty-control button:hover {
    background: var(--green-lightest);
    color: var(--green-primary);
}

.detail-qty-control .qty-display {
    width: 52px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    border-left: 1.5px solid var(--gray-200);
    border-right: 1.5px solid var(--gray-200);
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-meta {
    border-top: 1px solid var(--gray-100);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-600);
}

.product-meta-item svg {
    color: var(--green-primary);
}

/* ---- Deals Banner ---- */
.deals-banner {
    background: linear-gradient(135deg, var(--yellow-primary) 0%, var(--yellow-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.deals-banner::before {
    content: '';
    position: absolute;
    right: -5%;
    top: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.deals-banner h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.deals-banner p {
    color: var(--gray-700);
    font-size: 16px;
}

/* ---- Footer ---- */
.footer {
    background: var(--green-darker);
    color: var(--white);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo .logo-name {
    font-size: 28px;
    margin-bottom: 8px;
    display: block;
}

.footer-tagline {
    font-size: 14px;
    color: var(--yellow-primary);
    font-style: italic;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--yellow-primary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 14px;
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.footer-col a:hover {
    opacity: 1;
    color: var(--yellow-primary);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-contact svg {
    color: var(--yellow-primary);
    flex-shrink: 0;
}

.footer-ride {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ride-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ride-text {
    font-size: 14px;
    opacity: 0.7;
}

.ride-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    color: var(--ride-yellow);
    letter-spacing: 2px;
}

.ride-emoji {
    font-size: 24px;
}

.ride-contact {
    font-size: 13px;
    opacity: 0.6;
    padding-left: 12px;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    opacity: 0.5;
}

/* ---- Toast Notification ---- */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gray-900);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-base);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 360px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--error);
}

/* ---- Modal ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-in {
    animation: fadeInUp 0.5s ease both;
}

.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.3s; }
.animate-in-delay-4 { animation-delay: 0.4s; }

/* Page transition */
#app {
    animation: fadeIn 0.3s ease;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--green-primary);
}

.breadcrumb .separator {
    font-size: 12px;
}

.breadcrumb .current {
    color: var(--gray-800);
    font-weight: 500;
}

/* ---- Responsive Design ---- */
@media (max-width: 1024px) {
    .hero-grid,
    .ride-grid,
    .credit-promo-grid,
    .credit-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image img,
    .credit-promo-image img {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero h1 { font-size: 40px; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
    .cart-grid { grid-template-columns: 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
    .account-grid { grid-template-columns: 1fr; }
    .credit-dashboard { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar-left { display: none; }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        z-index: 9998;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 18px;
        padding: 12px 28px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .hero { padding: 40px 0; min-height: auto; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 15px; }
    .hero-float-badge { display: none; }
    
    .section { padding: 48px 0; }
    .section-title { font-size: 28px; }
    
    .steps-grid { grid-template-columns: 1fr; }
    
    .ride-features { grid-template-columns: 1fr; }
    .ride-content h2 { font-size: 28px; }
    
    .credit-benefits { grid-template-columns: 1fr; }
    .credit-promo-content h2 { font-size: 28px; }
    .credit-hero h1 { font-size: 28px; }
    .credit-stats { grid-template-columns: 1fr; }
    .credit-hero { padding: 28px; }
    
    .form-grid { grid-template-columns: 1fr; }
    
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    
    .shop-header { flex-direction: column; align-items: stretch; }
    .shop-search-inline { max-width: 100%; }
    
    .deals-banner { flex-direction: column; text-align: center; }
    .deals-banner h2 { font-size: 24px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    
    .cart-item { flex-wrap: wrap; }
    
    .tracking-search { flex-direction: column; }
    
    .auth-card { padding: 28px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 28px; }
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}

/* ---- Loading Skeleton ---- */
.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ---- Order Success ---- */
.order-success {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.order-success-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    background: var(--green-lightest);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 24px;
    animation: fadeInUp 0.5s ease both;
}

.order-success h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.order-success p {
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.7;
}

.order-id {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--green-primary);
    background: var(--green-lightest);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    display: inline-block;
    margin-bottom: 24px;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}