/* ============================================================
   SwadPay.Website Design System — Premium & High-conversion UI
   Colors: Vibrant Orange (#FF6B00), Veg Green (#4CAF50), Non-Veg Red (#F44336)
   ============================================================ */

/* ── CSS Custom Properties ───────────────────────────────────── */
:root {
    --primary: #FF6B00;
    --primary-light: #FF8C38;
    --primary-dark: #E05E00;
    --primary-50: rgba(255, 107, 0, 0.08);
    --primary-100: rgba(255, 107, 0, 0.15);
    --veg: #4CAF50;
    --veg-bg: rgba(76, 175, 80, 0.1);
    --non-veg: #F44336;
    --non-veg-bg: rgba(244, 67, 54, 0.1);
    --star: #FFB800;
    --bg: #FAFAFA;
    --bg-card: #FFFFFF;
    --bg-elevated: #FFFFFF;
    --bg-dark: #121212;
    --text-primary: #1A1A2E;
    --text-secondary: #6C7280;
    --text-tertiary: #9CA3AF;
    --text-inverse: #FFFFFF;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(255, 107, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    
    --header-bg: rgba(255, 255, 255, 0.95);
    --header-border: var(--border);
    --widget-bg: rgba(255, 255, 255, 0.95);
    --careers-bg: #FFFDF9;
    --storyline-overlay: rgba(255, 253, 249, 0.88);
}

/* ── Dark Theme Overrides ────────────────────────────────────── */
body.dark-theme {
    --bg: #121212;
    --bg-card: #1e1e1e;
    --bg-elevated: #242424;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-tertiary: #6b7280;
    --border: #2d2d2d;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
    
    --header-bg: rgba(18, 18, 18, 0.95);
    --header-border: #2d2d2d;
    --widget-bg: rgba(30, 30, 30, 0.95);
    --careers-bg: #1a1613;
    --storyline-overlay: rgba(18, 18, 18, 0.88);
}

/* ── Base Reset ──────────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg);
}

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

/* ── Typography & Buttons ────────────────────────────────────── */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--text-inverse);
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid var(--border);
    cursor: pointer;
    gap: 8px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: #F9FAFB;
    border-color: var(--text-secondary);
}

/* ── Compact & Innovative Story Mode Toggle Widget ───────────── */
.story-mode-widget {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--widget-bg);
    border: 1px solid rgba(255, 107, 0, 0.35);
    padding: 8px 14px;
    border-radius: 30px;
    box-shadow: var(--shadow-md), 0 4px 20px rgba(255, 107, 0, 0.18);
    z-index: 1000;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.story-mode-widget:hover {
    transform: translateY(-50%) scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-md), 0 6px 24px rgba(255, 107, 0, 0.28);
}

.widget-icon {
    font-size: 1.1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.widget-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    white-space: nowrap;
}

.widget-status {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary);
    min-width: 24px;
    text-align: center;
}

/* Toggle Switch slider */
.switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
    transform: translateX(18px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Dynamic hiding when Story Mode is off */
body.hide-story .storyline-link,
body.hide-story .storyline-section,
body.hide-story .storyline-link-section,
body.hide-story .about-section {
    display: none !important;
}

/* ── Header ─────────────────────────────────────────────────── */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--header-border);
    z-index: 900;
    height: 70px;
    display: flex;
    align-items: center;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.main-header.visible {
    transform: translateY(0);
    opacity: 1;
}

.header-content {
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    flex: 0 0 auto;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.7rem;
    display: flex;
}

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

.logo-text .highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: clamp(12px, 1.35vw, 22px);
    flex: 1 1 auto;
    min-width: 0;
}

.nav-item {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    line-height: 1.2;
    min-height: 42px;
    text-align: center;
    white-space: nowrap;
}

.nav-item:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.btn-outline-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.15;
    min-height: 44px;
    text-align: center;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-outline-header:hover {
    background-color: var(--primary-50);
    color: var(--primary-dark);
}

