/* ============================================================
   ALPARMOR — Fiche produit
   ============================================================ */

/* Navbar toujours visible sur la fiche produit */
.navbar.scrolled:not(.navbar-light) {
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-active { color: var(--text-dark) !important; font-weight: 700 !important; }

/* ============ BREADCRUMB ============ */
.breadcrumb {
  background: var(--light);
  border-bottom: 1px solid var(--border-light);
  margin-top: 68px;
}
.breadcrumb-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.breadcrumb-inner a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-inner span:last-child { color: var(--text-dark); font-weight: 600; }

/* ============ PRODUCT HERO ============ */
.ph-section {
  background: var(--white);
  padding: 60px 24px 80px;
}
.ph-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  gap: 72px;
  align-items: flex-start;
}

/* ---- Galerie ---- */
.ph-gallery {
  flex: 1;
  position: sticky;
  top: 88px;
}

.ph-main-visual {
  background: linear-gradient(145deg, #f8f9fb, #eef0f4);
  border-radius: 24px;
  border: 1px solid var(--border-light);
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}
.ph-main-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(234,179,8,0.06), transparent);
}

.ph-pack-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-pack {
  width: 240px;
  height: 320px;
  cursor: default;
  transform-style: preserve-3d;
  will-change: transform;
  animation: floatPack 5s ease-in-out infinite;
}

.ph-pack-face {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #78350f, #d97706, #92400e);
  border-radius: 22px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow:
    0 32px 64px rgba(0,0,0,0.2),
    0 0 0 1px rgba(255,255,255,0.1),
    inset 0 1px 0 rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.ph-pack-face::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent);
  border-radius: 22px 22px 0 0;
}

.ph-brand {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 5px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
  position: relative;
}
.ph-origin {
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
  position: relative;
}

.ph-films-visual {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  position: relative;
}
.ph-film {
  border-radius: 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 6px 10px;
}
.ph-film-1 { height: 68px; }
.ph-film-2 { height: 52px; opacity: 0.7; }

.ph-film-shine {
  position: absolute;
  top: 0; left: -40%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: shine 3s ease-in-out infinite;
}
.ph-film-2 .ph-film-shine { animation-delay: 0.9s; }

.ph-film-label {
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  position: relative;
}

.ph-pack-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--white);
  margin-top: 16px;
  position: relative;
}
.ph-pack-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  margin-top: 3px;
  position: relative;
}
.ph-pack-tag {
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
  margin-top: 8px;
  position: relative;
}

.ph-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
}

.ph-pack-glow {
  position: absolute;
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  width: 160px; height: 32px;
  background: radial-gradient(ellipse, rgba(234,179,8,0.35), transparent 70%);
  filter: blur(8px);
}

/* Thumbnails */
.ph-thumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.ph-thumb {
  flex: 1;
  background: var(--light);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  aspect-ratio: 4/3;
}
.ph-thumb:hover { border-color: #d1d5db; }
.ph-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234,179,8,0.12);
}
.ph-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph-thumb-icon { font-size: 1.3rem; margin-bottom: 4px; }

/* Image transition */
.ph-hero-img {
  transition: opacity 0.2s ease;
}

/* Gallery arrows */
.ph-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  opacity: 0;
}
.ph-main-visual:hover .ph-arrow {
  opacity: 1;
}
.ph-arrow:hover {
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  transform: translateY(-50%) scale(1.08);
}
.ph-arrow:active {
  transform: translateY(-50%) scale(0.95);
}
.ph-arrow-left  { left: 14px; }
.ph-arrow-right { right: 14px; }

/* Gallery dots */
.ph-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}
.ph-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.ph-dot.active {
  background: var(--accent);
  transform: scale(1.25);
}

/* Mobile: arrows always visible */
@media (max-width: 700px) {
  .ph-arrow {
    opacity: 1;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.85);
  }
  .ph-arrow-left  { left: 10px; }
  .ph-arrow-right { right: 10px; }
  .ph-dots { bottom: 10px; }
  .ph-dot { width: 6px; height: 6px; }
}

/* Badges */
.ph-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ph-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--light);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.ph-badge-icon { font-size: 0.9rem; }

/* ---- Infos produit ---- */
.ph-info { flex: 1; }

.ph-tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.ph-cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ph-new {
  background: var(--accent);
  color: #1a1000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 1px;
}

.ph-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.ph-title span { color: var(--accent); }

.ph-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.ph-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}
.ph-stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; }
.ph-rating-text { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* Prix */
.ph-price-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.ph-price {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-dark);
}
.ph-price-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.ph-saving {
  display: block;
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  width: fit-content;
}

