*,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Montserrat";
  scroll-behavior: smooth;
}
.cart_icon_container {
  display: flex;
  align-items: center;
}
.cart_icon {
  font-size: 28px;
  color: white;
  cursor: pointer;
}
.cart_badge {
  color: white;
  font-size: 15px;
}
.h1_global {
  color: #c5a253;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}
.h2_global {
  color: white;
  font-size: 25px;
}

/* Header */
.header_container {
  width: 100%;
  height: 75px;
  display: flex;
  justify-content: space-between;
  place-items: center;
  padding: 0 40px;
  position: fixed;
  z-index: 100;
  background-color: rgb(169, 31, 31);
}
.navigation {
  width: 100%;
  display: flex;
  justify-content: center;
}
.ul_nav {
  width: 50%;
  display: flex;
  justify-content: space-between;
}
.btn_nav {
  color: #c5a253;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}
.btn_nav:hover {
  color: bisque;
  transform: scale(1.2);
}

/* Main */
.main_container {
  width: 100%;
  height: auto;
  display: flex;
  padding: 50px 0;
  flex-direction: column;
  background-color: black;
}

/*Info ViEmma*/

.logo_nav
{
  width: 300px;
  height: auto;
}
/**/
.section_products {
  display: grid;
  place-items: center;
  padding: 20px 0;
}

.products_article {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  width: 90%;
  max-width: 1200px;
}

.card {
  display: grid;
  grid-template-rows: 210px 50px 50px 1fr;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0px 4px 12px rgba(141, 141, 141, 0.18);
}

.product {
  width: 100%;
  height: auto;
}

.h3_global {
  color: white;
  margin-top: 20px;
  font-size: 18px;
}
.info_product {
  text-align: center;
  color: white;
  padding: 8px;
}

.price {
  font-size: 20px;
  font-weight: bold;
  color: orange;
}

.btn_add_cart {
  background-color: orange;
  color: black;
  border: none;
  border-radius: 6px;
  padding: 10px;
  margin: 20px;
  font-weight: 600;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}
.btn_add_cart:hover {
  transform: scale(1.1);
}

.container_footer {
  width: 100%;
  height: auto;
  display: grid;
  place-items: center;
  background-color: rgb(197, 197, 197);
}
.copyright {
  width: 100%;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: #888;
  background-color: rgb(49, 49, 49);
}
.spam {
  color: #888;
  text-decoration: none;
}
.spam:hover {
  color: #c5a253;
}
/*Modal*/
.modal {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 5000;
  top: 0;
  left: 0;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.5);
}

.modal_content {
  width: 60%;
  height: 60%;
  border-radius: 20px;
  display: flex;
  color: white;
  background-color: #3b3b3b;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  position: relative;
}

.details {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: none;
  outline: none;
  margin-top: 5px;
  background-color: #2b2b2b;
  color: white;
  font-size: 14px;
}

.details::placeholder {
  color: #aaa;
}


/* NUGGETS Y PAPAS*/
.form_salsas
{
  display: flex;
  flex-direction: column;
}
.salsas_container
{
  display: flex;
  gap: 15px;
}
.radio_salsa
{
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 13px;
  color: white;
  
}
/**/
.modal_close {
  position: absolute;
  top: 8px;
  right: 15px;
  font-size: 35px;
  color: #c5a253;
  cursor: pointer;
  background: none;
  border: none;
}
.show {
  display: flex;
}

.modal_carrito_content {
  width: 50%;
  height: 70%;
  background-color: #1f1f1f;
  color: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  border: 1px solid #c5a253;
}

.modal_carrito_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
}
.modal_close {
  background: transparent;
  border: none;
  font-size: 30px;
  color: #c5a253;
  cursor: pointer;
  transition: transform 0.2s;
}

.modal_close:hover {
  transform: scale(1.2);
}

.modal_carrito_body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  padding-right: 5px;
}

.carrito_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 10px;
  gap: 10px;
  border-left: 4px solid #c5a253;
  transition: transform 0.2s ease;
}

.carrito_item:hover {
  transform: scale(1.02);
}