.btn-primary-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: #ffffff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1.5px solid var(--primary);
    line-height: 1.15;
    min-height: 44px;
    text-align: center;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-primary-header:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Drawer mobile navigation */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(86vw, 340px);
    height: 100vh;
    background-color: var(--bg-card);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: right 0.4s ease;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.drawer-header-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 1.1rem;
}

.drawer-item {
    padding: 8px 0;
    color: var(--text-secondary);
    font-weight: 500;
}

.drawer-item:hover {
    color: var(--primary);
}

.drawer-action-btn {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 10px;
}

.drawer-action-btn-alt {
    border: 1px solid var(--primary);
    color: var(--primary);
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
}

/* ── Zomato Hero Section ──────────────────────────────────────── */
.zomato-hero {
    position: relative;
    height: 100vh;
    min-height: 580px;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)), url('../images/food/burger.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    border-bottom: 1px solid var(--primary);
}

.hero-content {
    max-width: 800px;
    margin-bottom: 40px;
}

.zomato-logo-brand {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.zomato-logo-brand i {
    color: var(--primary);
}

.zomato-logo-brand .highlight {
    color: var(--primary);
}

.hero-title {
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 24px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.hero-download-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.hero-download-btn i {
    font-size: 1.8rem;
}

.hero-download-btn .btn-labels {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-download-btn .btn-labels .small {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.hero-download-btn .btn-labels .large {
    font-weight: 700;
}

/* Timer progress bar */
.timer-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scroll-down-btn {
    background: none;
    border: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    animation: bounce 2.2s infinite;
    transition: var(--transition);
    padding: 8px 20px;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scroll-down-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.timer-progress {
    width: 250px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.timer-progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--primary);
    animation: progressFill 5s linear forwards;
}

/* ── Swiggy Menu Preview Section ─────────────────────────────── */
.menu-section {
    position: relative;
    padding: 80px 20px;
    background: url('../images/background image/Gemini_Generated_Image_q7zj95q7zj95q7zj.png') repeat;
    background-size: 350px 350px;
    border-bottom: 1px solid var(--primary);
}

.menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--storyline-overlay);
    z-index: 1;
}

.menu-section > * {
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: 40px;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    display: block;
}

.section-title {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 650px;
}

/* Swiggy Categories Chips */
.categories-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0 20px 0;
    margin-bottom: 30px;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.categories-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.category-chip {
    flex: 0 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-chip img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 50%;
    background-color: #fff;
    padding: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.category-chip:hover img {
    transform: scale(1.15);
}

.category-chip:hover, .category-chip.active {
    background-color: var(--primary-50);
    border-color: var(--primary);
    color: var(--primary);
}

.category-chip.active {
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.15);
}

/* Grid of Items */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.menu-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 8px 24px rgba(255, 107, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.25);
}

.card-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    background-color: #EEE;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.veg-tag-wrapper {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ccc;
}

.veg-tag-wrapper.veg {
    border-color: var(--veg);
}

.veg-tag-wrapper.non-veg {
    border-color: var(--non-veg);
}

.veg-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.veg-tag-wrapper.veg .veg-dot {
    background-color: var(--veg);
}

.veg-tag-wrapper.non-veg .veg-dot {
    background-color: var(--non-veg);
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-rating-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.card-rating {
    background-color: #267E3E;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
}

.card-title {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.btn-add-item {
    background-color: var(--bg-card);
    color: var(--veg);
    border: 1.5px solid var(--border);
    padding: 6px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-item:hover {
    background-color: var(--veg);
    color: white;
    border-color: var(--veg);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
}

/* ── Storyline Section ───────────────────────────────────────── */
.storyline-section {
    position: relative;
    padding: 90px 20px;
    background: url('../images/background image/Gemini_Generated_Image_wd4v6mwd4v6mwd4v.png') repeat;
    background-size: 350px 350px;
    border-bottom: 1px solid var(--primary);
}

.storyline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--storyline-overlay);
    z-index: 1;
}

.storyline-section > * {
    position: relative;
    z-index: 2;
}

.story-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.comic-grid-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 50px;
    text-align: center;
    overflow: hidden;
}