/* Pack selector */
.ph-options { margin-bottom: 24px; }
.ph-option-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.ph-packs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ph-pack-opt {
  background: var(--light);
  border: 2px solid var(--border-light);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.ph-pack-opt:hover { border-color: #d1a91a; }
.ph-pack-opt.active {
  border-color: var(--accent);
  background: rgba(234,179,8,0.05);
  box-shadow: 0 0 0 3px rgba(234,179,8,0.12);
}

.ph-po-popular {
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #1a1000;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
}
.ph-po-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 10px;
}
.ph-po-films {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 3px 0 8px;
}
.ph-po-price {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-dark);
}
.ph-po-ship {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.ph-cta-row { margin-bottom: 24px; }
.ph-cta { width: 100%; justify-content: center; font-size: 1rem; padding: 16px 28px; }

/* Sticky mobile CTA bar */
.ph-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 190;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.ph-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ph-sticky-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ph-sticky-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}
.ph-sticky-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}
.ph-sticky-btn {
  padding: 11px 20px !important;
  font-size: 0.82rem !important;
  white-space: nowrap;
  gap: 6px !important;
}

/* Garanties */
.ph-guarantees {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
}
.ph-g {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  border-right: 1px solid var(--border-light);
}
.ph-g:last-child { border-right: none; }
.ph-g-icon { font-size: 1.4rem; flex-shrink: 0; }
.ph-g-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}
.ph-g-sub { font-size: 0.7rem; color: var(--text-muted); }

/* ============ CONTENU DU PACK ============ */
.contents-section {
  background: var(--light);
  padding: 100px 24px;
  border-top: 1px solid var(--border-light);
}
.contents-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.contents-inner > .section-tag,
.contents-inner > .section-title {
  display: block;
  text-align: center;
  margin-left: auto; margin-right: auto;
}
.contents-inner > .section-title { margin-bottom: 56px; }

.contents-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.content-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.2s;
}
.content-item:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
  transform: translateY(-4px);
}

.ci-visual {
  width: 80px; height: 80px;
  border-radius: 16px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.ci-film    { background: rgba(234,179,8,0.1); }
.ci-spatula { background: rgba(59,130,246,0.08); }
.ci-cloth   { background: rgba(168,85,247,0.08); }
.ci-wipe    { background: rgba(34,197,94,0.08); }
.ci-guide   { background: rgba(239,68,68,0.08); }

.ci-visual svg      { width: 28px; height: 28px; stroke-width: 1.75; }

.ci-qty {
  display: inline-block;
  background: var(--accent);
  color: #1a1000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.ci-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.ci-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============ SPECS TECHNIQUES ============ */
.tech-section {
  background: var(--dark);
  padding: 100px 24px;
}
.tech-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}
.tech-left { flex: 1; }
.tech-left .section-title { margin-bottom: 20px; }
.tech-desc {
  color: rgba(255,255,255,0.45);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 40px;
}

.tech-highlight {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.th-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 20px;
}
.th-val {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.th-key {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

.tech-right { flex: 1.2; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
}
.spec-table tr:hover { background: rgba(255,255,255,0.03); }
.spec-table tr:last-child { border-bottom: none; }

.st-key {
  padding: 14px 16px 14px 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  width: 38%;
}
.st-val {
  padding: 14px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
}

/* ============ COMPATIBILITE ============ */
.pc-section {
  padding: 100px 24px;
  background: var(--white);
}
.pc-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.pc-inner > .section-tag,
.pc-inner > .section-title {
  display: block;
  text-align: center;
  margin-left: auto; margin-right: auto;
}
.pc-inner > .section-title { margin-bottom: 56px; }

.pc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}
.pc-card {
  background: var(--light);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pc-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
  transform: translateY(-4px);
}
.pc-icon { font-size: 2rem; margin-bottom: 16px; }
.pc-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }
.pc-card p  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.pc-check {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}

.brands-section { text-align: center; }
.brands-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.brand-pill {
  background: var(--light);
  border: 1.5px solid var(--border-light);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.brand-pill:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(234,179,8,0.15);
}
.brand-pill-more {
  background: rgba(234,179,8,0.08);
  border-color: rgba(234,179,8,0.3);
  color: var(--accent);
}

/* ============ PROTECTION ============ */
.prot-section {
  background: var(--dark);
  padding: 100px 24px;
}
.prot-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.prot-inner > .section-tag,
.prot-inner > .section-title {
  display: block;
  text-align: center;
  margin-left: auto; margin-right: auto;
}
.prot-inner > .section-title { margin-bottom: 56px; }

.prot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.prot-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 32px 28px;
  transition: border-color 0.2s, background 0.2s;
}
.prot-item:hover {
  border-color: rgba(234,179,8,0.25);
  background: rgba(255,255,255,0.06);
}
.prot-icon { font-size: 2rem; margin-bottom: 16px; }
.prot-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.prot-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}

