﻿.order-app {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Language Selection Screen */
.language-selection-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    padding: 1rem;
}

.language-selection-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.logo-section {
    margin-bottom: 2.5rem;
}

.selection-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    display: block;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.welcome-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: #8B4513;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.welcome-subtitle {
    font-size: clamp(1rem, 3.5vw, 1.125rem);
    color: #666;
    margin: 0;
}

.language-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
}

.language-option:hover,
.language-option:focus {
    background: #8B4513;
    border-color: #8B4513;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
}

.language-option:hover .language-name,
.language-option:focus .language-name {
    color: white;
}

.language-flag {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.language-name {
    color: #333;
    font-size: clamp(1rem, 4vw, 1.25rem);
    transition: color 0.3s ease;
}

/* Loading */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: #f8f9fa;
}

.coffee-spinner {
    animation: spin 2s linear infinite;
    font-size: 3rem;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #666;
    font-size: 1rem;
}

/* Location */
.location-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 1rem;
    text-align: center;
    background: #f8f9fa;
}

.location-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.location-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.2s;
}

.location-btn:hover,
.location-btn:focus {
    background: #0056b3;
}

/* Header */
.app-header {
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: white;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 100%;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.branch-info {
    flex: 1;
    min-width: 0;
}

.branch-info h1 {
    margin: 0 0 0.25rem 0;
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    font-weight: 700;
}

.branch-info p {
    margin: 0 0 0.5rem 0;
    opacity: 0.9;
    font-size: clamp(0.75rem, 3vw, 0.875rem);
}

.status-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: clamp(0.7rem, 2.5vw, 0.75rem);
    display: inline-block;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

.logo-container {
    background: white;
    padding: 0.375rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-logo {
    height: clamp(35px, 10vw, 50px);
    width: auto;
    display: block;
    object-fit: contain;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.25rem;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 0.25rem;
}

.lang-btn {
    background: transparent;
    color: white;
    border: none;
    padding: 0.5rem 0.625rem;
    border-radius: 6px;
    font-size: clamp(0.75rem, 3vw, 0.85rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 36px;
}

.lang-btn:hover,
.lang-btn:focus {
    background: rgba(255,255,255,0.2);
}

.lang-btn.active {
    background: white;
    color: #8B4513;
}

/* Categories */
.categories {
    display: flex;
    gap: 0.625rem;
    padding: 0.875rem;
    overflow-x: auto;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    -webkit-overflow-scrolling: touch;
    position: sticky;
    top: 73px;
    z-index: 90;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories::-webkit-scrollbar {
    display: none;
}

.category-card {
    background: #f8f9fa;
    border: 2px solid transparent;
    padding: 0;
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    min-width: 75px;
    overflow: hidden;
    flex-shrink: 0;
}

.category-card:hover,
.category-card:focus {
    background: #e9ecef;
    transform: translateY(-2px);
}

.category-card.active {
    background: #8B4513;
    color: white;
    border-color: #7a3d10;
}

.category-image {
    width: 100%;
    height: 55px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    padding: 0.375rem 0.625rem;
    font-size: clamp(0.75rem, 3vw, 0.85rem);
    font-weight: 600;
    text-align: center;
}

.category-card.active .category-name {
    color: white;
}

/* Menu Container */
.menu-container {
    padding: 0.625rem;
    background: #f8f9fa;
    min-height: 60vh;
    padding-bottom: 120px;
}

/* Category Sections */
.category-section {
    margin-bottom: 2rem;
}

.category-section-title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    font-weight: 700;
    color: #8B4513;
    margin: 0 0 1rem 0;
    padding: 0.5rem 0.25rem;
    border-bottom: 3px solid #8B4513;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

/* Menu Item */
.menu-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.item-image {
    width: 100%;
    height: 90px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    flex-shrink: 0;
    cursor: pointer;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.item-image:hover img {
    transform: scale(1.1);
}

.image-zoom-hint {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.item-image:hover .image-zoom-hint {
    opacity: 1;
}

.item-content {
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.3rem;
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-info h3 {
    margin: 0;
    font-size: 0.7rem;
    color: #333;
    font-weight: 600;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1.54em;
}

.description {
    color: #666;
    font-size: 0.6rem;
    margin: 0;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
}

.price {
    color: #8B4513;
    font-weight: 700;
    font-size: 0.7rem;
}

.time {
    color: #666;
    font-size: 0.55rem;
    background: #f8f9fa;
    padding: 0.15rem 0.3rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    white-space: nowrap;
}

/* Variants */
.variants-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.4rem;
}

.variants-radio-group .mud-radio {
    margin: 0;
    padding: 0;
}

.variants-radio-group .mud-button-root {
    padding: 0.25rem 0.4rem;
    min-width: auto;
    width: 100%;
    background: #f8f9fa;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    transition: all 0.2s;
    text-transform: none;
    font-weight: 500;
    height: auto;
    justify-content: flex-start;
}

.variants-radio-group .mud-button-root:hover {
    border-color: #8B4513;
    background: #fff;
}

.variants-radio-group .mud-radio-checked .mud-button-root,
.variants-radio-group .mud-radio.mud-checked .mud-button-root {
    background: #8B4513 !important;
    border-color: #8B4513 !important;
    color: white !important;
}

.variants-radio-group .mud-radio-checked .variant-label,
.variants-radio-group .mud-radio.mud-checked .variant-label {
    color: white !important;
}

.variants-radio-group .mud-radio-checked .variant-price-extra,
.variants-radio-group .mud-radio.mud-checked .variant-price-extra {
    color: #d4edda !important;
}

.variant-label {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    font-weight: 500;
    font-size: 0.6rem;
    justify-content: space-between;
    width: 100%;
}

.variant-price-extra {
    font-size: 0.55rem;
    font-weight: 600;
    color: #28a745;
}

.variants-radio-group .mud-radio .mud-radio-content {
    display: none;
}

.variants-radio-group .mud-ripple {
    display: none;
}

/* Item Actions */
.item-actions {
    display: flex;
    justify-content: stretch;
    margin-top: auto;
}

.add-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.65rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.2);
    white-space: nowrap;
    width: 100%;
}

.add-btn:hover:not(:disabled),
.add-btn:focus:not(:disabled) {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.add-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: #8B4513;
    border-radius: 6px;
    padding: 0.25rem 0.4rem;
    box-shadow: 0 2px 6px rgba(139, 69, 19, 0.2);
    width: 100%;
    justify-content: space-between;
}

.quantity-controls button {
    background: white;
    color: #8B4513;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quantity-controls button:hover,
.quantity-controls button:focus {
    background: #f8f9fa;
    transform: scale(1.1);
}

.quantity-controls span {
    color: white;
    font-weight: 600;
    min-width: 16px;
    text-align: center;
    font-size: 0.7rem;
}

/* Image Viewer */
.image-viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.viewer-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3001;
    transition: all 0.2s;
}

.viewer-close-btn:hover {
    background: white;
    transform: scale(1.1);
}

.image-viewer-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-viewer-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.viewer-title {
    color: white;
    margin-top: 1rem;
    font-size: clamp(1rem, 4vw, 1.25rem);
    font-weight: 600;
}

/* Cart FAB */
.cart-fab {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: #28a745;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
    z-index: 1000;
    transition: all 0.2s ease;
    max-width: 100%;
}

.cart-fab:hover,
.cart-fab:focus {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
}

.cart-fab .cart-icon {
    font-size: 1.2rem;
}

.cart-count {
    background: #dc3545;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin: 0 0.5rem;
}

.cart-total {
    font-size: clamp(0.875rem, 3.5vw, 1rem);
    font-weight: 700;
}

/* Cart Modal */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.cart-modal {
    background: white;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.cart-header h2 {
    margin: 0;
    color: #333;
    font-size: clamp(1.125rem, 4.5vw, 1.25rem);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: #666;
    width: 36px;
    height: 36px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover,
.close-btn:focus {
    color: #333;
}

.cart-content {
    padding: 1rem;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.875rem 0;
    border-bottom: 1px solid #eee;
    gap: 0.75rem;
}

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

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: clamp(0.9rem, 3.5vw, 1rem);
}

.cart-item-info p {
    margin: 0;
    color: #666;
    font-size: clamp(0.8rem, 3vw, 0.875rem);
}

.unit-price {
    font-size: clamp(0.75rem, 3vw, 0.8rem);
    color: #666;
    margin: 0.25rem 0 0 0;
}

.special-instructions {
    font-size: clamp(0.75rem, 3vw, 0.8rem);
    color: #8B4513;
    margin: 0.25rem 0 0 0;
    font-style: italic;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 0.25rem;
}

.qty-controls button {
    background: white;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-controls button:hover,
.qty-controls button:focus {
    background: #e9ecef;
}

.item-total {
    font-weight: 600;
    color: #28a745;
    font-size: clamp(0.875rem, 3.5vw, 0.95rem);
}

/* Car Section */
.car-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eee;
}

.car-section h3 {
    margin: 0 0 0.75rem 0;
    color: #333;
    font-size: clamp(0.95rem, 4vw, 1rem);
}

.car-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.car-inputs label,
.car-section > label {
    display: block;
}

.car-inputs input,
.car-section textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: clamp(0.8rem, 3.5vw, 0.875rem);
    transition: border-color 0.2s;
}

.car-inputs input:focus,
.car-section textarea:focus {
    border-color: #8B4513;
    outline: 2px solid #8B4513;
    outline-offset: 0;
}

.car-section textarea {
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
}

/* Cart Footer */
.cart-footer {
    padding: 1.25rem;
    border-top: 2px solid #eee;
    background: #f8f9fa;
    flex-shrink: 0;
}

.cart-summary {
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: clamp(0.85rem, 3.5vw, 0.9rem);
}

.summary-row.discount {
    color: #28a745;
    font-weight: 600;
}

.summary-row.total {
    padding-top: 0.75rem;
    border-top: 2px solid #ddd;
    font-size: clamp(1rem, 4.5vw, 1.125rem);
    margin-top: 0.5rem;
}

.place-order-btn {
    width: 100%;
    background: #28a745;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-size: clamp(0.9rem, 4vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.place-order-btn:hover:not(:disabled),
.place-order-btn:focus:not(:disabled) {
    background: #218838;
}

.place-order-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Success Modal */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 1rem;
}

.success-modal {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    max-width: 90%;
    width: 320px;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-modal h2 {
    color: #28a745;
    margin-bottom: 1rem;
    font-size: clamp(1.125rem, 4.5vw, 1.25rem);
}

.success-modal p {
    font-size: clamp(0.875rem, 3.5vw, 0.95rem);
    margin: 0.5rem 0;
}

.discount-saved {
    color: #28a745;
    font-weight: 600;
    margin: 0.75rem 0;
}

.success-modal button {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.2s;
    font-size: clamp(0.875rem, 3.5vw, 0.95rem);
    font-weight: 600;
}

.success-modal button:hover,
.success-modal button:focus {
    background: #0056b3;
}

.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: #666;
    font-size: clamp(0.875rem, 3.5vw, 0.95rem);
}

/* Skeleton Loading */
.skeleton {
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0 !important;
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.2) 20%,
    rgba(255,255,255,0.5) 60%,
    rgba(255,255,255,0) 100%);
    animation: shimmer 2s infinite;
    transform: translateX(-100%);
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-image {
    width: 100%;
    height: 55px;
    background-color: #e9ecef !important;
    border-radius: 4px;
}

.skeleton-text {
    height: 16px;
    background-color: #e9ecef !important;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 20px;
    width: 70%;
}

.skeleton-description {
    height: 14px;
    width: 90%;
}

.skeleton-price {
    height: 18px;
    width: 50%;
}

.menu-item.skeleton {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.menu-item.skeleton .item-image {
    height: 90px;
    background: #f0f0f0;
}

.menu-item.skeleton .item-content {
    padding: 0.4rem;
}

/* Media Queries */
@media (max-width: 360px) {
    .items-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .item-info h3 {
        font-size: 0.65rem;
    }

    .price {
        font-size: 0.65rem;
    }

    .language-selection-content {
        padding: 1.5rem 1rem;
    }

    .selection-logo {
        width: 80px;
        height: 80px;
    }

    .language-option {
        padding: 1rem;
        gap: 1rem;
    }

    .language-flag {
        font-size: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .order-app {
        max-width: 900px;
        margin: 0 auto;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }

    .items-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cart-modal {
        max-width: 900px;
        margin: 0 auto;
        border-radius: 20px;
    }

    .cart-overlay {
        align-items: center;
        padding: 1rem;
    }
}

@media (min-width: 1024px) {
    .order-app {
        max-width: 1200px;
        margin: 0 auto;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }

    .items-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .cart-modal {
        max-width: 1200px;
        margin: 0 auto;
        border-radius: 20px;
    }

    .cart-overlay {
        align-items: center;
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}