/* Header (copied from company page) */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.header-section {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    margin: 0;
    z-index: 1;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    z-index: 1;
    border-radius: 0;
    transform: translate3d(0, 0, 0);
    transition: transform 0.1s ease-out;
    filter: brightness(0.9) contrast(1.1);
    will-change: transform;
    backface-visibility: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.header-content {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.logo-container {
    width: 64px;
    height: 64px;
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    object-fit: contain;
}

.info-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    cursor: pointer;
    transition: all 0.3s ease;
}

.info-icon:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.info-icon svg {
    width: 14px;
    height: 14px;
}

.restaurant-info {
    position: relative;
    z-index: 3;
    text-align: left;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 60px;
}

.restaurant-name {
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.restaurant-desc {
    font-size: 16px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.restaurant-desc:empty {
    display: none;
}

.menu-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 20px;
    margin-bottom: 12px;
    margin-top: -20px;
    position: relative;
    z-index: 5;
}

.main-content {
    padding: 0 0 8px 0;
    margin-top: 0;
    position: relative;
    z-index: 4;
}

.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-button {
    width: 100%;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.menu-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease-out;
    will-change: left;
}

.menu-button:hover::before {
    left: 100%;
}

.menu-button:hover {
    background: var(--primary-light);
    transform: translate3d(0, -1px, 0);
}

.menu-button-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    position: relative;
    overflow: hidden;
}

.menu-button-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease-out;
    will-change: left;
}

.menu-button-outline:hover::before {
    left: 100%;
}

.menu-button-outline:hover {
    background: var(--text-primary);
    color: var(--white);
    transform: translate3d(0, -1px, 0);
}

.menu-button-outline:hover .menu-button-icon img {
    filter: brightness(0) invert(1);
}

#booking-btn .menu-button-icon img {
    filter: brightness(0);
}

#booking-btn:hover .menu-button-icon img {
    filter: brightness(0) invert(1);
}

.menu-button-icon {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

/* Contact buttons */
.contact-buttons {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-button {
    background: var(--secondary-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 6px 10px;
    gap: 6px;
    font-size: 12px;
}

.contact-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.contact-button:hover .contact-icon {
    filter: brightness(0) invert(1);
}

.contact-button:hover .contact-text {
    color: var(--white);
}

.contact-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0);
}

.contact-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.no-contact-info {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
    margin-top: 12px;
}

.menu-button-icon img {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}


:root {
    --primary-color: #000000;
    --primary-light: #333333;
    --secondary-color: #F4F5F4;
    --background-light: #F2F2F2;
    --white: #FFFFFF;
    --text-primary: #000000;
    --text-secondary: #93939A;
    --border-color: #e5e5e5;
    --accent-color: #000000;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* iOS Safari fixes */
@supports (-webkit-touch-callout: none) {
    .cart-modal {
        height: 100vh;
        height: -webkit-fill-available;
    }

    .cart-content {
        height: 100vh;
        height: -webkit-fill-available;
        max-height: 100vh;
        max-height: -webkit-fill-available;
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background-light);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    background: var(--background-light);
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
    }
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--white);
}

.back-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.back-button:hover {
    background: var(--secondary-color);
    transform: translateX(-2px);
}

.back-button svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Category Navigation */
.category-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 0 10px 0;
    background: var(--white);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transition: border-radius 0.2s ease;
}

.category-nav.is-sticky {
    border-radius: 0;
}

.category-list {
    display: flex;
    gap: 12px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-list::-webkit-scrollbar {
    display: none;
}

.category-item {
    background: var(--secondary-color);
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    flex-shrink: 0;
}

.category-item.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Section Title */
.section-title {
    font-size: 24px;
    font-weight: 700;
    padding: 12px 0 12px 0;
    color: var(--text-primary);
}



.menu-item {
    margin-bottom: 24px;
    cursor: pointer;
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    overflow: hidden;
}

.option-variants {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-variant {
    background: #F8F9FA;
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.option-variant-info {
    flex: 1;
}

.option-variant-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.option-variant-option {
    font-size: 12px;
    color: var(--text-secondary);
}

.option-variant-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 12px;
}

.item-content {
    display: flex;
    gap: 16px;
}

.item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    min-height: 100px;
    max-height: 100px;
    background: white;
}

.item-image-placeholder {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 100px;
    max-height: 100px;
}

.item-image-placeholder img {
    width: 60px;
    height: 60px;
    opacity: 0.5;
}

.item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 80px;
}

.item-name {
    font-size: 16px;
    font-weight: 600;
    margin-top: 2px;
    margin-bottom: 4px;
    color: var(--text-primary);
    line-height: 1.3;
}

.item-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.8em;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
}

.item-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: var(--secondary-color);
    border-radius: 20px;
    padding: 4px;
    width: 100px;
    justify-content: space-between;
}

.quantity-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
}

