/* =====================================================================
   SAZULIS - Fiche produit : en-tête compact, pack à composer, onglets
   (complète shop.css : variables --sh-*, .sh-btn, .sp-figure, .sp-box...)
   ===================================================================== */

/* ---------- En-tête ---------- */
.sh .pv-top { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 38px; align-items: start; }
.sh .pv-head h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 0.96; margin-bottom: 12px; }
.sh .pv-head .sp-desc { font-size: 1.08rem; margin-bottom: 18px; }
.sh .pv-head .sp-price { font-size: 3rem; margin-bottom: 8px; }
.sh .pv-head .sp-price-cdc { font-size: 1.5rem; }
.sh .pv-head .sp-notes { margin-bottom: 16px; }
.sh .pv-packlink { margin: 12px 0 0; }
.sh .pv-packlink a { color: var(--sh-mint); font-weight: 700; }

/* ---------- Pack à composer ---------- */
.sh .pv-pack { margin-top: 2.6rem; scroll-margin-top: 110px; }
.sh .pv-pack h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 4px; }
.sh .pv-pack > p { margin: 0 0 16px; }
.sh .pv-pack-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.sh .pv-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sh .pv-base { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; padding: 12px 16px; border: 2px solid var(--sh-accent); border-radius: 18px; background: rgba(255, 111, 63, 0.08); }
.sh .pv-base img { width: 52px; height: 52px; border-radius: 12px; object-fit: contain; background: #0a1421; flex: 0 0 auto; }
.sh .pv-base > div { display: grid; gap: 2px; justify-items: start; }
.sh .pv-base strong { font-size: 1rem; }
.sh .pv-base-note { color: var(--sh-muted); font-size: 0.82rem; }
.sh .pv-opt { position: relative; display: grid; grid-template-columns: 20px 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--sh-line); border-radius: 18px; background: rgba(255, 255, 255, 0.03); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.sh .pv-opt:hover { border-color: rgba(255, 162, 63, 0.5); }
.sh .pv-opt.is-checked, .sh .pv-opt:has(input:checked) { border-color: rgba(255, 111, 63, 0.65); background: rgba(255, 111, 63, 0.08); }
.sh .pv-opt input { width: 20px; height: 20px; accent-color: var(--sh-accent); cursor: pointer; }
.sh .pv-opt img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.sh .pv-opt-txt { display: grid; gap: 3px; justify-items: start; min-width: 0; }
.sh .pv-opt-txt strong { font-size: 0.95rem; line-height: 1.3; color: var(--sh-text); }
.sh .pv-opt-desc { color: var(--sh-muted); font-size: 0.8rem; line-height: 1.45; }
.sh .pv-opt-more { color: var(--sh-mint); font-size: 0.78rem; font-weight: 700; }
.sh .pv-opt-price { font-weight: 800; color: var(--sh-mint); white-space: nowrap; font-size: 0.9rem; }
.sh .pv-chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sh-warm); border: 1px solid rgba(255, 162, 63, 0.45); }
.sh .pv-chip-base { color: var(--sh-mint); border-color: rgba(29, 217, 183, 0.5); }

.sh .pv-recap { position: sticky; top: 110px; padding: 20px; border: 1px solid var(--sh-line); border-radius: 24px; background: rgba(10, 20, 34, 0.9); box-shadow: 0 30px 60px -36px #000; }
.sh .pv-recap-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.sh .pv-recap h3 { font-size: 1.7rem; }
.sh .pv-count { padding: 3px 10px; border-radius: 999px; background: linear-gradient(120deg, var(--sh-accent), var(--sh-warm)); color: #1a0e03; font-size: 0.75rem; font-weight: 800; white-space: nowrap; }
.sh .pv-recap ul { list-style: none; margin: 0 0 16px; padding: 0; }
.sh .pv-recap li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--sh-line); color: var(--sh-muted); font-size: 0.86rem; }
.sh .pv-recap li b { color: var(--sh-text); white-space: nowrap; }
.sh .pv-recap-btn { width: 100%; }
.sh .pv-recap-note { margin: 10px 0 0; font-size: 0.76rem; text-align: center; }

