@media (max-width: 600px) {
  .carrito-item-info {
    padding: 0.5em 0 0.7em 0;
  }
  .carrito-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    margin-bottom: 0.4em;
  }
  .carrito-item-precio,
  .carrito-item-cantidad,
  .carrito-item-subtotal {
    font-size: 1.05em;
  }
  .carrito-item-cantidad input[type="number"] {
    width: 48px;
    margin-left: 0.4em;
    text-align: center;
  }
  .carrito-item-row button.carrito-eliminar {
    margin-left: 1em;
    padding: 0.3em 1.1em;
    font-size: 0.98em;
  }
}
@media (max-width: 700px) {
  .wave-container {
    width: 200vw !important;
    height: 520px !important;
    transform: translate(-50%, 320px) scale(1.7) !important;
  }
  .wave-bg,
  .text-svg {
    width: 200vw !important;
    height: 520px !important;
  }
  .wave-text {
    font-size: 48px !important;
  }

  .wave-container {
    height: 420px !important;
  }
  .wave-bg,
  .text-svg {
    height: 420px !important;
  }
  .wave-text {
    font-size: 36.4px !important;
  }
}
@media (max-width: 700px) {
  .form_dscto_footer {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.7em;
  }
  .form_dscto_footer input {
    width: 100%;
    font-size: 13px;
    padding: 12px;
  }
  .form_dscto_footer button {
    width: 100%;
    font-size: 15px;
    padding: 12px;
    margin-top: 8px;
  }
}
html, body{
  overflow-x: hidden;
}
@media (max-width: 700px) {
  .catalogo-container {
    flex-direction: column !important;
    padding: 1.2rem 0.5rem !important;
    gap: 1.2rem !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .catalogo-filtros {
    width: 92vw !important;
    max-width: 420px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 auto 1.2rem auto !important;
    border-radius: 12px !important;
    padding: 1.2rem 1.2rem 1.2rem 1.2rem !important;
    background: rgb(255, 236, 205);
    box-shadow: 0 2px 12px rgba(208,175,122,0.07);
  }
  .calltoaction2 img{
    margin-bottom: -100px!important;
    padding-top: 20px;
  }
}
/* Menú hamburguesa y menú lateral para móviles */
.hamburger {
  display: none;
  position: fixed;
  top: calc(var(--modo-prueba-offset, 0px) + 12px);
  left: 18px;
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px #0002;
  border: none;
  z-index: 1001;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #2d6a4f;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.side-menu {
  position: fixed;
  top: var(--modo-prueba-offset, 0px);
  left: 0;
  width: 240px;
  height: calc(100vh - var(--modo-prueba-offset, 0px));
  background: #fff;
  box-shadow: 2px 0 16px #0002;
  transform: translateX(-100%);
  transition: transform 0.3s;
  z-index: 1000;
  padding: 2em 1.2em 1em 1.2em;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.side-menu.open {
  transform: translateX(0);
}
.side-menu a {
  color: #2d6a4f;
  text-decoration: none;
  font-size: 1.1em;
  margin-bottom: 0.7em;
}
.side-menu .close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2em;
  color: #b94a4a;
  cursor: pointer;
  margin-bottom: 1em;
}
h1.titulo_1 {
  font-family: 'OrchideaPro', sans-serif !important;
}
.productos{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    padding-inline: 10%;
    padding-top: 60px;
  }
@font-face {
  font-family: 'OrchideaPro';
  src: url('../fonts/OrchideaPro-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'OrchideaPro';
  src: url('../fonts/OrchideaPro-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
}
body{
    margin: 0;
    padding: 0;
    font-family:"Montserrat", sans-serif;
    overflow-x: hidden;
}

header{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}

header img{
    width: 230px;
}

.navbar{
    display: flex;
    background-color: rgb(208, 175, 122);
    width: 100%;
    height: max-content;
    margin-top: 20px;
    margin-bottom: 20px;
}

@media (min-width: 901px) {
  .navbar.navbar-fixed {
    position: fixed;
    top: var(--modo-prueba-offset, 0px);
    left: 0;
    right: 0;
    margin-top: 0;
    z-index: 1100;
  }
}

.navbar_menu{
    display: flex;
    justify-content: center;
    width: 100%;
}

.navbar_content{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between;
    background-color: rgb(208, 175, 122);
    width: 100%;
    align-items: center;
    gap: 5%;
    padding-block: 0px;
    padding-inline: 10%;
}

  .navbar-left-slot {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .navbar-fixed-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-2px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .navbar-fixed-logo img {
    display: block;
    width: min(200px, 100%);
    max-width: 200px;
    height: auto;
    object-fit: contain;
  }

  @media (min-width: 901px) {
    .navbar.navbar-fixed .navbar-fixed-logo {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    }
  }

.navbar ul{
    display: flex;
    list-style: none;
    padding: 0;
    gap: 20px;
}

.navbar ul li a{
    font-size: 12px;
    text-decoration: none;
    color:rgb(81, 31, 7);
}

.buttons_navbar{
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: flex-end;
    align-items: flex-start;
}

.buttons_navbar button{
    background-color: rgb(208, 175, 122);
    color: rgb(255, 236, 205);
    border-width: 0;
    cursor: pointer;
    /* color: rgb(84, 104, 18); */
}

.login{
    font-size: 10px;
}

.login i{
    font-size: 22px;
}
.carrito i{ 
    font-size: 20px;
}

/* SLIDER */

.contenedor_slider{
    background-position: center;
    background-size: cover;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 30px;
    padding-left: 40px;
}

.content_s1{
    background-color: rgba(255, 255, 255, 0.85);
    padding: 30px;
    height: max-content;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: center;
    text-align: center;
}

.content_s1 h1{
    font-family: 'Merriweather', serif;
    font-size: 1.4rem;
    margin: 0;
    color: rgb(84, 104, 18);
    font-weight: 300;
}  

.content_s1 p{
    font-size: 14px;
    color:rgb(75, 75, 75);
}

.contenedor_slider a{
    text-decoration: none;
}

#s1{
    background-image: url(/assets/img/slide-1.webp);
}

#s2{
    background-image: url(/assets/img/slide-2.webp);
}

#s3{
    background-image: url(/assets/img/slide-3.webp);
}

.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: auto;
  }
  
  .slider-track {
    display: flex;
    transition: transform 0.8s ease; /* ⏱ Duración de transición */
    will-change: transform;
  }
  
  .slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  /* .slide img {
    width: 100%;
    display: block;
  }
   */
  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0); /* transparente */
    border: none;
    color: white;
    font-size: 3rem;
    font-weight: 200;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
  }
  .slider-btn:hover {
    background: rgba(0, 0, 0, 0);
  }
  .slider-btn.left { left: 10px; }
  .slider-btn.right { right: 10px; }

  .btn_slide{
    background-color: rgba(255, 255, 255, 0);
    border-width: 1px;
    border-bottom-style: solid;
    border-color:rgb(84, 104, 18);
    padding: 7px;
    font-size: 11px;
    cursor: pointer;
  }
  .btn_slide:hover{
    transform: scale(0.95);
  }

  /* Variante configurable: texto del slider alineado a la izquierda y sin fondo en tarjeta */
  body.slider-estilo-izquierda .contenedor_slider {
    position: relative;
    overflow: hidden;
    justify-content: flex-start;
    padding-left: clamp(20px, 7vw, 110px);
  }

  body.slider-estilo-izquierda .contenedor_slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 18% 26%, rgba(255, 226, 180, 0.24), transparent 44%),
      linear-gradient(92deg, rgba(34, 25, 16, 0.68) 0%, rgba(34, 25, 16, 0.36) 34%, rgba(34, 25, 16, 0.06) 68%, rgba(34, 25, 16, 0) 100%);
    pointer-events: none;
  }

  body.slider-estilo-izquierda .content_s1 {
    position: relative;
    z-index: 1;
    background-color: transparent;
    box-shadow: none;
    padding: 26px 24px 22px 20px;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
    max-width: 600px;
  }

  body.slider-estilo-izquierda .content_s1::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 238, 203, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06));
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: -1;
  }


  body.slider-estilo-izquierda .content_s1 h1,
  body.slider-estilo-izquierda .content_s1 p,
  body.slider-estilo-izquierda .content_s1 .btn_slide,
  body.slider-estilo-izquierda .content_s1 .btn_slide a {
    color: rgb(255, 246, 229);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.62);
  }

  body.slider-estilo-izquierda .content_s1 h1 {
    font-size: clamp(1.55rem, 2.3vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: 0.2px;
  }

  body.slider-estilo-izquierda .content_s1 .btn_slide {
    border-color: rgba(255, 236, 205, 0.85);
    background: linear-gradient(90deg, rgba(255, 236, 205, 0.24), rgba(255, 236, 205, 0.08));
    font-size: 11px;
    letter-spacing: 1.1px;
    padding: 9px 14px;
  }

  body.slider-estilo-izquierda .content_s1 .btn_slide:hover {
    background: linear-gradient(90deg, rgba(255, 236, 205, 0.42), rgba(255, 236, 205, 0.15));
    transform: translateY(-1px);
  }

  body.slider-estilo-izquierda .content_s1 p {
    font-size: 15px;
    line-height: 1.5;
    color: rgb(246, 239, 225);
    max-width: 50ch;
  }


  .calltoaction{
    display: flex;
    padding-inline: 10%;
    align-items: center;
    gap: 40px;
    background-color: rgb(208, 175, 122);
    margin-top: 20px;
    padding-block: 10px;
    justify-content: center;
  }
  .calltoaction b{
    color: rgb(170,81,35);
  }

  .calltoaction h2{
    font-family: 'Montserrat', sans-serif;
    color: rgb(255, 236, 205);
    font-weight: 400;
    font-size: 16px;
  }


   #form_descuento,
   .form_dscto_footer {
    display: flex;
   }
  #form_descuento input,
  .form_dscto_footer input{
    padding: 10px;
    border: none;
    width: 220px;
    height: 22px;
    font-size: 11px;
    background-color: rgb(255, 236, 205);
  }

  #form_descuento button,
  .form_dscto_footer button{
    padding: 10px;
    background-color: rgb(170,81,35);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: 50px;
    font-weight: 400;
  }

  /* Eliminado: la versión desktop de .productos, para evitar conflicto en mobile. */

  .img_producto{
    width: 100%;
    height: 360px;
    background-position: center;
    background-size: cover;
    cursor: pointer;
  }

  .producto{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .img_producto:hover{
    transform: scale(1.05);
    transition-duration: 0.5s;
  }
  .producto h3{
    font-size: 14px;
    margin: 0px 0 0px 0;
    padding-top: 10px;
    font-family: 'Merriweather', serif;
    font-weight: 400;
    color: rgb(84, 104, 18);
  }
  .producto p{
    font-size: 14px;
    margin: 0px 0 0px 0;
    color:rgb(75, 75, 75);
  }

  #img_prod_1{
    background-image: url(/assets/img/producto-1.webp);
  }

  #img_prod_2{
    background-image: url(/assets/img/producto-2.webp);
  }

  #img_prod_3{
    background-image: url(/assets/img/producto-3.webp);
  }

  #img_prod_4{
    background-image: url(/assets/img/producto-4.webp);
  }

  .calltoaction2{
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    padding-inline: 10%;
    margin-top: 20px;
    padding-top: 40px;
    align-items: center;
  }

  .calltoaction2 img{
    width: 100%;
    object-fit: cover;
  }

  .calltoaction2_content{
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .calltoaction2_content h1{
    font-family: 'OrchideaPro', sans-serif !important;
    font-size: 1.4rem;
    margin: 0;
    color: rgb(84, 104, 18);
    font-weight: 300;
  }

  .calltoaction2_content p{
    font-size: 14px;
    color:rgb(75, 75, 75);
    margin: 10px 0;
  }
  .calltoaction2_content button{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0);
    color: rgb(84, 104, 18);
    border: 1px solid rgb(84, 104, 18);
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    margin-top: 15px;
    width: max-content;
  }
  .calltoaction2_content button:hover{
    transform: scale(0.95);
  }
  .frase{
    margin-top: 60px;
    width: 100%;
    height: 400px;
    background-image: url(/assets/img/frase.webp);
    background-position: center;
    background-size: cover;
    position: relative;
  }

  footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer-top{
    margin-top: 40px;
    background-color: rgb(208, 175, 122);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding-inline: 10%;
    padding-block: 40px;
    color: rgb(255, 236, 205);
    align-items:top;
    width: 80%;
    padding-inline: 10%;
  }

    
  footer img{
    width: 200px;
    }

    footer h2{
        font-size: 12px;
        font-weight: 400;
    }
    footer ul{
        list-style: none;
        /* padding: 0;
        margin: 0; */
        display: flex;
        flex-direction: column;
        gap: 10px;
    } 

    footer ul li{
      font-size: 12px;
    }

    .footer-bottom{
        background-color: rgb(142, 135, 48);
        width: 100%;
        color: rgba(255, 255, 255, 0.845);
        text-align: center;
        font-size: 12px;
    }

    .social{
        display: flex;
        gap: 20px;
        font-size: 18px;
        margin-top: 20px;
    }