.comic-image-container {
    width: 100%;
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
}

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

.comic-caption {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Character Panels (Timeline) */
.timeline-story {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0 auto;
}

.timeline-story::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--primary-100);
    transform: translateX(-50%);
}

.timeline-step {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}

.timeline-step:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-img-card {
    width: 45%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-card);
    transition: var(--transition);
}

.timeline-step:hover .timeline-img-card {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.timeline-info-card {
    width: 45%;
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.step-badge {
    display: inline-block;
    background-color: var(--primary-50);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.timeline-info-card h3 {
    margin-bottom: 10px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--primary-100);
    z-index: 10;
}

/* ── YouTube Video Persona Tabs ────────────────────────────── */
.youtube-section {
    background-color: var(--bg-card);
    padding: 80px 20px;
}

.youtube-container {
    max-width: 900px;
    margin: 0 auto;
}

.youtube-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.youtube-tab-btn {
    background-color: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.youtube-tab-btn:hover, .youtube-tab-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.2);
}

.video-frame-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background-color: #000;
}

.youtube-video-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.youtube-video-frame.active {
    display: block;
}

/* ── Partner & Sales pitches ────────────────────────────────── */
.pitch-section {
    padding: 80px 20px;
    background-color: #FAFAFA;
}

.pitch-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.pitch-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 16px;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.1));
}

.pitch-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.pitch-features {
    margin: 25px 0 35px 0;
    list-style: none;
}

.pitch-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.pitch-features li i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 2px;
}

.careers-section {
    padding: 80px 20px;
    background-color: var(--careers-bg);
    border-top: 1px solid var(--border);
}

/* Commission Split table card */
.commission-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin: 25px 0;
}

.commission-table {
    width: 100%;
    border-collapse: collapse;
}

.commission-table th, .commission-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.commission-table th {
    font-weight: 700;
    color: var(--text-primary);
}

.commission-table tr:last-child td {
    border-bottom: none;
}

.com-level {
    color: var(--primary);
    font-weight: 700;
}

/* ── About Us & Contact Us ──────────────────────────────────── */
.about-section {
    position: relative;
    padding: 80px 20px;
    background: url('../images/background image/Gemini_Generated_Image_wd4v6mwd4v6mwd4v.png') repeat;
    background-size: 350px 350px;
    border-bottom: 1px solid var(--primary);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--storyline-overlay);
    z-index: 1;
}

.about-section > * {
    position: relative;
    z-index: 2;
}

.about-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.about-text h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.contact-section {
    padding: 80px 20px;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
}

.contact-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-50);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-method-detail h4 {
    margin-bottom: 4px;
}

.contact-method-detail p {
    color: var(--text-secondary);
}

.contact-form-block {
    background-color: var(--bg);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.form-group label span {
    color: red;
}

.form-control {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: var(--bg-card);
    color: var(--text-primary);
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-50);
}

/* ── Footer ─────────────────────────────────────────────────── */
.main-footer {
    background-color: #111;
    color: #999;
    padding: 80px 20px 40px 20px;
    border-top: 1px solid #222;
}

.footer-top {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid #222;
}

.footer-brand .logo-text {
    color: white;
}

.brand-pitch {
    margin: 15px 0 25px 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.download-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #000;
    border: 1px solid #333;
    padding: 8px 16px;
    border-radius: 6px;
    color: white;
    max-width: 180px;
}

.download-badge:hover {
    border-color: var(--primary);
}

.download-badge i {
    font-size: 1.5rem;
}

.download-badge .badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-badge .badge-text .small-text {
    font-size: 0.55rem;
    opacity: 0.7;
}

.download-badge .badge-text .large-text {
    font-size: 0.8rem;
    font-weight: 700;
}

