/* ============================================
   TIFFINDOOR - Premium Multi-Vendor Food Marketplace
   Complete CSS - v12.0 (FINAL - ALL SECTIONS)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
    --primary: #F58220;
    --primary-dark: #d9741a;
    --primary-light: #ffb066;
    --primary-glow: rgba(245, 130, 32, 0.35);
    
    --secondary: #1E5631;
    --secondary-dark: #14401f;
    --secondary-light: #4a8a5e;
    --secondary-glow: rgba(30, 86, 49, 0.25);
    
    --deep-red: #C0392B;
    --deep-red-dark: #A93226;
    --deep-red-light: #E74C3C;
    --deep-red-glow: rgba(192, 57, 43, 0.35);
    
    --charcoal: #2C3E50;
    
    --white: #ffffff;
    --cream: #FFF8EE;
    --accent: #FDF6EC;
    
    --text: #1a1a1a;
    --text-light: #4a4a4a;
    --gray: #6c757d;
    --gray-light: #9ca3af;
    --border: #eaeaea;
    --border-light: #f5f5f5;
    
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --star: #fbbf24;
    
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

/* ============================================
   2. GLOBAL RESETS
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   3. HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--primary) 33.33%, 
        var(--white) 33.33%, 
        var(--white) 66.66%, 
        var(--secondary) 66.66%, 
        var(--secondary) 100%);
    z-index: 3;
}

.site-header.scrolled {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    height: 70px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Location Selector (Header) */
.location-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 1.5px solid transparent;
    background: var(--accent);
}

.location-selector:hover {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.location-icon { font-size: 20px; color: var(--primary); }
.location-text { display: flex; flex-direction: column; line-height: 1.2; }

.location-label {
    font-size: 10px;
    color: var(--gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-value {
    font-size: 14px;
    color: var(--secondary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.location-value::after { content: '▾'; font-size: 11px; color: var(--primary); }
.location-value.has-pincode { color: var(--primary); }

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: var(--transition);
    order: -1;
}

.logo:hover { transform: scale(1.03); }

.logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

/* Main Nav */
.main-nav {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: auto;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a .nav-icon { font-size: 16px; }
.main-nav a:hover { color: var(--primary); background: rgba(245, 130, 32, 0.08); }
.main-nav a.active { color: var(--primary); background: rgba(245, 130, 32, 0.1); font-weight: 600; }

/* Header Actions */
.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.cart-btn {
    position: relative;
    padding: 10px 18px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.cart-btn:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--secondary-glow);
}

.cart-count {
    position: absolute;
    top: -6px; right: -6px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    width: 22px; height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    border: 2px solid var(--white);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* User Avatar (Circle) */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    overflow: hidden;
    padding: 0;
    flex-shrink: 0;
}

.user-avatar:hover { transform: scale(1.08); box-shadow: var(--shadow); }

.user-avatar.has-image {
    padding: 0;
    overflow: hidden;
    background: #FFFFFF;
    border: 2px solid var(--primary);
}

.user-avatar.has-image img,
.user-avatar .avatar-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
    order: 3;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   4. HERO SECTION
   ============================================ */
.hero {
    background: 
        linear-gradient(135deg, rgba(30, 86, 49, 0.92) 0%, rgba(20, 64, 31, 0.95) 100%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="1.5" fill="white" opacity="0.15"/></svg>');
    padding: 80px 0 60px;
    position: relative;
    overflow: visible;
    min-height: 480px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px; left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-inner {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
    width: 100%;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 58px;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero h1 .highlight { color: var(--primary); position: relative; display: inline-block; }

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px; left: -4px; right: -4px;
    height: 12px;
    background: rgba(245, 130, 32, 0.3);
    z-index: -1;
    border-radius: 6px;
    transform: skewX(-8deg);
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   5. HERO SEARCH ROW
   ============================================ */
.hero-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto 40px;
    justify-content: center;
    position: relative;
    z-index: 100;
}

.location-selector-wrap {
    position: relative;
    flex-shrink: 0;
    z-index: 101;
}

.location-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1.5px solid #e5e5e5;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    min-width: 260px;
    max-width: 300px;
    height: 56px;
}

.location-selector:hover {
    border-color: #F58220;
    box-shadow: 0 8px 24px rgba(245, 130, 32, 0.2);
}

.location-pin-icon {
    font-size: 18px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(245, 130, 32, 0.3));
}

.location-display-text {
    flex: 1;
    font-size: 14px;
    color: #666;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.location-display-text.has-location {
    color: #1E5631;
    font-weight: 700;
}

.location-arrow-icon {
    font-size: 12px;
    color: #F58220;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.hero-search-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #e5e5e5;
    border-radius: 60px;
    padding: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    min-width: 300px;
    height: 56px;
    position: relative;
}

.hero-search-box:focus-within {
    border-color: #F58220;
    box-shadow: 0 8px 24px rgba(245, 130, 32, 0.2);
}

.hero-search-icon {
    padding-left: 16px;
    font-size: 18px;
    color: #F58220;
    flex-shrink: 0;
}

.hero-search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 8px;
    font-size: 14px;
    font-family: inherit;
    color: #1a1a1a;
    background: transparent;
    min-width: 0;
}

.hero-search-box input::placeholder { color: #999; }

.hero-search-submit-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #F58220, #d9741a);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.3);
}

.hero-search-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 130, 32, 0.4);
}

/* ============================================
   6. LOCATION DROPDOWN
   ============================================ */
.location-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 440px;
    max-width: 90vw;
    z-index: 99999;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    pointer-events: none;
}

.location-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.location-dropdown-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    border-bottom: 1px solid #f0f0f0;
    background: #FAFAFA;
    flex-shrink: 0;
}

.location-dropdown-search .search-icon {
    font-size: 16px;
    color: #F58220;
    flex-shrink: 0;
}

.location-dropdown-search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    font-family: inherit;
    color: #1a1a1a;
    font-weight: 500;
    letter-spacing: 1px;
    min-width: 0;
}

.location-dropdown-search input::placeholder {
    color: #9ca3af;
    letter-spacing: normal;
    font-weight: 400;
}

.search-clear-btn {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #e5e5e5;
    color: #666;
    border: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-clear-btn:hover { background: #d4d4d4; }

.location-use-current {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    background: #ffffff;
    flex-shrink: 0;
}

.location-use-current:hover { background: #FFF8EE; }
.current-icon { font-size: 20px; flex-shrink: 0; }
.current-text { font-size: 14px; color: #F58220; font-weight: 700; }

.location-results {
    flex: 1;
    max-height: 340px;
    overflow-y: auto;
    padding: 4px 0;
    background: #ffffff;
}

.location-results::-webkit-scrollbar { width: 6px; }
.location-results::-webkit-scrollbar-track { background: #f5f5f5; }
.location-results::-webkit-scrollbar-thumb { background: #d4d4d4; border-radius: 3px; }

.location-section-title {
    font-size: 11px;
    font-weight: 800;
    color: #999;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 18px 8px;
}

.location-list { display: flex; flex-direction: column; }

.location-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    width: 100%;
    box-sizing: border-box;
}

.location-item:hover {
    background: #FFF8EE;
    border-left-color: #F58220;
}

.location-item-icon {
    font-size: 18px;
    color: #F58220;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.location-item-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    text-align: left;
}

.location-item-text strong {
    font-size: 14px;
    color: #1E5631;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-item-text small {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-item-arrow {
    color: #bbb;
    font-size: 16px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.location-item:hover .location-item-arrow {
    color: #F58220;
    transform: translateX(4px);
}

.location-empty,
.location-loading {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.location-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.location-empty p,
.location-loading p {
    font-size: 14px;
    color: #666;
    margin: 0 0 6px;
    font-weight: 500;
}

.location-empty small { font-size: 12px; color: #999; }

.location-spinner {
    width: 32px; height: 32px;
    border: 3px solid #f0f0f0;
    border-top-color: #F58220;
    border-radius: 50%;
    margin: 0 auto 12px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero-stats { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; padding-top: 20px; }
.hero-stat { text-align: center; color: var(--white); }

.hero-stat h3 {
    font-size: 32px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat h3 .accent { color: var(--primary); }

.hero-stat p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   7. OFFER CARDS
   ============================================ */
.offers-section { padding: 40px 0; background: var(--white); }

.offers-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 8px 24px 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    max-width: 1280px;
    margin: 0 auto;
}

.offers-scroll::-webkit-scrollbar { display: none; }

.offer-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    padding: 24px;
    border-radius: var(--radius-lg);
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.offer-card:nth-child(1) { background: linear-gradient(135deg, #F58220, #ff9f4d); }
.offer-card:nth-child(2) { background: linear-gradient(135deg, #1E5631, #4a8a5e); }
.offer-card:nth-child(3) { background: linear-gradient(135deg, #d9741a, #F58220); }
.offer-card:nth-child(4) { background: linear-gradient(135deg, #14401f, #1E5631); }

.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.offer-card::after {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 150px; height: 150px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
}

.offer-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0.9;
    margin-bottom: 8px;
}

.offer-title {
    font-size: 26px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
    margin-bottom: 6px;
}

.offer-desc { font-size: 13px; opacity: 0.9; }

/* ============================================
   8. CATEGORIES
   ============================================ */
.categories-section { padding: 60px 0; background: var(--white); }

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 32px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}

.section-header-inline h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--secondary);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-header-inline p { color: var(--gray); font-size: 14px; margin-top: 4px; }

.view-all {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.view-all:hover { gap: 8px; }

.categories-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 8px 24px 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    max-width: 1280px;
    margin: 0 auto;
}

.categories-scroll::-webkit-scrollbar { display: none; }

.category-item {
    flex: 0 0 auto;
    width: 130px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    scroll-snap-align: start;
}

.category-item:hover { transform: translateY(-6px); }

.category-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cream), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    margin: 0 auto 14px;
    box-shadow: 0 8px 24px rgba(245, 130, 32, 0.12);
    border: 3px solid var(--white);
    transition: var(--transition);
    position: relative;
}

.category-circle::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.category-item:hover .category-circle::after { opacity: 1; }
.category-item:hover .category-circle { transform: rotate(-5deg) scale(1.05); }

.category-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    transition: var(--transition);
}

.category-item:hover .category-name { color: var(--primary); }

/* ============================================
   9. FOOD CARDS
   ============================================ */
.food-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--accent) 0%, var(--white) 100%);
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.food-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border);
    cursor: pointer;
    display: block;
    color: inherit;
}

.food-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }

.food-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--cream), var(--accent));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.food-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.food-card:hover .food-card-image img { transform: scale(1.08); }

.food-badge {
    position: absolute;
    top: 14px; left: 14px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
    z-index: 2;
}

.food-badge.veg { background: var(--success); }
.food-badge.non-veg { background: #dc2626; }

.food-badge.bestseller {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    top: 14px; left: auto; right: 14px;
}

.food-badge.bestseller::before { content: '⭐ '; }

.food-fav {
    position: absolute;
    top: 14px; right: 14px;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: none;
    transition: var(--transition);
    z-index: 2;
}

.food-fav:hover { background: var(--white); transform: scale(1.15); }

.food-card-body { padding: 18px 20px 20px; }

.food-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.food-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 4px;
}

.food-card-subtitle {
    font-size: 13px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.food-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--success);
    color: var(--white);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.food-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px dashed var(--border);
}

.food-price { display: flex; flex-direction: column; }
.food-price .price-current { font-size: 20px; font-weight: 800; color: var(--secondary); }
.food-price .price-mrp { font-size: 13px; color: var(--gray); text-decoration: line-through; }

.food-emoji { font-size: 90px; line-height: 1; }
.food-desc { font-size: 13px; color: var(--gray); margin: 8px 0 0; line-height: 1.5; }

.add-btn {
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.add-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px var(--primary-glow); }

/* ============================================
   10. QUANTITY PILL
   ============================================ */
.qty-pill {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(30, 86, 49, 0.35);
    transition: all 0.3s ease;
    min-width: 100px;
    justify-content: space-between;
}

.qty-pill:hover {
    box-shadow: 0 6px 18px rgba(30, 86, 49, 0.5);
    transform: translateY(-2px);
}

.qty-pill-btn {
    width: 30px; height: 30px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.qty-pill-btn:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }
.qty-pill-btn:active { transform: scale(0.95); }

.qty-pill-value {
    color: var(--white);
    font-weight: 800;
    font-size: 15px;
    min-width: 24px;
    text-align: center;
    padding: 0 4px;
}

.product-actions .qty-pill { min-width: 130px; padding: 6px; }
.product-actions .qty-pill-btn { width: 38px; height: 38px; font-size: 22px; }
.product-actions .qty-pill-value { font-size: 17px; min-width: 30px; }

/* ============================================
   11. HOW IT WORKS
   ============================================ */
.how-it-works { padding: 90px 24px; background: var(--white); position: relative; }
.how-it-works .section-header { text-align: center; margin-bottom: 60px; }

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--secondary);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--gray);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }

.step-number {
    width: 72px; height: 72px;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    box-shadow: 0 8px 24px var(--secondary-glow);
    border: 5px solid var(--white);
    transition: var(--transition);
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 10px 30px var(--primary-glow);
}

.step-card h3 { color: var(--secondary); font-size: 19px; margin-bottom: 10px; font-weight: 700; }
.step-card p { color: var(--gray); font-size: 15px; line-height: 1.6; }

/* ============================================
   12. AUTH PAGES
   ============================================ */
.auth-section {
    padding: 60px 20px 80px;
    background: 
        radial-gradient(circle at 20% 30%, rgba(245, 130, 32, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(30, 86, 49, 0.05) 0%, transparent 40%),
        linear-gradient(135deg, var(--cream), var(--white));
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--white);
    padding: 48px 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--white), var(--secondary));
}

.auth-card h2 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary);
    margin-bottom: 8px;
    font-size: 30px;
    font-weight: 800;
}

.auth-subtitle { color: var(--gray); margin-bottom: 32px; font-size: 15px; }
.form-group { margin-bottom: 22px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 15px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
    color: var(--text);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    background: var(--cream);
    transform: translateY(-1px);
}

.form-group input::placeholder { color: var(--gray-light); }

.auth-card .btn { margin-top: 8px; padding: 15px 24px; font-size: 15px; }

.auth-link { text-align: center; margin-top: 26px; color: var(--gray); font-size: 14px; }
.auth-link a { color: var(--primary); font-weight: 700; transition: var(--transition); }
.auth-link a:hover { color: var(--primary-dark); text-decoration: underline; }

/* ============================================
   13. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 14px;
    font-family: inherit;
    line-height: 1;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--primary-glow); }

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline:hover { background: var(--secondary); color: var(--white); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ============================================
   14. ALERTS
   ============================================ */
.alert {
    padding: 16px 24px;
    margin: 16px auto;
    max-width: 1240px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.4s ease;
    box-shadow: var(--shadow-sm);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background: linear-gradient(90deg, #ecfdf5, #d1fae5);
    color: #065f46;
    border-left: 5px solid var(--success);
}

.alert-error {
    background: linear-gradient(90deg, #fef2f2, #fee2e2);
    color: #991b1b;
    border-left: 5px solid var(--error);
}

/* ============================================
   15. FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(180deg, var(--secondary-dark), var(--secondary));
    color: var(--white);
    padding: 70px 0 28px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--primary) 33.33%, 
        var(--white) 33.33%, 
        var(--white) 66.66%, 
        var(--primary) 66.66%, 
        var(--primary) 100%);
}

.site-footer::after {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
}

.footer-grid h4 {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}

.footer-grid h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-grid p { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.8; margin-bottom: 8px; }

.footer-grid a {
    display: block;
    color: rgba(255,255,255,0.75);
    margin-bottom: 10px;
    font-size: 14px;
    transition: var(--transition);
}

.footer-grid a:hover { color: var(--primary); padding-left: 6px; }

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    position: relative;
    z-index: 2;
}

/* ============================================
   16. LOADER
   ============================================ */
.td-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 153, 51, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(19, 136, 8, 0.07) 0%, transparent 50%),
        linear-gradient(135deg, #FFF8EE 0%, #ffffff 50%, #f0f9f0 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    overflow: hidden;
}

.td-loader.td-loader-hidden { opacity: 0; visibility: hidden; }

.td-loader-inner {
    text-align: center;
    position: relative;
    z-index: 2;
    animation: loaderFadeIn 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes loaderFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.td-logo-stage {
    position: relative;
    width: 280px; height: 280px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.td-logo-ring {
    position: absolute;
    inset: 0;
    animation: ringRotate 12s linear infinite;
    z-index: 1;
}

.td-logo-ring svg {
    width: 100%; height: 100%;
    display: block;
    filter: drop-shadow(0 0 12px rgba(245, 130, 32, 0.2));
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.td-logo-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.3) 0%, rgba(255, 153, 51, 0.15) 40%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.25); opacity: 1; }
}

.td-logo-main {
    position: relative;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 
        0 20px 60px rgba(245, 130, 32, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 0 0 6px rgba(255, 255, 255, 0.9),
        0 0 0 8px rgba(245, 130, 32, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 3;
    animation: logoFloat 3.5s ease-in-out infinite;
    padding: 14px;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

.td-logo-img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 2; }

.td-logo-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.7) 55%, transparent 100%);
    animation: logoShine 3.5s ease-in-out infinite;
    z-index: 4;
    pointer-events: none;
    border-radius: 50%;
}

@keyframes logoShine {
    0% { left: -100%; opacity: 0; }
    15% { opacity: 1; }
    55% { left: 100%; opacity: 0; }
    100% { left: 100%; opacity: 0; }
}

.td-logo-chakra {
    position: absolute;
    bottom: 12px; right: 8px;
    width: 42px; height: 42px;
    background: var(--white);
    border-radius: 50%;
    padding: 5px;
    box-shadow: 
        0 6px 20px rgba(0, 0, 122, 0.2),
        0 0 0 3px rgba(255, 255, 255, 0.9),
        0 0 0 4px rgba(0, 0, 122, 0.15);
    z-index: 5;
    animation: chakraSpin 8s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.td-logo-chakra svg { width: 100%; height: 100%; display: block; }

@keyframes chakraSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.td-loader-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    animation: taglineFade 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

@keyframes taglineFade {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

.td-loader-dots { display: flex; gap: 14px; justify-content: center; position: relative; z-index: 2; }

.td-loader-dots span {
    width: 12px; height: 12px;
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.td-loader-dots span:nth-child(1) { background: linear-gradient(135deg, #FFB366, #FF9933); box-shadow: 0 0 14px rgba(255, 153, 51, 0.8); animation-delay: 0s; }
.td-loader-dots span:nth-child(2) { background: linear-gradient(135deg, #0000A0, #00007a); box-shadow: 0 0 14px rgba(0, 0, 122, 0.7); animation-delay: 0.2s; }
.td-loader-dots span:nth-child(3) { background: linear-gradient(135deg, #1AA019, #0F6E06); box-shadow: 0 0 14px rgba(19, 136, 8, 0.8); animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.6) translateY(0); opacity: 0.5; }
    40% { transform: scale(1.3) translateY(-10px); opacity: 1; }
}

/* ============================================
   17. MENU PAGE
   ============================================ */
.menu-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    padding: 50px 0 60px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.menu-header::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.menu-header .container { position: relative; z-index: 2; text-align: center; }

.menu-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.menu-header p { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 28px; }

.menu-search-form {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 60px;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
    position: relative;
}

.menu-search-icon { padding-left: 18px; font-size: 18px; color: var(--primary); }

.menu-search-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: transparent;
    min-width: 0;
}

.menu-search-form input::placeholder { color: var(--gray-light); }

.menu-search-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-search-btn:hover { box-shadow: 0 8px 20px var(--primary-glow); transform: scale(1.03); }

.menu-categories {
    background: var(--white);
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.category-pills-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: none;
}

.category-pills-scroll::-webkit-scrollbar { display: none; }

.category-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--accent);
    border: 1.5px solid transparent;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.category-pill:hover { background: var(--cream); border-color: var(--primary); transform: translateY(-2px); }

.category-pill.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 16px var(--primary-glow);
}

.pill-icon { font-size: 16px; }

.pill-count {
    padding: 2px 8px;
    background: rgba(0,0,0,0.08);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray);
}

.category-pill.active .pill-count { background: rgba(255,255,255,0.25); color: var(--white); }

.menu-filters-bar {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 130px;
    z-index: 99;
}

.filters-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 10px; }

.filter-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btns { display: flex; gap: 6px; }

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--secondary); color: var(--white); border-color: var(--secondary); }

.veg-dot, .nonveg-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; position: relative; }
.veg-dot { background: #10b981; box-shadow: 0 0 0 2px #10b98133; }
.nonveg-dot { background: #dc2626; box-shadow: 0 0 0 2px #dc262633; }

.filter-select {
    padding: 9px 14px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    background: var(--white);
    cursor: pointer;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.filter-select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-glow); }

.filter-results {
    margin-left: auto;
    font-size: 14px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 14px;
}

.filter-results strong { color: var(--secondary); font-weight: 700; }

.clear-filters {
    padding: 6px 12px;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.clear-filters:hover { background: #fecaca; transform: scale(1.05); }

.menu-products { padding: 40px 0 60px; background: var(--white); min-height: 400px; }

.no-results { text-align: center; padding: 80px 20px; }
.no-results-icon { font-size: 80px; margin-bottom: 20px; opacity: 0.5; }

.no-results h3 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.no-results p { color: var(--gray); margin-bottom: 24px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }

.page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
    cursor: pointer;
}

.page-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.page-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 16px var(--primary-glow);
}

.page-dots { color: var(--gray); padding: 0 4px; font-weight: 700; }

/* ============================================
   18. SEARCH SUGGESTIONS
   ============================================ */
.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    text-align: left;
}

.search-suggestions.active {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    overflow-y: auto;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
}

.suggestion-item:last-child { border-bottom: none; }

.suggestion-item:hover,
.suggestion-item.highlighted { background: var(--accent); color: var(--secondary); }

