/* ========================================================
   FOODY - Modern Food Delivery Web Application
   High-Converting, Portfolio-Grade Responsive Design
   Built with HTML5, CSS3 & Bootstrap 5
   ======================================================== */

:root {
    --outfit-font: "Outfit", sans-serif;
    --plus-jakarta-font: "Plus Jakarta Sans", sans-serif;

    /* Theme Brand Colors */
    --primary-orange: #FF6F22;
    --primary-hover: #E7590C;
    --primary-active: #CF4E08;
    --primary-light: #FFF2EB;
    --primary-glow: rgba(255, 111, 34, 0.28);
    --primary-gradient: linear-gradient(135deg, #FF7A30 0%, #FF5011 100%);
    --primary-gradient-subtle: linear-gradient(135deg, #FFF6F0 0%, #FFE9DE 100%);

    --brand-dark: #8B2323;
    --brand-darker: #631414;
    --brand-dark-gradient: linear-gradient(145deg, #8B2323 0%, #5C1313 100%);

    --text-dark: #1E1715;
    --text-body: #423834;
    --text-muted: #7A6F69;
    --text-light: #A49890;

    --bg-cream: #FBF7F2;
    --bg-cream-darker: #F3EAE0;
    --color-white: #FFFFFF;
    --border-color: #EFE4DA;
    --border-light: rgba(239, 228, 218, 0.65);

    --success-green: #10B981;
    --success-light: #ECFDF5;
    --star-gold: #F59E0B;

    /* Elevation Shadows */
    --shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 10px 28px -4px rgba(255, 111, 34, 0.07), 0 4px 14px rgba(30, 23, 21, 0.04);
    --shadow-card-hover: 0 22px 42px -6px rgba(255, 111, 34, 0.16), 0 8px 20px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 10px 25px rgba(255, 111, 34, 0.35);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base & Typography */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    background-color: var(--bg-cream);
    font-family: var(--plus-jakarta-font);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--outfit-font);
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

section[id], footer[id] {
    scroll-margin-top: 85px;
}

/* ========================================================
   Top Announcement Bar
   ======================================================== */
.announcement-bar {
    background: linear-gradient(90deg, #8B2323 0%, #A52D2D 50%, #FF6F22 100%);
    color: #FFF;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.45rem 0;
    letter-spacing: 0.2px;
}

.announcement-bar .badge-promo {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #FFF;
    padding: 0.2rem 0.65rem;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: var(--radius-full);
}

/* ========================================================
   Header & Navbar (Glassmorphic)
   ======================================================== */
.foody-header {
    background: rgba(251, 247, 242, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
    z-index: 1030;
}

.foody-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(30, 23, 21, 0.06);
}

.brand-text {
    font-family: var(--outfit-font);
    font-weight: 800;
    font-size: 1.85rem;
    color: var(--brand-dark);
    letter-spacing: -0.8px;
    line-height: 1;
}

.brand-badge {
    background: var(--success-light);
    color: var(--success-green);
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--success-green);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.foody-navbar .nav-link {
    font-family: var(--plus-jakarta-font);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 0.5rem 0.85rem !important;
    position: relative;
    transition: var(--transition);
}

.foody-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 22px;
    height: 2.5px;
    background-color: var(--primary-orange);
    border-radius: var(--radius-full);
    transition: transform 0.25s ease;
}

.foody-navbar .nav-link:hover,
.foody-navbar .nav-link.active {
    color: var(--primary-orange) !important;
}

.foody-navbar .nav-link:hover::after,
.foody-navbar .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Nav Action Buttons */
.nav-cart-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.nav-cart-btn:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
}

.nav-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary-gradient);
    color: #FFF;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
    box-shadow: 0 2px 6px rgba(255, 111, 34, 0.4);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-cart-badge.bump {
    transform: scale(1.4);
}

.btn-signin {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-signin:hover {
    color: var(--primary-orange);
}

.btn-order-now {
    background: var(--primary-gradient);
    color: var(--color-white) !important;
    border: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.65rem 1.6rem;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 18px rgba(255, 111, 34, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-order-now:hover {
    background: linear-gradient(135deg, #FF6F22 0%, #E74B08 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-order-now:active {
    transform: translateY(0);
}

/* ========================================================
   Hero Section
   ======================================================== */
.hero-section {
    position: relative;
    padding: 3rem 0 4rem;
    overflow: hidden;
}

.hero-pill-badge {
    background: #FFEBE3;
    border: 1px solid rgba(255, 111, 34, 0.25);
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(255, 111, 34, 0.1);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtext {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.7;
}

/* Hero Search & Address Input */
.hero-address-box {
    background: var(--color-white);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.45rem 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 520px;
    width: 100%;
    transition: var(--transition);
}

.hero-address-box:focus-within {
    border-color: var(--primary-orange);
    box-shadow: 0 12px 32px rgba(255, 111, 34, 0.18);
}

.hero-address-box input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-dark);
    width: 100%;
}

.hero-address-box input::placeholder {
    color: var(--text-light);
}

.btn-watch-now {
    color: var(--text-dark);
    background-color: var(--color-white);
    border: 1px solid var(--border-color);
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-subtle);
}

.btn-watch-now .play-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-watch-now:hover {
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    background: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.btn-watch-now:hover .play-icon-circle {
    background: var(--primary-orange);
    color: #FFF;
}

/* Hero Social Proof */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 0.5rem;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2.5px solid var(--color-white);
    margin-left: -12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.avatar-stack img:first-child {
    margin-left: 0;
}

.proof-text {
    font-size: 0.88rem;
    line-height: 1.35;
    color: var(--text-body);
}

.proof-text strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* Hero Image & Floating Cards */
.hero-media-wrapper {
    position: relative;
    padding: 1.5rem;
    display: inline-block;
}

.hero-media-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 82%;
    height: 82%;
    background: radial-gradient(circle, rgba(255, 111, 34, 0.22) 0%, rgba(255, 235, 227, 0.4) 55%, transparent 75%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(20px);
}

.hero-main-img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
    transition: transform 0.5s ease;
}

.hero-media-wrapper:hover .hero-main-img {
    transform: scale(1.02) rotate(1deg);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(255, 111, 34, 0.08);
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 4s ease-in-out infinite;
}

.floating-badge.badge-top-left {
    top: 8%;
    left: 0;
    animation-delay: 0s;
}

.floating-badge.badge-bottom-right {
    bottom: 12%;
    right: 0;
    animation-delay: 2s;
}

.floating-badge.badge-bottom-left {
    bottom: 5%;
    left: 10%;
    animation-delay: 1s;
}

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

.floating-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.floating-badge-title {
    font-family: var(--outfit-font);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.floating-badge-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================================================
   Trust / Stats Metrics Strip
   ======================================================== */
.stats-strip {
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.5rem;
    box-shadow: var(--shadow-card);
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
    padding: 0.5rem 1rem;
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

@media (max-width: 767.98px) {
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1rem;
    }
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.stat-num {
    font-family: var(--outfit-font);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    margin-bottom: 0;
}

/* ========================================================
   Section Headings Common
   ======================================================== */
.section-tag {
    color: var(--primary-orange);
    font-family: var(--outfit-font);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-subtitle {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================================
   Category Navigation & Filter Pills
   ======================================================== */
.category-filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin: 1.5rem 0 2rem;
}

.btn-filter-category {
    background: var(--color-white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 0.55rem 1.35rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    cursor: pointer;
}

.btn-filter-category:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
}

.btn-filter-category.active {
    background: var(--primary-gradient);
    color: var(--color-white);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(255, 111, 34, 0.35);
    transform: translateY(-2px);
}

/* Search Food Filter Bar */
.food-search-bar {
    max-width: 440px;
    width: 100%;
    margin: 0 auto 2.5rem;
    position: relative;
}

.food-search-bar input {
    width: 100%;
    padding: 0.75rem 1.2rem 0.75rem 2.85rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--color-white);
    font-size: 0.92rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-subtle);
    outline: none;
    transition: var(--transition);
}

.food-search-bar input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 8px 24px rgba(255, 111, 34, 0.15);
}

.food-search-bar .search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
}

/* ========================================================
   Dish Cards (Trending / Menu)
   ======================================================== */
.trend-card {
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.trend-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 111, 34, 0.3);
}

.card-media-top {
    position: relative;
    overflow: hidden;
    background: #FFFDFB;
    padding: 1.2rem;
    text-align: center;
}

.card-media-top img {
    max-height: 200px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.trend-card:hover .card-media-top img {
    transform: scale(1.08) rotate(1.5deg);
}

/* Card Badges */
.card-badge-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-gradient);
    color: #FFF;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 10px rgba(255, 111, 34, 0.3);
    z-index: 2;
}