.carrito_item img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: contain;
}

.carrito_item_info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 14px;
}

.carrito_item_info h4 {
  color: #c5a253;
  font-size: 16px;
  margin-bottom: 3px;
}

.carrito_eliminar {
  background: none;
  border: none;
  font-size: 24px;
  color: #c5a253;
  cursor: pointer;
}

.modal_carrito_footer {
  border-top: 1px solid #333;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal_pago_form {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.modal_pago_form p {
  margin: 0;
  font-weight: 500;
  color: #c5a253;
}

.modal_radio_label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  cursor: pointer;
}

.modal_radio_label input[type="radio"] {
  accent-color: #c5a253;
  width: 16px;
  height: 16px;
}

.modal_total {
  font-size: 18px;
  font-weight: 600;
  text-align: right;
}

.btn_finalizar {
  background-color: #c5a253;
  border: none;
  padding: 12px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.btn_finalizar:hover {
  background-color: #d3b86a;
  transform: scale(1.05);
}

.modal_item_info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}
.btn_quitar_producto {
  background: none;
  border: none;
  cursor: pointer;
  color: red;
}
.toastMsg {
  margin: 10px;
  position: fixed;
  top: 0;
  right: 0;
  min-width: 220px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.3s ease;
  transform: translateY(-10px);
  z-index: 9999;
}

.toastMsg.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.toastMsg.success {
  background-color: #27ae60;
}

.toastMsg.error {
  background-color: #e74c3c;
}

/* Responsive */
@media screen and (max-width: 900px) {
  .products_article {
    grid-template-columns: repeat(2, 1fr);
  }
    .card
  {
    grid-template-rows: 300px 50px 50px 1fr;
  }
}
@media screen and (max-width: 768px) {
  .h1_global
  {
    font-size: 16px;
  }
  .price
  {
    font-size: 18px;
  }
  .card
  {
    grid-template-rows: 210px 50px 50px 1fr;
    box-shadow: 0px 4px 12px rgb(59, 59, 59);
  }
  .modal_item_info {
    font-size: 10px;
  }
  /* Header Movile*/
  .header_container {
    padding: 0 10px;
  }
  .navigation {
    display: block;
  }
  .ul_nav {
    width: 100%;
    gap: 10px;
    justify-content: center;
  }
  .btn_nav {
    font-size: 10px;
  }
  /* Modal */
  .modal_content {
    flex-direction: column;
    width: 90%;
    height: auto;
    max-height: 90vh;
    overflow: auto;
  }
  .modal_img 
  {
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
  }

  .modal_title {
    font-size: 22px;
  }

  .modal_label {
    font-size: 16px;
  }

  .details {
    font-size: 15px;
  }

  .modal_close {
    font-size: 28px;
    top: 5px;
    right: 10px;
  }
  .modal_carrito_content {
    width: 90%;
    max-height: 90%;
    border-radius: 15px;
  }

  .modal_item img {
    width: 50px;
    height: 50px;
  }

  .btn_finalizar {
    width: 100%;
  }
  /* Icono carrito */
  .cart_icon_container {
    position: relative;
    cursor: pointer;
  }

  .cart_icon {
    font-size: 28px;
    color: white;
  }

  .cart_badge {
    position: absolute;
    top: -5px;
    right: -8px;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 5px;
  }
}

@media screen and (max-width: 520px) {
  .products_article {
    width: 90%;
    gap: 10px;
    grid-template-columns: repeat(2,1fr);
  }
  .info_product
  {
    font-size: 10px;
  }
    .card
  {
    
    grid-template-rows: 150px 50px 50px 1fr;
  }
  .radio_salsa
  {
    font-size: 8px;
  }
  .btn_add_cart
  {
    font-size: 13px;
    padding: 5px;
  }
  .logo_nav {
    width: 150px;
  }
  .h2_global {
    font-size: 18px;
  }
  .h3_global
  {
    font-size: 13px;
  }
  .schedule {
    font-size: 14px;
  }
  .shipping {
    height: auto;
    flex-direction: column;
    gap: 20px;
  }
  .money {
    font-size: 14px;
  }
}