.quantity-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-primary);
    stroke-width: 2;
}

.quantity-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.quantity-display {
    min-width: 32px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.add-button {
    background: var(--secondary-color);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    width: 100px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-button svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-primary);
    stroke-width: 2;
}

.add-button:hover {
    background: var(--border-color);
}

.item-stop-badge {
    background: var(--secondary-color);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    width: 100px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* Bottom Order Bar */
.order-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 16px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.order-button {
    background: var(--primary-color);
    border: none;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 12px 40px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.order-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.order-button:hover::before {
    left: 100%;
}

.order-button:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.order-text {
    font-size: 16px;
    font-weight: 600;
}

.total-price {
    font-size: 16px;
    font-weight: 600;
}

/* Category sections */
.category-section {
    display: block;
    background: var(--white);
    border-radius: 0;
    margin-top: 0;
    padding: 8px 20px 8px;
}

.category-section:last-of-type {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    margin-bottom: 16px;
    overflow: hidden;
}

.category-section.hidden {
    display: none;
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    visibility: hidden;
}

.cart-modal.active {
    visibility: visible;
}

.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.cart-content {
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    transform: translateY(100%);
    width: auto;
    max-width: 480px;
    height: 100%;
    background: var(--white);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    max-height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease-in-out;
    margin: 0 auto;
}

.cart-modal.active .cart-content {
    transform: translateY(0);
}

/* Product Card Modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
}

.product-modal.active {
    display: block;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.product-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 90%;
    max-width: 400px;
    background: var(--white);
    border-radius: 20px;
    max-height: 82vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.product-modal.active .product-content {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    min-height: 240px;
    max-height: 240px;
    background: white;
}

.product-image-placeholder {
    width: 100%;
    height: 240px;
    border-radius: 20px 20px 0 0;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    max-height: 240px;
}

.product-image-placeholder img {
    width: 160px;
    height: 160px;
    opacity: 0.1;
}

.product-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.product-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.product-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
}

.product-details {
    padding: 24px;
}

.product-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.product-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    position: relative;
}

.product-description.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 6.4em;
}

.expand-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin: -10px 0 10px 0;
    text-decoration: none;
}

.expand-btn:hover {
    color: var(--primary-light);
}

.product-nutrition {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.nutrition-item {
    background: var(--secondary-color);
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.nutrition-value {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 2px;
}

.nutrition-label {
    color: var(--text-secondary);
    font-size: 12px;
}

.nutrition-note {
    font-size: 11px;
    color: var(--text-secondary);
    opacity: 0.7;
    margin-top: 8px;
    line-height: 1.3;
}

.product-options {
    margin-bottom: 20px;
}

.options-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.options-required {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 0.5px solid var(--border-color);
}

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

.option-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.option-checkbox.checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.option-checkbox.checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 6px;
    height: 10px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.option-text {
    font-size: 16px;
    color: var(--text-primary);
}

.option-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.product-add-btn {
    width: 100%;
    background: var(--primary-color);
    border: none;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    padding: 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-add-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.product-add-btn:hover::before {
    left: 100%;
}

.product-add-btn:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.product-add-btn:disabled {
    background: var(--border-color);
    color: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
}

.product-add-btn:disabled::before {
    display: none;
}

.cart-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    /* Еще меньше отступ */
    border-bottom: 0.5px solid var(--border-color);
    position: relative;
    flex-shrink: 0;
}

/* Tabs section - scrollable, above items */
.cart-tabs-section {
    padding: 16px 20px;
}

/* Scrollable content area */
.cart-scrollable {
    flex: 1;
    overflow-y: auto;
}

/* Forms section - scrollable after items */
.cart-forms-section {
    padding: 20px;
    border-top: 0.5px solid var(--border-color);
}

.cart-close {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.cart-close:hover {
    background: var(--secondary-color);
    color: var(--text-primary);
}

.cart-close svg {
    width: 20px;
    height: 20px;
}

.cart-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.cart-items {
    padding: 20px;
}

/* Fixed footer with total and buttons */
.cart-footer {
    flex-shrink: 0;
    background: var(--white);
    padding: 0 20px 16px;
    border-top: 0.5px solid var(--border-color);
}

.cart-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 0.5px solid var(--border-color);
}

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

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    min-height: 80px;
    max-height: 80px;
}

.cart-item-image-placeholder {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 80px;
    max-height: 80px;
}

.cart-item-image-placeholder img {
    width: 50px;
    height: 50px;
    opacity: 0.5;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.cart-item-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-quantity-selector {
    display: flex;
    align-items: center;
    background: var(--secondary-color);
    border-radius: 20px;
    padding: 4px;
    width: 100px;
    justify-content: space-between;
}

.cart-quantity-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
}

.cart-quantity-btn svg {
    width: 14px;
    height: 16px;
    stroke: var(--text-primary);
    stroke-width: 2;
}

