.home .site-below-header-wrap {
    display: none !important;
}
.home .site-primary-header-wrap {
    display: none !important;
}
/* CONTENEDOR GENERAL */
.cotizacion-wrapper {
    max-width: 1100px;
    margin: 0 auto 80px auto;
    padding: 30px;
}

/* TITULOS */
.cotizacion-wrapper h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
}

/* FORMULARIO */
.formulario-cotizacion {
    max-width: 600px;
    margin: 0 auto 80px auto;
    padding: 30px;
    background: #f9fafb;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.formulario-cotizacion p {
    margin-bottom: 18px;
}

.formulario-cotizacion label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.formulario-cotizacion input,
.formulario-cotizacion textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.formulario-cotizacion textarea {
    min-height: 90px;
}

/* CONTENEDOR CENTRADO */
.cotizacion-contenedor {
    max-width: 900px;
    margin: 0 auto;
}


/*CONTENEDOR GENERAL */
.cotizacion-wrapper {
    max-width: 1100px;
    margin: 0 auto 60px auto;
    padding: 30px;
}

/* TÍTULOS*/
.cotizacion-wrapper h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
    color: #222;
}

/* TABLA DE PRODUCTOS*/
.cotizacion-wrapper table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* ENCABEZADOS */
.cotizacion-wrapper table thead th {
    background-color: #f2f4f7; /* gris bajito */
    color: #333;
    text-align: center;
    padding: 14px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 1px solid #e1e6ee;
}

/* CELDAS */
.cotizacion-wrapper table td {
    text-align: center;
    padding: 14px;
    border-bottom: 1px solid #edf1f6;
    vertical-align: middle;
    font-size: 15px;
}

/* FILAS ALTERNADAS */
.cotizacion-wrapper table tbody tr:nth-child(even) {
    background: #fafbfc;
}

/* HOVER */
.cotizacion-wrapper table tbody tr:hover {
    background: #f1f5f9;
}

/* COLUMNA IMAGEN */
.cotizacion-wrapper table th:first-child,
.cotizacion-wrapper table td:first-child {
    width: 60px;
}

/* IMAGEN PRODUCTO */
.cotizacion-wrapper table td img {
    width: 32px !important;
    max-width: 32px !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

/*  TABLA DE TOTALES (DERECHA) */
.cotizacion-totales {
    max-width: 380px;
    margin: 30px 0 0 auto;
}

.cotizacion-totales table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.cotizacion-totales th,
.cotizacion-totales td {
    padding: 14px;
    border-bottom: 1px solid #edf1f6;
    font-size: 15px;
}

.cotizacion-totales th {
    text-align: left;
    font-weight: 500;
    color: #444;
}

.cotizacion-totales td {
    text-align: right;
    font-weight: 600;
}

/* TOTAL FINAL */
.cotizacion-totales tr:last-child td {
    font-size: 18px;
    color: #000000;
}

/* ===============================
   FORMULARIO
================================ */
.formulario-cotizacion {
    max-width: 600px;
    margin: 60px auto 80px auto;
    padding: 30px;
    background: #f9fafb;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.formulario-cotizacion p {
    margin-bottom: 18px;
}

.formulario-cotizacion label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.formulario-cotizacion input,
.formulario-cotizacion textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccd5e1;
    border-radius: 6px;
    font-size: 15px;
}

.formulario-cotizacion textarea {
    min-height: 110px;
}

/* BOTÓN */
.formulario-cotizacion button {
    background: #144E80;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    margin: 35px auto 0;
    transition: background .3s ease;
}

.formulario-cotizacion button:hover {
    background: #0f3c63;
}
.icono-azul {
  color: #0a1f44;
  font-size: 13px;
  margin-right: 4px;
}

/* Contenedor del producto */
.woocommerce ul.products li.product a {
    position: relative;
    display: block;
}

/* Imagen principal */
.woocommerce ul.products li.product a img.wp-post-image {
    transition: opacity .4s ease;
}

/* Segunda imagen */
.woocommerce ul.products li.product a img.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .4s ease;
}

/* Mostrar segunda imagen al pasar el mouse */
.woocommerce ul.products li.product a:hover img.hover-image {
    opacity: 1;
}

