/* Modern QR Menu - Black Red Theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');



:root {
    --primary-black: #000000;
    --secondary-black: #1a1a1a;
    --tertiary-black: #2d2d2d;
    --primary-red: #dc2626;
    --secondary-red: #b91c1c;
    --tertiary-red: #991b1b;
    --accent-red: #ef4444;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #64748b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Light theme (default) */
    --bg-primary: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 100%);
    --bg-card: #ffffff;
    --bg-header: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    --text-primary: var(--text-dark);
    --text-secondary: var(--text-light);
}

[data-theme="dark"] {
    --bg-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --bg-card: #1e293b;
    --bg-header: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
}

[data-theme="dark"] body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .main-content,
[data-theme="dark"] .categories-section,
[data-theme="dark"] .products-section,
[data-theme="dark"] .category-card,
[data-theme="dark"] .menu-item,
[data-theme="dark"] .search-input,
[data-theme="dark"] .filter-panel,
[data-theme="dark"] .modal-content,
[data-theme="dark"] .campaign-card,
[data-theme="dark"] .quick-menu-card {
    background: var(--bg-card);
    color: var(--text-primary);
}

[data-theme="dark"] .category-name,
[data-theme="dark"] .menu-item-name,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .menu-item-description,
[data-theme="dark"] .category-description,
[data-theme="dark"] p {
    color: var(--text-secondary);
}

[data-theme="dark"] .search-input,
[data-theme="dark"] select,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] textarea {
    background: #1e293b;
    border-color: #334155;
    color: var(--text-primary);
}

[data-theme="dark"] .search-input::placeholder {
    color: #94a3b8;
}

/* Favorite Button */
.favorite-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.favorite-btn:hover {
    background: white;
    transform: scale(1.1);
}

.favorite-btn.active i,
.favorite-btn:hover i {
    color: var(--primary-red);
}

.favorite-btn i {
    font-size: 1.25rem;
    color: #999;
    transition: color 0.3s ease;
}

.menu-item {
    position: relative;
}

/* Customer Choice Badge */
.customer-choice-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: white;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.customer-choice-badge:hover {
    transform: scale(1.05);
}

.customer-choice-badge i {
    margin-right: 0.25rem;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    }

    50% {
        opacity: 0.9;
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.5);
    }
}

[data-theme="dark"] .customer-choice-badge {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.5);
}

/* Filter Panel - Fix overlapping issues */
.filter-panel>div:first-child {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1rem !important;
}

.filter-panel>div:first-child>div {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
}

.filter-panel>div:first-child>div:last-child {
    display: flex !important;
    flex-direction: column !important;
    padding-top: 0 !important;
    min-height: auto !important;
    justify-content: flex-start !important;
}

.filter-panel>div:first-child>div:last-child>div {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#popularFilter {
    margin: 0 !important;
    margin-right: 0.5rem !important;
}

