@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --bg-primary: #09090b;
    --bg-secondary: #121215;
    --bg-card: #18181c;
    --bg-card-hover: #222227;
    --bg-surface: #27272e;
    
    --border-color: #27272a;
    --border-subtle: #1f1f23;
    --border-active: #e50914;
    
    --brand-red: #e50914;
    --brand-red-hover: #ff1e27;
    --brand-red-light: rgba(229, 9, 20, 0.15);
    --brand-red-glow: rgba(229, 9, 20, 0.35);
    
    --brand-green: #10b981;
    --brand-green-light: rgba(16, 185, 129, 0.15);
    --brand-yellow: #f59e0b;
    
    --text-main: #ffffff;
    --text-muted: #d1d5db;
    --text-dim: #cbd5e1;
    --text-light-gray: #e2e8f0;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 9999px;
    
    --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--brand-red-glow);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global High-Contrast Text Overrides */
.text-muted {
    color: #cbd5e1 !important;
}

.text-dim {
    color: #e2e8f0 !important;
}

.text-secondary {
    color: #cbd5e1 !important;
}

.text-light-gray {
    color: #f1f5f9 !important;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* High Contrast Table Dark */
.table-dark {
    --bs-table-color: #f8fafc !important;
    --bs-table-bg: transparent !important;
    --bs-table-border-color: #27272a !important;
    --bs-table-hover-bg: rgba(255, 255, 255, 0.06) !important;
    --bs-table-hover-color: #ffffff !important;
    color: #f8fafc !important;
}

.table-dark th {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #3f3f46 !important;
}

.table-dark td {
    color: #f1f5f9 !important;
    border-bottom: 1px solid #27272a !important;
}

.table-dark .text-muted {
    color: #e2e8f0 !important;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-red);
}

/* Header & Navigation */
.navbar-custom {
    background-color: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-logo-img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.4);
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: #fff;
}

.brand-sub {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.nav-link-custom {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    border-radius: var(--radius-sm);
}

.nav-link-custom:hover {
    color: #ffffff;
}

.nav-link-custom.active {
    color: #ffffff;
}

.nav-link-custom.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 15%;
    right: 15%;
    height: 3px;
    background-color: var(--brand-red);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--brand-red);
}

.location-pill {
    background: #18181c;
    border: 1px solid #27272a;
    border-radius: var(--radius-pill);
    padding: 0 1rem;
    height: 38px;
    font-size: 0.82rem;
    color: #f1f5f9;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.location-pill:hover {
    border-color: #3f3f46;
    background: #202025;
}

.btn-cart-pill {
    background-color: var(--brand-red);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0 1.2rem;
    height: 38px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
    transition: var(--transition);
}

.btn-cart-pill:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
    color: #ffffff;
}

.cart-badge-count {
    background: #ffffff;
    color: var(--brand-red);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

/* Buttons */
.btn-red {
    background-color: var(--brand-red);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.35);
}

.btn-red:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.55);
    color: #ffffff;
}

.btn-red-sm {
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
}

.btn-dark-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.btn-dark-outline:hover {
    border-color: var(--text-main);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 3.5rem 0 2.5rem;
    overflow: hidden;
    background: radial-gradient(circle at 75% 30%, rgba(229, 9, 20, 0.12) 0%, transparent 60%);
}

.hero-title-main {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-title-red {
    color: var(--brand-red);
    display: block;
    text-shadow: 0 0 35px rgba(229, 9, 20, 0.6);
}

.hero-tags {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-badge-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.hero-img-container {
    position: relative;
    animation: floatSlow 6s ease-in-out infinite;
}

.hero-main-img {
    width: 100%;
    max-width: 540px;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 9, 20, 0.2);
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0.5deg); }
}

/* Craving Horizontal Categories */
.category-card-craving {
    background: #ffffff;
    color: #0f172a;
    border-radius: var(--radius-md);
    padding: 0.85rem 0.6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    min-width: 105px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.category-card-craving:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(229, 9, 20, 0.25);
    background: #fff5f5;
}

.category-card-craving img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 50%;
}

.category-card-craving .cat-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111827;
}

/* Product Cards */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.product-img-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 0.9rem;
    background: #0f0f12;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.veg-icon-badge {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--brand-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border-radius: 3px;
}
.veg-icon-badge::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-green);
}

.nonveg-icon-badge {
    width: 16px;
    height: 16px;
    border: 1.5px solid #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border-radius: 3px;
}
.nonveg-icon-badge::after {
    content: '';
    width: 0; 
    height: 0; 
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 7px solid #ef4444;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
}

.product-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}

.product-size-pricing {
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.5rem;
    margin-bottom: 0.9rem;
    text-align: center;
    gap: 0.25rem;
}

.size-price-item {
    flex: 1;
    cursor: pointer;
    border-radius: 6px;
    padding: 3px 4px;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.size-price-item:hover {
    background: rgba(229, 9, 20, 0.12);
    border-color: rgba(229, 9, 20, 0.35);
    transform: translateY(-1px);
}

.size-price-item.active {
    background: rgba(229, 9, 20, 0.18);
    border-color: #e50914;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.25);
}

.size-price-item .size-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 600;
    transition: color 0.2s ease;
}

