/* Importar fuentes de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Ubuntu:wght@400;500;700&display=swap');

:root {
    --cro-primary: #FF4B2B;
    --cro-primary-dark: #E63E1F;
    --cro-bg: #FFFFFF;
    --cro-text: #333333;
    --cro-text-light: #666666;
    --cro-border: #E5E5E5;
    --cro-success: #28A745;
    --cro-danger: #DC3545;
    --cro-font-primary: 'Poppins', sans-serif;
    --cro-font-secondary: 'Ubuntu', sans-serif;
}

/* Estilos base */
body {
    font-family: var(--cro-font-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--cro-font-secondary);
}

/* Estilos para el modal de entrega */
.cro-delivery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.cro-modal-content {
    background-color: var(--cro-bg);
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.cro-modal-content h3 {
    text-align: center;
    color: var(--cro-primary);
    margin-bottom: 20px;
    font-size: 1.5em;
}

.cro-delivery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 480px) {
    .cro-delivery-options {
        grid-template-columns: 1fr;
    }
}

.cro-delivery-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 2px solid var(--cro-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--cro-bg);
    position: relative;
    overflow: hidden;
}

.cro-delivery-option:hover {
    border-color: var(--cro-primary);
    background: rgba(255, 75, 43, 0.05);
}

.cro-delivery-option.active {
    border-color: var(--cro-primary);
    background: rgba(255, 75, 43, 0.1);
    color: var(--cro-text);
}

.cro-delivery-option.active::before {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--cro-primary);
    font-size: 1.2em;
    font-weight: bold;
}

.cro-delivery-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

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

.cro-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--cro-text);
    font-weight: bold;
}

.cro-form-group input,
.cro-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--cro-border);
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.cro-form-group input:focus,
.cro-form-group textarea:focus {
    border-color: var(--cro-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 75, 43, 0.1);
}

.cro-form-group textarea {
    height: 100px;
    resize: vertical;
}