.card-badge-tag.tag-chef {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.card-badge-tag.tag-spicy {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

/* Card Action Top Icons (Heart / Quick View) */
.card-quick-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 2;
}

.btn-card-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    cursor: pointer;
}

.btn-card-action:hover {
    background: var(--color-white);
    color: var(--primary-orange);
    transform: scale(1.1);
}

.btn-card-action.btn-favorite.active {
    color: #EF4444;
    background: #FEE2E2;
    border-color: #FECACA;
}

/* Card Body */
.trend-card .card-body {
    padding: 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.card-rating-badge {
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    color: #D97706;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.card-prep-time {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.heading-card {
    font-family: var(--outfit-font);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.card-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.card-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border-color);
}

.card-price {
    font-family: var(--outfit-font);
    font-weight: 800;
    color: var(--primary-orange);
    font-size: 1.45rem;
    line-height: 1;
}

.card-price .currency {
    font-size: 1rem;
    vertical-align: top;
}

.btn-add-cart {
    background: var(--primary-gradient);
    color: #FFF;
    border: none;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(255, 111, 34, 0.28);
    transition: var(--transition);
    cursor: pointer;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #FF6F22 0%, #D84305 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 111, 34, 0.45);
    color: #FFF;
}

.btn-add-cart.added {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* ========================================================
   Top Foods / Category Showcase
   ======================================================== */
.category-showcase-card {
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary-orange);
}

