/* ==========================================================================
   NEW ALI FINGER CHIPS - PREMIUM STYLING SYSTEM
   ========================================================================== */

/* --- Import Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
    /* Color Palette */
    --color-primary: #ff5e00;       /* Rich Gourmet Orange */
    --color-primary-rgb: 255, 94, 0;
    --color-secondary: #ffb700;     /* Deep Crisp Gold */
    --color-secondary-rgb: 255, 183, 0;
    --color-dark: #121214;          /* Luxurious Carbon Black */
    --color-dark-card: #1c1c22;     /* Card Dark Background */
    --color-light: #faf9f6;         /* Creamy Warm White */
    --color-light-card: #ffffff;    /* Card Light Background */
    --color-text-dark: #1c1c22;
    --color-text-light: #f3f4f6;
    --color-muted-light: #9ca3af;
    --color-muted-dark: #6b7280;
    
    /* Layout & Styling Tokens */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;
    --border-radius-sm: 10px;
    --border-radius-md: 18px;
    --border-radius-lg: 28px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.06);
    --shadow-primary: 0 10px 20px -5px rgba(255, 94, 0, 0.35);
    
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Base Customizations & Reset --- */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-light);
    color: var(--color-text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e05200;
}

/* --- Premium Backdrop & Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-dark);
}

.font-display {
    font-family: var(--font-display);
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.bg-primary {
    background-color: var(--color-primary) !important;
}

/* --- Glassmorphic Navigation Bar --- */
.navbar-custom {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 94, 0, 0.08);
    transition: var(--transition-smooth);
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.navbar-custom.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(255, 94, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
    padding: 8px 0;
    border-bottom-color: rgba(255, 94, 0, 0.15);
}

/* Premium Brand Typography & Logo Box */
.brand-logo-box {
    background: linear-gradient(135deg, var(--color-primary), #ff4800);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.3);
    transition: var(--transition-bounce);
}

.brand-logo-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    transition: var(--transition-bounce);
}

.navbar-brand:hover .brand-logo-box {
    transform: scale(1.15) rotate(-8deg);
}

.navbar-brand:hover .brand-logo-img {
    transform: scale(1.1) rotate(12deg);
}

.brand-text-main {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-text-sub {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1.6px;
    line-height: 1;
}

.navbar-brand-img:hover {
    transform: rotate(-5deg) scale(1.08);
}

/* Premium Navbar Action Phone Button */
.nav-phone-btn {
    background: linear-gradient(135deg, rgba(255, 94, 0, 0.05), rgba(255, 183, 0, 0.05));
    border: 1.5px solid rgba(255, 94, 0, 0.25);
    color: var(--color-dark) !important;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 22px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.nav-phone-btn:hover {
    background: linear-gradient(135deg, var(--color-primary), #ff4800);
    border-color: var(--color-primary);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 94, 0, 0.25);
}

.nav-phone-btn i {
    color: var(--color-primary);
    font-size: 1rem;
    transition: var(--transition-bounce);
}

.nav-phone-btn:hover i {
    color: white !important;
    transform: scale(1.2) rotate(-10deg);
}

/* Premium Nav Links with Pill Active Styles */
.nav-link-custom {
    color: #374151 !important; /* Slightly darker for higher contrast & premium look */
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: 30px; /* Modern rounded pill active/hover container */
    transition: var(--transition-smooth);
    position: relative;
    white-space: nowrap; /* Forces links to stay on a single line */
    letter-spacing: 0.2px;
}

.nav-link-custom::after {
    display: none; /* Disable the old baseline line indicator */
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--color-primary) !important;
    background: rgba(255, 94, 0, 0.06); /* Elegant light orange semi-transparent pill overlay */
}

/* Navbar Toggler Premium Styling */
.navbar-toggler {
    transition: var(--transition-bounce);
    padding: 6px;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler:hover {
    transform: scale(1.08);
    background: rgba(255, 94, 0, 0.05);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        border-radius: var(--border-radius-md);
        padding: 20px;
        margin-top: 15px;
        box-shadow: var(--shadow-lg);
        border: 1px solid rgba(255, 94, 0, 0.05);
    }
    
    .nav-link-custom {
        padding: 10px 20px !important;
        border-radius: 8px;
        text-align: center;
    }
    
    .nav-link-custom:hover,
    .nav-link-custom.active {
        background: rgba(255, 94, 0, 0.05);
    }
}

/* --- Hero Section & Brand Accent --- */
.hero-section {
    background: radial-gradient(circle at 10% 20%, rgba(255, 248, 235, 1) 0%, rgba(255, 240, 215, 0.7) 100%);
    padding: 140px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 183, 0, 0.15) 0%, rgba(255, 94, 0, 0) 70%);
    z-index: 0;
}

