/* Vitrina Design - Dynamic Theme */
:root {
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --gray: #757575;
    --dark-gray: #424242;
    --black: #212121;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-gray);
    color: var(--black);
    line-height: 1.6;
}

.vitrina-header {
    color: var(--white);
    padding: 20px;
    text-align: center;
}

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

.back-button {
    flex: 0 0 auto;
}

.back-btn {
    color: var(--white);
    font-size: 18px;
    text-decoration: none;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
    display: inline-block;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateX(-2px);
}

.logo-container {
    flex: 1;
    text-align: center;
}

.logo {
    max-height: 50px;
    max-width: 150px;
    object-fit: contain;
}

.restaurant-name-logo {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.header-icons {
    display: flex;
    gap: 15px;
    margin: 0 20px;
}

.header-icons a {
    color: var(--white);
    font-size: 18px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.header-icons a:hover {
    opacity: 0.8;
}

.header-language {
    flex: 0 0 auto;
}

.restaurant-description {
    margin: 15px 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

.header-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 15px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.header-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    transform: translateY(-2px);
}

.wifi-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

.page-container {
    display: none;
    min-height: calc(100vh - 200px);
    background: #f5f5f5;
}

.page-container.active {
    display: block;
}

.categories-list-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.categories-header {
    text-align: center;
    margin-bottom: 30px;
}

.categories-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-list-item {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.category-list-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.category-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-item-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.category-item-arrow {
    font-size: 16px;
    transition: transform 0.3s;
}

.category-list-item:hover .category-item-arrow {
    transform: translateX(4px);
}

.menu-top-nav {
    background: var(--white);
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menu-top-nav .back-button {
    flex: 0 0 auto;
}

.menu-top-nav .back-btn {
    color: var(--gray);
    font-size: 18px;
    text-decoration: none;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
    display: inline-block;
}

.menu-top-nav .back-btn:hover {
    transform: translateX(-2px);
}

.category-navigation {
    background: var(--white);
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
    position: sticky;
    top: 60px;
    z-index: 999;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.category-scroll {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: max-content;
    padding: 0 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: pan-x;
    scroll-behavior: smooth;
}

.category-tab {
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
    font-weight: 500;
    color: var(--gray);
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: max-content;
    touch-action: pan-x;
}

.category-tab:hover {
    color: var(--gray);
}

.category-tab.active {
    color: var(--gray);
    border-bottom-color: var(--gray);
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
    white-space: nowrap;
}

.products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f5f5f5;
}

.products-container {
    margin-bottom: 0;
}

.products-container:last-child {
    margin-bottom: 0;
}

.products-header {
    color: var(--white);
    padding: 15px 20px;
    margin-bottom: 0;
    border-radius: 10px 10px 0 0;
    width: 100%;
}

.products-category-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.products-table {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.products-table:last-child {
    margin-bottom: 0;
}

.product-table-card {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.product-table-card:last-child {
    border-bottom: none;
}

.product-table-card:hover {
    background: #f8f8f8;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    flex: 1;
    margin-right: 15px;
}

.vitrina-product-heading {
    flex: 1;
    margin-right: 15px;
    min-width: 0;
}

.vitrina-product-heading .product-title {
    flex: none;
    margin-right: 0;
    margin-bottom: 0;
}

.vitrina-product-tag-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.vitrina-tag-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.06);
    color: var(--primary-red);
    cursor: default;
    outline: none;
    flex-shrink: 0;
}

.vitrina-tag-icon-wrap:hover,
.vitrina-tag-icon-wrap:focus-visible {
    background: rgba(0, 0, 0, 0.1);
}

.vitrina-tag-icon {
    font-size: 0.75rem;
    line-height: 1;
}

.vitrina-tag-icon-wrap::after {
    content: attr(data-label);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%) translateY(4px);
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.92);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    z-index: 40;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.vitrina-tag-icon-wrap:is(:hover, :focus-visible, .is-open)::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.product-image-container {
    flex: 0 0 auto;
    cursor: pointer;
    transition: transform 0.3s;
}

.product-image-container:hover {
    transform: scale(1.05);
}

.product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.product-description {
    margin-bottom: 15px;
}

.product-description p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
    line-height: 1.4;
}

.product-options {
    padding-top: 15px;
}

.product-variants {
    margin-top: 10px;
}

.variants-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.variant-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 12px;
    padding: 4px 8px;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--primary-red);
    flex-wrap: wrap;
    gap: 4px;
}