/* Filter Panel Mobile */
@media (max-width: 768px) {
    .filter-panel {
        padding: 1rem !important;
    }

    .filter-panel>div:first-child {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .filter-panel>div:first-child>div {
        margin-bottom: 1rem !important;
    }

    /* Fix overlapping filter fields on mobile */
    #popularFilter {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .filter-panel>div:first-child>div:last-child {
        padding-top: 0 !important;
        min-height: auto !important;
        margin-bottom: 0 !important;
    }

    .filter-panel>div:first-child>div:last-child>div {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .search-input-wrapper {
        margin-bottom: 0.75rem;
    }

    .filter-toggle-btn {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.6rem !important;
    }
}

/* Mobile Responsive Improvements */
@media (max-width: 768px) {
    .header-content {
        padding: 0.75rem 1rem !important;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .logo-section {
        flex: 1;
        min-width: 0;
    }

    .logo {
        max-width: 40px !important;
        max-height: 40px !important;
    }

    .site-title {
        font-size: 1rem !important;
        margin-left: 0.5rem !important;
    }

    .header-actions {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        align-items: center;
    }

    .btn-waiter-header {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.75rem !important;
    }

    .btn-waiter-header span.favorites-text,
    .btn-waiter-header>span:not(#favoritesBadge) {
        display: none;
    }

    /* Keep user name and login/register text visible on mobile */
    .user-name-text,
    .login-text,
    .register-text {
        display: inline !important;
    }

    .btn-waiter-header i {
        margin: 0 !important;
    }

    .btn-theme-toggle {
        width: 2.5rem !important;
        height: 2.5rem !important;
        padding: 0 !important;
        min-width: 2.5rem !important;
    }

    .search-container {
        padding: 0.75rem 1rem !important;
    }

    .search-input {
        padding: 0.75rem 5rem 0.75rem 2.5rem !important;
        font-size: 0.875rem !important;
    }

    .filter-toggle-btn .filter-text {
        display: none !important;
    }

    .filter-toggle-btn {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.6rem !important;
    }

    .filter-panel {
        margin: 0.5rem !important;
        padding: 1rem !important;
    }

    .filter-panel>div:first-child {
        grid-template-columns: 1fr !important;
    }

    .menu-item {
        flex-direction: column !important;
        padding: 1rem !important;
        gap: 1rem !important;
    }

    .menu-item-content {
        width: 100% !important;
    }

    .menu-item-image {
        width: 100% !important;
        margin-bottom: 0.75rem !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .menu-item-image img,
    .product-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        border-radius: 0.5rem !important;
    }

    .menu-item-details {
        width: 100% !important;
    }

    .menu-item-price {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }

    .menu-item-price>div {
        width: 100% !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .menu-item-price button {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 0.5rem !important;
    }

    .category-card {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .category-name {
        font-size: 1.125rem !important;
    }

    .btn-waiter-floating {
        width: 3rem !important;
        height: 3rem !important;
        font-size: 1rem !important;
        bottom: 1rem;
        right: 1rem;
    }

    .favorite-btn {
        width: 2rem !important;
        height: 2rem !important;
        top: 0.5rem !important;
        right: 0.5rem !important;
    }

    .favorite-btn i {
        font-size: 1rem !important;
    }

    .modal-content {
        margin: 1rem !important;
        max-width: calc(100% - 2rem) !important;
        max-height: calc(100vh - 2rem) !important;
    }

    .campaigns-container {
        padding: 0.5rem !important;
    }

    .campaign-card {
        min-width: 250px !important;
        padding: 1rem !important;
    }

    .quick-menus-container {
        grid-template-columns: 1fr !important;
    }

    .quick-menu-card {
        width: 100% !important;
    }

    /* Improve spacing on mobile */
    .categories-section {
        padding: 0 1rem !important;
    }

    .products-menu {
        gap: 1rem !important;
    }

    /* Better touch targets */
    button,
    .btn-waiter-header,
    a.btn-waiter-header {
        min-height: 44px !important;
        min-width: 44px !important;
    }

    /* Improved mobile spacing */
    .header-content {
        padding: 0.75rem 1rem !important;
    }

    .logo {
        height: 2.5rem !important;
    }

    .site-title {
        font-size: 1rem !important;
    }
}

/* Enhanced animations and transitions */
.menu-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.category-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Improved button hover effects */
.btn-waiter-header:hover,
.btn-waiter-floating:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.4);
}

/* Smooth loading states */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.loading-shimmer {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right,
            #f0f0f0 0%,
            #e0e0e0 20%,
            #f0f0f0 40%,
            #f0f0f0 100%);
    background-size: 1000px 100%;
}

/* Improved focus states for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-red);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Better card shadows */
.category-card,
.menu-item,
.campaign-card,
.quick-menu-card {
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
}

.category-card:hover,
.menu-item:hover,
.campaign-card:hover,
.quick-menu-card:hover {
    box-shadow: var(--shadow-xl);
}

/* Improved scrollbar for dark mode */
[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 3px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Enhanced modal animations */
.modal {
    animation: fadeIn 0.3s ease;
}

.modal-content {
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}



/* Header Styles */

.header {
    background: var(--bg-header);
    box-shadow: var(--shadow-xl);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}



.header-content {

    max-width: 1200px;

    margin: 0 auto;

    padding: 1rem 1.5rem;

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.logo-section {

    display: flex;

    align-items: center;

    gap: 1rem;

}



.logo {

    height: 3.5rem;

    width: auto;

    object-fit: contain;

}



.logo-placeholder {

    width: 3.5rem;

    height: 3.5rem;

    background: linear-gradient(135deg, var(--tertiary-black) 0%, var(--secondary-black) 100%);

    border: 2px dashed var(--dark-gray);

    border-radius: 0.75rem;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--white);

    font-size: 1.5rem;

}



.site-title {

    color: var(--white);

    font-size: 1.5rem;

    font-weight: 800;

    letter-spacing: -0.025em;

}



.header-actions {

    display: flex;

    align-items: center;

    gap: 1rem;

}



.btn-waiter-header {

    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);

    color: var(--white);

    border: none;

    border-radius: 2rem;

    padding: 0.75rem 1.5rem;

    font-weight: 600;

    font-size: 0.875rem;

    cursor: pointer;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    display: flex;

    align-items: center;

    gap: 0.5rem;

    box-shadow: var(--shadow-md);

}



.btn-waiter-header:hover {

    transform: translateY(-2px);

    box-shadow: var(--shadow-xl);

    background: linear-gradient(135deg, var(--accent-red) 0%, var(--primary-red) 100%);

}



.btn-social {

    width: 2.5rem;

    height: 2.5rem;

    border-radius: 50%;

    background: var(--tertiary-black);

    color: var(--white);

    border: none;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.3s ease;

    font-size: 1.25rem;

}



.btn-social:hover {
    background: var(--primary-red);
    transform: scale(1.1);
}

/* Theme Toggle Button */
.btn-theme-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--tertiary-black);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

.btn-theme-toggle:hover {
    background: var(--primary-red);
    transform: scale(1.1);
}

[data-theme="dark"] .btn-theme-toggle {
    background: var(--primary-red);
}

[data-theme="dark"] .btn-theme-toggle:hover {
    background: var(--accent-red);
}



.btn-search {

    width: 2.5rem;

    height: 2.5rem;

    border-radius: 50%;

    background: var(--tertiary-black);

    color: var(--white);

    border: none;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.3s ease;

    font-size: 1rem;

}



.btn-search:hover {

    background: var(--primary-red);

    transform: scale(1.1);

}



/* Search Container */

.search-container {

    background: transparent;

    padding: 0;

    margin: 1.5rem auto;

    max-width: 1200px;

    transform: translateY(0);

    opacity: 1;

    transition: all 0.3s ease;

}



.search-container.active {

    transform: translateY(0);

    opacity: 1;

}



.search-input-wrapper {

    position: relative;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 1.5rem;

}



.search-input {

    width: 100%;

    padding: 1rem 1rem 1rem 3rem;

    border: 1px solid #d1d5db;

    border-radius: 0.5rem;

    font-size: 1rem;

    font-weight: 400;

    transition: all 0.2s ease;

    background: var(--white);

    color: var(--text-dark);

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

}



.search-input::placeholder {

    color: #9ca3af;

    font-weight: 400;

}



.search-input:focus {

    outline: none;

    border-color: var(--primary-red);

    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);

    background: var(--white);

}



