/* Estilos generales */

body {
    font-family: Arial, sans-serif;
  }


  .header {
    display: grid;
    position: relative;
    padding: 20px;
  }

  .header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.644);
    z-index: 1;
  }

  .header img {
    width: 100px;
    margin: 0 auto;
    z-index: 2;
  }

  .section_cat {
    position: relative;
    z-index: 100;
  }

  .fixed {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
  }

 .menu_cat {
  margin: 0 auto;
  max-width: 1080px;
  overflow-x: auto;
 }

  .categorias-productos {
    display: flex;
    margin: 0;
    list-style: none;
    white-space: nowrap;
  }

  .categorias-productos .cat-item {
    font-size: 20px;
    margin-right: 3px;
    padding: 15px 30px;

  }

  .categorias-productos .cat-item:hover {
    background-color: rgba(0, 0, 0, 0.123);
    cursor: pointer;
  }

  .cat-item:last-child {
    margin-right: none;
  }

  .categorias-productos a {
    text-decoration: none;
  }
  
  .content-box {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px;
  }

  .category-section {
    clear: both;
  }

  .product {
    background-color: #ffffffe6!important;
    border-radius: 10px;
    box-shadow: 4px 5px 20px 0px #00000066;
  }

  .carta-body {
    display: grid;
    padding: 0  15px;
    min-height: 250px;
  }

  .product img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
  }

  .carta-body h3 {
    text-align: center;
    font-size: 28px;
    line-height: 1;
    text-align: center;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .carta-body .desc-body {
    font-size: 14px;
  }

  .carta-body p {
    margin: auto;
    margin-bottom: 30px;
  }

  .carta-body .price {
    display: flex;
    margin-bottom: 0;
    color: #ae2e0f;
    font-size: 14px;
    font-weight: 600;
  }

  .carta-body .price span:first-child {
    margin-right: 5px;
  }  

  .carta-body .qty_widget {
    display: flex;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .qty_widget .product-quantity {
    width: 30px;
    font-size: 18px;
    text-align: center;
    padding: 5px 0;
    margin-left: 5px;
    margin-right: 5px;
    border: 1px solid #cdcdcd;
    border-radius: 2px;
  }

  .carta-body .qty_label {
    margin-bottom: 5px;
    margin-top: 30px;
  }

  .qty_widget .btn-qty {
    width: 35px;
    line-height: 0;
    font-size: 24px;
    margin-top: 0;
    padding: 0 10px;
    border: none;
    background-color: transparent;
  }

  .qty_widget .btn-qty:hover {
    background-color: #0000001a;
    cursor: pointer;
  }

  .carta-body a {
    text-decoration: none;
  }

  .carta-body .order-button {
    opacity: 0.8;
    margin-bottom: 20px!important;
    margin: auto;
    font-size: 20px;
    padding: 5px 50px;
    border-radius: 10px;
    
  }

  .carta-body .order-button:hover {
    opacity: 1;
  }

  .clearfix {
    clear: both;
  }

  .footer {
    position: relative;
    display: flex;
    padding: 20px 50px;
    justify-content: center;
  }

  .footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.29);
    z-index: 1;
  }

  .footer a {
    color: #fff;
    margin-right: 10px;
    z-index: 2;
  }

  .footer a:last-child {
    margin-right: 0;
  }


  
  /* Estilos para dispositivos móviles */
  
  @media screen and (max-width: 540px) {
    .product {
      width: 100%;
      margin-bottom: 20px;
    }
  
    .carta-body h3 {
      font-size: 22px;
      margin-top: 15px;
      font-weight: 700;
    }
  
    .carta-body .desc-body {
      line-height: 1.3;
      color: #4f4f4f;
    }

    .carta-body .carta-body{
      font-size: 16px;
    }

    .carta-body .price {
      margin-bottom: 10px;
      color: #3d1212;
    }

    .carta-body .qty_label {
      margin-bottom: 0;
      font-size: 14px;
    }
  
    .order-button {
      font-size: 18px;
      padding: 10px 20px;
    }

    .carta-body {
      padding: 0  10px;
    }
  }
  
  /* Estilos para tabletas */
  
  @media screen and (min-width: 541px) and (max-width: 768px) {
    .product_list {
      display: flex;
    flex-wrap: wrap;
    }
    
    .content-box {
      padding: 40px;
    }
  
    .product {
      width: 45%;
      margin-bottom: 40px;
      margin-right: 5%;
    }

    .product h3 {
      font-size: 18px;
    }
  
    .product p {
      font-size: 14px;
      line-height: 1.3;
    }
  
    .order-button {
      font-size: 16px;
      padding: 15px 30px;
    }

    .category-section .product:nth-child(2n) {
      margin-right: 0; /* Margen derecho cero para cada tercer elemento */
    }
  }
  
  /* Estilos para tabletas en modo horizontal */
  
  @media screen and (min-width: 769px) and (max-width: 1024px) {
    .product_list {
      display: flex;
    flex-wrap: wrap;
    }
    
    .content-box {
      padding: 60px;
    }
  
    .product {
      width: 45%;
      margin-bottom: 60px;
      margin-right: 5%;
    }

    .product > * {
      flex-basis: calc(45% - 10px); /* Ajusta el valor según tus necesidades */
    }
  
    .product h2 {
      font-size: 28px;
    }
  
    .product p {
      font-size: 20px;
    }
  
    .order-button {
      font-size: 22px;
      padding: 20px 40px;
    }

    .category-section .product:nth-child(2n) {
      margin-right: 0; /* Margen derecho cero para cada tercer elemento */
    }
  }
  
  /* Estilos para monitores de escritorio */
  
  @media screen and (min-width: 1025px) {
    .product_list {
      display: flex;
    flex-wrap: wrap;
    }

    .content-box {
      padding: 80px;
    }
  
    .product {
      margin-bottom: 80px;
      width: 30%;
      margin-right: 5%;
    }

    .product > * {
      flex-basis: calc(30% - 10px); /* Ajusta el valor según tus necesidades */
    }

    .carta-head {
      position: relative;
      width: 100%; /* Ancho deseado del contenedor */
      height: 220px; /* Alto deseado del contenedor */
    }

    .carta-head img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .product p {
      font-size: 16px;
    }

    .category-section .product:nth-child(3n) {
      margin-right: 0; /* Margen derecho cero para cada tercer elemento */
    }
  

  }
  