.hero-badge {
    background: rgba(255, 94, 0, 0.08);
    color: var(--color-primary);
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 94, 0, 0.15);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.6rem;
    }
}

.hero-tagline {
    font-size: 1.15rem;
    color: #4b5563;
    margin-bottom: 35px;
}

.btn-premium {
    background: linear-gradient(135deg, var(--color-primary), #ff4800);
    color: white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-primary);
    border: none;
    transition: var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 24px -5px rgba(255, 94, 0, 0.45);
    color: white;
}

.btn-premium-outline {
    background: transparent;
    color: var(--color-dark) !important;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid rgba(255, 94, 0, 0.15);
    transition: var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-premium-outline:hover {
    background: rgba(255, 94, 0, 0.05);
    border-color: var(--color-primary);
    color: var(--color-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 94, 0, 0.1);
}

.btn-premium-outline i {
    transition: var(--transition-bounce);
}

.btn-premium-outline:hover i {
    transform: scale(1.15) rotate(-5deg);
}

/* Floating Decorative Elements */
.floating-item {
    position: relative;
    z-index: 2;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 5px solid white;
    max-height: 380px;
    object-fit: cover;
    animation: floatAnimation 6s ease-in-out infinite;
}

.floating-card-badge {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    animation: floatAnimation2 5s ease-in-out infinite;
}

.fcb-1 {
    top: 15%;
    left: -10%;
}

.fcb-2 {
    bottom: 12%;
    right: -5%;
    animation-delay: 2s;
}

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

@keyframes floatAnimation2 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(10px) scale(1.02); }
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    margin: 10px auto 0 auto;
    border-radius: 10px;
}

.section-subtitle {
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
}

/* --- Special Flavours Layout --- */
.flavours-container {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 94, 0, 0.05);
}