.footer-links-group h3, .footer-contact h3 {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group ul li {
    margin-bottom: 12px;
}

.footer-links-group ul li a:hover {
    color: var(--primary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact p a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background-color: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}

/* ── Animation Classes ───────────────────────────────────────── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Toast alert notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}

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

.toast-body {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-body i {
    color: var(--veg);
    font-size: 1.25rem;
}

/* Success Modal Overlay */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.success-modal-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: zoomIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

.modal-success-icon {
    font-size: 4rem;
    color: var(--veg);
    margin-bottom: 15px;
    display: block;
}

.success-modal-card h2 {
    margin-bottom: 15px;
}

.success-modal-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ── Custom Pages Styling ────────────────────────────────────── */
.subpage-hero {
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)), url('../images/food/chole-bhature.jpg') no-repeat center center/cover;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.subpage-hero.hero-owner {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('../images/storyline/hotelowner-header.png') no-repeat center center/cover;
}

.subpage-hero.hero-sales {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('../images/storyline/salesperson-header.png') no-repeat center center/cover;
}

.subpage-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.subpage-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 40px;
}

.subpage-content h2 {
    margin: 30px 0 15px 0;
    color: var(--text-primary);
}

.subpage-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.subpage-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.subpage-content ul li {
    margin-bottom: 8px;
}

.not-found-container {
    padding: 100px 20px;
    text-align: center;
}

.not-found-container i {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.not-found-container h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.not-found-container p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Onboarding Specific Styles */
.reg-container {
    max-width: 1000px;
}

.reg-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 40px;
    margin-top: 30px;
}

.reg-benefits {
    background-color: #FFFDF9;
    border: 1px solid #FFE0C2;
    padding: 30px;
    border-radius: 12px;
}

.reg-benefits h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.reg-benefits ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reg-benefits ul li {
    display: flex;
    gap: 10px;
    color: var(--text-secondary);
    font-weight: 500;
}

.reg-benefits ul li i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ── Responsive Media Queries ───────────────────────────────── */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
        margin-bottom: 20px;
    }
    
    .pitch-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 1180px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .btn-outline-header {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .zomato-logo-brand {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .timeline-story::before {
        display: none !important;
    }
    
    .timeline-step {
        display: flex !important;
        flex-direction: row !important; /* Side-by-side on mobile */
        gap: 0 !important;
        margin-bottom: 25px !important;
        padding-left: 0 !important;
        background-color: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        align-items: stretch !important; /* Force image and text to match height */
    }
    
    .timeline-step:nth-child(even) {
        flex-direction: row-reverse !important; /* Alternate layout side-by-side */
    }
    
    .timeline-img-card {
        width: 40% !important;
        margin-bottom: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background-color: transparent !important;
        flex-shrink: 0;
    }
    
    .timeline-info-card {
        width: 60% !important;
        margin-bottom: 0 !important;
        padding: 15px !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background-color: transparent !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start !important;
    }
    
    .step-image {
        width: 100% !important;
        height: 100% !important; /* Fill height of parent card */
        object-fit: cover !important;
        object-position: center !important;
    }
    
    .step-badge {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
        margin-bottom: 6px !important;
    }
    
    .timeline-info-card h3 {
        font-size: 0.9rem !important;
        margin-bottom: 4px !important;
    }
    
    .timeline-info-card p {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
    }
    
    .timeline-dot {
        display: none !important;
    }
    
    .about-grid, .contact-container, .reg-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .story-mode-widget {
        right: 10px;
        padding: 10px 8px;
        border-radius: 12px;
    }
}

@media (max-width: 560px) {
    .main-header {
        height: 64px;
    }

    .header-content {
        padding: 0 14px;
        gap: 10px;
    }

    .btn-primary-header {
        display: none;
    }

    .header-actions {
        gap: 6px;
    }

    .theme-toggle-btn,
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }
}

/* ── Bottom Onboarding Cards Section ─────────────────────────── */
.bottom-onboard-section {
    padding: 90px 20px;
    background: url('../images/background image/Gemini_Generated_Image_g2zoufg2zoufg2zo.png') repeat;
    background-size: 350px 350px;
    position: relative;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.bottom-onboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--storyline-overlay);
    z-index: 1;
}