.category-showcase-card img {
    max-height: 105px;
    width: auto;
    margin: 0 auto 1.1rem;
    transition: transform 0.4s ease;
}

.category-showcase-card:hover img {
    transform: scale(1.12) rotate(4deg);
}

.category-showcase-title {
    font-family: var(--outfit-font);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.category-showcase-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================================
   Features & Value Proposition
   ======================================================== */
.features-section {
    padding: 4.5rem 0;
    position: relative;
}

.feature-box-card {
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
}

.feature-box-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 111, 34, 0.35);
}

.feature-icon-badge {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 12px rgba(255, 111, 34, 0.12);
}

.feature-icon-badge img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.feature-title {
    font-family: var(--outfit-font);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Customer Experience Card with image */
.customer-experience-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.customer-experience-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.floating-review-chip {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

/* ========================================================
   Our Champions / Master Chefs Section
   ======================================================== */
.team-member-card {
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.5rem 1.8rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 111, 34, 0.35);
}

.team-avatar-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 1.4rem;
}

.team-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--color-white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.team-member-card:hover .team-avatar-wrapper img {
    transform: scale(1.06);
}

.team-badge-circle {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 34px;
    height: 34px;
    background: var(--primary-gradient);
    border-radius: 50%;
    border: 2px solid var(--color-white);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(255, 111, 34, 0.35);
}

.team-name {
    font-family: var(--outfit-font);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.8rem;
}

.team-social-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.team-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-cream);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    transition: var(--transition);
    text-decoration: none;
}

.team-social-btn:hover {
    background: var(--primary-orange);
    color: #FFF;
    transform: translateY(-2px);
}

/* ========================================================
   Customer Reviews & Testimonials
   ======================================================== */
.testimonial-card {
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 111, 34, 0.3);
}

.review-stars {
    color: var(--star-gold);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.2rem;
}

.review-quote {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-body);
    font-style: italic;
    margin-bottom: 1.4rem;
    flex-grow: 1;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.reviewer-profile img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name {
    font-family: var(--outfit-font);
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--text-dark);
    margin-bottom: 0.1rem;
}