.search-icon {

    position: absolute;

    left: 3rem;

    top: 50%;

    transform: translateY(-50%);

    color: #6b7280;

    font-size: 1rem;

    transition: all 0.2s ease;

}



.search-input:focus~.search-icon {

    color: var(--primary-red);

}



/* Search Results Counter */

.search-results-counter {

    display: none;

    background: #f3f4f6;

    color: #374151;

    padding: 0.5rem 0.75rem;

    border-radius: 0.375rem;

    font-size: 0.875rem;

    font-weight: 500;

    margin-top: 0.75rem;

    text-align: center;

    border: 1px solid #e5e7eb;

    max-width: 1200px;

    margin-left: auto;

    margin-right: auto;

    padding-left: 1.5rem;

    padding-right: 1.5rem;

}



.search-results-counter.show {

    display: block;

}



/* Search Suggestions */

.search-suggestions {

    position: absolute;

    top: 100%;

    left: 0;

    right: 0;

    background: var(--white);

    border-radius: 0.5rem;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

    border: 1px solid #e5e7eb;

    max-height: 200px;

    overflow-y: auto;

    z-index: 50;

    display: none;

    margin-top: 0.25rem;

}



.search-suggestion {

    padding: 0.75rem 1rem;

    cursor: pointer;

    transition: all 0.15s ease;

    border-bottom: 1px solid #f3f4f6;

    display: flex;

    align-items: center;

    gap: 0.75rem;

    font-size: 0.875rem;

}



.search-suggestion:last-child {

    border-bottom: none;

}



.search-suggestion:hover {

    background: #f9fafb;

    color: var(--primary-red);

}



.search-suggestion-icon {

    color: #6b7280;

    font-size: 0.875rem;

}



.search-suggestion-text {

    font-weight: 400;

}



/* Main Content */

.main-content {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 1.5rem;

}



/* Stories Section */

.stories-section {

    padding: 1.5rem 0;

    overflow-x: auto;

    scrollbar-width: none;

    -ms-overflow-style: none;

}



.stories-section::-webkit-scrollbar {

    display: none;

}



.stories-container {

    display: flex;

    gap: 1rem;

    padding: 0.5rem 0;

}



.story-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    cursor: pointer;

    transition: all 0.3s ease;

    min-width: 5rem;

}



.story-item:hover {

    transform: scale(1.05);

}



.story-ring {

    width: 4.5rem;

    height: 4.5rem;

    border-radius: 50%;

    padding: 3px;

    background: linear-gradient(45deg, var(--primary-red) 0%, var(--secondary-red) 50%, var(--tertiary-red) 100%);

    position: relative;

    animation: pulse 2s infinite;

}



.story-ring::before {

    content: '';

    position: absolute;

    top: -2px;

    left: -2px;

    right: -2px;

    bottom: -2px;

    border-radius: 50%;

    background: linear-gradient(45deg, var(--primary-red) 0%, var(--secondary-red) 50%, var(--tertiary-red) 100%);

    z-index: -1;

    opacity: 0.3;

    animation: pulse 2s infinite;

}



.story-image {

    width: 100%;

    height: 100%;

    border-radius: 50%;

    object-fit: cover;

    background: var(--white);

}



.story-title {

    color: var(--text-dark);

    font-weight: 600;

    font-size: 0.75rem;

    text-align: center;

    margin-top: 0.5rem;

    max-width: 4.5rem;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}



@keyframes pulse {

    0%,
    100% {

        transform: scale(1);

        opacity: 1;

    }

    50% {

        transform: scale(1.05);

        opacity: 0.8;

    }

}



/* Banner Section */

.banner-section {

    margin: 1.5rem 0;

    border-radius: 1rem;

    overflow: hidden;

    box-shadow: var(--shadow-lg);

}



.banner-image {

    width: 100%;

    height: 12rem;

    object-fit: cover;

    transition: transform 0.3s ease;

}



.banner-image:hover {

    transform: scale(1.02);

}



/* Categories Section */

.categories-section {

    margin: 2rem 0;

}



