:root {
    --primary-color: #fc8019;
    /* Swiggy Orange */
    --secondary-color: #282c3f;
    /* Dark Blue/Black */
    --accent-color: #60b246;
    /* Veg Green */
    --error-color: #e46d47;
    /* Non-Veg Red */
    --bg-light: #f4f7f9;
    --text-main: #3d4152;
    --text-muted: #7e808c;
    --white: #ffffff;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
    border-radius: 5px;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0 10px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Licence Strip */
.licence-section {
    padding: 40px 0;
    background-color: var(--bg-light);
}

.licence-card {
    background: var(--white);
    border: none;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.licence-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.licence-card h5 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.licence-card p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.licence-card .label {
    font-weight: 600;
    color: var(--text-muted);
}

/* Hero Carousel */
.carousel-item {
    height: 350px;
    background-color: #eee;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

@media (max-width: 768px) {
    .carousel-item {
        height: 200px;
    }
}

/* Animations */
.animate-pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(228, 109, 71, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(228, 109, 71, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(228, 109, 71, 0);
    }
}

/* Menu Section */
.menu-section {
    padding: 60px 0;
}

.filter-pills .nav-link {
    border-radius: 20px;
    padding: 8px 20px;
    border: 1px solid #d4d5d9;
    color: var(--text-main);
    background: var(--white);
    margin-right: 10px;
}

.filter-pills .nav-link.active {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.search-container {
    max-width: 500px;
    margin: 0 auto 30px;
}

.search-input {
    border-radius: 12px;
    border: 1px solid #d4d5d9;
    padding: 12px 20px;
    width: 100%;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(252, 128, 25, 0.2);
}

/* Product Cards (Swiggy Style) */
.product-card {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #e9e9eb;
    min-height: 160px;
}

.product-info {
    flex: 1;
    padding-right: 20px;
}

.veg-icon,
.non-veg-icon {
    width: 16px;
    height: 16px;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.veg-icon {
    border-color: var(--accent-color);
}

.veg-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.non-veg-icon {
    border-color: var(--error-color);
}

.non-veg-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid var(--error-color);
}

.product-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--secondary-color);
}

.product-qty {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.product-price {
    font-weight: 600;
    font-size: 1rem;
}

.mrp-text {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-right: 8px;
}

.save-badge {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
}

.variant-selector {
    margin-top: 8px;
    margin-bottom: 8px;
}

.variant-pill {
    padding: 4px 12px;
    border: 1px solid #d4d5d9;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-main);
}

.variant-pill:hover {
    border-color: var(--primary-color);
}

.variant-pill.active {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.product-price-row {
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.popular-badge {
    background-color: #fae1d2;
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 5px;
    display: inline-block;
}

.product-image-container {
    width: 120px;
    height: 110px;
    position: relative;
    flex-shrink: 0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    background-color: #f0f0f0;
}

/* Cart Controls on Card */
.add-btn-wrapper {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
}

.btn-add {
    background: var(--white);
    color: var(--accent-color);
    font-weight: 800;
    border: 1px solid #e9e9eb;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 6px 0;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-add:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.qty-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    color: var(--accent-color);
    border: 1px solid #e9e9eb;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    padding: 6px 10px;
    cursor: pointer;
    font-weight: 800;
    user-select: none;
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: #f0f0f0;
}

.qty-num {
    font-weight: 800;
    padding: 0 5px;
}

/* Floating Cart Bar */
.cart-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 12px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(96, 178, 70, 0.3);
    cursor: pointer;
}

.cart-bar-info {
    font-weight: 700;
}

.cart-bar-btn {
    font-weight: 800;
    text-transform: uppercase;
}

/* Cart Section */
.cart-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.cart-box {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #d4d5d9;
}

.cart-item-name {
    font-weight: 600;
    flex: 1;
}

.cart-item-price {
    font-weight: 600;
    margin-left: 20px;
}

.whatsapp-btn {
    background-color: #25d366;
    color: white;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 10px;
    border: none;
    width: 100%;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    color: white;
}

.whatsapp-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    border: none;
}

/* Footer */
footer {
    padding: 40px 0;
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

@media (max-width: 576px) {
    .product-name {
        font-size: 1rem;
    }

    .product-image-container {
        width: 100px;
        height: 95px;
    }
}