.reviewer-badge {
    font-size: 0.76rem;
    color: var(--success-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ========================================================
   Shopping Cart Offcanvas Drawer
   ======================================================== */
.cart-offcanvas {
    background-color: var(--bg-cream);
    width: 100% !important;
    max-width: 440px;
    border-left: 1px solid var(--border-color);
}

.cart-offcanvas .offcanvas-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 1.5rem;
}

.cart-header-title {
    font-family: var(--outfit-font);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-card {
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.cart-item-card:hover {
    border-color: rgba(255, 111, 34, 0.3);
}

.cart-item-thumb {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-sm);
    background: #FFF9F5;
    padding: 0.35rem;
    object-fit: contain;
    flex-shrink: 0;
}

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

.cart-item-name {
    font-family: var(--outfit-font);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.cart-item-price {
    font-family: var(--outfit-font);
    font-weight: 800;
    color: var(--primary-orange);
    font-size: 1.05rem;
}

.cart-qty-counter {
    display: inline-flex;
    align-items: center;
    background: var(--bg-cream);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0.15rem 0.4rem;
    gap: 0.5rem;
}

.cart-qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-white);
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.cart-qty-btn:hover {
    background: var(--primary-orange);
    color: #FFF;
    border-color: var(--primary-orange);
}

.cart-qty-num {
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 16px;
    text-align: center;
}

.btn-delete-cart-item {
    color: var(--text-light);
    background: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.2rem;
}

.btn-delete-cart-item:hover {
    color: #EF4444;
}

/* Free Delivery Meter */
.free-delivery-meter {
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.delivery-progress-bar {
    height: 6px;
    border-radius: var(--radius-full);
    background: #E5E7EB;
    overflow: hidden;
    margin-top: 0.4rem;
}

.delivery-progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transition: width 0.4s ease;
}

/* Cart Summary */
.cart-summary-table {
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    margin-bottom: 1.2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.summary-row.total-row {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    padding-top: 0.6rem;
    border-top: 1px dashed var(--border-color);
    margin-bottom: 0;
}

.summary-row.total-row .total-amount {
    color: var(--primary-orange);
    font-family: var(--outfit-font);
}

.empty-cart-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.empty-cart-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

/* ========================================================
   Modals (Quick View, Order Success, Live Tracker)
   ======================================================== */
.modal-content {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.nutrition-pill {
    background: var(--bg-cream);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.6rem 0.8rem;
    text-align: center;
}

.nutrition-pill .num {
    font-family: var(--outfit-font);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-orange);
}

.nutrition-pill .label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Live Order Tracker Stepper */
.order-tracker-step {
    position: relative;
    padding-left: 2.5rem;
    padding-bottom: 1.8rem;
}

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

.order-tracker-step::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 30px;
    bottom: -5px;
    width: 2px;
    background-color: var(--border-color);
}

.order-tracker-step:last-child::before {
    display: none;
}

.order-tracker-step.completed::before {
    background-color: var(--success-green);
}

.step-icon-circle {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    z-index: 1;
}

.order-tracker-step.completed .step-icon-circle {
    background: var(--success-green);
    border-color: var(--success-green);
    color: #FFF;
}

.order-tracker-step.active .step-icon-circle {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #FFF;
    box-shadow: 0 0 0 5px rgba(255, 111, 34, 0.2);
}

/* ========================================================
   Footer
   ======================================================== */
.foody-footer {
    background-color: #1E1715;
    color: #D4C9C3;
    padding-top: 4.5rem;
    padding-bottom: 2rem;
    position: relative;
}

.foody-footer .brand-text {
    color: #FFF;
}

.footer-description {
    color: #A99E97;
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 320px;
}

.footer-heading {
    color: #FFF;
    font-family: var(--outfit-font);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    letter-spacing: -0.2px;
}

.footer-links a {
    color: #A99E97;
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover {
    color: var(--primary-orange);
    transform: translateX(4px);
}

/* Newsletter Box */
.footer-newsletter-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    padding: 0.35rem 0.35rem 0.35rem 1rem;
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.footer-newsletter-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #FFF;
    font-size: 0.88rem;
    min-width: 0;
    flex: 1 1 auto;
    width: 100%;
}

.footer-newsletter-box input::placeholder {
    color: #8E837D;
}

.footer-newsletter-box button {
    background: var(--primary-gradient);
    color: #FFF;
    border: none;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter-box button:hover {
    background: #FFF;
    color: var(--primary-orange);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #FFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background-color: var(--primary-orange);
    color: #FFF;
    border-color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 111, 34, 0.4);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.12);
    margin: 3rem 0 1.8rem;
}

.footer-bottom {
    color: #8E837D;
    font-size: 0.85rem;
}

.footer-legal-link {
    color: #8E837D;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-link:hover {
    color: var(--primary-orange);
}

/* ========================================================
   Back to Top Floating Button
   ======================================================== */
.back-to-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #FFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 24px rgba(255, 111, 34, 0.35);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, #FF6F22 0%, #E74B08 100%);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* ========================================================
   Toast Notification Styling
   ======================================================== */
.foody-toast-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1090;
}