.suggestion-item:hover .suggestion-arrow,
.suggestion-item.highlighted .suggestion-arrow { opacity: 1; transform: translateX(0); }

.suggestion-icon { font-size: 16px; color: var(--primary); flex-shrink: 0; }

.suggestion-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-text mark {
    background: rgba(245, 130, 32, 0.25);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 0 2px;
    border-radius: 3px;
}

.suggestion-arrow {
    color: var(--primary);
    font-size: 14px;
    opacity: 0;
    transform: translateX(-6px);
    transition: var(--transition);
    flex-shrink: 0;
}

/* ============================================
   19. PRODUCT DETAIL PAGE
   ============================================ */
.breadcrumb {
    background: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray);
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--gray); transition: var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .current { color: var(--secondary); font-weight: 600; }

.product-detail {
    padding: 40px 0 60px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 48px;
    align-items: start;
}

.product-image-wrap {
    position: sticky;
    top: 100px;
    max-width: 420px;
}

.product-image-main {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    cursor: zoom-in;
    transition: var(--transition);
}

.product-image-main:hover {
    box-shadow: 0 24px 70px rgba(245, 130, 32, 0.25);
    transform: translateY(-4px);
}

.product-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-image-main:hover img { transform: scale(1.15); }

.product-emoji-big {
    font-size: 160px;
    line-height: 1;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-image-main:hover .product-emoji-big { transform: scale(1.15) rotate(-3deg); }

.product-image-main::after {
    content: '🔍 Hover to zoom';
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 86, 49, 0.85);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    white-space: nowrap;
}

.product-image-main:hover::after { opacity: 1; }

.product-badge-lg {
    padding: 8px 16px !important;
    font-size: 12px !important;
    top: 20px !important;
    left: 20px !important;
    z-index: 3;
}

.product-badge-lg.bestseller { left: auto !important; right: 20px !important; }

.product-trust {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.trust-item {
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 11px;
    font-weight: 600;
    color: var(--gray);
    text-align: center;
    transition: var(--transition);
}

.trust-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.trust-icon { font-size: 22px; }

.product-info { padding-top: 8px; }

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--secondary);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.product-subtitle {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 0;
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
    margin-bottom: 24px;
}

.meta-rating { display: flex; align-items: center; gap: 8px; }

.rating-pill {
    background: var(--success);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

.rating-count { font-size: 13px; color: var(--gray); }
.meta-divider { color: var(--gray-light); }
.meta-item { font-size: 14px; color: var(--gray); font-weight: 500; }

.product-price-section { margin-bottom: 28px; }

.price-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.price-big {
    font-size: 40px;
    font-weight: 800;
    color: var(--secondary);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.price-mrp-big {
    font-size: 22px;
    color: var(--gray);
    text-decoration: line-through;
}

.discount-badge {
    background: linear-gradient(135deg, var(--success), #059669);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.product-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
}

.qty-selector:hover { border-color: var(--primary); }

.qty-btn {
    width: 50px;
    height: 52px;
    background: transparent;
    border: none;
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover { background: var(--accent); color: var(--primary); }

.qty-input {
    width: 60px;
    height: 52px;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    background: transparent;
    outline: none;
    font-family: inherit;
}

.btn-add-cart {
    flex: 1;
    min-width: 200px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 24px var(--primary-glow);
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-cart:hover { transform: translateY(-3px); box-shadow: 0 12px 32px var(--primary-glow); }

.btn-add-cart.added {
    background: linear-gradient(135deg, var(--success), #059669);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.product-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px dashed var(--border);
}

.product-section:last-child { border-bottom: none; }

.product-section h3 {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-section p { font-size: 14px; color: var(--gray); line-height: 1.7; }

.product-info-list {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 16px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}

.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-row:first-child { padding-top: 0; }

.info-label { color: var(--gray); font-weight: 500; }
.info-value { color: var(--secondary); font-weight: 600; }

.text-veg { color: var(--success); }
.text-nonveg { color: #dc2626; }

.product-reviews { padding: 60px 0; background: var(--accent); }

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.review-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.review-header { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.review-header h4 { font-size: 15px; color: var(--secondary); font-weight: 700; margin-bottom: 2px; }
.review-stars { font-size: 13px; letter-spacing: 1px; }
.review-card h5 { font-size: 14px; color: var(--secondary); font-weight: 700; margin-bottom: 6px; }
.review-card p { font-size: 14px; color: var(--gray); line-height: 1.6; margin-bottom: 12px; }
.review-date { font-size: 12px; color: var(--gray-light); }

.similar-products { padding: 60px 0 80px; background: var(--white); }

/* ============================================
   20. CART PAGE
   ============================================ */
.cart-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    padding: 40px 0 50px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cart-header::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cart-header .container { position: relative; z-index: 2; }

.cart-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.cart-header p { color: rgba(255,255,255,0.85); font-size: 15px; }

.cart-section {
    padding: 40px 0 80px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    min-height: 60vh;
}

.cart-empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    max-width: 500px;
    margin: 0 auto;
}

.cart-empty-icon { font-size: 100px; margin-bottom: 20px; opacity: 0.7; }

.cart-empty h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.cart-empty p { color: var(--gray); margin-bottom: 28px; font-size: 15px; }

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}

.cart-items-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.cart-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 2px dashed var(--border);
}

.cart-items-header h2 {
    font-size: 20px;
    color: var(--secondary);
    font-weight: 800;
    font-family: 'Playfair Display', serif;
}

.add-more-link { color: var(--primary); font-weight: 700; font-size: 13px; transition: var(--transition); }
.add-more-link:hover { color: var(--primary-dark); }

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
    margin-bottom: 12px;
}

.cart-item:hover { background: var(--accent); border-color: var(--border); }
.cart-item:last-child { margin-bottom: 0; }

.cart-item-image {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--cream), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-emoji { font-size: 44px; }

.cart-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.cart-item-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 4px;
}

.cart-item-subtitle {
    font-size: 12px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.food-type-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    display: inline-block;
    border: 1.5px solid;
    position: relative;
}

.food-type-dot.veg { background: var(--success); border-color: var(--success); }
.food-type-dot.nonveg { background: #dc2626; border-color: #dc2626; }

.cart-item-remove {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #fee2e2;
    color: #991b1b;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.cart-item-remove:hover { background: #fecaca; transform: scale(1.1); }

.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cart-item-price { display: flex; align-items: baseline; gap: 6px; }

.cart-price-current { font-size: 16px; font-weight: 800; color: var(--secondary); }
.cart-price-each { font-size: 12px; color: var(--gray); font-weight: 500; }

.cart-qty-selector {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    transition: var(--transition);
}

.cart-qty-selector:hover { border-color: var(--primary); }

.cart-qty-btn {
    width: 34px; height: 34px;
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty-btn:hover { background: var(--accent); color: var(--primary); }

.cart-qty-value {
    width: 36px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
}

.cart-item-total {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    min-width: 80px;
    text-align: right;
}

.cart-summary-wrap { position: sticky; top: 100px; }

.cart-summary {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.cart-summary h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px dashed var(--border);
}

.cart-coupon { display: flex; gap: 8px; margin-bottom: 8px; }

.cart-coupon input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    background: var(--white);
}

.cart-coupon input:focus { border-color: var(--primary); border-style: solid; background: var(--cream); }

.cart-coupon button {
    padding: 12px 20px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.cart-coupon button:hover { background: var(--secondary-dark); }

.coupon-message { font-size: 12px; margin-bottom: 16px; font-weight: 600; min-height: 18px; }
.coupon-message.success { color: var(--success); }
.coupon-message.error { color: var(--error); }

.cart-breakdown {
    padding: 16px 0;
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
    margin-bottom: 16px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-light);
}

.breakdown-row span:last-child { font-weight: 600; color: var(--secondary); }

.free-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--success), #059669);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    animation: pulseFree 2s infinite;
}

@keyframes pulseFree {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.free-delivery-hint {
    background: linear-gradient(90deg, rgba(245, 130, 32, 0.1), rgba(245, 130, 32, 0.05));
    color: var(--primary-dark);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    margin: 8px 0;
    border-left: 3px solid var(--primary);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary);
    border-bottom: 2px dashed var(--border);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.cart-total span:last-child { color: var(--primary); font-size: 26px; }

.min-order-warning {
    background: #fef3c7;
    color: #92400e;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    border-left: 3px solid #f59e0b;
}

.btn-checkout {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 24px var(--primary-glow);
    text-decoration: none;
    font-family: inherit;
    letter-spacing: 0.3px;
}

.btn-checkout:hover { transform: translateY(-3px); box-shadow: 0 12px 32px var(--primary-glow); }
.btn-checkout.disabled { opacity: 0.5; pointer-events: none; }

.btn-continue {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    margin-top: 12px;
    font-family: inherit;
}

.btn-continue:hover { border-color: var(--secondary); background: var(--accent); }

.cart-secure-badge { text-align: center; font-size: 12px; color: var(--gray); margin-top: 16px; font-weight: 500; }

/* ============================================
   21. CHECKOUT PAGE
   ============================================ */
.checkout-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    padding: 40px 0 50px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.checkout-header::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.checkout-header .container { position: relative; z-index: 2; }

.checkout-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.checkout-header p { color: rgba(255,255,255,0.85); font-size: 15px; }

.checkout-section {
    padding: 40px 0 80px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    min-height: 60vh;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}

.checkout-left { display: flex; flex-direction: column; gap: 24px; }

.checkout-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.checkout-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 2px dashed var(--border);
}

.step-badge {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    font-family: 'Playfair Display', serif;
    box-shadow: 0 4px 12px var(--primary-glow);
    flex-shrink: 0;
}

.checkout-card-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--secondary);
    font-weight: 800;
}

.address-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}

.address-form .form-group { margin-bottom: 18px; }

.address-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 13px;
}

.address-form input,
.address-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
    color: var(--text);
    outline: none;
    resize: vertical;
}

.address-form input:focus,
.address-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    background: var(--cream);
}

.payment-options { display: flex; flex-direction: column; gap: 12px; }

.payment-option { display: block; cursor: pointer; position: relative; }

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
}

.payment-option:hover .payment-option-content { border-color: var(--primary-light); background: var(--accent); }

.payment-option input[type="radio"]:checked + .payment-option-content {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.08), rgba(245, 130, 32, 0.02));
    box-shadow: 0 4px 16px var(--primary-glow);
}

.payment-icon { font-size: 32px; flex-shrink: 0; }
.payment-details { flex: 1; }

.payment-details h3 {
    font-size: 16px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 2px;
}

.payment-details p { font-size: 13px; color: var(--gray); }

.payment-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--border);
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    transition: var(--transition);
    flex-shrink: 0;
}

.payment-option input[type="radio"]:checked + .payment-option-content .payment-check {
    background: var(--primary);
    color: var(--white);
}

.payment-option.disabled { cursor: not-allowed; opacity: 0.6; }
.payment-option.disabled .payment-option-content { background: #f8f8f8; border-style: dashed; }

.cod-blocked-notice {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: var(--radius);
    margin-top: 4px;
}

.notice-icon { font-size: 24px; flex-shrink: 0; }

.cod-blocked-notice strong {
    display: block;
    color: #92400e;
    font-size: 14px;
    margin-bottom: 4px;
}

.cod-blocked-notice p {
    color: #92400e;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 4px;
}

.notice-progress {
    background: var(--white);
    padding: 6px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 6px !important;
    font-size: 12px !important;
    font-weight: 600;
}

.checkout-right { position: sticky; top: 100px; }

.order-summary {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.order-summary h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px dashed var(--border);
}

.summary-items {
    max-height: 240px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 16px;
}

.summary-items::-webkit-scrollbar { width: 4px; }
.summary-items::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-light);
    font-size: 14px;
}

.summary-item:last-child { border-bottom: none; }

.summary-item-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.summary-item-name {
    color: var(--secondary);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-item-qty { font-size: 11px; color: var(--gray); }

.summary-item-price {
    color: var(--secondary);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.summary-breakdown {
    padding: 16px 0;
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
    margin-bottom: 16px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 20px;
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary);
    font-family: 'Playfair Display', serif;
}

.summary-total span:last-child { color: var(--primary); font-size: 26px; }

.btn-place-order {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 24px var(--primary-glow);
    font-family: inherit;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}

.btn-place-order:hover { transform: translateY(-3px); box-shadow: 0 12px 32px var(--primary-glow); }

.btn-back-cart {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    font-family: inherit;
}

.btn-back-cart:hover { border-color: var(--secondary); background: var(--accent); }

.secure-badge { text-align: center; font-size: 12px; color: var(--gray); margin-top: 16px; font-weight: 500; }

/* ============================================
   22. ORDER SUCCESS PAGE
   ============================================ */
.order-success-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFFFFF 60%, #F0F7F1 100%);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.order-success-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.order-success-section::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(30, 86, 49, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.order-success-section .container {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.success-card {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(30, 86, 49, 0.10), 0 4px 12px rgba(0, 0, 0, 0.04);
    padding: 48px 44px;
    text-align: center;
    position: relative;
    border-top: 6px solid transparent;
    border-image: linear-gradient(90deg, #F58220 0%, #FFFFFF 50%, #1E5631 100%) 1;
}

.success-icon {
    font-size: 80px;
    line-height: 1;
    margin-bottom: 20px;
    display: inline-block;
    animation: successBounce 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes successBounce {
    0%   { transform: scale(0) rotate(-180deg); opacity: 0; }
    60%  { transform: scale(1.2) rotate(10deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); }
}

.success-card h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1E5631;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.success-subtitle {
    font-size: 16px;
    color: #6b6b6b;
    margin-bottom: 36px;
    line-height: 1.6;
}

.order-details-box {
    background: linear-gradient(135deg, #FDF6EC 0%, #FFF9F2 100%);
    border: 1px dashed #e8d5b7;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 32px;
    text-align: left;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed #e8d5b7;
    font-size: 15px;
}

.order-detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.order-detail-row:first-child { padding-top: 0; }

.detail-label { color: #8a8a8a; font-weight: 500; font-size: 14px; }
.detail-value { color: #1A1A1A; font-weight: 600; font-size: 15px; }
.total-value { color: #F58220; font-size: 20px; font-weight: 700; }

.status-pending {
    background: #FFF3E0;
    color: #F58220;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.order-items-box {
    background: #FAFAFA;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 32px;
    text-align: left;
    border-left: 4px solid #1E5631;
}

.order-items-box h3 {
    font-size: 16px;
    color: #1E5631;
    margin: 0 0 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
    font-size: 15px;
    color: #333;
}

.order-item-row:last-child { border-bottom: none; }

.success-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.success-actions .btn { padding: 14px 32px; min-width: 180px; }

.success-note {
    padding-top: 24px;
    border-top: 1px solid #ececec;
    font-size: 14px;
    color: #6b6b6b;
}

.success-note strong { color: #F58220; font-weight: 700; }

/* ============================================
   23. RESTAURANTS LISTING PAGE
   ============================================ */
.restaurants-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    padding: 40px 0 50px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.restaurants-header::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.restaurants-header .container { position: relative; z-index: 2; }

.restaurants-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.restaurants-header p { color: rgba(255,255,255,0.85); font-size: 15px; }
.restaurants-header strong { color: var(--primary); font-weight: 800; }

.restaurants-section {
    padding: 40px 0 80px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    min-height: 60vh;
}

.restaurants-count {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 24px;
    padding: 10px 16px;
    background: var(--white);
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    border: 1px solid var(--border);
}

.restaurants-count strong { color: var(--secondary); font-weight: 800; font-size: 16px; }

.restaurants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.restaurant-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.restaurant-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    border-color: transparent;
}

.restaurant-card-banner {
    height: 140px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    position: relative;
    overflow: hidden;
}

.restaurant-card-banner::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.restaurant-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.restaurant-card:hover .restaurant-card-banner img { transform: scale(1.08); }

.verified-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    z-index: 2;
}

.restaurant-card-body {
    padding: 20px 22px 16px;
    position: relative;
}

.restaurant-card-logo {
    width: 70px; height: 70px;
    border-radius: 16px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    position: absolute;
    top: -40px; left: 22px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border: 4px solid var(--white);
    overflow: hidden;
    z-index: 3;
}

.restaurant-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.restaurant-card-info { margin-top: 28px; }

.restaurant-card-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.restaurant-card-desc {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.restaurant-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

.rating-tag {
    background: var(--success);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
}

.restaurant-card-meta .dot { color: var(--gray-light); }

.restaurant-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px;
    background: var(--accent);
    border-top: 1px dashed var(--border);
    font-size: 13px;
}

.delivery-time { color: var(--gray); font-weight: 600; }

.view-menu {
    color: var(--primary);
    font-weight: 800;
    transition: all 0.3s ease;
}

.restaurant-card:hover .view-menu { transform: translateX(4px); }

.restaurant-detail-hero { padding: 40px 0 32px; background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); }

.restaurant-detail-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.restaurant-detail-logo {
    width: 100px; height: 100px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--cream), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.restaurant-detail-logo img { width: 100%; height: 100%; object-fit: cover; }
.restaurant-detail-info { flex: 1; min-width: 280px; }

.restaurant-detail-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.restaurant-detail-info > p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 14px;
    line-height: 1.6;
}

.restaurant-detail-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

.meta-pill {
    padding: 5px 12px;
    background: var(--accent);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
}

.meta-pill.rating { background: var(--success); color: var(--white); }
.meta-pill.verified { background: #d1fae5; color: #065f46; }

.restaurant-detail-timing { font-size: 13px; color: var(--gray); font-weight: 600; }
.restaurant-menu-section { padding: 40px 0 80px; background: var(--white); }

.delivery-zones-info {
    margin-top: 40px;
    padding: 20px 24px;
    background: var(--accent);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.delivery-zones-info h3 {
    font-size: 15px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 12px;
}

.zones-list { display: flex; gap: 8px; flex-wrap: wrap; }

.zone-chip {
    padding: 6px 14px;
    background: var(--white);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
    border: 1px solid var(--border);
}

/* ============================================
   24. SWIGGY RESTAURANT CARDS
   ============================================ */
.sw-restaurants-section { padding: 60px 0 40px; background: var(--white); }

.sw-restaurants-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 8px 24px 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    max-width: 1280px;
    margin: 0 auto;
}

.sw-restaurants-scroll::-webkit-scrollbar { display: none; }

.sw-restaurant-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.sw-restaurant-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }

.sw-card-banner {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.sw-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sw-restaurant-card:hover .sw-card-banner img { transform: scale(1.08); }

.sw-banner-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.sw-offer-badge {
    position: absolute;
    bottom: 10px; left: 10px;
    background: linear-gradient(135deg, var(--deep-red), var(--deep-red-dark));
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.4);
}

.sw-time-badge {
    position: absolute;
    bottom: 10px; right: 10px;
    background: rgba(255,255,255,0.95);
    color: var(--secondary);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.sw-rating-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--success);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
}

.sw-rating-star { font-size: 11px; }
.sw-card-body { padding: 14px 16px 12px; }

.sw-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.sw-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    margin: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sw-verified {
    width: 18px; height: 18px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    flex-shrink: 0;
}

.sw-card-cuisine {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sw-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
}

.sw-dot { color: var(--gray-light); }

.sw-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: var(--accent);
    border-top: 1px dashed var(--border);
    font-size: 11px;
}

.sw-footer-tag {
    color: var(--gray);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ============================================
   25. VENDOR LOGIN
   ============================================ */
.vendor-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        #F58220 0%, 
        #F58220 15%, 
        #FFF8EE 40%, 
        #FFF8EE 60%, 
        #1E5631 85%, 
        #1E5631 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.vendor-login-wrap::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(30,86,49,0.35) 0%, transparent 70%);
    border-radius: 50%;
}

.vendor-login-wrap::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -150px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245,130,32,0.35) 0%, transparent 70%);
    border-radius: 50%;
}

.vendor-login-card {
    background: var(--white);
    padding: 48px 40px;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 2;
}

.vendor-login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--white), var(--secondary));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.vendor-logo { text-align: center; margin-bottom: 24px; }
.vendor-logo img { height: 70px; margin: 0 auto 8px; }

.vendor-logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--primary-dark);
    font-weight: 800;
}

.vendor-logo .badge-vendor {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 8px;
}

.vendor-logo p { color: var(--gray); font-size: 13px; margin-top: 8px; }

.vendor-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 16px;
    border-left: 4px solid var(--error);
}

.vendor-hint {
    text-align: center;
    font-size: 12px;
    color: var(--gray);
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
}

/* ============================================
   26. USER MENU DROPDOWN
   ============================================ */
.user-menu-wrapper { position: relative; display: inline-block; }

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
    min-width: 250px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 1000;
    border: 1px solid #f0f0f0;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 6px;
}

.dropdown-header strong {
    display: block;
    color: #1E5631;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.dropdown-header small {
    color: #999;
    font-size: 12px;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.user-dropdown a:hover {
    background: #FDF6EC;
    color: #F58220;
    border-left-color: #F58220;
    padding-left: 22px;
}

.dropdown-icon {
    font-size: 15px;
    width: 20px;
    text-align: center;
    display: inline-block;
}

.user-dropdown hr {
    margin: 8px 0;
    border: none;
    border-top: 1px solid #f0f0f0;
}

.user-dropdown .logout-link { color: #e74c3c; font-weight: 600; }
.user-dropdown .logout-link:hover {
    background: #fef0ef;
    color: #c0392b;
    border-left-color: #e74c3c;
}

/* ============================================
   27. USER DASHBOARD
   ============================================ */
.dashboard-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFFFFF 100%);
    padding: 40px 20px 60px;
}

.dashboard-section .container { max-width: 1100px; margin: 0 auto; }

.dashboard-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1E5631 0%, #2d7a48 100%);
    color: #ffffff;
    padding: 32px 36px;
    border-radius: 20px;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(30, 86, 49, 0.20);
    position: relative;
    overflow: hidden;
}

