body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}
#masthead {
    margin-top: 40px; /* Ajusta este valor según la altura de tu banner */
}

.header-widget-region .widget{
    padding:0px !important;
}

html, body {
    touch-action: manipulation;
}

/* Estilos para el modal y sus componentes */
#opciones-pedido {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
    text-align: center;
    margin-bottom: 30px;
}
.form-element .element-content,
#shipping_method > li:nth-child(2){
    display: none;
}

.form-element.active .element-content {
    display: block;
}

div:where(.swal2-container) .swal2-html-container {
    overflow: visible !important; /* Cambia 'auto' a 'visible' y añade '!important' */
}

.upload_image_button2 {
    background: none;
    border: none;
    color: #0073aa; /* Cambia esto al color que prefieras */
}

.upload_image_button2:hover {
    color: #00a0d2; /* Cambia esto al color que prefieras */
}
.swal2-container{
    z-index: 9999 !important;
}

/* Ajustes adicionales para los modales de productos */
.swal2-popup {
    margin-top: 15px !important;
}

.swal2-modal {
    margin-top: 50px !important;
}

/* Estilos para el contenedor del autocompletado */
.pac-container {
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-family: 'Arial', sans-serif;
    z-index: 10000 !important; /* Asegura que el autocompletado esté por encima de todo */
}

/* Estilos para cada sugerencia de autocompletado */
.pac-item {
    padding: 10px 15px;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.2s ease;
}

/* Estilos para la sugerencia de autocompletado seleccionada */
.pac-item-selected,
.pac-item:hover {
    background-color: #eee;
}

/* Estilos para el texto de la sugerencia de autocompletado */
.pac-item-query {
    font-weight: bold;
}

/* Estilos para el texto secundario de la sugerencia de autocompletado */
.pac-matched {
    font-weight: normal;
    color: #999;
}

.remove-ingredient {
    background-color: white !important;
    color: #000000 !important;
}

.remove-ingredient.active {
    color: #366121 !important;
}

.remove-ingredient.hover {
    border-radius: 100px !important;
}



#recoger, #domicilio {
    padding: 15px 20px;
    border: none;
    color: white;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
}

#recoger {
    background-color: #f8c146;
}

#domicilio {
    background-color: #5cb85c;
}

#opciones-pedido img {
    width: 90px;
    height: auto;
    margin-bottom: 10px;
}

#codigo-postal,
#site-navigation-menu-toggle,
#woocommerce-product-search-field-0,
#masthead > div.col-full > div.site-search,
.site-search,
#site-navigation > div:nth-child(2) > ul,
.storefront-handheld-footer-bar,
.storefront-primary-navigation > div,
.storefront-breadcrumb,
#colophon,
#wpfooter,
#order_review > table > thead > tr > th.product-name,
#order_review > table > thead > tr > th.product-total,
#order_review > table > tbody > tr > td.product-name,
#order_review > table > tbody > tr > td.product-total,
#post-2462 > div.entry-content > div > div:nth-child(4) > div > div > h2:nth-child(3),
#customer_details > div.col-2 > div.woocommerce-additional-fields > h3,
#comments > p,
#post-2462 > div.entry-content > div > div:nth-child(4) > div > div > div > ul,
#product-1178 > section,
#post-2031 > header > h1,
#post-2462 > div.entry-content > div > div:nth-child(4) > div > div > div.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block > div.wp-block-woocommerce-cart-order-summary-block > div.wp-block-woocommerce-cart-order-summary-shipping-block.wc-block-components-totals-wrapper > div > div > div > span,
#post-2463 > div > div > div.wc-block-components-sidebar-layout.wc-block-checkout.is-large > div.wc-block-components-sidebar.wc-block-checkout__sidebar.wp-block-woocommerce-checkout-totals-block > div.wp-block-woocommerce-checkout-order-summary-block > div.wp-block-woocommerce-checkout-order-summary-shipping-block.wc-block-components-totals-wrapper > div > div > div > span,
#post-2462 > div > div > div:nth-child(4) > div > div > div.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block > div.wp-block-woocommerce-cart-order-summary-block > div.wp-block-woocommerce-cart-order-summary-shipping-block.wc-block-components-totals-wrapper > div > fieldset,
#shipping-option,
#post-5808 > div.entry-content > div.wp-block-woocommerce-cart.alignwide > div:nth-child(4) > div > div > div.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block > div.wp-block-woocommerce-cart-order-summary-block > div.wp-block-woocommerce-cart-order-summary-totals-block > div.wp-block-woocommerce-cart-order-summary-shipping-block.wc-block-components-totals-wrapper > div > div > div.wc-block-components-totals-item__description > span,
#post-5808 > div.entry-content > div.wp-block-woocommerce-cart.alignwide > div:nth-child(4) > div > div > div.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block > div.wp-block-woocommerce-cart-order-summary-block > div.wp-block-woocommerce-cart-order-summary-totals-block > div.wp-block-woocommerce-cart-order-summary-shipping-block.wc-block-components-totals-wrapper > div > fieldset,
#shipping_method > li:nth-child(1),
#post-12 > div > div > div.cart-collaterals > div > table > tbody > tr.woocommerce-shipping-totals.shipping > td > p,
#post-12 > div.entry-content > div > div:nth-child(4) > div > div > div.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block > div.wp-block-woocommerce-cart-order-summary-block > div.wp-block-woocommerce-cart-order-summary-totals-block > div.wp-block-woocommerce-cart-order-summary-shipping-block.wc-block-components-totals-wrapper > div > fieldset,
#post-12 > div.entry-content > div > div:nth-child(4) > div > div > div.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block > div.wp-block-woocommerce-cart-order-summary-block > div.wp-block-woocommerce-cart-order-summary-totals-block > div.wp-block-woocommerce-cart-order-summary-shipping-block.wc-block-components-totals-wrapper > div > div > div > span,
#post-1342 > header > h1,
#masthead{
    display: none;
    margin-top: 25px;
}

