/*
 Theme Name:   Hello Elementor Child
 Template:     hello-elementor
 Description:  Tema hijo para mis personalizaciones de PHP y SCF.
 Version:      1.0.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-naranjo-o: #C25100;
        --ecot-verde-c: #57BE37;
        --ecot-verde-o: #266D22;
        --ecot-border: #0000007D;
        --ecot-texto: #030303;
    }
}
@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, .menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

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

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

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

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

.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;}
}



}
@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,
.huincha-hero-container h2 {
    color: white;
    font-size: clamp(1rem, 2.5vw + 0.5rem, 1.3rem);
    text-align: center;
    display: inline;
}

.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-o);
    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;
}
} 
@layer menus-submenus {

/* 1. Posicionamiento del padre */
.header-menu-link.menu-item-has-children {
    position: relative; /* Necesario para que el submenú se alinee respecto a este link */
}

/* 2. Estilo del sub-menú (oculto por defecto) */
.sub-menu {
    position: absolute;
    top: 100%; /* Aparece justo debajo del link */
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    
    /* Efecto de aparición suave */
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

/* 3. El Hover: Mostrar el sub-menú */
.header-menu-link:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* 4. Estilos de los links dentro del sub-menú */
.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--ecot-texto);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.sub-menu li a:hover {
    background-color: #f5f5f5;
    color: var(--ecot-verde-c);
}

/* Bonus: Truco del "puente invisible" para que no se cierre al bajar el mouse */
.menu-item-has-children::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px; /* Espacio que rellena el hueco entre el link y el menú */
}

/* 1. Seleccionamos solo los que tienen hijos */
.menu-item-has-children > a::after {
    content: " ▾"; /* Tu flechita o caracter ASCII */
    font-size: 12px;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
    vertical-align: middle;
}

/* 2. El color cambia automáticamente con el hover del link */
.header-menu-link:hover > a::after {
    color: var(--ecot-naranjo); /* O el color que desees */
    transform: rotate(180deg); /* Opcional: la flechita gira al abrirse */
}

/* 3. Para los sub-menús laterales (Nivel 2) */
/* Queremos que la flechita apunte a la derecha para indicar que abre hacia allá */
.sub-menu .menu-item-has-children > a::after {
    content: " ▸"; 
    float: right; /* La mandamos al final del texto */
}

.sub-menu .menu-item-has-children:hover > a::after {
    transform: rotate(0deg) translateX(3px); /* Pequeño empuje a la derecha */
}
}
@layer menu-mobile-modal{

/* ==========================================================================
   MODAL ECOTELAS - SISTEMA DE NAVEGACIÓN MOBILE (APP STYLE)
   ========================================================================== */

@media (max-width: 991px) {
    /* 1. Contenedor Principal (Dialog) */
    .c-modal {
        border: none;
        padding: 0;
        margin: 0;
        width: 300px;
        max-width: 85vw;
        height: 100dvh;
        min-height: 100dvh;
        max-height: none;
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        background-color: var(--ecot-verde-o); 
        color: #ffffff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out, display 0.4s allow-discrete, overlay 0.4s allow-discrete;
        z-index: 9999;
    }

    .c-modal[open] { transform: translateX(0); }

    @starting-style {
        .c-modal[open] { transform: translateX(100%); }
    }

    /* 2. Cabecera del Modal */
    .c-modal__content {
        height: 100%;
        display: flex;
        flex-direction: column;
        background: transparent;
    }

    .c-modal__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.2rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        flex-shrink: 0;
    }

    .c-modal__header img { max-width: 140px; height: auto; }

    .c-modal__close {
        background: transparent;
        border: none;
        color: white;
        font-size: 2.2rem;
        line-height: 1;
        cursor: pointer;
        padding: 0 0.5rem;
    }

    /* 3. Cuerpo del Modal y Grid de Menú */
    .c-modal__body {
        flex: 1;
        overflow-y: auto;
        padding: 1rem; /* Espaciado interno para que los botones no toquen los bordes */
        -webkit-overflow-scrolling: touch;
    }

    .c-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: 1fr 1fr; /* Sistema de 2 columnas */
        gap: 10px;
    }

    /* Regla general: Todos los items ocupan el ancho completo */
    .c-menu-list li {
        grid-column: span 2;
        list-style: none;
    }

    /* Excepción: Inicio y Nosotros comparten fila */
    #menu-item-3788, #menu-item-3787 {
        grid-column: span 1;
    }

    /* Estilo base de los botones/links */
    .c-menu-list li a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.9rem 0.5rem;
        color: #ffffff;
        text-decoration: none;
        font-size: 0.95rem;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        text-align: center;
        transition: all 0.3s ease;
    }

    /* 4. Estilos Específicos (Clases de WP) */

    /* Botón WhatsApp */
    .menu-wsp a {
        background-color: #25D366 !important; /* Verde WhatsApp */
        color: #fff !important;
        font-weight: 700;
        border: none;
    }

    /* Botón Contacto/Cotizar */
    .menu-contacto a {
        background-color: var(--ecot-naranjo, #f39c12) !important;
        color: #fff !important;
        font-weight: 700;
    }

    /* Mini Header Separador (Productos destacados) */
    .menu-mas-vendidos {
        margin: 1.2rem 0 0.5rem 0;
        pointer-events: none;
    }

    .menu-mas-vendidos a {
        background: transparent !important;
        justify-content: flex-start;
        padding: 0.5rem 0;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: rgba(255,255,255,0.5) !important;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        border-radius: 0;
    }

    /* Estilo de lista para los productos (después del separador) */
    .menu-producto a {
        background: transparent;
        justify-content: flex-start;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        border-radius: 0;
        font-size: 1rem;
    }

    /* Hover/Feedback táctil */
    .c-menu-list li a:active {
        background-color: rgba(255, 255, 255, 0.2);
        transform: scale(0.97);
    }
}