.categories-grid {

    display: flex;

    flex-direction: column;

    gap: 2rem;

    margin-bottom: 2rem;

}



/* Category Wrapper */

.category-wrapper {

    display: flex;

    flex-direction: column;

    gap: 0;

}



.category-card {

    background: var(--white);

    border-radius: 1rem;

    overflow: hidden;

    box-shadow: var(--shadow-md);

    cursor: pointer;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    position: relative;

}



.category-card:hover {

    transform: translateY(-4px);

    box-shadow: var(--shadow-xl);

}



.category-image {

    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 350;
    object-fit: cover;

    transition: transform 0.5s ease;

}



.category-card:hover .category-image {

    transform: scale(1.05);

}



.category-overlay {

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));

    padding: 1.5rem;

    color: var(--white);

}



.category-name {

    font-size: 1.25rem;

    font-weight: 700;

    margin-bottom: 0.25rem;

}



.category-description {

    font-size: 0.875rem;

    opacity: 0.9;

    line-height: 1.4;

}



.category-chevron {

    position: absolute;

    top: 1rem;

    right: 1rem;

    background: rgba(0, 0, 0, 0.6);

    color: var(--white);

    width: 2rem;

    height: 2rem;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 0.875rem;

    transition: all 0.3s ease;

}



.category-card.active .category-chevron {

    transform: rotate(180deg);

    background: var(--primary-red);

}



/* Products Section */

.products-section {

    display: none;

    animation: slideDown 0.3s ease;

}



.products-section.active {

    display: block;

}



@keyframes slideDown {

    from {

        opacity: 0;

        transform: translateY(-10px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.products-container {

    background: var(--white);

    border-radius: 1rem;

    box-shadow: var(--shadow-md);

    overflow: hidden;

    margin-bottom: 1.5rem;

}



/* Products Container */

.products-container {

    background: var(--white);

    border-radius: 0 0 1rem 1rem;

    margin-top: -0.5rem;

    padding: 0;

    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);

    overflow: hidden;

}





/* Products Menu */

.products-menu {

    padding: 0;

}



.menu-item {

    position: relative;

}



.menu-item-content {

    display: flex;

    align-items: center;

    gap: 1rem;

    padding: 1.5rem;

    transition: all 0.3s ease;

}



.menu-item:hover .menu-item-content {

    background: #f8fafc;

}



.menu-item-image {

    flex-shrink: 0;

}



.product-image {

    width: 4rem;

    height: 4rem;

    object-fit: cover;

    border-radius: 0.5rem;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}



.product-image-placeholder {

    width: 4rem;

    height: 4rem;

    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);

    border-radius: 0.5rem;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #9ca3af;

    font-size: 1.25rem;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}



.menu-item-details {

    flex: 1;

    min-width: 0;

}



.menu-item-name {

    font-size: 1.125rem;

    font-weight: 600;

    color: var(--text-dark);

    margin: 0 0 0.25rem 0;

    line-height: 1.3;

}



.menu-item-description {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
    display: block;
    text-align: justify;
    text-justify: inter-word;
}

.menu-item-description.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-item-description.expanded {
    display: block !important;
    -webkit-line-clamp: initial !important;
    -webkit-box-orient: initial !important;
    overflow: visible !important;
}

/* Popular badge */
.popular-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.popular-badge i {
    font-size: 0.7rem;
}

/* Feedback Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Gram price badges */
.menu-item-weights {

    display: flex;

    gap: 0.5rem;

    flex-wrap: wrap;

    align-items: center;

}

.weight-badge {

    background: #f3f4f6;

    border: 1px solid #e5e7eb;

    border-radius: 9999px;

    padding: 0.25rem 0.6rem;

    font-size: 0.8rem;

    color: #374151;

    display: inline-flex;

    gap: 0.35rem;

    align-items: center;

}

.weight-badge .w {

    font-weight: 600;

    color: #111827;

}

.weight-badge .p {

    font-weight: 600;

    color: var(--primary-red);

}

/* Expanded product description (shown when user clicks Devamını oku) */
.menu-item-description.expanded {
    display: block !important;
    -webkit-line-clamp: initial;
    -webkit-box-orient: initial;
    overflow: visible;
    max-height: none;
}

/* Read more / less button */
.read-more-btn {

    background: none;

    border: none;

    color: var(--primary-red);

    cursor: pointer;

    font-size: 0.875rem;

    font-weight: 600;

    margin-top: 0.25rem;

    padding: 0;

}



.menu-item-price {

    flex-shrink: 0;

}



.menu-item-price .price {

    font-size: 1.25rem;

    font-weight: 700;

    color: var(--primary-red);

    white-space: nowrap;

}



/* Menu Divider */

.menu-divider {

    height: 1px;

    background: linear-gradient(90deg, transparent 0%, #e5e7eb 20%, #e5e7eb 80%, transparent 100%);

    margin: 0 1.5rem;

}



/* Floating Waiter Button */

.btn-waiter-floating {

    position: fixed !important;

    bottom: 1.5rem;

    left: 1.5rem;

    width: 4rem;

    height: 4rem;

    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);

    color: var(--white);

    border: none;

    border-radius: 50%;

    font-size: 1.5rem;

    cursor: pointer;

    box-shadow: var(--shadow-2xl);

    z-index: 9999;

    animation: float 3s ease-in-out infinite;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.3s ease;

}



.btn-waiter-floating:hover {

    transform: scale(1.1);

    box-shadow: 0 25px 50px -12px rgba(220, 38, 38, 0.5);

}



/* Modal Styles */

.modal {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.8);

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 100;

    backdrop-filter: blur(4px);

}