#input-codigo-postal {
    padding: 10px;
    width: 80%;
    border-radius: 4px;
    border: 1px solid #ccc;
    animation: aparecerDesdeBoton 1s ease-in-out;
}
@keyframes aparecerDesdeBoton {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Botón de atrás */
#boton-atras {
    cursor: pointer;
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 30px;
    height: auto;
    display: none; /* Controlado por JS para aparecer cuando sea necesario */
}



/* Aplicación de la animación al botón 'A domicilio' cuando se centra */


/* La animación de la flecha 'atrás' apareciendo */
@keyframes aparecerFlecha {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#boton-atras.visible {
    display: block;
    animation: aparecerFlecha 0.5s ease-out forwards;
}


/* Estilos para el recuadro de elección del usuario */
.eleccion-usuario {
    padding: 5px 10px;
    border-radius: 0; /* Sin bordes redondeados */
    background-color: #366121; /* Color de fondo */
    color: white; /* Color del texto */
    font-weight: bold;
    text-align: center;
    position: fixed; /* Posición fija en la pantalla */
    top: 0; /* Sin espacio desde la parte superior de la pantalla */
    left: 0; /* Sin espacio desde la parte izquierda de la pantalla */
    right: 0; /* Sin espacio desde la parte derecha de la pantalla */
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    width: 100%; /* Ocupa todo el ancho de la pantalla */
}


.woocommerce-info{
    background-color: #366121 !important;
}



.col-full {
    max-width: 95% !important;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2.617924em;
    box-sizing: content-box;
}





/* CSS */

.menu-button {
    display: none;
    position: sticky;
    top: 0;
    text-align: center;
    z-index: 1000;
}

@media screen and (min-width: 768px) {
    /* En pantallas grandes, ocultar el botón de menú y mostrar el menú completo */
    .menu-button {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    /* En pantallas pequeñas, mostrar el botón de menú y ocultar el menú completo */
    .menu-button {
        display: block;
        top:40px;
    }
}

/* CSS para móviles */

/* Asegúrate de añadir estilos para el hover y otros estados si lo deseas */
.hentry .entry-content a {
    text-decoration: none !important;
}







.item-details {
    padding: 10px;
}
.item-description {
    font-size: 0.9em;
    margin-top: 10px;
}








.site {
    overflow-x: visible !important;
}





/* CSS */
#view-order-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

#cart-icon {
    position: relative;
    margin-left: 10px;
}

#cart-icon i {
    font-size: 35px;
    color: white;
}

#cart-count {
    /* background-color: #366121; */
    color: #366121;
    border-radius: 50%;
    padding: 1px 4px;
    position: absolute;
    top: 8px;
    right: 6px;
    font-size: 19px;
    font-weight: bold;
}


/* Estilos generales para la tabla */
#product_table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
}

/* Estilos para las celdas de la tabla */
#product_table th, #product_table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 16px;
}

/* Estilos para la cabecera de la tabla */
#product_table th {
    background-color: #366121;
    color: white;
}

/* Estilos para las filas de la tabla al pasar el mouse */
#product_table tr:hover {
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
}

/* Estilos para el campo de búsqueda */
#product_search {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* Estilos para los campos de entrada en las celdas de la tabla */
.ingredients-input, .ingredientes_extra-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}


.no-focus:focus {
    outline: none;
}










.group {
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 20px;
    position: relative;
}

.group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.group input[type="text"],
.group select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.ingredients {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.ingredient {
    margin-bottom: 10px;
}

.ingredient input[type="text"] {
    width: calc(70% - 10px);
    display: inline-block;
    margin-right: 10px;
}

.ingredient input[type="text"]:last-child {
    width: calc(30% - 10px);
}



.remove-group-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #dc3232;
}

.remove-group-button:hover {
    background-color: #c02d2d;
}


.tc-extra-product-options {
visibility: visible;
}

.tm-section-label + * {
    display: none;
}


div.tc-element-inner-wrap .notas-ul > li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

div.tc-element-inner-wrap .notas-ul > li .tmcp-field {
    width: 300px; /* Ajusta esto al tamaño que desees */
    height: 50px; /* Ajusta esto al tamaño que desees */
}



/* ALERGENOS*/

.allergen-management-title {
    color: #333;
    font-size: 2em;
    margin-bottom: 1em;
}

