/*
 Theme Name:   Ecotelas 2026
 Template:     intentionally-blank
 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+ */
  }
  /* lilita-one-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: "Lilita One";
    font-style: normal;
    font-weight: 400;
    src: url("/wp-content/uploads/fuentes-ecotelas-2026/lilita-one-v17-latin-regular.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;
    --ecot-fondo-claro: #f7f7f7;
  }
}
@layer efectos {
  :root {
    --hover-color: all 0.3s ease;
  }

  /* 1. Definimos el movimiento */
  @keyframes floating {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px); /* Sube 20 píxeles */
    }
    100% {
      transform: translateY(0px);
    }
  }

  /* 2. Aplicamos la animación a la clase */
  .float {
    display: inline-block; /* Fundamental para que transform funcione */
    animation-name: floating;
    animation-duration: 3s; /* Cuánto tarda un ciclo completo */
    animation-iteration-count: infinite; /* No se detiene nunca */
    animation-timing-function: ease-in-out; /* Movimiento suave y fluido */
  }

  .fondo-verde::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Aquí aplicamos la imagen y el degradado */
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)),
      url("low-poly-grid-haikei.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    /* Aplicamos el desenfoque */
    filter: blur(8px);

    /* Escalamos un poco para evitar bordes blancos por el blur */
    transform: scale(1.1);

    z-index: 1; /* Queda atrás */
  }

  .fondo-chevron::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Aquí aplicamos la imagen y el degradado */
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)),
      url("repeating-chevrons.svg");
    background-position: center;
  }
}
@layer header {
  header {
    position: sticky;
    top: 0;
    z-index: 1000; /* Asegúrate que sea alto */
    width: 100%;
  }

  .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;
    position: relative;
  }

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

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

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

  /*breadcrumb*/

  .bc-cat {
    position: absolute;
    top: 0;
    margin-top: 0.5rem;

    background-color: white;
    border-radius: 100px;
    padding: 0.5rem 1rem;
  }

  .woocommerce-breadcrumb {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .woocommerce-breadcrumb li {
    display: inline;
  }

  .breadcrumb-separator {
    margin: 0 4px;
  }

  .woocommerce-breadcrumb a {
    color: var(--ecot-verde-o);
    text-decoration: underline;
  }

  .woocommerce-breadcrumb a:hover {
    text-decoration: none;
  }
}

@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);
    margin-top: auto;
  }

  .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;
    gap: 2rem;
  }

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

  /* info sobre envios */
  .summary-section {
    padding: 5rem 2rem;
    background: #163918;
  }
  .summary-section .section-title {
    color: white;
  }
  .summary-section .section-badge {
    background-color: rgba(181, 217, 106, 0.15);
    color: #b5d96a;
  }
  .summary-section .section-badge-dot {
    background: #b5d96a;
  }

  .summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  @media (max-width: 768px) {
    .summary-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  .summary-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition:
      background 0.2s ease,
      transform 0.2s ease;
  }
  .summary-card:hover {
    background: rgba(181, 217, 106, 0.08);
    transform: translateY(-3px);
  }
  .summary-card-icon {
    font-size: 26px;
    margin-bottom: 10px;
    display: block;
  }
  .summary-card-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 8px;
  }

  .summary-card-val {
    font-size: 1.6rem;
    font-weight: 700;
    color: #b5d96a;
    line-height: 1.1;
    margin-bottom: 4px;
  }
  .summary-card-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
  }

  .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #e8ede8;
    border-radius: 100px;
    padding: 5px 14px 5px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #2c5f2d;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
  }
  .section-badge-dot {
    width: 8px;
    height: 8px;
    background: #5a8a3c;
    border-radius: 50%;
  }

  .section-badge a {
    color: #b5d96a;
    text-decoration: none;
  }

  .section-badge a:hover {
    text-decoration: underline;
  }
}
@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));

    margin-bottom: 2rem;
  }

  .faq-card {
    background-color: #ffffff;
    border: 1px solid var(--ecot-border);
    border-radius: 8px;
    padding: 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;
    text-wrap: pretty;
  }

  .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;
    text-wrap: pretty;
  }

  .faq-card a {
    color: var(--ecot-naranjo);
    font-weight: 800;
    text-decoration: underline;
  }

  .faq-card a:hover {
    text-decoration: none;
  }

  .modulo-seo-faq-cabecera {
    max-width: 850px;
    margin: 0 auto 3rem auto;
    padding: 2rem 0;
    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;
    text-wrap: pretty;
  }

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

  .modulo-seo-faq-cabecera a {
    color: var(--ecot-naranjo);
    font-weight: 800;
    text-decoration: underline;
  }

  .modulo-seo-faq-cabecera a:hover {
    text-decoration: none;
  }
}
@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-btn-1 {
      grid-column: span 1 !important;
    }

    /* 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;
    }
  }

  /* ==========================================================================
   GALERÍA DE PRODUCTO (SOLUCIÓN LIGERA)
   ========================================================================== */

  /* 1. Contenedor Principal */
  .producto-imagenes {
    width: 100%;
  }

  .producto-imagen-main {
    width: 100%;
    margin-bottom: 15px;
  }

  .producto-imagen-main img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  /* 2. Grid de Miniaturas */
  .producto-thumbnails {
    display: grid;
    /* Usamos auto-fill y un tamaño fijo (80px) para que NO se estiren */
    grid-template-columns: repeat(auto-fill, 80px);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin-top: 15px;
  }

  /* 3. Elementos de la lista (li) */
  .producto-thumbnails li {
    aspect-ratio: 1 / 1;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid #ddd; /* Borde gris suave por defecto */
    transition: all 0.3s ease;
    background-color: #f9f9f9;
  }

  /* 4. Imágenes dentro de las miniaturas */
  .producto-thumbnails li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* 5. Estado Activo (Marco Negro) */
  .producto-thumbnails li.thumb-active {
    border-color: #000; /* Marco negro intenso */
    opacity: 1;
  }

  .producto-thumbnails li:hover {
    border-color: #999;
  }

  /* Ajuste para móviles: si la pantalla es muy pequeña, que las minis bajen un poco de tamaño */
  @media (max-width: 480px) {
    .producto-thumbnails {
      grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
    }
  }

  /*final estilo de fotos*/

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

  .aviso-impresion {
    font-size: clamp(0.875rem, 0.8rem + 0.3vw, 0.9375rem);
    font-weight: 400;
    color: #6b6b6b;
    line-height: 1.5;
    margin: 0;
    padding: 0.75rem 1rem;
    background-color: #fff1e6;
    border-left: 4px solid var(--ecot-naranjo);
    border-radius: 6px;
  }

  .aviso-impresion a {
    color: var(--ecot-naranjo-o);
    font-weight: 600;
    text-decoration: underline;
  }

  .aviso-impresion a:hover {
    text-decoration: none;
  }

  /*Formulario de agregar al carrito*/

  /*estilos para el link cuando no hay stock*/

  .producto-agotado-mensaje a {
    color: var(--ecot-naranjo) !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
  }

  .producto-agotado-mensaje a:hover {
    text-decoration: none !important;
  }

  /* 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: 2rem;
  }

  .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 */
  }
}