/* ============ INSTALLATION ============ */
.install-section {
  padding: 100px 24px;
  background: var(--white);
}
.install-inner {
  max-width: 860px;
  margin: 0 auto;
}
.install-inner > .section-tag,
.install-inner > .section-title {
  display: block;
  text-align: center;
  margin-left: auto; margin-right: auto;
}
.install-inner > .section-title { margin-bottom: 60px; }

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.install-step {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}
.install-step:last-child { border-bottom: none; }

.is-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(234,179,8,0.2);
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
  width: 72px;
  text-align: right;
  padding-top: 4px;
}
.is-body { flex: 1; }
.is-icon { font-size: 1.8rem; margin-bottom: 12px; }
.is-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.is-body p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }

.is-tip {
  background: rgba(234,179,8,0.07);
  border: 1px solid rgba(234,179,8,0.2);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============ LUCIDE ICONS ============ */
.ph-badge svg       { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; }
.ph-g-icon svg      { width: 20px; height: 20px; stroke: var(--accent); stroke-width: 1.75; }
.ph-thumb-icon svg  { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.75; }
.pc-icon svg        { width: 32px; height: 32px; stroke: var(--accent); stroke-width: 1.5; }
.pc-check svg       { width: 12px; height: 12px; stroke: #15803d; stroke-width: 2.5; vertical-align: middle; margin-right: 3px; }
.prot-icon svg      { width: 28px; height: 28px; stroke: var(--accent); stroke-width: 1.75; }
.is-icon svg        { width: 28px; height: 28px; stroke: var(--accent); stroke-width: 1.75; }
.is-tip svg         { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; vertical-align: middle; margin-right: 4px; }
.trust-b svg        { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; vertical-align: middle; margin-right: 6px; }
.ci-film svg        { stroke: var(--accent); }
.ci-spatula svg     { stroke: #3b82f6; }
.ci-cloth svg       { stroke: #a855f7; }
.ci-wipe svg        { stroke: #22c55e; }
.ci-guide svg       { stroke: #ef4444; }

/* ---- Global overflow guard (product page) ---- */
.ph-section,
.contents-section,
.tech-section,
.pc-section,
.prot-section,
.install-section {
  max-width: 100vw;
  overflow-x: hidden;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .ph-inner         { flex-direction: column; gap: 48px; }
  .ph-gallery       { position: static; }
  .contents-grid    { grid-template-columns: repeat(3, 1fr); }
  .tech-inner       { flex-direction: column; gap: 48px; }
  .pc-grid          { grid-template-columns: repeat(2, 1fr); }
  .prot-grid        { grid-template-columns: repeat(2, 1fr); }
  .ph-packs         { grid-template-columns: repeat(3, 1fr); }
  .ph-guarantees    { flex-direction: column; }
  .ph-g             { border-right: none; border-bottom: 1px solid var(--border-light); }
  .ph-g:last-child  { border-bottom: none; }
}

/* --- Mobile pro layout: image full → infos → sticky CTA --- */
@media (max-width: 700px) {
  .ph-section       { padding-top: 72px; padding-bottom: 100px; }
  .ph-inner         { flex-direction: column; gap: 0; }
  .breadcrumb       { display: none; }

  /* Image pleine largeur, bord à bord */
  .ph-gallery       { position: static; width: 100%; }
  .ph-main-visual {
    border-radius: 16px;
    margin: 0 12px;
    height: auto;
    margin-bottom: 0;
  }
  .ph-hero-img {
    object-fit: contain;
  }
  .ph-hero-img {
    border-radius: 16px;
  }
  .ph-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 16px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ph-thumb {
    min-width: 80px;
    max-width: 100px;
    flex-shrink: 0;
    border-radius: 10px;
  }
  .ph-badges {
    padding: 10px 16px 0;
    gap: 6px;
  }
  .ph-badge         { font-size: 0.6rem; padding: 4px 8px; }

  /* Infos sous l'image */
  .ph-info          { padding: 14px 16px 0; }
  .ph-tag-row       { margin-bottom: 8px; }
  .ph-cat           { font-size: 0.65rem; }
  .ph-new           { font-size: 0.58rem; }
  .ph-title         { font-size: 1.5rem; margin-bottom: 8px; }
  .ph-tagline       { font-size: 0.85rem; margin-bottom: 14px; }
  .ph-rating        { margin-bottom: 16px; padding-bottom: 16px; }
  .ph-stars         { font-size: 0.9rem; }
  .ph-rating-text   { font-size: 0.72rem; }
  .ph-price         { font-size: 1.8rem; }
  .ph-saving        { font-size: 0.62rem; }
  .ph-price-note span:last-child { font-size: 0.68rem; }

  /* Packs en ligne (3 colonnes compactes) */
  .ph-option-label  { font-size: 0.68rem; }
  .ph-packs         { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ph-pack-opt      { padding: 10px 6px; border-radius: 10px; }
  .ph-po-name       { font-size: 0.78rem; }
  .ph-po-films      { font-size: 0.62rem; }
  .ph-po-price      { font-size: 0.9rem; }
  .ph-po-ship       { font-size: 0.58rem; }
  .ph-po-popular    { font-size: 0.5rem; }

  /* CTA principal caché (remplacé par sticky bar) */
  .ph-cta-row       { display: none; }

  /* Sticky CTA bar */
  .ph-sticky-cta    { display: block; }

  /* Garanties en ligne */
  .ph-guarantees    { flex-direction: row; border-radius: 10px; overflow: hidden; }
  .ph-g             { padding: 10px 6px; border-right: 1px solid var(--border-light); border-bottom: none; min-width: 0; }
  .ph-g:last-child  { border-right: none; }
  .ph-g-icon        { display: none; }
  .ph-g strong      { font-size: 0.68rem; }
  .ph-g span        { font-size: 0.55rem; }
}

@media (max-width: 600px) {
  /* --- Layout --- */
  .ph-main          { padding: 0 12px; }
  .ph-section       { padding: 72px 12px 40px; overflow-x: hidden; }
  .ph-inner         { gap: 32px; }

  /* --- Product header --- */
  .ph-title         { font-size: clamp(1.4rem, 5vw, 2rem); }
  .ph-tagline       { font-size: 0.82rem; }
  .ph-cat           { font-size: 0.65rem; letter-spacing: 1.5px; }
  .ph-price         { font-size: 1.6rem; }
  .ph-price-block   { flex-wrap: wrap; gap: 10px; }
  .ph-price-note    { font-size: 0.7rem; }
  .ph-saving        { font-size: 0.68rem; padding: 4px 8px; }
  .ph-rating        { font-size: 0.72rem; }
  .ph-badges        { gap: 6px; }
  .ph-badge         { font-size: 0.62rem; padding: 4px 8px; }

  /* --- Packs --- */
  .ph-packs         { grid-template-columns: 1fr; gap: 8px; }
  .ph-pack-label    { font-size: 0.85rem; }
  .ph-pack-price    { font-size: 0.9rem; }
  .ph-thumbs        { display: flex; }

  /* --- CTA --- */
  .ph-cta           { font-size: 0.85rem; padding: 13px 20px; }

  /* --- Guarantees --- */
  .ph-g             { padding: 12px; }
  .ph-g strong      { font-size: 0.78rem; }
  .ph-g span        { font-size: 0.68rem; }

  /* --- Contents box --- */
  .contents-grid    { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cb-name          { font-size: 0.78rem; }
  .cb-desc          { font-size: 0.68rem; }

  /* --- Tech specs --- */
  .tech-section     { overflow-x: hidden; }
  .tech-highlight   { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .th-val           { font-size: 1.2rem; }
  .th-label         { font-size: 0.68rem; }
  .spec-row         { font-size: 0.78rem; padding: 10px 0; }
  .st-key           { white-space: normal; width: auto; font-size: 0.72rem; padding-right: 8px; }
  .st-val           { font-size: 0.78rem; }
  .spec-table       { table-layout: fixed; width: 100%; }

  /* --- Sections titles --- */
  .ph-section-tag   { font-size: 0.62rem; }
  .ph-section-title { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .ph-section-desc  { font-size: 0.82rem; }

  /* --- Compat & Protection grids --- */
  .pc-section       { overflow-x: hidden; }
  .prot-section     { overflow-x: hidden; }
  .contents-section { overflow-x: hidden; }
  .install-section  { overflow-x: hidden; }
  .brands-row       { max-width: 100%; }
  .pc-grid          { grid-template-columns: 1fr; gap: 10px; }
  .pc-card          { padding: 16px; }
  .pc-card h4       { font-size: 0.85rem; }
  .pc-card p        { font-size: 0.75rem; }
  .prot-grid        { grid-template-columns: 1fr; gap: 10px; }

  /* --- Install steps --- */
  .install-step     { flex-direction: column; gap: 10px; }
  .is-num           { width: auto; text-align: left; font-size: 1.6rem; }
  .is-content h4    { font-size: 0.85rem; }
  .is-content p     { font-size: 0.75rem; }
  .is-tip           { font-size: 0.72rem; padding: 10px 12px; }
}

@media (max-width: 380px) {
  .contents-grid    { grid-template-columns: 1fr; }
  .tech-highlight   { grid-template-columns: 1fr; }
  .ph-title         { font-size: 1.3rem; }
  .ph-section       { padding: 68px 10px 32px; }
}