.allergen-form {
    background-color: #fff;
    padding: 2em;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.allergen-table {
    width: 100%;
    max-width: 600px;
    margin-bottom: 1em;
}

.allergen-name-header,
.allergen-icon-header {
    color: #555;
    font-weight: bold;
}

.allergen-name-input,
.allergen-icon-input {
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.upload-image-button {
    margin-top: 0.5em;
    background-color: #007bff;
    color: #fff;
    padding: 0.5em 1em;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.upload-image-button:hover {
    background-color: #0056b3;
}

.allergen-submit-button {
    background-color: #28a745;
    color: #fff;
    padding: 0.5em 1em;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.allergen-submit-button:hover {
    background-color: #218838;
}

.allergen-list {
    list-style: none;
    padding: 0;
    margin-top: 2em;
}

.allergen-item {
    background-color: #fff;
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.allergen-name {
    font-weight: bold;
}

.allergen-icon {
    max-width: 100px;
    height: auto;
    display: block;
    margin-top: 0.5em;
}

.delete-allergen-form {
    margin-top: 1em;
}

.delete-allergen-button {
    background-color: #dc3545;
    color: #fff;
    padding: 0.5em 1em;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.delete-allergen-button:hover {
    background-color: #c82333;
}


.allergen-position {
    position: absolute;
    bottom: 0;
    right: 0;
}

.allergen-container {
    display: flex;
    PADDING-BOTTOM: 10px;
    padding-right: 10px;
}

.product-allergen-icon {
    width: 24px;
    height: 24px;
    margin-right: 2px;
}
.allergen-name {
    display: none;
    position: absolute;
    background: #fff;
    padding: 5px;
    border: 1px solid #000;
    border-radius: 5px;
}


/*checklist*/


#checklist {
    --text: #414856;
    --check: #366121;
    --disabled: #366121;
    --width: 100px;
    --height: 180px;
    --border-radius: 10px;
    background: var(--background);
    border-radius: var(--border-radius);
    position: relative;
    display: grid;
    grid-template-columns: 30px auto;
}

#checklist label {
  color: var(--text);
  position: relative;
  cursor: pointer;
  display: grid;
  align-items: center;
  width: fit-content;
  transition: color 0.3s ease;
  margin-right: 20px;
}

#checklist label::before, #checklist label::after {
  content: "";
  position: absolute;
}

#checklist label::before {
  height: 2px;
  width: 8px;
  left: -27px;
  background: var(--check);
  border-radius: 2px;
  transition: background 0.3s ease;
}

#checklist label:after {
  height: 4px;
  width: 4px;
  top: 8px;
  left: -25px;
  border-radius: 50%;
}

#checklist input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  height: 15px;
  width: 15px;
  outline: none;
  border: 0;
  margin: 0 15px 0 0;
  cursor: pointer;
  background: var(--background);
  display: grid;
  align-items: center;
  margin-right: 20px;
}

#checklist input[type="checkbox"]::before, #checklist input[type="checkbox"]::after {
  content: "";
  position: absolute;
  height: 2px;
  top: auto;
  background: var(--check);
  border-radius: 2px;
}

#checklist input[type="checkbox"]::before {
  width: 0px;
  right: 60%;
  transform-origin: right bottom;
}

#checklist input[type="checkbox"]::after {
  width: 0px;
  left: 40%;
  transform-origin: left bottom;
}

#checklist input[type="checkbox"]:checked::before {
  animation: check-01 0.4s ease forwards;
}

#checklist input[type="checkbox"]:checked::after {
  animation: check-02 0.4s ease forwards;
}

#checklist input[type="checkbox"]:checked + label {
  color: var(--disabled);
  animation: move 0.3s ease 0.1s forwards;
}

#checklist input[type="checkbox"]:checked + label::before {
  background: var(--disabled);
  animation: slice 0.4s ease forwards;
}

#checklist input[type="checkbox"]:checked + label::after {
  animation: firework 0.5s ease forwards 0.1s;
}

@keyframes move {
  50% {
    padding-left: 8px;
    padding-right: 0px;
  }

  100% {
    padding-right: 4px;
  }
}

@keyframes slice {
  60% {
    width: 100%;
    top:100%;
    left: 4px;
  }

  100% {
    width: 100%;
    top: 100%;
    left: -2px;
    padding-left: 0;
  }
}

@keyframes check-01 {
  0% {
    width: 4px;
    top: auto;
    transform: rotate(0);
  }

  50% {
    width: 0px;
    top: auto;
    transform: rotate(0);
  }

  51% {
    width: 0px;
    top: 8px;
    transform: rotate(45deg);
  }

  100% {
    width: 5px;
    top: 8px;
    transform: rotate(45deg);
  }
}

@keyframes check-02 {
  0% {
    width: 4px;
    top: auto;
    transform: rotate(0);
  }

  50% {
    width: 0px;
    top: auto;
    transform: rotate(0);
  }

  51% {
    width: 0px;
    top: 8px;
    transform: rotate(-45deg);
  }

  100% {
    width: 10px;
    top: 8px;
    transform: rotate(-45deg);
  }
}

@keyframes firework {
  0% {
    opacity: 1;
    box-shadow: 0 0 0 -2px #4f29f0, 0 0 0 -2px #4f29f0, 0 0 0 -2px #4f29f0, 0 0 0 -2px #4f29f0, 0 0 0 -2px #4f29f0, 0 0 0 -2px #4f29f0;
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    box-shadow: 0 -15px 0 0px #4f29f0, 14px -8px 0 0px #4f29f0, 14px 8px 0 0px #4f29f0, 0 15px 0 0px #4f29f0, -14px 8px 0 0px #4f29f0, -14px -8px 0 0px #4f29f0;
  }
}

/*checklist*/


/*boton radio*/
#radiolist {
  --text: #414856;
  --check: #366121;
  --disabled: #366121;
  --width: 100px;
  --height: 180px;
  --border-radius: 10px;
  background: var(--background);
  border-radius: var(--border-radius);
  position: relative;
  box-shadow: 0 10px 30px rgba(65, 72, 86, 0.05);
  display: grid;
  grid-template-columns: 30px auto;
  align-items: center;
  justify-content: center;
}

#radiolist label {
  color: var(--text);
  position: relative;
  cursor: pointer;
  display: grid;
  align-items: center;
  width: fit-content;
  transition: color 0.3s ease;
  margin-right: 20px;
}

#radiolist label::before, #radiolist label::after {
  content: "";
  position: absolute;
}

