:root {
    --primary: #E63946;
    --secondary: #F4A261;
    --dark-bg: #121212;
    --surface-bg: #1E1E1E;
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --glass-bg: rgba(30, 30, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius: 16px;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
}

nav {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    margin-left: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
}

.menu-item.hidden {
    display: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.track-order-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(244, 162, 97, 0.15);
    border: 1px solid rgba(244, 162, 97, 0.3);
    color: var(--secondary);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.track-order-btn:hover {
    background: rgba(244, 162, 97, 0.25);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-icon:hover {
    background: var(--primary);
    transform: scale(1.1);
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
#hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(230, 57, 70, 0.2), transparent 40%),
        radial-gradient(circle at bottom left, rgba(244, 162, 97, 0.1), transparent 40%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content h1 .highlight {
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
    position: relative;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(230, 57, 70, 0.5);
}

/* Menu Section */
#menu {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title .underline {
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 0 auto;
    border-radius: 2px;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--surface-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.menu-item {
    background: var(--surface-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.menu-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

.menu-item-img {
    height: 180px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 0;
    margin-bottom: 5px;
    overflow: visible;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-item-img img {
    width: auto;
    height: 90%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.5s ease;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
    animation: float 4s ease-in-out infinite;
}

.menu-item:hover .menu-item-img img {
    animation-play-state: paused;
    transform: scale(1.2) translateY(-10px) rotate(2deg);
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.6));
}

.menu-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.item-price {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    background: rgba(244, 162, 97, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.add-to-cart-btn {
    margin-top: auto;
    background: var(--primary);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5);
    background: #ff4d5a;
}

.add-to-cart-btn:active {
    transform: scale(0.95);
}

/* Cart Modal */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    justify-content: flex-end;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-modal {
    width: 100%;
    max-width: 400px;
    height: 100%;
    max-height: 100vh;
    background: var(--surface-bg);
    padding: 30px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.cart-overlay.open .cart-modal {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.cart-header h3 {
    font-size: 1.5rem;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Scrollable body: cart items + delivery section + footer */
.cart-modal-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-right: 5px;
}

.cart-items {
    padding-right: 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 8px;
}

.cart-item-details h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cart-item-details p {
    font-size: 0.85rem;
    color: var(--secondary);
}

.cart-item-flavor {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-actions button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-actions button:hover {
    background: var(--primary);
}

.cart-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.delivery-location {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
}

.delivery-location h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.delivery-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.delivery-field label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.delivery-field select {
    background: #151515;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    padding: 6px 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
}

/* Map bar: search + my location (Bolt/Glovo style) */
.map-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.map-search-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    background: #151515;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
}

.map-search-wrap:focus-within {
    border-color: var(--primary);
}

.map-search-icon {
    color: var(--text-muted);
    padding: 0 12px;
    font-size: 0.9rem;
}

.map-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 6px 10px 0;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
}

.map-search-input:focus {
    outline: none;
}

.map-search-input::placeholder {
    color: var(--text-muted);
}

.map-search-btn {
    background: transparent;
    border: none;
    padding: 10px 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.map-search-btn:hover {
    color: var(--primary);
}

.use-location-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.use-location-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.use-location-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.map-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0 0 6px 0;
    min-height: 0;
    text-align: center;
}

.map-hint:not(.map-hint-visible):empty {
    display: none;
}

.map-hint.map-hint-outside-zone {
    color: var(--accent, #E63946);
    font-weight: 500;
}

.map-zone-caption {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: -4px 0 8px 0;
    text-align: center;
}

/* Delivery Map */
.delivery-map {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    margin-bottom: 8px;
    position: relative;
}

@media (min-width: 768px) {
    .delivery-map {
        height: 240px;
    }
}

.map-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(21, 21, 21, 0.85);
    color: var(--text-muted);
    font-size: 1.2rem;
    z-index: 1000;
}

.search-results {
    display: none;
    position: relative;
    background: #1a1a1a;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    margin: -2px 0 8px 0;
    max-height: 180px;
    overflow-y: auto;
    z-index: 100;
}

.search-result-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
    font-size: 0.85rem;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result-item i {
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.search-result-item span {
    color: var(--text-main);
    line-height: 1.4;
}

.search-result-item.no-results {
    color: var(--text-muted);
    cursor: default;
    justify-content: center;
}

.search-result-item.no-results:hover {
    background: transparent;
}

.location-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 10px;
    font-size: 0.85rem;
    color: #22c55e;
    margin-bottom: 8px;
}

.location-display i {
    color: #22c55e;
    flex-shrink: 0;
}

#location-text {
    line-height: 1.3;
    word-break: break-word;
}

.delivery-address-sheet {
    margin-top: 10px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
}

.delivery-address-sheet-header,
.delivery-address-form-header,
.delivery-entrance-section,
.delivery-address-labels {
    margin-bottom: 14px;
}

.delivery-address-sheet-header h4,
.delivery-address-form-header h4,
.delivery-entrance-section h5,
.delivery-address-labels h5 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.delivery-address-sheet-header p,
.delivery-address-form-header p,
.delivery-entrance-section p,
.delivery-address-labels p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.delivery-place-type-grid,
.delivery-address-label-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.delivery-place-type-btn,
.delivery-address-label-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    min-height: 58px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.delivery-place-type-btn i {
    color: var(--text-muted);
    font-size: 1rem;
}

.delivery-place-type-btn:hover,
.delivery-address-label-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.delivery-place-type-btn.active,
.delivery-address-label-btn.active {
    border-color: rgba(34, 197, 94, 0.45);
    background: rgba(34, 197, 94, 0.14);
}

.delivery-place-type-btn.active i {
    color: #22c55e;
}

.delivery-address-form {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.delivery-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.delivery-address-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 12px;
}

.delivery-address-field span {
    color: var(--text-main);
    font-size: 0.84rem;
    font-weight: 600;
}

.delivery-address-field-full {
    grid-column: 1 / -1;
}

.delivery-address-input {
    width: 100%;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
}

.delivery-address-input:focus {
    outline: none;
    border-color: rgba(34, 197, 94, 0.55);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08);
}

.delivery-address-input::placeholder {
    color: #8b8b8b;
}

.delivery-address-textarea {
    min-height: 72px;
    resize: vertical;
}

.delivery-address-custom-label {
    margin-top: 10px;
}

@media (max-width: 640px) {
    .delivery-address-grid,
    .delivery-place-type-grid,
    .delivery-address-label-grid {
        grid-template-columns: 1fr 1fr;
    }

    .delivery-place-type-btn,
    .delivery-address-label-btn {
        min-height: 54px;
        font-size: 0.9rem;
    }
}

/* Store marker */
.store-marker {
    background: transparent;
}

/* Custom delivery marker */
.custom-marker {
    background: transparent;
}

.leaflet-tooltip.zone-label-tooltip {
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow: none;
    color: #f9fafb;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 4px 10px;
    pointer-events: none;
    text-transform: uppercase;
}

.leaflet-tooltip.zone-label-tooltip::before {
    display: none;
}

/* User Auth Area */
.user-auth-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
}

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

.user-name {
    font-size: 0.85rem;
    font-weight: 500;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sign-out-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.sign-out-btn:hover {
    color: var(--primary);
}

/* Sign-in required message in cart */
.signin-required-msg {
    text-align: center;
    padding: 15px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 10px;
    margin-bottom: 15px;
}

.signin-required-msg p {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.signin-required-msg .signin-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: #333;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.signin-required-msg .signin-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.signin-required-msg .signin-cart-btn img {
    width: 18px;
    height: 18px;
}

/* WhatsApp button disabled state */
.whatsapp-btn:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.whatsapp-btn:disabled:hover {
    transform: none;
    background: #666;
}

.cart-summary {
    margin-bottom: 4px;
}

.cart-subtotal-row,
.cart-delivery-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-secondary, #666);
    margin-bottom: 6px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.whatsapp-btn {
    width: 100%;
    padding: 16px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background: #1ebc57;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
        /* Mobile menu implementation usually goes here, skipping for simplicity but keeping icon */
    }

    .header-actions {
        gap: 10px;
    }

    .track-order-btn {
        width: 45px;
        height: 45px;
        min-width: unset;
        padding: 0;
        border-radius: 50%;
        background: rgba(244, 162, 97, 0.2);
        border-color: transparent;
        justify-content: center;
        font-size: 1.1rem;
    }

    .track-order-btn span {
        display: none;
    }

    .cart-modal {
        max-width: 100%;
    }

    .user-profile {
        padding: 4px 8px;
    }

    .user-name {
        display: none;
    }

    .user-avatar {
        width: 24px;
        height: 24px;
    }
}

/* Layout Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* About Section */
#about {
    padding: 100px 0;
    background: var(--dark-bg);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-stats {
    flex: 1;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.stat-item {
    background: var(--surface-bg);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-item span {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact Section */
#contact {
    padding: 100px 0;
    background: linear-gradient(to top, rgba(230, 57, 70, 0.05), transparent);
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--surface-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.info-item:hover {
    border-color: var(--secondary);
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(244, 162, 97, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-muted);
}

.contact-map {
    flex: 1;
    min-width: 300px;
    height: 300px;
    background: var(--surface-bg);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.map-placeholder {
    text-align: center;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    transition: background 0.2s ease;
}
.map-placeholder:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary);
    opacity: 0.5;
}

/* Footer & Smooth Scroll */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
}

.admin-link {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--surface-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.5;
}

.admin-link:hover {
    opacity: 1;
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

html {
    scroll-behavior: smooth;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease-out forwards;
    min-width: 250px;
}

.toast.hide {
    animation: fadeOut 0.3s ease-in forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* Store Closed Overlay */
.store-closed-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.store-closed-overlay.active {
    opacity: 1;
    visibility: visible;
}

.closed-content {
    text-align: center;
    padding: 40px;
    max-width: 500px;
    animation: fadeInUp 0.5s ease;
}

.closed-icon {
    width: 100px;
    height: 100px;
    background: rgba(230, 57, 70, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.closed-icon i {
    font-size: 3rem;
    color: var(--primary);
}

.closed-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.closed-content > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.operating-hours {
    background: var(--surface-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 25px;
}

.operating-hours h3 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hours-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.hours-display span:not(.hours-separator) {
    color: var(--secondary);
}

.hours-separator {
    color: var(--text-muted);
    font-weight: 400;
}

.come-back-msg {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.browse-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.browse-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Out of Stock Styles */
.menu-item.out-of-stock {
    opacity: 0.6;
}

.menu-item.out-of-stock .menu-item-img img {
    filter: grayscale(50%) drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
}

.menu-item.out-of-stock:hover .menu-item-img img {
    transform: scale(1.1);
    filter: grayscale(50%) drop-shadow(0 15px 15px rgba(0, 0, 0, 0.4));
}

.out-of-stock-badge {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 10px;
}

.add-to-cart-btn:disabled {
    background: var(--surface-bg);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.add-to-cart-btn:disabled:hover {
    transform: none;
    background: var(--surface-bg);
}

/* Order Confirmation Modal */
.order-confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.order-confirmation-overlay.active {
    opacity: 1;
    visibility: visible;
}

.order-confirmation-modal {
    background: var(--surface-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition);
}

.order-confirmation-overlay.active .order-confirmation-modal {
    transform: scale(1);
}

.confirmation-header {
    margin-bottom: 30px;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.confirmation-icon i {
    font-size: 2.5rem;
    color: #22c55e;
}

.confirmation-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.confirmation-content {
    text-align: left;
    margin-bottom: 30px;
}

.order-id-display,
.order-status-display,
.order-total-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 15px;
}

.order-id-display label,
.order-status-display label,
.order-total-display label {
    font-weight: 600;
    color: var(--text-muted);
}

.order-id-display span {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1rem;
}

.order-status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status-badge.pending {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.order-status-badge.preparing {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.order-status-badge.ready {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.order-status-badge.delivered {
    background: rgba(34, 197, 94, 0.25);
    color: #22c55e;
}

.order-status-badge.cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.order-total-display span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
}

.confirmation-message {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 20px;
}

.confirmation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-secondary,
.btn-primary {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

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

.btn-primary:hover {
    background: #d62839;
    transform: translateY(-2px);
}

/* Order Tracking Modal */
.order-tracking-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.order-tracking-overlay.active {
    opacity: 1;
    visibility: visible;
}

.order-tracking-modal {
    background: var(--surface-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.order-tracking-overlay.active .order-tracking-modal {
    transform: scale(1);
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.tracking-header h2 {
    font-size: 1.8rem;
}

.close-tracking {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.close-tracking:hover {
    color: var(--primary);
}

.tracking-content {
    min-height: 200px;
}

.order-tracking-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.tracking-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.tracking-order-id {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1rem;
}

.tracking-status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tracking-status-badge.pending {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.tracking-status-badge.preparing {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.tracking-status-badge.ready {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.tracking-status-badge.delivered {
    background: rgba(34, 197, 94, 0.25);
    color: #22c55e;
}

.tracking-status-badge.cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.tracking-order-details {
    margin-bottom: 15px;
}

.tracking-order-details p {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tracking-order-details strong {
    color: var(--text-main);
}

.tracking-order-details .map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary);
    text-decoration: none;
    padding: 4px 12px;
    background: rgba(244, 162, 97, 0.1);
    border-radius: 15px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.tracking-order-details .map-link:hover {
    background: rgba(244, 162, 97, 0.2);
    color: #fff;
}

.tracking-order-items {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
}

.tracking-order-items h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tracking-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
}

.tracking-item-name {
    color: var(--text-main);
}

.tracking-item-price {
    color: var(--secondary);
    font-weight: 600;
}

.tracking-order-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
}

.tracking-order-total span:last-child {
    color: var(--secondary);
}

.status-timeline {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.status-timeline h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--surface-bg);
    border: 2px solid var(--glass-border);
}

.timeline-item.active::before {
    background: var(--secondary);
    border-color: var(--secondary);
}

.timeline-item.completed::before {
    background: #22c55e;
    border-color: #22c55e;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 17px;
    width: 2px;
    height: calc(100% + 2px);
    background: var(--glass-border);
}

.timeline-item.completed:not(:last-child)::after {
    background: #22c55e;
}

.timeline-content {
    flex: 1;
}

.timeline-status {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.timeline-item.completed .timeline-status {
    color: #22c55e;
}

.timeline-item.active .timeline-status {
    color: var(--secondary);
}

.timeline-time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .order-confirmation-modal,
    .order-tracking-modal {
        padding: 25px;
        width: 95%;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .btn-secondary,
    .btn-primary {
        width: 100%;
    }
}

/* Juice Flavor Modal */
.flavor-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 3500;
    display: none;
    align-items: center;
    justify-content: center;
}

.flavor-modal-overlay.active {
    display: flex;
}

.flavor-modal {
    width: 90%;
    max-width: 420px;
    background: var(--surface-bg);
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    animation: fadeInUp 0.25s ease-out;
}

.flavor-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--glass-border);
}

.flavor-modal-header h3 {
    font-size: 1.1rem;
}

.flavor-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.flavor-modal-close:hover {
    color: var(--primary);
}

.flavor-modal-body {
    padding: 18px 20px 20px;
}

.flavor-modal-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.flavor-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.flavor-option-btn {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.flavor-option-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary);
    color: var(--secondary);
}

.flavor-cancel-btn {
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.flavor-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}