.cro-modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.cro-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.cro-modal-cancel,
.cro-modal-confirm {
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cro-modal-cancel {
    background-color: #f5f5f5;
    border: 2px solid var(--cro-border);
    color: var(--cro-text-light);
}

.cro-modal-cancel:hover {
    background-color: #eee;
    border-color: #ddd;
}

.cro-modal-confirm {
    background-color: var(--cro-primary);
    color: white;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cro-modal-confirm:hover:not(:disabled) {
    background-color: var(--cro-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cro-modal-confirm:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Estilos del carrito */
.cro-cart-item-content {
    flex: 1;
    padding: 10px;
}

.cro-cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.cro-cart-item-name {
    font-weight: 500;
    color: var(--cro-text);
}

.cro-cart-item-quantity {
    color: var(--cro-text-light);
    font-size: 0.9em;
}

.cro-cart-item-options {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 5px 0;
}

.cro-cart-item-option {
    background-color: var(--cro-bg-light);
    color: var(--cro-text-light);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
}

.cro-cart-item-price {
    color: var(--cro-primary);
    font-weight: 500;
    margin-top: 5px;
}

.cro-cart {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--cro-bg);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cro-cart.active {
    right: 0;
}

.cart-open {
    overflow: hidden;
}

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

.cro-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cro-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--cro-border);
}

.cro-cart-item-info {
    flex: 1;
}

.cro-cart-item-title {
    margin: 0 0 5px;
    font-size: 1.1em;
}

.cro-cart-item-options {
    font-size: 0.9em;
    color: var(--cro-text-light);
    margin-bottom: 5px;
}

.cro-cart-item-price {
    font-weight: bold;
}

.cro-cart-item-remove {
    background: none;
    border: none;
    color: var(--cro-danger);
    font-size: 1.5em;
    cursor: pointer;
    padding: 0 10px;
}

.cro-cart-footer {
    padding: 20px;
    border-top: 1px solid var(--cro-border);
    background: var(--cro-bg);
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .cro-menu-container {
        padding: 10px;
    }

    .cro-categories {
        padding: 15px 0;
        margin-bottom: 20px;
    }

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

    .cro-cart {
        width: 100%;
        max-width: none;
    }

    .cro-cart-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2em;
    background: #ff6f6f;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1100;
    cursor: pointer;
    padding: 0;
}
.cro-cart-toggle span[style*="font-size"] {
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.cro-cart-count {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #f44336;
    color: #fff;
    border-radius: 50%;
    font-size: 0.9em;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    pointer-events: none;
}
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .cro-cart-icon {
        font-size: 20px;
    }

    .cro-cart-count {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .cro-restaurant-status {
        top: 10px;
        right: 10px;
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

/* Estilos de notificaciones */
.cro-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 280px;
    max-width: 90vw;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #ff5858 0%, #f09819 100%);
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, top 0.3s;
}
.cro-notification.show {
    opacity: 1;
    pointer-events: auto;
    top: 40px;
}
.cro-notification.success {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}
.cro-notification.error {
    background: linear-gradient(90deg, #ff5858 0%, #f09819 100%);
}

.cro-cart-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1001;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.cro-cart-toggle:active, .cro-cart-toggle:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.cro-cart-icon {
    font-size: 2rem;
    color: #ff5858;
}
.cro-cart-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff5858;
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
@media (max-width: 600px) {
    .cro-cart-toggle {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
    }
    .cro-cart-icon {
        font-size: 1.7rem;
    }
    .cro-cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.95rem;
        top: 7px;
        right: 7px;
    }
}
.cro-checkout-btn {
    background-image: none !important;
}
.cro-checkout-btn::before, .cro-checkout-btn::after {
    display: none !important;
    content: none !important;
}
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(67,233,123,0.12);
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}
.cro-checkout-btn:before {
    content: "\f232";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.7rem;
    font-size: 1.3rem;
    display: inline-block;
}
.cro-checkout-btn:disabled {
    background: #eee;
    color: #bbb;
    cursor: not-allowed;
}
@media (max-width: 600px) {
    .cro-checkout-btn {
        font-size: 1rem;
        padding: 0.8rem 1.1rem;
        margin-top: 0.7rem;
    }
    .cro-checkout-btn:before {
        font-size: 1.1rem;
    }
}

/* Estilos de notificaciones */
.cro-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cro-success);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    transition: transform 0.3s ease;
}

.cro-notification.error {
    background: var(--cro-danger);
}

.cro-notification.show {
    transform: translateX(-50%) translateY(0);
}

:root {
    --cro-primary: #FF6B6B;
    --cro-primary-dark: #FF5252;
    --cro-success: #4CAF50;
    --cro-danger: #f44336;
    --cro-text: #333;
    --cro-text-light: #666;
    --cro-border: #E0E0E0;
    --cro-bg: #FFFFFF;
    --cro-bg-light: #F5F5F5;
    --cro-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --cro-radius: 15px;
    --cro-transition: all 0.3s ease;
}

/* Estilos del menú */
.cro-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cro-categories {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding: 20px 0;
}

.cro-category-btn {
    padding: 10px 20px;
    background: var(--cro-bg);
    border: 2px solid var(--cro-primary);
    border-radius: 25px;
    color: var(--cro-primary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cro-category-btn:hover,
.cro-category-btn.active {
    background: var(--cro-primary);
    color: var(--cro-bg);
}

.cro-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.cro-product-card {
    background: var(--cro-bg);
    border: 1px solid var(--cro-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cro-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cro-product-card:hover {
    transform: translateY(-5px);
}

.cro-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cro-product-info {
    padding: 20px;
}

.cro-product-title {
    margin: 0 0 10px;
    font-size: 1.3em;
    color: var(--cro-text);
}

.cro-product-price {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--cro-primary);
    margin-bottom: 15px;
}

.cro-product-description {
    font-size: 0.95em;
    color: var(--cro-text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

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

.cro-option-group {
    background: var(--cro-bg-light);
    padding: 15px;
    border-radius: 10px;
}

.cro-option-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--cro-text);
}

.cro-option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    color: var(--cro-text);
}

.cro-option-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--cro-border);
    border-radius: 4px;
    cursor: pointer;
}

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

.cro-product-title {
    margin: 0 0 10px;
    font-size: 1.25em;
    color: var(--cro-text);
}

.cro-product-description {
    color: var(--cro-text-light);
    margin-bottom: 15px;
    font-size: 0.9em;
    line-height: 1.5;
}

.cro-product-price {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--cro-primary);
    margin-bottom: 15px;
}

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