.modal.active {

    display: flex;

}



.modal-content {

    background: var(--white);

    border-radius: 1.5rem;

    box-shadow: var(--shadow-2xl);

    width: 90%;

    max-width: 28rem;

    max-height: 90vh;

    overflow-y: auto;

    animation: modalSlideIn 0.3s ease;

}



/* Banner Modal Styles */

.banner-modal {

    background: rgba(0, 0, 0, 0.95);

    padding: 0;

}



.banner-modal-image {

    width: 100vw;

    height: 100vh;

    object-fit: contain;

    display: block;

}



.banner-close {

    position: absolute;

    top: 2rem;

    right: 2rem;

    background: rgba(0, 0, 0, 0.7);

    color: var(--white);

    width: 3rem;

    height: 3rem;

    border-radius: 50%;

    border: none;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    font-size: 1.5rem;

    transition: all 0.3s ease;

    z-index: 10;

}



.banner-close:hover {

    background: var(--primary-red);

    transform: scale(1.1);

}



@keyframes modalSlideIn {

    from {

        opacity: 0;

        transform: scale(0.9) translateY(-20px);

    }

    to {

        opacity: 1;

        transform: scale(1) translateY(0);

    }

}



.modal-header {

    padding: 1.5rem 1.5rem 0;

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.modal-title {

    font-size: 1.25rem;

    font-weight: 700;

    color: var(--text-dark);

}



.modal-close {

    width: 2rem;

    height: 2rem;

    border-radius: 50%;

    background: var(--light-gray);

    color: var(--text-light);

    border: none;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.3s ease;

}



.modal-close:hover {

    background: var(--medium-gray);

    color: var(--text-dark);

}



.modal-body {

    padding: 1.5rem;

}



.form-group {

    margin-bottom: 1.5rem;

}



.form-label {

    display: block;

    font-weight: 600;

    color: var(--text-dark);

    margin-bottom: 0.5rem;

    font-size: 0.875rem;

}



.form-input {

    width: 100%;

    padding: 0.875rem 1rem;

    border: 2px solid var(--medium-gray);

    border-radius: 0.75rem;

    font-size: 1rem;

    transition: all 0.3s ease;

    background: var(--light-gray);

}



.form-input:focus {

    outline: none;

    border-color: var(--primary-red);

    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);

    background: var(--white);

}



.form-textarea {

    resize: vertical;

    min-height: 4rem;

}



.btn-submit {

    width: 100%;

    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);

    color: var(--white);

    border: none;

    border-radius: 0.75rem;

    padding: 1rem;

    font-weight: 600;

    font-size: 1rem;

    cursor: pointer;

    transition: all 0.3s ease;

    box-shadow: var(--shadow-md);

}



.btn-submit:hover {

    transform: translateY(-2px);

    box-shadow: var(--shadow-lg);

    background: linear-gradient(135deg, var(--accent-red) 0%, var(--primary-red) 100%);

}



/* Story Modal */

.story-modal {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.95);

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 100;

}



.story-modal.active {

    display: flex;

}



.story-content {

    position: relative;

    max-width: 25rem;

    width: 90%;

    max-height: 80vh;

}



.story-image-modal {

    width: 100%;

    height: auto;

    border-radius: 1rem;

    box-shadow: var(--shadow-2xl);

}



.story-nav {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(0, 0, 0, 0.5);

    color: var(--white);

    width: 3rem;

    height: 3rem;

    border-radius: 50%;

    border: none;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    font-size: 1.25rem;

    transition: all 0.3s ease;

}



.story-nav:hover {

    background: rgba(220, 38, 38, 0.8);

    transform: translateY(-50%) scale(1.1);

}



.story-nav.prev {

    left: 0;

}



.story-nav.next {

    right: 0;

}



.story-close {

    position: absolute;

    top: 1rem;

    right: 1rem;

    background: rgba(0, 0, 0, 0.7);

    color: var(--white);

    width: 3rem;

    height: 3rem;

    border-radius: 50%;

    border: none;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    font-size: 1.5rem;

    transition: all 0.3s ease;

    z-index: 10;

}





.story-close:hover {

    background: var(--primary-red);

    transform: scale(1.1);

}



.story-title-modal {

    color: var(--white);

    text-align: center;

    margin-top: 1rem;

    font-weight: 600;

    font-size: 1.125rem;

}

/* Story Progress Bar */

.story-progress-container {

    position: absolute;

    top: 1rem;

    left: 1rem;

    right: 1rem;

    display: flex;

    gap: 0.25rem;

    z-index: 20;

    padding: 0 3rem;

}