/* --- PRODUCTO ÚNICO --- */

.producto-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1100px;
    margin: 3rem auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(208,175,122,0.07);
    padding: 2.5rem;
}

.producto-galeria {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.producto-foto-principal img {
    width: 340px;
    height: 340px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(208,175,122,0.08);
    border: 2px solid rgb(208, 175, 122);
    background: #fff;
}

.producto-fotos-galeria {
    display: flex;
    gap: 1rem;
}

.producto-fotos-galeria img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1.5px solid rgb(208, 175, 122);
    cursor: pointer;
    transition: border 0.2s;
    background: #fff;
}

.producto-fotos-galeria img:hover {
    border: 2px solid rgb(81, 31, 7);
}

.producto-info {
    flex: 2 1 400px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.producto-titulo {
    font-family: 'Merriweather', serif;
    font-size: 2.2rem;
    color: rgb(81, 31, 7);
    margin-bottom: 0.5rem;
}

.producto-descripcion {
    font-size: 1.1rem;
    color: rgb(75, 75, 75);
    margin-bottom: 1rem;
}

.producto-caracteristicas {
    list-style: none;
    margin-bottom: 1rem;
    padding-left: 0;
}

.producto-caracteristicas li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgb(81, 31, 7);
}

.producto-caracteristicas i {
    color: rgb(208, 175, 122);
    font-size: 1.2rem;
}