.flavour-badge {
    background: #fdfaf2;
    color: #4b5563;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid #f3ebd5;
    transition: var(--transition-bounce);
    cursor: default;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.flavour-badge i {
    color: var(--color-primary);
}

.flavour-badge:hover {
    transform: scale(1.06) rotate(1deg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 16px -4px rgba(255, 94, 0, 0.3);
}

.flavour-badge:hover i {
    color: white;
}

/* --- Interactive Menu Cards --- */
.menu-card {
    background: white;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-bounce);
    position: relative;
}

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

.menu-card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.menu-card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.menu-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.menu-card-desc {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.45;
}

/* Half / Full Custom Selector Switch */
.size-toggle-container {
    background: #f3f4f6;
    padding: 4px;
    border-radius: var(--border-radius-sm);
    display: flex;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.size-toggle-btn {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    background: transparent;
    color: #4b5563;
    border-radius: 8px;
    transition: var(--transition-smooth);
    z-index: 2;
}

.size-toggle-btn.active {
    background: white;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

/* Quantity Control & Quick Order */
.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    max-width: 120px;
    height: 40px;
}

.qty-btn {
    width: 38px;
    height: 100%;
    border: none;
    background: #f9fafb;
    color: var(--color-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    background: #f3f4f6;
    color: var(--color-primary);
}

.qty-value {
    flex-grow: 1;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    background: white;
    width: 44px;
    outline: none;
}

.price-display {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
}

.btn-card-add {
    background: rgba(255, 94, 0, 0.08);
    color: var(--color-primary);
    border: none;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
    flex-grow: 1;
}

.btn-card-add:hover {
    background: var(--color-primary);
    color: white;
}

.btn-card-buy {
    background: linear-gradient(135deg, var(--color-secondary), #ffa200);
    color: var(--color-dark);
    border: none;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    width: 100%;
}

.btn-card-buy:hover {
    box-shadow: 0 4px 12px rgba(255, 183, 0, 0.3);
    transform: translateY(-2px);
    color: var(--color-dark);
}

/* --- Floating Navigation & Sticky Actions --- */
/* Bottom Mobile Navigation (PWA layout style) */
.mobile-navbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0 15px 0;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #4b5563;
    font-size: 0.72rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
}

.mobile-nav-item i {
    font-size: 1.4rem;
    margin-bottom: 2px;
    transition: var(--transition-bounce);
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--color-primary);
}

.mobile-nav-item.active i {
    transform: scale(1.15) translateY(-2px);
}

/* Bottom Sticky Quick Order Button for Mobile */
.mobile-sticky-order-bar {
    display: none;
    position: fixed;
    bottom: 75px;
    left: 0;
    right: 0;
    padding: 10px 16px;
    background: transparent;
    pointer-events: none;
    z-index: 999;
}

.mobile-sticky-btn {
    pointer-events: auto;
    width: 100%;
    background: linear-gradient(135deg, var(--color-primary), #ff4800);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 700;
    box-shadow: var(--shadow-lg), 0 10px 20px -5px rgba(255, 94, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-bounce);
    text-decoration: none;
}

.mobile-sticky-btn:hover,
.mobile-sticky-btn:focus {
    color: white;
    transform: translateY(-2px);
}

.mobile-sticky-btn .badge-cart-count {
    background: white;
    color: var(--color-primary);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

/* Floating Cart Button (Desktop & general responsive fallback) */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--color-primary), #ff4800);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(255, 94, 0, 0.4), var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-bounce);
    z-index: 1001;
    border: 3px solid white;
}

.floating-cart-btn:hover {
    transform: scale(1.1) translateY(-5px);
    color: white;
}

.floating-cart-btn i {
    font-size: 1.6rem;
}

.floating-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-secondary);
    color: var(--color-dark);
    font-weight: 800;
    font-size: 0.78rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}

/* Floating WhatsApp Direct Chat Badge */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 110px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-bounce);
    z-index: 1001;
    border: 3px solid white;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1) translateY(-3px);
    color: white;
}

.floating-whatsapp-btn i {
    font-size: 1.6rem;
}

/* Responsive displays for floats and bars */
@media (max-width: 767.98px) {
    .floating-cart-btn {
        display: none !important; /* Managed by sticky bar */
    }
    .floating-whatsapp-btn {
        bottom: 150px; /* Shifted up on mobile */
        right: 16px;
        width: 50px;
        height: 50px;
    }
    .mobile-navbar {
        display: flex;
    }
    .mobile-sticky-order-bar {
        display: block;
    }
    body {
        padding-bottom: 90px; /* Offset for bottom mobile nav */
    }
}

/* --- Cart Offcanvas Drawer --- */
.cart-drawer {
    width: 420px !important;
    background: #fafafc;
    border-left: 1px solid rgba(0,0,0,0.06);
}

@media (max-width: 575.98px) {
    .cart-drawer {
        width: 100% !important;
    }
}

.cart-drawer-header {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 24px;
}

.cart-drawer-body {
    padding: 24px;
    overflow-y: auto;
}

.cart-item {
    background: white;
    border-radius: var(--border-radius-sm);
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    gap: 12px;
    position: relative;
    transition: var(--transition-smooth);
}

.cart-item:hover {
    border-color: rgba(255, 94, 0, 0.08);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.cart-item-size-badge {
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(255, 94, 0, 0.08);
    color: var(--color-primary);
    padding: 2px 8px;
    border-radius: 4px;
    align-self: flex-start;
    margin-top: 2px;
}

.cart-item-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
}

.cart-item-delete {
    background: transparent;
    border: none;
    color: #ef4444;
    transition: var(--transition-smooth);
    padding: 4px;
    align-self: flex-start;
}

.cart-item-delete:hover {
    color: #dc2626;
    transform: scale(1.15);
}

.cart-drawer-footer {
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: #4b5563;
}

.summary-row-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e5e7eb;
    color: var(--color-dark);
}

.summary-row-total .price {
    color: var(--color-primary);
}

