/* FUENTES | INICIO */
@font-face {
  font-family: "Inter";
  src: url("https://www.maderasoutlet.mx/wp-content/themes/maderasoutlet/src/assets/fonts/inter/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("https://www.maderasoutlet.mx/wp-content/themes/maderasoutlet/src/assets/fonts/inter/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("https://www.maderasoutlet.mx/wp-content/themes/maderasoutlet/src/assets/fonts/inter/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("https://www.maderasoutlet.mx/wp-content/themes/maderasoutlet/src/assets/fonts/inter/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("https://www.maderasoutlet.mx/wp-content/themes/maderasoutlet/src/assets/fonts/inter/Inter-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
/* FUENTES | FINAL */





/* GENERALES | INICIO */
*{
  margin: 0px;
  padding: 0px;
  text-decoration: none;
}
html{
  scroll-behavior: smooth;
}

:root{
  --color-negro: #000000;
  --color-gris: #252525;
  --color-azulado: #e6e6e6;
  --color-blanco: #ffffff;
  --color-amarillo: #f4f42c;
  --color-amarillo-oscuro: #ffe900;

  --fuente-inter: "Inter", sans-serif;

  --texto-h1-generales: clamp(30px, 5vw, 50px);
  --texto-h2-generales: clamp(25px, 3vw, 30px);
  --texto-parrafo-encabezado: clamp(20px, 2vw, 30px);
  --texto-parrafo-generales: clamp(16px, 1.75vw, 20px);
  --texto-botones-generales: clamp(16px, 1.5vw, 19px);
  --texto-botones-pequenos: clamp(14px, 1vw, 22px);
  --texto-header-pequenos: clamp(14px, 1vw, 20px);
  --texto-etiquetas-pequenos: clamp(12px, 1vw, 16px);
  --texto-etiquetas-grandes: clamp(16px, 1.5vw, 25px);
  --texto-h3-productos: clamp(18px, 1.5vw, 20px);
  --texto-parrafo-productos: clamp(16px, 1vw, 18px);

  --padding-encabezados: clamp(50px, 10vw, 100px) clamp(25px, 5vw, 50px);
  --padding-generales: clamp(20px, 4vw, 40px);
  --padding-botones: clamp(5px, 0.5vw, 10px) clamp(15px, 1.5vw, 20px);
  --padding-etiquetas: 5px 10px 5px 25px;
  --padding-tarjetas-generales: clamp(15px, 1.75vw, 20px);
}
.body{
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-content: start;
}
.main{
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-content: start;
}
/* GENERALES | FINAL */





/* HEADER | INICIO */
.header{
  width: calc(100% - clamp(30px, 3vw, 40px));
  height: auto;
  padding: clamp(15px, 1.5vw, 20px);
  padding-bottom: 0px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  background-color: var(--color-negro);
  box-shadow: 5px 0px 10px #00000015;
  gap: clamp(10px, 1vw, 15px);
  z-index: 3;
  border-bottom: var(--color-amarillo) solid 3px;
}
.input-buscador{
  width: 100%;
  background-color: var(--color-blanco);
  border: none;
  border-radius: 7px;
  padding: 4px 10px 4px 35px;
  color: var(--color-negro);
  outline: none;
  box-sizing: border-box;
  font-family: var(--fuente-inter);
  position: relative;
  z-index: 1;
}
.tarjeta-submenu-header{
  width: 250px;
  min-width: 250px;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-content: start;
  cursor: pointer;
  transition: 0.25s;
  gap: 10px;
}



/* Contenedores | Inicio */
.contenedor-opciones-header{
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: center;
  gap: 10px 0px;
}
.contenedor-botones-opciones-header{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 10px;
}
.contenedor-categorias-header{
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: center;
}
.contenedor-buscador {
  position: relative;
  width: clamp(200px, 30vw, 300px);
  margin-right: 5px;
}
.contenedor-submenu-header{
  width: calc(100% - 20px);
  height: auto;
  display: none;
  flex-wrap: nowrap;
  justify-content: start;
  align-content: center;
  overflow-x: auto;
  z-index: 3;
  background-color: var(--color-negro);
  padding: 10px;
  gap: 10px;
}
.contenedor-submenu-header.activo{
  position: fixed;
  left: 0px;
  top: 0px;
  display: flex;
}
.contenedor-imagen-tarjeta-submenu-header{
  width: 100%;
  height: 125px;
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-content: end;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.contenedor-imagen-tarjeta-submenu-header::after{
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, #00000075 0%, transparent 60%);
  pointer-events: none;
}
.contenedor-autocompletado-buscador{
  position: relative;
  width: 100%;
  background-color: var(--color-blanco);
  border-radius: 7px;
}
/* Contenedores | Final */



/* Botones | Inicio */
.boton-opciones-header{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 3px;
}
.boton-opciones-header-movil{
  display: none;
}
.boton-opciones-header svg{
  width: var(--texto-botones-pequenos);
  height: var(--texto-botones-pequenos);
  stroke: var(--color-blanco);
  color: var(--color-blanco);
  cursor: pointer;
  transition: 0.25s;
}
.boton-opciones-header p{
  color: var(--color-blanco);
  font-family: var(--fuente-inter);
  font-size: var(--texto-botones-pequenos);
  transition: 0.25s;
}
.boton-opciones-header:hover svg{
  stroke: var(--color-amarillo);
  color: var(--color-amarillo);
}
.boton-opciones-header:hover p{
  color: var(--color-amarillo);
}
.boton-categoria-header{
  width: auto;
  height: auto;
  border-bottom: 2px var(--color-negro) solid;
  padding: 0px clamp(10px, 1vw, 15px);
  padding-bottom: 10px;
  gap: 7px;
  display: flex;
  flex-wrap: wrap;
  cursor: pointer;
  transition: 0.25s;
}
.boton-categoria-header svg{
  width: var(--texto-botones-pequenos);
  height: var(--texto-botones-pequenos);
  stroke: var(--color-blanco);
  transition: 0.25s;
}
.boton-categoria-header p{
  color: var(--color-blanco);
  font-family: var(--fuente-inter);
  font-size: var(--texto-botones-pequenos);
  transition: 0.25s;
}
.boton-categoria-header:hover{
  border-bottom-color: var(--color-amarillo);
}
.boton-categoria-header:hover svg{
  stroke: var(--color-amarillo);
}
.boton-categoria-header:hover p{
  color: var(--color-amarillo);
}
.boton-tab-buscador{
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  border: 1px solid #00000020;
  border-radius: 4px;
  background-color: #ffffff80;
  color: #00000080;
  font-family: var(--fuente-inter);
  font-size: 10px;
  cursor: pointer;
  z-index: 2;
}
.boton-tab-buscador.activo{
  display: flex;
}
.boton-tab-buscador:hover{
  background-color: var(--color-negro);
  color: var(--color-blanco);
}
/* Botones | Final */



/* Imagenes | Inicio */
.imagen-buscador{
  position: absolute;
  left: 10px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  fill: var(--color-negro);
  pointer-events: none;
  opacity: 0.5;
}
.imagen-tarjeta-submenu-header{
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
}
.imagen-logo-header{
  width: clamp(100px, 14vw, 140px);
  object-fit: cover;
  cursor: pointer;
  position: absolute;
  left: 0px;
  top: 0px;
}
/* Imagenes | Final */



/* Textos | Inicio */
.parrafo-imagen-tarjeta-submenu-header{
  position: absolute;
  bottom: 5px;
  left: 5px;
  color: var(--color-blanco);
  font-family: var(--fuente-inter);
  font-weight: 400;
  z-index: 3;
}
.parrafo-descripcion-tarjeta-submenu-header{
  color: var(--color-blanco);
  font-family: var(--fuente-inter);
  font-weight: 400;
  font-size: var(--texto-header-pequenos);
}
.texto-fantasma-buscador{
  position: absolute;
  left: 35px;
  top: 50%;
  transform: translateY(-50%);
  color: #00000045;
  font-family: var(--fuente-inter);
  font-size: inherit;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
/* Textos | Final */



/* Responsivo | Inicio */
@media screen and (min-width: 0px) and (max-width: 700px) {
  .header{
    padding-bottom: clamp(10px, 1vw, 15px);
  }
  .contenedor-botones-opciones-header{
    width: 100%;
    justify-content: space-between;
  }
  .boton-categoria-header{
    padding-left: 0px;
  }
  .contenedor-categorias-header{
    display: none;
  }
}
@media screen and (min-width: 450px) and (max-width: 700px) {
  .contenedor-buscador{
    flex: 1;
  }
}
@media screen and (min-width: 0px) and (max-width: 449px) {
  .contenedor-buscador{
    display: none;
    flex: 1;
  }
  .boton-opciones-header-movil{
    display: flex;
  }
}
/* Responsivo | Final */

/* HEADER | FINAL */





/* BOTÓN FLOTANTE WHATSAPP | INICIO */
.boton-flotante-whatsapp{
  position: fixed;
  z-index: 4;
  left: 10px;
  bottom: 10px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #35e878;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .22), 0 2px 8px rgba(0, 0, 0, .14), inset 0 1px 1px rgba(255, 255, 255, .45);
  text-decoration: none;
  transform: translateZ(0);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
  animation: whatsapp-flotante 3s ease-in-out infinite;
}
.boton-flotante-whatsapp::before{
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(53, 232, 120, .35);
  animation: whatsapp-pulso 2.5s ease-out infinite;
  pointer-events: none;
}
.boton-flotante-whatsapp::after{
  content: "";
  position: absolute;
  top: 7px;
  left: 11px;
  width: 23px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
  filter: blur(2px);
  transform: rotate(-25deg);
  pointer-events: none;
}
.boton-flotante-whatsapp svg{
  position: relative;
  z-index: 2;
  width: 25px;
  height: 25px;
  fill: #fff;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.boton-flotante-whatsapp:hover{
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .25), 0 4px 12px rgba(0, 0, 0, .16), inset 0 1px 1px rgba(255, 255, 255, .5);
}
.boton-flotante-whatsapp:hover svg{
  transform: scale(1.08) rotate(-8deg);
}
.boton-flotante-whatsapp:active{
  transform: translateY(-1px) scale(.96);
}
@keyframes whatsapp-flotante{
  0%, 100%{transform: translateY(0);}
  50%{transform: translateY(-4px);}
}
@keyframes whatsapp-pulso{
  0%{opacity: .65; transform: scale(.95);}
  70%, 100%{opacity: 0; transform: scale(1.35);}
}



@media screen and (min-width: 0px) and (max-width: 700px) {
  .boton-flotante-whatsapp{
    display: none;
  }
}
/* BOTÓN FLOTANTE WHATSAPP | FINAL */


/* VIÑETA WHATSAPP | INICIO */
.viñeta-whatsapp{
  position: absolute;
  left: 58px;
  bottom: 4px;
  width: max-content;
  max-width: 240px;
  padding: 10px 15px;
  border-radius: 14px 14px 14px 3px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .16), 0 2px 8px rgba(0, 0, 0, .08);
  color: #1c3a2c;
  font-family: var(--fuente-inter);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-8px) scale(.96);
  transform-origin: left bottom;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}

.viñeta-whatsapp::before{
  content: "";
  position: absolute;
  left: -6px;
  bottom: 8px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
}

.viñeta-whatsapp::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.boton-flotante-whatsapp.viñeta-visible .viñeta-whatsapp{
  opacity: 1;
  transform: translateX(0) scale(1);
}

@media (max-width: 700px){
  .boton-flotante-whatsapp{
    width: 50px;
    height: 50px;
  }

  .boton-flotante-whatsapp svg{
    width: 25px;
    height: 25px;
  }

  .viñeta-whatsapp{
    left: 58px;
    max-width: calc(100vw - 80px);
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce){
  .boton-flotante-whatsapp,
  .boton-flotante-whatsapp::before{
    animation: none;
  }
}
/* VIÑETA WHATSAPP | FINAL */





/* FOOTER | INICIO */
.footer{
  width: calc(100% - var(--padding-generales) * 2);
  height: auto;
  padding: var(--padding-generales);
  background-color: var(--color-negro);
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-content: start;
  gap: 20px
}



/* Contenedores | Inicio */
.contenedor-logo-footer{
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}
.contenedor-opciones-footer{
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: clamp(15px, 1.5vw, 20px);
}
/* Contenedores | Final */



/* Imagenes | Inicio */
.imagen-logo-footer{
  width: 250px;
  height: auto;
  object-fit: cover;
  cursor: pointer;
}
/* Imagenes | Final */



/* Botones | Inicio */
.opciones-footer{
  color: var(--color-blanco);
  font-family: var(--fuente-inter);
  font-weight: 400;
  cursor: pointer;
  transition: 0.25s;
  font-size: var(--texto-botones-pequenos);
}
.opciones-footer:hover{
  color: var(--color-amarillo);
}
/* Botones | Final */

/* FOOTER | FINAL */