.foody-toast {
    background: rgba(30, 23, 21, 0.95);
    backdrop-filter: blur(12px);
    color: #FFF;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ========================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   Specifically engineered for small screens (320px - 768px - 991px)
   ======================================================== */

/* Prevent horizontal scrollbars across all screen widths */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Tablet & Mobile Header (max-width: 991.98px) */
@media (max-width: 991.98px) {
    .foody-header {
        padding: 0.35rem 0;
    }

    .brand-text {
        font-size: 1.6rem;
    }

    .foody-navbar .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: var(--radius-md);
        padding: 1.25rem 1rem;
        margin-top: 0.75rem;
        border: 1px solid var(--border-color);
        box-shadow: 0 16px 36px rgba(30, 23, 21, 0.12);
        animation: mobileDropdownAnim 0.25s ease forwards;
    }

    @keyframes mobileDropdownAnim {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .foody-navbar .navbar-nav {
        gap: 0.25rem;
        margin-bottom: 0.75rem !important;
    }

    .foody-navbar .nav-link {
        padding: 0.65rem 1rem !important;
        border-radius: var(--radius-sm);
        font-size: 0.98rem;
        font-weight: 600;
        text-align: center;
    }

    .foody-navbar .nav-link:hover,
    .foody-navbar .nav-link.active {
        background-color: var(--primary-light);
        color: var(--primary-orange) !important;
    }

    .foody-navbar .nav-link::after {
        display: none !important;
    }

    .nav-cart-btn {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }

    .navbar-toggler {
        width: 40px;
        height: 40px;
        border-radius: 50% !important;
        background: var(--color-white);
        border: 1px solid var(--border-color) !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-subtle);
        transition: var(--transition);
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(255, 111, 34, 0.25) !important;
    }
}