.cro-quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    background: var(--cro-bg-light);
    padding: 10px;
    border-radius: 25px;
    width: fit-content;
}

.cro-quantity-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: var(--cro-bg);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: var(--cro-text);
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cro-quantity-btn:hover {
    background: var(--cro-primary);
    color: var(--cro-bg);
    transform: scale(1.1);
}

.cro-quantity-input {
    width: 45px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--cro-text);
    -moz-appearance: textfield;
}

.cro-add-to-cart {
    flex: 1;
    padding: 10px 20px;
    background: var(--cro-primary);
    color: var(--cro-bg);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cro-add-to-cart:hover {
    background: var(--cro-primary-dark);
}

.cro-add-to-cart:disabled {
    background: var(--cro-border);
    cursor: not-allowed;
}
    transform: translateX(-50%) translateY(0);
}

/* Estilos del botón flotante del carrito */
.cro-cart-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5858 60%, #f09819 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  z-index: 2500;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  overflow: visible !important;
}
.cro-cart-toggle:hover {
  background: linear-gradient(135deg, #ff5858 80%, #ffb347 100%);
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}
.cro-cart-toggle span[style*="font-size"] {
  font-size: 2.4em !important;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff !important;
  background: none !important;
  overflow: visible !important;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.12));
}
.cro-cart-count {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #f44336;
  color: #fff;
  border-radius: 50%;
  min-width: 22px;
  height: 22px;
  font-size: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 2;
  border: 2px solid #fff;
}

.cro-cart {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cro-cart.active {
    right: 0;
}

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

.cro-cart-header h3 {
    margin: 0;
    font-size: 1.5em;
}

.cro-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cro-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--cro-border);
}

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

.cro-cart-item-info {
    flex: 1;
    padding-right: 15px;
}

.cro-cart-item-title {
    margin: 0 0 5px;
    font-size: 1.1em;
}

.cro-cart-item-quantity,
.cro-cart-item-options {
    font-size: 0.9em;
    color: var(--cro-text-light);
    margin-bottom: 5px;
}

.cro-cart-item-price {
    font-weight: bold;
    color: var(--cro-primary);
}

.cro-cart-item-remove {
    background: none;
    border: none;
    color: var(--cro-danger);
    font-size: 1.5em;
    cursor: pointer;
    padding: 0 5px;
}

.cro-cart-footer {
    padding: 20px;
    border-top: 1px solid var(--cro-border);
    background: var(--cro-bg);
}

.cro-checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--cro-primary);
    color: var(--cro-bg);
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.cro-checkout-btn:hover {
    background: var(--cro-primary-dark);
}

.cro-checkout-btn:disabled {
    background: var(--cro-border);
    cursor: not-allowed;
}

/* Estilos del estado del restaurante */
.cro-restaurant-status {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    z-index: 998;
}

.cro-status-closed {
    background: var(--cro-danger);
    color: var(--cro-bg);
}

.cro-status-open {
    background: var(--cro-success);
    color: var(--cro-bg);
}

.cro-status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.cro-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: bold;
}

/* Estilos de notificaciones */
.cro-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 28px 16px 18px;
    background-color: var(--cro-success);
    color: #fff;
    border-radius: 10px;
    z-index: 1100;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: all 0.35s cubic-bezier(.4,2,.3,1);
    font-size: 1rem;
    max-width: 340px;
    box-shadow: 0 8px 24px rgba(40,167,69,0.18), 0 1.5px 6px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.cro-notification.success::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #fff;
    font-size: 1.3em;
    background: linear-gradient(135deg, #28a745 60%, #4caf50 100%);
    border-radius: 50%;
    padding: 4px 6px;
    box-shadow: 0 2px 8px rgba(40,167,69,0.10);
}
.cro-notification.success {
    background: linear-gradient(90deg, #28a745 80%, #4caf50 100%);
    border-left: 4px solid #1f8f35;
}
.cro-notification.error {
    background: linear-gradient(90deg, #e74c3c 80%, #b52b38 100%);
    border-left: 4px solid #b52b38;
}
.cro-notification.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}
@media (max-width: 480px) {
    .cro-notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 0.95rem;
    }
}

