/* Fiches produit Standard et VIP : sections du plan éditorial (étude SEO, mois 1, fiches A3 / A5).
   Complète style.css § 24 (fiche produit) ; chargée par [iptv_produit] (inc/product.php). */

/* Héros : texte et commande d'abord dans le DOM, scène toujours affichée en premier (gauche / haut), comme avant. */
.iptv-pd-hero-grid > .iptv-pd-media { order: -1; }

/* En-tête de section : sur-titre + H2 + chapeau */
.iptv-pd-head { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin-bottom: clamp(24px,3vw,32px); }
.iptv-pd-p { font-size: 17px; line-height: 1.7; color: var(--encre-3); margin: 0; }
.iptv-pd-p a, .iptv-pd-note a, .iptv-pd-point a, .iptv-pd-conds a, .iptv-product .iptv-small a {
	color: var(--violet); font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
.iptv-pd-p a:hover, .iptv-pd-note a:hover, .iptv-pd-point a:hover, .iptv-pd-conds a:hover { color: var(--violet-hover); }

/* Table des prix */
.iptv-pd-prices { background: #fff; border: 1px solid var(--bord); border-radius: var(--r-card); padding: clamp(18px,2.6vw,28px); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 22px 57px rgba(13,18,48,0.05); min-width: 0; }
.iptv-pd-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.iptv-pd-table th, .iptv-pd-table td { padding: 14px 10px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--filet-2); white-space: nowrap; }
.iptv-pd-table thead th { padding-top: 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--attenue); white-space: normal; }
.iptv-pd-table tbody th { font-family: var(--f-titre); font-size: 17px; font-weight: 800; color: var(--encre); }
.iptv-pd-table td { color: var(--encre-3); }
.iptv-pd-table td strong { font-family: var(--f-titre); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--encre); }
.iptv-pd-table tbody tr:last-child > * { border-bottom: 0; }
.iptv-pd-table tr.is-on > * { background: var(--lavande); }
.iptv-pd-table__act { width: 1%; text-align: right !important; }
.iptv-pd-pick { font: 700 14px var(--f-texte); color: var(--violet); background: #fff; border: 1px solid #e3dcff; border-radius: 12px; padding: 10px 16px; min-height: 44px; cursor: pointer; white-space: nowrap; }
.iptv-pd-pick:hover { background: var(--lavande); }
.iptv-pd-pick[aria-pressed="true"] { color: #fff; background: var(--violet); border-color: var(--violet); }
.iptv-pd-note { font-size: 15px; line-height: 1.65; color: var(--encre-3); margin: 0; }
@media (max-width: 519px) {
	.iptv-pd-table { font-size: 15px; }
	.iptv-pd-table th, .iptv-pd-table td { padding: 12px 6px; }
	.iptv-pd-table td strong { font-size: 18px; }
	.iptv-pd-table__act { display: none; }
}

/* Prix clair : 3 points */
.iptv-pd-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,260px),1fr)); gap: 16px; }
.iptv-pd-point { background: #fff; border: 1px solid var(--bord); border-top: 3px solid var(--violet); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.iptv-pd-point strong { font-family: var(--f-titre); font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--encre); }
.iptv-pd-point p { font-size: 15px; line-height: 1.65; color: var(--encre-3); margin: 0; }

/* Cartes inclus / non inclus, replay, remboursement */
.iptv-pd-card { background: #fff; border: 1px solid var(--bord); border-radius: var(--r-card); padding: clamp(24px,3vw,34px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.iptv-pd-card--craie { background: var(--craie); }
.iptv-pd-card__btn { align-self: flex-start; margin-top: auto; }
.iptv-pd-card .iptv-btn { white-space: normal; } /* libellés longs : retour à la ligne plutôt que débordement à 390 px */
.iptv-pd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.iptv-pd-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.6; color: var(--encre-2); }
.iptv-pd-list li > svg { flex-shrink: 0; margin-top: 4px; }
.iptv-pd-list strong { color: var(--encre); }
.iptv-pd-list--no li > b { flex-shrink: 0; width: 16px; text-align: center; font-weight: 800; color: #b4302a; }

/* Liens vers les guides (vrais liens explorables) */
.iptv-pd-links { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.iptv-pd-links a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--violet); background: #fff; border: 1px solid #e3dcff; border-radius: 999px; padding: 10px 16px; }
.iptv-pd-links a:hover { background: var(--lavande); color: var(--violet-hover); }

/* Vérificateur : lien guide + qualité */
.iptv-pd-chk-guide { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font: 700 14px var(--f-texte); color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.iptv-pd-chk-guide:hover { color: var(--violet-hover); }
.iptv-pd-chk-q { display: block; margin-top: 4px; font-size: 14px; color: var(--encre-3); }

/* VIP : conditions de la 4K */
.iptv-pd-conds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: pdc; }
.iptv-pd-conds li { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid var(--bord); border-radius: 18px; padding: 16px 18px; }
.iptv-pd-conds li::before { counter-increment: pdc; content: counter(pdc); flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 11px; background: linear-gradient(140deg, var(--pa, var(--violet)), var(--pa-deep, #0f2350)); color: #fff; font: 800 15px var(--f-titre); }
.iptv-pd-conds li > span { font-size: 15px; line-height: 1.6; color: var(--encre-3); }
.iptv-pd-conds strong { display: block; margin-bottom: 4px; font-family: var(--f-titre); font-size: 17px; font-weight: 800; color: var(--encre); }

/* Remboursement + questions */
.iptv-pd-end { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,360px),1fr)); gap: clamp(24px,4vw,44px); align-items: start; }

/* Dernière section avant le pied de page */
.iptv-pd-last { padding-bottom: clamp(64px,8vw,104px); }
