/* Estilos generales */

    body {
      font-family: 'Montserrat', sans-serif;
      background-color: #f2f2f2;
      color: #333;
    }

    .movil {
      display: flex;
      justify-content: center;
      gap: 20px;
      padding: 10px;
      /* opcional, fondo oscuro */
    }

    .movil a {
      text-decoration: none;
      color: white;
      font-size: 20px;
      /* tamaño por defecto (desktop) */
      transition: color 0.3s;
      font-size: 20px;
      /* Escritorio */

    }

    .movil a:hover {
      color: #ffcc00;
    }

    header {
      background-color: #222;
      color: white;
      text-align: center;
      padding: 20px 0;

    }

    header h1 {
      font-size: 40px;
      margin: 0;
    }

    .navbar {
      display: flex;
      justify-content: center;
      background-color: #000000;
      padding: 10px 0;
    }

    .navbar a {
      color: #f1c40f;
      text-decoration: none;
      padding: 10px 20px;
      font-size: 18px;
      margin: 0 15px;
      transition: background-color 0.3s ease;
    }

    .navbar a:hover {
      background-color: #f1c40f;
      color: #333;
      border-radius: 5px;
    }

    .container {
      display: flex;
      justify-content: space-around;
      margin: 40px;
      flex-wrap: wrap;
    }

    .product {
      background-color: white;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      text-align: center;
      padding: 20px;
      transition: transform 0.3s ease;
    }

    .product:hover {
      transform: scale(1.02);
    }

    .product img {
      width: 100%;
      height: 100%;
      border-radius: 8px;
    }

    .product h3 {
      color: #333;
      font-size: 22px;
      margin: 15px 0;
    }

    .product p {
      color: #777;
      font-size: 16px;
      margin: 10px 0;
    }

    .product .price {
      font-size: 20px;
      font-weight: bold;
      color: #27ae60;
      margin-bottom: 20px;
    }

    .product button {
      padding: 10px 20px;
      background-color: #f1c40f;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .product button:hover {
      background-color: #d4ac0d;
    }

    footer {
      background-color: #333;
      color: white;
      text-align: center;
      padding: 20px 0;
      margin-top: 40px;
    }

    footer a {
      color: #f1c40f;
      text-decoration: none;
    }

    /* Secciones adicionales */
    section {
      margin: 40px;
      padding: 20px;
      background-color: white;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    #cart {
      position: fixed;
      top: 20px;
      right: 20px;
      background-color: #333;
      color: white;
      padding: 15px;
      border-radius: 8px;
      cursor: pointer;
    }

    #cart span {
      font-size: 18px;
    }

    /* Estilo formulario de contacto */
    form {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    input,
    textarea {
      padding: 15px;
      font-size: 16px;
      border: 2px solid #222;
      border-radius: 5px;
      background-color: #ffffff;
      color: #000000;
    }

    input:focus,
    textarea:focus {
      border-color: #f1c40f;
    }

    textarea {
      resize: vertical;
      min-height: 100px;
    }

    button[type="submit"] {
      background-color: #f1c40f;
      color: white;
      border: none;
      padding: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;

    }

    button[type="submit"]:hover {
      background-color: #d4ac0d;
    }

    .search-bar {
      display: flex;
      margin-left: none;
    }

    .search-bar input {
      padding: 10px 6px;
      border-radius: 6px;
      border: 1px solid #ccc;
      margin-right: 10px;
      outline: none;
    }

    .search-bar button {
      background-color: #333;
      color: white;
      border: none;
      padding: none;
      padding: 6px 12px;
      border-radius: 20px;
      cursor: pointer;
      display: flex;
    }

    .search-bar button:hover {
      background-color: #555;
    }

    .icono-carrito {
      position: relative;
      font-size: 24px;
      cursor: pointer;
      color: #333;
    }

    .icono-carrito span {
      position: absolute;
      top: -8px;
      right: -10px;
      background-color: red;
      color: white;
      border-radius: 50%;
      padding: 2px 6px;
      font-size: 12px;
    }

    .productos {
      display: flex;
      gap: 20px;
      margin-top: 20px;
    }

    .producto {
      border: 1px solid #ccc;
      padding: 10px;
      width: 200px;
      text-align: center;
    }

    button {
      background-color: #28a745;
      color: white;
      padding: 5px 10px;
      border: none;
      cursor: pointer;
    }

    .carrito {
      display: none;
      /* Oculto por defecto */
      margin-top: 20px;
      border-top: 2px solid #333;
      padding-top: 10px;
    }

    #lista-carrito {
      list-style: none;
      padding: 0;
    }

    .productos {
      display: flex;
      gap: 20px;
      padding: 100px 20px 20px;
    }


    /* Icono de carrito fijo en la parte superior derecha */
    .contenedor-carrito {
      position: fixed;
      top: 20px;
      right: 20px;
      font-size: 52px;
      /* Hazlo más grande */
      color: #333;
      cursor: pointer;
      z-index: 1000;
    }

    #contador-carrito {
      position: absolute;
      top: -8px;
      right: -0px;
      background: #f1c40f;
      color: white;
      font-size: 20px;
      padding: 6px 6px;
      border-radius: 6px;
    }

    /* Panel lateral del carrito */
    .panel-carrito {
      position: fixed;
      right: -300px;
      top: 0;
      width: 300px;
      height: 100%;
      background: #f8f8f8;
      box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
      padding: 20px;
      transition: right 0.3s ease;
      z-index: 999;
    }

    .panel-carrito.visible {
      right: 0;
    }

    #lista-carrito {
      list-style: none;
      padding-left: 0;
    }

    .btn-eliminar {
      background-color: transparent;
      border: none;
      color: #ffffff;
      background-color: #f1c40f;
      font-size: 15px;
      cursor: pointer;
      margin-left: 10px;
      border-radius: 6px;
      top: 0px;
      right: -5px;
      align-self: flex-start;
      margin-top: 10px;

    }

    .total-box {
      border: 6px;
      color: #fdfdfd;
      padding: 2px 7px;
      border-radius: 8px;
      background-color: #333;
      /* Verde muy claro */
      width: fit-content;
      margin-top: 10px;
    }

    .contact-container {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: center;
      border-radius: 20px;
      padding: 20px;
      align-items: flex-start; /* Align to top, no ugly stretching */
    }

    .contact-info,
    .contact-form {
      border: 2px solid #f1c40f;
      border-radius: 20px;
      padding: 30px;
      flex: 1 1 400px;
      box-sizing: border-box;
    }

    .contact-info h2,
    .contact-form h2 {
      text-align: center;
      color: #222;
      border-bottom: 3px solid #f1c40f;
      display: inline-block;
      padding-bottom: 5px;
      margin-bottom: 20px;
    }

    .icon-box {
      display: flex;
      align-items: center;
      margin: 15px 0;
    }

    .icon-box img {
      width: 40px;
      height: 40px;
      margin-right: 15px;
    }

    .form-subtitle {
      font-size: 0.9rem;
      color: #666;
      margin-bottom: 20px;
      text-align: center;
    }

    form {
      display: flex;
      flex-direction: column;
    }

    .form-row {
      display: flex;
      gap: 15px;
      margin-bottom: 15px;
    }

    .button2 {
      background-color: red;
      color: #fff;
      padding: 10px 20px;
      border: none;
      width: 100px;
      border-radius: 5px;
      cursor: pointer;
      align-self: flex-start;
      margin-top: 10px;
    }

    .filtro button {
      margin: 5px;
      padding: 8px 16px;
      border: none;
      background-color: #e1e1e1;
      border-radius: 6px;
      cursor: pointer;
    }

    .producto {
      border: 3px solid #ffd900;
      background: white;
      border-radius: 8px;
      padding: 10px;
      margin: 10px;
      max-width: 260px;
      display: inline-block;
      vertical-align: top;
    }

    .producto img {
      width: 150px;
      height: 200px;
      object-fit: cover;
      border-radius: 6px;
    }

    .btn-volver {
      display: inline-block;
      background-color: #f1c40f;
      color: white;
      padding: 10px 18px;
      border: none;
      border-radius: 6px;
      text-decoration: none;
      font-weight: bold;
      margin-top: 20px;
      transition: background-color 0.3s ease;
    }

    .btn-volver:hover {
      background-color: #ffffff;
      color: #f1c40f
    }

    .btn-agregado {
      display: inline-block;
      background-color: #f1c40f;
      color: white;
      padding: 10px 18px;
      border: none;
      border-radius: 6px;
      text-decoration: none;
      font-weight: bold;
      margin-top: 20px;
      transition: background-color 0.3s ease;
    }

    .btn-agregado:hover {
      background-color: #ffffff;
      color: #f1c40f
    }

    .btn-detalles {
      display: inline-block;
      background-color: #ffffff;
      color: #f1c40f;
      padding: 8px 14px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease, transform 0.2s ease;
      margin-top: 10px;
      border: 2px solid #ffd900;
      text-align: center;
    }

    .btn-detalles:hover {
      background-color: #ffffff;
      transform: scale(1.05);
    }

    .productos-temporada {
      text-align: center;
      margin: 30px auto;
    }

    .filtro-productos {
      text-align: center;
      margin: 30px auto;
    }

    .filtro-productos h2 {
      margin-bottom: 15px;
      font-size: 1.6em;
    }

    .filtro-botones {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
    }

    .filtro-botones button {
      background-color: #f1c40f;
      border: none;
      color: #ffffff;
      padding: 10px 16px;
      border-radius: 6px;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .filtro-botones button:hover {
      background-color: #d4ac0d;
      transform: scale(1.05);
    }

    #filtros button.activo {
      background-color: #ffffff;
      border: 2px solid #f1c40f;
      color: #f1c40f;
    }

    #detalle-producto {
      max-width: 800px;
      margin: 40px auto;
      padding: 20px;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    }

    #detalle-producto img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      display: block;
      margin: 0 auto 20px auto;
    }

    #detalle-producto h2,
    #detalle-producto p {
      text-align: center;
    }

    .boton-flotante-carrito {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #f1c40f;
      color: #000;
      padding: 12px 20px;
      border-radius: 50px;
      font-size: 18px;
      font-weight: bold;
      text-decoration: none;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      transition: transform 0.2s;
      z-index: 999;
    }

    .boton-flotante-carrito:hover {
      transform: scale(1.05);
    }

    .btn-agregar {
      background-color: #f1c40f;
      border: none;
      color: rgb(255, 255, 255);
      padding: 10px 16px;
      margin-top: 8px;
      cursor: pointer;
      font-weight: bold;
      border-radius: 5px;
      display: inline-block;
    }

    .btn-agregar:hover {
      background-color: #d4ac0d;
    }

    .btn-comprar {
      background-color: #f1c40f;
      color: #ffffff;
      padding: 12px 20px;
      border: none;
      border-radius: 8px;
      font-size: 18px;
      cursor: pointer;
      margin-top: 20px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .btn-comprar:hover {
      background-color: #d4ac0d;
    }

    .btn-entendido {
      background-color: #f1c40f;
      color: #000;
      padding: 10px 18px;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      margin-bottom: 15px;
      cursor: pointer;
    }

    .btn-entendido:hover {
      background-color: #d4ac0d;
    }

    #mensajeFlotante {
      position: fixed;
      top: 20px;
      right: 20px;
      background-color: #2ecc71;
      color: white;
      padding: 16px 20px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s ease;
      z-index: 1000;
    }

    #mensajeFlotante.visible {
      opacity: 1;
      pointer-events: auto;
    }

    .modal-oculto {
      display: none;
      position: fixed;
      z-index: 9999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    .modal-contenido {
      background-color: #fff;
      padding: 30px;
      border-radius: 12px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      font-size: 18px;
      max-width: 90%;
      width: 350px;
    }

    .btn-cerrar {
      margin-top: 20px;
      background-color: #f1c40f;
      border: none;
      padding: 10px 20px;
      font-weight: bold;
      border-radius: 6px;
      cursor: pointer;
    }

    .btn-cerrar:hover {
      background-color: #d4ac0d;
    }


    .custom-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

    .custom-modal-content {
      background: white;
      padding: 25px;
      border-radius: 12px;
      text-align: center;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
      max-width: 300px;
    }

    .custom-modal-content button {
      margin-top: 15px;
      background-color: #f1c40f;
      border: none;
      padding: 10px 20px;
      border-radius: 8px;
      font-weight: bold;
      cursor: pointer;
    }

    .custom-modal-content button:hover {
      background-color: #d4ac0d;
    }

    .toast-notificacion {
      position: fixed;
      bottom: auto;
      right: 20px;
      background: #ffffff;
      border-left: 5px solid #2ecc71;
      border-radius: 10px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
      padding: 10px 15px;
      max-width: 300px;
      z-index: 9999;
      animation: slideIn 0.3s ease-out;
      display: flex;
      align-items: center;
      gap: 10px;
      top: auto;
      margin-bottom: 10px;

    }

    .toast-contenido {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      justify-content: space-between;
    }

    .toast-contenido p {
      margin: 8px;
      font-size: 14px;
    }


    .toast-notificacion button {
      background: transparent;
      border: none;
      font-size: 16px;
      cursor: pointer;
      color: #999;
    }

    .toast-notificacion button:hover {
      color: #e74c3c;
    }

    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .toast-notificacion:nth-of-type(1) {
      bottom: 20px;
    }

    .toast-notificacion:nth-of-type(2) {
      bottom: 100px;
    }

    .toast-notificacion:nth-of-type(3) {
      bottom: 180px;
    }

    .toast-notificacion:nth-of-type(4) {
      bottom: 260px;
    }

    .nosotros-modern {
      background-color: #111;
      padding: 100px 20px;
      color: #fff;
      font-family: 'Montserrat', sans-serif;
    }

    .container-nosotros {
      max-width: 1200px;
      margin: auto;
      text-align: center;
    }

    .titulo-nosotros {
      font-size: 36px;
      color: #d4ac0d;
      margin-bottom: 10px;
    }

    .descripcion-nosotros {
      font-size: 18px;
      color: #ccc;
      margin-bottom: 50px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .grid-nosotros {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
    }

    .caja-nosotros {
      background-color: #222;
      color: #fff;
      padding: 30px 20px;
      border-radius: 12px;
      width: 280px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      opacity: 0;
      transform: translateY(50px);
      animation: fadeInUp 0.8s forwards;
    }

    .caja-nosotros:nth-child(2) {
      animation-delay: 0.2s;
    }

    .caja-nosotros:nth-child(3) {
      animation-delay: 0.4s;
    }

    .caja-nosotros:hover {
      transform: translateY(-5px) scale(1.03);
      box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
    }

    .caja-nosotros h3 {
      color: #d4ac0d;
      margin-top: 15px;
      margin-bottom: 10px;
      font-size: 20px;
    }

    .caja-nosotros p {
      font-size: 14px;
      color: #ddd;
    }

    .icono {
      font-size: 32px;
    }

    /* Animación */
    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Valores*/
    .valores-ch {
      background-color: #111;
      padding: 20px 20px;
      color: #fff;
    }

    .container-valores {
      max-width: 1200px;
      margin: auto;
      text-align: center;
    }

    .titulo-valores {
      font-size: 32px;
      color: #d4ac0d;
      margin-bottom: 10px;
    }

    .descripcion-valores {
      font-size: 16px;
      color: #ccc;
      margin-bottom: 50px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    .grid-valores {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 30px;
    }

    .valor-box {
      background-color: #222;
      padding: 30px 20px;
      border-radius: 10px;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      opacity: 0;
      transform: translateY(40px);
    }

    .valor-box h3 {
      margin: 10px 0;
      font-size: 20px;
      color: #d4ac0d;
    }

    .valor-box p {
      font-size: 14px;
      color: #ccc;
    }

    .valor-box:hover {
      transform: translateY(-5px) scale(1.03);
      box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
    }

    .icono {
      font-size: 30px;
    }

    /* Aparece al hacer scroll */
    .scroll-fade.show {
      opacity: 1;
      transform: translateY(0);
      transition: all 0.8s ease;
    }

    .footer {
      background-color: #1a1a1a;
      color: #ffffff;
      padding: 40px 20px 20px 20px;
      font-family: 'Montserrat', sans-serif;
    }

    .footer-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-column {
      flex: 1 1 300px;
      margin: 20px;
    }

    .footer-column h3 {
      margin-bottom: 15px;
      font-size: 18px;
      color: #ffffff;
    }

    .footer-column p,
    .footer-column ul,
    .footer-column li {
      margin: 5px 0;
      font-size: 14px;
      color: #cccccc;
    }

    .footer-column ul {
      list-style: none;
      padding: 0;
    }

    .footer-column ul li a {
      color: #cccccc;
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer-column ul li a:hover {
      color: #ffffff;
    }

    .social-icons a {
      display: inline-block;
      margin-right: 10px;
    }

    .social-icons img {
      width: 24px;
      height: 24px;
      filter: brightness(0) invert(1);
      transition: filter 0.3s;
    }

    .social-icons a:hover img {
      filter: brightness(0.8) invert(1);
    }

    .footer-bottom {
      text-align: center;
      margin-top: 30px;
      border-top: 1px solid #333333;
      padding-top: 20px;
      font-size: 13px;
      color: #999999;
    }

    .footer-bottom a {
      color: #999999;
      text-decoration: none;
    }

    .footer-bottom a:hover {
      color: #ffffff;
    }

    .logo-container {
      display: flex;
      align-items: center;
      margin-left: 20px;
    }

    .logo-img {
      height: 40px;
      width: auto;
    }

    .navbar {
      background-color: #000;
      padding: 10px 20px;
    }

    .navbar-contenido {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .logo-img {
      height: 45px;
      width: auto;
      object-fit: contain;
      border-radius: 0;
      background-color: transparent;
      /* 🔄 Esto elimina el fondo amarillo */
      padding: 0;
    }


    .nav-links {
      display: flex;
      gap: 30px;
    }

    .nav-links a {
      color: #f1c40f;
      text-decoration: none;
      font-weight: 500;
    }

    .search-container {
      display: flex;
      align-items: center;
    }

    .search-bar {
      display: flex;
      gap: 5px;
    }

    .search-bar input {
      padding: 6px 10px;
      border-radius: 5px;
      border: 1px solid #ccc;
      font-size: 14px;
    }

    .search-bar button {
      background-color: #f1c40f;
      border: none;
      padding: 6px 12px;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
      color: rgb(255, 255, 255);
      font-size: 14px;
    }

    .portada-delgada {
      width: 100%;
      height: 300px;
      /* Puedes ajustar esta altura: 200px, 250px, etc. */
      max-width: 100%;
      /* permite que use todo el ancho disponible */
      padding: 0 40px;
      /* controla los espacios laterales (ajustable) */
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      overflow: hidden;
    }

    .portada-delgada-img {
      width: 100%;
      height: auto;
      object-fit: cover;
      display: block;
      margin: 0 auto;
      border-radius: 0 !important;
      /* ← así fuerzas que no tenga esquinas redondeadas */
      border: none;
    }


    .boton-flotante-carrito {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #f1c40f;
      padding: 10px 14px;
      border-radius: 50px;
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      color: black;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      z-index: 1000;
    }

    .icono-carrito {
      width: 28px;
      height: 28px;
      object-fit: contain;
    }

    .icono-img {
      width: 120px;
      height: 120px;
      margin-bottom: 10px;
      object-fit: contain;
    }

    .producto img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      border-radius: 8px;
    }

    .footer {
      background-color: #111;
      color: white;
      padding: 40px 20px;
      font-family: 'Montserrat', sans-serif;
      text-align: center;
    }

    .footer-row {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 60px;
      flex-wrap: wrap;
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-col {
      flex: 1 1 200px;
      min-width: 200px;
    }

    .footer-logo-horizontal {
      max-width: 300px;
      height: auto;
      margin-bottom: 25px;
    }

    .footer-col h3 {
      color: #f1c40f;
      margin-bottom: 10px;
    }

    .footer-col ul {
      list-style: none;
      padding: 0;
    }

    .footer-col ul li {
      margin-bottom: 6px;
    }

    .footer-col a {
      color: white;
      text-decoration: none;
    }

    .footer-col a:hover {
      color: #f1c40f;
    }

    .social-icons {
      display: flex;
      gap: 12px;
      justify-content: center;
    }

    .social-icons img {
      width: 28px;
      height: 28px;
      transition: transform 0.3s;
    }

    .social-icons img:hover {
      transform: scale(1.2);
    }

    .footer-bottom {
      border-top: 1px solid #333;
      margin-top: 30px;
      padding-top: 15px;
      font-size: 14px;
      color: #aaa;
    }

    #contador-deseos {
      position: absolute;
      top: 4px;
      right: 6px;
      background-color: #fa314a;
      color: white;
      font-size: 12px;
      padding: 2px 5px;
      border-radius: 50%;
    }

    /* Botón flotante de Lista de Deseos */
    .wishlist-button {
      position: fixed;
      bottom: 160px;
      right: 20px;
      background-color: #ffffff;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1001;
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .wishlist-button:hover {
      transform: scale(1.1);
    }

    .wishlist-button img {
      width: 28px;
      height: 28px;
    }

/* --- Estilos para el menú hamburguesa y responsividad --- */

.menu-hamburguesa {
  display: none; /* Oculto en desktop */
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
}

.menu-hamburguesa-icono {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
}

.menu-hamburguesa .barra {
  display: block;
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* Animación de la hamburguesa a X */
.menu-hamburguesa.active .menu-hamburguesa-icono .barra:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-hamburguesa.active .menu-hamburguesa-icono .barra:nth-child(2) {
  opacity: 0;
}

.menu-hamburguesa.active .menu-hamburguesa-icono .barra:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


@media (max-width: 768px) {
  .menu-hamburguesa {
    display: flex; /* Visible en tablet y móvil */
  }

  .movil {
    display: none; /* Ocultar menú por defecto */
    position: absolute;
    top: 65px; /* Altura de la navbar */
    left: 0;
    width: 100%;
    background-color: #000;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 1000;
  }

  .movil.active {
    display: flex; /* Mostrar menú al hacer clic */
  }

  .movil a {
    font-size: 18px;
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }
  
  .navbar-contenido {
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
  }
  
  .logo-container {
      margin-left: 0;
  }
}

@media (max-width: 480px) {
    .movil a {
        font-size: 16px;
    }
}

/* --- Estilos para filtros de categorías responsivos --- */
@media (max-width: 768px) {
  .filtro-botones {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Para un desplazamiento suave en iOS */
    scrollbar-width: none; /* Para Firefox */
    -ms-overflow-style: none;  /* Para Internet Explorer y Edge */
    padding: 10px;
    justify-content: flex-start;
  }

  .filtro-botones::-webkit-scrollbar {
    display: none; /* Para Chrome, Safari y Opera */
  }

  .filtro-botones button {
    flex-shrink: 0; /* Evita que los botones se encojan */
  }
  
  #buscador, #ordenar {
    margin-left: 10px;
    flex-shrink: 0;
  }
}


/* --- Estilos responsivos para la lista de productos --- */

@media (max-width: 768px) {
  #carrito-lista {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 20px;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none;  /* For Internet Explorer and Edge */
  }

  #carrito-lista::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
  }

  #carrito-lista .producto {
    flex: 0 0 200px; /* Do not grow, do not shrink, base width of 200px */
  }
}

@media (max-width: 480px) {
  .product {
    flex-basis: 160px; /* Smaller product cards on mobile */
  }
}

/* --- Estilos responsivos para el título principal --- */
@media (max-width: 768px) {
  header h1 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 24px;
  }
}

/* --- Estilos responsivos para el modal de carrito --- */
@media (max-width: 768px) {
  .modal-carrito {
    width: 90vw;
    max-width: 300px;
    padding: 20px;
  }

  .modal-carrito h3 {
    font-size: 18px;
  }

  .cantidad-control {
    gap: 15px;
  }

  .btn-sumar,
  .btn-restar {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .modal-opciones {
    gap: 10px;
  }

  .btn-confirmar,
  .btn-cancelar {
    padding: 8px 14px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .modal-carrito {
    padding: 15px;
  }

  .modal-carrito h3 {
    font-size: 16px;
  }

  .cantidad-control {
    gap: 10px;
  }

  .btn-sumar,
  .btn-restar {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .btn-confirmar,
  .btn-cancelar {
    padding: 6px 12px;
    font-size: 13px;
  }
}
.filtro-container {
  position: relative;
}

@media (max-width: 768px) {
  .filtro-container::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to left, white, rgba(255, 255, 255, 0));
    pointer-events: none;
  }
}