.story-progress-wrapper {

    flex: 1;

    height: 2px;

    background: rgba(255, 255, 255, 0.3);

    border-radius: 2px;

    overflow: hidden;

}

.story-progress-bar {

    height: 100%;

    background: var(--white);

    border-radius: 2px;

    width: 0%;

    transition: width 0.1s linear;

}



/* Footer */

/* Modern Footer Design */

.footer {

    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);

    color: var(--white);

    margin-top: 4rem;

    position: relative;

    overflow: hidden;

}



.footer::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 1px;

    background: linear-gradient(90deg, transparent 0%, var(--primary-red) 50%, transparent 100%);

}



.footer-content {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 1.5rem;

}



/* Footer Top Section */

.footer-top {

    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 3rem;

    padding: 3rem 0 2rem;

}



.footer-brand {

    display: flex;

    flex-direction: column;

    gap: 1.5rem;

}



.footer-logo-section {

    display: flex;

    align-items: center;

    gap: 1rem;

}



.footer-logo {

    height: 4rem;

    width: auto;

    object-fit: contain;

    transition: all 0.3s ease;

}







.footer-logo-placeholder {

    width: 4rem;

    height: 4rem;

    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);

    border-radius: 1rem;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--white);

    font-size: 1.5rem;

    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);

}



.footer-brand-info {

    display: flex;

    flex-direction: column;

    gap: 0.5rem;

}



.footer-brand-name {

    font-size: 1.5rem;

    font-weight: 700;

    color: var(--white);

    margin: 0;

}



.footer-brand-tagline {

    color: #d1d5db;

    font-size: 0.875rem;

    line-height: 1.6;

    margin: 0;

}



/* Footer Links Section */

.footer-links {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 2rem;

}



.footer-section {

    display: flex;

    flex-direction: column;

    gap: 1rem;

}



.footer-section-title {

    font-size: 1.125rem;

    font-weight: 600;

    color: var(--white);

    margin: 0 0 1rem 0;

    position: relative;

    padding-bottom: 0.5rem;

}



.footer-section-title::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 2rem;

    height: 2px;

    background: var(--primary-red);

    border-radius: 1px;

}



/* Contact Section */

.footer-contact-list {

    display: flex;

    flex-direction: column;

    gap: 0.75rem;

}



.footer-contact-item {

    display: flex;

    align-items: flex-start;

    gap: 0.75rem;

    transition: all 0.3s ease;

}



.footer-contact-item:hover {

    transform: translateX(0.25rem);

}



.footer-contact-icon {

    color: var(--primary-red);

    font-size: 1rem;

    margin-top: 0.125rem;

    min-width: 1rem;

}



.footer-contact-text {

    color: #d1d5db;

    font-size: 0.875rem;

    line-height: 1.5;

}



/* Social Links */

.footer-social-links {

    display: flex;

    flex-direction: column;

    gap: 0.75rem;

}



.footer-social-link {

    display: flex;

    align-items: center;

    gap: 0.75rem;

    color: #d1d5db;

    text-decoration: none;

    font-size: 0.875rem;

    transition: all 0.3s ease;

    padding: 0.5rem 0;

}



.footer-social-link:hover {

    color: var(--primary-red);

    transform: translateX(0.25rem);

}



.footer-social-link i {

    width: 1.25rem;

    text-align: center;

    font-size: 1rem;

}



/* Working Hours */

.footer-hours {

    display: flex;

    flex-direction: column;

    gap: 0.5rem;

}



.footer-hours-text {

    color: #d1d5db;

    font-size: 0.875rem;

    line-height: 1.5;

    margin: 0;

}



/* Footer Bottom */

.footer-bottom {

    border-top: 1px solid #374151;

    padding: 2rem 0;

    background: rgba(0, 0, 0, 0.3);

}



.footer-bottom-content {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 1rem;

}



.footer-copyright {

    color: #9ca3af;

    font-size: 0.875rem;

    margin: 0;

}



.footer-bottom-links {

    display: flex;

    gap: 2rem;

}



.footer-bottom-link {

    color: #9ca3af;

    text-decoration: none;

    font-size: 0.875rem;

    transition: all 0.3s ease;

}



.footer-bottom-link:hover {

    color: var(--primary-red);

}



/* Empty State */

.empty-state {

    background: var(--white);

    border-radius: 1rem;

    padding: 3rem 2rem;

    text-align: center;

    box-shadow: var(--shadow-md);

    margin: 2rem 0;

}



.empty-state-icon {

    font-size: 3rem;

    color: var(--dark-gray);

    margin-bottom: 1rem;

}



.empty-state-title {

    font-size: 1.5rem;

    font-weight: 700;

    color: var(--text-dark);

    margin-bottom: 0.5rem;

}



.empty-state-text {

    color: var(--text-light);

    font-size: 1rem;

}



