:root {
    --primary: #FF4D00;
    --primary-light: #FF854D;
    --secondary: #FFC107;
    --bg: #fffbf5;
    --text: #2D2424;
    --text-muted: #6B6B6B;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(255, 77, 0, 0.1);
    --border-radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --animation-duration: 0.6s;
}

/* Pre-loader Animation */
#preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.3);
    }
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: #f0f0f0;
    border-radius: 10px;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Floating Hero Animation */
.animated-hero {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Card Entrance Animation */
.menu-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.menu-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Pulsing Buttons */
.confirm-order-btn,
.checkout-btn,
.floating-checkout {
    position: relative;
    overflow: hidden;
}

.confirm-order-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.5s ease-out;
}

.confirm-order-btn:active::after {
    transform: translate(-50%, -50%) scale(1);
    transition: 0s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo h1 span {
    color: var(--primary);
}

.shop-status-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.shop-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.shop-status.open {
    background: #e8f5e9;
    color: #2e7d32;
}

.shop-status.open .status-dot {
    background: #4caf50;
    box-shadow: 0 0 10px #4caf50;
}

.shop-status.closed {
    background: #ffebee;
    color: #c62828;
}

.shop-status.closed .status-dot {
    background: #f44336;
}

.shop-time {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    background: #f0f0f0;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: var(--shadow);
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    font-size: 0.9rem;
    width: 200px;
}

.cart-btn {
    position: relative;
    background: var(--primary);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 77, 0, 0.3);
}