/* .producto-precio {
    font-size: 8px;
    color: rgb(81, 31, 7);
    font-weight: 300;
    margin-bottom: 1rem;
} */

.producto-compra_form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
}

.producto-compra-form input[type="number"] {
  margin-bottom: 18px;
}

.producto-compra_form label {
    font-weight: 500;
    color: rgb(81, 31, 7);
}

.producto-compra_form select,
.producto-compra_form input[type="number"] {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1.5px solid rgb(208, 175, 122);
    font-size: 1rem;
    background: #fff;
    color: rgb(81, 31, 7);
    margin-right: 1rem;
    width: 120px;
}

.producto-compra_form input[type="number"]::-webkit-inner-spin-button,
.producto-compra_form input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-comprar-ahora {
    background: #fff;
    color: rgb(81, 31, 7);
    border: 2px solid rgb(81, 31, 7);
    border-radius: 8px;
    padding: 0.7rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(208,175,122,0.08);
}

.btn-comprar-ahora:hover {
    background: rgb(208, 175, 122);
    color: rgb(81, 31, 7);
    border: 2px solid rgb(81, 31, 7);
    transform: translateY(-2px) scale(1.03);
}

/* FRASE */
.frase {
  position: relative;
  background-image: url(/assets/img/frase.webp);
  background-position: center;
  width: 100vw;
  height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.wave-container {
  position: relative;
  left: 50%;
  bottom: 0;
  width: 120vw; /* Más ancho que la ventana para desbordar */
  height: 300px;
  pointer-events: none;
  transform: translate(-50%, 280px); /* Centra el desborde */
  z-index: 500!important;
  margin-top: -280px;
  overflow: visible; /* Permite que el SVG sobresalga si es necesario */
}

.wave-bg,
.text-svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 120vw; /* Igual que el contenedor */
  height: 100%;
  z-index: 600 !important;
  pointer-events: none;
  overflow: visible;
}