/* ---------- Onglets ---------- */
.sh .pv-tabs { margin-top: 2.6rem; }
.sh .pv-tablist { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; border: 1px solid var(--sh-line); border-radius: 20px; background: rgba(255, 255, 255, 0.03); }
.sh .pv-tablist button { padding: 11px 18px; border: 0; border-radius: 14px; background: transparent; color: var(--sh-muted); font: inherit; font-weight: 700; font-size: 0.92rem; cursor: pointer; transition: color 0.2s, background 0.2s; }
.sh .pv-tablist button:hover { color: var(--sh-text); background: rgba(255, 255, 255, 0.05); }
.sh .pv-tablist button.is-on { background: linear-gradient(120deg, var(--sh-accent), var(--sh-warm)); color: #1a0e03; }
.sh .pv-tablist button:focus-visible { outline: 3px solid var(--sh-warm); outline-offset: 2px; }
.sh .pv-panel { margin-top: 16px; }
/* Sans JavaScript : barre d'onglets masquée, tous les contenus affichés avec leur titre. */
.sh .pv-tabs:not(.is-tabbed) .pv-tablist { display: none; }
.sh .pv-tabs.is-tabbed .pv-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sh .pv-panel-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 24px 0 10px; }
.sh .pv-panel[hidden] { display: none; }
.sh .pv-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.sh .pv-cols .sp-box { margin-bottom: 0; }
.sh .pv-card { padding: 24px 26px; border: 1px solid var(--sh-line); border-radius: 24px; background: var(--sh-glass); }
.sh .pv-card h3 { font-size: 1.7rem; margin-bottom: 10px; }
.sh .pv-card h4 { margin: 18px 0 6px; font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 1.3rem; letter-spacing: 0.02em; color: var(--sh-text); }
.sh .pv-card p { margin: 0; }
.sh .pv-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sh .pv-list li { position: relative; padding-left: 26px; color: var(--sh-muted); line-height: 1.6; }
.sh .pv-list li::before { content: "✓"; position: absolute; left: 0; color: var(--sh-mint); font-weight: 800; }
.sh .pv-steps { margin: 0; padding: 0; list-style: none; counter-reset: pv-step; display: grid; gap: 14px; }
.sh .pv-steps li { counter-increment: pv-step; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.sh .pv-steps li::before { content: counter(pv-step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: linear-gradient(120deg, var(--sh-accent), var(--sh-warm)); color: #1a0e03; font-weight: 800; }
.sh .pv-steps strong { display: block; color: var(--sh-text); margin-bottom: 2px; }
.sh .pv-steps span { color: var(--sh-muted); line-height: 1.6; }
.sh .pv-faq details { border-top: 1px solid var(--sh-line); padding: 14px 0; }
.sh .pv-faq details:first-of-type { border-top: 0; padding-top: 4px; }
.sh .pv-faq summary { cursor: pointer; color: var(--sh-text); font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.sh .pv-faq summary::-webkit-details-marker { display: none; }
.sh .pv-faq summary::after { content: "+"; color: var(--sh-warm); font-weight: 800; }
.sh .pv-faq details[open] summary::after { content: "–"; }
.sh .pv-faq details p { margin-top: 8px; color: var(--sh-muted); }

/* ---------- Mobile / tablette ---------- */
@media (max-width: 1080px) {
  .sh .pv-pack-grid { grid-template-columns: minmax(0, 1fr); }
  .sh .pv-recap { position: static; }
}
@media (max-width: 860px) {
  .sh .pv-top { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sh .pv-opts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .sh .pv-opt { grid-template-columns: 20px 44px minmax(0, 1fr); }
  .sh .pv-opt img { width: 44px; height: 44px; }
  .sh .pv-opt-price { grid-column: 3; justify-self: start; }
  .sh .pv-tablist button { flex: 1 1 auto; padding: 10px 12px; }
}