/* Responsive Design - Mobile First Approach */

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .header-content {
        padding: 0.5rem !important;
        flex-wrap: wrap;
    }

    .logo {
        max-width: 32px !important;
        max-height: 32px !important;
    }

    .site-title {
        font-size: 0.875rem !important;
    }

    .menu-item {
        padding: 0.75rem !important;
    }

    .menu-item-name {
        font-size: 0.9rem !important;
    }

    .menu-item-price .price {
        font-size: 1rem !important;
    }

    .btn-waiter-floating {
        width: 3rem !important;
        height: 3rem !important;
        font-size: 1rem !important;
    }

    #cookieBanner,
    #dataProcessingBanner {
        padding: 1rem !important;
        bottom: 0.5rem !important;
        left: 0.5rem !important;
        right: 0.5rem !important;
        max-width: calc(100% - 1rem) !important;
    }
}

/* Small devices (tablets, 768px and down) */
@media (max-width: 768px) {

    .header-content {

        padding: 1rem;

    }



    .site-title {

        font-size: 1.25rem;

    }



    .btn-waiter-header span {

        display: none;

    }



    .main-content {

        padding: 0 1rem;

    }



    .categories-grid {

        gap: 1rem;

    }



    .category-image {

        height: 10rem;

    }





    .menu-item-content {

        padding: 1rem;

        flex-direction: column;

        gap: 0.75rem;

        text-align: center;

    }



    .product-image {

        width: 6rem;

        height: 6rem;

    }



    .product-image-placeholder {

        width: 6rem;

        height: 6rem;

        font-size: 1.5rem;

    }



    .menu-item-details {

        text-align: center;

    }



    .menu-item-name {

        font-size: 1rem;

    }



    .menu-item-price .price {

        font-size: 1.125rem;

    }



    .story-nav.prev {

        left: -1rem;

    }



    .story-nav.next {

        right: -1rem;

    }



    .btn-waiter-floating {

        position: fixed !important;

        width: 3.5rem;

        height: 3.5rem;

        bottom: 1rem;

        left: 1rem;

        font-size: 1.25rem;

    }



    .banner-close {

        top: 1rem;

        right: 1rem;

        width: 2.5rem;

        height: 2.5rem;

        font-size: 1.25rem;

    }



    .footer-content {

        padding: 0 1rem;

    }



    .footer-top {

        grid-template-columns: 1fr;

        gap: 2rem;

        padding: 2rem 0 1.5rem;

    }



    .footer-links {

        grid-template-columns: 1fr;

        gap: 1.5rem;

    }



    .footer-bottom-content {

        flex-direction: column;

        text-align: center;

        gap: 1rem;

    }



    .footer-bottom-links {

        justify-content: center;

        gap: 1.5rem;

    }

}



@media (max-width: 480px) {

    .header-actions {

        gap: 0.5rem;

    }



    .btn-waiter-header {

        padding: 0.5rem 1rem;

        font-size: 0.75rem;

    }



    .btn-social,

    .btn-search {

        width: 2rem;

        height: 2rem;

        font-size: 1rem;

    }



    .story-ring {

        width: 4rem;

        height: 4rem;

    }



    .story-close {

        top: 0.5rem;

        right: 0.5rem;

        width: 2.5rem;

        height: 2.5rem;

        font-size: 1.25rem;

    }



    .category-image {

        height: 8rem;

    }



    .modal-content {

        width: 95%;

        margin: 1rem;

    }

}



/* Loading Animation */

.loading {

    display: inline-block;

    width: 1rem;

    height: 1rem;

    border: 2px solid var(--medium-gray);

    border-radius: 50%;

    border-top-color: var(--primary-red);

    animation: spin 1s ease-in-out infinite;

}



@keyframes spin {

    to {

        transform: rotate(360deg);

    }

}



/* Page Load Animation */

.page-loader {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 9999;

    transition: opacity 0.5s ease, visibility 0.5s ease;

}



.page-loader.hidden {

    opacity: 0;

    visibility: hidden;

}



.loader-content {

    text-align: center;

    color: var(--white);

}



.loader-spinner {

    width: 3rem;

    height: 3rem;

    border: 3px solid rgba(255, 255, 255, 0.1);

    border-radius: 50%;

    border-top-color: var(--primary-red);

    animation: spin 1s linear infinite;

    margin: 0 auto 1rem;

}



.loader-text {

    font-size: 1.125rem;

    font-weight: 600;

    margin-bottom: 0.5rem;

}



.loader-subtext {

    font-size: 0.875rem;

    opacity: 0.8;

}



/* Floating Action Button Animation */

.btn-waiter-floating {

    animation: float 3s ease-in-out infinite;

}



@keyframes float {

    0%,
    100% {

        transform: translateY(0px);

    }

    50% {

        transform: translateY(-10px);

    }

}



/* Category Card Hover Effects */

.category-card {

    position: relative;

    overflow: hidden;

}



.category-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);

    transition: left 0.5s ease;

    z-index: 1;

}



.category-card:hover::before {

    left: 100%;

}



/* Product Item Hover Effects */

.product-item {

    position: relative;

    overflow: hidden;

}



.product-item::after {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, transparent 100%);

    opacity: 0;

    transition: opacity 0.3s ease;

    pointer-events: none;

}



.product-item:hover::after {

    opacity: 1;

}



/* Story Ring Animation Enhancement */

.story-ring {

    position: relative;

}