/* --- Checkout Modal --- */
.modal-premium {
    border-radius: var(--border-radius-lg);
    border: none;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.modal-premium-header {
    background: linear-gradient(135deg, var(--color-dark), #1d1d23);
    color: white;
    border: none;
    padding: 20px 28px;
}

.modal-premium-header h5 {
    color: white;
    font-family: var(--font-heading);
}

.modal-premium-body {
    padding: 28px;
    background: #fcfcfd;
}

.form-premium-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #4b5563;
    margin-bottom: 6px;
}

.form-premium-control {
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-premium-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(255, 94, 0, 0.1);
}

.form-premium-check {
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.form-premium-check:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.hostel-highlight-box {
    background: rgba(255, 183, 0, 0.06);
    border: 1px solid rgba(255, 183, 0, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 12px 18px;
    margin-top: 15px;
}

.hostel-highlight-box i {
    color: var(--color-secondary);
}

.checkout-summary-box {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

/* --- Delivery Charges Card & Table --- */
.delivery-charges-card {
    background: linear-gradient(135deg, var(--color-dark), #1d1d23);
    color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border: none;
}

.delivery-charges-card h3 {
    color: white;
}

.delivery-charges-table {
    margin: 0;
    color: white;
}

.delivery-charges-table th {
    font-weight: 700;
    color: var(--color-secondary);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.delivery-charges-table td {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    font-weight: 500;
}

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

.delivery-charges-table tr.highlighted td {
    color: var(--color-secondary);
    font-weight: 700;
}

/* --- Testimonials Layout --- */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    color: var(--color-primary);
    font-size: 2.2rem;
    opacity: 0.2;
    position: absolute;
    top: 15px;
    left: 20px;
}

.testimonial-rating {
    color: var(--color-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #4b5563;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-user-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.testimonial-user-loc {
    font-size: 0.78rem;
    color: #6b7280;
}

/* --- Contact & Location Elements --- */
.contact-info-box {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.contact-item-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 25px;
}

.contact-icon-wrapper {
    background: rgba(255, 94, 0, 0.08);
    color: var(--color-primary);
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-text-wrapper h6 {
    margin: 0 0 4px 0;
    font-weight: 700;
    font-size: 1.05rem;
}

.contact-text-wrapper p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.map-container {
    height: 100%;
    min-height: 320px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 5px solid white;
}

/* --- Footer Elements --- */
.footer-custom {
    background: #0d0d0f;
    color: #cbd5e1;
    padding: 60px 0 20px 0;
    font-size: 0.92rem;
}

.footer-custom .text-muted {
    color: #a1a1aa !important; /* Premium light silver-gray for maximum contrast on carbon-black background */
}

.footer-custom h5 {
    color: white;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: block;
    margin-bottom: 12px;
}

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

.footer-social-icon {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-bounce);
    text-decoration: none;
    margin-right: 10px;
}

.footer-social-icon:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-4px) rotate(8deg);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

/* --- Checkout Summary Item Adjustments --- */
.checkout-item {
    padding: 10px 0;
    transition: var(--transition-smooth);
}
.checkout-item:not(:last-child) {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}
.checkout-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-dark);
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE OVERRIDES
   ========================================================================== */

/* --- Tablet & Small Desktop (max-width: 991.98px) --- */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 120px 0 70px 0;
    }
    .hero-tagline {
        font-size: 1rem;
    }
    .section-padding {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.9rem;
    }
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
    }
    .delivery-charges-card {
        padding: 28px;
    }
    .contact-info-box {
        padding: 28px;
    }
    .footer-custom {
        padding: 50px 0 20px 0;
    }
}

/* --- Small Tablets & Large Phones (max-width: 767.98px) --- */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 110px 0 60px 0;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-tagline {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
    .floating-item {
        max-height: 280px;
    }
    .section-padding {
        padding: 50px 0;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    /* Menu Cards */
    .menu-card-img-wrapper {
        height: 180px;
    }
    .menu-card-body {
        padding: 18px;
    }
    .menu-card-title {
        font-size: 1.15rem;
    }
    .menu-card-desc {
        font-size: 0.85rem;
        margin-bottom: 14px;
    }
    .price-display {
        font-size: 1.2rem;
    }
    /* Delivery Section */
    .delivery-charges-card {
        padding: 22px;
    }
    .delivery-charges-card h3 {
        font-size: 1.15rem;
        margin-bottom: 15px !important;
    }
    .delivery-charges-table td {
        padding: 10px 6px;
        font-size: 0.88rem;
    }
    .delivery-charges-table th {
        font-size: 0.78rem;
    }
    /* Testimonials */
    .testimonial-card {
        padding: 22px;
    }
    .testimonial-text {
        font-size: 0.9rem;
    }
    /* Contact Section */
    .contact-info-box {
        padding: 24px;
    }
    .contact-icon-wrapper {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    .contact-text-wrapper h6 {
        font-size: 0.95rem;
    }
    .contact-text-wrapper p {
        font-size: 0.88rem;
    }
    .map-container {
        min-height: 260px;
    }
    /* Footer mobile offset for bottom nav */
    .footer-custom {
        padding: 45px 0 100px 0;
    }
    .footer-bottom {
        margin-top: 35px;
        padding-top: 20px;
    }
    .footer-bottom p {
        font-size: 0.78rem;
        line-height: 1.5;
    }
    /* Checkout Modal adjustments */
    .modal-premium-body {
        padding: 18px;
    }
    .modal-premium-header {
        padding: 16px 20px;
    }
    .modal-premium-header h5 {
        font-size: 1rem;
    }
    .checkout-summary-box {
        padding: 14px;
    }
    #checkout-summary-items-list {
        max-height: 160px !important;
    }
    .checkout-item-title {
        font-size: 0.85rem;
    }
    .modal-footer.modal-premium-body {
        padding: 14px !important;
    }
}

/* --- Small Phones (max-width: 575.98px) --- */
@media (max-width: 575.98px) {
    .hero-section {
        padding: 100px 0 50px 0;
    }
    .hero-title {
        font-size: 1.85rem;
    }
    .hero-tagline {
        font-size: 0.88rem;
        margin-bottom: 22px;
    }
    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
        gap: 5px;
    }
    .btn-premium {
        padding: 12px 22px;
        font-size: 0.9rem;
        gap: 8px;
    }
    .btn-premium-outline {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    .floating-item {
        max-height: 220px;
        border-width: 3px;
    }
    .section-padding {
        padding: 40px 0;
    }
    .section-title {
        font-size: 1.45rem;
    }
    .section-title::after {
        width: 40px;
        height: 3px;
        margin-top: 8px;
    }
    .section-subtitle {
        font-size: 0.88rem;
        margin-bottom: 25px;
    }
    /* Menu Cards */
    .menu-card-img-wrapper {
        height: 165px;
    }
    .menu-card-body {
        padding: 16px;
    }
    .menu-card-title {
        font-size: 1.05rem;
        margin-bottom: 5px;
    }
    .menu-card-desc {
        font-size: 0.82rem;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    .size-toggle-btn {
        font-size: 0.78rem;
        padding: 6px 4px;
    }
    .price-display {
        font-size: 1.1rem;
    }
    .qty-controls {
        max-width: 100px;
        height: 36px;
    }
    .qty-btn {
        width: 32px;
    }
    .qty-value {
        font-size: 0.88rem;
        width: 36px;
    }
    .btn-card-add,
    .btn-card-buy {
        height: 38px;
        font-size: 0.85rem;
    }
    /* Delivery Section */
    .delivery-charges-card {
        padding: 18px;
        border-radius: var(--border-radius-md);
    }
    .delivery-charges-card h3 {
        font-size: 1.05rem;
        margin-bottom: 12px !important;
    }
    .delivery-charges-table td {
        padding: 8px 4px;
        font-size: 0.82rem;
    }
    .delivery-charges-table th {
        font-size: 0.72rem;
        padding: 8px 4px;
    }
    /* Hostel Delivery Info Card */
    .col-lg-6 .p-4.bg-white.rounded-5 {
        padding: 18px !important;
    }
    /* Testimonials */
    .testimonial-card {
        padding: 18px;
    }
    .testimonial-text {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    .testimonial-quote {
        font-size: 1.6rem;
    }
    .testimonial-user-name {
        font-size: 0.88rem;
    }
    .testimonial-user-loc {
        font-size: 0.72rem;
    }
    .testimonial-user-avatar {
        width: 38px;
        height: 38px;
    }
    /* Contact Section */
    .contact-info-box {
        padding: 20px;
    }
    .contact-item-detail {
        margin-bottom: 18px;
        gap: 12px;
    }
    .contact-icon-wrapper {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        border-radius: 8px;
    }
    .contact-text-wrapper h6 {
        font-size: 0.88rem;
    }
    .contact-text-wrapper p {
        font-size: 0.82rem;
    }
    .map-container {
        min-height: 220px;
        border-width: 3px;
        border-radius: var(--border-radius-md);
    }
    /* Footer */
    .footer-custom {
        padding: 35px 0 110px 0;
        font-size: 0.85rem;
    }
    .footer-custom h5 {
        font-size: 1.05rem;
        margin-bottom: 18px;
    }
    .footer-link {
        font-size: 0.88rem;
        margin-bottom: 10px;
    }
    .footer-social-icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
        margin-right: 8px;
    }
    .footer-bottom {
        margin-top: 28px;
        padding-top: 18px;
    }
    .footer-bottom p {
        font-size: 0.72rem;
        line-height: 1.5;
    }
    /* Cart Drawer */
    .cart-drawer-header {
        padding: 16px 18px;
    }
    .cart-drawer-header h5 {
        font-size: 1rem;
    }
    .cart-drawer-body {
        padding: 16px;
    }
    .cart-item {
        padding: 12px;
        gap: 10px;
    }
    .cart-item-img {
        width: 50px;
        height: 50px;
    }
    .cart-item-title {
        font-size: 0.88rem;
    }
    .cart-item-price {
        font-size: 0.88rem;
    }
    .cart-drawer-footer {
        padding: 16px 18px;
    }
    .summary-row {
        font-size: 0.88rem;
    }
    .summary-row-total {
        font-size: 1.1rem;
    }
    /* Checkout Modal */
    .modal-premium {
        border-radius: var(--border-radius-md);
        margin: 8px;
    }
    .modal-premium-body {
        padding: 16px;
    }
    .modal-premium-header {
        padding: 14px 18px;
    }
    .modal-premium-header h5 {
        font-size: 0.95rem;
        gap: 6px !important;
    }
    .form-premium-label {
        font-size: 0.78rem;
    }
    .form-premium-control {
        padding: 10px 14px;
        font-size: 0.88rem;
    }
    .checkout-summary-box {
        padding: 12px;
    }
    #checkout-summary-items-list {
        max-height: 140px !important;
    }
    .checkout-item {
        padding: 8px 0;
        flex-wrap: wrap;
        gap: 8px;
    }
    .checkout-item-title {
        font-size: 0.82rem;
    }
    .modal-footer.modal-premium-body {
        padding: 12px !important;
        flex-direction: column;
    }
    .modal-footer .btn {
        width: 100%;
    }
    #checkout-submit-btn {
        padding: 14px 16px !important;
        font-size: 0.95rem;
    }
    /* Mobile Sticky Bar text */
    .mobile-sticky-btn {
        padding: 10px 18px;
        font-size: 0.88rem;
    }
    /* Bottom Mobile Nav Bar icons */
    .mobile-nav-item {
        font-size: 0.68rem;
    }
    .mobile-nav-item i {
        font-size: 1.25rem;
    }
    /* WhatsApp floating */
    .floating-whatsapp-btn {
        width: 45px;
        height: 45px;
        right: 12px;
    }
    .floating-whatsapp-btn i {
        font-size: 1.3rem;
    }
}

/* --- Extra Small Phones (max-width: 380px) --- */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-tagline {
        font-size: 0.82rem;
    }
    .brand-text-main {
        font-size: 1.1rem;
    }
    .brand-text-sub {
        font-size: 0.65rem;
        letter-spacing: 1.2px;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .btn-premium {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    .btn-premium-outline {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    .menu-card-img-wrapper {
        height: 150px;
    }
    .size-toggle-btn {
        font-size: 0.72rem;
        padding: 5px 3px;
    }
    .checkout-item .qty-controls {
        max-width: 75px;
    }
    .checkout-item .qty-controls .qty-btn {
        width: 22px;
    }
    .checkout-item .qty-controls .qty-value {
        width: 26px;
        font-size: 0.75rem;
    }
}