/* Ocultar principal al pasar el mouse */
.woocommerce ul.products li.product a:hover img.wp-post-image {
    opacity: 0;
}
/* Quitar límite de tamaño de imagen en productos */
.woocommerce div.product div.images img {
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce div.product .woocommerce-product-gallery { width: 35% !important; }
.woocommerce div.product .summary { width: 65% !important; 
}
/* Separar imagen de la descripción del producto */
.woocommerce div.product .woocommerce-product-gallery {
    padding-right: 50px;
}

.woocommerce div.product .summary {
    padding-left: 50px;
}

/* Centrar verticalmente imagen y texto */
.woocommerce div.product {
    align-items: center;
}
/* Reducir texto de "Para conocer precios..." */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 18px !important;
    font-weight: 500;
}
/*SOLO CATALOGO + CATEGORIAS + BUSCADOR (NO CARRUSEL)*/

/* Caja de imagen SOLO listado */
.archive.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.tax-product_cat ul.products li.product .woocommerce-LoopProduct-link,
.post-type-archive-product ul.products li.product .woocommerce-LoopProduct-link {
    display:block;
    height:280px;
    overflow:hidden;
}

/* Imagen sin recorte */
.archive.woocommerce ul.products li.product img,
.tax-product_cat ul.products li.product img,
.post-type-archive-product ul.products li.product img {
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center !important;
    background:#fff;
    padding:15px;
}

/* Forzar Astra solo archivos */
.archive .products img {
    object-fit:contain !important;
}


/* PRODUCTOS RELACIONADOS (PRODUCTO INDIVIDUAL)*/

.single-product .related ul.products li.product .woocommerce-LoopProduct-link{
    display:block;
    height:260px;
    overflow:hidden;
}

.single-product .related ul.products li.product img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center !important;
    background:#fff;
    padding:15px;
}

.single-product .related ul.products li.product{
    text-align:center;
}

.single-product .related ul.products li.product h2{
    margin-top:10px;
}

/* Ocultar meta blog */
.single-product .entry-meta,
.single-product .posted-on,
.single-product .byline,
.single-product .comments-link{
    display:none !important;
}


/* GRID SOLO TIENDA + CATEGORIAS + BUSCADOR*/

.post-type-archive-product ul.products,
.tax-product_cat ul.products,
.search-results ul.products{
    display:grid !important;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}


/*  TARJETAS BLANCAS SOLO TIENDA + CATEGORIAS*/

.post-type-archive-product ul.products li.product,
.tax-product_cat ul.products li.product,
.search-results ul.products li.product{
    background:#ffffff;
    border-radius:14px;
    padding:15px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

/* Hover */
.post-type-archive-product ul.products li.product:hover,
.tax-product_cat ul.products li.product:hover,
.search-results ul.products li.product:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 35px rgba(0,0,0,0.12);
}

/* Imagen tarjeta */
.post-type-archive-product ul.products li.product img,
.tax-product_cat ul.products li.product img,
.search-results ul.products li.product img{
    border-radius:10px;
}

/* Título producto */
.post-type-archive-product ul.products li.product h2,
.tax-product_cat ul.products li.product h2,
.search-results ul.products li.product h2{
    font-size:16px;
    margin-top:10px;
}

/* Precio azul */
.post-type-archive-product ul.products li.product .price,
.tax-product_cat ul.products li.product .price,
.search-results ul.products li.product .price{
    color:#3369c7;
    font-weight:bold;
}
/* === Igualar tarjetas SOLO dentro de .carrusel-home === */

/* Fuerza estiramiento de slides (Swiper) */
.carrusel-home .swiper-wrapper,
.carrusel-home .swiper-track{
  align-items: stretch !important;
}
.carrusel-home .swiper-slide{
  height: auto !important;
  display: flex !important;
}

/* Tarjeta: que sea una columna y ocupe todo el alto */
.carrusel-home li.product,
.carrusel-home .product{
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* Contenido dentro, en columna */
.carrusel-home .woocommerce-LoopProduct-link{
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

/* Imagen con alto fijo (sin recorte) */
.carrusel-home img{
  width: 100% !important;
  height: 240px !important;          /* cambia 220/240/260 */
  object-fit: contain !important;
  background: #fff;
}

/* Título a 2 líneas para que todas queden parejas */
.carrusel-home .woocommerce-loop-product__title,
.carrusel-home h2{
  line-height: 1.2 !important;
  min-height: 36px !important;
  max-height: 36px !important;
  overflow: hidden !important;
}

/* Precio/botón siempre al fondo */
.carrusel-home .price{
  margin-top: auto !important;
}