/* Estilos del botón flotante del carrito */
.cro-cart-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ff6f6f;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  z-index: 1001;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cro-cart-toggle span[style*="font-size"] {
  font-size: 2.2em !important;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.cro-cart-count {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #f44336;
  color: #fff;
  border-radius: 50%;
  min-width: 22px;
  height: 22px;
  font-size: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 2;
}

.cro-cart-close {
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    padding: 0;
    color: var(--cro-text);
    line-height: 1;
}

.cro-checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--cro-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cro-checkout-btn:hover {
    background: var(--cro-primary-dark);
}

.cro-checkout-btn:disabled {
    background: var(--cro-border);
    cursor: not-allowed;
}

.cro-modal-cancel,
.cro-modal-confirm {
    flex: 1;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
}

.cro-modal-cancel {
    background-color: var(--cro-border);
    color: var(--cro-text);
}

.cro-modal-confirm {
    background-color: var(--cro-primary);
    color: white;
}

.cro-modal-confirm:disabled {
    background-color: var(--cro-border);
    cursor: not-allowed;
    opacity: 0.7;
}
}

.cro-modal-cancel {
    background: var(--cro-bg);
    border: 2px solid var(--cro-border);
    color: var(--cro-text);
}

.cro-modal-confirm {
    background: var(--cro-primary);
    border: none;
    color: var(--cro-bg);
}

.cro-modal-confirm:disabled {
    background: var(--cro-border);
    cursor: not-allowed;
}

.cro-modal-cancel:hover {
    background: var(--cro-border);
}

.cro-modal-confirm:not(:disabled):hover {
    background: var(--cro-primary);
    opacity: 0.9;
}

/* Notificaciones */
.cro-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    z-index: 9999;
    animation: slideIn 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cro-notification.success {
    background-color: #4CAF50;
}

.cro-notification.error {
    background-color: #f44336;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.cro-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cro-success);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    transition: transform 0.3s ease;
}

.cro-notification.error {
    background: var(--cro-danger);
}

.cro-notification.show {
    transform: translateX(-50%) translateY(0);
}

:root {
    --cro-primary: #FF6B6B;
    --cro-primary-dark: #FF5252;
    --cro-success: #4CAF50;
    --cro-danger: #f44336;
    --cro-text: #333;
    --cro-text-light: #666;
    --cro-border: #E0E0E0;
    --cro-bg: #FFFFFF;
    --cro-bg-light: #F5F5F5;
    --cro-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --cro-radius: 15px;
    --cro-transition: all 0.3s ease;
}

/* Estilos del menú */
.cro-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cro-categories {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding: 20px 0;
}

.cro-category-btn {
    padding: 10px 20px;
    background: var(--cro-bg);
    border: 2px solid var(--cro-primary);
    border-radius: 25px;
    color: var(--cro-primary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cro-category-btn:hover,
.cro-category-btn.active {
    background: var(--cro-primary);
    color: var(--cro-bg);
}

.cro-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.cro-product-card {
    background: var(--cro-bg);
    border: 1px solid var(--cro-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cro-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cro-product-card:hover {
    transform: translateY(-5px);
}

.cro-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cro-product-info {
    padding: 20px;
}

.cro-product-title {
    margin: 0 0 10px;
    font-size: 1.3em;
    color: var(--cro-text);
}

.cro-product-price {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--cro-primary);
    margin-bottom: 15px;
}

.cro-product-description {
    font-size: 0.95em;
    color: var(--cro-text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

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

.cro-option-group {
    background: var(--cro-bg-light);
    padding: 15px;
    border-radius: 10px;
}

.cro-option-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--cro-text);
}

.cro-option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    color: var(--cro-text);
}

.cro-option-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--cro-border);
    border-radius: 4px;
    cursor: pointer;
}

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