#radiolist label::before {
  height: 2px;
  width: 8px;
  left: -27px;
  background: var(--check);
  border-radius: 2px;
  transition: background 0.3s ease;
}

#radiolist label:after {
  height: 4px;
  width: 4px;
  top: 8px;
  left: -25px;
  border-radius: 50%;
}

#radiolist input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  height: 15px;
  width: 15px;
  outline: none;
  border: 0;
  margin: 0 15px 0 0;
  cursor: pointer;
  background: var(--background);
  display: grid;
  align-items: center;
  margin-right: 20px;
}

#radiolist input[type="radio"]::before, #radiolist input[type="radio"]::after {
  content: "";
  position: absolute;
  height: 2px;
  top: auto;
  background: var(--check);
  border-radius: 2px;
}

#radiolist input[type="radio"]::before {
  width: 0px;
  right: 60%;
  transform-origin: right bottom;
}

#radiolist input[type="radio"]::after {
  width: 0px;
  left: 40%;
  transform-origin: left bottom;
}

#radiolist input[type="radio"]:checked::before {
  animation: check-01 0.4s ease forwards;
}

#radiolist input[type="radio"]:checked::after {
  animation: check-02 0.4s ease forwards;
}

#radiolist input[type="radio"]:checked + label {
  color: var(--disabled);
  animation: move 0.3s ease 0.1s forwards;
}

#radiolist input[type="radio"]:checked + label::before {
  background: var(--disabled);
  animation: slice 0.4s ease forwards;
}

#radiolist input[type="radio"]:checked + label::after {
  animation: firework 0.5s ease forwards 0.1s;
}


/*boton radio*/



/* Estilos mejorados para replicar el diseño proporcionado */
.book {
    display: flex;
    flex-direction: row;
    align-items: center; /* Centra verticalmente los elementos */
    border-radius: 50px 0px 0px 50px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background: #fff;
}

.book::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px; /* Ajusta el grosor de la línea aquí */
    width: 100%;
    background: linear-gradient(to right, transparent, #366121, transparent); /* Ajusta los colores del gradiente aquí */
}

.book:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}



.cover {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}






#remove-ingredients {
  justify-content: flex-start !important;
}

#checklist {
  align-items: flex-start !important;
}

#checklist + #checklist {
  margin-top: 20px !important;
}



        .ver-carta {
            position: relative;
            font-size: 1.2em;
            padding: 0.7em 1.4em;
            background-color: #366121;
            text-decoration: none;
            border: none;
            border-radius: 0.5em;
        }


        .ver-carta:hover::before {
            width: 1.6em;
            height: 1.6em;
        }




@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*fin spinner carga*/


.sticky-header {
    position: sticky;
    top: 0px;
    background-color: #fff;
    z-index: 100;
}

#add_product_button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

#add_product_button:hover {
    background-color: #45a049;
}

#add_product_form {
    display: grid;
    gap: 10px;
}

#add_product_form label {
    display: flex;
    align-items: center;
    justify-content: center;
}

#add_product_form label i {
    margin-right: 10px;
}

#add_product_form label::before {
    content: "\f0c0";
    font-family: "Font Awesome 5 Free";
    margin-right: 10px;
}

#product_name::before {
    content: "\f007";
}

#product_short_desc::before {
    content: "\f0f6";
}

#product_price::before {
    content: "\f155";
}

#product_cat::before {
    content: "\f0c9";
}

#upload_image_button {
    background-color: #366121;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

#upload_image_button:hover {
    background-color: #8e0000;
}

#custom-modal .form-element {
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: block; /* Ocultar inicialmente todos los elementos */
}

#custom-modal .form-element h4 {
    background-color: #366121;
    color: white;
    padding: 15px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#custom-modal .form-element h4::after {
    content: '\25BC';
    font-size: 0.8em;
    transition: transform 0.3s ease;
}
.form-element {
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, margin-bottom 0.5s ease-out;
    overflow: hidden;
    opacity: 1;
    margin-bottom: 15px;
}

.form-element.hidden {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
}

#custom-modal .form-element.active h4::after {
    transform: rotate(-180deg);
}

#custom-modal .options-list {
    max-height: 0;
    overflow-y: auto; /* Cambiar a auto para permitir scroll */
    transition: max-height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

#custom-modal .form-element.active .options-list {
    max-height: 300px; /* Altura máxima antes de que aparezca el scroll */
    opacity: 1;
}

#custom-modal .option-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

#custom-modal .options-list::-webkit-scrollbar {
    width: 6px;
}

#custom-modal .options-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#custom-modal .options-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#custom-modal .options-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#custom-modal .option-item input[type="radio"],
#custom-modal .option-item input[type="checkbox"] {
    display: none;
}

#custom-modal .option-item label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 16px;
    line-height: 25px;
    display: inline-block;
    color: #333;
}

#custom-modal .option-item label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #366121;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

#custom-modal .option-item input[type="radio"] + label:before {
    border-radius: 50%;
}

#custom-modal .option-item input[type="checkbox"]:checked + label:before,
#custom-modal .option-item input[type="radio"]:checked + label:before {
    background: #366121;
}

#custom-modal .option-item input[type="checkbox"]:checked + label:after,
#custom-modal .option-item input[type="radio"]:checked + label:after {
    content: '\2713';
    position: absolute;
    left: 5px;
    top: -1px;
    color: #fff;
    font-size: 14px;
}

#custom-modal .personalization-section {
    margin-top: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#custom-modal .toggle-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 15px;
    background-color: #366121;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#custom-modal .toggle-button:hover {
    background-color: #2c4f1b;
}