/* Promo Kit Animations */
.promo-marquee {
    background: linear-gradient(90deg, #ff4d00, #ff854d, #ff4d00);
    background-size: 200% auto;
    color: white;
    padding: 8px 0;
    font-weight: 700;
    font-size: 0.85rem;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-item {
    padding: 0 40px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Feature Showcase Animation */
.feature-badge {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(255, 77, 0, 0.15);
    margin: 10px;
    font-weight: 700;
    color: var(--primary);
    transform: scale(0);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    to {
        transform: scale(1);
    }
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0s;
}

.shine-effect:hover::before {
    left: 150%;
    transition: 0.7s;
}

/* Entrance Animations */
.entrance-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease-out forwards;
}

.entrance-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#cartCount {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary);
    color: var(--text);
    font-weight: 800;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 20px;
    border: 2px solid var(--white);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f0f0;
    padding: 8px 15px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.user-profile:hover {
    background: #e0e0e0;
}

.user-profile i {
    font-size: 1.2rem;
    color: var(--primary);
}

.user-profile span {
    font-size: 0.9rem;
    font-weight: 700;
}


/* Hero Section */
.hero {
    padding: 60px 5%;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        url('https://images.unsplash.com/photo-1543353071-873f17a7a088?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-badges span {
    background: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.hero-badges i {
    color: var(--primary);
    margin-right: 5px;
}

/* Categories Filter */
.categories-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 5%;
    flex-wrap: wrap;
    position: sticky;
    top: 80px;
    background: var(--bg);
    z-index: 100;
    transition: top 0.3s ease;
}

@media (max-width: 600px) {
    .categories-filter {
        justify-content: center;
        flex-wrap: wrap;
        padding: 15px 5%;
        gap: 8px;
        top: 60px;
    }

    .cat-btn {
        padding: 6px 15px;
        font-size: 0.75rem;
    }
}

.cat-btn {
    padding: 10px 25px;
    border: 2px solid #eee;
    background: var(--white);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.cat-btn:hover,
.cat-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Menu Grid */
.menu-container {
    padding: 40px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

@media (max-width: 480px) {
    .menu-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px 3%;
    }
}

.menu-item-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.menu-item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 77, 0, 0.15);
}

.menu-item-card:hover .item-img {
    transform: scale(1.05);
}

.card-img-container {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.best-seller-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff4d00, #ffc107);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.4);
    animation: pulse 2s infinite;
}

.item-meta-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: none;
}

.item-rating i {
    color: var(--secondary);
    margin-right: 3px;
}

.item-time i {
    margin-right: 3px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.item-info {
    padding: 20px;
    flex-grow: 1;
}

.item-category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.item-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.price-options {
    margin-bottom: 20px;
}

.variant-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: var(--transition);
}

.variant-row:hover {
    background: #fff5f0;
    border-color: var(--primary-light);
}

.variant-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.variant-price {
    font-weight: 700;
    color: var(--text);
    margin: 0 10px;
}

.add-variant-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.add-variant-btn:hover {
    transform: scale(1.1);
    background: var(--text);
}

.add-btn {
    width: 100%;
    padding: 12px;
    background: var(--text);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.add-btn:hover {
    background: var(--primary);
    box-shadow: var(--shadow);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.cart-header h3 {
    font-size: 1.5rem;
}

#closeCart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 1rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
}

.qty-btn {
    width: 25px;
    height: 25px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text);
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.cart-item-qty {
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.remove-item {
    color: #ff4444;
    cursor: pointer;
    font-size: 1rem;
    padding: 10px;
}

.cart-footer {
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn:hover {
    background: #e64500;
    transform: scale(1.02);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
}

footer {
    padding: 40px 5%;
    text-align: center;
    background: #1a1a1a;
    color: #888;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.socials a {
    color: #eee;
    font-size: 1.5rem;
    transition: var(--transition);
}

.socials a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0.6rem 4%;
        gap: 10px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .logo-icon {
        font-size: 1.4rem;
    }

    .shop-status {
        padding: 3px 10px;
        font-size: 0.7rem;
    }

    .shop-time {
        font-size: 0.6rem;
    }

    .hero {
        padding: 40px 5%;
        margin-bottom: 20px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-badges {
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero-badges span {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .categories-filter {
        top: 65px;
        padding: 10px 4%;
    }

    .menu-container {
        padding: 15px 3%;
        gap: 12px;
    }

    .card-img-container {
        height: 140px;
    }

    .item-info {
        padding: 12px;
    }

    .item-name {
        font-size: 1rem;
        margin-bottom: 8px;
        min-height: 2.4rem;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
    }

    .variant-row {
        padding: 6px 8px;
        border-radius: 6px;
        font-size: 0.8rem;
    }

    .variant-price {
        margin: 0 5px;
    }

    .add-variant-btn {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
        padding: 20px;
    }

    .search-box {
        display: flex;
        padding: 8px 12px;
    }

    .search-box input {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 1.2rem;
    }

    .shop-status {
        padding: 2px 8px;
        font-size: 0.7rem;
    }

    .shop-time {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    .cart-btn {
        width: 38px;
        height: 38px;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .card-img-container {
        height: 160px;
    }
}

@media (max-width: 380px) {
    .navbar {
        padding: 0.5rem 3%;
    }

    .logo h1 {
        font-size: 0.85rem;
    }

    .logo-icon {
        display: block;
        font-size: 1rem;
    }

    .shop-status-container {
        gap: 1px;
    }

    .shop-status {
        font-size: 0.5rem;
        padding: 1px 3px;
    }

    .status-dot {
        width: 6px;
        height: 6px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2005;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.order-form-card {
    background: white;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@media (max-width: 480px) {
    .order-form-card {
        padding: 20px;
        border-radius: 15px;
    }

    .modal-header h3 {
        font-size: 1.2rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .payment-card {
        padding: 15px 5px;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--text);
    font-weight: 800;
}

#closeModal {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #999;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    background: #fff9f5;
}

.confirm-order-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.confirm-order-btn:hover {
    background: #e64500;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 77, 0, 0.3);
}

.loc-btn {
    background: #f0f0f0;
    color: var(--text);
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.loc-btn:hover {
    background: var(--primary);
    color: white;
}

.loc-btn i {
    font-size: 0.9rem;
}

.loc-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loc-btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Floating Checkout Button */
.floating-checkout {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(255, 77, 0, 0.4);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.floating-checkout.visible {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.floating-checkout:hover {
    background: #e64500;
    transform: scale(1.05);
}

#floatingCount {
    background: white;
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 800;
}

@media (max-width: 768px) {
    .floating-checkout {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Payment Modal Specifics */
.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.payment-card {
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.payment-card i {
    font-size: 1.8rem;
    color: #888;
}

.payment-card span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #666;
}

.payment-card.active {
    border-color: var(--primary);
    background: #fff9f5;
}

.payment-card.active i {
    color: var(--primary);
}

.payment-card.active span {
    color: var(--text);
}

/* Tracking Modal Styles */
.tracking-card {
    max-width: 500px;
    width: 95%;
}

.tracking-status {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    margin-left: 20px;
}

.tracking-status::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: #eee;
    z-index: 1;
}

.status-step {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 42px;
    height: 42px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #999;
    border: 3px solid #fff;
    transition: var(--transition);
}

.step-label {
    font-weight: 600;
    color: #999;
    font-size: 1.1rem;
}

.status-step.completed .step-icon {
    background: #4caf50;
    color: white;
}

.status-step.completed .step-label {
    color: #2e7d32;
}

.status-step.active .step-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.2);
}

.status-step.active .step-label {
    color: var(--text);
    font-weight: 800;
}

.pulse-ring {
    position: absolute;
    left: -4px;
    top: -4px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    animation: ringPulse 2s infinite;
}

@keyframes ringPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.tracking-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tracking-footer p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.tracking-footer i {
    color: #25d366;
}

.contact-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.call-btn {
    background: #2196f3;
    color: white;
}

.call-btn:hover {
    background: #1976d2;
    transform: translateY(-2px);
}

/* User Sidebar Slider */
.user-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 2500;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15);
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.user-sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

#closeUserSidebar {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: var(--transition);
}

#closeUserSidebar:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.sidebar-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 30px;
}

/* Profile Options List */
.profile-options-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-option-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.profile-option-item:hover {
    background: #fff5f0;
    border-color: var(--primary);
    transform: translateX(-5px);
}

.option-icon {
    width: 45px;
    height: 45px;
    background: #fff5f0;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.option-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.option-info p {
    font-size: 0.75rem;
    color: #888;
}

@media (max-width: 480px) {
    .user-sidebar {
        width: 100%;
        right: -100%;
    }
}


/* Visit Us Section */
.visit-us {
    padding: 80px 5%;
    background: #fff;
}

.visit-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text);
}

.visit-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.shop-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary);
    background: #fff5f0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text);
}

.detail-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.get-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--text);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.get-directions-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 400px;
}

@media (max-width: 900px) {
    .visit-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 5px 15px;
        /* Reduced padding */
        gap: 5px;
    }

    .nav-actions {
        order: 3;
        width: 100%;
        justify-content: space-between;
        margin-top: 2px;
        gap: 10px;
    }

    .search-box {
        flex: 1;
        padding: 6px 15px;
        /* Slimmer search box */
    }

    .search-box input {
        width: 100% !important;
        font-size: 0.85rem;
    }

    .hero-content {
        padding: 40px 20px;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-badges {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .feature-badge {
        margin: 0 !important;
        width: 100%;
        font-size: 0.8rem !important;
        padding: 8px 10px !important;
        text-align: center;
    }

    .categories-filter {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 5px 15px;
        gap: 12px;
        scrollbar-width: none;
        position: sticky;
        top: 110px;
        /* Offset for mobile header height */
        background: var(--bg);
        z-index: 100;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        border-bottom: 1px solid #eee;
    }

    .categories-filter::-webkit-scrollbar {
        display: none;
    }

    .cat-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 8px 18px;
        font-size: 0.85rem;
        display: block;
        min-height: auto;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        padding: 10px;
        justify-items: center;
        gap: 20px;
    }

    .menu-item-card {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    /* Fixing Centering for all main sections */
    section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .visit-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .map-container {
        width: 100%;
    }

    footer {
        text-align: center;
    }
}

@media (max-width: 380px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .shop-status {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
}