.cro-product-title {
    margin: 0 0 10px;
    font-size: 1.25em;
    color: var(--cro-text);
}

.cro-product-description {
    color: var(--cro-text-light);
    margin-bottom: 15px;
    font-size: 0.9em;
    line-height: 1.5;
}

.cro-product-price {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--cro-primary);
    margin-bottom: 15px;
}

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

.cro-quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    background: var(--cro-bg-light);
    padding: 10px;
    border-radius: 25px;
    width: fit-content;
}

.cro-quantity-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: var(--cro-bg);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: var(--cro-text);
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cro-quantity-btn:hover {
    background: var(--cro-primary);
    color: var(--cro-bg);
    transform: scale(1.1);
}

.cro-quantity-input {
    width: 45px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--cro-text);
    -moz-appearance: textfield;
}

.cro-add-to-cart {
    flex: 1;
    padding: 10px 20px;
    background: var(--cro-primary);
    color: var(--cro-bg);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cro-add-to-cart:hover {
    background: var(--cro-primary-dark);
}

.cro-add-to-cart:disabled {
    background: var(--cro-border);
    cursor: not-allowed;
}
    transform: translateX(-50%) translateY(0);
}

/* Estilos del botón flotante del carrito */
.cro-cart-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--cro-primary);
    color: var(--cro-bg);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 999;
}

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

.cro-cart-icon {
    font-size: 24px;
}

.cro-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--cro-danger);
    color: var(--cro-bg);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.cro-cart {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cro-cart.active {
    right: 0;
}

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

.cro-cart-header h3 {
    margin: 0;
    font-size: 1.5em;
}

.cro-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cro-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--cro-border);
}

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

.cro-cart-item-info {
    flex: 1;
    padding-right: 15px;
}

.cro-cart-item-title {
    margin: 0 0 5px;
    font-size: 1.1em;
}

.cro-cart-item-quantity,
.cro-cart-item-options {
    font-size: 0.9em;
    color: var(--cro-text-light);
    margin-bottom: 5px;
}

.cro-cart-item-price {
    font-weight: bold;
    color: var(--cro-primary);
}

.cro-cart-item-remove {
    background: none;
    border: none;
    color: var(--cro-danger);
    font-size: 1.5em;
    cursor: pointer;
    padding: 0 5px;
}

.cro-cart-footer {
    padding: 20px;
    border-top: 1px solid var(--cro-border);
    background: var(--cro-bg);
}

.cro-checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--cro-primary);
    color: var(--cro-bg);
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.cro-checkout-btn:hover {
    background: var(--cro-primary-dark);
}

.cro-checkout-btn:disabled {
    background: var(--cro-border);
    cursor: not-allowed;
}

/* Estilos del estado del restaurante */
.cro-restaurant-status {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    z-index: 998;
}

.cro-status-closed {
    background: var(--cro-danger);
    color: var(--cro-bg);
}

.cro-status-open {
    background: var(--cro-success);
    color: var(--cro-bg);
}

.cro-status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.cro-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: bold;
}

/* Estilos de notificaciones */
.cro-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 28px 16px 18px;
    background-color: var(--cro-success);
    color: #fff;
    border-radius: 10px;
    z-index: 1100;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: all 0.35s cubic-bezier(.4,2,.3,1);
    font-size: 1rem;
    max-width: 340px;
    box-shadow: 0 8px 24px rgba(40,167,69,0.18), 0 1.5px 6px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.cro-notification.success::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #fff;
    font-size: 1.3em;
    background: linear-gradient(135deg, #28a745 60%, #4caf50 100%);
    border-radius: 50%;
    padding: 4px 6px;
    box-shadow: 0 2px 8px rgba(40,167,69,0.10);
}
.cro-notification.success {
    background: linear-gradient(90deg, #28a745 80%, #4caf50 100%);
    border-left: 4px solid #1f8f35;
}
.cro-notification.error {
    background: linear-gradient(90deg, #e74c3c 80%, #b52b38 100%);
    border-left: 4px solid #b52b38;
}
.cro-notification.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}
@media (max-width: 480px) {
    .cro-notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 0.95rem;
    }
}

