/*
Theme Name: Test Ecotelas
Author: Sergio SEO
Description: Conversión de HTML a WordPress.
Version: 2.0
*/
@layer fuentes{
    /* poppins-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('/wp-content/uploads/fuentes-ecotelas-2026/poppins-v24-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 300;
  src: url('/wp-content/uploads/fuentes-ecotelas-2026/poppins-v24-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/uploads/fuentes-ecotelas-2026/poppins-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  src: url('/wp-content/uploads/fuentes-ecotelas-2026/poppins-v24-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('/wp-content/uploads/fuentes-ecotelas-2026/poppins-v24-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/uploads/fuentes-ecotelas-2026/poppins-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  src: url('/wp-content/uploads/fuentes-ecotelas-2026/poppins-v24-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
}
@layer global {
*, *::before, *::after {box-sizing:border-box}

body {margin:0;
    font-family: 'Poppins', sans-serif;
}

img {max-width:100%;
height: auto;}

h1,h2,h3{margin:0; line-height: 1.2; font-family: 'Poppins', sans-serif;}
p{line-height: 1.3;}

a {text-decoration: none;}

header ul{margin:0; padding:0;
li {list-style-type: none;}}
}
@layer layout{
    .wrapper {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;    }
    .section-1{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}
@layer colores{
    :root{
        --ecot-naranjo: #FF6A00;
        --ecot-verde-c: #57BE37;
        --ecot-verde-o: #266D22;
        --ecot-border: #0000007D;
        --ecot-texto: #484848;
    }
}
@layer efectos{
    :root{
        --hover-color: all 0.3s ease;
    }
}
@layer header{

.top-header {
    background-color: var(--ecot-verde-o);   
}
.top-header-container {
    display: flex;
    justify-content: center;
    padding: 10px 10px;
}
.top-header-container span {
    color: white;
    font-size: 1rem;
}
.header {background-color: white;
position: sticky;
top: 0;
z-index: 100;}

.header-container {
    display: flex;         
    align-items: center;   
    justify-content: space-between; 
    padding: 10px 0;
    height: 100px;
    gap: 2rem;
}

.header-logo-container {width: 250px;}

.header-menu{
    flex-grow: 1;
    display: flex;   /* Nos permite alinear lo que hay dentro */
    justify-content: center; /* Centra el menú (ul) dentro del espacio ganado */}

.header-menu-container {
    width: 100%;
    display: flex;
    list-style: none;      /* Quita los puntos de la lista */
    gap: 20px;             /* Separa los links entre sí */
    justify-content: space-between;
}

.header-menu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.header-menu-link a {
    color: var(--ecot-texto);
    font-size: 1rem;
    transition: var(--hover-color);
}

.header-menu-link a:hover {
    color: var(--ecot-verde-c);
}

.header-menu-iconos-container {
    display: flex;
    flex-wrap: wrap;
    gap:20px;
}

.header-menu-icon-link {
    transition: var(--hover-color);
    padding: 0.5rem;
    border-radius: 8px;
}

.header-menu-icon-link:hover {
    background-color: var(--ecot-verde-c);
}

.header-menu-icon-link:hover svg {fill: white;}

.header-hamburguesa {
    display:none;
    border-radius: 8px;
    border:none;
    background-color: transparent;
}

@media (max-width: 768px) {
.top-header-container {padding: 10px 0 10px;}
.header-menu {display:none;}
.header-logo-container {width: 180px;}
.header-hamburguesa {display:block;}
#icono-contacto {display:none;}
.header-container {height: 80px;}
.header-menu-iconos-container {gap: 2px;}
}