.variant-name {
    color: #666;
    font-weight: 500;
    flex: 1;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.3;
}

.variant-price {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
}

.option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.option-label {
    font-weight: 600;
    color: var(--dark);
}

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

.price-old {
    color: var(--gray);
    text-decoration: line-through;
    margin-right: 8px;
    font-size: 14px;
}

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

.stock-badge {
    background: var(--gray);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.selected-options .badge {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.product-group {
    margin-bottom: 0;
    border-bottom: 3px solid #e0e0e0;
}

.product-group:last-child {
    border-bottom: none;
}

.group-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    padding: 15px 20px;
    background: #ffffff;
    border-bottom: 2px solid #e0e0e0;
}

.vitrina-footer {
    color: var(--white);
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

.footer-info {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-address,
.footer-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-address i,
.footer-phone i {
    color: var(--white);
    font-size: 16px;
    opacity: 0.8;
}

.footer-phone a {
    color: var(--white);
    text-decoration: none;
}

.footer-phone a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-social {
    margin-bottom: 15px;
}

.footer-social a {
    color: var(--white);
    font-size: 18px;
    margin: 0 10px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-social a:hover {
    opacity: 0.8;
}

.footer-copyright {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.footer-link:hover {
    text-decoration: underline;
}

.price-update-info {
    font-size: 12px;
    opacity: 0.8;
}

.header-language {
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.language-selector {
    position: relative;
    display: inline-block;
}

.language-selector-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--white);
    font-weight: 500;
}

.language-selector-current:hover {
    opacity: 0.8;
}

.language-flag {
    font-size: 16px;
}

.language-name {
    font-size: 13px;
    white-space: nowrap;
}

.language-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-selector.active .language-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 5px;
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #e0e0e0;
}

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

.language-option:hover {
    background: #f5f5f5;
}

.language-option .language-flag {
    font-size: 16px;
}

.language-option .language-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

@media (max-width: 768px) {
    .header-language {
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }

    .language-selector-current {
        padding: 6px 10px;
        font-size: 13px;
    }

    .language-dropdown {
        min-width: 140px;
        right: -10px;
    }

    .language-option {
        padding: 10px 14px;
    }

    .language-option .language-name {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header-language {
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }

    .language-selector-current {
        padding: 5px 8px;
    }

    .language-flag {
        font-size: 14px;
    }

    .language-arrow {
        font-size: 10px;
    }
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.image-modal .modal-content {
    position: relative;
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    top: 50%;
    transform: translateY(-50%);
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .page-tabs {
        flex-direction: column;
    }

    .page-tab {
        border-bottom: 1px solid #E0E0E0;
        border-right: none;
    }

    .page-tab.active {
        border-bottom-color: var(--gray);
        border-right: none;
    }

    .categories-list-container {
        padding: 15px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .header-icons {
        order: 2;
    }

    .header-language {
        order: 3;
        text-align: center;
    }

    .category-scroll {
        padding: 10px 10px;
    }

    .category-tab {
        padding: 12px 15px;
    }

    .products-container {
        padding: 15px;
    }

    .products-header {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .header-buttons {
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
        gap: 10px;
    }

    .header-btn {
        width: 100%;
        font-size: 11px;
        padding: 6px 12px;
    }

    .product-card {
        margin-bottom: 15px;
    }

    .category-item-content {
        padding: 15px;
    }

    .category-item-title {
        font-size: 14px;
    }
}

.product-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.btn-add-to-cart {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-add-to-cart:hover {
    background: var(--primary-red);
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(211, 47, 47, 0.3);
}

.btn-add-to-cart i {
    font-size: 10px;
}

.cart-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-width: 140px;
    justify-content: space-between;
}

.cart-toggle:hover {
    background: var(--primary-red);
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
}

.cart-toggle i {
    font-size: 16px;
}

.cart-text {
    font-size: 12px;
    font-weight: 500;
}

.cart-total {
    font-size: 13px;
    font-weight: 700;
}

#cartCount {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FF5722;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    min-width: 20px;
}

#cartPanel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 20px rgba(0,0,0,0.15);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #E0E0E0;
}

#cartPanel.active {
    right: 0;
}

#cartOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#cartOverlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #E0E0E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border-radius: 0 0 12px 12px;
    margin: 0 0 10px 0;
}

.cart-header h3 {
    margin: 0;
    color: var(--black);
    font-size: 18px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#cartClose {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--gray);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 225px);
    padding: 10px 0;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin: 0 10px 10px 10px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #E0E0E0;
}

.item-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
}

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

.item-details {
    flex: 1;
}

.btn-primary {
    background-color: var(--primary-red)!important;
    border-color: var(--primary-red)!important;
}

.item-details h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.item-details p {
    margin: 0;
    font-size: 12px;
    color: var(--gray);
}

.item-controls {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--light-gray);
    border-radius: 20px;
    padding: 5px;
}

.quantity-btn {
    background: var(--primary-red);
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--primary-red);
    opacity: 0.9;
}

