/* ================================
   _layout.css — ESTILOS DE ESTRUCTURA Y LAYOUT GLOBAL
================================== */

/* ========= INDICE =========
0. BODY
1. TENEMOS-TODO
2. BANNER-1
3. OPINIONES
4. COMPARADOR
5. CARRUSEL-BANNER
6. PRODUCTOS-RELACIONADOS
7. SEPARADOR
=========================== */



/* ================================
BODY
================================== */
body {
font-family: 'Montserrat', Arial, sans-serif;
/* display: flex; */
flex-direction: column;
justify-content: center;
/* padding: 0.5rem 0rem; */
overflow-x: hidden;
/* gap: 1rem; */
}


.linea-separadora {
  height: 1px;
  background-color: #ccc;
  /* margin-bottom: 0.5rem; */
}

/* ================================
SECCION: TENEMOS-TODO (Responsive)
================================== */
/* .tenemos-todo {

  --icon-size: clamp(56px, 12vw, 96px);
  --txt-color: #1C244B;
}


.tenemos-todo .titulo-con-separador{
  display:flex;
  flex-direction:column;

  align-items:stretch;

}
.tenemos-todo .titulo-box{
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  font-weight:800;
  color: var(--txt-color);
  padding:.7rem 1.2rem;
  border:2px solid var(--txt-color);
  border-radius:14px;
}

.tenemos-todo .linea-separador-tenemos{ display:block; }
.tenemos-todo .linea-separador-tenemos{
  height:2px;
  background: var(--txt-color);
  width:100%;
}


.tenemos-todo .categorias{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: var(--gap);
  align-items:start;
}
.tenemos-todo .item{
  display:grid;
  place-items:center;
  text-align:center;
  gap:.5rem;
  padding:.5rem;
  border-radius:10px;
}
.tenemos-todo .item img{
  width: var(--icon-size);
  height:auto;
  display:block;
}

  .tenemos-todo .item img{
    width: clamp(56px, 6vw, 90px);
  }

.tenemos-todo .item p{
  margin:0;
  font-weight:600;
  color: var(--txt-color);
  font-size: clamp(.75rem, 2.9vw, .9rem);
}


.tenemos-todo .item--editor{ border:1px dashed #cfd6df; }


@media (min-width:480px){
  .tenemos-todo .categorias{
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
  .tenemos-todo .titulo-box{
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  }
}

@media (min-width:480px) and (max-width:767.98px){
  .tenemos-todo .linea-separador-tenemos{ display:none; }
}

@media (min-width:768px){
  .tenemos-todo .titulo-con-separador{
    display:grid;
    grid-template-columns:auto 1fr;
    align-items:center;
    margin:1rem 0 1.5rem;
  }
  .tenemos-todo .categorias{
    grid-template-columns: repeat(6, minmax(0,1fr));
  }
  .tenemos-todo .item{ padding:.75rem; }
  .tenemos-todo .item p{ font-size: clamp(.8rem, 1.2vw, 1rem); }
}


@media (min-width:1024px){
  .tenemos-todo{
    --icon-size: clamp(70px, 7vw, 96px);
  }
  .tenemos-todo .categorias{
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }
}


@media (min-width:1200px){
  .tenemos-todo .categorias{
    display:grid;
    grid-template-columns: repeat(11, minmax(0,1fr));
    gap: 1rem;
  }
}

@media (min-width:1280px){
  .tenemos-todo .categorias{ gap: 1rem; }
} */



/* ================================
SECCION: BANNER-1
================================== */
    /* .banner-alquiler {
      display: flex;
      width: auto;
      height: 28.3125rem;
      background-color: #003966;
      color: #fff;
      overflow: hidden;
      border-radius: 0.5rem;
    }

    .banner-imagen {
      flex: 1;
    }

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

    .banner-contenido {
      flex: 1;
      padding: 2rem;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 2rem;
    }

    .banner-contenido h2 {
      font-size: 1.25rem;
      font-weight: 700;
      margin: 0;
    }

    .banner-contenido .descripcion {
      font-size: 0.875rem;
      font-weight: 400;
      line-height: 1.5;
      margin: 0;
    }

    .banner-contenido ul {
      margin: 0.5rem 0 1rem;
      padding-left: 1.2rem;
    }

    .banner-contenido ul li {
      font-size: 1rem; 
      font-weight: 700;
      margin-bottom: 0.4rem;
      list-style: disc;
    }

    .btn-vermas {
    align-self: flex-end;
    margin-top: auto;
    padding: 0.5rem 1.5rem;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background 0.3s;
    }


    .btn-vermas:hover {
      background: #fff;
      color: #003866;
    } */

/* ================================
SECCION: OPINIONES
================================== */
/* .opiniones-section {
  padding: 2rem;
  max-width: 100%;
  overflow-x: hidden;
}

.opiniones-title-box {
  border: 4px solid #06305b;
  padding: 0rem 0rem;
  text-align: center;
  width: 80%;
  margin: 0 auto 1rem auto;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top-left-radius: 90px;
  border-bottom-right-radius: 90px;
}

.opiniones-title {
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  color: #777;
}

.google-logo {
  height: 1.5rem;
  vertical-align: middle;
}

.opiniones-subtitle{
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  color: #777; 
}*/

/* Carrusel */
/* .opiniones-carrusel {
  overflow: hidden;
  position: relative;
}

.opiniones-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 20s linear infinite;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
} */