.menu-cta {
background-color: var(--ecot-verde-o);
padding:  0.5rem 1rem 0.5rem;
border-radius: 8px;
color: white !important;

}
.menu-cta:hover {
    background-color: var(--ecot-naranjo);
    color: white !important;
}
.menu-cta a:hover {
    color: white;
}

}
@layer hero-para-cat{

.cat-hero{
    min-height: 300px;
    background-image: 
        linear-gradient(#48484880, #48484880),
        url("/wp-content/uploads/2023/07/mujer-compras-bolso-tela-1.jpg");
    background-position: 0px -125px;
    background-size: cover;
}

.cat-hero-container{
    height: 100%;
}

.hero-cat-titulo{
    color:white;
    text-align: center;
    font-size: 40px;
}

@media (max-width: 768px) {
    .cat-hero {
        min-height: 100px;
        background-position: 0px 0px;
        padding: 1rem 0 1rem;
    }
}

}
@layer huincha-hero{
.huincha-hero {
    background-color: var(--ecot-naranjo);   
}
.huincha-hero-container {
    display: flex;
    justify-content: center;
    padding: 10px 10px;
}
.huincha-hero-container span {
    color: white;
    font-size: clamp(1rem, 2.5vw + 0.5rem, 1.3rem);
    text-align: center;
}

.huincha-hero-container a{
    color: white;
    text-decoration: underline;
}

.huincha-hero-container a:hover {
    text-decoration: none;
}
}
@layer productos-cat{
.cat-productos {
    background-color: #f7f7f7;
}

.cat-productos-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.grid-products {
  --min: 25ch;
  --gap: 1rem;

  display: grid;
  grid-gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr));
}

.product-card-1 {
    border: solid;
    border-width: 1px;
    border-radius: 15px;
    border-color: #0000007D;
    background-color: white;
    overflow: hidden;
    padding: 25px;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-card-1-title{
    color: var(--ecot-naranjo);
    font-size: 20px;
}

.product-card-1-desde{
    color: var(--ecot-verde-c);
    font-weight: 600;
    font-size: 18px;
}

.product-card-1-info {
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.product-card-1-cta{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--ecot-naranjo);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 0 1rem;
    border-radius: 5px;
    transition: var(--hover-color);
}

.product-card-1-cta:hover {
    background-color: var(--ecot-verde-o);
}
}
@layer footer{

footer {
    background-color: var(--ecot-verde-o);
    color: white;
    padding: 70px 0 70px;
}

footer a{
    color: white;
    text-decoration: underline;
}

footer a:hover{
    text-decoration: none;
}

.footer-container{
    display: flex;
    flex-direction: row;
}

.footer-container > * {
    flex: 1;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.footer-links-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 1rem 0 1rem;
}

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

.footer-link{
    padding-bottom: 1rem;
}

.footer-text {
    max-width: 40ch;
}

.footer-icons-container{
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-bottom: 2rem;
}

.footer-icon{padding: 0.5rem; transition: var(--hover-color);}
.footer-icon:hover svg{
fill: var(--ecot-naranjo);
}

@media (max-width: 768px) {
    .footer-container, .footer-links-container {
        flex-direction: column;
    }
    .footer-text {text-align: center;}
    .footer-main {align-items: center;}
}

.footer-bottom {
    background-color: white;
    padding: 1rem 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom span{
    text-align: center;
}

}
@layer modulo-faq{

.modulo-seo-faq {
    background-color: #f7f7f7;
}

.modulo-seo-faq-preguntas {
  --min: 50ch;
  --gap: 1rem;

  display: grid;
  grid-gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr));
}

.faq-card {
    background-color: #ffffff;
    border: 1px solid var(--ecot-border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--ecot-verde-c);
}

.faq-card-titulo {
    color: var(--ecot-verde-o);
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-card-titulo::before {
    content: "";
    width: 4px;
    height: 1.25rem;
    background-color: var(--ecot-naranjo);
    border-radius: 2px;
    display: inline-block;
}

.faq-card p {
    color: var(--ecot-texto);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1rem;
}

.modulo-seo-faq-cabecera {
    max-width: 850px; 
    margin: 0 auto 3rem auto; 
    padding: 20px;
    text-align: center; 
}

.modulo-seo-faq-titulo {
    color: var(--ecot-naranjo);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    text-transform: uppercase; 
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.modulo-seo-faq-titulo::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--ecot-verde-c);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.modulo-seo-faq-cabecera p {
    color: var(--ecot-texto);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}
}