.wave-text {
  position: relative;
  font-size: 26px;
  fill: rgb(255, 236, 205);
  font-family: 'Merriweather', serif;
  letter-spacing: 2px;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  .navbar, .navbar_content, .navbar_menu, .buttons_navbar {
    display: none !important;
  }
  header {
    align-items: flex-start;
    padding-top: 10px;
  }
  header img {
    margin: 0 auto;
    display: block;
    width: 180px;
  }
    .producto-container {
        flex-direction: column;
        padding: 1.2rem;
        gap: 2rem;
    }
    .producto-galeria, .producto-info {
        align-items: stretch;
    }
    .producto-foto-principal img {
        width: 100%;
        max-width: 340px;
        height: auto;
    }
    .footer-top img{
        width: 150px;
    }
    .carrito-container {
    flex-direction: column !important;
    gap: 1.5rem !important;
    padding: 0.5rem !important;
    min-height: auto !important;
    align-items: stretch !important;
    max-width: 100vw !important;
    /* overflow-x: hidden !important;  Eliminado para permitir sticky */
  }
  .carrito-resumen{
    border-radius: 0 !important;
  }
  .carrito-productos-col,
  .carrito-resumen-col {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
    position: static !important;
    padding: 1rem !important;
    box-sizing: border-box !important;
  }
  .carrito-resumen-col {
    margin-top: 1.5rem !important;
    box-shadow: none !important;
    margin-inline: 5% !important;
    max-width: 90% !important;
    /* border-radius: 12px !important; */
  }
  .carrito-tabla th, .carrito-tabla td {
    font-size: 0.95rem !important;
    padding: 0.5rem 0.2rem !important;
  }
  .carrito-img {
    width: 48px !important;
    height: 48px !important;
  }
  #form-pedido {
    max-width: 100% !important;
    padding: 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 40px !important;
    /* border-radius: 12px !important; */
  }
  .carrito-container{
    flex-direction: column-reverse !important;
  }
}
@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    padding-inline: 0 !important;
    padding-block: 18px !important;
    gap: 0.7em !important;
    text-align: center !important;
    justify-items: center !important;
    align-items: center !important;
  }
  /* .footer-top > div {
    margin-bottom: 0.7em;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  } */
  .footer-top img {
    width: 180px !important;
    /* margin: 0 auto 1em auto !important; */
    display: block;
    padding-top: 20px;
    padding-bottom: 10px;
  }
  .footer-top ul {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 auto 0 auto !important;
  }
  .footer-top ul li {
    font-size: 13px !important;
    text-align: center !important;
  }
  .footer-bottom {
    font-size: 0.95em !important;
    padding: 0px 0 !important;
    text-align: center !important;
  }
  .footer-top .social {
    justify-content: center !important;
    gap: 16px !important;
    margin-top: 0px !important;
    font-size: 20px !important;
  }
  .footer-top h2 {
    font-size: 1em !important;
    margin-bottom: 0.7em !important;
  }
  .footer-top .form_dscto_footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0.7em !important;
  }
  .footer-top .form_dscto_footer input {
    width: 100% !important;
    font-size: 13px !important;
    padding: 12px !important;
  }
  .footer-top .form_dscto_footer button {
    width: 100% !important;
    font-size: 15px !important;
    padding: 12px !important;
    margin-top: 8px !important;
  }
  .footer-bottom p{
    font-size: 0.8em;
  }
  .social{
    padding-top: 20px;
  }

}