.story-ring::after {

    content: '';

    position: absolute;

    top: -3px;

    left: -3px;

    right: -3px;

    bottom: -3px;

    border-radius: 50%;

    background: linear-gradient(45deg, var(--primary-red) 0%, var(--secondary-red) 50%, var(--tertiary-red) 100%);

    z-index: -1;

    opacity: 0;

    animation: storyPulse 2s infinite;

}



@keyframes storyPulse {

    0%,
    100% {

        opacity: 0;

        transform: scale(1);

    }

    50% {

        opacity: 0.3;

        transform: scale(1.1);

    }

}



/* Search Input Focus Animation */

.search-input {

    position: relative;

}



.search-input:focus {

    transform: scale(1.02);

}



/* Modal Backdrop Animation */

.modal {

    backdrop-filter: blur(4px);

    animation: modalFadeIn 0.3s ease;

}



@keyframes modalFadeIn {

    from {

        opacity: 0;

        backdrop-filter: blur(0px);

    }

    to {

        opacity: 1;

        backdrop-filter: blur(4px);

    }

}



/* Button Ripple Effect */

.btn-waiter-header,

.btn-submit,

.btn-waiter-floating {

    position: relative;

    overflow: hidden;

}



.btn-waiter-header::after,

.btn-submit::after,

.btn-waiter-floating::after {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    width: 0;

    height: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.3);

    transform: translate(-50%, -50%);

    transition: width 0.6s ease, height 0.6s ease;

}



.btn-waiter-header:active::after,

.btn-submit:active::after,

.btn-waiter-floating:active::after {

    width: 300px;

    height: 300px;

}



/* Scroll Indicator */

.scroll-indicator {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 3px;

    background: var(--medium-gray);

    z-index: 100;

}



.scroll-progress {

    height: 100%;

    background: linear-gradient(90deg, var(--primary-red) 0%, var(--secondary-red) 100%);

    width: 0%;

    transition: width 0.1s ease;

}



/* Notification Toast */

.toast {

    position: fixed;

    top: 20px;

    right: 20px;

    background: var(--white);

    border-radius: 0.75rem;

    box-shadow: var(--shadow-xl);

    padding: 1rem 1.5rem;

    z-index: 1000;

    transform: translateX(100%);

    transition: transform 0.3s ease;

    border-left: 4px solid var(--primary-red);

}



.toast.show {

    transform: translateX(0);

}



.toast-content {

    display: flex;

    align-items: center;

    gap: 0.75rem;

}



.toast-icon {

    color: var(--primary-red);

    font-size: 1.25rem;

}



.toast-message {

    color: var(--text-dark);

    font-weight: 500;

}



/* Theme Toggle - Mobile Fix */
.btn-theme-toggle {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (max-width: 768px) {
    .btn-theme-toggle {
        min-height: 44px !important;
        min-width: 44px !important;
    }

    /* Ensure theme toggle works on mobile */
    html[data-theme="dark"],
    body[data-theme="dark"] {
        background: var(--bg-primary) !important;
        color: var(--text-primary) !important;
    }

    [data-theme="dark"] .main-content,
    [data-theme="dark"] .categories-section,
    [data-theme="dark"] .products-section,
    [data-theme="dark"] .category-card,
    [data-theme="dark"] .menu-item,
    [data-theme="dark"] .search-input,
    [data-theme="dark"] .filter-panel,
    [data-theme="dark"] .modal-content {
        background: var(--bg-card) !important;
        color: var(--text-primary) !important;
    }
}

/* Dark Mode Toggle (Future Enhancement) */

.dark-mode-toggle {

    position: fixed;

    bottom: 6rem;

    right: 1.5rem;

    width: 3rem;

    height: 3rem;

    background: var(--tertiary-black);

    color: var(--white);

    border: none;

    border-radius: 50%;

    cursor: pointer;

    transition: all 0.3s ease;

    z-index: 40;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.125rem;

}



.dark-mode-toggle:hover {

    background: var(--primary-red);

    transform: scale(1.1);

}



/* Smooth Scrolling */

html {

    scroll-behavior: smooth;

}



/* Focus Styles */

*:focus {

    outline: 2px solid var(--primary-red);

    outline-offset: 2px;

}



/* Selection Styles */

::selection {

    background: var(--primary-red);

    color: var(--white);

}



/* Scrollbar Styles */

::-webkit-scrollbar {

    width: 6px;

}



::-webkit-scrollbar-track {

    background: var(--light-gray);

}



::-webkit-scrollbar-thumb {

    background: var(--dark-gray);

    border-radius: 3px;

}



::-webkit-scrollbar-thumb:hover {

    background: var(--primary-red);

}

/* Sticky Mobile Cart Bar Styles */
#stickyCartBar {
    padding-bottom: env(safe-area-inset-bottom, 1rem);
    /* iPhone X+ safe area */
}

/* Add padding to body when sticky bar is visible to prevent content hiding */
body.has-sticky-cart {
    padding-bottom: 80px;
}

/* Floating button adjustment when sticky bar is active */
body.has-sticky-cart .btn-waiter-floating {
    bottom: 6rem !important;
    /* Move up above the bar */
}

@media (min-width: 768px) {
    #stickyCartBar {
        display: none !important;
    }
}