.bottom-onboard-container {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
}

.onboard-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 45px;
}

.onboard-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: row-reverse;
    transition: var(--transition);
}

.onboard-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 12px 30px rgba(255, 107, 0, 0.12);
    border-color: rgba(255, 107, 0, 0.3);
}

.onboard-card-img-wrapper {
    width: 40%;
    height: auto;
    overflow: hidden;
    background-color: #f7f7f7;
    position: relative;
    flex-shrink: 0;
}

.onboard-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.onboard-card:hover .onboard-card-img {
    transform: scale(1.06);
}

.onboard-card-body {
    width: 60%;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex-grow: 1;
}

.onboard-card-tag {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.onboard-card-title {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.onboard-card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .onboard-cards-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
    
    .onboard-card {
        flex-direction: column !important;
        border-radius: 12px !important;
    }
    
    .onboard-card-img-wrapper {
        width: 100% !important;
        height: 200px !important;
    }
    
    .onboard-card-img {
        object-position: center !important;
    }
    
    .onboard-card-body {
        width: 100% !important;
        padding: 15px !important;
    }
    
    .onboard-card-tag {
        font-size: 0.65rem !important;
        margin-bottom: 4px !important;
    }
    
    .onboard-card-title {
        font-size: 0.95rem !important;
        margin-bottom: 8px !important;
    }
    
    .onboard-card-text {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .onboard-card-body .btn-primary, .onboard-card-body .btn-secondary {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        width: 100% !important;
        text-align: center;
        margin-top: auto;
    }

    /* 2-Column Menu Grid side-by-side on Mobile view */
    .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .menu-card {
        border-radius: 12px !important;
    }
    
    .card-img-wrapper {
        height: 120px !important;
    }
    
    .card-body {
        padding: 12px !important;
    }
    
    .card-price {
        font-size: 0.95rem !important;
    }
    
    .card-rating {
        padding: 1px 4px !important;
        font-size: 0.65rem !important;
    }
    
    .card-title {
        font-size: 0.9rem !important;
        margin-bottom: 4px !important;
    }
    
    .card-desc {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .card-footer {
        padding-top: 8px !important;
    }
    
    .card-footer span {
        display: none !important; /* Hide prep time on mobile to avoid layout crowding */
    }
    
    .btn-add-item {
        padding: 4px 10px !important;
        font-size: 0.75rem !important;
        width: 100% !important;
        text-align: center;
    }
}

/* ── YouTube Lazy Loading Placeholders ────────────────────────── */
.youtube-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.youtube-placeholder:hover .video-preview-img {
    transform: scale(1.04);
    opacity: 0.85;
}

.play-button-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.play-button-overlay i {
    font-size: 3.5rem;
    color: var(--primary);
    background-color: white;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.youtube-placeholder:hover .play-button-overlay i {
    transform: scale(1.1);
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 25px rgba(255, 107, 0, 0.6);
}

.play-button-overlay span {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Brand Logo Styles ───────────────────────────────────────── */
.header-logo-img {
    height: 38px;
    max-width: 190px;
    width: auto;
    object-fit: contain;
    
}

.drawer-logo-img {
    height: 38px;
    max-width: 190px;
    width: auto;
    object-fit: contain;
}

.footer-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.hero-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .hero-logo-img {
        height: 60px;
    }
}

@media (max-width: 560px) {
    .header-logo-img {
        height: 34px;
        max-width: 160px;
    }
}

/* ── Custom Alternating Backgrounds by Block ────────────────── */
#menu {
    background: url('../images/background image/Gemini_Generated_Image_q7zj95q7zj95q7zj.png') repeat !important;
    background-size: 350px 350px !important;
}

#story {
    background: url('../images/background image/Gemini_Generated_Image_wd4v6mwd4v6mwd4v.png') repeat !important;
    background-size: 350px 350px !important;
}

#partner {
    background: url('../images/background image/Gemini_Generated_Image_g2zoufg2zoufg2zo.png') repeat !important;
    background-size: 350px 350px !important;
}

#careers {
    background: url('../images/background image/Gemini_Generated_Image_q7zj95q7zj95q7zj.png') repeat !important;
    background-size: 350px 350px !important;
}