/* Modal Popup */
.popup-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(81, 30, 7, 0.542);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.popup-modal.hide {
  opacity: 0;
  pointer-events: none;
}

.popup-content {
  background: #fff;
  /* border-radius: 18px; */
  box-shadow: 0 8px 40px rgba(170,81,35,0.18);
  padding: 0;
  max-width: 720px;
  width: 95vw;
  min-height: 420px;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  animation: popupIn 0.5s;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
}

@keyframes popupIn {
  from { transform: translateY(40px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: rgb(170,81,35);
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2;
}

.popup-close:hover {
  color: rgb(208, 175, 122);
}

.popup-img-side {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
  background: #f8f5f2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.popup-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popup-form-side {
  flex: 1 1 340px;
  padding: 2.2rem 2rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  justify-content: center;
}

.popup-form-side h2 {
  font-family: 'Merriweather', serif;
  color: rgb(84, 104, 18);
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 0.2rem;
  text-align: center;
}

.popup-form-side h2 b {
  color: rgb(170,81,35);
  font-weight: 900;
}

.popup-form-side p {
  color: rgb(81,31,7);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.popup-form input[type="text"],
.popup-form input[type="email"],
.popup-form input[type="tel"] {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.7rem 1rem;
  border: 1.5px solid rgb(208, 175, 122);
  /* border-radius: 7px; */
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: rgb(81,31,7);
  outline: none;
  transition: border 0.2s;
  display: block;
}

.popup-form input:focus {
  border-color: rgb(84, 104, 18);
}

.popup-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.popup-flag {
  font-size: 1.2rem;
  /* margin-left: 0.5rem; */
  border-width: 1.5px;
  border-style: solid;
  border-color: rgb(208, 175, 122);
  padding: 0.54rem;
  background: #fff;
}

.popup-phone input[type="tel"] {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
}

.contenedor_button{
  display: flex;
  justify-content: center;
}

.popup-btn {
  background-color: rgba(208, 175, 122, 0);
  color: rgb(84, 104, 18);
  border-width: 0;
  padding: 0.7rem 0;
  font-size: 1.1rem;
  font-weight: 300;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, color 0.2s, border 0.2s, transform 0.1s;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(84, 104, 18);
  width: max-content;
  padding: 0.3rem 1.2rem;
}

.popup-btn:hover {
  transform: scale(0.98);
  background-color: rgb(84, 104, 18);
  color: white;
}

.popup-form-side small {
  color: #7d4a4a;
  font-size: 0.7rem;
  margin-top: 0.7rem;
  display: block;
  line-height: 1.4;
  text-align: center;
}

.popup-form-side small a {
  color: rgb(170,81,35);
  text-decoration: underline;
}

@media (max-width: 700px) {
  .popup-content {
    flex-direction: column;
    min-width: 0;
    max-width: 98vw;
    max-height: 98vh;
    overflow-y: auto;
  }
  .popup-img-side {
    max-width: 100vw;
    min-height: 180px;
    height: 180px;
  }
  .popup-form-side {
    padding: 1.5rem 1rem 1rem 1rem;
  }
  .content_s1{
    background-color: rgba(255, 255, 255, 0.85);
    padding: 30px;
    height: max-content;
    max-width: 300px!important;
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: center;
    text-align: center;
}
.contenedor_slider{
    background-position: center;
    background-size: cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 30px;
    padding-left: 0px!important;
}
.slider{
  margin-top: 20px;
}
.calltoaction{
  flex-direction: column;
  gap: 0px;
  padding-block: 20px;
}
  .productos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100vw;
    box-sizing: border-box;
    max-width: 100vw;
  }
  .img_producto{
    width: 40% !important;
    max-width: 175px !important;
    height: 180px !important;
    margin: 0 auto !important;
    display: block !important;
    object-fit: cover !important;
    background-position: center !important;
    background-size: cover !important;
  }
.calltoaction2{
  grid-template-columns: 1fr;
  gap: 20px;
  padding-inline: 5%;
}

body.slider-estilo-izquierda .contenedor_slider {
  justify-content: center;
  padding-left: 0 !important;
  padding-inline: 16px !important;
}

body.slider-estilo-izquierda .contenedor_slider::before {
  background: linear-gradient(90deg, rgba(34, 25, 16, 0.55) 0%, rgba(34, 25, 16, 0.24) 50%, rgba(34, 25, 16, 0) 100%);
}

body.slider-estilo-izquierda .content_s1 {
  width: calc(100% - 72px);
  max-width: 532px !important;
  padding: 16px 14px 14px 12px;
  margin-inline: auto;
  box-sizing: border-box;
}

}
@media (max-width: 700px) {
  .productos .img_producto {
    width: 100% !important;
    max-width: 175px !important;
    height: 180px !important;
    margin: 0 auto !important;
    display: block !important;
    object-fit: cover !important;
    background-position: center !important;
    background-size: cover !important;
  }
  .catalogo-grid{
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
    row-gap: 8px !important;
    column-gap: 8px !important;
    justify-items: center !important;
  }
  .producto-card{
    max-height: 220px !important;
    max-width: 160px !important;
  }
  .footer-top{
    margin-top: 0 !important;
  }
  .carrito-container {
    padding: 0.2rem !important;
    gap: 1rem !important;
  }
  .carrito-tabla th, .carrito-tabla td {
    font-size: 0.9rem !important;
    padding: 0.3rem 0.1rem !important;
  }
  .carrito-img {
    width: 38px !important;
    height: 38px !important;
  }
  .carrito-titulo {
    font-size: 1.1rem !important;
    margin-bottom: 0.7rem !important;
  }
  .carrito-resumen-col {
    padding: 0.7rem !important;
    /* border-radius: 10px !important; */
  }
  #form-pedido {
    padding: 10px !important;
    /* border-radius: 10px !important; */
  }
}
@media (max-width: 900px) {
  .carrito-resumen-col {
    position: sticky !important;
    top: 100px !important; /* Ajusta según la altura real del header/menu */
    margin-top: 0 !important;
    /* border-radius: 0 0 12px 12px !important; */
    box-shadow: 0 2px 12px rgba(208,175,122,0.07) !important;
    padding: 1rem 0.5rem 0.7rem 0.5rem !important;
    /* width: 100% !important;
    max-width: 100vw !important; */
  }
  .carrito-productos-col {
    margin-top: 0 !important;
  }
}
@media (max-width: 600px) {
  .carrito-resumen-col {
    padding: 0.7rem 0.2rem !important;
    /* border-radius: 0 0 10px 10px !important; */
    top: 80px !important; /* Ajusta según la altura real del header/menu en mobile */
  }
  .carrito-productos-col {
    margin-top: 0 !important;
  }
  .carrito-container{
    flex-direction: column-reverse !important;
  }
}

/* --- NUEVO CARRITO LISTA RESPONSIVO --- */
.carrito-lista {
  display: none;
  flex-direction: column;
  gap: 18px;
}
.carrito-item {
  background: #fff8ef;
  border: 1.5px solid #e5c9c5;
  /* border-radius: 12px; */
  padding: 1.2em 1em;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  box-shadow: 0 2px 12px rgba(208,175,122,0.07);
}
.carrito-item-top {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 0.5em;
}
.carrito-item-nombre {
  font-family: 'Merriweather', serif;
  font-size: 1.1em;
  font-weight: 600;
  color: rgb(81,31,7);
}
.carrito-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  background: #f8f5f2;
  border: 1.5px solid #e5c9c5;
}
.carrito-item-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em 1.2em;
  align-items: center;
}
.carrito-item-precio {
  font-size: 1em;
  color: #aa5123;
  font-weight: 600;
}
.carrito-item-cantidad {
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.carrito-item-cantidad input[type="number"] {
  width: 48px;
  padding: 0.3rem 0.5rem;
  border: 1.5px solid rgb(208,175,122);
  font-size: 1em;
  background: #fff;
  color: rgb(81,31,7);
  border-radius: 6px;
}
.carrito-item-subtotal {
  font-size: 1em;
  color: #208175;
  font-weight: 500;
}
.carrito-eliminar {
  color: #b94a4a;
  background: none;
  border: none;
  font-size: 1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3em;
  margin-left: auto;
}
.carrito-item + .carrito-item {
  border-top: 2px solid rgb(208,175,122,0.18);
}
@media (max-width: 900px) {
  .carrito-tabla { display: none !important; }
  .carrito-lista { display: flex !important; }
}
@media (min-width: 901px) {
  .carrito-lista { display: none !important; }
  .carrito-tabla { display: table !important; }
}
/* --- FIN NUEVO CARRITO LISTA --- */

/* --- MEJORA VISUAL CARRITO LISTA --- */
@media (min-width: 601px) {
  .carrito-item-info {
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 2.2em;
    margin-top: 0.2em;
  }
  .carrito-item-precio,
  .carrito-item-cantidad,
  .carrito-item-subtotal,
  .carrito-eliminar {
    min-width: 110px;
    text-align: left;
  }
  .carrito-item-cantidad {
    justify-content: flex-start;
  }
  .carrito-eliminar {
    margin-left: 0;
  }
}
@media (max-width: 600px) {
  .carrito-item-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
  }
  .carrito-item-precio,
  .carrito-item-cantidad,
  .carrito-item-subtotal,
  .carrito-eliminar {
    width: 100%;
    min-width: 0;
    text-align: left;
  }
}
.carrito-item-info > * {
  background: none;
  box-shadow: none;
  padding: 0;
}
.carrito-item-cantidad input[type="number"] {
  margin-left: 0.5em;
}
.carrito-item-precio {
  order: 1;
}
.carrito-item-cantidad {
  order: 2;
}
.carrito-item-subtotal {
  order: 3;
}
.carrito-eliminar {
  order: 4;
}
/* --- FIN MEJORA VISUAL --- */