* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Poppins', sans-serif; 
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary: #FFA500;
    --primary-dark: #e69500;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gray: #f4f4f4;
    --whatsapp: #25D366;
}

body { 
    background: var(--gray); 
    color: #333; 
    line-height: 1.6;
}

/* Header & Navigation */
.header {
    background: var(--dark);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.logo-text { color: var(--primary); font-weight: 700; font-size: 1.3rem; letter-spacing: 1px; }

.contact-btn { 
    background: var(--primary); 
    border: none; 
    padding: 8px 18px; 
    border-radius: 25px; 
    font-weight: 600; 
    cursor: pointer;
    transition: transform 0.2s;
}

.contact-btn:active { transform: scale(0.95); }

/* Category Tabs (New Sticky Bar) */
.category-tabs {
    display: flex;
    overflow-x: auto;
    background: var(--light);
    padding: 12px 5%;
    gap: 10px;
    position: sticky;
    top: 60px; /* Right below the header */
    z-index: 1500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.category-tabs::-webkit-scrollbar { display: none; } /* Hide scrollbar Chrome/Safari */

.category-tabs button {
    background: #eee;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.category-tabs button.active, .category-tabs button:hover {
    background: var(--primary);
    color: var(--dark);
}

/* Hero Section */
.hero { 
    text-align: center; 
    padding: 40px 20px; 
    background: var(--primary); 
    color: var(--dark);
}

.hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 5px; }

.delivery-info { 
    background: var(--dark); 
    color: var(--primary); 
    display: inline-block; 
    padding: 6px 16px; 
    border-radius: 20px; 
    font-size: 0.85rem; 
    margin-top: 10px;
    font-weight: 600;
}

/* Menu Grid */
.menu-section { padding: 20px 5%; }

.menu-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 25px; 
}

.menu-card { 
    background: var(--light); 
    padding: 25px; 
    border-radius: 25px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    scroll-margin-top: 120px; /* Offset for sticky tabs */
}

.menu-card h3 { 
    color: var(--dark); 
    border-left: 5px solid var(--primary); 
    padding-left: 12px; 
    margin-bottom: 20px; 
    font-size: 1.4rem;
}

/* Menu Items */
.menu-item { margin-bottom: 25px; position: relative; }

.item-name { 
    font-weight: 700; 
    display: block; 
    margin-bottom: 10px; 
    font-size: 1.05rem; 
    color: #2d2d2d; 
}

.size-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: #f8f9fa; 
    padding: 10px 15px; 
    border-radius: 12px; 
    margin-bottom: 6px; 
    transition: background 0.2s;
}

.size-row:hover { background: #f0f0f0; }

.item-controls { display: flex; align-items: center; gap: 15px; }

.control-btn { 
    width: 32px; 
    height: 32px; 
    border: none; 
    background: var(--primary); 
    color: var(--dark); 
    border-radius: 10px; 
    font-weight: 800; 
    font-size: 1.1rem;
    cursor: pointer; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.quantity { font-weight: 700; min-width: 25px; text-align: center; font-size: 1.1rem; }

/* Best Seller Badge Example */
.best-seller::after {
    content: "BEST SELLER";
    position: absolute;
    top: -5px;
    right: 0;
    background: #ff4757;
    color: white;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 5px;
    font-weight: 700;
}

/* Floating Cart */
.cart-float {
    position: fixed; 
    bottom: 25px; 
    left: 50%; 
    transform: translateX(-50%);
    background: var(--dark); 
    color: white; 
    padding: 20px; 
    border-radius: 25px;
    width: 92%; 
    max-width: 450px; 
    display: none; 
    z-index: 3000;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.cart-float.show { display: block; animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

.cart-header { 
    display: flex; 
    justify-content: space-between; 
    border-bottom: 1px solid #333; 
    padding-bottom: 12px; 
    margin-bottom: 12px; 
}

.cart-title { color: var(--primary); font-weight: 700; font-size: 1.1rem; }

.cart-items { max-height: 150px; overflow-y: auto; }

.cart-line { 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.9rem; 
    margin-bottom: 6px; 
    opacity: 0.9;
}

.cart-total { 
    display: flex; 
    justify-content: space-between; 
    font-weight: 700; 
    font-size: 1.2rem; 
    border-top: 1px dashed #444; 
    margin-top: 12px; 
    padding-top: 12px; 
    color: var(--primary); 
}

.checkout-btn { 
    width: 100%; 
    padding: 14px; 
    background: var(--whatsapp); 
    color: white; 
    border: none; 
    border-radius: 15px; 
    font-weight: 700; 
    font-size: 1rem;
    margin-top: 15px; 
    cursor: pointer;
    transition: background 0.3s;
}

.checkout-btn:hover { background: #1ebe57; }

/* Animations */
@keyframes slideUp { 
    from { transform: translate(-50%, 120%); opacity: 0; } 
    to { transform: translate(-50%, 0); opacity: 1; } 
}

.footer { 
    text-align: center; 
    padding: 60px 20px 120px; 
    color: #777; 
    font-size: 0.85rem; 
    background: #eee;
}

@media (max-width: 600px) {
    .hero h1 { font-size: 1.8rem; }
    .menu-card { padding: 15px; }
}