#about {
    background: url('../images/background image/Gemini_Generated_Image_wd4v6mwd4v6mwd4v.png') repeat !important;
    background-size: 350px 350px !important;
}

/* ── Theme Switcher Additions ───────────────────────────────── */

/* Logo visibility based on theme */
body.dark-theme .logo-light-only {
    display: none !important;
}
body:not(.dark-theme) .logo-dark-only {
    display: none !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    background-color: var(--primary-50);
    color: var(--primary);
}

/* Toggle icon visibility */
body.dark-theme .theme-icon-light {
    display: none !important;
}
body:not(.dark-theme) .theme-icon-dark {
    display: none !important;
}

/* Dark mode repeat background blend removed to keep textures visible */

/* ── Subpage Hero Header Styling ──────────────────────────────── */
.subpage-hero {
    position: relative;
    width: 100%;
    min-height: 340px;
    padding: 40px 20px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Pulls both text lines down to the bottom of the hero banner */
    text-align: center;
    background-size: cover !important;
    background-position: center 15% !important;
    background-repeat: no-repeat !important;
    border-bottom: 2px solid var(--primary-100, rgba(255, 107, 0, 0.2));
    overflow: hidden;
}

/* Light gradient overlay so the background image is 100% bright & completely visible */
.subpage-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.6) 100%);
    z-index: 1;
}

.subpage-hero * {
    position: relative;
    z-index: 2;
}

.subpage-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff !important;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.subpage-hero p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff6b00 !important; /* Vibrant Orange Tagline */
    background: rgba(15, 23, 42, 0.72);
    padding: 6px 20px;
    border-radius: 30px;
    display: inline-block;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 107, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin: 5px auto 0;
}

.hero-owner {
    background-image: url('../images/onboarding/hotelowner-header.png');
}

.hero-sales {
    background-image: url('../images/onboarding/salesperson-header.png');
}

/* ── GeoLocation Map Canvas Height Fix ────────────────────── */
.common-geo-location-map {
    width: 100%;
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15));
}

.common-geo-location-map__canvas {
    width: 100% !important;
    height: 280px !important;
    min-height: 280px !important;
    position: relative;
    z-index: 1;
}

/* ── Compact Story Mode Widget (Icon & Switch Only) ────────── */
.story-mode-widget {
    position: fixed;
    right: 20px;
    bottom: 25px;
    top: auto;
    transform: none;
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(255, 107, 0, 0.5);
    padding: 6px 10px;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 15px rgba(255, 107, 0, 0.25);
    z-index: 1000;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.story-mode-widget:hover {
    transform: scale(1.08);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.4);
}

.story-mode-widget .widget-icon {
    font-size: 1.25rem;
    color: #ff6b00;
    display: flex;
    align-items: center;
}

.website-floating-cart {
    position: fixed;
    right: 20px;
    bottom: 84px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 48px;
    padding: 6px 12px;
    border: 1.5px solid rgba(255, 107, 0, 0.5);
    border-radius: 30px;
    color: #ff6b00;
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 15px rgba(255, 107, 0, 0.25);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.website-floating-cart:hover {
    transform: scale(1.08);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.4);
}

.website-floating-cart .mdi {
    font-size: 1.35rem;
}

.website-floating-cart strong {
    position: absolute;
    top: -7px;
    right: -5px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 0.72rem;
    line-height: 18px;
    text-align: center;
    animation: website-cart-badge-pop 260ms ease;
}

.website-order-detail-popup.common-full-screen-popup.is-overlay {
    inset: 70px 0 0 0;
    height: calc(100dvh - 70px);
}

.website-order-detail-shell.common-full-screen-popup-shell {
    height: calc(100dvh - 70px);
    max-height: calc(100dvh - 70px);
    padding-top: clamp(1rem, 2vw, 1.5rem) !important;
}