.size-price-item.active .size-label {
    color: #ff8080 !important;
}

.size-price-item .size-val {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.2s ease;
}

.size-price-item.active .size-val {
    color: #ffffff;
}

/* Variant Select Modal Styles */
.variant-option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.variant-option-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(229, 9, 20, 0.4);
    transform: translateY(-1px);
}

.variant-option-card.selected {
    background: rgba(229, 9, 20, 0.14);
    border-color: #e50914;
    box-shadow: 0 0 16px rgba(229, 9, 20, 0.25);
}

.variant-option-card .variant-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.variant-option-card.selected .variant-radio {
    border-color: #e50914;
    background: #e50914;
}

.variant-option-card .variant-radio-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    display: none;
}

.variant-option-card.selected .variant-radio-dot {
    display: block;
}

.variant-option-card .variant-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
}

.variant-option-card .variant-size-hint {
    font-size: 0.78rem;
    color: #a1a1aa;
}

.variant-option-card .variant-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.08rem;
    color: #ffffff;
}

.variant-option-card.selected .variant-price {
    color: #ff4d4f;
}

/* Offers & Combos Cards */
.offer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.offer-card:hover {
    border-color: var(--brand-red);
    box-shadow: 0 15px 30px rgba(229, 9, 20, 0.2);
    transform: translateY(-4px);
}

.offer-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--brand-red);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.9rem;
    border-bottom-right-radius: var(--radius-sm);
}

.offer-price-tag {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-red);
}

/* Value Props Ribbon */
.value-ribbon-bar {
    background: #111114;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.75rem 0;
}

.feature-pill-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--brand-red);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    background: rgba(229, 9, 20, 0.08);
}

.feature-pill-card h5 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-pill-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

/* Footer Styles */
.site-footer {
    background: #09090b;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 1.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.6rem;
}

.footer-links-list a:hover {
    color: var(--brand-red);
    padding-left: 4px;
}

.whatsapp-cta-btn {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    color: #22c55e;
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.whatsapp-cta-btn:hover {
    background: #22c55e;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}

/* Menu Page Sidebar & Layout */
.menu-category-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
    transition: var(--transition);
}

.menu-category-btn:hover {
    background: var(--bg-card);
    color: #ffffff;
}

.menu-category-btn.active {
    background: var(--brand-red);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.subcategory-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: var(--radius-pill);
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.subcategory-pill:hover, .subcategory-pill.active {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #ffffff;
}

/* Cart Sidebar (Desktop) */
.cart-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    position: sticky;
    top: 90px;
}

.cart-item-row {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.cart-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

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

.qty-counter-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0 4px;
}

/* Customizer Steps UI */
.customizer-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.custom-step-title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.option-select-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.option-select-card:hover {
    border-color: var(--text-muted);
}

.option-select-card.selected {
    border-color: var(--brand-red);
    background: rgba(229, 9, 20, 0.12);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.3);
}

.option-select-card.selected::before {
    content: '✓';
    position: absolute;
    top: 6px;
    right: 8px;
    color: var(--brand-red);
    font-weight: 800;
    font-size: 0.8rem;
}

.topping-checkbox-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
}

.topping-checkbox-card:hover {
    border-color: var(--border-light);
}

.topping-checkbox-card.selected {
    border-color: var(--brand-red);
    background: rgba(229, 9, 20, 0.15);
}

/* Track Order Timeline */
.timeline-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 2rem 1rem;
}

.timeline-stepper::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.timeline-step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.timeline-step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.1rem;
    transition: var(--transition);
}

.timeline-step-item.active .timeline-step-circle {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
}

.timeline-step-item.completed .timeline-step-circle {
    background: #22c55e;
    border-color: #22c55e;
    color: #ffffff;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

.custom-toast {
    background: #18181b;
    color: #ffffff;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--brand-red);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.custom-toast .btn-close {
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 50;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    outline: none !important;
}

.custom-toast .btn-close:hover {
    opacity: 1 !important;
    transform: scale(1.18);
}

/* Progress bar for free delivery */
.free-delivery-progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    height: 6px;
    overflow: hidden;
}
.free-delivery-progress-bar {
    background: var(--brand-green);
    height: 100%;
    transition: width 0.4s ease;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .hero-title-main {
        font-size: 2.8rem;
    }
    .cart-sidebar-card {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title-main {
        font-size: 2.2rem;
    }
    .timeline-stepper {
        flex-direction: column;
        gap: 1.5rem;
        padding-left: 2rem;
    }
    .timeline-stepper::before {
        top: 20px;
        bottom: 20px;
        left: 24px;
        width: 3px;
        height: auto;
    }
    .timeline-step-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }
    .timeline-step-circle {
        margin: 0;
    }
}