.dashboard-welcome::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.20) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-text { position: relative; z-index: 1; }
.welcome-text h1 { font-size: 26px; font-weight: 700; margin: 0 0 6px; color: #ffffff; }
.welcome-text p { margin: 0; font-size: 14px; opacity: 0.85; }

.btn-order-now {
    background: #F58220;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(245, 130, 32, 0.40);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-order-now:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(245, 130, 32, 0.50); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border-left: 4px solid transparent;
    transition: all 0.25s ease;
}

.stat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10); }
.stat-orange  { border-left-color: #F58220; }
.stat-green   { border-left-color: #1E5631; }
.stat-cream   { border-left-color: #d4a574; }

.stat-icon {
    font-size: 34px;
    line-height: 1;
    width: 54px; height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FDF6EC;
    border-radius: 12px;
}

.stat-content { display: flex; flex-direction: column; }
.stat-value { font-size: 24px; font-weight: 700; color: #1E5631; line-height: 1.1; }
.stat-label { font-size: 13px; color: #888; margin-top: 4px; font-weight: 500; }

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 36px;
}

.quick-action-btn {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.quick-action-btn:hover {
    border-color: #F58220;
    color: #F58220;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 130, 32, 0.15);
}

.qa-icon { font-size: 26px; line-height: 1; }

.dashboard-section-block {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.section-header h2 { font-size: 18px; color: #1E5631; margin: 0; font-weight: 700; }

.view-all { color: #F58220; text-decoration: none; font-size: 13px; font-weight: 600; transition: gap 0.2s ease; }
.view-all:hover { color: #d96f10; }

.orders-list { display: flex; flex-direction: column; gap: 10px; }

.order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: #FAFAFA;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.order-item:hover { background: #FDF6EC; border-color: #F58220; transform: translateX(4px); }

.order-icon {
    font-size: 26px;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    flex-shrink: 0;
}

.order-info { flex: 1; min-width: 0; }
.order-number { font-weight: 700; color: #1E5631; font-size: 14px; margin-bottom: 3px; }
.order-meta { font-size: 12px; color: #888; }
.order-status { flex-shrink: 0; }
.order-arrow { color: #bbb; font-size: 18px; flex-shrink: 0; transition: transform 0.2s ease; }
.order-item:hover .order-arrow { color: #F58220; transform: translateX(4px); }

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.badge-pending          { background: #FFF3E0; color: #F58220; }
.badge-confirmed        { background: #E3F2FD; color: #1976D2; }
.badge-preparing        { background: #FFF8E1; color: #F57C00; }
.badge-ready_for_pickup { background: #F3E5F5; color: #7B1FA2; }
.badge-out_for_delivery { background: #E1F5FE; color: #0277BD; }
.badge-delivered        { background: #E8F5E9; color: #1E5631; }
.badge-cancelled        { background: #FFEBEE; color: #C62828; }
.badge-active           { background: #E8F5E9; color: #1E5631; }

.subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.subscription-card {
    background: linear-gradient(135deg, #FDF6EC 0%, #FFF9F2 100%);
    border: 1px solid #e8d5b7;
    border-radius: 14px;
    padding: 18px 20px;
    transition: all 0.25s ease;
}

.subscription-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(245, 130, 32, 0.15); }

.sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e8d5b7;
}

.sub-plan { font-weight: 700; color: #1E5631; font-size: 15px; }
.sub-details { margin-bottom: 14px; }
.sub-row { display: flex; justify-content: space-between; font-size: 13px; color: #555; padding: 4px 0; }

.sub-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    background: #F58220;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
}

.sub-btn:hover { background: #d96f10; }

.empty-state { text-align: center; padding: 40px 20px; }
.empty-icon { font-size: 56px; margin-bottom: 12px; opacity: 0.6; }
.empty-state h3 { font-size: 18px; color: #1E5631; margin: 0 0 6px; }
.empty-state p { color: #888; font-size: 14px; margin: 0 0 18px; }

.btn-primary-custom {
    display: inline-block;
    background: #F58220;
    color: #fff;
    padding: 11px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(245, 130, 32, 0.30);
}

.btn-primary-custom:hover { background: #d96f10; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245, 130, 32, 0.40); }

/* ============================================
   28. CUSTOMER ORDER DETAIL PAGE
   ============================================ */
.order-detail-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFFFFF 100%);
    padding: 30px 20px 60px;
}

.order-detail-section .container { max-width: 1100px; margin: 0 auto; }

.back-link {
    display: inline-block;
    color: #F58220;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 20px;
}

.back-link:hover { color: #d96f10; }

.order-detail-header {
    background: linear-gradient(135deg, #1E5631 0%, #2d7a48 100%);
    color: #fff;
    padding: 28px 32px;
    border-radius: 18px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(30, 86, 49, 0.20);
}

.order-detail-header-left { display: flex; align-items: center; gap: 18px; }

.order-detail-icon {
    font-size: 40px; width: 70px; height: 70px;
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
}

.order-detail-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 24px; font-weight: 800; margin: 0 0 4px; color: #FFE0B8;
}

.order-detail-date { font-size: 13px; color: rgba(255,255,255,0.85); margin: 0; }
.status-badge-large { padding: 10px 22px; border-radius: 50px; font-size: 14px; font-weight: 800; text-transform: uppercase; }

.tracking-card {
    background: #fff; border-radius: 18px; padding: 24px 28px;
    margin-bottom: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.section-title-d {
    font-family: 'Playfair Display', serif;
    font-size: 18px; color: #1E5631; font-weight: 800;
    margin: 0 0 20px; padding-bottom: 14px; border-bottom: 2px dashed #f0f0f0;
}

.tracking-timeline { display: flex; justify-content: space-between; padding: 10px 0; position: relative; }

.tracking-timeline::before {
    content: ''; position: absolute; top: 32px; left: 40px; right: 40px;
    height: 3px; background: #f0f0f0; z-index: 0;
}

.tracking-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; }

.tracking-dot {
    width: 50px; height: 50px; border-radius: 50%;
    background: #f0f0f0; color: #999;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px; margin-bottom: 10px;
    border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.tracking-step.completed .tracking-dot { background: linear-gradient(135deg, #1E5631, #2d7a48); color: #fff; }

.tracking-step.current .tracking-dot {
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #fff; transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(245,130,32,0.4);
}

.tracking-info strong { display: block; font-size: 12px; color: #1E5631; font-weight: 700; margin-bottom: 2px; }
.tracking-info small { font-size: 10px; color: #F58220; font-weight: 700; text-transform: uppercase; }

.order-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.order-detail-left { display: flex; flex-direction: column; gap: 20px; }

.order-detail-card {
    background: #fff; border-radius: 18px; padding: 24px 26px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05); border: 1px solid #f0f0f0;
}

.card-title-d {
    font-family: 'Playfair Display', serif;
    font-size: 17px; color: #1E5631; font-weight: 800;
    margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px dashed #f0f0f0;
}

.order-items-detail { display: flex; flex-direction: column; gap: 12px; }

.order-item-detail {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; background: #FAFAFA; border-radius: 10px;
    border-left: 3px solid #1E5631; gap: 12px;
}

.order-item-info strong { font-size: 14px; color: #1E5631; font-weight: 700; display: block; }
.order-item-info span { font-size: 12px; color: #888; }
.order-item-price { font-weight: 800; color: #1E5631; font-family: 'Playfair Display', serif; font-size: 15px; }

.address-detail-box {
    background: #FAFAFA; padding: 16px 18px; border-radius: 10px;
    font-size: 14px; line-height: 1.7; color: #333;
    border-left: 3px solid #F58220;
}

.history-list { display: flex; flex-direction: column; gap: 14px; }
.history-item { display: flex; gap: 14px; position: relative; }

.history-item:not(:last-child)::before {
    content: ''; position: absolute;
    left: 15px; top: 36px; bottom: -14px;
    width: 2px; background: #f0f0f0;
}

.history-dot {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0; z-index: 1;
}

.history-info strong { display: block; font-size: 13px; color: #1E5631; font-weight: 700; margin-bottom: 2px; }
.history-info small { font-size: 11px; color: #888; }
.history-note { font-size: 12px; color: #666; margin: 4px 0 0; font-style: italic; }

.sticky-bill { position: sticky; top: 100px; }

.bill-detail { display: flex; flex-direction: column; gap: 10px; padding-bottom: 16px; border-bottom: 2px dashed #f0f0f0; margin-bottom: 16px; }
.bill-detail-row { display: flex; justify-content: space-between; font-size: 14px; color: #555; }
.bill-detail-row span:last-child { font-weight: 600; color: #1E5631; }
.bill-detail-row.discount { color: #10b981; font-weight: 700; }
.bill-detail-row.discount span:last-child { color: #10b981; }

.bill-detail-total {
    display: flex; justify-content: space-between;
    padding-top: 12px; margin-top: 8px;
    border-top: 2px dashed #f0f0f0;
    font-size: 18px; font-weight: 800; color: #1E5631;
    font-family: 'Playfair Display', serif;
}

.bill-detail-total span:last-child { color: #F58220; font-size: 22px; }

.payment-info { padding: 14px 0; border-bottom: 1px solid #f0f0f0; margin-bottom: 16px; }

.payment-badge {
    display: inline-block; padding: 8px 16px; border-radius: 50px;
    font-size: 13px; font-weight: 700; margin-bottom: 8px;
}

.payment-badge.cod { background: #FFF3E0; color: #F58220; }
.payment-badge.online { background: #E8F5E9; color: #1E5631; }
.payment-status { font-size: 13px; color: #666; }
.payment-status strong { color: #1E5631; }

/* ============================================
   29. MY ORDERS LIST PAGE
   ============================================ */
.orders-list-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFFFFF 100%);
    padding: 40px 20px 60px;
}

.orders-list-section .container { max-width: 900px; margin: 0 auto; }
.orders-list-header { margin-bottom: 28px; }

.orders-list-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 30px; color: #1E5631; font-weight: 800; margin: 0 0 6px;
}

.orders-list-header p { color: #6c757d; font-size: 15px; margin: 0; }
.orders-list-grid { display: flex; flex-direction: column; gap: 14px; }

.order-list-card {
    display: flex; align-items: center; gap: 18px;
    background: #fff; border-radius: 16px; padding: 20px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05); border: 1px solid #f0f0f0;
    text-decoration: none; color: inherit; transition: all 0.25s ease;
}

.order-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30, 86, 49, 0.12);
    border-color: #F58220;
}

.order-list-icon {
    font-size: 30px; width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: #FDF6EC; border-radius: 14px; flex-shrink: 0;
}

.order-list-info { flex: 1; min-width: 0; }
.order-list-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.order-list-num { font-weight: 800; color: #1E5631; font-size: 15px; }
.order-list-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: #888; align-items: center; }
.order-list-total { color: #F58220; font-weight: 700; font-family: 'Playfair Display', serif; font-size: 15px; }
.order-list-arrow { color: #bbb; font-size: 20px; transition: transform 0.2s ease; flex-shrink: 0; }
.order-list-card:hover .order-list-arrow { color: #F58220; transform: translateX(4px); }

.empty-orders-state { text-align: center; padding: 80px 20px; background: #fff; border-radius: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.empty-icon-large { font-size: 80px; margin-bottom: 16px; opacity: 0.5; }

.empty-orders-state h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px; color: #1E5631; margin: 0 0 8px;
}

.empty-orders-state p { color: #888; font-size: 15px; margin: 0 0 24px; }

.btn-primary-detail {
    display: inline-block; padding: 12px 28px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #fff; text-align: center; border-radius: 50px;
    font-weight: 700; font-size: 14px; text-decoration: none;
    box-shadow: 0 4px 14px rgba(245,130,32,0.3);
}

.btn-primary-detail:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,130,32,0.4); }

/* ============================================
   30. OTP CARD (Customer Side)
   ============================================ */
.otp-card-delivery {
    background: linear-gradient(135deg, #7B1FA2 0%, #4A148C 100%);
    color: #fff;
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 12px 40px rgba(123, 31, 162, 0.35);
    position: relative;
    overflow: hidden;
    animation: otpPulse 2s infinite;
}

.otp-card-delivery::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

@keyframes otpPulse {
    0%, 100% { box-shadow: 0 12px 40px rgba(123, 31, 162, 0.35); }
    50% { box-shadow: 0 12px 50px rgba(123, 31, 162, 0.55); }
}

.otp-icon-large {
    font-size: 56px;
    width: 90px; height: 90px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.otp-content { flex: 1; position: relative; z-index: 1; }

.otp-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px;
    color: #fff;
}

.otp-content p { font-size: 13px; opacity: 0.9; margin: 0 0 14px; }

.otp-code-display {
    font-family: 'Courier New', monospace;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 10px 24px;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #FFF3E0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.otp-content small {
    display: block;
    font-size: 11px;
    opacity: 0.85;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ============================================
   31. RIDER CARD (Customer Side)
   ============================================ */
.rider-card-delivery {
    background: #fff;
    border-radius: 18px;
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    border-left: 4px solid #7B1FA2;
}

.rider-avatar-large {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7B1FA2, #4A148C);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3);
}

.rider-info-large { flex: 1; display: flex; flex-direction: column; gap: 3px; }

.rider-label {
    font-size: 11px;
    color: #888;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rider-info-large strong { font-size: 16px; color: #1E5631; font-weight: 800; }
.rider-info-large small { font-size: 12px; color: #666; }

.rider-call-btn {
    padding: 11px 22px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.rider-call-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4); }

/* ============================================
   32. ETA CARD
   ============================================ */
.eta-card-main {
    background: linear-gradient(135deg, #0277BD 0%, #01579B 100%);
    color: #fff;
    border-radius: 20px;
    padding: 22px 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(2, 119, 189, 0.3);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.eta-card-main::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.eta-icon {
    font-size: 40px;
    width: 68px; height: 68px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.eta-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    min-width: 200px;
}

.eta-label {
    font-size: 11px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 4px;
}

.eta-info strong {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

.eta-info small { font-size: 12px; opacity: 0.9; margin-top: 4px; }

.eta-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.eta-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4FC3F7, #81D4FA, #B3E5FC);
    border-radius: 50px;
    transition: width 1s ease;
    box-shadow: 0 0 12px rgba(255,255,255,0.5);
}

/* ============================================
   33. RIDER ETA BADGE
   ============================================ */
.rider-eta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    color: #E65100;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
    border: 1px solid #FFB74D;
    width: fit-content;
}

.rider-eta-badge strong { color: #E65100; font-size: 14px; font-weight: 800; }

.eta-pulse {
    width: 8px; height: 8px;
    background: #F58220;
    border-radius: 50%;
    animation: pulseEta 1.5s infinite;
    flex-shrink: 0;
}

@keyframes pulseEta {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

/* ============================================
   34. LIVE TRACKING CARD
   ============================================ */
.live-tracking-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    border-left: 4px solid #0277BD;
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px dashed #f0f0f0;
}

.tracking-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: #1E5631;
    font-weight: 800;
    margin: 0;
}

.live-badge {
    color: #ef4444;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    animation: livePulse 1.5s infinite;
    background: rgba(239, 68, 68, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.tracking-map {
    height: 200px;
    background: linear-gradient(135deg, #E1F5FE 0%, #B3E5FC 50%, #E1F5FE 100%);
    border-radius: 14px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #0277BD;
}

.tracking-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(2, 119, 189, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 119, 189, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
}

.map-route-line {
    position: absolute;
    top: 50%; left: 15%; right: 15%;
    height: 3px;
    background: repeating-linear-gradient(90deg, #0277BD 0, #0277BD 10px, transparent 10px, transparent 20px);
    transform: translateY(-50%);
    opacity: 0.5;
    z-index: 1;
}

.map-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.map-pin-restaurant { left: 10%; top: 50%; transform: translateY(-50%); }
.map-pin-customer { right: 10%; top: 50%; transform: translateY(-50%); }

.pin-icon {
    font-size: 28px;
    background: #fff;
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 2px solid #0277BD;
}

.pin-label {
    font-size: 10px;
    font-weight: 700;
    color: #0277BD;
    margin-top: 4px;
    background: #fff;
    padding: 2px 8px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.rider-marker {
    font-size: 42px;
    animation: riderMove 3s ease-in-out infinite;
    z-index: 3;
    filter: drop-shadow(0 6px 16px rgba(2, 119, 189, 0.4));
    position: relative;
}

@keyframes riderMove {
    0%, 100% { transform: translateX(-60px) rotate(-5deg); }
    50% { transform: translateX(60px) rotate(5deg); }
}

.map-text {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 86, 49, 0.9);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 2;
}

.tracking-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #FAFAFA;
    border-radius: 12px;
}

.tracking-stat { flex: 1; display: flex; align-items: center; gap: 10px; }
.tracking-stat > span { font-size: 24px; flex-shrink: 0; }
.tracking-stat > div { display: flex; flex-direction: column; min-width: 0; }

.tracking-stat strong {
    font-size: 13px;
    color: #1E5631;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tracking-stat small { font-size: 11px; color: #888; }

.tracking-arrow {
    font-size: 22px;
    color: #F58220;
    font-weight: 800;
    flex-shrink: 0;
}

/* ============================================
   35. COUPON SYSTEM
   ============================================ */
.cart-coupon-section { margin-bottom: 16px; }

.coupon-applied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #d1fae5, #ecfdf5);
    border: 2px dashed #10b981;
    border-radius: 12px;
    animation: couponSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes couponSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.coupon-applied-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.coupon-applied-icon { font-size: 26px; flex-shrink: 0; }
.coupon-applied-info { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }

.coupon-applied-info strong {
    font-size: 15px;
    color: #065f46;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.coupon-applied-save { font-size: 12px; color: #059669; font-weight: 600; }

.coupon-remove-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--white);
    color: #991b1b;
    border: 1.5px solid #fecaca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.coupon-remove-btn:hover:not(:disabled) {
    background: #fee2e2;
    border-color: #ef4444;
    transform: rotate(90deg) scale(1.1);
}

.coupon-remove-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.breakdown-row.discount-row {
    color: #059669 !important;
    font-weight: 700;
    padding: 10px 0;
    border-top: 1px dashed rgba(16, 185, 129, 0.3);
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
}

.discount-amount {
    color: #059669 !important;
    font-weight: 800 !important;
    font-family: 'Playfair Display', serif;
    font-size: 15px;
}

/* ============================================
   36. RESPONSIVE — TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .hero h1 { font-size: 46px; }
    .section-title { font-size: 36px; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .product-detail-grid { grid-template-columns: 360px 1fr; gap: 32px; }
    .product-image-wrap { max-width: 360px; }
    .cart-grid { grid-template-columns: 1fr 340px; gap: 24px; }
    .checkout-grid { grid-template-columns: 1fr 340px; gap: 24px; }
}

/* ============================================
   37. RESPONSIVE — MOBILE (max-width: 900px)
   ============================================ */
@media (max-width: 900px) {
    :root { --header-height: 70px; }
    
    .header-inner { padding: 0 16px; gap: 12px; }
    .logo-img { height: 44px; }
    .location-selector { display: none; }
    .header-actions { order: 2; margin-left: auto; }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
        margin-left: 4px;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #FFF8EE;
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
        border-top: 1px solid rgba(30, 86, 49, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        transform: translateY(-150%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.35s ease,
                    visibility 0.35s ease;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 999;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        display: flex;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav a {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 0;
        border-bottom: 1px solid rgba(30, 86, 49, 0.06);
        color: #1E5631;
    }
    
    .main-nav a:last-child { border-bottom: none; }
    .main-nav a:hover { background: rgba(245, 130, 32, 0.08); color: #F58220; }
    
    .hero { padding: 60px 0 50px; min-height: auto; }
    .hero h1 { font-size: 38px; }
    .hero p { font-size: 16px; }
    .hero-search-row {
        flex-direction: column;
        max-width: 100%;
        gap: 10px;
    }
    .location-selector {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }
    .hero-search-box {
        width: 100%;
        min-width: 100%;
    }
    .location-dropdown {
        width: 100%;
        max-width: calc(100vw - 32px);
        left: 50%;
        transform: translateX(-50%) translateY(-8px);
    }
    .location-dropdown.active {
        transform: translateX(-50%) translateY(0);
    }
    .hero-stats { gap: 32px; }
    .hero-stat h3 { font-size: 24px; }
    
    .section-title { font-size: 28px; }
    .section-header-inline h2 { font-size: 24px; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    
    .menu-header h1 { font-size: 32px; }
    .menu-header { padding: 40px 0 50px; }
    .menu-categories { top: 60px; }
    .menu-filters-bar { top: 120px; position: relative; }
    .filters-row { gap: 16px; }
    .filter-results { width: 100%; margin-left: 0; justify-content: center; }
    
    .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
    .product-image-wrap { position: static; max-width: 100%; }
    .product-image-main { max-width: 400px; margin: 0 auto; }
    .product-title { font-size: 32px; }
    .price-big { font-size: 32px; }
    .product-emoji-big { font-size: 130px; }
    
    .cart-grid { grid-template-columns: 1fr; gap: 24px; }
    .cart-summary-wrap { position: static; }
    .cart-header h1 { font-size: 28px; }
    
    .checkout-grid { grid-template-columns: 1fr; gap: 24px; }
    .checkout-right { position: static; }
    .checkout-header h1 { font-size: 28px; }
    
    .restaurants-header h1 { font-size: 28px; }
    .restaurants-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
    .restaurant-detail-card { padding: 20px; }
    .restaurant-detail-info h1 { font-size: 26px; }
    
    .sw-restaurants-section { padding: 40px 0 24px; }
    .sw-restaurants-scroll { padding: 8px 16px 16px; gap: 12px; }
    .sw-restaurant-card { flex: 0 0 280px; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-actions { grid-template-columns: repeat(2, 1fr); }
    
    .order-detail-grid { grid-template-columns: 1fr; }
    .sticky-bill { position: static; }
    
    /* Plans responsive */
    .plan-detail-grid { grid-template-columns: 1fr; }
    .subscribe-card { position: static; }
    .sub-list-body { grid-template-columns: repeat(2, 1fr); }
    .plans-header h1 { font-size: 32px; }
}

/* ============================================
   38. RESPONSIVE — SMALL MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    .site-header { height: auto; min-height: 60px; }
    .header-inner { padding: 10px 12px; gap: 8px; flex-wrap: nowrap; }
    .logo-img { height: 40px; }
    .location-selector { display: none; }
    .header-actions { gap: 6px; margin-left: auto; }

    .cart-btn { padding: 8px 12px; font-size: 12px; gap: 4px; }
    .cart-count { width: 18px; height: 18px; font-size: 10px; top: -4px; right: -4px; }
    .header-actions .btn { padding: 8px 14px !important; font-size: 12px !important; }
    .header-actions .btn-primary { display: none; }
    .mobile-menu-toggle { display: flex !important; margin-left: 4px; }

    .menu-header { padding: 30px 0 36px; }
    .menu-header h1 { font-size: 24px; }
    .menu-header p { font-size: 13px; margin-bottom: 20px; }
    .menu-search-form { padding: 5px; }
    .menu-search-form input { padding: 10px 6px; font-size: 14px; }
    .menu-search-btn { padding: 10px 18px; font-size: 12px; }
    .menu-search-icon { padding-left: 12px; font-size: 15px; }

    .menu-categories { padding: 14px 0; top: 60px; overflow: hidden; }
    .menu-categories .container { padding: 0 12px; }
    .category-pills-scroll { gap: 8px; padding: 4px 0; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
    .category-pill { padding: 8px 14px; font-size: 12px; gap: 5px; scroll-snap-align: start; }
    .category-pill .pill-icon { font-size: 14px; }
    .pill-count { font-size: 10px; padding: 1px 6px; min-width: 18px; text-align: center; }

    .menu-filters-bar { position: relative; top: 0; padding: 14px 0; overflow: hidden; background: var(--white); }
    .menu-filters-bar .container { padding: 0 12px; }
    .filters-row { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px 0 8px; }
    .filters-row::-webkit-scrollbar { display: none; }
    .filter-group { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--accent); border-radius: 50px; height: 40px; white-space: nowrap; }
    .filter-label { font-size: 11px; margin: 0; }
    .filter-btns { gap: 4px; }
    .filter-btn { padding: 6px 10px; font-size: 12px; height: 28px; display: inline-flex; align-items: center; gap: 4px; }
    .veg-dot, .nonveg-dot { width: 8px; height: 8px; flex-shrink: 0; }
    .filter-select { padding: 6px 10px; font-size: 12px; height: 28px; background: var(--white); }
    .filter-results { flex: 0 0 100%; width: 100%; margin-left: 0; justify-content: space-between; font-size: 13px; padding-top: 10px; border-top: 1px dashed var(--border); margin-top: 8px; display: flex; align-items: center; }
    .filter-results strong { font-size: 15px; font-weight: 800; }
    .clear-filters { padding: 5px 10px; font-size: 11px; }

    .menu-products { padding: 20px 0 40px; }
    .menu-products .container { padding: 0 12px; }
    .food-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; }
    .food-card { border-radius: 12px; }
    .food-card-image { height: 130px; font-size: 50px; }
    .food-emoji { font-size: 50px !important; }
    .food-badge { padding: 3px 8px; font-size: 9px; top: 8px !important; left: 8px !important; }
    .food-badge.bestseller { left: auto !important; right: 8px !important; }
    .food-fav { width: 28px; height: 28px; font-size: 12px; top: 8px; right: 8px; }
    .food-card-body { padding: 10px 12px 12px; }
    .food-card-header { gap: 4px; margin-bottom: 6px; }
    .food-card-title { font-size: 14px; line-height: 1.3; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .food-card-subtitle { font-size: 10px; gap: 3px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
    .food-rating { font-size: 10px; padding: 2px 6px; }
    .food-desc { display: none; }
    .food-card-footer { padding-top: 8px; margin-top: 8px; gap: 6px; }
    .food-price .price-current { font-size: 16px; }
    .food-price .price-mrp { font-size: 11px; }
    .add-btn { padding: 7px 14px; font-size: 11px; border-radius: 6px; }

    .qty-pill { min-width: 85px; padding: 3px; }
    .qty-pill-btn { width: 26px; height: 26px; font-size: 16px; }
    .qty-pill-value { font-size: 13px; min-width: 20px; }

    .pagination { gap: 4px; margin-top: 24px; }
    .page-btn { min-width: 34px; height: 34px; padding: 0 10px; font-size: 12px; border-radius: 8px; }

    .no-results { padding: 40px 20px; }
    .no-results-icon { font-size: 60px; }
    .no-results h3 { font-size: 18px; }
    .no-results p { font-size: 13px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

    .td-logo-stage { width: 220px; height: 220px; margin-bottom: 32px; }
    .td-logo-main { width: 160px; height: 160px; padding: 10px; }
    .td-logo-glow { width: 180px; height: 180px; }
    .td-logo-chakra { width: 40px; height: 40px; bottom: 12px; right: 12px; padding: 5px; }
    .td-loader-tagline { font-size: 16px; margin-bottom: 22px; }
    .td-loader-dots span { width: 10px; height: 10px; }

    .search-suggestions { max-height: 300px; }
    .suggestion-item { padding: 12px 16px; font-size: 13px; }

    .product-detail { padding: 24px 0 40px; }
    .product-image-main { max-width: 320px; }
    .product-title { font-size: 26px; }
    .product-subtitle { font-size: 14px; }
    .product-actions { gap: 10px; }
    .btn-add-cart { min-width: 0; flex: 1 1 100%; padding: 14px 24px; font-size: 15px; }
    .qty-btn { width: 44px; height: 46px; font-size: 20px; }
    .qty-input { width: 50px; height: 46px; font-size: 16px; }
    .product-trust { gap: 8px; }
    .trust-item { padding: 10px 6px; font-size: 10px; }
    .trust-icon { font-size: 18px; }
    .section-heading { font-size: 24px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .product-emoji-big { font-size: 110px; }
    .price-big { font-size: 28px; }

    .cart-header { padding: 28px 0 36px; }
    .cart-header h1 { font-size: 22px; }
    .cart-header p { font-size: 13px; }
    .cart-section { padding: 24px 0 60px; }
    .cart-items-wrap { padding: 16px; }
    .cart-item { padding: 12px; gap: 12px; }
    .cart-item-image { width: 70px; height: 70px; }
    .cart-item-emoji { font-size: 36px; }
    .cart-item-title { font-size: 14px; }
    .cart-item-footer { gap: 8px; }
    .cart-item-total { width: 100%; text-align: left; font-size: 16px; margin-top: 4px; }
    .cart-summary { padding: 22px 18px; }
    .cart-summary h2 { font-size: 18px; }
    .cart-total { font-size: 17px; }
    .cart-total span:last-child { font-size: 22px; }
    .btn-checkout { padding: 14px 20px; font-size: 15px; }
    .cart-empty { padding: 60px 20px; }
    .cart-empty-icon { font-size: 72px; }
    .cart-empty h2 { font-size: 20px; }

    .checkout-header { padding: 28px 0 36px; }
    .checkout-header h1 { font-size: 22px; }
    .checkout-header p { font-size: 13px; }
    .checkout-section { padding: 24px 0 60px; }
    .checkout-card { padding: 20px 18px; border-radius: var(--radius-lg); }
    .checkout-card-header h2 { font-size: 18px; }
    .step-badge { width: 30px; height: 30px; font-size: 14px; }
    .address-form .form-row { grid-template-columns: 1fr; gap: 0; }
    .payment-option-content { padding: 14px 16px; gap: 12px; }
    .payment-icon { font-size: 26px; }
    .payment-details h3 { font-size: 14px; }
    .payment-details p { font-size: 12px; }
    .order-summary { padding: 22px 18px; border-radius: var(--radius-lg); }
    .summary-total { font-size: 16px; }
    .summary-total span:last-child { font-size: 22px; }
    .btn-place-order { padding: 14px 20px; font-size: 15px; }
    .success-card { padding: 36px 24px; }
    .success-icon { font-size: 70px; }
    .success-card h1 { font-size: 24px; }
    .success-subtitle { font-size: 14px; }
    .order-detail-row { font-size: 13px; }
    .success-actions { flex-direction: column; }
    .success-actions .btn { width: 100%; }

    .restaurants-header { padding: 30px 0 36px; }
    .restaurants-header h1 { font-size: 26px; }
    .restaurants-header p { font-size: 13px; }
    .restaurants-section { padding: 24px 0 60px; }
    .restaurants-grid { grid-template-columns: 1fr; gap: 16px; }
    .restaurant-card-banner { height: 120px; }
    .restaurant-card-body { padding: 18px 18px 14px; }
    .restaurant-card-logo { width: 60px; height: 60px; font-size: 30px; top: -34px; left: 18px; }
    .restaurant-card-info h3 { font-size: 17px; }
    .restaurant-card-footer { padding: 12px 18px; }

    .restaurant-detail-hero { padding: 24px 0 20px; }
    .restaurant-detail-card { padding: 20px; flex-direction: column; text-align: center; }
    .restaurant-detail-logo { width: 80px; height: 80px; font-size: 40px; margin: 0 auto; }
    .restaurant-detail-info h1 { font-size: 24px; }
    .restaurant-detail-meta { justify-content: center; }
    .restaurant-menu-section { padding: 24px 0 60px; }

    .sw-restaurants-section { padding: 40px 0 24px; }
    .sw-restaurants-section .section-header-inline { padding: 0 16px !important; margin-bottom: 16px !important; }
    .sw-restaurants-scroll { padding: 8px 16px 16px; gap: 12px; }
    .sw-restaurant-card { flex: 0 0 260px; }
    .sw-card-banner { height: 140px; }
    .sw-card-title { font-size: 15px; }
    .sw-card-cuisine { font-size: 12px; }
    .sw-card-meta { font-size: 11px; }
    .sw-offer-badge { font-size: 10px; padding: 4px 8px; }
    .sw-time-badge { font-size: 10px; padding: 4px 8px; }

    .vendor-login-card { padding: 36px 24px; }
    .vendor-logo h1 { font-size: 20px; }

    .user-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0; right: 0;
        border-radius: 20px 20px 0 0;
        min-width: 100%;
        max-height: 80vh;
        overflow-y: auto;
        transform: translateY(100%);
        padding-bottom: 30px;
    }
    
    .user-dropdown.active { transform: translateY(0); }
    
    .dropdown-header {
        padding: 18px 20px;
        background: #FDF6EC;
        border-radius: 20px 20px 0 0;
    }

    .dashboard-section { padding: 20px 14px 40px; }
    .dashboard-welcome { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 22px; }
    .welcome-text h1 { font-size: 20px; }
    .btn-order-now { width: 100%; text-align: center; }
    .stats-grid { grid-template-columns: 1fr; gap: 12px; }
    .stat-card { padding: 18px; }
    .stat-value { font-size: 20px; }
    .quick-actions { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .dashboard-section-block { padding: 18px 16px; }
    .order-item { padding: 14px 12px; gap: 12px; }
    .order-icon { width: 40px; height: 40px; font-size: 22px; }
    .order-number { font-size: 13px; }
    .order-meta { font-size: 11px; }
    .badge { font-size: 10px; padding: 4px 9px; }
    .subscriptions-grid { grid-template-columns: 1fr; }

    .order-detail-header { padding: 20px 22px; flex-direction: column; align-items: flex-start; }
    .order-detail-header h1 { font-size: 18px; }
    .order-detail-icon { width: 56px; height: 56px; font-size: 30px; }
    .tracking-timeline { flex-direction: column; gap: 20px; padding: 0; }
    .tracking-timeline::before { display: none; }
    .tracking-step { flex-direction: row; text-align: left; gap: 14px; width: 100%; }
    .tracking-dot { margin-bottom: 0; width: 42px; height: 42px; }
    .order-detail-card { padding: 18px 16px; }
    .card-title-d { font-size: 15px; }
    .orders-list-header h1 { font-size: 24px; }
    .order-list-card { padding: 16px; gap: 14px; }
    .order-list-icon { width: 48px; height: 48px; font-size: 24px; }
    .order-list-top { flex-direction: column; }

    .otp-card-delivery { flex-direction: column; text-align: center; padding: 24px 20px; gap: 16px; }
    .otp-icon-large { width: 72px; height: 72px; font-size: 44px; }
    .otp-code-display { font-size: 34px; letter-spacing: 8px; padding: 10px 18px; }
    .otp-content h2 { font-size: 18px; }
    .rider-card-delivery { flex-wrap: wrap; }
    .rider-call-btn { width: 100%; text-align: center; }

    .eta-card-main { flex-direction: column; text-align: center; padding: 20px 22px; }
    .eta-icon { width: 56px; height: 56px; font-size: 32px; }
    .eta-info strong { font-size: 22px; }
    .tracking-map { height: 160px; }
    .rider-marker { font-size: 34px; }
    .pin-icon { width: 40px; height: 40px; font-size: 22px; }
    .tracking-stat strong { font-size: 12px; }
    .tracking-arrow { font-size: 18px; }
}

/* ============================================
   39. RESPONSIVE — EXTRA SMALL (max-width: 600px)
   ============================================ */
@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 32px; }
    .hero-badge { font-size: 11px; padding: 8px 16px; }
    .hero-search-box { padding: 10px; flex-wrap: wrap; }
    .hero-search-box input { width: 100%; padding: 10px 8px; }
    .hero-search-submit-btn { width: 100%; padding: 14px; }
    
    .offer-card { flex: 0 0 280px; min-height: 120px; }
    .offer-title { font-size: 22px; }
    
    .category-item { width: 100px; }
    .category-circle { width: 90px; height: 90px; font-size: 40px; }
    .category-name { font-size: 12px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .site-footer { padding: 50px 0 24px; }
    
    .auth-card { padding: 36px 26px; }
    .auth-card h2 { font-size: 24px; }
    
    .menu-header h1 { font-size: 26px; }
    .menu-header p { font-size: 14px; }
    .menu-search-form { padding: 5px; }
    .menu-search-form input { padding: 10px 6px; font-size: 14px; }
    .menu-search-btn { padding: 10px 20px; font-size: 13px; }
    .menu-search-icon { padding-left: 14px; font-size: 16px; }
    
    .category-pill { padding: 8px 14px; font-size: 13px; }
    .pill-count { font-size: 10px; padding: 1px 6px; }
    
    .pagination { gap: 6px; }
    .page-btn { min-width: 36px; height: 36px; font-size: 13px; padding: 0 12px; }
}

/* ============================================
   40. RESPONSIVE — TINY (max-width: 380px)
   ============================================ */
@media (max-width: 380px) {
    .food-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .food-card-image { height: 110px; font-size: 42px; }
    .food-card-title { font-size: 13px; }
    .food-card-body { padding: 8px 10px 10px; }
    .add-btn { padding: 6px 10px; font-size: 10px; }
    .category-pill { padding: 7px 12px; font-size: 11px; }
    .footer-grid { grid-template-columns: 1fr; }
    .td-logo-stage { width: 200px; height: 200px; }
    .td-logo-main { width: 145px; height: 145px; }
    .td-loader-tagline { font-size: 14px; }

    .sw-restaurant-card { flex: 0 0 240px; }
    .sw-card-banner { height: 130px; }

    .main-nav { top: 60px; }
    .mobile-menu-toggle span { width: 22px; }
}

/* ============================================
   41. PLANS PAGE (FULL)
   ============================================ */
.plans-section {
    padding: 60px 20px 80px;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFFFFF 100%);
    min-height: 80vh;
}
.plans-section .container { max-width: 1100px; margin: 0 auto; }

.plans-header { text-align: center; margin-bottom: 50px; }

.plans-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(245, 130, 32, 0.15);
    color: #F58220;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.plans-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #1E5631;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.plans-header h1 .highlight { color: #F58220; }
.plans-header p { font-size: 16px; color: #666; max-width: 600px; margin: 0 auto; }

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.plan-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(30, 86, 49, 0.12);
    border-color: #F58220;
}

.plan-popular { border-color: #F58220; box-shadow: 0 8px 30px rgba(245, 130, 32, 0.15); }

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.4);
    white-space: nowrap;
}

.plan-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #1E5631;
    font-weight: 800;
    margin-bottom: 6px;
}

.plan-header p { font-size: 13px; color: #888; line-height: 1.5; margin-bottom: 20px; }

.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }

.plan-price-value {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 800;
    color: #1E5631;
    line-height: 1;
}

.plan-price-label { font-size: 14px; color: #888; font-weight: 600; }

.plan-perday {
    display: inline-block;
    padding: 4px 12px;
    background: #E8F5E9;
    color: #1E5631;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-features li {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    font-weight: 500;
}

.plan-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 6px 18px rgba(245, 130, 32, 0.30);
    transition: all 0.25s ease;
}

.plan-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(245, 130, 32, 0.40); }

/* Plan Detail */
.plan-detail-section {
    padding: 40px 20px 80px;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFFFFF 100%);
    min-height: 80vh;
}
.plan-detail-section .container { max-width: 1000px; margin: 0 auto; }

.plan-detail-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 32px;
    align-items: start;
}

.plan-detail-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.plan-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(245, 130, 32, 0.15);
    color: #F58220;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.plan-detail-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #1E5631;
    font-weight: 800;
    margin-bottom: 10px;
}

.plan-detail-header p { font-size: 15px; color: #666; line-height: 1.6; margin-bottom: 24px; }

.plan-detail-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 20px 0;
    border-top: 2px dashed #f0f0f0;
    border-bottom: 2px dashed #f0f0f0;
    margin-bottom: 16px;
}

.price-big {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 800;
    color: #F58220;
    line-height: 1;
}

.price-sub { font-size: 15px; color: #888; font-weight: 600; }

.plan-detail-perday {
    display: inline-block;
    padding: 8px 16px;
    background: #E8F5E9;
    color: #1E5631;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 28px;
}

.plan-detail-features h3 {
    font-size: 16px;
    color: #1E5631;
    margin-bottom: 14px;
    font-weight: 700;
}

.plan-detail-features ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-detail-features li { font-size: 14px; color: #555; line-height: 1.5; }

/* Subscribe Form */
.subscribe-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 8px 32px rgba(30, 86, 49, 0.12);
    border: 2px solid #f0f0f0;
    position: sticky;
    top: 100px;
}

.subscribe-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #1E5631;
    font-weight: 800;
    margin-bottom: 24px;
}

.subscribe-card .form-group { margin-bottom: 18px; }
.subscribe-card label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.subscribe-card input,
.subscribe-card select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #eaeaea;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #FFFFFF;
    outline: none;
    transition: all 0.2s ease;
}

.subscribe-card input:focus,
.subscribe-card select:focus {
    border-color: #F58220;
    box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.15);
}

.no-address-warning {
    padding: 14px 16px;
    background: #FFF3E0;
    border-radius: 10px;
    border-left: 3px solid #F58220;
}

.no-address-warning p {
    font-size: 13px;
    color: #92400e;
    margin: 0 0 10px;
    font-weight: 600;
}

.login-prompt { text-align: center; padding: 30px 20px; }
.login-prompt p { font-size: 15px; color: #666; margin-bottom: 16px; }

.subscribe-summary {
    padding: 16px 0;
    border-top: 2px dashed #f0f0f0;
    border-bottom: 2px dashed #f0f0f0;
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 800;
    color: #1E5631;
}

.summary-row span:last-child {
    color: #F58220;
    font-size: 22px;
    font-family: 'Playfair Display', serif;
}

.btn-subscribe {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(245, 130, 32, 0.30);
    transition: all 0.25s ease;
    font-family: inherit;
}

.btn-subscribe:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 130, 32, 0.40);
}

.btn-subscribe:disabled { opacity: 0.5; cursor: not-allowed; }

/* Subscriptions List */
.subscriptions-list { display: flex; flex-direction: column; gap: 16px; }

.sub-list-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 24px 26px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.sub-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 2px dashed #f0f0f0;
    gap: 12px;
    flex-wrap: wrap;
}

.sub-list-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #1E5631;
    font-weight: 800;
    margin: 0 0 4px;
}

.sub-list-header small { font-size: 12px; color: #888; }

.sub-status-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.sub-list-body {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.sub-list-stat { display: flex; flex-direction: column; gap: 4px; }
.sub-list-stat span {
    font-size: 11px;
    color: #888;
    font-weight: 700;
    text-transform: uppercase;
}
.sub-list-stat strong { font-size: 15px; color: #1E5631; font-weight: 800; }

.sub-list-actions { display: flex; gap: 10px; }

.sub-action-btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sub-action-btn.primary {
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
}

/* Subscription Detail - Days Grid */
.days-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 24px 26px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    margin-top: 24px;
    border: 1px solid #f0f0f0;
}

.days-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #1E5631;
    margin-bottom: 20px;
    font-weight: 800;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.day-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid rgba(0,0,0,0.06);
}

.day-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
    padding-right: 12px;
    border-right: 1px solid rgba(0,0,0,0.1);
}

.day-date strong { font-size: 20px; font-weight: 800; line-height: 1; }
.day-date small { font-size: 10px; text-transform: uppercase; font-weight: 700; opacity: 0.7; }

.day-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.day-info span { font-size: 11px; opacity: 0.7; font-weight: 600; }
.day-info strong { font-size: 13px; font-weight: 700; }

.day-skip-btn {
    padding: 6px 12px;
    background: rgba(255,255,255,0.9);
    color: #C62828;
    border: 1px solid #C62828;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.day-skip-btn:hover { background: #C62828; color: #FFFFFF; }

.sub-actions {
    display: flex;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px dashed #f0f0f0;
}

.btn-pause, .btn-resume {
    padding: 10px 22px;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-pause { background: #FFF3E0; color: #F58220; }
.btn-resume { background: #E8F5E9; color: #1E5631; }

.info-banner {
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.info-banner.warning {
    background: #FFF3E0;
    color: #92400e;
    border-left: 4px solid #F58220;
}

.info-banner a {
    color: #F58220;
    font-weight: 800;
    text-decoration: underline;
}

/* Plans Responsive */
@media (max-width: 900px) {
    .plan-detail-grid { grid-template-columns: 1fr; }
    .subscribe-card { position: static; }
    .sub-list-body { grid-template-columns: repeat(2, 1fr); }
    .plans-header h1 { font-size: 32px; }
}

@media (max-width: 640px) {
    .plans-header h1 { font-size: 26px; }
    .plans-grid { grid-template-columns: 1fr; }
    .plan-card { padding: 24px 20px; }
    .sub-list-body { grid-template-columns: 1fr; }
    .days-grid { grid-template-columns: 1fr; }
}

/* ============================================
   42. CUSTOMER DASHBOARD - UPGRADED
   ============================================ */
.stats-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.stat-red {
    border-left-color: #C0392B;
}

/* Active Subscription Card */
.active-sub-card {
    background: linear-gradient(135deg, #7B1FA2 0%, #4A148C 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(123, 31, 162, 0.30);
    position: relative;
    overflow: hidden;
}

.active-sub-card::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.20) 0%, transparent 70%);
    border-radius: 50%;
}

.active-sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px dashed rgba(255,255,255,0.25);
    position: relative;
    z-index: 1;
}

.active-sub-label {
    font-size: 11px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.active-sub-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
}

.active-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.active-sub-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.active-sub-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.active-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.active-stat-icon { font-size: 22px; }

.active-stat strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.active-stat small {
    font-size: 10px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.active-sub-btn {
    padding: 10px 22px;
    background: #ffffff;
    color: #7B1FA2;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.active-sub-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.3);
}

/* Dashboard Coupons */
.dashboard-coupons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.dash-coupon-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border: 2px dashed #F58220;
    border-radius: 12px;
}

.dash-coupon-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.dash-coupon-icon { font-size: 28px; flex-shrink: 0; }

.dash-coupon-left strong {
    display: block;
    font-size: 14px;
    color: #F58220;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.dash-coupon-left small {
    font-size: 11px;
    color: #92400e;
    font-weight: 600;
}

.dash-coupon-copy {
    padding: 8px 16px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.dash-coupon-copy:hover { transform: translateY(-2px); }

/* Favorite Items */
.fav-items-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 0 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.fav-items-scroll::-webkit-scrollbar { display: none; }

.fav-item-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    background: #FAFAFA;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.fav-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(245, 130, 32, 0.15);
    border-color: #F58220;
}

.fav-item-image {
    height: 110px;
    background: linear-gradient(135deg, #FFF8EE, #FDF6EC);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    overflow: hidden;
}

.fav-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fav-item-body {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fav-item-body h4 {
    font-size: 13px;
    font-weight: 700;
    color: #1E5631;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fav-item-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #888;
    font-weight: 600;
}

.fav-item-meta span:first-child {
    color: #F58220;
    font-weight: 800;
    font-size: 13px;
}

.fav-item-reorder {
    padding: 7px 14px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: auto;
}

.fav-item-reorder:hover { transform: translateY(-2px); }

/* Dashboard Addresses */
.dash-addresses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}

.dash-address-card {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: #FAFAFA;
    border-radius: 12px;
    border-left: 3px solid #F58220;
}

.dash-address-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
}

.dash-address-info {
    flex: 1;
    min-width: 0;
}

.dash-address-info strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #1E5631;
    font-weight: 700;
    margin-bottom: 4px;
}

.default-tag {
    background: #E8F5E9;
    color: #1E5631;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dash-address-info small {
    font-size: 12px;
    color: #888;
    display: block;
    line-height: 1.5;
}

/* Refer & Earn Banner */
.refer-banner {
    background: linear-gradient(135deg, #F58220 0%, #d96f10 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(245, 130, 32, 0.30);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.refer-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.20) 0%, transparent 70%);
    border-radius: 50%;
}

.refer-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 200px;
}

.refer-icon { font-size: 42px; flex-shrink: 0; }

.refer-content strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
    color: #ffffff;
}

.refer-content p {
    font-size: 13px;
    opacity: 0.95;
    margin: 0;
}

.refer-btn {
    padding: 12px 24px;
    background: #ffffff;
    color: #F58220;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.refer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Dashboard Toast */
.dash-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.20);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-toast.show {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 900px) {
    .stats-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .active-sub-body { flex-direction: column; align-items: flex-start; }
    .active-sub-stats { gap: 16px; }
}

@media (max-width: 640px) {
    .stats-grid-4 { grid-template-columns: 1fr; }
    .active-sub-card { padding: 20px; }
    .active-sub-name { font-size: 18px; }
    .active-sub-stats { width: 100%; }
    .active-stat strong { font-size: 13px; }
    .active-sub-btn { width: 100%; text-align: center; }
    .dash-addresses { grid-template-columns: 1fr; }
    .refer-banner { flex-direction: column; text-align: center; }
    .refer-content { flex-direction: column; text-align: center; }
    .refer-btn { width: 100%; }
    .dash-toast { left: 16px; right: 16px; bottom: 16px; text-align: center; }
}

/* ============================================
   43. PROFILE PAGE
   ============================================ */
.profile-section {
    padding: 40px 20px 80px;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFFFFF 100%);
    min-height: 80vh;
}

.profile-section .container { max-width: 1000px; margin: 0 auto; }

.profile-header {
    display: flex;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, #1E5631 0%, #2d7a48 100%);
    color: #FFFFFF;
    padding: 32px 36px;
    border-radius: 20px;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(30, 86, 49, 0.20);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.20) 0%, transparent 70%);
    border-radius: 50%;
}

.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    z-index: 1;
}

.profile-avatar-img,
.profile-avatar-large {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #FFFFFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    font-size: 44px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
}

.profile-photo-form {
    position: absolute;
    bottom: 0;
    right: 0;
}

.profile-photo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: #F58220;
    color: #FFFFFF;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.4);
    transition: all 0.2s ease;
}

.profile-photo-btn:hover {
    transform: scale(1.05);
    background: #d96f10;
}

.profile-header-info {
    flex: 1;
    position: relative;
    z-index: 1;
    min-width: 200px;
}

.profile-header-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #FFE0B8;
}

.profile-header-info p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0 0 6px;
    line-height: 1.5;
}

.profile-joined {
    font-size: 12px !important;
    opacity: 0.75 !important;
    margin-top: 8px !important;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.25);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.profile-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.profile-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #1E5631;
    font-weight: 800;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px dashed #f0f0f0;
}

.profile-card .form-group {
    margin-bottom: 18px;
}

.profile-card label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.profile-card input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #eaeaea;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #FFFFFF;
    outline: none;
    transition: all 0.2s ease;
}

.profile-card input:focus {
    border-color: #F58220;
    box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.15);
}

.btn-save {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 6px 18px rgba(245, 130, 32, 0.30);
    transition: all 0.25s ease;
    margin-top: 10px;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 130, 32, 0.40);
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 28px 22px;
    }
    
    .profile-header-info h1 { font-size: 22px; }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-card {
        padding: 24px 20px;
    }
}

/* ============================================
   44. ADDRESSES PAGE
   ============================================ */
.addresses-section {
    padding: 40px 20px 80px;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFFFFF 100%);
    min-height: 80vh;
}

.addresses-section .container { max-width: 1100px; margin: 0 auto; }

.addresses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    gap: 16px;
    flex-wrap: wrap;
}

.addresses-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #1E5631;
    font-weight: 800;
    margin: 0 0 6px;
}

.addresses-header p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.btn-add-address {
    padding: 12px 24px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 6px 18px rgba(245, 130, 32, 0.30);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-add-address:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 130, 32, 0.40);
}

.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.address-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 2px solid #f0f0f0;
    transition: all 0.25s ease;
    display: flex;
    gap: 16px;
    position: relative;
}

.address-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 86, 49, 0.12);
    border-color: #F58220;
}

.address-default {
    border-color: #F58220;
    background: linear-gradient(135deg, #FFF8EE 0%, #FFFFFF 100%);
}

.address-default-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(245, 130, 32, 0.3);
}

.address-card-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: #FDF6EC;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.address-card-body {
    flex: 1;
    min-width: 0;
}

.address-card-header {
    margin-bottom: 10px;
}

.address-card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #1E5631;
    font-weight: 800;
    margin: 0;
}

.address-card-info p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 4px;
}

.address-card-info strong {
    display: block;
    font-size: 14px;
    color: #1E5631;
    font-weight: 700;
    margin-bottom: 6px;
}

.address-landmark {
    font-size: 12px !important;
    color: #F58220 !important;
    font-style: italic;
}

.address-phone {
    font-size: 13px !important;
    color: #1E5631 !important;
    font-weight: 600;
    margin-top: 8px !important;
}

.address-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #f0f0f0;
    flex-wrap: wrap;
}

.btn-action {
    padding: 7px 14px;
    border-radius: 50px;
    border: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.btn-action.set-default {
    background: #FFF3E0;
    color: #F58220;
}

.btn-action.set-default:hover {
    background: #F58220;
    color: #FFFFFF;
}

.btn-action.edit {
    background: #E3F2FD;
    color: #1976D2;
}

.btn-action.edit:hover {
    background: #1976D2;
    color: #FFFFFF;
}

.btn-action.delete {
    background: #FFEBEE;
    color: #C62828;
}

.btn-action.delete:hover {
    background: #C62828;
    color: #FFFFFF;
}

/* Empty State */
.empty-addresses {
    text-align: center;
    padding: 80px 20px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.empty-addresses-icon {
    font-size: 80px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-addresses h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #1E5631;
    margin: 0 0 8px;
}

.empty-addresses p {
    color: #888;
    font-size: 15px;
    margin: 0 0 24px;
}

/* Modal */
.address-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.address-modal-overlay.active {
    display: flex;
}

.address-modal {
    background: #FFFFFF;
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
    border-top: 5px solid transparent;
    border-image: linear-gradient(90deg, #F58220 0%, #FFFFFF 50%, #1E5631 100%) 1;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.address-modal-header {
    padding: 22px 28px;
    border-bottom: 2px dashed #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #FFFFFF;
    z-index: 5;
    border-radius: 20px 20px 0 0;
}

.address-modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #1E5631;
    font-weight: 800;
    margin: 0;
}

.address-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    color: #666;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.address-modal-close:hover {
    background: #fee2e2;
    color: #c62828;
    transform: rotate(90deg);
}

.address-modal form {
    padding: 24px 28px 28px;
}

.address-modal .form-group {
    margin-bottom: 16px;
}

.address-modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.address-modal label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.address-modal input[type="text"],
.address-modal input[type="tel"],
.address-modal input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #eaeaea;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #FFFFFF;
    outline: none;
    transition: all 0.2s ease;
}

.address-modal input:focus {
    border-color: #F58220;
    box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.15);
}

/* Label Options */
.label-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.label-option {
    flex: 1;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: #FAFAFA;
    border: 2px solid #eaeaea;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.label-option input[type="radio"] {
    display: none;
}

.label-option:has(input:checked) {
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.1), rgba(245, 130, 32, 0.05));
    border-color: #F58220;
    color: #F58220;
}

.address-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed #f0f0f0;
}

.btn-cancel {
    flex: 1;
    padding: 14px 24px;
    background: #f5f5f5;
    color: #666;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background: #e5e5e5;
}

.btn-save-address {
    flex: 2;
    padding: 14px 24px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 6px 18px rgba(245, 130, 32, 0.30);
    transition: all 0.25s ease;
}

.btn-save-address:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 130, 32, 0.40);
}

@media (max-width: 768px) {
    .addresses-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-add-address {
        width: 100%;
        text-align: center;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
    }
    
    .address-modal .form-row {
        grid-template-columns: 1fr;
    }
    
    .address-modal-actions {
        flex-direction: column-reverse;
    }
    
    .addresses-header h1 {
        font-size: 24px;
    }
}
/* ============================================
   28. NOTIFICATION DROPDOWN
   ============================================ */
.notification-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 380px;
    max-width: 90vw;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    overflow: hidden;
}

.notification-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #FAFAFA;
}

.notification-header strong {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: #1E5631;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mark-all-read {
    background: transparent;
    border: none;
    color: #F58220;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 50px;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.mark-all-read:hover {
    background: rgba(245, 130, 32, 0.1);
    color: #d9741a;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
    background: #ffffff;
}

.notification-list::-webkit-scrollbar { width: 5px; }
.notification-list::-webkit-scrollbar-track { background: #f5f5f5; }
.notification-list::-webkit-scrollbar-thumb { background: #d4d4d4; border-radius: 3px; }

.notification-item {
    display: flex;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
    align-items: flex-start;
}

.notification-item:last-child { border-bottom: none; }
.notification-item:hover { background: #FDF6EC; }
.notification-item.unread { background: #FFF8EE; }

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #F58220;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(245, 130, 32, 0.2);
}

.notification-icon {
    font-size: 22px;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.notification-content {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.notification-content strong {
    display: block;
    font-size: 14px;
    color: #1E5631;
    margin-bottom: 4px;
    font-weight: 700;
    line-height: 1.3;
}

.notification-content p {
    font-size: 13px;
    color: #555;
    margin: 0 0 6px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.notification-content small {
    font-size: 11px;
    color: #999;
    font-weight: 500;
}

.notification-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

.notification-empty::before {
    content: '🔔';
    display: block;
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.notification-loading {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 13px;
}

.notification-loading::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto 12px;
    border: 3px solid #f0f0f0;
    border-top-color: #F58220;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.notification-footer {
    padding: 14px 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    background: #FAFAFA;
}

.notification-footer a {
    color: #F58220;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.notification-footer a:hover {
    color: #d9741a;
    gap: 8px;
}

/* ============================================
   29. USER DASHBOARD
   ============================================ */
.dashboard-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFFFFF 100%);
    padding: 40px 20px 60px;
    width: 100%;
    box-sizing: border-box;
}

.dashboard-section .container { max-width: 1100px; margin: 0 auto; }

.dashboard-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1E5631 0%, #2d7a48 100%);
    color: #ffffff;
    padding: 32px 36px;
    border-radius: 20px;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(30, 86, 49, 0.20);
    position: relative;
    overflow: hidden;
}

.dashboard-welcome::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.20) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-text { position: relative; z-index: 1; }
.welcome-text h1 { font-size: 26px; font-weight: 700; margin: 0 0 6px; color: #ffffff; }
.welcome-text p { margin: 0; font-size: 14px; opacity: 0.85; }

.btn-order-now {
    background: #F58220;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(245, 130, 32, 0.40);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-order-now:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(245, 130, 32, 0.50); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.stats-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border-left: 4px solid transparent;
    transition: all 0.25s ease;
}

.stat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10); }
.stat-orange  { border-left-color: #F58220; }
.stat-green   { border-left-color: #1E5631; }
.stat-cream   { border-left-color: #d4a574; }
.stat-red     { border-left-color: #C0392B; }

.stat-icon {
    font-size: 34px;
    line-height: 1;
    width: 54px; height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FDF6EC;
    border-radius: 12px;
}

.stat-content { display: flex; flex-direction: column; }
.stat-value { font-size: 24px; font-weight: 700; color: #1E5631; line-height: 1.1; }
.stat-label { font-size: 13px; color: #888; margin-top: 4px; font-weight: 500; }

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 36px;
}

.quick-action-btn {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.quick-action-btn:hover {
    border-color: #F58220;
    color: #F58220;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 130, 32, 0.15);
}

.qa-icon { font-size: 26px; line-height: 1; }

.dashboard-section-block {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.section-header h2 { font-size: 18px; color: #1E5631; margin: 0; font-weight: 700; }

.view-all { color: #F58220; text-decoration: none; font-size: 13px; font-weight: 600; transition: gap 0.2s ease; }
.view-all:hover { color: #d96f10; }

.orders-list { display: flex; flex-direction: column; gap: 10px; }

.order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: #FAFAFA;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.order-item:hover { background: #FDF6EC; border-color: #F58220; transform: translateX(4px); }

.order-icon {
    font-size: 26px;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    flex-shrink: 0;
}

.order-info { flex: 1; min-width: 0; }
.order-number { font-weight: 700; color: #1E5631; font-size: 14px; margin-bottom: 3px; }
.order-meta { font-size: 12px; color: #888; }
.order-status { flex-shrink: 0; }
.order-arrow { color: #bbb; font-size: 18px; flex-shrink: 0; transition: transform 0.2s ease; }
.order-item:hover .order-arrow { color: #F58220; transform: translateX(4px); }

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.badge-pending          { background: #FFF3E0; color: #F58220; }
.badge-confirmed        { background: #E3F2FD; color: #1976D2; }
.badge-preparing        { background: #FFF8E1; color: #F57C00; }
.badge-ready_for_pickup { background: #F3E5F5; color: #7B1FA2; }
.badge-out_for_delivery { background: #E1F5FE; color: #0277BD; }
.badge-delivered        { background: #E8F5E9; color: #1E5631; }
.badge-cancelled        { background: #FFEBEE; color: #C62828; }
.badge-active           { background: #E8F5E9; color: #1E5631; }

.subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.subscription-card {
    background: linear-gradient(135deg, #FDF6EC 0%, #FFF9F2 100%);
    border: 1px solid #e8d5b7;
    border-radius: 14px;
    padding: 18px 20px;
    transition: all 0.25s ease;
}

.subscription-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(245, 130, 32, 0.15); }

.sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e8d5b7;
}

.sub-plan { font-weight: 700; color: #1E5631; font-size: 15px; }
.sub-details { margin-bottom: 14px; }
.sub-row { display: flex; justify-content: space-between; font-size: 13px; color: #555; padding: 4px 0; }

.sub-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    background: #F58220;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
}

.sub-btn:hover { background: #d96f10; }

.empty-state { text-align: center; padding: 40px 20px; }
.empty-icon { font-size: 56px; margin-bottom: 12px; opacity: 0.6; }
.empty-state h3 { font-size: 18px; color: #1E5631; margin: 0 0 6px; }
.empty-state p { color: #888; font-size: 14px; margin: 0 0 18px; }

.btn-primary-custom {
    display: inline-block;
    background: #F58220;
    color: #fff;
    padding: 11px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(245, 130, 32, 0.30);
}

.btn-primary-custom:hover { background: #d96f10; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245, 130, 32, 0.40); }

/* Active Subscription Card */
.active-sub-card {
    background: linear-gradient(135deg, #7B1FA2 0%, #4A148C 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(123, 31, 162, 0.30);
    position: relative;
    overflow: hidden;
}

.active-sub-card::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.20) 0%, transparent 70%);
    border-radius: 50%;
}

.active-sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px dashed rgba(255,255,255,0.25);
    position: relative;
    z-index: 1;
}

.active-sub-label {
    font-size: 11px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.active-sub-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
}

.active-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.active-sub-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.active-sub-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.active-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.active-stat-icon { font-size: 22px; }

.active-stat strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.active-stat small {
    font-size: 10px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.active-sub-btn {
    padding: 10px 22px;
    background: #ffffff;
    color: #7B1FA2;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.active-sub-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.3);
}

/* Dashboard Coupons */
.dashboard-coupons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.coupon-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.coupon-count-badge {
    background: rgba(245, 130, 32, 0.15);
    color: #F58220;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.dash-coupon-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border: 2px dashed #F58220;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.dash-coupon-card.used {
    background: linear-gradient(135deg, #F5F5F5, #EEEEEE);
    border-color: #CCCCCC;
    opacity: 0.65;
    filter: grayscale(0.4);
}

.dash-coupon-card.used .dash-coupon-icon { opacity: 0.5; }
.dash-coupon-card.used .dash-coupon-left strong {
    color: #999999 !important;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}
.dash-coupon-card.used .dash-coupon-left small { color: #AAAAAA !important; }
.dash-coupon-card.used .dash-coupon-copy {
    background: #CCCCCC !important;
    color: #FFFFFF !important;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.dash-coupon-card.available {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border-color: #F58220;
    opacity: 1;
    filter: none;
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.15);
}

.dash-coupon-card.available:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 130, 32, 0.25);
}

.dash-coupon-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.dash-coupon-icon { font-size: 28px; flex-shrink: 0; }

.dash-coupon-left strong {
    display: block;
    font-size: 14px;
    color: #F58220;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.dash-coupon-left small {
    font-size: 11px;
    color: #92400e;
    font-weight: 600;
}

.dash-coupon-copy {
    padding: 8px 16px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.dash-coupon-copy:hover { transform: translateY(-2px); }
.dash-coupon-copy.copied { background: linear-gradient(135deg, #10b981, #059669) !important; }

.used-badge {
    display: inline-block;
    padding: 3px 10px;
    background: #999999;
    color: #FFFFFF;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-left: 6px;
}

.no-coupons-message {
    text-align: center;
    padding: 30px 20px;
    background: #FAFAFA;
    border-radius: 12px;
    color: #999;
    font-size: 14px;
}

.no-coupons-message .icon {
    font-size: 40px;
    margin-bottom: 8px;
    opacity: 0.5;
    display: block;
}

/* Favorite Items */
.fav-items-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 0 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.fav-items-scroll::-webkit-scrollbar { display: none; }

.fav-item-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    background: #FAFAFA;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.fav-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(245, 130, 32, 0.15);
    border-color: #F58220;
}

.fav-item-image {
    height: 110px;
    background: linear-gradient(135deg, #FFF8EE, #FDF6EC);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    overflow: hidden;
}

.fav-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fav-item-body {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fav-item-body h4 {
    font-size: 13px;
    font-weight: 700;
    color: #1E5631;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fav-item-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #888;
    font-weight: 600;
}

.fav-item-meta span:first-child {
    color: #F58220;
    font-weight: 800;
    font-size: 13px;
}

.fav-item-reorder {
    padding: 7px 14px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: auto;
}

.fav-item-reorder:hover { transform: translateY(-2px); }

/* Dashboard Addresses */
.dash-addresses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}

.dash-address-card {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: #FAFAFA;
    border-radius: 12px;
    border-left: 3px solid #F58220;
}

.dash-address-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
}

.dash-address-info { flex: 1; min-width: 0; }

.dash-address-info strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #1E5631;
    font-weight: 700;
    margin-bottom: 4px;
}

.default-tag {
    background: #E8F5E9;
    color: #1E5631;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dash-address-info small {
    font-size: 12px;
    color: #888;
    display: block;
    line-height: 1.5;
}

/* Refer & Earn Banner */
.refer-banner {
    background: linear-gradient(135deg, #F58220 0%, #d96f10 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(245, 130, 32, 0.30);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.refer-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.20) 0%, transparent 70%);
    border-radius: 50%;
}

.refer-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 200px;
}

.refer-icon { font-size: 42px; flex-shrink: 0; }

.refer-content strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
    color: #ffffff;
}

.refer-content p {
    font-size: 13px;
    opacity: 0.95;
    margin: 0;
}

.refer-btn {
    padding: 12px 24px;
    background: #ffffff;
    color: #F58220;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.refer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Dashboard Toast */
.dash-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.20);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ============================================
   30. CUSTOMER ORDER DETAIL PAGE
   ============================================ */
.order-detail-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFFFFF 100%);
    padding: 30px 20px 60px;
    width: 100%;
    box-sizing: border-box;
}

.order-detail-section .container { max-width: 1100px; margin: 0 auto; }

.back-link {
    display: inline-block;
    color: #F58220;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 20px;
}

.back-link:hover { color: #d96f10; }

.order-detail-header {
    background: linear-gradient(135deg, #1E5631 0%, #2d7a48 100%);
    color: #fff;
    padding: 28px 32px;
    border-radius: 18px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(30, 86, 49, 0.20);
}

.order-detail-header-left { display: flex; align-items: center; gap: 18px; }

.order-detail-icon {
    font-size: 40px; width: 70px; height: 70px;
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
}

.order-detail-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 24px; font-weight: 800; margin: 0 0 4px; color: #FFE0B8;
}

.order-detail-date { font-size: 13px; color: rgba(255,255,255,0.85); margin: 0; }
.status-badge-large { padding: 10px 22px; border-radius: 50px; font-size: 14px; font-weight: 800; text-transform: uppercase; }

.tracking-card {
    background: #fff; border-radius: 18px; padding: 24px 28px;
    margin-bottom: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.section-title-d {
    font-family: 'Playfair Display', serif;
    font-size: 18px; color: #1E5631; font-weight: 800;
    margin: 0 0 20px; padding-bottom: 14px; border-bottom: 2px dashed #f0f0f0;
}

.tracking-timeline { display: flex; justify-content: space-between; padding: 10px 0; position: relative; }

.tracking-timeline::before {
    content: ''; position: absolute; top: 32px; left: 40px; right: 40px;
    height: 3px; background: #f0f0f0; z-index: 0;
}

.tracking-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; }

.tracking-dot {
    width: 50px; height: 50px; border-radius: 50%;
    background: #f0f0f0; color: #999;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px; margin-bottom: 10px;
    border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.tracking-step.completed .tracking-dot { background: linear-gradient(135deg, #1E5631, #2d7a48); color: #fff; }

.tracking-step.current .tracking-dot {
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #fff; transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(245,130,32,0.4);
}

.tracking-info strong { display: block; font-size: 12px; color: #1E5631; font-weight: 700; margin-bottom: 2px; }
.tracking-info small { font-size: 10px; color: #F58220; font-weight: 700; text-transform: uppercase; }

.order-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.order-detail-left { display: flex; flex-direction: column; gap: 20px; }

.order-detail-card {
    background: #fff; border-radius: 18px; padding: 24px 26px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05); border: 1px solid #f0f0f0;
}

.card-title-d {
    font-family: 'Playfair Display', serif;
    font-size: 17px; color: #1E5631; font-weight: 800;
    margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px dashed #f0f0f0;
}

.order-items-detail { display: flex; flex-direction: column; gap: 12px; }

.order-item-detail {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; background: #FAFAFA; border-radius: 10px;
    border-left: 3px solid #1E5631; gap: 12px;
}

.order-item-info strong { font-size: 14px; color: #1E5631; font-weight: 700; display: block; }
.order-item-info span { font-size: 12px; color: #888; }
.order-item-price { font-weight: 800; color: #1E5631; font-family: 'Playfair Display', serif; font-size: 15px; }

.address-detail-box {
    background: #FAFAFA; padding: 16px 18px; border-radius: 10px;
    font-size: 14px; line-height: 1.7; color: #333;
    border-left: 3px solid #F58220;
}

.history-list { display: flex; flex-direction: column; gap: 14px; }
.history-item { display: flex; gap: 14px; position: relative; }

.history-item:not(:last-child)::before {
    content: ''; position: absolute;
    left: 15px; top: 36px; bottom: -14px;
    width: 2px; background: #f0f0f0;
}

.history-dot {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0; z-index: 1;
}

.history-info strong { display: block; font-size: 13px; color: #1E5631; font-weight: 700; margin-bottom: 2px; }
.history-info small { font-size: 11px; color: #888; }
.history-note { font-size: 12px; color: #666; margin: 4px 0 0; font-style: italic; }

.sticky-bill { position: sticky; top: 100px; }

.bill-detail { display: flex; flex-direction: column; gap: 10px; padding-bottom: 16px; border-bottom: 2px dashed #f0f0f0; margin-bottom: 16px; }
.bill-detail-row { display: flex; justify-content: space-between; font-size: 14px; color: #555; }
.bill-detail-row span:last-child { font-weight: 600; color: #1E5631; }
.bill-detail-row.discount { color: #10b981; font-weight: 700; }
.bill-detail-row.discount span:last-child { color: #10b981; }

.bill-detail-total {
    display: flex; justify-content: space-between;
    padding-top: 12px; margin-top: 8px;
    border-top: 2px dashed #f0f0f0;
    font-size: 18px; font-weight: 800; color: #1E5631;
    font-family: 'Playfair Display', serif;
}

.bill-detail-total span:last-child { color: #F58220; font-size: 22px; }

.payment-info { padding: 14px 0; border-bottom: 1px solid #f0f0f0; margin-bottom: 16px; }

.payment-badge {
    display: inline-block; padding: 8px 16px; border-radius: 50px;
    font-size: 13px; font-weight: 700; margin-bottom: 8px;
}

.payment-badge.cod { background: #FFF3E0; color: #F58220; }
.payment-badge.online { background: #E8F5E9; color: #1E5631; }
.payment-status { font-size: 13px; color: #666; }
.payment-status strong { color: #1E5631; }

/* ============================================
   31. MY ORDERS LIST PAGE
   ============================================ */
.orders-list-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFFFFF 100%);
    padding: 40px 20px 60px;
    width: 100%;
    box-sizing: border-box;
}

.orders-list-section .container { max-width: 900px; margin: 0 auto; }
.orders-list-header { margin-bottom: 28px; }

.orders-list-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 30px; color: #1E5631; font-weight: 800; margin: 0 0 6px;
}

.orders-list-header p { color: #6c757d; font-size: 15px; margin: 0; }
.orders-list-grid { display: flex; flex-direction: column; gap: 14px; }

.order-list-card {
    display: flex; align-items: center; gap: 18px;
    background: #fff; border-radius: 16px; padding: 20px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05); border: 1px solid #f0f0f0;
    text-decoration: none; color: inherit; transition: all 0.25s ease;
}

.order-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30, 86, 49, 0.12);
    border-color: #F58220;
}

.order-list-icon {
    font-size: 30px; width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: #FDF6EC; border-radius: 14px; flex-shrink: 0;
}

.order-list-info { flex: 1; min-width: 0; }
.order-list-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.order-list-num { font-weight: 800; color: #1E5631; font-size: 15px; }
.order-list-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: #888; align-items: center; }
.order-list-total { color: #F58220; font-weight: 700; font-family: 'Playfair Display', serif; font-size: 15px; }
.order-list-arrow { color: #bbb; font-size: 20px; transition: transform 0.2s ease; flex-shrink: 0; }
.order-list-card:hover .order-list-arrow { color: #F58220; transform: translateX(4px); }

.empty-orders-state { text-align: center; padding: 80px 20px; background: #fff; border-radius: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.empty-icon-large { font-size: 80px; margin-bottom: 16px; opacity: 0.5; }

.empty-orders-state h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px; color: #1E5631; margin: 0 0 8px;
}

.empty-orders-state p { color: #888; font-size: 15px; margin: 0 0 24px; }

.btn-primary-detail {
    display: inline-block; padding: 12px 28px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #fff; text-align: center; border-radius: 50px;
    font-weight: 700; font-size: 14px; text-decoration: none;
    box-shadow: 0 4px 14px rgba(245,130,32,0.3);
}

.btn-primary-detail:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,130,32,0.4); }

/* ============================================
   32. OTP CARD (Customer Side)
   ============================================ */
.otp-card-delivery {
    background: linear-gradient(135deg, #7B1FA2 0%, #4A148C 100%);
    color: #fff;
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 12px 40px rgba(123, 31, 162, 0.35);
    position: relative;
    overflow: hidden;
    animation: otpPulse 2s infinite;
}

.otp-card-delivery::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

@keyframes otpPulse {
    0%, 100% { box-shadow: 0 12px 40px rgba(123, 31, 162, 0.35); }
    50% { box-shadow: 0 12px 50px rgba(123, 31, 162, 0.55); }
}

.otp-icon-large {
    font-size: 56px;
    width: 90px; height: 90px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.otp-content { flex: 1; position: relative; z-index: 1; }

.otp-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px;
    color: #fff;
}

.otp-content p { font-size: 13px; opacity: 0.9; margin: 0 0 14px; }

.otp-code-display {
    font-family: 'Courier New', monospace;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 10px 24px;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #FFF3E0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.otp-content small {
    display: block;
    font-size: 11px;
    opacity: 0.85;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ============================================
   33. RIDER CARD (Customer Side)
   ============================================ */
.rider-card-delivery {
    background: #fff;
    border-radius: 18px;
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    border-left: 4px solid #7B1FA2;
}

.rider-avatar-large {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7B1FA2, #4A148C);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3);
}

.rider-info-large { flex: 1; display: flex; flex-direction: column; gap: 3px; }

.rider-label {
    font-size: 11px;
    color: #888;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rider-info-large strong { font-size: 16px; color: #1E5631; font-weight: 800; }
.rider-info-large small { font-size: 12px; color: #666; }

.rider-call-btn {
    padding: 11px 22px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.rider-call-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4); }

/* ============================================
   34. ETA CARD
   ============================================ */
.eta-card-main {
    background: linear-gradient(135deg, #0277BD 0%, #01579B 100%);
    color: #fff;
    border-radius: 20px;
    padding: 22px 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(2, 119, 189, 0.3);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.eta-card-main::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.eta-icon {
    font-size: 40px;
    width: 68px; height: 68px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.eta-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    min-width: 200px;
}

.eta-label {
    font-size: 11px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 4px;
}

.eta-info strong {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

.eta-info small { font-size: 12px; opacity: 0.9; margin-top: 4px; }

.eta-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.eta-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4FC3F7, #81D4FA, #B3E5FC);
    border-radius: 50px;
    transition: width 1s ease;
    box-shadow: 0 0 12px rgba(255,255,255,0.5);
}

/* ============================================
   35. RIDER ETA BADGE
   ============================================ */
.rider-eta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    color: #E65100;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
    border: 1px solid #FFB74D;
    width: fit-content;
}

.rider-eta-badge strong { color: #E65100; font-size: 14px; font-weight: 800; }

.eta-pulse {
    width: 8px; height: 8px;
    background: #F58220;
    border-radius: 50%;
    animation: pulseEta 1.5s infinite;
    flex-shrink: 0;
}

@keyframes pulseEta {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

/* ============================================
   36. LIVE TRACKING CARD
   ============================================ */
.live-tracking-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    border-left: 4px solid #0277BD;
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px dashed #f0f0f0;
}

.tracking-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: #1E5631;
    font-weight: 800;
    margin: 0;
}

.live-badge {
    color: #ef4444;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    animation: livePulse 1.5s infinite;
    background: rgba(239, 68, 68, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.tracking-map {
    height: 200px;
    background: linear-gradient(135deg, #E1F5FE 0%, #B3E5FC 50%, #E1F5FE 100%);
    border-radius: 14px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #0277BD;
}

.tracking-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(2, 119, 189, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 119, 189, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
}

.map-route-line {
    position: absolute;
    top: 50%; left: 15%; right: 15%;
    height: 3px;
    background: repeating-linear-gradient(90deg, #0277BD 0, #0277BD 10px, transparent 10px, transparent 20px);
    transform: translateY(-50%);
    opacity: 0.5;
    z-index: 1;
}

.map-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.map-pin-restaurant { left: 10%; top: 50%; transform: translateY(-50%); }
.map-pin-customer { right: 10%; top: 50%; transform: translateY(-50%); }

.pin-icon {
    font-size: 28px;
    background: #fff;
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 2px solid #0277BD;
}

.pin-label {
    font-size: 10px;
    font-weight: 700;
    color: #0277BD;
    margin-top: 4px;
    background: #fff;
    padding: 2px 8px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.rider-marker {
    font-size: 42px;
    animation: riderMove 3s ease-in-out infinite;
    z-index: 3;
    filter: drop-shadow(0 6px 16px rgba(2, 119, 189, 0.4));
    position: relative;
}

@keyframes riderMove {
    0%, 100% { transform: translateX(-60px) rotate(-5deg); }
    50% { transform: translateX(60px) rotate(5deg); }
}

.map-text {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 86, 49, 0.9);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 2;
}

.tracking-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #FAFAFA;
    border-radius: 12px;
}

.tracking-stat { flex: 1; display: flex; align-items: center; gap: 10px; }
.tracking-stat > span { font-size: 24px; flex-shrink: 0; }
.tracking-stat > div { display: flex; flex-direction: column; min-width: 0; }

.tracking-stat strong {
    font-size: 13px;
    color: #1E5631;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tracking-stat small { font-size: 11px; color: #888; }

.tracking-arrow {
    font-size: 22px;
    color: #F58220;
    font-weight: 800;
    flex-shrink: 0;
}

/* ============================================
   37. COUPON SYSTEM
   ============================================ */
.cart-coupon-section { margin-bottom: 16px; }

.coupon-applied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #d1fae5, #ecfdf5);
    border: 2px dashed #10b981;
    border-radius: 12px;
    animation: couponSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes couponSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.coupon-applied-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.coupon-applied-icon { font-size: 26px; flex-shrink: 0; }
.coupon-applied-info { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }

.coupon-applied-info strong {
    font-size: 15px;
    color: #065f46;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.coupon-applied-save { font-size: 12px; color: #059669; font-weight: 600; }

.coupon-remove-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--white);
    color: #991b1b;
    border: 1.5px solid #fecaca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.coupon-remove-btn:hover:not(:disabled) {
    background: #fee2e2;
    border-color: #ef4444;
    transform: rotate(90deg) scale(1.1);
}

.coupon-remove-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.breakdown-row.discount-row {
    color: #059669 !important;
    font-weight: 700;
    padding: 10px 0;
    border-top: 1px dashed rgba(16, 185, 129, 0.3);
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
}

.discount-amount {
    color: #059669 !important;
    font-weight: 800 !important;
    font-family: 'Playfair Display', serif;
    font-size: 15px;
}

/* ============================================
   38. PLANS PAGE
   ============================================ */
.plans-section {
    padding: 60px 20px 80px;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFFFFF 100%);
    min-height: 80vh;
    width: 100%;
    box-sizing: border-box;
}
.plans-section .container { max-width: 1100px; margin: 0 auto; }

.plans-header { text-align: center; margin-bottom: 50px; }

.plans-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(245, 130, 32, 0.15);
    color: #F58220;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.plans-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #1E5631;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.plans-header h1 .highlight { color: #F58220; }
.plans-header p { font-size: 16px; color: #666; max-width: 600px; margin: 0 auto; }

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.plan-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(30, 86, 49, 0.12);
    border-color: #F58220;
}

.plan-popular { border-color: #F58220; box-shadow: 0 8px 30px rgba(245, 130, 32, 0.15); }

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.4);
    white-space: nowrap;
}

.plan-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #1E5631;
    font-weight: 800;
    margin-bottom: 6px;
}

.plan-header p { font-size: 13px; color: #888; line-height: 1.5; margin-bottom: 20px; }

.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }

.plan-price-value {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 800;
    color: #1E5631;
    line-height: 1;
}

.plan-price-label { font-size: 14px; color: #888; font-weight: 600; }

.plan-perday {
    display: inline-block;
    padding: 4px 12px;
    background: #E8F5E9;
    color: #1E5631;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-features li {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    font-weight: 500;
}

.plan-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 6px 18px rgba(245, 130, 32, 0.30);
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.plan-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(245, 130, 32, 0.40); }

/* Plan Detail */
.plan-detail-section {
    padding: 40px 20px 80px;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFFFFF 100%);
    min-height: 80vh;
    width: 100%;
    box-sizing: border-box;
}
.plan-detail-section .container { max-width: 1000px; margin: 0 auto; }

.plan-detail-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 32px;
    align-items: start;
}

.plan-detail-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.plan-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(245, 130, 32, 0.15);
    color: #F58220;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.plan-detail-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #1E5631;
    font-weight: 800;
    margin-bottom: 10px;
}

.plan-detail-header p { font-size: 15px; color: #666; line-height: 1.6; margin-bottom: 24px; }

.plan-detail-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 20px 0;
    border-top: 2px dashed #f0f0f0;
    border-bottom: 2px dashed #f0f0f0;
    margin-bottom: 16px;
}

.price-big {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 800;
    color: #F58220;
    line-height: 1;
}

.price-sub { font-size: 15px; color: #888; font-weight: 600; }

.plan-detail-perday {
    display: inline-block;
    padding: 8px 16px;
    background: #E8F5E9;
    color: #1E5631;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 28px;
}

.plan-detail-features h3 {
    font-size: 16px;
    color: #1E5631;
    margin-bottom: 14px;
    font-weight: 700;
}

.plan-detail-features ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-detail-features li { font-size: 14px; color: #555; line-height: 1.5; }

/* Subscribe Form */
.subscribe-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 8px 32px rgba(30, 86, 49, 0.12);
    border: 2px solid #f0f0f0;
    position: sticky;
    top: 100px;
}

.subscribe-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #1E5631;
    font-weight: 800;
    margin-bottom: 24px;
}

.subscribe-card .form-group { margin-bottom: 18px; }
.subscribe-card label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.subscribe-card input,
.subscribe-card select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #eaeaea;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #FFFFFF;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.subscribe-card input:focus,
.subscribe-card select:focus {
    border-color: #F58220;
    box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.15);
}

.no-address-warning {
    padding: 14px 16px;
    background: #FFF3E0;
    border-radius: 10px;
    border-left: 3px solid #F58220;
}

.no-address-warning p {
    font-size: 13px;
    color: #92400e;
    margin: 0 0 10px;
    font-weight: 600;
}

.login-prompt { text-align: center; padding: 30px 20px; }
.login-prompt p { font-size: 15px; color: #666; margin-bottom: 16px; }

.subscribe-summary {
    padding: 16px 0;
    border-top: 2px dashed #f0f0f0;
    border-bottom: 2px dashed #f0f0f0;
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 800;
    color: #1E5631;
}

.summary-row span:last-child {
    color: #F58220;
    font-size: 22px;
    font-family: 'Playfair Display', serif;
}

.btn-subscribe {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(245, 130, 32, 0.30);
    transition: all 0.25s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.btn-subscribe:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 130, 32, 0.40);
}

.btn-subscribe:disabled { opacity: 0.5; cursor: not-allowed; }

/* Subscriptions List */
.subscriptions-list { display: flex; flex-direction: column; gap: 16px; }

.sub-list-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 24px 26px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.sub-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 2px dashed #f0f0f0;
    gap: 12px;
    flex-wrap: wrap;
}

.sub-list-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #1E5631;
    font-weight: 800;
    margin: 0 0 4px;
}

.sub-list-header small { font-size: 12px; color: #888; }

.sub-status-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.sub-list-body {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.sub-list-stat { display: flex; flex-direction: column; gap: 4px; }
.sub-list-stat span {
    font-size: 11px;
    color: #888;
    font-weight: 700;
    text-transform: uppercase;
}
.sub-list-stat strong { font-size: 15px; color: #1E5631; font-weight: 800; }

.sub-list-actions { display: flex; gap: 10px; }

.sub-action-btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sub-action-btn.primary {
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
}

/* Subscription Detail - Days Grid */
.days-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 24px 26px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    margin-top: 24px;
    border: 1px solid #f0f0f0;
}

.days-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #1E5631;
    margin-bottom: 20px;
    font-weight: 800;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.day-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid rgba(0,0,0,0.06);
}

.day-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
    padding-right: 12px;
    border-right: 1px solid rgba(0,0,0,0.1);
}

.day-date strong { font-size: 20px; font-weight: 800; line-height: 1; }
.day-date small { font-size: 10px; text-transform: uppercase; font-weight: 700; opacity: 0.7; }

.day-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.day-info span { font-size: 11px; opacity: 0.7; font-weight: 600; }
.day-info strong { font-size: 13px; font-weight: 700; }

.day-skip-btn {
    padding: 6px 12px;
    background: rgba(255,255,255,0.9);
    color: #C62828;
    border: 1px solid #C62828;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.day-skip-btn:hover { background: #C62828; color: #FFFFFF; }

.sub-actions {
    display: flex;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px dashed #f0f0f0;
}

.btn-pause, .btn-resume {
    padding: 10px 22px;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-pause { background: #FFF3E0; color: #F58220; }
.btn-resume { background: #E8F5E9; color: #1E5631; }

.info-banner {
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.info-banner.warning {
    background: #FFF3E0;
    color: #92400e;
    border-left: 4px solid #F58220;
}

.info-banner a {
    color: #F58220;
    font-weight: 800;
    text-decoration: underline;
}

/* ============================================
   39. PROFILE PAGE
   ============================================ */
.profile-section {
    padding: 40px 20px 80px;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFFFFF 100%);
    min-height: 80vh;
    width: 100%;
    box-sizing: border-box;
}

.profile-section .container { max-width: 1000px; margin: 0 auto; }

.profile-header {
    display: flex;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, #1E5631 0%, #2d7a48 100%);
    color: #FFFFFF;
    padding: 32px 36px;
    border-radius: 20px;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(30, 86, 49, 0.20);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.20) 0%, transparent 70%);
    border-radius: 50%;
}

.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    z-index: 1;
}

.profile-avatar-img,
.profile-avatar-large {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #FFFFFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    font-size: 44px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
}

.profile-photo-form {
    position: absolute;
    bottom: 0;
    right: 0;
}

.profile-photo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: #F58220;
    color: #FFFFFF;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.4);
    transition: all 0.2s ease;
}

.profile-photo-btn:hover {
    transform: scale(1.05);
    background: #d96f10;
}

.profile-header-info {
    flex: 1;
    position: relative;
    z-index: 1;
    min-width: 200px;
}

.profile-header-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #FFE0B8;
}

.profile-header-info p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0 0 6px;
    line-height: 1.5;
}

.profile-joined {
    font-size: 12px !important;
    opacity: 0.75 !important;
    margin-top: 8px !important;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.25);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.profile-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.profile-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #1E5631;
    font-weight: 800;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px dashed #f0f0f0;
}

.profile-card .form-group {
    margin-bottom: 18px;
}

.profile-card label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.profile-card input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #eaeaea;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #FFFFFF;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.profile-card input:focus {
    border-color: #F58220;
    box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.15);
}

.btn-save {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 6px 18px rgba(245, 130, 32, 0.30);
    transition: all 0.25s ease;
    margin-top: 10px;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 130, 32, 0.40);
}

/* ============================================
   40. ADDRESSES PAGE
   ============================================ */
.addresses-section {
    padding: 40px 20px 80px;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFFFFF 100%);
    min-height: 80vh;
    width: 100%;
    box-sizing: border-box;
}

.addresses-section .container { max-width: 1100px; margin: 0 auto; }

.addresses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    gap: 16px;
    flex-wrap: wrap;
}

.addresses-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #1E5631;
    font-weight: 800;
    margin: 0 0 6px;
}

.addresses-header p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.btn-add-address {
    padding: 12px 24px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 6px 18px rgba(245, 130, 32, 0.30);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-add-address:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 130, 32, 0.40);
}

.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.address-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 2px solid #f0f0f0;
    transition: all 0.25s ease;
    display: flex;
    gap: 16px;
    position: relative;
}

.address-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 86, 49, 0.12);
    border-color: #F58220;
}

.address-default {
    border-color: #F58220;
    background: linear-gradient(135deg, #FFF8EE 0%, #FFFFFF 100%);
}

.address-default-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(245, 130, 32, 0.3);
}

.address-card-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: #FDF6EC;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.address-card-body {
    flex: 1;
    min-width: 0;
}

.address-card-header {
    margin-bottom: 10px;
}

.address-card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #1E5631;
    font-weight: 800;
    margin: 0;
}

.address-card-info p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 4px;
}

.address-card-info strong {
    display: block;
    font-size: 14px;
    color: #1E5631;
    font-weight: 700;
    margin-bottom: 6px;
}

.address-landmark {
    font-size: 12px !important;
    color: #F58220 !important;
    font-style: italic;
}

.address-phone {
    font-size: 13px !important;
    color: #1E5631 !important;
    font-weight: 600;
    margin-top: 8px !important;
}

.address-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #f0f0f0;
    flex-wrap: wrap;
}

.btn-action {
    padding: 7px 14px;
    border-radius: 50px;
    border: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.btn-action.set-default {
    background: #FFF3E0;
    color: #F58220;
}

.btn-action.set-default:hover {
    background: #F58220;
    color: #FFFFFF;
}

.btn-action.edit {
    background: #E3F2FD;
    color: #1976D2;
}

.btn-action.edit:hover {
    background: #1976D2;
    color: #FFFFFF;
}

.btn-action.delete {
    background: #FFEBEE;
    color: #C62828;
}

.btn-action.delete:hover {
    background: #C62828;
    color: #FFFFFF;
}

/* Empty State */
.empty-addresses {
    text-align: center;
    padding: 80px 20px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.empty-addresses-icon {
    font-size: 80px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-addresses h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #1E5631;
    margin: 0 0 8px;
}

.empty-addresses p {
    color: #888;
    font-size: 15px;
    margin: 0 0 24px;
}

/* Modal */
.address-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.address-modal-overlay.active {
    display: flex;
}

.address-modal {
    background: #FFFFFF;
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
    border-top: 5px solid transparent;
    border-image: linear-gradient(90deg, #F58220 0%, #FFFFFF 50%, #1E5631 100%) 1;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.address-modal-header {
    padding: 22px 28px;
    border-bottom: 2px dashed #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #FFFFFF;
    z-index: 5;
    border-radius: 20px 20px 0 0;
}

.address-modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #1E5631;
    font-weight: 800;
    margin: 0;
}

.address-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    color: #666;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.address-modal-close:hover {
    background: #fee2e2;
    color: #c62828;
    transform: rotate(90deg);
}

.address-modal form {
    padding: 24px 28px 28px;
}

.address-modal .form-group {
    margin-bottom: 16px;
}

.address-modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.address-modal label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.address-modal input[type="text"],
.address-modal input[type="tel"],
.address-modal input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #eaeaea;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #FFFFFF;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.address-modal input:focus {
    border-color: #F58220;
    box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.15);
}

/* Label Options */
.label-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.label-option {
    flex: 1;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: #FAFAFA;
    border: 2px solid #eaeaea;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.label-option input[type="radio"] {
    display: none;
}

.label-option:has(input:checked) {
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.1), rgba(245, 130, 32, 0.05));
    border-color: #F58220;
    color: #F58220;
}

.address-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed #f0f0f0;
}

.btn-cancel {
    flex: 1;
    padding: 14px 24px;
    background: #f5f5f5;
    color: #666;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background: #e5e5e5;
}

.btn-save-address {
    flex: 2;
    padding: 14px 24px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 6px 18px rgba(245, 130, 32, 0.30);
    transition: all 0.25s ease;
}

.btn-save-address:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 130, 32, 0.40);
}

/* ============================================
   41. WALLET & REFERRAL SYSTEM
   ============================================ */
.wallet-hero {
    background: linear-gradient(135deg, #7B1FA2 0%, #4A148C 100%);
    color: white;
    border-radius: 20px;
    padding: 32px 36px;
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(123, 31, 162, 0.3);
    position: relative;
    overflow: hidden;
}

.wallet-hero::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.wallet-hero-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.wallet-icon-large {
    font-size: 64px;
}

.wallet-balance-info small {
    font-size: 12px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wallet-balance-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin: 4px 0;
    color: #FFE0B8;
}

.wallet-balance-info p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.wallet-refer-btn {
    background: white;
    color: #7B1FA2;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    position: relative;
    z-index: 1;
    transition: all 0.25s ease;
}

.wallet-refer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.3);
}

.wallet-transactions {
    display: flex;
    flex-direction: column;
}

.wallet-tx-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wallet-tx-item:last-child {
    border-bottom: none;
}

.wallet-tx-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    flex-shrink: 0;
}

.wallet-tx-icon.credit {
    background: #d1fae5;
    color: #059669;
}

.wallet-tx-icon.debit {
    background: #fee2e2;
    color: #dc2626;
}

.wallet-tx-info {
    flex: 1;
    min-width: 0;
}

.wallet-tx-info strong {
    display: block;
    font-size: 14px;
    color: #1E5631;
    margin-bottom: 4px;
    font-weight: 700;
}

.wallet-tx-info small {
    font-size: 12px;
    color: #999;
}

.wallet-tx-amount {
    font-size: 16px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    flex-shrink: 0;
}

.wallet-tx-amount.credit {
    color: #059669;
}

.wallet-tx-amount.debit {
    color: #dc2626;
}

/* Refer & Earn Page */
.refer-hero {
    background: linear-gradient(135deg, #F58220 0%, #d96f10 100%);
    color: white;
    border-radius: 20px;
    padding: 40px 36px;
    margin-bottom: 28px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(245, 130, 32, 0.3);
    position: relative;
    overflow: hidden;
}

.refer-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.refer-icon-large {
    font-size: 72px;
    margin-bottom: 12px;
}

.refer-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin: 0 0 8px;
    position: relative;
    z-index: 1;
}

.refer-hero p {
    font-size: 16px;
    opacity: 0.95;
    margin: 0 0 24px;
    position: relative;
    z-index: 1;
}

.refer-rewards {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.refer-reward-item {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 140px;
    border: 1px solid rgba(255,255,255,0.3);
}

.reward-icon {
    font-size: 28px;
}

.refer-reward-item strong {
    font-size: 22px;
    font-weight: 800;
}

.refer-reward-item small {
    font-size: 12px;
    opacity: 0.9;
}

.referral-code-box {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.referral-code-display {
    flex: 1;
    min-width: 200px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #FFF8EE, #FDF6EC);
    border: 2px dashed #F58220;
    border-radius: 12px;
    text-align: center;
}

.referral-code-display span {
    font-family: 'Courier New', monospace;
    font-size: 28px;
    font-weight: 900;
    color: #F58220;
    letter-spacing: 3px;
}

.btn-copy-code {
    padding: 16px 28px;
    background: linear-gradient(135deg, #F58220, #d96f10);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(245, 130, 32, 0.3);
}

.btn-copy-code:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 130, 32, 0.4);
}

.referral-share {
    padding-top: 20px;
    border-top: 1px dashed #eaeaea;
}

.referral-share p {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn.telegram {
    background: #0088cc;
    color: white;
}

.share-btn.native {
    background: #f0f0f0;
    color: #333;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.referrals-list {
    display: flex;
    flex-direction: column;
}

.referral-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.referral-item:last-child {
    border-bottom: none;
}

.referral-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F58220, #1E5631);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.referral-info {
    flex: 1;
    min-width: 0;
}

.referral-info strong {
    display: block;
    font-size: 14px;
    color: #1E5631;
    font-weight: 700;
    margin-bottom: 2px;
}

.referral-info small {
    font-size: 12px;
    color: #999;
}

.referral-status {
    flex-shrink: 0;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
}

.status-badge.completed {
    background: #d1fae5;
    color: #059669;
}

.status-badge.pending {
    background: #FFF3E0;
    color: #F58220;
}

/* ============================================
   42. RESPONSIVE — TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .hero h1 { font-size: 46px; }
    .section-title { font-size: 36px; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .product-detail-grid { grid-template-columns: 360px 1fr; gap: 32px; }
    .product-image-wrap { max-width: 360px; }
    .cart-grid { grid-template-columns: 1fr 340px; gap: 24px; }
    .checkout-grid { grid-template-columns: 1fr 340px; gap: 24px; }
}

/* ============================================
   43. RESPONSIVE — MOBILE (max-width: 900px)
   ============================================ */
@media (max-width: 900px) {
    :root { --header-height: 70px; }
    
    /* MOBILE OVERFLOW FIX */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }
    
    body * {
        max-width: 100%;
    }
    
    .header-inner { 
        padding: 0 16px; 
        gap: 12px; 
        width: 100%;
        box-sizing: border-box;
    }
    
    .logo-img { height: 44px; }
    .location-selector { display: none; }
    .header-actions { order: 2; margin-left: auto; gap: 8px; }
    
    .mobile-menu-toggle {
        display: flex !important;
        order: 3;
        margin-left: 4px;
    }
    
    /* MAIN NAV — MOBILE MENU FIX */
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #FFF8EE;
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
        border-top: 1px solid rgba(30, 86, 49, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        transform: translateY(-150%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.35s ease,
                    visibility 0.35s ease;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 999;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        display: flex;
        width: 100%;
        box-sizing: border-box;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav a {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 0;
        border-bottom: 1px solid rgba(30, 86, 49, 0.06);
        color: #1E5631;
        box-sizing: border-box;
    }
    
    .main-nav a:last-child { border-bottom: none; }
    .main-nav a:hover { background: rgba(245, 130, 32, 0.08); color: #F58220; }
    
    /* Cart — hide text, show only icon */
    .cart-text { display: none; }
    .cart-btn { padding: 10px 12px; font-size: 16px; }
    
    .hero {
        overflow: visible;
    min-height: 480px;
    display: flex;
    align-items: center;
    z-index: 1;
    width: 100%;
    max-width: 100%;
        
    }
    .hero h1 { font-size: 38px; }
    .hero p { font-size: 16px; }
    .hero-inner { padding: 0 16px; width: 100%; box-sizing: border-box; }
    
    .hero-search-row {
        display: flex;
    align-items: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto 40px;
    justify-content: center;
    position: relative;
    z-index: 100;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    /* ✅ YEH ADD KARO */
    overflow: visible !important;
    }
    
    .location-selector {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }
    
    .hero-search-box {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .location-dropdown {
       position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 440px;
    max-width: 90vw;
    z-index: 99999;
    /* ❌ HATAO: max-height: 500px; */
    /* ❌ HATAO: max-height: 70vh; */
    /* ✅ Yeh rakho: */
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    pointer-events: none;
    }
    
    .location-dropdown.active {
        opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    }
    
    .hero-stats { gap: 32px; }
    .hero-stat h3 { font-size: 24px; }
    
    .section-title { font-size: 28px; }
    .section-header-inline h2 { font-size: 24px; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    
    .menu-header h1 { font-size: 32px; }
    .menu-header { padding: 40px 0 50px; }
    .menu-categories { top: 60px; }
    .menu-filters-bar { top: 120px; position: relative; }
    .filters-row { gap: 16px; }
    .filter-results { width: 100%; margin-left: 0; justify-content: center; }
    
    .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
    .product-image-wrap { position: static; max-width: 100%; }
    .product-image-main { max-width: 400px; margin: 0 auto; }
    .product-title { font-size: 32px; }
    .price-big { font-size: 32px; }
    .product-emoji-big { font-size: 130px; }
    
    .cart-grid { grid-template-columns: 1fr; gap: 24px; }
    .cart-summary-wrap { position: static; }
    .cart-header h1 { font-size: 28px; }
    
    .checkout-grid { grid-template-columns: 1fr; gap: 24px; }
    .checkout-right { position: static; }
    .checkout-header h1 { font-size: 28px; }
    
    .restaurants-header h1 { font-size: 28px; }
    .restaurants-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
    .restaurant-detail-card { padding: 20px; }
    .restaurant-detail-info h1 { font-size: 26px; }
    
    .sw-restaurants-section { padding: 40px 0 24px; }
    .sw-restaurants-scroll { padding: 8px 16px 16px; gap: 12px; }
    .sw-restaurant-card { flex: 0 0 280px; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .quick-actions { grid-template-columns: repeat(2, 1fr); }
    
    .order-detail-grid { grid-template-columns: 1fr; }
    .sticky-bill { position: static; }
    
    /* Plans responsive */
    .plan-detail-grid { grid-template-columns: 1fr; }
    .subscribe-card { position: static; }
    .sub-list-body { grid-template-columns: repeat(2, 1fr); }
    .plans-header h1 { font-size: 32px; }
    
    /* Notification */
    .notification-dropdown {
        width: 340px;
    }
    
    .active-sub-body { flex-direction: column; align-items: flex-start; }
    .active-sub-stats { gap: 16px; }
    
    /* Section headers inline */
    .section-header-inline {
        padding: 0 16px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Containers */
    .container {
        padding: 0 16px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ============================================
   44. RESPONSIVE — SMALL MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    .site-header { height: auto; min-height: 60px; width: 100%; }
    .header-inner { padding: 10px 12px; gap: 8px; flex-wrap: nowrap; width: 100%; box-sizing: border-box; }
    .logo-img { height: 38px; }
    .location-selector { display: none; }
    .header-actions { gap: 6px; margin-left: auto; }
    
    .cart-btn { padding: 8px 10px; font-size: 15px; gap: 4px; }
    .cart-count { min-width: 18px; height: 18px; font-size: 10px; top: -4px; right: -4px; }
    .mobile-menu-toggle { display: flex !important; margin-left: 4px; }
    .mobile-menu-toggle span { width: 22px; }
    
    .wallet-badge { padding: 7px 10px; font-size: 11px; gap: 4px; }
    .wallet-badge-icon { font-size: 13px; }
    .wallet-badge-count { font-size: 13px; }
    
    .notification-bell { width: 38px; height: 38px; font-size: 16px; }
    
    .user-avatar { width: 38px; height: 38px; font-size: 14px; }
    
    .header-login-btn { padding: 8px 14px !important; font-size: 12px !important; }
    
    /* Notification mobile */
    .notification-wrapper { position: static; }
    .notification-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        max-height: 80vh;
        display: flex;
        flex-direction: column;
    }
    .notification-dropdown.active { transform: translateY(0); }
    .notification-list { max-height: 60vh; }
    
    .menu-header { padding: 30px 0 36px; }
    .menu-header h1 { font-size: 24px; }
    .menu-header p { font-size: 13px; margin-bottom: 20px; }
    .menu-search-form { padding: 5px; }
    .menu-search-form input { padding: 10px 6px; font-size: 14px; }
    .menu-search-btn { padding: 10px 18px; font-size: 12px; }
    .menu-search-icon { padding-left: 12px; font-size: 15px; }
    
    .menu-categories { padding: 14px 0; top: 60px; overflow: hidden; }
    .menu-categories .container { padding: 0 12px; }
    .category-pills-scroll { gap: 8px; padding: 4px 0; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
    .category-pill { padding: 8px 14px; font-size: 12px; gap: 5px; scroll-snap-align: start; }
    .category-pill .pill-icon { font-size: 14px; }
    .pill-count { font-size: 10px; padding: 1px 6px; min-width: 18px; text-align: center; }
    
    .menu-filters-bar { position: relative; top: 0; padding: 14px 0; overflow: hidden; background: var(--white); }
    .menu-filters-bar .container { padding: 0 12px; }
    .filters-row { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px 0 8px; }
    .filters-row::-webkit-scrollbar { display: none; }
    .filter-group { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--accent); border-radius: 50px; height: 40px; white-space: nowrap; }
    .filter-label { font-size: 11px; margin: 0; }
    .filter-btns { gap: 4px; }
    .filter-btn { padding: 6px 10px; font-size: 12px; height: 28px; display: inline-flex; align-items: center; gap: 4px; }
    .veg-dot, .nonveg-dot { width: 8px; height: 8px; flex-shrink: 0; }
    .filter-select { padding: 6px 10px; font-size: 12px; height: 28px; background: var(--white); }
    .filter-results { flex: 0 0 100%; width: 100%; margin-left: 0; justify-content: space-between; font-size: 13px; padding-top: 10px; border-top: 1px dashed var(--border); margin-top: 8px; display: flex; align-items: center; }
    .filter-results strong { font-size: 15px; font-weight: 800; }
    .clear-filters { padding: 5px 10px; font-size: 11px; }
    
    .menu-products { padding: 20px 0 40px; }
    .menu-products .container { padding: 0 12px; }
    .food-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; width: 100%; }
    .food-card { border-radius: 12px; }
    .food-card-image { height: 130px; font-size: 50px; }
    .food-emoji { font-size: 50px !important; }
    .food-badge { padding: 3px 8px; font-size: 9px; top: 8px !important; left: 8px !important; }
    .food-badge.bestseller { left: auto !important; right: 8px !important; }
    .food-fav { width: 28px; height: 28px; font-size: 12px; top: 8px; right: 8px; }
    .food-card-body { padding: 10px 12px 12px; }
    .food-card-header { gap: 4px; margin-bottom: 6px; }
    .food-card-title { font-size: 14px; line-height: 1.3; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .food-card-subtitle { font-size: 10px; gap: 3px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
    .food-rating { font-size: 10px; padding: 2px 6px; }
    .food-desc { display: none; }
    .food-card-footer { padding-top: 8px; margin-top: 8px; gap: 6px; }
    .food-price .price-current { font-size: 16px; }
    .food-price .price-mrp { font-size: 11px; }
    .add-btn { padding: 7px 14px; font-size: 11px; border-radius: 6px; }
    
    .qty-pill { min-width: 85px; padding: 3px; }
    .qty-pill-btn { width: 26px; height: 26px; font-size: 16px; }
    .qty-pill-value { font-size: 13px; min-width: 20px; }
    
    .pagination { gap: 4px; margin-top: 24px; }
    .page-btn { min-width: 34px; height: 34px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
    
    .no-results { padding: 40px 20px; }
    .no-results-icon { font-size: 60px; }
    .no-results h3 { font-size: 18px; }
    .no-results p { font-size: 13px; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    
    .td-logo-stage { width: 220px; height: 220px; margin-bottom: 32px; }
    .td-logo-main { width: 160px; height: 160px; padding: 10px; }
    .td-logo-glow { width: 180px; height: 180px; }
    .td-logo-chakra { width: 40px; height: 40px; bottom: 12px; right: 12px; padding: 5px; }
    .td-loader-tagline { font-size: 16px; margin-bottom: 22px; }
    .td-loader-dots span { width: 10px; height: 10px; }
    
    .search-suggestions { max-height: 300px; }
    .suggestion-item { padding: 12px 16px; font-size: 13px; }
    
    .product-detail { padding: 24px 0 40px; }
    .product-image-main { max-width: 320px; }
    .product-title { font-size: 26px; }
    .product-subtitle { font-size: 14px; }
    .product-actions { gap: 10px; }
    .btn-add-cart { min-width: 0; flex: 1 1 100%; padding: 14px 24px; font-size: 15px; }
    .qty-btn { width: 44px; height: 46px; font-size: 20px; }
    .qty-input { width: 50px; height: 46px; font-size: 16px; }
    .product-trust { gap: 8px; }
    .trust-item { padding: 10px 6px; font-size: 10px; }
    .trust-icon { font-size: 18px; }
    .section-heading { font-size: 24px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .product-emoji-big { font-size: 110px; }
    .price-big { font-size: 28px; }
    
    .cart-header { padding: 28px 0 36px; }
    .cart-header h1 { font-size: 22px; }
    .cart-header p { font-size: 13px; }
    .cart-section { padding: 24px 0 60px; }
    .cart-items-wrap { padding: 16px; }
    .cart-item { padding: 12px; gap: 12px; }
    .cart-item-image { width: 70px; height: 70px; }
    .cart-item-emoji { font-size: 36px; }
    .cart-item-title { font-size: 14px; }
    .cart-item-footer { gap: 8px; }
    .cart-item-total { width: 100%; text-align: left; font-size: 16px; margin-top: 4px; }
    .cart-summary { padding: 22px 18px; }
    .cart-summary h2 { font-size: 18px; }
    .cart-total { font-size: 17px; }
    .cart-total span:last-child { font-size: 22px; }
    .btn-checkout { padding: 14px 20px; font-size: 15px; }
    .cart-empty { padding: 60px 20px; }
    .cart-empty-icon { font-size: 72px; }
    .cart-empty h2 { font-size: 20px; }
    
    .checkout-header { padding: 28px 0 36px; }
    .checkout-header h1 { font-size: 22px; }
    .checkout-header p { font-size: 13px; }
    .checkout-section { padding: 24px 0 60px; }
    .checkout-card { padding: 20px 18px; border-radius: var(--radius-lg); }
    .checkout-card-header h2 { font-size: 18px; }
    .step-badge { width: 30px; height: 30px; font-size: 14px; }
    .address-form .form-row { grid-template-columns: 1fr; gap: 0; }
    .payment-option-content { padding: 14px 16px; gap: 12px; }
    .payment-icon { font-size: 26px; }
    .payment-details h3 { font-size: 14px; }
    .payment-details p { font-size: 12px; }
    .order-summary { padding: 22px 18px; border-radius: var(--radius-lg); }
    .summary-total { font-size: 16px; }
    .summary-total span:last-child { font-size: 22px; }
    .btn-place-order { padding: 14px 20px; font-size: 15px; }
    .success-card { padding: 36px 24px; }
    .success-icon { font-size: 70px; }
    .success-card h1 { font-size: 24px; }
    .success-subtitle { font-size: 14px; }
    .order-detail-row { font-size: 13px; }
    .success-actions { flex-direction: column; }
    .success-actions .btn { width: 100%; }
    
    /* Saved addresses mobile */
    .saved-addresses-header { flex-direction: column; align-items: flex-start; }
    .btn-add-new { width: 100%; text-align: center; }
    .saved-address-item { padding: 14px 16px; gap: 12px; }
    .saved-address-title strong { font-size: 14px; }
    .saved-address-name { font-size: 12px; }
    .saved-address-line { font-size: 12px; }
    .form-toggle-header { flex-direction: column; align-items: flex-start; }
    .btn-cancel-new { width: 100%; text-align: center; }
    
    .restaurants-header { padding: 30px 0 36px; }
    .restaurants-header h1 { font-size: 26px; }
    .restaurants-header p { font-size: 13px; }
    .restaurants-section { padding: 24px 0 60px; }
    .restaurants-grid { grid-template-columns: 1fr; gap: 16px; }
    .restaurant-card-banner { height: 120px; }
    .restaurant-card-body { padding: 18px 18px 14px; }
    .restaurant-card-logo { width: 60px; height: 60px; font-size: 30px; top: -34px; left: 18px; }
    .restaurant-card-info h3 { font-size: 17px; }
    .restaurant-card-footer { padding: 12px 18px; }
    
    .restaurant-detail-hero { padding: 24px 0 20px; }
    .restaurant-detail-card { padding: 20px; flex-direction: column; text-align: center; }
    .restaurant-detail-logo { width: 80px; height: 80px; font-size: 40px; margin: 0 auto; }
    .restaurant-detail-info h1 { font-size: 24px; }
    .restaurant-detail-meta { justify-content: center; }
    .restaurant-menu-section { padding: 24px 0 60px; }
    
    .sw-restaurants-section { padding: 40px 0 24px; }
    .sw-restaurants-section .section-header-inline { padding: 0 16px !important; margin-bottom: 16px !important; }
    .sw-restaurants-scroll { padding: 8px 16px 16px; gap: 12px; }
    .sw-restaurant-card { flex: 0 0 260px; }
    .sw-card-banner { height: 140px; }
    .sw-card-title { font-size: 15px; }
    .sw-card-cuisine { font-size: 12px; }
    .sw-card-meta { font-size: 11px; }
    .sw-offer-badge { font-size: 10px; padding: 4px 8px; }
    .sw-time-badge { font-size: 10px; padding: 4px 8px; }
    
    .vendor-login-card { padding: 36px 24px; }
    .vendor-logo h1 { font-size: 20px; }
    
    .user-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0; right: 0;
        border-radius: 20px 20px 0 0;
        min-width: 100%;
        max-height: 80vh;
        overflow-y: auto;
        transform: translateY(100%);
        padding-bottom: 30px;
    }
    
    .user-dropdown.active { transform: translateY(0); }
    
    .dropdown-header {
        padding: 18px 20px;
        background: #FDF6EC;
        border-radius: 20px 20px 0 0;
    }
    
    .dashboard-section { padding: 20px 14px 40px; }
    .dashboard-welcome { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 22px; }
    .welcome-text h1 { font-size: 20px; }
    .btn-order-now { width: 100%; text-align: center; }
    .stats-grid { grid-template-columns: 1fr; gap: 12px; }
    .stats-grid-4 { grid-template-columns: 1fr; }
    .stat-card { padding: 18px; }
    .stat-value { font-size: 20px; }
    .quick-actions { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .dashboard-section-block { padding: 18px 16px; }
    .order-item { padding: 14px 12px; gap: 12px; }
    .order-icon { width: 40px; height: 40px; font-size: 22px; }
    .order-number { font-size: 13px; }
    .order-meta { font-size: 11px; }
    .badge { font-size: 10px; padding: 4px 9px; }
    .subscriptions-grid { grid-template-columns: 1fr; }
    
    .active-sub-card { padding: 20px; }
    .active-sub-name { font-size: 18px; }
    .active-sub-stats { width: 100%; }
    .active-stat strong { font-size: 13px; }
    .active-sub-btn { width: 100%; text-align: center; }
    .dash-addresses { grid-template-columns: 1fr; }
    .refer-banner { flex-direction: column; text-align: center; }
    .refer-content { flex-direction: column; text-align: center; }
    .refer-btn { width: 100%; }
    .dash-toast { left: 16px; right: 16px; bottom: 16px; text-align: center; }
    
    .order-detail-header { padding: 20px 22px; flex-direction: column; align-items: flex-start; }
    .order-detail-header h1 { font-size: 18px; }
    .order-detail-icon { width: 56px; height: 56px; font-size: 30px; }
    .tracking-timeline { flex-direction: column; gap: 20px; padding: 0; }
    .tracking-timeline::before { display: none; }
    .tracking-step { flex-direction: row; text-align: left; gap: 14px; width: 100%; }
    .tracking-dot { margin-bottom: 0; width: 42px; height: 42px; }
    .order-detail-card { padding: 18px 16px; }
    .card-title-d { font-size: 15px; }
    .orders-list-header h1 { font-size: 24px; }
    .order-list-card { padding: 16px; gap: 14px; }
    .order-list-icon { width: 48px; height: 48px; font-size: 24px; }
    .order-list-top { flex-direction: column; }
    
    .otp-card-delivery { flex-direction: column; text-align: center; padding: 24px 20px; gap: 16px; }
    .otp-icon-large { width: 72px; height: 72px; font-size: 44px; }
    .otp-code-display { font-size: 34px; letter-spacing: 8px; padding: 10px 18px; }
    .otp-content h2 { font-size: 18px; }
    .rider-card-delivery { flex-wrap: wrap; }
    .rider-call-btn { width: 100%; text-align: center; }
    
    .eta-card-main { flex-direction: column; text-align: center; padding: 20px 22px; }
    .eta-icon { width: 56px; height: 56px; font-size: 32px; }
    .eta-info strong { font-size: 22px; }
    .tracking-map { height: 160px; }
    .rider-marker { font-size: 34px; }
    .pin-icon { width: 40px; height: 40px; font-size: 22px; }
    .tracking-stat strong { font-size: 12px; }
    .tracking-arrow { font-size: 18px; }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 28px 22px;
    }
    .profile-header-info h1 { font-size: 22px; }
    .profile-grid { grid-template-columns: 1fr; }
    .profile-card { padding: 24px 20px; }
    
    .addresses-header { flex-direction: column; align-items: flex-start; }
    .btn-add-address { width: 100%; text-align: center; }
    .addresses-grid { grid-template-columns: 1fr; }
    .address-modal .form-row { grid-template-columns: 1fr; }
    .address-modal-actions { flex-direction: column-reverse; }
    .addresses-header h1 { font-size: 24px; }
    
    /* Plans mobile */
    .plans-header h1 { font-size: 26px; }
    .plans-grid { grid-template-columns: 1fr; }
    .plan-card { padding: 24px 20px; }
    .sub-list-body { grid-template-columns: 1fr; }
    .days-grid { grid-template-columns: 1fr; }
    
    /* Wallet mobile */
    .wallet-hero { flex-direction: column; text-align: center; }
    .wallet-hero-content { flex-direction: column; }
    .wallet-refer-btn { width: 100%; text-align: center; }
    .refer-hero h1 { font-size: 28px; }
    .referral-code-box { flex-direction: column; }
    .btn-copy-code { width: 100%; }
    .referrals-list .referral-item { flex-wrap: wrap; }
}

/* ============================================
   45. RESPONSIVE — EXTRA SMALL (max-width: 600px)
   ============================================ */
@media (max-width: 600px) {
    .container { padding: 0 16px; width: 100%; box-sizing: border-box; }
    .hero h1 { font-size: 32px; }
    .hero-badge { font-size: 11px; padding: 8px 16px; }
    .hero-search-box { padding: 10px; flex-wrap: wrap; }
    .hero-search-box input { width: 100%; padding: 10px 8px; }
    .hero-search-submit-btn { width: 100%; padding: 14px; }
    
    .offer-card { flex: 0 0 280px; min-height: 120px; }
    .offer-title { font-size: 22px; }
    
    .category-item { width: 100px; }
    .category-circle { width: 90px; height: 90px; font-size: 40px; }
    .category-name { font-size: 12px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .site-footer { padding: 50px 0 24px; }
    
    .auth-card { padding: 36px 26px; }
    .auth-card h2 { font-size: 24px; }
    
    .menu-header h1 { font-size: 26px; }
    .menu-header p { font-size: 14px; }
    .menu-search-form { padding: 5px; }
    .menu-search-form input { padding: 10px 6px; font-size: 14px; }
    .menu-search-btn { padding: 10px 20px; font-size: 13px; }
    .menu-search-icon { padding-left: 14px; font-size: 16px; }
    
    .category-pill { padding: 8px 14px; font-size: 13px; }
    .pill-count { font-size: 10px; padding: 1px 6px; }
    
    .pagination { gap: 6px; }
    .page-btn { min-width: 36px; height: 36px; font-size: 13px; padding: 0 12px; }
}

/* ============================================
   46. RESPONSIVE — TINY (max-width: 380px)
   ============================================ */
@media (max-width: 380px) {
    .food-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .food-card-image { height: 110px; font-size: 42px; }
    .food-card-title { font-size: 13px; }
    .food-card-body { padding: 8px 10px 10px; }
    .add-btn { padding: 6px 10px; font-size: 10px; }
    .category-pill { padding: 7px 12px; font-size: 11px; }
    .footer-grid { grid-template-columns: 1fr; }
    .td-logo-stage { width: 200px; height: 200px; }
    .td-logo-main { width: 145px; height: 145px; }
    .td-loader-tagline { font-size: 14px; }

    .sw-restaurant-card { flex: 0 0 240px; }
    .sw-card-banner { height: 130px; }

    .main-nav { top: 60px; }
    .mobile-menu-toggle span { width: 22px; }
}

/* ============================================
   47. CRITICAL — MOBILE OVERFLOW FIX (LAST)
   ============================================ */
@media (max-width: 900px) {
    /* Global overflow protection */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        position: relative;
    }
    
    /* Force all containers to fit viewport */
    .container,
    .header-inner,
    .hero-inner,
    section,
    main,
    footer,
    header,
    .site-header,
    .hero,
    .hero-search-row {
        max-width: 100vw !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Prevent long words breaking layout */
    h1, h2, h3, h4, h5, h6, p, a, span, div, li {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Images not overflow */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Menu/restaurants search box */
    .menu-search-form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ============================================
   21. CHECKOUT PAGE
   ============================================ */
.checkout-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    padding: 40px 0 50px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.checkout-header::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.checkout-header .container { position: relative; z-index: 2; }

.checkout-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.checkout-header p { color: rgba(255,255,255,0.85); font-size: 15px; }

.checkout-section {
    padding: 40px 0 80px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    min-height: 60vh;
    width: 100%;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}

.checkout-left { display: flex; flex-direction: column; gap: 24px; }

.checkout-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.checkout-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 2px dashed var(--border);
}

.step-badge {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    font-family: 'Playfair Display', serif;
    box-shadow: 0 4px 12px var(--primary-glow);
    flex-shrink: 0;
}

.checkout-card-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--secondary);
    font-weight: 800;
    margin: 0;
}

/* ============================================
   22. SAVED ADDRESSES (CHECKOUT) — COMPLETE FIX
   ============================================ */
.saved-addresses-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 2px dashed #eaeaea;
}

.saved-addresses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
}

.saved-addresses-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #1E5631;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-add-new {
    padding: 8px 18px;
    background: rgba(245, 130, 32, 0.1);
    color: #F58220;
    border: 1.5px solid #F58220;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-add-new:hover {
    background: #F58220;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 130, 32, 0.3);
}

.saved-addresses-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.saved-address-item {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    background: white;
    border: 2px solid #eaeaea;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    align-items: flex-start;
}

.saved-address-item:hover {
    border-color: #F58220;
    background: #FDF6EC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.1);
}

.saved-address-item.default {
    background: linear-gradient(135deg, #FFF8EE 0%, #FFFFFF 100%);
    border-color: rgba(245, 130, 32, 0.3);
}

.saved-address-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.saved-address-radio {
    width: 22px;
    height: 22px;
    border: 2px solid #d4d4d4;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 2px;
    background: white;
}

.saved-address-item input[type="radio"]:checked ~ .saved-address-radio {
    background: #F58220;
    border-color: #F58220;
    box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.15);
}

.saved-address-item input[type="radio"]:checked ~ .saved-address-radio::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.saved-address-item:has(input:checked) {
    border-color: #F58220;
    background: linear-gradient(135deg, #FFF8EE 0%, #FFFFFF 100%);
    box-shadow: 0 6px 20px rgba(245, 130, 32, 0.15);
}

.saved-address-content {
    flex: 1;
    min-width: 0;
}

.saved-address-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.saved-address-title strong {
    font-size: 15px;
    color: #1E5631;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.saved-address-title strong::before {
    content: '📍';
    font-size: 14px;
}

.default-badge {
    background: linear-gradient(135deg, #F58220, #d9741a);
    color: white;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.saved-address-name {
    font-size: 13px;
    color: #1E5631;
    font-weight: 600;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.saved-address-line {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ============================================
   NEW ADDRESS FORM
   ============================================ */
.new-address-form {
    padding: 0;
    margin-top: 0;
    display: none; /* ✅ DEFAULT HIDDEN */
}

.new-address-form.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
    flex-wrap: wrap;
}

.form-toggle-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: #1E5631;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-cancel-new {
    padding: 7px 14px;
    background: #fee2e2;
    color: #991b1b;
    border: none;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-cancel-new:hover {
    background: #fecaca;
    transform: scale(1.05);
}

/* Address Form */
.address-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}

.address-form .form-group { margin-bottom: 18px; }

.address-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 13px;
}

.address-form input,
.address-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
    color: var(--text);
    outline: none;
    resize: vertical;
    box-sizing: border-box;
}

.address-form input:focus,
.address-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    background: var(--cream);
}

/* ============================================
   PAYMENT OPTIONS
   ============================================ */
.payment-options { display: flex; flex-direction: column; gap: 12px; }

.payment-option { display: block; cursor: pointer; position: relative; }

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
}

.payment-option:hover .payment-option-content { 
    border-color: var(--primary-light); 
    background: var(--accent); 
}

.payment-option input[type="radio"]:checked + .payment-option-content {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.08), rgba(245, 130, 32, 0.02));
    box-shadow: 0 4px 16px var(--primary-glow);
}

.payment-icon { font-size: 32px; flex-shrink: 0; }
.payment-details { flex: 1; }

.payment-details h3 {
    font-size: 16px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 2px;
}

.payment-details p { font-size: 13px; color: var(--gray); }

.payment-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--border);
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    transition: var(--transition);
    flex-shrink: 0;
}

.payment-option input[type="radio"]:checked + .payment-option-content .payment-check {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   ORDER SUMMARY
   ============================================ */
.checkout-right { position: sticky; top: 100px; }

.order-summary {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.order-summary h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px dashed var(--border);
}

.summary-items {
    max-height: 240px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 16px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-light);
    font-size: 14px;
}

.summary-item:last-child { border-bottom: none; }

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 20px;
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary);
    font-family: 'Playfair Display', serif;
}

.summary-total span:last-child { color: var(--primary); font-size: 26px; }

.btn-place-order {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 24px var(--primary-glow);
    font-family: inherit;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}

.btn-place-order:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 12px 32px var(--primary-glow); 
}

/* ============================================
   RESPONSIVE — CHECKOUT
   ============================================ */
@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: 1fr; gap: 24px; }
    .checkout-right { position: static; }
    .checkout-header h1 { font-size: 28px; }
}

@media (max-width: 768px) {
    .checkout-section { padding: 24px 0 60px; }
    .checkout-card { padding: 20px 18px; border-radius: var(--radius-lg); }
    .checkout-card-header h2 { font-size: 18px; }
    .step-badge { width: 30px; height: 30px; font-size: 14px; }
    
    .saved-addresses-header { flex-direction: column; align-items: flex-start; }
    .btn-add-new { width: 100%; text-align: center; }
    .saved-address-item { padding: 14px 16px; gap: 12px; }
    .saved-address-title strong { font-size: 14px; }
    .saved-address-name { font-size: 12px; }
    .saved-address-line { font-size: 12px; }
    
    .address-form .form-row { grid-template-columns: 1fr; gap: 0; }
    
    .form-toggle-header { flex-direction: column; align-items: flex-start; }
    .btn-cancel-new { width: 100%; text-align: center; }
    
    .payment-option-content { padding: 14px 16px; gap: 12px; }
    .payment-icon { font-size: 26px; }
    .payment-details h3 { font-size: 14px; }
    .payment-details p { font-size: 12px; }
    
    .order-summary { padding: 22px 18px; border-radius: var(--radius-lg); }
    .summary-total { font-size: 16px; }
    .summary-total span:last-child { font-size: 22px; }
    .btn-place-order { padding: 14px 20px; font-size: 15px; }
}
/* ============================================
   REFERRAL FIELD — REGISTER FORM
   ============================================ */
#referral_code {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--secondary);
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.02), rgba(30, 86, 49, 0.02));
    border: 1.5px dashed var(--border);
    transition: var(--transition);
}

#referral_code:focus {
    border-style: solid;
    border-color: var(--primary);
    background: var(--cream);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

#referral_code::placeholder {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    color: var(--gray-light);
}

/* Referral hint styling */
#referralHint {
    transition: all 0.3s ease;
    font-weight: 500;
}

/* ============================================
   NOTIFICATION BELL — FIXED
   ============================================ */

/* Wrapper */
.notification-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 100;
}

/* Bell Button */
.notification-bell {
    position: relative;
    width: 44px;
    height: 44px;
    background: #FDF6EC;
    border: 1.5px solid #E8D5B7;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    flex-shrink: 0;
    font-family: inherit;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.notification-bell:hover {
    background: #FFFFFF;
    border-color: #F58220;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 130, 32, 0.25);
}

.notification-bell:active {
    transform: translateY(0) scale(0.96);
}

.notification-bell:focus-visible {
    outline: 2px solid #F58220;
    outline-offset: 2px;
}

/* Bell Icon (SVG or Emoji) */
.notification-bell svg,
.notification-bell .bell-icon,
.notification-bell img {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
    color: #1E5631;
    transition: transform 0.3s ease;
}

.notification-bell:hover svg,
.notification-bell:hover .bell-icon,
.notification-bell:hover img {
    transform: rotate(-12deg);
    color: #F58220;
}

/* Ringing animation — when new notification */
.notification-bell.has-new svg,
.notification-bell.has-new .bell-icon {
    animation: bellRing 1.5s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-12deg); }
    20%, 40% { transform: rotate(12deg); }
    50% { transform: rotate(0); }
}

/* Red Badge */
.notification-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
    animation: pulseBadge 2s infinite;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0;
    z-index: 2;
}

.notification-badge.hidden {
    display: none;
}

@keyframes pulseBadge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 4px 14px rgba(239, 68, 68, 0.7);
    }
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .notification-bell {
        width: 40px;
        height: 40px;
    }
    
    .notification-bell svg,
    .notification-bell .bell-icon,
    .notification-bell img {
        width: 20px;
        height: 20px;
    }
    
    .notification-badge {
        min-width: 18px;
        height: 18px;
        font-size: 9px;
        top: -2px;
        right: -2px;
    }
}

@media (max-width: 480px) {
    .notification-bell {
        width: 38px;
        height: 38px;
    }
    
    .notification-bell svg,
    .notification-bell .bell-icon,
    .notification-bell img {
        width: 18px;
        height: 18px;
    }
}