/* Medium & Small Phones (max-width: 767.98px) */
@media (max-width: 767.98px) {
    /* Hero section centering & proportions */
    .hero-section {
        padding: 1.5rem 0 2.5rem;
        text-align: center;
    }

    .hero-section .col-12.col-lg-7 {
        align-items: center !important;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero-subtext {
        font-size: 0.95rem;
        margin: 0 auto;
        max-width: 90%;
    }

    .hero-pill-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.85rem;
        white-space: normal;
        text-align: center;
        line-height: 1.35;
        margin: 0 auto;
    }

    .hero-address-box {
        margin: 0 auto;
        max-width: 100%;
        padding: 0.35rem 0.4rem 0.35rem 0.85rem;
    }

    .hero-section .d-flex.gap-3.flex-wrap {
        justify-content: center;
        width: 100%;
    }

    .hero-social-proof {
        justify-content: center;
        flex-direction: column;
        gap: 0.45rem;
        text-align: center;
    }

    /* Hero media & Badges (zero horizontal bleed) */
    .hero-media-wrapper {
        padding: 1rem 0.5rem;
        width: 100%;
        max-width: 360px;
        margin: 0.5rem auto 0;
        display: block;
    }

    .hero-main-img {
        max-width: 82%;
        margin: 0 auto;
    }

    .floating-badge {
        padding: 0.45rem 0.75rem;
        gap: 0.5rem;
        border-radius: var(--radius-sm);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .floating-badge-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .floating-badge-title {
        font-size: 0.78rem;
    }

    .floating-badge-sub {
        font-size: 0.68rem;
    }

    .floating-badge.badge-top-left {
        top: 0%;
        left: 0%;
    }

    .floating-badge.badge-bottom-right {
        bottom: 0%;
        right: 0%;
    }

    .floating-badge.badge-bottom-left {
        display: none !important;
    }

    /* Category filter horizontal swipe */
    .category-filter-wrapper {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0.35rem 0.25rem 0.85rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    .category-filter-wrapper::-webkit-scrollbar {
        display: none;
    }

    .btn-filter-category {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.85rem;
        padding: 0.45rem 1rem;
        scroll-snap-align: start;
    }

    .food-search-bar {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .food-search-bar input {
        font-size: 0.88rem;
        padding: 0.65rem 1rem 0.65rem 2.6rem;
    }

    /* Section Headings */
    .section-title {
        font-size: 1.85rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Feature Box & Customer Experience */
    .features-section {
        padding: 3rem 0;
    }

    .feature-box-card {
        padding: 1.4rem 1.2rem;
    }

    .customer-experience-wrap {
        margin-top: 1.25rem;
    }

    .floating-review-chip {
        position: static;
        margin-top: 0.85rem;
        padding: 0.85rem 1rem;
    }

    /* Team Members & Reviews */
    .team-member-card {
        padding: 1.6rem 1.2rem 1.3rem;
    }

    .team-avatar-wrapper {
        width: 105px;
        height: 105px;
        margin-bottom: 1rem;
    }

    .testimonial-card {
        padding: 1.4rem 1.2rem;
    }

    .review-quote {
        font-size: 0.9rem;
    }

    /* Footer */
    .foody-footer {
        padding-top: 3.25rem;
        padding-bottom: 1.75rem;
    }

    .footer-heading {
        margin-bottom: 0.85rem;
        font-size: 1.05rem;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .d-flex {
        justify-content: center;
        gap: 1.25rem !important;
    }
}

/* Small Screens & Mobile Phones (max-width: 575.98px) */
@media (max-width: 575.98px) {
    /* Global safe containers */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Top Announcement Bar */
    .announcement-bar {
        font-size: 0.74rem;
        padding: 0.35rem 0.5rem;
        text-align: center;
    }

    .announcement-bar .container {
        justify-content: center !important;
    }

    .announcement-bar .announcement-content {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 0.35rem !important;
    }

    .announcement-bar .badge-promo {
        font-size: 0.68rem;
        padding: 0.15rem 0.5rem;
    }

    /* Hero Section */
    .hero-section {
        padding: 1.5rem 0 2rem;
    }

    .hero-pill-badge {
        font-size: 0.72rem;
        padding: 0.35rem 0.75rem;
        white-space: normal;
        text-align: center;
        line-height: 1.35;
        max-width: 100%;
        margin: 0 auto;
        display: inline-flex;
        justify-content: center;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
    }

    .hero-subtext {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    /* Hero Address Box */
    .hero-address-box {
        padding: 0.35rem 0.4rem 0.35rem 0.85rem;
        border-radius: var(--radius-full);
        gap: 0.4rem;
        max-width: 100%;
        width: 100%;
    }

    .hero-address-box input {
        min-width: 0;
        flex: 1 1 auto;
        font-size: 0.84rem;
    }

    .hero-address-box .btn-order-now {
        flex: 0 0 auto;
        padding: 0.45rem 0.9rem;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    /* Hero CTA Buttons */
    .hero-cta-group {
        gap: 0.5rem !important;
        justify-content: center;
        width: 100%;
    }

    .hero-cta-group .btn-order-now,
    .hero-cta-group .btn-watch-now {
        flex: 1 1 135px;
        justify-content: center;
        font-size: 0.88rem;
        padding: 0.6rem 0.95rem;
    }

    /* Hero Media - hide floating badges on phones to prevent dish overlap */
    .hero-media-wrapper {
        padding: 0.5rem 0;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-main-img {
        max-width: 90%;
    }

    .floating-badge {
        display: none !important;
    }

    /* Stats Strip 2-column grid */
    .stats-strip {
        padding: 0.85rem 0.4rem;
        margin-top: 1rem;
        margin-bottom: 1.75rem;
        border-radius: var(--radius-md);
    }

    .stat-item {
        padding: 0.4rem 0.2rem;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    /* Dish Cards */
    .trend-card {
        margin-bottom: 0.85rem;
        border-radius: var(--radius-md);
    }

    .card-media-top {
        padding: 0.85rem;
    }

    .card-media-top img {
        max-height: 160px;
    }

    .trend-card .card-body {
        padding: 0.95rem;
    }

    .heading-card {
        font-size: 1.1rem;
    }

    .card-description {
        font-size: 0.82rem;
        margin-bottom: 0.65rem;
    }

    .card-price {
        font-size: 1.3rem;
    }

    .btn-add-cart {
        padding: 0.5rem 1.05rem;
        font-size: 0.86rem;
    }

    /* Cuisine Showcase 2x2 grid */
    .category-showcase-card {
        padding: 1.15rem 0.6rem;
        border-radius: var(--radius-md);
    }

    .category-showcase-card img {
        max-height: 65px;
        margin-bottom: 0.5rem;
    }

    .category-showcase-title {
        font-size: 0.92rem;
    }

    .category-showcase-sub {
        font-size: 0.7rem;
    }

    /* Cart Offcanvas Drawer */
    .cart-offcanvas {
        max-width: 100vw;
    }

    .cart-offcanvas .offcanvas-header {
        padding: 1rem;
    }

    .cart-offcanvas .offcanvas-body {
        padding: 1rem !important;
    }

    .cart-item-card {
        padding: 0.75rem;
        gap: 0.65rem;
    }

    .cart-item-thumb {
        width: 52px;
        height: 52px;
    }

    .cart-item-info {
        min-width: 0;
    }

    .cart-item-name {
        font-size: 0.88rem;
        word-break: break-word;
    }

    .cart-item-price {
        font-size: 0.98rem;
    }

    .cart-summary-table {
        padding: 0.85rem;
    }

    /* Modals Responsive */
    .modal-dialog {
        margin: 0.65rem auto;
        max-width: calc(100% - 1.3rem);
    }

    .modal-content {
        border-radius: var(--radius-md);
    }

    /* Quick View Action Bar */
    .quick-view-action-bar {
        flex-wrap: wrap;
        gap: 0.75rem !important;
    }

    .quick-view-action-bar .card-price {
        font-size: 1.35rem;
    }

    .quick-view-action-bar .action-controls-wrap {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .quick-view-action-bar .action-controls-wrap .cart-qty-counter {
        flex: 0 0 auto;
    }

    .quick-view-action-bar .action-controls-wrap #quickViewAddBtn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .nutrition-pill {
        padding: 0.45rem 0.25rem;
    }

    .nutrition-pill .num {
        font-size: 0.95rem;
    }

    .nutrition-pill .label {
        font-size: 0.65rem;
    }

    /* Live Order Tracker Modal */
    .order-tracker-step {
        padding-left: 2.2rem;
        padding-bottom: 1.35rem;
    }

    .order-tracker-step h6 {
        font-size: 0.88rem;
    }

    .order-tracker-step span {
        font-size: 0.75rem;
    }

    .courier-info-card {
        flex-wrap: wrap;
        gap: 0.65rem;
    }

    .courier-info-card a.btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Floating Toast & Back to Top (Separate positions, zero overlap) */
    .foody-toast-container {
        left: 0.85rem;
        right: 0.85rem;
        bottom: 4.8rem;
        max-width: calc(100% - 1.7rem);
    }

    .foody-toast {
        width: 100%;
        justify-content: center;
        font-size: 0.84rem;
        padding: 0.75rem 1rem;
    }

    .back-to-top-btn {
        bottom: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
    }

    /* Newsletter Box in Footer */
    .footer-newsletter-box {
        padding: 0.25rem 0.25rem 0.25rem 0.75rem;
    }

    .footer-newsletter-box input {
        font-size: 0.82rem;
        min-width: 0;
        flex: 1 1 auto;
    }

    .footer-newsletter-box button {
        padding: 0.45rem 0.85rem;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .footer-bottom .d-flex {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem 1.25rem !important;
    }
}

/* Mobile Inputs: Prevent iOS Auto-Zoom */
@media (max-width: 767.98px) {
    .hero-address-box input,
    .food-search-bar input,
    .footer-newsletter-box input {
        font-size: 16px !important;
    }
}

/* Narrow Mobile Phones (max-width: 420px) */
@media (max-width: 420px) {
    .hero-address-box {
        flex-direction: column;
        align-items: stretch;
        border-radius: var(--radius-md);
        padding: 0.65rem 0.75rem;
        gap: 0.55rem;
    }

    .hero-address-box .hero-address-input-group {
        width: 100%;
    }

    .hero-address-box input {
        text-align: left;
    }

    .hero-address-box .btn-order-now {
        width: 100%;
        justify-content: center;
        padding: 0.55rem 1rem;
        font-size: 0.86rem;
    }

    .hero-cta-group .btn-order-now,
    .hero-cta-group .btn-watch-now {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* Extra Small Phones (max-width: 360px) */
@media (max-width: 360px) {
    .brand-text {
        font-size: 1.4rem;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .stat-num {
        font-size: 1.35rem;
    }

    .stat-label {
        font-size: 0.68rem;
    }
}