/* ==========================================================================
   Platos de ducha ENMARCADOS - cat 88
   Sigue la convencion category-{ID}.css, asi que lo encola solo
   inc/cache-and-css.php. NO hay que anadir nada a functions.php para el CSS.

   Paleta corporativa: turquesa #4dd2d0 · petroleo #1a6c7a · verde #102e35
   Los .hero-btn se declaran aqui porque el tema no tiene regla global (fue lo
   que dejo los botones como texto suelto en pizarra el 1-sep-2026).
   ========================================================================== */

/* ---------- 1. Ocultar elementos legacy (patron del silo) ---------- */
.tax-product_cat.term-88 .woocommerce-breadcrumb,
.tax-product_cat.term-88 .woocommerce-products-header,
.tax-product_cat.term-88 .term-description {
    display: none;
}

/* ---------- 2. Hero ---------- */
.tax-product_cat.term-88 .pen-hero-sub {
    font-size: 1.08rem;
    line-height: 1.55;
    max-width: 46rem;
    margin: 0 0 1.4rem;
    color: #ffffff;
}

.tax-product_cat.term-88 .pen-hero-cifras {
    display: block;
    margin-top: .35rem;
    color: #4dd2d0;
    font-weight: 700;
}

.tax-product_cat.term-88 .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.tax-product_cat.term-88 .hero-btn {
    display: inline-block;
    padding: .8rem 1.6rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: .98rem;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}

.tax-product_cat.term-88 .hero-btn.primary { background: #4dd2d0; color: #102e35; }
.tax-product_cat.term-88 .hero-btn.primary:hover { background: #ffffff; }

.tax-product_cat.term-88 .hero-btn.secondary {
    background: transparent;
    color: #ffffff;
    box-shadow: inset 0 0 0 2px #ffffff;
}
.tax-product_cat.term-88 .hero-btn.secondary:hover { background: #ffffff; color: #102e35; }

/* ---------- 3. Franja de precio ---------- */
.tax-product_cat.term-88 .pen-price-band {
    background: #102e35;
    color: #ffffff;
    padding: 1.5rem 1rem;
}

.tax-product_cat.term-88 .pen-price-wrapper {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.tax-product_cat.term-88 .pen-price-line { margin: 0; font-size: 1.12rem; }
.tax-product_cat.term-88 .pen-price-line strong { color: #4dd2d0; }

.tax-product_cat.term-88 .pen-whatsapp-btn {
    display: inline-block;
    background: #4dd2d0;
    color: #102e35;
    font-weight: 700;
    padding: .7rem 1.3rem;
    border-radius: 6px;
    text-decoration: none;
}
.tax-product_cat.term-88 .pen-whatsapp-btn:hover { background: #ffffff; }

/* ---------- 4. Filtro ---------- */
.tax-product_cat.term-88 .pen-filter-shell {
    max-width: 1180px;
    margin: 1.8rem auto 0;
    padding: 0 1rem;
}

/* ---------- 5. Bloques de contenido ---------- */
.tax-product_cat.term-88 .pen-que-es,
.tax-product_cat.term-88 .pen-familias {
    background: #f6f9f9;
    padding: 2.8rem 1rem;
}

.tax-product_cat.term-88 .pen-vs,
.tax-product_cat.term-88 .pen-medidas {
    background: #ffffff;
    padding: 2.6rem 1rem;
}

.tax-product_cat.term-88 .pen-que-es-wrapper,
.tax-product_cat.term-88 .pen-familias-wrapper,
.tax-product_cat.term-88 .pen-vs-wrapper,
.tax-product_cat.term-88 .pen-medidas-wrapper {
    max-width: 1180px;
    margin: 0 auto;
}

.tax-product_cat.term-88 .pen-que-es-wrapper h2,
.tax-product_cat.term-88 .pen-familias-wrapper h2,
.tax-product_cat.term-88 .pen-vs-wrapper h2,
.tax-product_cat.term-88 .pen-medidas-wrapper h2 {
    color: #1a6c7a;
    margin: 0 0 .6rem;
}

.tax-product_cat.term-88 .pen-lead {
    color: #5d6f75;
    font-size: 1.05rem;
    margin: 0 0 1.6rem;
    max-width: 52rem;
}

.tax-product_cat.term-88 .pen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 1rem;
}

.tax-product_cat.term-88 .pen-card {
    background: #ffffff;
    border: 1px solid #e2eaec;
    border-top: 4px solid #4dd2d0;
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
}

.tax-product_cat.term-88 .pen-card-destacada { border-top-color: #1a6c7a; }

.tax-product_cat.term-88 .pen-card h3 {
    margin: 0 0 .5rem;
    font-size: 1.05rem;
    color: #102e35;
}

.tax-product_cat.term-88 .pen-card p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.55;
    color: #5d6f75;
}

/* ---------- 6. Tabla comparativa enmarcado / enrasado ---------- */
.tax-product_cat.term-88 .pen-tabla {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
    margin: 1rem 0 1.2rem;
    background: #ffffff;
}

.tax-product_cat.term-88 .pen-tabla th {
    background: #102e35;
    color: #ffffff;
    text-align: left;
    padding: .7rem .9rem;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.tax-product_cat.term-88 .pen-tabla td {
    padding: .7rem .9rem;
    border-bottom: 1px solid #e2eaec;
    color: #5d6f75;
}

.tax-product_cat.term-88 .pen-tabla td:first-child { color: #102e35; }

.tax-product_cat.term-88 .pen-vs-salida {
    background: #f2f7f8;
    border-left: 4px solid #4dd2d0;
    border-radius: 0 8px 8px 0;
    padding: .9rem 1.2rem;
    margin: 0;
}

.tax-product_cat.term-88 .pen-vs-salida a,
.tax-product_cat.term-88 .pen-medidas-nota a,
.tax-product_cat.term-88 .pen-card a {
    color: #1a6c7a;
    font-weight: 600;
    text-decoration: underline;
}

/* ---------- 7. Medidas ---------- */
.tax-product_cat.term-88 .pen-medidas-wrapper { text-align: center; }

.tax-product_cat.term-88 .pen-medidas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .7rem;
    margin: 1.2rem 0;
}

.tax-product_cat.term-88 .pen-medida-btn {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #cfe0e3;
    border-radius: 999px;
    padding: .6rem 1.25rem;
    font-weight: 700;
    color: #1a6c7a;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.tax-product_cat.term-88 .pen-medida-btn:hover {
    background: #1a6c7a;
    border-color: #1a6c7a;
    color: #ffffff;
}

.tax-product_cat.term-88 .pen-medidas-nota { color: #5d6f75; margin: 0; }

/* ---------- 8. Cabecera del listado ---------- */
.tax-product_cat.term-88 .product-loop-header {
    max-width: 1180px;
    margin: 2.2rem auto 1rem;
    padding: 0 1rem;
}

.tax-product_cat.term-88 .product-loop-header h2 { color: #1a6c7a; margin: 0 0 .3rem; }
.tax-product_cat.term-88 .product-loop-header p { color: #5d6f75; margin: 0; }

/* ---------- 9. Movil ---------- */
@media (max-width: 767px) {

    .tax-product_cat.term-88 .pen-price-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .tax-product_cat.term-88 .pen-tabla { font-size: .88rem; }
    .tax-product_cat.term-88 .pen-tabla th,
    .tax-product_cat.term-88 .pen-tabla td { padding: .55rem .6rem; }

    .tax-product_cat.term-88 .pen-medida-btn { padding: .5rem 1rem; font-size: .92rem; }
}