.cart-quantity-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.cart-quantity-display {
    min-width: 32px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.cart-summary {
    padding: 16px 0;
}

.cart-total,
.cart-full-cost {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cart-total:last-child,
.cart-full-cost:last-child {
    margin-bottom: 0;
}

.cart-total span:first-child,
.cart-full-cost span:first-child {
    font-size: 16px;
    color: var(--text-secondary);
}

.cart-total-price,
.cart-full-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-actions {
    padding: 0;
}

.cart-submit-btn {
    width: 100%;
    background: var(--secondary-color);
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: default;
    text-align: center;
    line-height: 1.4;
}

/* Order tabs and form styles */
.order-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.order-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.order-tab.active {
    color: var(--text-primary);
    border-bottom-color: var(--primary-color);
}

.order-form {
    display: none;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.order-form.active {
    display: flex;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-field input,
.form-field textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    background: var(--white);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-field textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.establishment-address {
    background: var(--secondary-color);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.place-order-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.place-order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.place-order-btn:hover::before {
    left: 100%;
}

.place-order-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.place-order-btn:disabled {
    background: var(--border-color);
    color: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.place-order-btn:disabled::before {
    display: none;
}

/* Success notification styles - same as company.blade.php */
.success-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--white);
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    max-width: 320px;
    width: 90%;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.success-notification.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.success-notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-notification-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #000000;
}

.success-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.success-message {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.success-close-btn {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.success-close-btn:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

/* Empty Menu Placeholder */
.empty-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    min-height: 60vh;
}

.empty-menu-icon {
    width: 120px;
    height: 120px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.empty-menu-icon img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.empty-menu-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.empty-menu-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 300px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 16px 20px;
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: auto;
}

.powered-by {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 8px;
}

.powered-by-logo {
    height: 24px;
    width: auto;
}

.language-dropdown {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 8px 12px;
    cursor: pointer;
}

.language-dropdown select {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    outline: none;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        margin: 0;
    }
}

/* Booking Modal */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
}

.booking-modal.active {
    display: block;
}

.booking-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.booking-content {
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    width: auto;
    max-width: 480px;
    height: 100%;
    background: var(--white);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    max-height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}


.booking-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 30px;
    background: var(--white);
    border-bottom: 0.5px solid var(--border-color);
    flex-shrink: 0;
}

.booking-close {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
    position: absolute;
    right: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-close:hover {
    background: var(--secondary-color);
    color: var(--text-primary);
}

.booking-close svg {
    width: 20px;
    height: 20px;
}

.booking-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 16px;
    background: var(--white);
    color: var(--text-primary);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.booking-footer {
    flex-shrink: 0;
    background: var(--white);
    padding: 20px;
    border-top: 0.5px solid var(--border-color);
}

.booking-submit {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    width: 100%;
}

.booking-submit:disabled {
    background: var(--border-color);
    color: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
}

.booking-submit:hover:not(:disabled) {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.menu-button-disabled {
    background: var(--border-color) !important;
    color: var(--text-secondary) !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.menu-button-disabled:hover {
    background: var(--border-color) !important;
    color: var(--text-secondary) !important;
    transform: none !important;
}

/* Success Notification */
.success-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    max-width: 320px;
    width: 90%;
    text-align: center;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale3d(0.8, 0.8, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.success-notification.active {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale3d(1, 1, 1);
}

.success-notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-notification-overlay.active {
    opacity: 1;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #000000;
}

.success-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.success-message {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.success-close-btn {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.success-close-btn:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

/* Error Notification */
.error-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    max-width: 320px;
    width: 90%;
    text-align: center;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale3d(0.8, 0.8, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.error-notification.active {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale3d(1, 1, 1);
}

.error-notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-notification-overlay.active {
    opacity: 1;
}

.error-icon {
    width: 64px;
    height: 64px;
    background: #ffebee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #d32f2f;
}

.error-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.error-message {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.error-close-btn {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.error-close-btn:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .booking-content {
        width: 95%;
    }

    .product-content {
        width: 95%;
        max-width: none;
        max-height: 95vh;
    }

    .product-image {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }

    .product-image-placeholder {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }

    /* Fix cart modal for mobile devices */
    .cart-content {
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        height: 100vh;
        max-height: 100vh;
        min-height: 100vh;
        /* Fix for iOS bottom bar */
        height: 100dvh;
        max-height: 100dvh;
        min-height: 100dvh;
    }

    /* Fix booking modal for mobile devices */
    .booking-content {
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        height: 100vh;
        max-height: 100vh;
        min-height: 100vh;
        /* Fix for iOS bottom bar */
        height: 100dvh;
        max-height: 100dvh;
        min-height: 100dvh;
    }

    .cart-modal {
        /* Ensure cart stays in place on iOS */
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        /* Use dynamic viewport height for iOS */
    }

    .form-row {
        flex-direction: column;
        gap: 12px;
    }
}