#custom-modal .toggle-button i {
    transition: transform 0.3s ease;
}

#custom-modal .toggle-button.active i {
    transform: rotate(180deg);
}

#custom-modal .remove-ingredients-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

#custom-modal .remove-ingredients-container.active {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

#custom-modal .toggle-button .button-text {
    margin-right: 10px;
}

#custom-modal .remove-ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
}

#custom-modal .ingredient-option {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#custom-modal .ingredient-option.show {
    opacity: 1;
    transform: translateY(0);
}

#custom-modal .ingredient-option input[type="checkbox"] {
    display: none;
}

#custom-modal .ingredient-option label {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#custom-modal .ingredient-option label:hover {
    background-color: #f0f0f0;
}

#custom-modal .ingredient-option input[type="checkbox"]:checked + label {
    background-color: #ffebee;
    border-color: #d32f2f;
}

#custom-modal .ingredient-option input[type="checkbox"]:checked + label .ingredient-icon,
#custom-modal .ingredient-option input[type="checkbox"]:checked + label .ingredient-name {
    text-decoration: line-through;
    color: #d32f2f;
}

#custom-modal .ingredient-option label img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

#custom-modal .ingredient-text {
    font-size: 14px;
    color: #333;
}

#custom-modal .ingredient-text strong {
    color: #d32f2f;
    margin-right: 4px;
}

#custom-modal .remove-ingredients-grid::-webkit-scrollbar {
    width: 6px;
}

#custom-modal .remove-ingredients-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#custom-modal .remove-ingredients-grid::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#custom-modal .remove-ingredients-grid::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

.restaurante-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: blur(5px);
}

.menu-button {
    display: none;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8cc63f 0%, #7ab32e 50%, #6ba225 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(140, 198, 63, 0.4), 0 2px 10px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-button:hover {
    background: linear-gradient(135deg, #9ed84b 0%, #8cc63f 50%, #7ab32e 100%);
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 35px rgba(140, 198, 63, 0.5), 0 4px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.menu-button.active {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #a93226 100%);
    transform: scale(1.05) rotate(45deg);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4), 0 3px 12px rgba(0, 0, 0, 0.2);
}

.menu-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 5px auto;
    transition: all 0.3s ease;
}

.menu-button.active .menu-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-button.active .menu-icon:nth-child(2) {
    opacity: 0;
}

.menu-button.active .menu-icon:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.menu-content {
    display: grid;
    gap: 30px;
}

.categoria {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 8px 20px #36612180;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.categoria:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.categoria::before {
    content: '🍕';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 80px;
    opacity: 0.1;
    transform: rotate(15deg);
    transition: all 0.5s ease;
}

.categoria:hover::before {
    transform: rotate(30deg) scale(1.2);
}