.quantity {
    font-size: 12px;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
    color: var(--black);
}

.remove-item {
    background: #FF5722;
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item:hover {
    background: #E64A19;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #E0E0E0;
    background: var(--white);
    border-radius: 12px 12px 0 0;
    margin: 10px 0 0 0;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--black);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.btn-clear-cart, .btn-checkout {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-clear-cart.show, .btn-checkout.show {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-clear-cart {
    background: #FF5722;
    color: white;
}

.btn-clear-cart:hover {
    background: #E64A19;
}

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

.btn-checkout:hover {
    background: var(--primary-red);
    opacity: 0.9;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.cart-empty i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #BDBDBD;
}

.order-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

body.cart-open {
    overflow: hidden;
}

.order-modal-content {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid #E0E0E0;
}

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

.order-modal-header h3 {
    margin: 0;
    color: var(--black);
    font-size: 20px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.order-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--black);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
    background: var(--white);
    color: var(--black);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.2);
}

.required {
    color: #FF5722;
}

.order-summary {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #E0E0E0;
}

.order-summary h4 {
    margin: 0 0 15px 0;
    color: var(--black);
    font-size: 16px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--black);
}

.order-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #E0E0E0;
    font-weight: 600;
    font-size: 16px;
    color: var(--black);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.order-actions {
    display: flex;
    gap: 10px;
}

.btn-cancel, .btn-submit-order {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

.btn-cancel:hover {
    background: var(--dark-gray);
}

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

.btn-submit-order:hover {
    background: var(--primary-red);
    opacity: 0.9;
}

.btn-submit-order:disabled {
    background: var(--gray);
    cursor: not-allowed;
}

@media (max-width: 768px) {
    #cartPanel {
        width: 100%;
        right: -100%;
    }

    .cart-toggle {
        min-width: 120px;
        padding: 10px 14px;
        font-size: 12px;
    }

    .cart-toggle i {
        font-size: 14px;
    }

    .cart-text {
        font-size: 11px;
    }

    .cart-total {
        font-size: 12px;
    }

    .order-modal-content {
        padding: 20px;
        width: 95%;
    }
}

.cart-message {
    background: var(--primary-red)!important;
}