/* Estilos del botón flotante del carrito */
.cro-cart-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--cro-primary);
    color: var(--cro-bg);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 999;
}

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

.cro-cart-icon {
    font-size: 24px;
}

.cro-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--cro-danger);
    color: var(--cro-bg);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.cro-cart-close {
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    padding: 0;
    color: var(--cro-text);
    line-height: 1;
}

.cro-checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--cro-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cro-checkout-btn:hover {
    background: var(--cro-primary-dark);
}

.cro-checkout-btn:disabled {
    background: var(--cro-border);
    cursor: not-allowed;
}

.cro-modal-cancel,
.cro-modal-confirm {
    flex: 1;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
}

.cro-modal-cancel {
    background-color: var(--cro-border);
    color: var(--cro-text);
}

.cro-modal-confirm {
    background-color: var(--cro-primary);
    color: white;
}

.cro-modal-confirm:disabled {
    background-color: var(--cro-border);
    cursor: not-allowed;
    opacity: 0.7;
}
}

.cro-modal-cancel {
    background: var(--cro-bg);
    border: 2px solid var(--cro-border);
    color: var(--cro-text);
}

.cro-modal-confirm {
    background: var(--cro-primary);
    border: none;
    color: var(--cro-bg);
}

.cro-modal-confirm:disabled {
    background: var(--cro-border);
    cursor: not-allowed;
}

.cro-modal-cancel:hover {
    background: var(--cro-border);
}

.cro-modal-confirm:not(:disabled):hover {
    background: var(--cro-primary);
    opacity: 0.9;
}

/* Notificaciones */
.cro-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    z-index: 9999;
    animation: slideIn 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cro-notification.success {
    background-color: #4CAF50;
}

.cro-notification.error {
    background-color: #f44336;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.cro-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cro-success);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    transition: transform 0.3s ease;
}

.cro-notification.error {
    background: var(--cro-danger);
}

.cro-notification.show {
    transform: translateX(-50%) translateY(0);
}

:root {
    --cro-primary: #FF6B6B;
    --cro-primary-dark: #FF5252;
    --cro-success: #4CAF50;
    --cro-danger: #f44336;
    --cro-text: #333;
    --cro-text-light: #666;
    --cro-border: #E0E0E0;
    --cro-bg: #FFFFFF;
    --cro-bg-light: #F5F5F5;
    --cro-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --cro-radius: 15px;
    --cro-transition: all 0.3s ease;
}

/* Estilos del menú */
.cro-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cro-categories {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding: 20px 0;
}

.cro-category-btn {
    padding: 10px 20px;
    background: var(--cro-bg);
    border: 2px solid var(--cro-primary);
    border-radius: 25px;
    color: var(--cro-primary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cro-category-btn:hover,
.cro-category-btn.active {
    background: var(--cro-primary);
    color: var(--cro-bg);
}

.cro-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.cro-product-card {
    background: var(--cro-bg);
    border: 1px solid var(--cro-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cro-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cro-product-card:hover {
    transform: translateY(-5px);
}

.cro-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cro-product-info {
    padding: 20px;
}

.cro-product-title {
    margin: 0 0 10px;
    font-size: 1.3em;
    color: var(--cro-text);
}

.cro-product-price {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--cro-primary);
    margin-bottom: 15px;
}

.cro-product-description {
    font-size: 0.95em;
    color: var(--cro-text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

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

.cro-option-group {
    background: var(--cro-bg-light);
    padding: 15px;
    border-radius: 10px;
}

.cro-option-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--cro-text);
}

.cro-option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    color: var(--cro-text);
}

.cro-option-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--cro-border);
    border-radius: 4px;
    cursor: pointer;
}

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