.categoria-titulo {
    font-size: 24px;
    color: #8cc63f;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.categoria-titulo::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #8cc63f;
    margin: 10px auto 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.categoria:hover .categoria-titulo::after {
    width: 80px;
}

.menu-item {
    border-bottom: 1px dashed #ddd;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.menu-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.menu-item-content {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.menu-item-content.has-image {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.menu-item-content:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(54, 97, 33, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.image-overlay i {
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.product-image:hover .image-overlay {
    opacity: 1;
}

/* Modal de imagen */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 80vh;
    object-fit: contain;
}

.modal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #366121, #4e8c2b);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: white;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: scale(0.7) translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Animaciones para modal de alérgenos móvil */
@keyframes popIn {
    0% { 
        transform: scale(0.8); 
        opacity: 0; 
    }
    100% { 
        transform: scale(1); 
        opacity: 1; 
    }
}

@keyframes popOut {
    0% { 
        transform: scale(1); 
        opacity: 1; 
    }
    100% { 
        transform: scale(0.8); 
        opacity: 0; 
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.menu-item-text {
    flex: 1;
    min-width: 0;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 15px;
    width: 100%;
}

.product-title {
    font-size: 18px;
    color: #333;
    margin: 0;
    transition: all 0.3s ease;
    flex: 1;
    line-height: 1.3;
    word-wrap: break-word;
    min-width: 0;
    overflow-wrap: break-word;
}

.menu-item-content:hover .product-title {
    color: #8cc63f;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #8cc63f;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}

.menu-item-content:hover .product-price {
    transform: scale(1.1);
}

/* Ajuste específico para productos con imagen */
.menu-item-content.has-image .menu-item-header {
    min-width: 0;
    flex: 1;
}

.menu-item-content.has-image .product-title {
    max-width: none;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

.allergen-container {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.allergen-icon-wrapper {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.allergen-icon-wrapper:hover {
    transform: scale(1.2);
}

.product-allergen-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.menu-button {
    display: none;
    background-color: #8cc63f;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.menu-button:hover {
    background-color: #7ab32e;
}


@media (max-width: 768px) {
    .menu-button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        top: 45px;
        width: 85px;
        z-index: 1000;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item {
    animation: fadeInUp 0.5s ease forwards;
    animation-play-state: paused;
}

.menu-item.visible {
    animation-play-state: running;
}

/* Estilos para modales de producto añadido al carrito */
.swal2-popup.swal2-modal {
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

.swal2-popup .swal2-title {
    color: #366121 !important;
    font-weight: 700 !important;
}

.swal2-popup .swal2-html-container {
    margin: 0 !important;
    padding: 0 !important;
}

.swal2-popup .swal2-close {
    color: #366121 !important;
    font-size: 2rem !important;
}

.swal2-popup .swal2-close:hover {
    color: #dc3545 !important;
}

/* Animaciones para los modales */
@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.swal2-show {
    animation: popIn 0.3s ease-out !important;
}

/* Mejoras visuales para el carrito */
#cart-dropdown {
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    border-radius: 15px !important;
    padding: 15px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

#cart-dropdown::-webkit-scrollbar {
    width: 6px;
}

#cart-dropdown::-webkit-scrollbar-track {
    background-color: #f0f0f0;
    border-radius: 10px;
}

#cart-dropdown::-webkit-scrollbar-thumb {
    background-color: #366121;
    border-radius: 10px;
}

#cart-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cart-item {
    border-radius: 12px;
    margin: 10px 0;
    padding: 12px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cart-item-main {
    display: flex;
    align-items: center;
    width: 100%;
}

.cart-item-quantity, .cart-shipping > div > div, 
.cart-pickup > div > div, .cart-discount > div > div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.cart-item-quantity {
    background-color: #366121;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    min-width: 25px;
    min-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(54, 97, 33, 0.3);
    position: relative;
}

.cart-item-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
    flex: 1;
}

.cart-item-price {
    font-weight: bold;
    color: #366121;
    white-space: nowrap;
}

.cart-item .remove-item {
    position: relative;
    overflow: hidden;
    color: #dc3545;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.cart-item .remove-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: all 0.3s ease;
}

.cart-item .remove-item:hover:before {
    transform: scale(1.2);
}

.cart-item .remove-item:hover {
    color: #fff !important;
    background-color: #dc3545 !important;
}

.toggle-details {
    margin-left: auto;
    background-color: #366121;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-details:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transform: translateX(-100%) skewX(-15deg);
    transition: all 0.5s ease;
    border-radius: 20px;
}

.toggle-details:hover:before {
    transform: translateX(100%) skewX(-15deg);
}

.toggle-details:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
    transform: translateY(-2px);
}

.toggle-details i {
    margin-right: 5px;
    font-size: 10px;
}

.cart-item-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
    background-color: rgba(248, 249, 250, 0.7);
    border-radius: 8px;
    margin-top: 8px;
    padding: 0;
}

.cart-item-details.expanded {
    padding: 12px !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
    opacity: 1;
}

.cart-item-extras, .cart-item-removed {
    margin-top: 8px;
}

.extra-category, .cart-item-removed > div {
    display: flex;
    align-items: center;
    margin: 8px 0;
    padding: 6px 8px;
    background-color: rgba(54, 97, 33, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cart-item-removed > div {
    background-color: rgba(220, 53, 69, 0.05);
}

.extra-category:hover, .cart-item-removed > div:hover {
    background-color: rgba(54, 97, 33, 0.1);
}

.cart-item-removed > div:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

.extra-icon, .removed-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    padding: 0;
    position: relative;
}

.extra-icon {
    background-color: #366121;
    color: white;
}

.removed-icon {
    background-color: #dc3545;
    color: white;
}

.extra-icon i, .removed-icon i {
    font-size: 11px;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

/* Estilos para los iconos dentro de elementos de lista */
.extra-category span, .cart-item-removed > div span {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.extra-category strong, .cart-item-removed > div strong {
    font-weight: 600;
    color: #366121;
    margin-right: 4px;
}

.cart-item-removed > div strong {
    color: #dc3545;
}

/* Contenedores principales de extras y elementos removidos */
.cart-item-extras, .cart-item-removed {
    margin-top: 10px;
}

/* En dispositivos móviles ajustar tamaños */
@media (max-width: 768px) {
    .extra-icon, .removed-icon {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
        margin-right: 8px;
    }
    
    .extra-icon i, .removed-icon i {
        font-size: 10px;
    }
    
    .extra-category, .cart-item-removed > div {
        padding: 5px 7px;
        margin: 6px 0;
    }
    
    .extra-category span, .cart-item-removed > div span {
        font-size: 13px;
    }
}

/* Estilos para los elementos adicionales del carrito */
.cart-shipping, .cart-pickup, .cart-discount {
    padding: 12px 15px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    background-color: #f0f8f1;
    transition: all 0.3s ease;
}

.cart-shipping:hover, .cart-pickup:hover, .cart-discount:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cart-shipping > div, .cart-pickup > div, .cart-discount > div {
    display: flex;
    align-items: center;
}

.cart-shipping > div > div, .cart-pickup > div > div, .cart-discount > div > div {
    width: 30px;
    height: 30px;
    background-color: #366121;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.cart-shipping > div > div i, .cart-pickup > div > div i, .cart-discount > div > div i {
    color: white;
}

.checkout-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #366121;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(54, 97, 33, 0.3);
    margin-top: 15px;
    border: none;
    cursor: pointer;
}

.checkout-btn:hover {
    background-color: #264916 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(54, 97, 33, 0.4) !important;
}

.checkout-btn i {
    margin-right: 8px;
}

/* Mejorar los íconos de más/menos en los elementos de los productos */
.extra-category .fas.fa-plus, .cart-item-removed .fas.fa-minus {
    font-weight: 900;
    display: block;
    text-align: center;
    width: 100%;
    line-height: 1;
}

/* Estilos específicos para el menú infantil */
.categoria-infantil {
    background: linear-gradient(135deg, #fff8e1, #e8f5e9, #f3e5f5) !important;
    border: 3px solid #8cc63f !important;
    border-radius: 25px !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(140, 198, 63, 0.3);
}



@keyframes float-icons {
    0%, 100% { transform: rotate(15deg) translateY(0px); }
    50% { transform: rotate(25deg) translateY(-10px); }
}

.categoria-infantil:hover::before {
    animation: bounce-icons 0.6s ease-in-out infinite;
}

@keyframes bounce-icons {
    0%, 100% { transform: rotate(15deg) scale(1); }
    50% { transform: rotate(25deg) scale(1.2); }
}

.categoria-infantil .categoria-titulo {
    color: #8cc63f !important;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    font-size: 26px !important;
    position: relative;
}



@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.categoria-infantil .categoria-titulo::after {
    background: linear-gradient(90deg, #8cc63f, #a8d154, #8cc63f) !important;
    height: 4px !important;
    border-radius: 10px;
}

.menu-item-infantil {
    position: relative;
    overflow: hidden;
}



@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.7; transform: scale(1.2) rotate(180deg); }
}

.menu-item-infantil .menu-item-content {
    background: linear-gradient(135deg, #ffffff, #f8fdf8) !important;
    border: 2px solid #8cc63f;
    border-radius: 20px !important;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.menu-item-infantil .menu-item-content:hover {
    background: linear-gradient(135deg, #f8fdf8, #ffffff) !important;
    border-color: #7ab32e;
    transform: scale(0.98);
    box-shadow: inset 0 4px 12px rgba(140, 198, 63, 0.2), 0 2px 8px rgba(140, 198, 63, 0.1) !important;
    transition: all 0.2s ease;
}

.menu-item-infantil .product-title {
    color: #333 !important;
    font-weight: bold;
    position: relative;
}



@keyframes gentle-wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

.menu-item-infantil .product-price {
    background: linear-gradient(135deg, #8cc63f, #a8d154);
    color: white !important;
    padding: 6px 14px;
    border-radius: 25px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 3px 6px rgba(140, 198, 63, 0.3);
}

.menu-item-infantil .product-description {
    color: #666 !important;
    background: rgba(248, 253, 248, 0.8);
    padding: 8px 12px;
    border-radius: 12px;
    margin: 8px 0;
    border-left: 3px solid #8cc63f;
    font-size: 14px;
}

.menu-item-infantil .allergen-container {
    background: rgba(248, 253, 248, 0.6);
    padding: 8px;
    border-radius: 12px;
    border: 1px solid #8cc63f;
}

.menu-item-infantil .allergen-icon-wrapper {
    background: linear-gradient(135deg, #8cc63f, #a8d154);
    border-radius: 50%;
    padding: 2px;
    transition: transform 0.3s ease;
}

.menu-item-infantil .allergen-icon-wrapper:hover {
    transform: scale(1.1);
}

/* Efectos adicionales para hacer el menú más atractivo para niños */
.categoria-infantil:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(140, 198, 63, 0.4);
    transition: all 0.3s ease;
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
    .categoria-infantil .categoria-titulo {
        font-size: 24px !important;
    }
    
    .menu-item-infantil .product-title::before {
        font-size: 14px;
    }
    
    .categoria-infantil::before {
        font-size: 40px;
        top: -10px;
        right: -10px;
    }
    
    .menu-item-content.has-image {
        flex-direction: row;
        gap: 10px;
        align-items: flex-start;
    }
    
    .product-image {
        width: 60px;
        height: 60px;
        align-self: center;
    }
    
    .image-overlay i {
        font-size: 18px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-title {
        font-size: 16px;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .menu-item-content.has-image .menu-item-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .product-image {
        width: 50px;
        height: 50px;
    }
    
    .image-overlay i {
        font-size: 16px;
    }
    
    .modal-header {
        padding: 10px 12px;
    }
    
    .modal-title {
        font-size: 14px;
    }
    
    .modal-close {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}

@media (min-width: 769px) {
    .product-image {
        width: 90px;
        height: 90px;
    }
    
    .menu-item-content.has-image {
        gap: 20px;
    }
}

/* Etiqueta "Exclusivo Online" para menú infantil */
.menu-item-infantil .menu-item-content::after {
    content: 'Exclusivo Online';
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
    z-index: 2;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.menu-item-infantil .menu-item-content:hover::after {
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .menu-item-infantil .menu-item-content::after {
        font-size: 9px;
        padding: 3px 6px;
        bottom: 8px;
        right: 8px;
    }
}

/* ============================================== */
/* ESTILOS PARA MODAL DE BIENVENIDA DE MESA */
/* ============================================== */

/* Estilos personalizados para el modal de bienvenida de mesa */
.swal2-popup.modal-bienvenida-mesa {
    background: linear-gradient(135deg, #ffffff 0%, #f8fdf8 50%, #ffffff 100%) !important;
    border: 3px solid #366121 !important;
    border-radius: 25px !important;
    box-shadow: 0 20px 60px rgba(54, 97, 33, 0.3), 
                0 0 0 1px rgba(54, 97, 33, 0.1), 
                inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    position: relative;
    overflow: hidden;
    animation: modalBounceIn 0.6s ease-out !important;
}

/* Efecto de brillo sutil en el fondo del modal */
.swal2-popup.modal-bienvenida-mesa::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(54, 97, 33, 0.02) 0%, transparent 70%);
    animation: gentleRotate 20s linear infinite;
    z-index: -1;
}

/* Animación de entrada del modal */
@keyframes modalBounceIn {
    0% {
        transform: scale(0.3) rotate(-10deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.05) rotate(2deg);
        opacity: 0.8;
    }
    70% {
        transform: scale(0.98) rotate(-1deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Animación suave de rotación para el fondo */
@keyframes gentleRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Título del modal */
.swal2-popup.modal-bienvenida-mesa .swal2-title {
    color: #366121 !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 20px !important;
    position: relative;
}

/* Efecto de subrayado animado en el título */
.swal2-popup.modal-bienvenida-mesa .swal2-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #366121, #d4a853, #366121);
    border-radius: 2px;
    animation: expandUnderline 1s ease-out 0.5s forwards;
}

@keyframes expandUnderline {
    0% { width: 0; }
    100% { width: 80px; }
}

/* Contenedor del contenido HTML */
.swal2-popup.modal-bienvenida-mesa .swal2-html-container {
    margin: 0 !important;
    padding: 10px !important;
    line-height: 1.5 !important;
}

/* Logo principal */
.swal2-popup.modal-bienvenida-mesa img[alt="Logo Hamburguesería Carpantita"] {
    animation: gentleBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(54, 97, 33, 0.2));
    transition: all 0.3s ease;
    border: 3px solid rgba(54, 97, 33, 0.1);
    margin: 0 auto !important;
    display: block !important;
}

.swal2-popup.modal-bienvenida-mesa img[alt="Logo Hamburguesería Carpantita"]:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(54, 97, 33, 0.3));
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Nombre de la mesa con efecto especial */
.swal2-popup.modal-bienvenida-mesa h3 {
    color: #366121 !important;
    font-weight: 800 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1) !important;
    position: relative;
    background: linear-gradient(135deg, #366121, #4e8c2b, #366121) !important;
    background-size: 200% 200% !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: shimmerText 3s ease-in-out infinite;
}

@keyframes shimmerText {
    0%, 100% { 
        background-position: -100% 0;
        filter: brightness(1);
    }
    50% { 
        background-position: 100% 0;
        filter: brightness(1.2);
    }
}

/* Caja de información con efectos */
.swal2-popup.modal-bienvenida-mesa div[style*="background: #f8f9fa"] {
    background: linear-gradient(135deg, #f8fdf8, #ffffff) !important;
    border: 2px solid #366121 !important;
    box-shadow: inset 0 2px 10px rgba(54, 97, 33, 0.1), 
                0 4px 15px rgba(54, 97, 33, 0.1) !important;
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo sutil en la caja de información */
.swal2-popup.modal-bienvenida-mesa div[style*="background: #f8f9fa"]::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
    animation: shimmerBox 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes shimmerBox {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Texto dentro de la caja de información */
.swal2-popup.modal-bienvenida-mesa div[style*="background: #f8f9fa"] p {
    position: relative;
    z-index: 2;
    margin: 0 !important;
}

/* Icono de información */
.swal2-popup.modal-bienvenida-mesa .fas.fa-info-circle {
    animation: pulseInfo 2.5s ease-in-out infinite;
    margin-right: 8px !important;
}

@keyframes pulseInfo {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Botón de confirmación - VERSION SIMPLIFICADA */
.swal2-popup.modal-bienvenida-mesa .swal2-confirm {
    background: linear-gradient(135deg, #366121, #4e8c2b) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 6px 20px rgba(54, 97, 33, 0.3) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* Efecto hover del botón - SIN elementos problemáticos */
.swal2-popup.modal-bienvenida-mesa .swal2-confirm:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(54, 97, 33, 0.4) !important;
    background: linear-gradient(135deg, #4e8c2b, #366121) !important;
}

/* Botón de cerrar (X) */
.swal2-popup.modal-bienvenida-mesa .swal2-close {
    color: #366121 !important;
    font-size: 24px !important;
    background: rgba(54, 97, 33, 0.1) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}

.swal2-popup.modal-bienvenida-mesa .swal2-close:hover {
    background: #366121 !important;
    color: white !important;
    border-color: #366121 !important;
    transform: scale(1.1) rotate(90deg) !important;
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
    .swal2-popup.modal-bienvenida-mesa {
        width: 90% !important;
        margin: 0 auto !important;
        border-radius: 20px !important;
        border-width: 2px !important;
    }
    
    .swal2-popup.modal-bienvenida-mesa .swal2-title {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }
    
    .swal2-popup.modal-bienvenida-mesa img[alt="Logo Hamburguesería Carpantita"] {
        width: 100px !important;
    }
    
    .swal2-popup.modal-bienvenida-mesa h3 {
        font-size: 1.3em !important;
    }
    
    .swal2-popup.modal-bienvenida-mesa .swal2-confirm {
        padding: 10px 25px !important;
        font-size: 14px !important;
    }
    
    .swal2-popup.modal-bienvenida-mesa .swal2-close {
        width: 35px !important;
        height: 35px !important;
        font-size: 20px !important;
    }
}

/* Animación de entrada específica para móviles */
@media (max-width: 480px) {
    .swal2-popup.modal-bienvenida-mesa {
        width: 95% !important;
        margin: 0 auto !important;
    }
    
    .swal2-popup.modal-bienvenida-mesa .swal2-title {
        font-size: 18px !important;
    }
    
    .swal2-popup.modal-bienvenida-mesa img[alt="Logo Hamburguesería Carpantita"] {
        width: 80px !important;
    }
}
/* Estilos para menús configurables en el carrito */
.cart-item-menu {
    margin-top: 10px;
}

.cart-item-menu .menu-category {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 8px;
    background-color: #f0f8f0;
    border-radius: 5px;
}

.cart-item-menu .menu-icon {
    color: #366121;
    margin-right: 10px;
    font-size: 16px;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-menu .menu-category strong {
    color: #366121;
}

.cart-item-menu ul {
    list-style-type: disc;
    padding-left: 20px;
}

.cart-item-menu li {
    color: #333;
    font-size: 14px;
}