@layer hero-1 {
  .hero-1 {
    padding-top: clamp(1rem, 8vw + 0.5rem, 3rem);
    padding-bottom: clamp(1rem, 8vw + 0.5rem, 3rem);
    position: relative;
    overflow: hidden;
    height: auto;

    position: relative;
  }

  .hero-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Aquí aplicamos la imagen y el degradado */
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)),
      url("low-poly-grid-haikei.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    /* Aplicamos el desenfoque */
    filter: blur(8px);

    /* Escalamos un poco para evitar bordes blancos por el blur */
    transform: scale(1.1);

    z-index: 1; /* Queda atrás */
  }

  .hero-1 > * {
    position: relative;
    z-index: 2;
  }

  .hero-1-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; /* Añade un poco de espacio entre la info y la foto */
    align-items: center; /* Centra verticalmente el contenido */
  }

  .hero-1-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero-1-info h1 {
    color: white;
    font-size: 1rem;
  }

  .hero-1-info h2 {
    font-size: clamp(2.3rem, 5vw + 1rem, 4rem);
    font-weight: 400;
    color: var(--ecot-naranjo);
    text-transform: uppercase;
    font-weight: 900;
    transform: rotate(-3deg);
  }

  .hero-1-info span {
    color: white;
    font-size: clamp(1rem, 2vw + 0.5rem, 1.2rem);
  }

  .hero-cta-container {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem 0;
    gap: 1rem;
  }

  .hero-cta {
    display: inline-flex;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    font-size: clamp(1rem, 2vw + 0.5rem, 1.3rem);

    background-color: var(--ecot-verde-c);
    color: white;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 100px;
    border: solid var(--mp-amarillo) 0px;
  }

  .hero-cta:hover {
    background-color: var(--ecot-verde-o);
  }

  .hero-1-foto-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  @media (max-width: 768px) {
    .hero-1 {
      height: auto;
    }
    .hero-1-container {
      padding-top: 2rem;
      gap: 1rem;
    }

    .hero-1-info {
      align-items: center;
    }

    .hero-1-info h2 {
      text-align: center;
    }

    .hero-cta-container {
      justify-content: center;
    }

    .hero-1-info span {
      text-align: center;
    }
  }
}
@layer slider-marcas {
  /* Definimos las variables arriba para que sea fácil editar */
  :root {
    --animationSpeed: 40s;
    --slideWidth: 250px;
    --totalSlides: 14;
    --visibleSlides: 7;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(
        calc(var(--slideWidth) * var(--visibleSlides) * -1)
      );
    }
  }

  .slider-marcas {
    background-color: var(--ecot-fondo-claro);
  }

  .slider {
    height: 160px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%; /* Lo hacemos responsivo */

    display: flex;
    align-items: center;
    background-color: var(--ecot-fondo-claro);
  }

  /* Los degradados laterales (el Mixin traducido) */
  .slider::before,
  .slider::after {
    background: linear-gradient(
      to right,
      var(--ecot-fondo-claro) 0%,
      rgba(255, 255, 255, 0) 100%
    );
    content: "";
    height: 100px;
    position: absolute;
    width: 150px; /* Ajustado para que no tape tanto */
    z-index: 2;
  }

  .slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
    height: 100%;
  }

  .slider::before {
    left: 0;
    top: 0;
    height: 100%;
  }

  .slide-track {
    display: flex;
    /* Calculamos el ancho total: 250px * 14 */
    width: calc(var(--slideWidth) * var(--totalSlides));
    animation: scroll var(--animationSpeed) linear infinite;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .slide {
    height: 60px;
    width: var(--slideWidth);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px; /* Añadimos un "aire" lateral entre logos */
    box-sizing: border-box; /* Para que el padding no rompa el ancho de 250px */
  }

  .slide img {
    /* Forzamos a que el logo ocupe el espacio sin deformarse */
    width: 100%;
    height: 100%;

    /* LA CLAVE: 'contain' mantiene la proporción y no corta el logo */
    object-fit: contain;

    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
  }

  .slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05); /* Un pequeño plus visual */
  }
}
@layer ventajas-home {
  .home-ventajas {
    background-color: var(--ecot-fondo-claro);
    padding: 2rem 0;
  }
  .home-ventajas-container {
    display: grid;
    gap: 20px;
    /* Crea tantas columnas de mínimo 250px como quepan */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .home-ventajas-card {
    padding: 1.5rem;
    background-color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;

    svg {
      height: 50px;
    }

    h3 {
      color: var(--ecot-verde-o);
      text-align: center;
      font-size: 2rem;
    }
    span {
      color: var(--ecot-texto);
      text-align: center;
    }
  }
}
@layer banner-cupon {
  .banner-cupon {
    background-color: var(--ecot-fondo-claro);
    padding: 2rem 0;
  }
  .banner-cupon-container {
    background-image:
      linear-gradient(rgba(72, 72, 72, 0.5), rgba(72, 72, 72, 0.5)),
      url(/wp-content/uploads/2026/02/mujer-compras-bolso-tela-1.webp);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;

    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-radius: 15px;
  }
  .cupon-intro {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 800;
  }
  .cupon-acento {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
  }
  .banner-cupon-container p {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 700;
  }
  .cupon-codigo {
    padding: 1rem 2rem;
    background-color: var(--ecot-naranjo);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
  }

  @media (max-width: 768px) {
    .cupon-intro,
    .banner-cupon-container p {
      text-align: left;
    }
  }
}
@layer home-productos {
  .home-productos {
    background-color: var(--ecot-fondo-claro);
    padding: 3rem 0;
  }
  .titulo-home {
    color: var(--ecot-naranjo);
    font-size: clamp(1.8rem, 1.5rem + 1.5vw, 2.5rem);
    text-align: center;
  }
  .titulo-home span {
    color: var(--ecot-verde-o);
  }

  .home.cta-1 {
    width: 100%;
    display: flex;
    align-items: center;
  }

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

  .link-cta-verde:hover {
    background-color: var(--ecot-verde-o);
  }
}
@layer parches {
  /*parche*/
  #photoswipe-fullscreen-dialog {
    display: none;
  }

  /*parche para arreglar emojis*/
  img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
  }
  /*parche para sacar el banner de cupón*/
  .banner-cupon {
    display: none !important;
  }

  /*parche para el bnotón de carrito*/
  .producto-agregar-carrito .cart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  @layer carrito {
    .carrito {
      background-color: var(--ecot-fondo-claro);
    }

    .carrito-container .woocommerce {
      display: grid;
      /* Definimos dos columnas iguales */
      grid-template-columns: 1fr 1fr 1fr;
      gap: 2rem; /* Espacio entre la tabla y los totales */

      /* Dibujamos el mapa */
      grid-template-areas:
        "notices notices notices"
        "form form collaterals";

      padding-bottom: 2rem;
    }

    /* Asignamos cada elemento a su zona del mapa */

    .carrito-container .woocommerce-notices-wrapper {
      grid-area: notices;
    }

    .carrito-container .woocommerce-cart-form {
      grid-area: form;
    }

    .carrito-container .cart-collaterals {
      grid-area: collaterals;
      /* Opcional: para que los totales no se peguen arriba si la tabla es muy larga */
      align-self: start;
    }

    .shop_table tr,
    .cart-collaterals {
      background-color: white;
      border-radius: 15px;
      padding: 1rem;
    }

    .cart-collaterals {
      height: 100%;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    .woocommerce-cart-form__cart-item {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 1rem;

      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

      img {
        width: 150px;
      }
    }

    /* Ocultamos la cabecera de la tabla */
    .carrito-container .woocommerce-cart-form thead {
      display: none;
    }

    /* Transformamos el cuerpo de la tabla en un contenedor Flex */
    .carrito-container .woocommerce-cart-form tbody {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    /* Ajuste opcional para las filas (tr) */
    /* Al poner el tbody en flex, es recomendable asegurar que los tr ocupen todo el ancho */
    .carrito-container .woocommerce-cart-form .cart_item {
      padding: 1.5rem;
      background: #fff;
      border: 1px solid #eee;
      border-radius: 8px;
    }

    /* Ajuste para la fila de acciones (cupón y actualizar) */
    .carrito-container .woocommerce-cart-form tr:last-child {
      display: block; /* Para que no herede el comportamiento de card de arriba */
      padding: 1rem;

      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    .carrito-container .woocommerce-cart-form td.actions {
      display: block;
      width: 100%;
    }

    .cart_totals {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .coupon {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .coupon label {
      display: none;
    }

    .coupon input {
      font-size: 1rem;
      padding: 1rem 2rem;
      border-radius: 5px;
    }

    .product-name a {
      color: var(--ecot-verde-o);
      text-decoration: underline;
    }
    .product-name a:hover {
      text-decoration: none;
    }

    .product-remove a {
      color: red;
      font-size: 2rem;
    }

    /*Botones y ctas*/

    .actions button {
      border: solid 2px var(--ecot-verde-o);
      display: flex;
      justify-content: center;
      align-items: center;
      color: var(--ecot-verde-o);
      font-size: 1rem;
      font-weight: 700;
      padding: 1rem 2rem;
      border-radius: 5px;
      cursor: pointer;
      background-color: transparent;
      transition: var(--hover-color);
    }

    .actions button:hover {
      color: white;
      background-color: var(--ecot-verde-o);
    }

    .coupon button {
      border: solid 2px var(--ecot-texto);
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: transparent;
      color: var(--ecot-texto);
      font-size: 1rem;
      font-weight: 700;
      padding: 1rem 2rem;
      border-radius: 5px;
      cursor: pointer;
      transition: var(--hover-color);
    }

    .coupon button:hover {
      background-color: var(--ecot-naranjo);
      border-color: var(--ecot-naranjo);
    }

    .wc-proceed-to-checkout a {
      border: solid 2px var(--ecot-naranjo);
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      font-size: 1rem;
      font-weight: 700;
      padding: 1rem 2rem;
      border-radius: 5px;
      cursor: pointer;
      background-color: var(--ecot-naranjo);
      transition: var(--hover-color);
    }

    .wc-proceed-to-checkout a:hover {
      background-color: var(--ecot-verde-o);
      border-color: var(--ecot-verde-o);
    }

    .quantity .screen-reader-text {
      display: none;
    }

    /* IMPORTANTE: Ajuste para móviles */
    @media (max-width: 992px) {
      .carrito-container .woocommerce {
        grid-template-columns: 1fr;
        grid-template-areas:
          "notices"
          "form"
          "collaterals";
      }
      .woocommerce-cart-form__cart-item {
        flex-wrap: wrap;
      }

      .coupon {
        flex-direction: column;
        align-items: start;
      }

      .carrito-container .woocommerce-cart-form .cart_item {
        display: grid;
        grid-template-columns: 80px 1fr 30px; /* Imagen | Info | Botón Eliminar */
        grid-template-areas:
          "thumb name remove"
          "thumb price remove"
          "qty subtotal subtotal";
        gap: 10px;
        padding: 15px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* La sombra que pediste */
        position: relative;
      }

      /* Asignamos cada celda a su área del mapa */
      .product-thumbnail {
        grid-area: thumb;
      }
      .product-name {
        grid-area: name;
        align-self: center;
      }
      .product-remove {
        grid-area: remove;
        text-align: right;
      }
      .product-price {
        grid-area: price;
        font-size: 0.9rem;
        color: #666;
      }
      .product-quantity {
        grid-area: qty;
        padding-top: 10px;
        border-top: 1px dashed #eee;
      }
      .product-subtotal {
        grid-area: subtotal;
        padding-top: 10px;
        border-top: 1px dashed #eee;
        text-align: right;
      }

      /* 1. Obligamos al contenedor de WC y al input a ser elásticos */
      .product-quantity .quantity,
      .product-quantity .quantity input.qty {
        width: 100% !important; /* Ocupa todo el ancho de la columna 'qty' */
        max-width: 100%; /* Evita que se desborde */
        box-sizing: border-box; /* Incluye el padding en el cálculo del ancho */
      }

      /* 2. Ajuste fino para que no se vea gigante verticalmente */
      .product-quantity .quantity input.qty {
        padding: 8px 5px;
        text-align: center;
        min-height: 40px; /* Tamaño cómodo para el dedo en mobile */
      }
    }
  }
  @layer checkout {
    .checkout-custom {
      background-color: var(--ecot-fondo-claro);
    }

    /* Definición de las Cajitas Bento */
    .woocommerce-billing-fields,
    .col-2,
    .shop_table.woocommerce-checkout-review-order-table,
    #payment {
      background: #ffffff;
      padding: 25px;
      border-radius: 15px;
      border: 1px solid #eee;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Tu sombra suave */
    }

    .shop_table.woocommerce-checkout-review-order-table {
      margin: 0 !important; /* Quitar márgenes de tabla por defecto */
    }

    /* Estilo de los encabezados dentro de las cajas */
    .checkout-custom-container h3 {
      font-size: 1.2rem;
      margin-bottom: 20px;
      border-bottom: 2px solid #f1f1f1;
      padding-bottom: 10px;
    }

    /* Ajustes de la tabla de resumen para que no parezca tabla */
    .shop_table.woocommerce-checkout-review-order-table thead {
      display: none;
    }

    .shop_table.woocommerce-checkout-review-order-table tr {
      display: flex;
      justify-content: space-between;
      padding: 10px 0;
      border-bottom: 2px solid #f1f1f1;
      border-radius: 0;
    }

    /*parches de cosas que borré*/
    .woocommerce-form-coupon-toggle {
      display: none;
    }
    #order_review_heading {
      display: none;
    }

    /*Estilos del área de facturación*/
    .woocommerce-billing-fields__field-wrapper .form-row {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin: 0 !important;
    }

    .woocommerce-billing-fields__field-wrapper .form-row input,
    .woocommerce-billing-fields__field-wrapper .form-row select {
      width: 100%;
      background-color: var(--ecot-fondo-claro);
      border: none;
      padding: 1rem 1rem;
      border-radius: 8px;
    }

    .woocommerce-billing-fields__field-wrapper .form-row label {
      font-size: 0.8rem;
    }

    .woocommerce-billing-fields__field-wrapper .form-row .required {
      color: red;
      font-size: 1rem;
    }

    #billing_country_field {
      display: none;
    }
    #billing_address_2_field label {
      display: none;
    }

    .woocommerce-billing-fields__field-wrapper {
      display: grid !important;
      grid-template-columns: 1fr 1fr; /* Dos columnas iguales */
      gap: 2rem;
      grid-template-areas:
        "nombre apellido"
        "telefono email"
        "region comuna"
        "direccion direccion"
        "dpto dpto"
        "pais pais";
    }

    #billing_first_name_field {
      grid-area: nombre;
    }
    #billing_last_name_field {
      grid-area: apellido;
    }
    #billing_phone_field {
      grid-area: telefono;
    }
    #billing_email_field {
      grid-area: email;
    }
    #billing_state_field {
      grid-area: region;
    }
    #billing_city_field {
      grid-area: comuna;
    }
    #billing_address_1_field {
      grid-area: direccion;
    }
    #billing_address_2_field {
      grid-area: dpto;
    }
    #billing_country_field {
      grid-area: pais;
    }

    @media (max-width: 600px) {
      .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
        grid-template-areas:
          "nombre"
          "apellido"
          "telefono"
          "email"
          "region"
          "comuna"
          "direccion"
          "dpto"
          "pais";
      }
    }

    /*estilos para área de resumen*/

    .shop_table .cart_item .product-name {
      width: 50%;
    }

    .shop_table .cart_item .product-total {
      display: flex;
      justify-content: flex-end;
      flex-wrap: wrap;
    }

    .product-total {
      display: flex;
      flex-direction: row;
      gap: 1rem;
    }

    /*estilos para área de información adicional*/
    .checkout .col-2 .form-row {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .checkout .col-2 textarea {
      min-width: 100%;
      min-height: 100%;
      background-color: var(--ecot-fondo-claro);
      border: none;
      padding: 1rem 1rem;
      border-radius: 8px;
    }

    /*estilos del área de pago*/

    .payment_box {
      padding: 0.5rem 1rem;
      background-color: var(--ecot-fondo-claro);
      font-size: 15px;
    }

    .woocommerce-checkout-payment button {
      border: solid 2px var(--ecot-naranjo);
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      font-size: 1rem;
      font-weight: 700;
      padding: 1rem 2rem;
      border-radius: 5px;
      cursor: pointer;
      background-color: var(--ecot-naranjo);
      transition: var(--hover-color);
    }

    .woocommerce-checkout-payment button:hover {
      background-color: var(--ecot-verde-o);
      border-color: var(--ecot-verde-o);
    }

    .woocommerce-checkout-payment a {
      color: var(--ecot-naranjo);
      text-decoration: underline;
    }
    .woocommerce-checkout-payment a:hover {
      text-decoration: none;
    }

    /*layout*/
    /* 1. Grid Bento Principal */
    .checkout-custom-container .woocommerce-checkout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-areas:
        "facturacion resumen"
        "adicional   pagos"
        "adicional   pagos";
      gap: 1.5rem;
      align-items: start;
      padding: 2rem 0;
    }

    /* 2. "Aplanado" de contenedores para que los hijos suban al grid */
    .col2-set,
    #customer_details,
    .woocommerce-checkout-review-order {
      display: contents;
    }

    /* 3. Asignación de las 4 cajas al Bento */
    .woocommerce-billing-fields {
      grid-area: facturacion;
      align-self: stretch;
    }

    .col-2 {
      grid-area: adicional;
    }

    .shop_table.woocommerce-checkout-review-order-table {
      grid-area: resumen;
      height: 100%;
    }

    .woocommerce-checkout-payment {
      grid-area: pagos;
    }

    /* 4. Layout Responsive */
    @media (max-width: 992px) {
      .checkout-custom-container .woocommerce-checkout {
        grid-template-columns: 1fr;
        grid-template-areas:
          "facturacion"
          "adicional"
          "resumen"
          "pagos";
      }
    }
  }
  @layer contacto {
    .contacto {
      background: url(/wp-content/themes/hello-theme-child-master/wave-haikei.svg);
      background-size: cover;
      background-position: center 1%;
      background-repeat: no-repeat;
    }
    .contacto-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
      padding: 3rem 0;
      gap: 2rem;
    }

    .contacto-form {
      height: auto;
      background-color: #cfcfcf;
      color: var(--ecot-verde-o);
      border-radius: 18px;
      padding: 2.3rem;
      overflow: hidden;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .contacto-cta {
      display: flex;
      flex-direction: column;
      gap: 1rem;

      color: var(--ecot-texto);
    }

    .contacto-boton-enviar {
      border: solid 2px var(--ecot-naranjo);
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      font-size: 1rem;
      font-weight: 700;
      padding: 1rem 2rem;
      border-radius: 5px;
      cursor: pointer;
      background-color: var(--ecot-naranjo);
      transition: var(--hover-color);
    }

    .contacto-boton-enviar:hover {
      background-color: var(--ecot-naranjo-o);
      border-color: var(--ecot-naranjo-o);
    }

    .contacto-container h1 {
      color: var(--ecot-verde-o);
    }
    .contacto-container h2 {
      color: var(--ecot-naranjo);
    }
    .contacto-container a {
      color: var(--ecot-naranjo);
      text-decoration: underline;
    }
    .contacto-container a:hover {
      text-decoration: none;
    }

    /*Estilos del form*/
    .ff-t-container {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      gap: 1rem;
    }

    .contacto-form .frm-fluent-form fieldset {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      color: var(--ecot-verde-o);

      input {
        width: 100%;
        font-size: 1rem;
        border-radius: 5px;
        border: none;
        padding: 0.5rem;
      }
      textarea {
        width: 100%;
        border-radius: 5px;
        border: none;
        font-size: 1.3rem;
        padding: 0.5rem;
      }
    }
  }
  @layer mi-cuenta {
    /* ==========================================
   MI CUENTA - ESTILOS UNIFICADOS (BENTO TABS)
   ========================================== */

    /* Contenedor General */
    .mi-cuenta {
      background-color: var(--ecot-fondo-claro);
    }
    .mi-cuenta-container {
      padding: 2rem 0;
    }

    /* 1. NAVEGACIÓN (Tabs Layout) */
    .woocommerce-MyAccount-navigation ul {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      list-style: none;
      padding: 0;
      margin: 0 0 2rem 0;
      background: transparent; /* Importante para que luzcan como piezas separadas */
      border: none;
      box-shadow: none;
    }

    .woocommerce-MyAccount-navigation-link {
      flex: 1 1 auto;
      border: none !important; /* Limpieza de estilos de lista anteriores */
    }

    .woocommerce-MyAccount-navigation-link a {
      display: block;
      background: #ffffff;
      padding: 0.8rem 1.5rem !important;
      color: var(--ecot-texto);
      text-decoration: none;
      font-weight: 500;
      text-align: center;
      border-radius: 12px;
      border: 1px solid #eee;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
      white-space: nowrap;
      transition: all 0.3s ease;
    }

    /* Estado: Hover */
    .woocommerce-MyAccount-navigation-link:not(.is-active):hover a {
      background-color: var(--ecot-fondo-claro);
      border-color: var(--ecot-naranjo);
      color: var(--ecot-naranjo);
      transform: translateY(-2px);
    }

    /* Estado: Activo (Pestaña resaltada) */
    .woocommerce-MyAccount-navigation-link.is-active a {
      background-color: var(--ecot-verde-o) !important;
      color: #ffffff !important;
      border-color: var(--ecot-verde-o);
      transform: translateY(-3px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }

    /* Estilo especial para el link de Salir */
    .woocommerce-MyAccount-navigation-link--customer-logout a {
      color: #e74c3c;
    }

    /* 2. CONTENIDO (Caja Bento) */
    .woocommerce-MyAccount-content {
      background: #ffffff;
      padding: 2.5rem;
      border-radius: 15px;
      border: 1px solid #eee;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
      color: var(--ecot-texto);
      line-height: 1.6;
    }

    /* Enlaces dentro del contenido */
    .woocommerce-MyAccount-content a {
      color: var(--ecot-verde-o);
      text-decoration: underline;
      font-weight: 600;
    }

    .woocommerce-MyAccount-content a:hover {
      color: var(--ecot-naranjo);
      text-decoration: none;
    }

    /* Resaltado de nombres y botones internos */
    .woocommerce-MyAccount-content strong {
      color: var(--ecot-verde-o);
    }

    .woocommerce-MyAccount-content .button {
      background-color: var(--ecot-naranjo);
      color: white !important;
      padding: 0.8rem 1.5rem;
      border-radius: 8px;
      font-weight: 700;
      text-decoration: none;
      display: inline-block;
      transition: background-color 0.3s ease;
      border: none;
    }

    .woocommerce-MyAccount-content .button:hover {
      background-color: var(--ecot-verde-o);
    }

    /* 3. RESPONSIVE (Scroll horizontal en móviles) */
    @media (max-width: 768px) {
      .woocommerce-MyAccount-navigation {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 15px;
        margin: 0 -15px; /* Para que el scroll llegue al borde de la pantalla */
        padding-left: 15px;
        padding-right: 15px;
      }

      .woocommerce-MyAccount-navigation ul {
        flex-wrap: nowrap;
        width: max-content;
      }

      .woocommerce-MyAccount-content {
        padding: 1.5rem;
      }
    }
  }
  @layer nosotros {
    .mision {
      background: url(/wp-content/themes/hello-theme-child-master/wave-haikei.svg);
      background-size: cover;
      background-position: center top -200px;
      background-repeat: no-repeat;
    }
    .mision-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
      padding: 3rem 0;
      gap: 3rem;
    }

    .mision-info {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      padding: 2rem 0;
      align-items: flex-start;
      justify-content: center;
      color: var(--ecot-texto);

      h1 {
        color: var(--ecot-verde-o);
      }
    }

    .mision-info a {
      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);
    }

    .mision-info a:hover {
      background-color: var(--ecot-verde-o);
    }

    .mision-imagen {
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
    }

    .nosotros-ventajas {
      background: url(/wp-content/themes/hello-theme-child-master/wave-verde.svg);
      background-size: cover;
      background-position: center bottom -100px;
      background-repeat: no-repeat;
      padding: 2rem 0;
    }
  }
  @layer empresa {
    .contacto-empresa {
      background: url(/wp-content/themes/hello-theme-child-master/wave-haikei.svg);
      background-size: cover;
      background-position: center 1%;
      background-repeat: no-repeat;
    }
    .contacto-empresa-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
      padding: 3rem 0;
      gap: 2rem;
      align-items: start;

      grid-template-areas: "form-empresa contacto-cta-empresa";
    }

    .contacto-form-empresa {
      height: auto;
      background-color: #cfcfcf;
      color: white;
      border-radius: 18px;
      padding: 2.3rem;
      overflow: hidden;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

      grid-area: form-empresa;
    }

    .contacto-cta-empresa {
      display: flex;
      flex-direction: column;
      gap: 1rem;

      color: var(--ecot-texto);
      grid-area: contacto-cta-empresa; /*esto es para invertir el orden en el form de empresa*/
    }

    .contacto-form-empresa .frm-fluent-form fieldset {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      color: var(--ecot-verde-o);

      input {
        font-size: 1rem;
        border-radius: 5px;
        border: none;
        padding: 0.5rem;
      }
      textarea {
        width: 100%;
        border-radius: 5px;
        border: none;
        font-size: 1.3rem;
        padding: 0.5rem;
      }
    }

    .contacto-empresa-container h1 {
      color: var(--ecot-verde-o);
    }
    .contacto-empresa-container h2 {
      color: var(--ecot-naranjo);
    }
    .contacto-empresa-container a {
      color: var(--ecot-naranjo);
      text-decoration: underline;
    }
    .contacto-empresa-container a:hover {
      text-decoration: none;
    }

    .ff_list_2col .ff-el-input--content {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }

    .ff_list_2col .ff-el-input--label {
      font-weight: 700;
    }

    .ff-el-is-required::after {
      content: " *"; /* El espacio antes del asterisco es clave */
      color: #ff0000; /* Rojo puro (puedes usar el naranja de Ecotelas si prefieres) */
      font-weight: bold; /* Para que resalte un poco más */
      margin-left: 4px; /* Un pequeño ajuste manual de separación */
      display: inline-block; /* Asegura que se comporte bien con el texto */
    }

    @media (max-width: 768px) {
      .contacto-empresa-container {
        grid-template-columns: 1fr;
        grid-template-areas:
          "contacto-cta-empresa"
          "form-empresa";
      }

      .contacto-empresa-container .ff-t-container {
        display: flex;
        flex-direction: column;
      }
    }
  }
  @layer legales {
    .legales {
      background-color: var(--ecot-fondo-claro);
      padding: 2rem 0;
    }
    .legales-container {
      background-color: white;
      border-radius: 20px;
      padding: clamp(1rem, 2vw + 0.5rem, 2rem);
      font-size: clamp(1rem, 2vw + 0.5rem, 1.3rem);
    }
  }
  @layer euristica {
    .euristica-1 {
      background-color: var(--ecot-fondo-claro);
      padding-top: 1rem;
    }

    .euristica-1-container {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .euristica-1-container a {
      background-color: var(--ecot-verde-o);
      padding: 0.8rem 1.5rem; /* Ajuste de padding para forma de botón */
      border-radius: 50px;
      color: white;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      transition: all 0.3s ease; /* Transición suave para todos los estados */

      /* Flexbox para alinear texto e icono */
      display: inline-flex; /* inline-flex para que el botón no ocupe todo el ancho */
      align-items: center;
      justify-content: center;
      gap: 0.6rem;

      /* Evita que el texto se rompa en palabras feas */
      white-space: nowrap;
      border: 2px solid transparent;
    }

    .euristica-1-container a:hover {
      color: black;
      background-color: var(--ecot-verde-c);
      transform: translateY(-2px); /* Efecto de levante sutil */
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Control del SVG */
    .euristica-1-container a svg {
      /* En Heroicons (el que usaste), el tamaño se controla con width/height, no font-size */
      width: 1.2rem;
      height: 1.2rem;
      flex-shrink: 0; /* Evita que el icono se aplaste si el texto es muy largo */
    }

    /* Ajuste para móviles */
    @media (max-width: 600px) {
      .euristica-1-container {
        gap: 0.8rem;
      }
      .euristica-1-container a {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
      }
    }
  }
  @layer ventajas-empresa {
    .ventajas-producto {
      background-color: var(--ecot-fondo-claro);
      padding: 3rem 0;
      position: relative;
      overflow: hidden;
    }

    .ventajas-producto-container {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 1rem;
    }

    .ventajas-producto-card {
      display: grid;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      height: auto;
      position: relative;
      width: 100%;

      border-radius: 15px;
      overflow: hidden;

      z-index: 2;
    }

    .ventajas-producto-card img {
      position: relative;
      max-width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .ventajas-producto-card-info {
      position: absolute;
      z-index: 10;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      width: 100%;
      bottom: 0;
      color: white;

      height: auto;
      padding: 3rem 2rem 2rem 2rem;

      background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        /* Totalmente transparente arriba */ rgba(0, 0, 0, 1) 100%
          /* Oscuro abajo */
      );
    }

    @media (max-width: 768px) {
      .ventajas-producto-container {
        grid-template-columns: 1fr;
      }
    }
  }

  /*nuevas 👇️*/
  @layer banner-dsestacado {
    .banner-destacado-s {
      background-color: var(--ecot-fondo-claro);
      padding: 2rem 0rem;
      color: white;
    }

    .banner-destacado {
      height: 500px;

      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      text-align: left;
      position: relative;

      padding: 3rem;
      gap: 2rem;

      border-radius: 15px;
      border: solid 1px var(--ecot-fondo-claro);

      background-repeat: no-repeat;
      background-size: cover;
      background-position: right;
      overflow: hidden;
    }

    .banner-destacado:hover {
      border-color: var(--ecot-verde-o);
    }

    .banner-destacado:hover button {
      background-color: var(--ecot-naranjo-o);
      transform: translateY(-2px); /* Pequeño salto extra al hacer hover */
      box-shadow: 0 6px 20px rgba(255, 106, 0, 0.3);
    }

    .banner-destacado h2 {
      font-size: clamp(2.5rem, 2.32rem + 0.91vw, 3rem);
    }
    .banner-destacado h2 a {
      color: white;
    }

    .banner-destacado h2 a::after {
      content: "";
      position: absolute;
      /* Se estira a los 4 bordes del padre .banner-destacado */
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;

      /* Z-index para asegurar que esté sobre el fondo pero no tape otros links si los hubiera */
      z-index: 1;

      /* Opcional: ayuda a debuguear (luego lo borras) */
      /* background-color: rgba(255, 0, 0, 0.1); */
    }

    .banner-destacado span {
      max-width: 60ch;
      font-size: clamp(1rem, 0.93rem + 0.36vw, 1.2rem);
      font-weight: 600;
    }
  }
  @layer ctas {
    .cta-banner-1 {
      /* Reset básico para que funcione en <button> y <a> */
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      text-decoration: none;
      border: none;
      cursor: pointer;
      font-family: inherit;

      /* Dimensiones y Espaciado */
      padding: 14px 32px;
      min-width: fit-content; /* Asegura su ancho natural */

      /* Colores y Bordes */
      background-color: var(--ecot-naranjo);
      color: #ffffff; /* Blanco directo para legibilidad */
      border-radius: 8px;
      border-bottom: 4px solid var(--ecot-naranjo-o); /* Efecto de relieve */

      /* Tipografía */
      font-weight: 700;
      font-size: 1.1rem;
      letter-spacing: 0.5px;

      /* Transiciones */
      transition: var(--hover-color);

      /* Sombra suave con RGB directo */
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }

    .cta-banner-1:hover {
      background-color: var(--ecot-naranjo-o);
      transform: translateY(-2px); /* Pequeño salto extra al hacer hover */
      box-shadow: 0 6px 20px rgba(255, 106, 0, 0.3);
    }

    .cta-banner-1:active {
      transform: translateY(2px); /* Efecto de pulsado */
      border-bottom-width: 0px;
      margin-bottom: 4px; /* Compensa la pérdida del borde para que no salte el layout */
    }

    /* Para asegurar que si está dentro de un flex vertical no se estire */
    .parent-flex-container {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
  }
  @layer euristica2 {
    .euristica-2-s {
      background-color: var(--ecot-fondo-claro);
      padding-bottom: 2rem;
    }

    .euristica-2-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;

      /* El mapa visual de tu diseño */
      grid-template-areas:
        "box-5 box-3 box-4"
        "box-2 box-2 box-4"
        "box-6 box-1 box-1";
    }

    .box-1 {
      grid-area: box-1;
      min-height: 300px;
      background-position-y: 65%;
      aspect-ratio: 1/1;
    }
    .box-2 {
      grid-area: box-2;
      min-height: 300px;
      background-position-y: 65%;
    }
    .box-3 {
      grid-area: box-3;
      min-height: 300px;
    }
    .box-4 {
      grid-area: box-4;
      min-height: auto;
      background-position: center;
    }
    .box-5 {
      grid-area: box-5;
      min-height: 300px;
      background-position: 0;
    }
    .box-6 {
      grid-area: box-6;
      min-height: 300px;
    }

    .euristica-2-card {
      padding: 2rem;
      color: white;
      height: auto;

      background-size: cover;
      overflow: hidden;

      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;

      text-align: left;
      position: relative;

      border-radius: 15px;
      border: solid 1px var(--ecot-fondo-claro);

      h3 {
        font-size: 2rem;
        z-index: 15;
      }
    }

    .euristica-2-card span {
      z-index: 5;
      font-weight: 600;
    }

    .euristica-2-card h3 a {
      color: white;
      z-index: 15;
    }

    .euristica-2-card h3 a::after {
      content: "";
      position: absolute;
      /* Se estira a los 4 bordes del padre .banner-destacado */
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;

      /* Z-index para asegurar que esté sobre el fondo pero no tape otros links si los hubiera */
      z-index: 1;

      /* Opcional: ayuda a debuguear (luego lo borras) */
      /* background-color: rgba(255, 0, 0, 0.1); */
    }

    .euristica-2-card:hover {
      border-color: var(--ecot-verde-o);
    }
    .euristica-bonus {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;

      font-size: 2rem;
      line-height: 1.2;
    }

    .euristica-bonus a {
      font-weight: 600;
      color: var(--ecot-naranjo);
      text-decoration: underline;
    }

    .euristica-bonus a:hover {
      text-decoration: none;
    }

    .euristica-bonus span {
      color: var(--ecot-texto);
    }

    @media (max-width: 768px) {
      .euristica-2-container {
        grid-template-columns: 1fr;
        grid-template-areas:
          "box-5"
          "box-3"
          "box-4"
          "box-4"
          "box-2"
          "box-1"
          "box-1"
          "box-6";
      }
      .box-4 {
        height: 300px;
      }
      .euristica-bonus {
        text-align: center;
        font-size: 1.5rem;
        align-items: center;
      }
    }
  }

  .banner-x {
    height: 85vh;
    background-size: cover;

    display: flex;
    flex-direction: column;
  }
  .bannerx-container {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;

    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.81) 0%,
      rgba(0, 0, 0, 0) 100%
    );
    padding: 2rem;
    width: 50%;
    height: 100%;
    justify-content: center;
  }
  .bannerx-container h1 {
    font-size: 1rem;
  }

  .titulo-banerx {
    font-size: clamp(2rem, 1.2rem + 4vw, 4.5rem);
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 800;
    text-wrap: balance;
    span {
      color: transparent;
      -webkit-text-stroke: 2px white;
    }
  }
  .texto-banerx {
    font-size: 1.2rem;
    max-width: 60ch;
  }

  @media (max-width: 768px) {
    .banner-x {
      background-position: right -300px center;
    }
    .bannerx-container {
      width: 100%;
    }
  }

  .wavvv {
    position: relative;
    background-color: var(--ecot-fondo-claro);

    --mask:
    /* 1. Cresta de la ola (arriba) */
      radial-gradient(67.08px at 50% 90px, #000 99%, #0000 101%)
        calc(50% - 60px) 0/120px 51% repeat-x,
      /* 2. Valle de la ola (arriba) */
        radial-gradient(67.08px at 50% -60px, #0000 99%, #000 101%) 50%
        30px/120px calc(51% - 30px) repeat-x,
      /* 3. Relleno sólido para mantener la parte inferior recta y visible */
        linear-gradient(#000 0 0) bottom / 100% 50% no-repeat;

    -webkit-mask: var(--mask);
    mask: var(--mask);
  }

  .color-texto-1 {
    background-color: var(--ecot-naranjo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  @layer euristica3 {
    .euristica-3-s {
      background-color: var(--ecot-fondo-claro);
      padding-bottom: 2rem;
    }

    .euristica-3-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    .euristica-3-card {
      padding: 2rem;
      color: white;
      height: 400px;

      background-size: cover;

      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;

      text-align: left;
      position: relative;

      border-radius: 15px;
      border: solid 1px var(--ecot-fondo-claro);

      h3 {
        font-size: 2rem;
        font-family: "Lilita One";
      }
    }

    .euristica-3-card h3 a::after {
      content: "";
      position: absolute;
      /* Se estira a los 4 bordes del padre .banner-destacado */
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;

      /* Z-index para asegurar que esté sobre el fondo pero no tape otros links si los hubiera */
      z-index: 1;

      /* Opcional: ayuda a debuguear (luego lo borras) */
      /* background-color: rgba(255, 0, 0, 0.1); */
    }

    .euristica-3-card:hover {
      border-color: var(--ecot-verde-o);
    }
    .euristica3-bonus {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;

      font-size: 2rem;
      line-height: 1.2;
    }

    .euristica3-bonus a {
      font-weight: 600;
      color: var(--ecot-naranjo);
      text-decoration: underline;
    }

    .euristica3-bonus a:hover {
      text-decoration: none;
    }

    .euristica3-bonus span {
      color: var(--ecot-texto);
    }

    .box-31 .euristica-3-info {
      width: 200px;
      position: absolute;
      top: 0;
      right: 0;
      width: 35%;
      margin: 1rem;
    }

    .box-32 .euristica-3-info {
      width: 200px;
      position: absolute;
      top: 0;
      left: 0;
      width: 35%;
      margin: 1rem;
    }

    .box-33 .euristica-3-info {
      width: 200px;
      position: absolute;
      width: 50%;
      margin: auto;
    }

    .box-33 h3 a {
      color: #cb5736 !important;
    }

    .box-34 .euristica-3-info {
      width: 300px;
      position: absolute;
      top: 0;
      left: 0;
      margin: 1rem;
    }

    .box-34 h3 a {
      color: #cb5736 !important;
    }

    .euristica-3-info h3 a {
      color: #f9d2ee;
      text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.85);
    }

    .euristica-3-info h3 {
      text-transform: uppercase;
    }

    .euristica-3-info span {
      text-transform: uppercase;
      line-height: 1;
      font-weight: 600;
      font-size: 1.2rem;
      text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.85);
    }

    @media (max-width: 768px) {
      .euristica-3-container {
        grid-template-columns: 1fr;
        grid-template-areas:
          "box-35"
          "box-33"
          "box-34"
          "box-34"
          "box-32"
          "box-31"
          "box-31"
          "box-36";
      }
      .box-4 {
        height: 300px;
      }
      .euristica3-bonus {
        text-align: center;
        font-size: 1.5rem;
        align-items: center;
      }
    }
  }

  @layer bannery {
    .banner-y {
      background-color: #cb5736;

      display: flex;
      flex-direction: column;
    }

    .banery-main {
      display: flex;
      flex-direction: row;

      padding-top: 2rem;
      padding-bottom: 2rem;
    }

    .bannery-container {
      color: white;
      display: flex;
      flex-direction: column;
      gap: 1rem;

      padding: 2rem;
      position: relative;
    }
    .bannery-container h1 {
      font-size: 5rem;
      color: #f9d2ee;
      line-height: 1.2;
      font-family: "Lilita One";
      text-transform: uppercase;
    }

    .bannery-h1-wrapper {
      position: relative;
      display: flex;
      flex-direction: column;
    }

    .titulo-banery {
      font-size: 2rem;
      font-weight: 900;
      line-height: 1.2;
      text-transform: uppercase;
      background-color: #f9d2ee;
      color: #cb5736;

      position: absolute;
      top: 0;
      right: 0;

      padding: 0.5rem 1rem;

      transform: rotate(6deg);
    }
    .texto-banery {
      font-size: 2rem;
      max-width: 60ch;
      text-transform: uppercase;
      font-weight: 900;
    }

    .banery-imagen img {
      height: 100%;
      object-fit: cover;
    }

    @media (max-width: 768px) {
      .bannery-container {
        width: 100%;
        padding: 2rem 0;
      }
      .banery-main {
        flex-direction: column;
        padding: 0rem;
      }
      .bannery-container h1 {
        font-size: 50px;
      }
      .titulo-banery {
        position: relative;
        font-size: 1.2rem;
        display: flex;
        flex-direction: column;
        transform: rotate(3deg);

        margin: 1rem 0;
        text-align: center;
      }
      .texto-banery {
        font-size: 1.2rem;
      }
    }

    .wavvv {
      position: relative;
      background-color: var(--ecot-fondo-claro);

      --mask:
        radial-gradient(67.08px at 50% 90px, #000 99%, #0000 101%)
          calc(50% - 60px) 0/120px 51% repeat-x,
        radial-gradient(67.08px at 50% -60px, #0000 99%, #000 101%) 50%
          30px/120px calc(51% - 30px) repeat-x,
        radial-gradient(67.08px at 50% calc(100% - 90px), #000 99%, #0000 101%)
          calc(50% - 60px) 100%/120px 51% repeat-x,
        radial-gradient(67.08px at 50% calc(100% + 60px), #0000 99%, #000 101%)
          50% calc(100% - 30px)/120px calc(51% - 30px) repeat-x;
      -webkit-mask: var(--mask);
      mask: var(--mask);
    }

    .color-texto-y {
      /* background: linear-gradient(to bottom right, var(--ecot-naranjo), var(--ecot-verde-c));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; */

      color: var(--ecot-naranjo);
    }
  }

  @layer banner-dsestacado2 {
    .banner-destacado2-s {
      background-color: var(--ecot-fondo-claro);
      padding: 0rem;
      color: white;
    }

    .banner-destacado2 {
      height: 500px;

      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      text-align: left;
      position: relative;

      padding: 3rem;
      gap: 2rem;

      border-radius: 15px;
      border: solid 1px var(--ecot-fondo-claro);

      background-repeat: no-repeat;
      background-size: cover;
      background-position: right;
    }

    .banner-destacado2:hover {
      border-color: var(--ecot-verde-o);
    }

    .banner-destacado2:hover button {
      background-color: var(--ecot-naranjo-o);
      transform: translateY(-2px); /* Pequeño salto extra al hacer hover */
      box-shadow: 0 6px 20px rgba(255, 106, 0, 0.3);
    }

    .banner-destacado2 h2 {
      font-size: clamp(3rem, 1.36rem + 7.27vw, 6rem);
      font-family: "Lilita One";
    }
    .banner-destacado2 h2 a {
      color: #f9d2ee;
      text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.85);
    }

    .banner-destacado2 h2 a::after {
      content: "";
      position: absolute;
      /* Se estira a los 4 bordes del padre .banner-destacado */
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;

      /* Z-index para asegurar que esté sobre el fondo pero no tape otros links si los hubiera */
      z-index: 1;

      /* Opcional: ayuda a debuguear (luego lo borras) */
      /* background-color: rgba(255, 0, 0, 0.1); */
    }

    .banner-destacado2 span {
      max-width: 60ch;
      font-size: clamp(1rem, 0.93rem + 0.36vw, 1.2rem);

      line-height: 1.2;
      font-weight: 600;
      text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.85);
      color: white;
    }
  }
}
@layer banner-distribuidores {
  .banner-dist {
    height: auto;
    position: relative;
    overflow: hidden;
    background-image:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.4) 100%
      ),
      url("/wp-content/uploads/2026/06/handshake-scaled.webp");
    background-position: center;
    background-size: cover;
    padding: 2rem 0;
  }
  .banner-dist h2 {
    font-size: clamp(2rem, 2.5rem, 3rem);
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    font-weight: 800;
    text-wrap: balance;
    color: transparent;
    -webkit-text-stroke: 2px white;
  }
  .estrellas-1 {
    font-size: 2rem;
    text-align: center;
  }

  .banner-dist-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0;
    align-items: center;
    justify-content: center;

    color: white;
  }
  .banner-dist-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    z-index: 1;
  }

  .banner-dist-titulo {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
  }
  .banner-dist-texto {
    font-size: 1.3rem;
  }

  .banner-dist-container a {
    color: white;
    font-weight: 600;
    font-size: 1.3rem !important;
  }

  .banner-dist-container a:hover {
    text-decoration: none;
  }
  .banner-dis-img-container {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    height: 100%;
  }

  .banner-dis-img-container img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  @media (max-width: 768px) {
    .banner-dist-container {
      grid-template-columns: 1fr;
    }
    .banner-dis-img-container {
      height: 0px;
    }

    .banner-dist-container span {
      font-size: 1rem;
    }

    .banner-dist-container a {
      text-align: center;
    }
  }
}
@layer testimonial-b2b {
  .testimonial-b2b {
    background-color: var(--ecot-fondo-claro);
    padding: 2rem 0;
    position: relative;
  }
  .testimonial-b2b-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    padding: 2rem 0;
    gap: 2rem;
    position: relative;
  }
  .testimonial-nav {
    display: none;
  }
  .testimonial-titulo {
    z-index: 2;
    color: var(--ecot-verde-o);
    font-size: clamp(2rem, 2.32rem + 0.91vw, 2.5rem);
    padding: 2rem 0;
    text-align: center;
  }
  .testimonial-b2b-card {
    background: linear-gradient(
      to bottom,
      #ffffff 0%,
      #ffffff 66.66%,
      /* El blanco termina a los 2 tercios */ var(--ecot-verde-o) 66.66%,
      /* El color sólido empieza exactamente en el mismo punto */
        var(--ecot-verde-o) 100% /* Y llena el tercio restante hasta el final */
    );
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
  }

  .testimonial-b2b-card img {
    border-radius: 100vw;
    width: 150px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: solid 10px white;
  }
  .testimonial-b2b-card-texto {
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
    text-wrap: pretty;
    margin-bottom: 1rem;
  }
  .testimonial-b2b-card-empresa {
    color: white;
  }
  .testimonial-b2b-card-nombre {
    font-weight: 600;
    color: white;
  }
  @media (max-width: 768px) {
    .testimonial-b2b-container {
      display: flex; /* Cambia a flex para alinear en fila */
      flex-wrap: nowrap; /* Evita que bajen las tarjetas */
      overflow-x: auto; /* Activa el scroll horizontal */
      padding: 2rem 1rem; /* Padding lateral para que respiren las tarjetas en los bordes */
      gap: 1.5rem; /* Espaciado móvil ligeramente más compacto */
      scroll-snap-type: x mandatory;
      scrollbar-width: none; /* Oculta barra en Firefox */
    }

    .testimonial-b2b-container::-webkit-scrollbar {
      display: none; /* Oculta barra en Chrome/Safari */
    }

    .testimonial-b2b-card {
      flex: 0 0 85vw; /* Cada tarjeta ocupa el 85% del ancho de pantalla */
      scroll-snap-align: center; /* Se imanta al centro de la pantalla al deslizar */
    }

    .testimonial-nav {
      display: flex;
      position: absolute;
      right: 0;
      margin-right: 0.5rem;
      bottom: 40%;
      font-size: 2rem;
      background-color: var(--ecot-naranjo);
      color: white;
      border-radius: 100vw;
      line-height: 1;
      padding: 0.3rem;
      z-index: 10;
    }
  }
}
@layer comprar-nos {
  .comprar-nos-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 0;

    z-index: 10;
  }
  .comprar-nos-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .comprar-nos-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;
    text-wrap: pretty;
  }
  .comprar-nos-cards-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .comprar-nos-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .comprar-nos-card h3 {
    font-size: 1.4rem;
    color: var(--ecot-verde-o);
  }
  .comprar-nos-card span {
    font-size: 1.2rem;
  }
  .comprar-nos-cta {
    font-size: 2rem;
    color: var(--ecot-naranjo);
    text-decoration: underline;
    font-weight: 600;
    padding-top: 2rem;
    text-align: center;
  }
  .comprar-nos-cta:hover {
    text-decoration: none;
  }
  .bg-hojas {
    position: relative; /* Necesario para posicionar el fondo transparente */
  }

  .bg-hojas::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Tu imagen de fondo original */
    background-image: url("vecteezy_aesthetic-background-palm-leaf-abstract_17646062.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* ¡AQUÍ CONTROLAS LA OPACIDAD! (0.1 es 10%, 0.5 es 50%, etc.) */
    opacity: 0.5;

    /* Evita que el fondo bloquee los clics en tus enlaces o botones */
    pointer-events: none;
    z-index: 0;
  }

  @media (max-width: 768px) {
    .comprar-nos-container {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  }
}
@layer section-reviews {
  .reviews {
    background-color: #e1f1d4;
    padding: 2rem 0;
  }

  .reviews-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
  }

  .reviews-container h2 {
    font-size: 2rem;
  }

  .reviews-cards {
    display: grid;
    /* Crea 3 columnas del mismo tamaño */
    grid-template-columns: repeat(3, 1fr);

    /* Espacio entre las tarjetas */
    gap: 1rem;
    width: 100%;
  }

  .review-card {
    background-color: white;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;

    /* El Box Shadow sutil que pediste */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0; /* Un borde casi invisible para definirla mejor */
  }

  /* Cabecera: Logo y Estrellas */
  .revie-card-cabecera {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .revie-card-cabecera img {
    height: 20px; /* Tamaño pequeño para el logo de Google */
    width: auto;
  }

  .revie-card-cabecera span {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }

  /* El cuerpo del texto (la cita) */
  .review-card > span {
    color: #444;
    font-style: italic;
    line-height: 1.5;
    font-size: 0.95rem;
  }

  /* Footer: Foto y Nombre */
  .revie-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto; /* Empuja el footer siempre al fondo */
    padding-top: 10px;
    border-top: 1px solid #f5f5f5;
  }

  .revie-card-footer img {
    width: 45px;
    height: 45px;
    border-radius: 50%; /* Foto circular */
    object-fit: cover;
  }

  .revie-card-footer span {
    font-weight: 700;
    font-size: 0.9rem;
    color: #222;
  }

  @media (max-width: 768px) {
    .reviews-cards {
      display: flex; /* Cambiamos a flex para alinearlas en fila */
      overflow-x: auto; /* Habilitamos el scroll horizontal */
      scroll-snap-type: x mandatory; /* Hace que las tarjetas se "ajusten" al centro al soltar */
      gap: 16px; /* Espacio entre tarjetas */
      padding: 20px; /* Evita que las tarjetas toquen los bordes */
      scrollbar-width: none; /* Oculta scrollbar en Firefox */
    }

    .reviews-cards::-webkit-scrollbar {
      display: none; /* Oculta scrollbar en Chrome/Safari */
    }

    .review-card {
      flex: 0 0 85%; /* Cada tarjeta ocupa el 85% del ancho para dejar ver un poco de la siguiente */
      scroll-snap-align: center; /* Alineación del ajuste de scroll */
    }
  }
}

@layer scroll-anclas {
  /* Saltos de página suaves para TODO ancla del sitio (#enlace) */
  html {
    scroll-behavior: smooth;
    /* Header sticky (~136px: barra verde + barra blanca).
       Hace que el scroll NO deje la sección de destino tapada */
    scroll-padding-top: 150px;
  }

  /* Respiro extra para la sección del formulario de cotización:
     además del header, deja unos píxeles de espacio libre arriba */
  #form {
    scroll-margin-top: 20px;
  }
}