/* Tarjetas */
/* .opinion-card {
  min-width: 300px;
  width: 16.406rem;
  border: 2px solid #11204C;
  border-radius: 1rem;
  padding: 1rem;
  margin-right: 0.625rem;
  flex-shrink: 0;
  box-sizing: border-box;
  background: #fff;
  text-align: center;
}

.user-avatar {
  width: 50px;
  height: 50px;
  background: #ccc;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background-size: cover;
  background-position: center;
}

.date {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.stars {
  color: gold;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.comment {
  font-size: 0.9rem;
  color: #333;
}

@media screen and (max-width: 768px) {
  .opiniones-title-box
  {
    display: none !important;
  }
}

.opiniones-section.is-editor-preview .opiniones-list{
  display:flex; flex-wrap:wrap; gap:24px; justify-content:center;
}
.opiniones-section.is-editor-preview .opinion-card{
  width:300px; border-radius:16px; padding:16px; border:2px solid #0e3152;
}
.opiniones-section.is-editor-preview .opinion-avatar{
  width:44px; height:44px; border-radius:50%; overflow:hidden; background:#eee;
} */



/* ================================
   SECCION: COMPARADOR
================================== */
/* .comparador-productos {
  padding: 0rem 2rem;
}

.comparador-productos h2 {
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
  color: #1C244B;
}

.comparador-productos p {
  color: #5A5A5A;
  margin-bottom: 1rem;
}

.separador {
  border: none;
  height: 1px;
  background-color: #ccc;
  margin-bottom: 2rem;
} */

/* ====== TABLA ====== */
/* Grid dinámico: columnas = 1 (base) + N relacionados */
/* .tabla-comparador {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)) !important;
  column-gap: 0.94rem;
  row-gap: 0;
  margin-top: 1rem;
} */

/* Fila 1 (imágenes) sin fondo ni padding */
/* .tabla-comparador .fila-1 {
  background: transparent !important;
  margin-bottom: 0;
  padding: 0;
} */

/* A partir de la fila 3 añadimos un pequeño espacio superior */
/* .tabla-comparador .fila-3,
.tabla-comparador .fila-4,
.tabla-comparador .fila-5,
.tabla-comparador .fila-6 {
  margin-top: 0.5rem;
} */

/* Celdas: por defecto TODAS claras */
/* .celda {
  background: #EAEAEA;
  padding: 1rem;
  font-size: 0.9rem;
} */

/* Si tienes .fondo-gris, que mantenga el mismo color claro */
/* .fondo-gris { background-color: #EAEAEA !important; } */

/* Imagen del producto */
/* .producto-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
} */

/* ====== COLORES POR COLUMNA ====== */
/* Primera columna (producto base) SIEMPRE oscura en filas 2..6 */
/* .comparador-productos .tabla-comparador .celda.col-1:not(.fila-1) {
  background: #5A5A5A !important;
  color: #fff !important;
} */

/* Forzamos texto legible sobre la base oscura */
/* .comparador-productos .tabla-comparador .celda.col-1:not(.fila-1) *,
.comparador-productos .tabla-comparador .celda.col-1:not(.fila-1) a,
.comparador-productos .tabla-comparador .celda.col-1:not(.fila-1) strong,
.comparador-productos .tabla-comparador .celda.col-1:not(.fila-1) span,
.comparador-productos .tabla-comparador .celda.col-1:not(.fila-1) p {
  color: #fff !important;
} */

/* ====== ANULAR REGLAS ANTIGUAS BASADAS EN nth-child ====== */
/* Si existía un patrón pensado para 4 columnas, lo neutralizamos */
/* .tabla-comparador .celda:nth-child(4n+1) {
  background: unset;
} */


/* ================================
SECCION: CARRUSEL-BANNER
================================== */

/* ================================
SECCION: PRODUCTOS-RELACIONADOS
================================== */

/* .productos-relacionados h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-left: 3rem;
}

.contenedor-relacionados {
  width: 100%;
  max-width: 100%;
  padding: 0 1.5rem; 
  box-sizing: border-box;
  overflow: hidden;/
}

.carrusel-relacionados {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.tarjeta-producto {
  width: 11rem;
  background: #fff;
  box-shadow: 0 2px 12px rgba(28,36,75,0.10);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tarjeta-producto img {
  width: 100%;
  height: auto;
}

.contenido-producto {
  margin-top: 0px;
  border: 2px solid #BCC1C3;
  border-top: 0;
  background: #fff;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  min-height: 150px;
}

.nombre-producto {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  color: #1C244B;
  text-align: center;
  text-decoration: none;
}

.precio-producto {
  font-size: 0.9rem;
  font-weight: 800;
  color: #000;
}

.btn-carrito,
.add_to_cart_button {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: #0F1B31;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 22px;
  padding: .55rem .75rem;
  font-size: .8rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-carrito:hover,
.add_to_cart_button:hover {
  background: #fff;
  color: #0F1B31;
  border-color: #0F1B31;
}

@media (max-width: 1200px) {
  .img-wrap { height: 160px; }
}
@media (max-width: 768px) {
  .carrusel-relacionados { grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); }
  .img-wrap { height: 150px; }
} */

/* ================================
SECCION: SEPARADOR
================================== */

.separador-linea {
  margin-top: 2rem;
  margin-bottom: 2rem;
  flex-grow: 1;
  height: 2px;
  background-color: #1C244B;
}

















/* Single del CPT seccion */
.single-seccion .encabezado-seccion .titulo-seccion { 
  display: none !important; 
}



.single-seccion .encabezado-seccion .linea-separadora { 
  display: none !important; 
}
.single-seccion .encabezado-seccion { 
  margin: 0 !important; 
  padding: 0 !important; 
  border: 0 !important; 
}