/* 5. Desktop Hide */
@media (min-width: 992px) {
    .c-modal { display: none !important; }
}
}
@layer producto-single {
.contenedor-producto {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 3rem;
    overflow: hidden;
}


@media (min-width: 768px) {
    .contenedor-producto {
        grid-template-columns: 1fr 1fr;
    }
}

.producto-breadcrumb {
    padding: 1rem 0 1rem 0;
    a {
        color: var(--ecot-verde-o);
        text-decoration: underline;
    }

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

/* --- CONTENEDOR DE GALERÍA --- */
    .woocommerce-product-gallery {
        position: relative; /* Base para posicionar la lupa */
    }

    /* --- LA LUPA (TRIGGER) --- */
    .woocommerce-product-gallery__trigger {
        display: none;
    }

    /* --- MINIATURAS (ROW) --- */
    .flex-control-thumbs {
        display: flex; /* Cambiamos grid por flex para una fila fluida */
        flex-wrap: wrap; /* Permite que bajen si hay demasiadas, o quita wrap para scroll */
        gap: 10px;
        padding: 0;
        margin: 15px 0 0 0;
        list-style: none; /* Quitamos los puntos de lista */
    }

    .flex-control-thumbs li {
        width: 80px; /* Tamaño fijo de la miniatura */
        flex-shrink: 0; /* Evita que se encojan */
        cursor: pointer;
        border: 2px solid transparent;
        transition: all 0.3s ease;
        line-height: 0; /* Evita espacios extraños abajo */
    }

    .flex-control-thumbs li img {
        width: 100%;
        height: 80px;
        object-fit: cover;
        opacity: 0.6;
        transition: opacity 0.3s ease;
    }

    /* Estado activo y hover */
    .flex-control-thumbs li img.flex-active,
    .flex-control-thumbs li:hover img {
        opacity: 1;
    }

    .flex-control-thumbs li:has(.flex-active) {
        border-color: var(--ecot-naranjo); /* O el color que prefieras para marcar la activa */
    }

    /* Ajuste para móviles */
    @media (max-width: 480px) {
        .flex-control-thumbs {
            gap: 5px;
        }
        .flex-control-thumbs li {
            width: 60px;
        }
        .flex-control-thumbs li img {
            height: 60px;
        }
    }


    .columna-info {
        display: flex;
        flex-direction: column;
        
        gap: 1rem;
        justify-content: flex-start;
    }

    .producto-acciones-h {
    display: flex;
    flex-direction: column;
    gap: 1rem;
        }


    .producto-h1 {font-size: 14px; color: var(--ecot-naranjo);}
    .producto-h2 {font-size: 35px; color: #484848; font-weight: 600;}

    .producto-descargables {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0 1rem;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    justify-content: space-around;
}

.producto-descargables a{
    color: var(--ecot-verde-o);
    font-size: clamp(0.9375rem, 0.8rem + 0.5vw, 1.125rem);
}

.producto-descargables a:hover{
    color: var(--ecot-naranjo-o);
}

.producto-descargables svg{
    height: 20px;
    width: auto; /* Para que mantenga la proporción */
    display: inline-block;
    vertical-align: middle; /* Para que alinee bien con el texto */
}

.producto-descargables svg path:not([fill="#fff"]):not([fill="red"]) {
    fill: currentColor;
}

.producto-info-precio {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #484848;
}

.desde {color: var(--ecot-verde-o);
font-size: 1.2rem;
font-weight: 600;}

.producto-precio{
    font-size: clamp(1.5rem, 0.8rem + 0.5vw, 2rem);
    font-weight: 600;
}

/*Formulario de agregar al carrito*/

/* CONTENEDOR PRINCIPAL */
.producto-agregar-carrito {
    font-family: inherit;
}

/* TABLA DE VARIACIONES (Limpieza) */
.producto-agregar-carrito table.variations {
    width: 100%;
    border: none;
}

.producto-agregar-carrito table.variations th, 
.producto-agregar-carrito table.variations td {
    display: block; /* Apilamos etiqueta y selector */
    width: 100%;
    padding: 0;
    border: none;
    text-align: left;
    background: transparent;
}

.variations tbody{
    display: flex;
    flex-direction: column;
    gap:10px;}

.producto-agregar-carrito table.variations th.label {
    margin-bottom: 8px;
}

.producto-agregar-carrito table.variations th.label label {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: #333;
}

/* SELECTORES (Drop-downs) */
.producto-agregar-carrito table.variations td.value select {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.producto-agregar-carrito table.variations td.value select:focus {
    border-color: #000; /* O el color de tu marca */
}


/* BOTÓN DE LIMPIAR VARIACIONES */
.reset_variations {
    font-size: 12px;
    color: red;
    text-decoration: underline;
    margin-top: -10px;
    display: inline-block;
}

.woocommerce-variation.single_variation {
    background: #fdfdfd;
    padding: 10px;
    border-left: 3px solid #000; /* Una línea elegante al lado */
    margin-bottom: 15px;
}

/* CONTENEDOR DE CANTIDAD Y BOTÓN */
.woocommerce-variation-add-to-cart {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* INPUT DE CANTIDAD */
.producto-agregar-carrito .quantity input.qty {
    width: 70px;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

/* BOTÓN AÑADIR AL CARRITO */
.producto-agregar-carrito .single_add_to_cart_button {
    flex-grow: 1; /* Que ocupe el resto del ancho */
    background-color: var(--ecot-naranjo);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 1rem 0;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.3s, opacity 0.3s;
}

.producto-agregar-carrito .single_add_to_cart_button:hover {
    background-color: var(--ecot-verde-o);
}

.producto-agregar-carrito .single_add_to_cart_button.disabled {
    background-color: #7a4d2c;
    cursor: not-allowed;
    opacity: 0.7;
}

/* MENSAJE DE VARIACIÓN (Precio que aparece dinámicamente) */
.woocommerce-variation.single_variation {
    margin-bottom: 15px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 4px;
    font-weight: 600;
}

.producto-agregar-carrito .screen-reader-text{
    display:none;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .woocommerce-variation-add-to-cart {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .producto-agregar-carrito .quantity input.qty,
    .producto-agregar-carrito .single_add_to_cart_button {
        width: 100%;
    }
}

/*sección comprar en wsp*/

 .compra-wsp {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        border-radius: 9px;
        background-color: var(--ecot-verde-o);
    }

    .compra-wsp span{
        font-size: 1rem;
        color: white;
    }

    .compra-wsp svg{
        fill: currentColor;
        width: 32px;
        height: 32px;
    }

     .wsp-cta-2 {
        background-color: #25D366;
        color: var(--ecot-verde-o);
        font-weight: 800;
        font-size: clamp(0.9375rem, 0.8rem + 0.6vw, 1.2rem);
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem;
        border-radius: 100px;
        transition: var(--hover-color);
    }

    .wsp-cta-2:hover{
        background-color: #128c7e;
        color: white;
    }

/*caja de aviso wc*/
.woocommerce-notices-wrapper .woocommerce-message{
    background-color: var(--ecot-verde-o);
    padding: 1rem;
    color: white;
    border-radius: 8px;

    a{
        color: white;
        text-decoration: underline;
        font-weight: 600;
    }

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

/*Descripción de producto*/

.descripcion-producto{
    margin-top: 5rem;
}

.descripcion-producto-container {
    background-color: white;
    border-radius: 30px;
    border: solid;
    border-width: 1px;
    padding: clamp(1.5rem, 0.8rem + 0.5vw, 3rem);
    border-color: #484848;
    margin: 1rem 0 1rem;
}

.descripcion-producto-container h2,
.descripcion-producto-container h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--ecot-verde-o);
}

.descripcion-producto-container h2 {font-size: 1.7rem;}
.descripcion-producto-container h3 {font-size: 1.5rem;}

.descripcion-producto-container p,
.descripcion-producto-container li {
    margin-bottom: 1rem;
    color: var(--ecot-texto);
    line-height: 1.6;
    font-size: 1.1rem;
}

.descripcion-producto-container ul{
    padding-left: 20px;
}

.interlinking-ecotelas {
    background-color: #f4f8f3;
    border-left: 4px solid var(--ecot-verde-c);
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
    font-family: sans-serif;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #333;
}

    .interlinking-ecotelas p {
        margin-bottom: 15px;
        font-size: 16px;
    }

    .interlinking-ecotelas ul {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

    .interlinking-ecotelas li {
        margin-bottom: 8px;
        position: relative;
        padding-left: 20px;
    }

    /* Viñeta personalizada con el verde de la marca */
    .interlinking-ecotelas li::before {
        content: "•";
        color: #266D22;
        font-weight: bold;
        position: absolute;
        left: 0;
    }

    /* Estilo de los links con el Action Color */
    .interlinking-ecotelas a {
        color: #FF6A00;
        text-decoration: underline;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    /* Efecto Hover: Desaparece el subrayado */
    .interlinking-ecotelas a:hover {
        text-decoration: none;
        color: #e65f00; /* Un tono apenas más oscuro para el feedback visual */
    }


}