.cro-product-title {
    margin: 0 0 10px;
    font-size: 1.25em;
    color: var(--cro-text);
}

.cro-product-description {
    color: var(--cro-text-light);
    margin-bottom: 15px;
    font-size: 0.9em;
    line-height: 1.5;
}

.cro-product-price {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--cro-primary);
    margin-bottom: 15px;
}

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

.cro-quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    background: var(--cro-bg-light);
    padding: 10px;
    border-radius: 25px;
    width: fit-content;
}

.cro-quantity-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: var(--cro-bg);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: var(--cro-text);
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cro-quantity-btn:hover {
    background: var(--cro-primary);
    color: var(--cro-bg);
    transform: scale(1.1);
}

.cro-quantity-input {
    width: 45px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--cro-text);
    -moz-appearance: textfield;
}

.cro-add-to-cart {
    flex: 1;
    padding: 10px 20px;
    background: var(--cro-primary);
    color: var(--cro-bg);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cro-add-to-cart:hover {
    background: var(--cro-primary-dark);
}

.cro-add-to-cart:disabled {
    background: var(--cro-border);
    cursor: not-allowed;
}
    transform: translateX(-50%) translateY(0);
}

/* Estilos del botón flotante del carrito */
.cro-cart-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--cro-primary);
    color: var(--cro-bg);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 999;
}

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

.cro-cart-icon {
    font-size: 24px;
}

.cro-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--cro-danger);
    color: var(--cro-bg);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.cro-cart {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cro-cart.active {
    right: 0;
}

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

.cro-cart-header h3 {
    margin: 0;
    font-size: 1.5em;
}

.cro-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cro-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--cro-border);
}

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

.cro-cart-item-info {
    flex: 1;
    padding-right: 15px;
}

.cro-cart-item-title {
    margin: 0 0 5px;
    font-size: 1.1em;
}

.cro-cart-item-quantity,
.cro-cart-item-options {
    font-size: 0.9em;
    color: var(--cro-text-light);
    margin-bottom: 5px;
}

.cro-cart-item-price {
    font-weight: bold;
    color: var(--cro-primary);
}

.cro-cart-item-remove {
    background: none;
    border: none;
    color: var(--cro-danger);
    font-size: 1.5em;
    cursor: pointer;
    padding: 0 5px;
}

.cro-cart-footer {
    padding: 20px;
    border-top: 1px solid var(--cro-border);
    background: var(--cro-bg);
}

.cro-checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--cro-primary);
    color: var(--cro-bg);
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.cro-checkout-btn:hover {
    background: var(--cro-primary-dark);
}

.cro-checkout-btn:disabled {
    background: var(--cro-border);
    cursor: not-allowed;
}

/* Estilos del estado del restaurante */
.cro-restaurant-status {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    z-index: 998;
}

.cro-status-closed {
    background: var(--cro-danger);
    color: var(--cro-bg);
}

.cro-status-open {
    background: var(--cro-success);
    color: var(--cro-bg);
}

.cro-status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.cro-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: bold;
}

/* Estilos de notificaciones */
.cro-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 28px 16px 18px;
    background-color: var(--cro-success);
    color: #fff;
    border-radius: 10px;
    z-index: 1100;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: all 0.35s cubic-bezier(.4,2,.3,1);
    font-size: 1rem;
    max-width: 340px;
    box-shadow: 0 8px 24px rgba(40,167,69,0.18), 0 1.5px 6px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.cro-notification.success::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #fff;
    font-size: 1.3em;
    background: linear-gradient(135deg, #28a745 60%, #4caf50 100%);
    border-radius: 50%;
    padding: 4px 6px;
    box-shadow: 0 2px 8px rgba(40,167,69,0.10);
}
.cro-notification.success {
    background: linear-gradient(90deg, #28a745 80%, #4caf50 100%);
    border-left: 4px solid #1f8f35;
}
.cro-notification.error {
    background: linear-gradient(90deg, #e74c3c 80%, #b52b38 100%);
    border-left: 4px solid #b52b38;
}
.cro-notification.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}
@media (max-width: 480px) {
    .cro-notification {