/*
 * ps-fiches.css — Protect Solaire
 * Complémentaire Bootstrap 5. On ne réinvente pas la roue,
 * on surcharge uniquement ce qui est spécifique aux fiches films.
 */

/* ── Police ── */
.ps-film-layout {
    font-family: "Noto Sans", system-ui, -apple-system, sans-serif;
    font-size: 14px;
    color: #333;
}

/* ── Masquer les blocs Woo natifs sur ces pages ── */
.ps-film-enabled .product .images,
.ps-film-enabled .product .summary {
    display: none !important;
}

/* ══════════════════════════════════════════════
   IMAGE HERO
══════════════════════════════════════════════ */
.ps-hero-img {
    max-height: 380px;
    object-fit: cover;
    object-position: center;
    display: block;
    width: 100%;
}

/* ══════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════ */
.ps-sidebar {
    background: #f5f5f5;
    border-right: 1px solid #e0e0e0;
    padding: 0 0 30px;
    min-height: 100%;
}

.ps-sidebar-root {
    background: #2a2522;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 16px 20px;
    letter-spacing: 0.04em;
}

/* Navigation niveau 2 */
.ps-nav-l2 {
    border-bottom: 1px solid #dedede;
}

.ps-nav-l2__link {
    display: block;
    padding: 10px 20px 9px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #555;
    text-decoration: none;
    transition: color .15s;
}
.ps-nav-l2__link:hover { color: #111; }
.ps-nav-l2.ps-active > .ps-nav-l2__link { color: #111; }

/* Navigation niveau 3 */
.ps-nav-l3 {
    background: #efefef;
    margin: 0;
    padding: 0;
}

.ps-nav-l3__item {
    border-top: 1px solid #e2e2e2;
}

.ps-nav-l3__link {
    display: block;
    padding: 7px 20px 7px 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    text-decoration: none;
    transition: color .15s;
}
.ps-nav-l3__link:hover { color: #111; }
.ps-nav-l3__item.ps-active > .ps-nav-l3__link { color: #222; }

/* Navigation produits (niveau 4) */
.ps-nav-products {
    background: #e8e8e8;
    padding: 4px 0;
    margin: 0;
}

.ps-nav-products li a {
    display: block;
    padding: 5px 20px 5px 40px;
    font-size: 11px;
    text-transform: uppercase;
    color: #777;
    text-decoration: none;
    transition: color .15s;
    position: relative;
}
.ps-nav-products li a:hover { color: #222; }

.ps-nav-products li.ps-current a {
    color: #111;
    font-weight: 700;
}

.ps-arrow {
    font-size: 10px;
    margin-right: 2px;
}

/* Mobile : sidebar au-dessus du contenu */
@media (max-width: 767px) {
    .ps-sidebar {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
}

/* ══════════════════════════════════════════════
   CONTENU FICHE
══════════════════════════════════════════════ */
.ps-content--film {
    padding: 20px 24px;
}

/* Intro */
.ps-intro__subtitle {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-bottom: 6px;
}

.ps-intro__text {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    max-width: 780px;
}

.ps-intro__sep {
    border-color: #d9d9d9;
    margin-top: 16px;
}

/* En-tête fiche */
.ps-chain {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin-bottom: 4px;
}

.ps-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0;
}

.ps-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: #f2f2f2;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
}
.ps-btn-download:hover { background: #e8e8e8; color: #111; }

/* Description courte */
.ps-lead {
    font-size: 14px;
    line-height: 1.65;
    color: #444;
}

/* ══════════════════════════════════════════════
   KPI RÉSUMÉ
══════════════════════════════════════════════ */
.ps-kpi {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid #ececec;
    border-radius: 4px;
    height: 100%;
}

.ps-kpi__icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
}

.ps-kpi__label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 3px;
}

.ps-kpi__value {
    font-size: 13px;
    font-weight: 700;
    color: #222;
}

.ps-emph { color: #f0a000; }

.ps-chip {
    font-size: 13px;
    font-weight: 700;
    color: #f0a000;
}

.ps-kpi__hint {
    font-size: 11px;
    color: #888;
    text-decoration: underline;
}

/* ══════════════════════════════════════════════
   SECTIONS : CONSTRUCTION + ENTRETIEN
══════════════════════════════════════════════ */
.ps-section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #333;
    border-bottom: 2px solid #e9e9e9;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.ps-layers-list {
    padding-left: 18px;
    margin: 0;
}

.ps-layers-list li {
    font-size: 13px;
    margin-bottom: 5px;
    line-height: 1.5;
    color: #444;
}

.ps-care-list li {
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.5;
    color: #444;
    padding-left: 14px;
    position: relative;
}
.ps-care-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #f0a000;
}

/* ══════════════════════════════════════════════
   TABLEAU TECHNIQUE
══════════════════════════════════════════════ */
.ps-note-mesure {
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
    font-style: italic;
}

.ps-tech-table th {
    font-weight: 600;
    font-size: 12px;
    color: #444;
    background: #f7f7f7;
    width: 60%;
}

.ps-tech-table td {
    font-size: 12px;
    color: #222;
    font-weight: 600;
}

/* ══════════════════════════════════════════════
   TABLEAU APPLICATION + LÉGENDE
══════════════════════════════════════════════ */
.ps-app-table td {
    font-size: 12px;
    vertical-align: middle;
}

.ps-app-table th {
    font-weight: 600;
    font-size: 12px;
    background: #f7f7f7;
}

.ps-app-value svg {
    display: block;
    margin: 0 auto;
}

.ps-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ps-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #555;
}

.ps-note-app {
    font-size: 11px;
    color: #777;
    font-style: italic;
}

/* ══════════════════════════════════════════════
   ALERTE FICHE MANQUANTE
══════════════════════════════════════════════ */
.ps-tech-sheet__missing {
    padding: 14px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 4px;
    font-size: 13px;
}