/* ==============================================
   MOBILE S / EXTRA-SMALL SCREENS (320px - 400px)
============================================== */
@media (max-width: 400px) {
    .container,
    .container-fluid {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    /* Header */
    .navbar-custom {
        padding: 0.55rem 0;
    }
    .brand-logo-img {
        width: 38px;
        height: 38px;
    }
    .brand-title {
        font-size: 0.9rem;
        max-width: 118px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .brand-sub {
        display: none;
    }
    .navbar-actions {
        gap: 0.35rem !important;
    }
    .btn-cart-pill {
        padding: 0 0.6rem;
        height: 34px;
        font-size: 0.72rem;
        gap: 0.3rem;
    }
    .btn-cart-pill span:not(.cart-badge-count) {
        display: none;
    }
    .cart-badge-count {
        width: 17px;
        height: 17px;
        font-size: 0.65rem;
    }
    .btn-login-pill {
        padding: 0 0.5rem !important;
        height: 34px !important;
    }
    .navbar-toggler-btn {
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
    }
    .offcanvas-start {
        width: 85%;
    }

    /* Hero row gutter was overflowing the viewport with Bootstrap's g-5 (3rem) gutter */
    .hero-section .row.g-5 {
        --bs-gutter-x: 1rem;
    }

    /* Section headings that use icon + text flex layout */
    h2.d-inline-flex,
    .font-heading.d-inline-flex {
        flex-wrap: wrap;
        row-gap: 0.35rem;
        font-size: 1.35rem;
    }

    /* Hero */
    .hero-section {
        padding: 2rem 0 1.5rem;
    }
    .hero-title-main {
        font-size: 1.7rem;
        letter-spacing: -0.5px;
    }
    .hero-tags {
        font-size: 0.92rem;
        margin-bottom: 1rem;
    }
    .hero-badge-pill {
        flex-wrap: wrap;
        width: 100%;
        gap: 0.75rem;
        padding: 0.65rem 0.9rem;
    }
    .hero-badge-pill > div {
        flex: 1 1 auto;
    }

    /* Craving Categories */
    .category-card-craving {
        min-width: 82px;
        padding: 0.65rem 0.4rem;
    }
    .category-card-craving img {
        width: 48px;
        height: 48px;
    }
    .category-card-craving .cat-name {
        font-size: 0.68rem;
    }

    /* Product & Offer Cards */
    .product-card {
        padding: 0.85rem;
    }
    .product-title {
        font-size: 0.95rem;
    }
    .product-desc {
        font-size: 0.75rem;
    }
    .offer-card {
        padding: 0.9rem;
    }
    .offer-price-tag {
        font-size: 1.2rem;
    }

    /* Why Pizza Stoppage / feature highlight cards */
    .feature-icon-circle {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }
    .col-md-3.col-6 > .p-4 {
        padding: 1rem !important;
    }
    .col-md-3.col-6 h5.font-heading {
        font-size: 0.82rem;
        letter-spacing: 0;
        word-break: break-word;
    }

    /* Footer */
    .footer-links-list {
        font-size: 0.82rem;
    }
}

/* ==============================================
   PIZZA STOPPAGE BRAND PAGINATION THEME
============================================== */
.pagination {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-item .page-link {
    background-color: #18181c !important;
    border: 1px solid #27272a !important;
    color: #cbd5e1 !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    padding: 0 0.75rem;
    box-shadow: none !important;
    transition: var(--transition);
}

.page-item .page-link:hover {
    background-color: #27272a !important;
    border-color: #e50914 !important;
    color: #ffffff !important;
}

.page-item.active .page-link {
    background-color: #e50914 !important;
    border-color: #e50914 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(229, 9, 20, 0.45) !important;
}

.page-item.disabled .page-link {
    background-color: #111114 !important;
    border-color: #222226 !important;
    color: #52525b !important;
    opacity: 0.5;
    cursor: not-allowed;
}

nav[role="navigation"] p.text-muted,
nav[role="navigation"] p.small,
.pagination-wrapper p {
    color: #cbd5e1 !important;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ==============================================
   PASSWORD VISIBILITY TOGGLE BUTTON
============================================== */
.toggle-password-btn {
    border-color: #495057 !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #cbd5e1 !important;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: #6c757d !important;
}

.toggle-password-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(229, 9, 20, 0.25) !important;
    border-color: var(--brand-red) !important;
}

/* ==============================================
   NOTIFICATION 10-SECOND AUTO-DISMISS & TIMER BAR
============================================== */
.notification-timer-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    animation: notificationCountdown 10s linear forwards;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    pointer-events: none;
    z-index: 10;
}

.custom-toast .notification-timer-bar {
    background: linear-gradient(90deg, var(--brand-red), #ff4d58);
}

.alert-success .notification-timer-bar {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.alert-danger .notification-timer-bar {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

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

/* ==============================================
   DELIVERY LOCATION SELECTOR STYLES
============================================== */
.location-select-btn {
    background: #141417 !important;
    border-color: #27272a !important;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.location-select-btn:hover {
    background: #1c1c22 !important;
    border-color: #495057 !important;
    transform: translateY(-1px);
}

.location-select-btn.active {
    background: rgba(229, 9, 20, 0.08) !important;
    border-color: var(--brand-red) !important;
}

.location-check-icon {
    min-width: 24px;
    text-align: right;
}



