/* ============================================================
   JK STUDIO - CSS ADDITIONNEL POUR PAGES SPÉCIFIQUES
   ============================================================ */

/* === PAGE CONTACT AMÉLIORÉE === */
.contact-bg-header {
  background: linear-gradient(135deg, var(--primary) 0%, #0f172a 100%);
  color: white;
  text-align: center;
  padding: 80px 20px 100px;
  position: relative;
  overflow: hidden;
}

.contact-bg-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  animation: contactFloat 15s ease-in-out infinite;
}

@keyframes contactFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, 30px) rotate(5deg); }
}

.contact-bg-header h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  letter-spacing: -1px;
}

.contact-bg-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-overlap-container {
  max-width: 1100px;
  margin: -60px auto 80px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.form-card {
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.form-card h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-smooth);
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 59, 100, 0.1);
}

.form-control::placeholder {
  color: #94a3b8;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
  font-family: inherit;
}

.info-card {
  background: linear-gradient(135deg, #F8FBFF 0%, #EAF2FF 100%);
  padding: 35px;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.info-box {
  background: white;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, #0f172a 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(31, 59, 100, 0.25);
}

.info-icon svg {
  stroke: white;
}

.info-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.info-text {
  color: var(--muted);
  line-height: 1.7;
}

.info-text a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  transition: var(--transition-smooth);
}

.info-text a:hover {
  color: var(--secondary);
}

/* === PAGE SUIVI COLIS AMÉLIORÉE === */
.subhero {
  background: linear-gradient(135deg, #F8FBFF 0%, #EAF2FF 100%);
  padding: 80px 20px;
  text-align: center;
  border-bottom: 2px solid var(--footer-line);
}

.subhero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.subhero > p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.track-form,
.subscribe {
  display: flex;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.track-form input,
.subscribe input {
  flex: 1;
  min-width: 280px;
  padding: 16px 24px;
  border: 2px solid var(--line);
  border-radius: 14px;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.track-form input:focus,
.subscribe input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 59, 100, 0.1);
}

.track-result {
  animation: fadeInUp 0.5s ease;
}

.progress-wrapper {
  margin: 35px 0;
}

.progress-bar {
  position: relative;
}

.progress {
  height: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 10px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(31, 59, 100, 0.3);
}

.steps {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin-top: 20px;
  padding: 0;
}

.steps li {
  flex: 1;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  position: relative;
  padding-top: 30px;
}

.steps li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--line);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.steps li.active::before {
  background: var(--secondary);
  box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.2);
  animation: stepPulse 2s infinite;
}

@keyframes stepPulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.15); }
}

/* === PAGE À PROPOS (FAQ) === */
.faq-section {
  padding: 60px 0 80px;
}

.faq-title {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 8px;
  color: var(--ink);
}

.faq-subtitle {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--footer-muted);
  font-size: 0.97rem;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EEF2FF;
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(360deg);
  color: var(--secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.5s ease;
  padding: 0 20px;
  background: var(--card);
}

.faq-item.active .faq-answer {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 10px;
}

.faq-answer a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

.faq-answer a:hover {
  color: var(--secondary);
}

.faq-answer b {
  color: var(--ink);
  font-weight: 700;
}

/* === PAGE PRODUITS - FILTRE ULTRA STYLISÉ === */
.subhero {
  background: linear-gradient(135deg, #F8FBFF 0%, #EAF2FF 100%);
  padding: 50px 20px 35px;
  text-align: center;
  border-bottom: 2px solid var(--footer-line);
}

.subhero h1 {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.subhero p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.5;
}

.filter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 25px 20px;
  background: white;
  border-bottom: 2px solid var(--line);
  flex-wrap: wrap;
}

.filter-btn {
  position: relative;
  padding: 11px 22px;
  background: white;
  border: 2px solid var(--line);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;

  display: flex;
  align-items: center;
  gap: 8px;

  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* DRAPEAU */
.filter-btn::before {
  content: attr(data-emoji);
  font-size: 1.2rem;
  display: inline-block;
}

/* Hover */
.filter-btn:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(31,59,100,0.05), rgba(31,59,100,0.02));
}

/* Active */
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), #0f172a);
  color: white;
  border-color: var(--primary);
}

/* Assure affichage sur PC */
@media (min-width: 768px) {
  .filter-btn::before {
    display: inline-block !important;
  }
}


/* === CARTES PRODUITS - 4 PAR LIGNE === */
.gallery {
  padding: 45px 20px 70px;
  background: var(--bg);
}

.cards3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
}

.poster-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 2px solid transparent;
}

.poster-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(31, 59, 100, 0.15);
  border-color: var(--primary);
}

.poster {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.poster-card:hover .poster img {
  transform: scale(1.08) rotate(0.5deg);
}

.meta {
  padding: 18px 16px;
  text-align: center !important;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.meta .title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.2px;
  text-align: center !important;
  width: 100%;
}

.meta .price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.3px;
  margin: 0;
  text-align: center !important;
  width: 100%;
}

/* Badges sur les produits */
.poster-card .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  animation: badgeFloat 3s ease-in-out infinite;
}

.poster-card .badge.best {
  background: linear-gradient(135deg, #ff8a00 0%, #ff6b00 100%);
  color: white;
}

.poster-card .badge.new {
  background: linear-gradient(135deg, var(--primary) 0%, #0f172a 100%);
  color: white;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Message aucun résultat */
#no-results {
  text-align: center;
  padding: 70px 20px;
}

#no-results > div {
  font-size: 4.5rem;
  margin-bottom: 20px;
  filter: grayscale(0.3);
}

#no-results h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

#no-results p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* === RESPONSIVE === */
@media (max-width: 1400px) {
  .cards3 {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}

@media (max-width: 1200px) {
  .cards3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

@media (max-width: 960px) {
  .subhero h1 {
    font-size: 2.2rem;
  }

  .subhero p {
    font-size: 0.95rem;
  }

  .filter-container {
    gap: 10px;
    padding: 20px 15px;
  }

  .filter-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
    min-width: 110px;
  }

  .cards3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .meta .title {
    font-size: 1rem;
  }

  .meta .price {
    font-size: 1.2rem;
  }
}

@media (max-width: 640px) {
  .subhero {
    padding: 40px 20px 30px;
  }

  .subhero h1 {
    font-size: 1.9rem;
  }

  .filter-container {
    gap: 8px;
    padding: 18px 12px;
  }

  .filter-btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .cards3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .meta {
    padding: 16px 14px;
  }
}

/* === PAGE PRODUIT DÉTAIL === */
.product-page {
  padding: 50px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.pp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.pp-media {
  position: sticky;
  top: 100px;
}

.pp-gallery {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  background: #f8f9fa;
  aspect-ratio: 3/4;
}

.pp-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.pp-gallery img.hidden {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.pp-gallery img.active {
  opacity: 1;
  position: relative;
}

#preview-thumbs {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}

#preview-thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#preview-thumbs img:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

#preview-thumbs img.active {
  border-color: var(--secondary);
  box-shadow: 0 4px 15px rgba(255, 138, 0, 0.3);
}

.pp-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

#pp-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0;
  letter-spacing: -1px;
  line-height: 1.1;
}

.pp-reviews {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: #ffb800;
  font-weight: 700;
}

.pp-reviews span {
  color: var(--muted);
  font-size: 0.95rem;
}

.pp-price-line {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.pp-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
}

.pp-old {
  font-size: 1.5rem;
  color: var(--muted);
  text-decoration: line-through;
}

.pp-badge {
  background: linear-gradient(135deg, #ff8a00 0%, #ff6b00 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.pp-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 16px 0;
}

.pp-section {
  background: linear-gradient(135deg, #F8FBFF 0%, #EAF2FF 100%);
  padding: 25px;
  border-radius: 18px;
  border: 2px solid var(--footer-line);
}

.pp-label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pp-opts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pp-opts .opt {
  padding: 12px 22px;
  background: white;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.pp-opts .opt:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 59, 100, 0.12);
}

.pp-opts .opt.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(31, 59, 100, 0.25);
}

.pp-opts .opt.active::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: white;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(255, 138, 0, 0.4);
}

.pp-swatches {
  display: flex;
  gap: 12px;
}

.swatch {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.swatch:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.swatch.active {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.2);
}

.pp-delivery {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  border-radius: 14px;
  color: #065f46;
  font-weight: 700;
  font-size: 0.95rem;
}

.pp-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.pp-actions .btn.full {
  flex: 1;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pp-specs {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
}

.pp-specs div {
  background: white;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* Barre d'achat sticky */
.buybar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 2px solid var(--line);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.buybar.show {
  transform: translateY(0);
}

.bb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  gap: 20px;
}

.bb-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

#bb-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bb-title .t {
  font-weight: 800;
  color: var(--ink);
  font-size: 1rem;
}

.bb-title .p {
  color: var(--primary);
  font-weight: 900;
  font-size: 1.2rem;
}

.bb-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.bb-sizes {
  display: flex;
  gap: 8px;
}

.bb-sizes button {
  padding: 8px 16px;
  background: white;
  border: 2px solid var(--line);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bb-sizes button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* === RESPONSIVE PAGE PRODUIT === */
@media (max-width: 960px) {
  .pp-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pp-media {
    position: static;
  }

  #pp-title {
    font-size: 2.2rem;
  }

  .pp-price {
    font-size: 2rem;
  }

  .bb-inner {
    flex-direction: column;
    gap: 15px;
  }

  .bb-left,
  .bb-right {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .product-page {
    padding: 30px 15px;
  }

  #pp-title {
    font-size: 1.8rem;
  }

  .pp-section {
    padding: 20px;
  }

  .pp-opts .opt {
    flex: 1 1 calc(50% - 12px);
    text-align: center;
  }

  #preview-thumbs img {
    width: 60px;
    height: 60px;
  }
}

/* === PAGE CHECKOUT / LIVRAISON === */
.checkout-page {
  padding: 50px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.checkout-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 50px;
  padding: 25px;
  background: linear-gradient(135deg, #F8FBFF 0%, #EAF2FF 100%);
  border-radius: 18px;
  border: 2px solid var(--footer-line);
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  position: relative;
}

.step-number {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--muted);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.step.active .step-number {
  background: linear-gradient(135deg, var(--primary) 0%, #0f172a 100%);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(31, 59, 100, 0.3);
}

.step.completed .step-number {
  background: #10b981;
  color: white;
  border-color: #10b981;
}

.step.completed .step-number::after {
  content: '✓';
  font-size: 1.1rem;
}

.step-label {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  display: none;
}

.step.active .step-label {
  color: var(--primary);
}

.step::after {
  content: '';
  position: absolute;
  left: calc(100% + 7px);
  width: calc(100% - 45px);
  height: 3px;
  background: var(--line);
  top: 50%;
  transform: translateY(-50%);
}

.step:last-child::after {
  display: none;
}

.step.completed::after {
  background: #10b981;
}

.checkout-form {
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--footer-line);
}

.checkout-form h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  transition: all 0.3s ease;
  background: white;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(31, 59, 100, 0.1);
}

.form-group input::placeholder {
  color: var(--muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.checkout-actions {
  display: flex;
  gap: 15px;
  margin-top: 35px;
  padding-top: 35px;
  border-top: 2px solid var(--line);
}

.checkout-actions .btn {
  flex: 1;
  padding: 16px;
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.checkout-actions .btn.back {
  background: white;
  color: var(--ink);
  border: 2px solid var(--line);
}

.checkout-actions .btn.back:hover {
  background: var(--bg);
  border-color: var(--primary);
}

.order-summary {
  background: linear-gradient(135deg, #F8FBFF 0%, #EAF2FF 100%);
  padding: 30px;
  border-radius: 18px;
  border: 2px solid var(--footer-line);
  margin-top: 30px;
}

.order-summary h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 20px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-line:last-child {
  border-bottom: none;
  padding-top: 20px;
  margin-top: 10px;
  border-top: 2px solid var(--line);
}

.summary-line.total {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
}

.summary-line .label {
  color: var(--muted);
  font-weight: 600;
}

.summary-line .value {
  font-weight: 800;
  color: var(--ink);
}

/* Message de succès */
.success-message {
  background: #ecfdf5;
  border: 3px solid #10b981;
  border-radius: 18px;
  padding: 40px;
  text-align: center;
  margin: 50px auto;
  max-width: 600px;
}

.success-message .icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.success-message h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #065f46;
  margin-bottom: 15px;
}

.success-message p {
  color: #047857;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* === RESPONSIVE CHECKOUT === */
@media (max-width: 960px) {
  .checkout-steps {
    padding: 20px;
  }

  .step-label {
    display: none;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 640px) {
  .checkout-page {
    padding: 30px 15px;
  }

  .checkout-form {
    padding: 25px 20px;
  }

  .checkout-form h2 {
    font-size: 1.6rem;
  }

  .checkout-steps {
    gap: 8px;
    padding: 15px;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .checkout-actions {
    flex-direction: column;
  }

  .order-summary {
    padding: 20px;
  }
}

/* === PAGE PRODUIT - OPTIONS AMÉLIORÉES === */
.product-options {
  background: linear-gradient(135deg, #F8FBFF 0%, #EAF2FF 100%);
  padding: 35px;
  border-radius: 20px;
  margin: 25px 0;
  border: 2px solid var(--footer-line);
}

.option-group {
  margin-bottom: 25px;
}

.option-group:last-child {
  margin-bottom: 0;
}

.option-label {
  display: block;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 15px;
}

.option-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.option-btn {
  padding: 12px 22px;
  background: white;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.option-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 59, 100, 0.15);
}

.option-btn.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(31, 59, 100, 0.3);
}

.option-btn.selected::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: white;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(255, 138, 0, 0.4);
}

.product-images-preview {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.preview-option {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--line);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.preview-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-option:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.preview-option::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: var(--transition-smooth);
}

.preview-option:hover::after {
  opacity: 1;
}

.delivery-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  border-radius: 12px;
  margin: 20px 0;
}

.delivery-info svg {
  flex-shrink: 0;
  color: #059669;
}

.delivery-info span {
  color: #065f46;
  font-weight: 700;
  font-size: 0.95rem;
}

.rating-display {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.stars {
  color: #ffb800;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.rating-count {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* === CARACTÉRISTIQUES TECHNIQUES === */
.tech-specs {
  background: white;
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  margin: 30px 0;
}

.tech-specs h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.tech-specs ul {
  list-style: none;
  padding: 0;
}

.tech-specs li {
  padding: 12px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-specs li:last-child {
  border-bottom: none;
}

.tech-specs li::before {
  content: '•';
  color: var(--secondary);
  font-size: 1.5rem;
  font-weight: 900;
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .contact-overlap-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-bg-header h1 {
    font-size: 2.5rem;
  }

  .faq-title {
    font-size: 2.3rem;
  }

  .filter-buttons {
    justify-content: flex-start;
  }

  .preview-option {
    min-width: 100px;
  }
}

@media (max-width: 640px) {
  .contact-bg-header h1 {
    font-size: 2rem;
  }

  .form-card {
    padding: 25px;
  }

  .info-card {
    padding: 25px;
  }

  .subhero h1 {
    font-size: 2.2rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 18px 20px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }
}

/* === ANIMATIONS === */
.fade-up {
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 25px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
}

/* Drapeaux visibles sur PC */
.filter-btn .flag {
  font-size: 18px;
  line-height: 1;
}

/* ============================================================
   CORRECTIONS PRODUIT - Affichage + Compacité
   ============================================================ */

/* ==========================================
   BARRE STICKY - AFFICHAGE PRODUIT
   ========================================== */

/* Container barre sticky */
.buybar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid #e2e8f0;
    padding: 16px 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.buybar.show {
    transform: translateY(0);
}

.bb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section gauche - Image + Titre */
.bb-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

#bb-thumb {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
    display: block; /* S'assurer que l'image s'affiche */
}

.bb-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bb-title .t {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bb-title .p {
    font-size: 1.2rem;
    font-weight: 900;
    color: #1F3B64;
}

/* Section droite - Actions */
.bb-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bb-sizes {
    display: flex;
    gap: 8px;
}

.bb-sizes button {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bb-sizes button:hover {
    border-color: #1F3B64;
    background: #f8fafc;
}

.bb-sizes button.active {
    border-color: #1F3B64;
    background: #1F3B64;
    color: white;
}

#bb-add {
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
}

/* ==========================================
   SECTION AVIS - VERSION COMPACTE
   ========================================== */

/* Titre section avis */
.avis-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.avis-section-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1F3B64;
    letter-spacing: -0.5px;
    margin: 0 0 8px 0;
}

.avis-section-header p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.avis-divider {
    width: 50px;
    height: 3px;
    background: #ff8a00;
    margin: 12px auto;
    border-radius: 2px;
}

/* Grille avis - Plus compacte */
#dynamic-reviews-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

/* Cartes avis compactes */
.review-card-compact {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

.review-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(31, 59, 100, 0.1);
}

.review-card-compact .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-card-compact .review-author {
    font-weight: 800;
    font-size: 1rem;
    color: #0f172a;
}

.review-card-compact .review-rating {
    color: #f59e0b;
    font-size: 1rem;
}

.review-card-compact .review-content {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.review-card-compact .review-date {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Formulaire avis - Plus compact */
.review-form-compact {
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    background: #f8fafc;
    box-shadow: 0 4px 16px rgba(31, 59, 100, 0.04);
}

.review-form-compact h3 {
    margin-bottom: 24px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.review-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.review-form-compact label {
    display: block;
    font-size: 0.7rem;
    color: #475569;
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.review-form-compact input,
.review-form-compact select,
.review-form-compact textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    padding: 14px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    outline: none;
    background: white;
    transition: border-color 0.3s ease;
}

.review-form-compact input:focus,
.review-form-compact select:focus,
.review-form-compact textarea:focus {
    border-color: #1F3B64;
}

.review-form-compact textarea {
    resize: vertical;
    min-height: 100px;
    margin-bottom: 20px;
}

.review-form-compact button[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, #ff8a00 0%, #ff6b00 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
}

.review-form-compact button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4);
}

/* ==========================================
   SECTION PRODUITS SIMILAIRES - COMPACTE
   ========================================== */

.related {
    padding: 40px 0 !important;
}

.related-header {
    margin-bottom: 30px !important;
}

.related-header h2 {
    font-size: 1.5rem !important;
    margin-bottom: 8px !important;
}

.related-header .divider {
    width: 40px;
    height: 3px;
    background: #ff8a00;
    border-radius: 2px;
}

/* Grille produits similaires - Compacte */
.cards3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px !important;
}

/* Cartes produits - Plus petites */
.poster-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

.poster-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(31, 59, 100, 0.12);
}

.poster-card .poster {
    position: relative;
    padding-top: 140%;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.poster-card .poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block; /* S'assurer que l'image s'affiche */
}

.poster-card:hover .poster img {
    transform: scale(1.08);
}

.poster-card .meta {
    padding: 16px;
}

.poster-card .title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.poster-card .price {
    font-size: 1.2rem;
    font-weight: 900;
    color: #1F3B64;
    margin: 0;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 968px) {
    .bb-inner {
        flex-wrap: wrap;
    }
    
    .bb-right {
        width: 100%;
        justify-content: flex-end;
    }
    
    .review-form-grid {
        grid-template-columns: 1fr;
    }
    
    .cards3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .buybar {
        padding: 12px 0;
    }
    
    .bb-inner {
        gap: 12px;
    }
    
    #bb-thumb {
        width: 50px;
        height: 65px;
    }
    
    .bb-title .t {
        font-size: 0.9rem;
    }
    
    .bb-title .p {
        font-size: 1.1rem;
    }
    
    .bb-sizes {
        display: none;
    }
    
    #bb-add {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .cards3 {
        grid-template-columns: 1fr;
    }
    
    .review-form-compact {
        padding: 24px 20px;
    }
    
    #dynamic-reviews-list {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   PAGE PRODUIT - OPTIMISATIONS COMPLÉMENTAIRES
   ============================================================ */

/* Miniatures produit */
#preview-thumbs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

#preview-thumbs img {
    width: 80px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

#preview-thumbs img:hover {
    opacity: 1;
    transform: translateY(-3px);
}

#preview-thumbs img.active {
    border-color: #1F3B64;
    opacity: 1;
    box-shadow: 0 4px 12px rgba(31, 59, 100, 0.25);
}

/* Description produit */
.pp-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 28px;
}

/* Labels sections */
.pp-label {
    font-size: 0.75rem;
    font-weight: 900;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
    display: block;
}

/* Caractéristiques */
.pp-specs {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    color: #475569;
    line-height: 1.9;
}

/* Section avis - Compacte */
.review-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(31, 59, 100, 0.1);
}

/* Produits similaires - Compact */
.related {
    padding: 40px 0 !important;
}

.poster-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.poster-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(31, 59, 100, 0.12);
}

.poster-card .meta {
    padding: 16px;
}

.poster-card .title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.poster-card .price {
    font-size: 1.2rem;
    font-weight: 900;
    color: #1F3B64;
}

/* Animations d'entrée */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pp-info > * {
    animation: slideInRight 0.5s ease-out backwards;
}

.pp-info > *:nth-child(1) { animation-delay: 0.1s; }
.pp-info > *:nth-child(2) { animation-delay: 0.15s; }
.pp-info > *:nth-child(3) { animation-delay: 0.2s; }
.pp-info > *:nth-child(4) { animation-delay: 0.25s; }
.pp-info > *:nth-child(5) { animation-delay: 0.3s; }
.pp-info > *:nth-child(6) { animation-delay: 0.35s; }
.pp-info > *:nth-child(7) { animation-delay: 0.4s; }
.pp-info > *:nth-child(8) { animation-delay: 0.45s; }


/* 1. On force le conteneur à utiliser toute la hauteur disponible sans dépasser */
.pp-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Garde l'affiche un peu plus large que le texte */
    gap: 40px;
    align-items: start; /* Aligne tout en haut */
    max-width: 1200px;
    margin: 0 auto;
}

/* 2. On fixe la galerie pour qu'elle ne dépasse JAMAIS la colonne de droite */
.pp-gallery {
    position: sticky; /* L'affiche reste visible si le texte à droite est long */
    top: 100px;
    height: fit-content;
}

/* 3. L'image principale doit s'adapter au cadre */
.pp-gallery-main {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    line-height: 0; /* Supprime l'espace blanc sous l'image */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pp-gallery-main img {
    width: 100%;
    height: auto;
    max-height: 80vh; /* Empêche l'image d'être plus grande que l'écran */
    object-fit: contain; /* Garde les proportions de l'affiche */
    display: block;
}

/* 4. On aligne les éléments de droite pour qu'ils ne flottent pas */
.pp-infos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ============================
   PAGE PRODUIT — Alignement & Anti-dépassement
   ============================ */
.product-page .pp-grid{
  display:grid;
  grid-template-columns: minmax(0,1fr) 360px; /* droite fixe = 360px */
  gap:40px;
  align-items:start; /* même niveau en haut */
}
@media (max-width: 992px){
  .product-page .pp-grid{ grid-template-columns:1fr; }
}

.pp-gallery{
  position:sticky;
  top:100px;              /* ajuste selon la hauteur du header */
  border-radius:20px;
  overflow:hidden;        /* CLÉ : coupe tout dépassement */
  background:#f8f9fa;
  aspect-ratio:3/4;       /* ratio d’affiche */
}
.pp-gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.pp-gallery *{ max-width:100%; box-sizing:border-box; }

#preview-thumbs{
  display:flex;
  gap:12px;
  margin-top:14px;
  justify-content:center;
  flex-wrap:wrap;
}
#preview-thumbs img{
  width:80px; height:110px; object-fit:cover;
  border-radius:10px; border:2px solid transparent;
  transition:transform .2s ease, border-color .2s ease, opacity .2s ease;
  opacity:.85;
}
#preview-thumbs img:hover{ transform:translateY(-3px); border-color:#1F3B64; opacity:1; }

.product-page{ max-width:1300px; margin:0 auto; overflow-x:clip; }
.pp-info, .pp-infos{ display:flex; flex-direction:column; gap:20px; }


/* === PAGE ACCUEIL (HOME) === */
/* ==========================================
       GRILLE PRODUITS - ALIGNMENT PARFAIT
       ========================================== */
    
    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px;
        padding: 40px 0;
        align-items: start;
    }
    
    .product-card {
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .product-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 60px rgba(31, 59, 100, 0.25);
    }
    
    .product-image {
        position: relative;
        width: 100%;
        padding-top: 140%;
        overflow: hidden;
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    }
    
    .product-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }
    
    .product-card:hover .product-image img {
        transform: scale(1.08);
    }
    
    .product-info {
        padding: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .product-title {
        font-size: 1.2rem;
        font-weight: 800;
        color: #0f172a;
        margin: 0;
        line-height: 1.3;
    }
    
    .product-price {
        font-size: 1.3rem;
        font-weight: 900;
        color: #ff8a00;
        margin: 0;
    }
    
    .btn-add-cart {
        width: 100%;
        padding: 14px;
        background: linear-gradient(135deg, #1f3b64 0%, #0f172a 100%);
        color: white;
        border: none;
        border-radius: 12px;
        font-weight: 800;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: auto;
    }
    
    .btn-add-cart:hover {
        background: linear-gradient(135deg, #ff8a00 0%, #ff6b00 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 138, 0, 0.4);
    }
    
    /* ==========================================
       CAROUSEL 3D AUTOMATIQUE
       ========================================== */
    .hero-visual-block {
        position: relative;
        width: 100%;
        max-width: 750px;
        height: 500px;
        margin: 0 auto;
        perspective: 1200px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible !important;
        background: none;
    }
    
    .carousel-3d {
        position: relative;
        width: 100%;
        height: 100%;
        transform-style: preserve-3d;
        transition: transform 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    }
    
    .slide-item {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 280px;
        transform-style: preserve-3d;
        transition: all 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
        cursor: pointer;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
        backface-visibility: visible;
    }
    
    .slide-item img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        transition: transform 0.6s ease;
    }
    
    .slide-item:nth-child(1) {
        transform: translate(-50%, -50%) translateX(-260px) translateZ(-120px) rotateY(15deg) scale(0.82);
        opacity: 0.8;
        z-index: 1;
    }
    
    .slide-item:nth-child(2) {
        transform: translate(-50%, -50%) translateZ(10px) scale(1.0);
        opacity: 1;
        z-index: 3;
        box-shadow: 0 35px 90px rgba(255, 138, 0, 0.4);
    }
    
    .slide-item:nth-child(3) {
        transform: translate(-50%, -50%) translateX(260px) translateZ(-120px) rotateY(-15deg) scale(0.82);
        opacity: 0.8;
        z-index: 1;
    }
    
    .slide-item:hover {
        box-shadow: 0 50px 150px rgba(255, 138, 0, 0.6) !important;
    }
    
    .slide-item:hover img {
        transform: scale(1.05);
    }
    
    .slide-item::before {
        content: attr(data-artist);
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 30px;
        background: linear-gradient(to top, rgba(31, 59, 100, 0.95) 0%, transparent 100%);
        color: white;
        font-weight: 900;
        font-size: 1.3rem;
        text-align: center;
        transform: translateY(100%);
        transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
        z-index: 10;
    }
    
    .slide-item:hover::before {
        transform: translateY(0);
    }
    
    .slide-item::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 138, 0, 0.3) 0%, transparent 60%);
        opacity: 0;
        transition: opacity 0.6s ease;
        pointer-events: none;
        animation: rotate-glow 8s linear infinite;
    }
    
    .slide-item:hover::after {
        opacity: 1;
    }
    
    @keyframes rotate-glow {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    
    .carousel-nav {
        position: absolute;
        bottom: -60px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 15px;
        z-index: 10;
    }
    
    .nav-dot {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: rgba(31, 59, 100, 0.3);
        cursor: pointer;
        transition: all 0.4s ease;
        border: 2px solid transparent;
    }
    
    .nav-dot.active {
        background: #ff8a00;
        transform: scale(1.3);
        border-color: rgba(255, 138, 0, 0.3);
        box-shadow: 0 0 20px rgba(255, 138, 0, 0.5);
    }
    
    .nav-dot:hover {
        background: #1f3b64;
        transform: scale(1.2);
    }
    
    .carousel-3d.rotating .slide-item:nth-child(1) {
        transform: translate(-50%, -50%) translateZ(10px) scale(1.0);
        opacity: 1;
        z-index: 3;
        box-shadow: 0 35px 90px rgba(255, 138, 0, 0.4);
    }
    
    .carousel-3d.rotating .slide-item:nth-child(2) {
        transform: translate(-50%, -50%) translateX(260px) translateZ(-120px) rotateY(-15deg) scale(0.82);
        opacity: 0.8;
        z-index: 1;
    }
    
    .carousel-3d.rotating .slide-item:nth-child(3) {
        transform: translate(-50%, -50%) translateX(-260px) translateZ(-120px) rotateY(15deg) scale(0.82);
        opacity: 0.8;
        z-index: 1;
    }
    
    .carousel-3d.rotating-2 .slide-item:nth-child(1) {
        transform: translate(-50%, -50%) translateX(260px) translateZ(-120px) rotateY(-15deg) scale(0.82);
        opacity: 0.8;
        z-index: 1;
    }
    
    .carousel-3d.rotating-2 .slide-item:nth-child(2) {
        transform: translate(-50%, -50%) translateX(-260px) translateZ(-120px) rotateY(15deg) scale(0.82);
        opacity: 0.8;
        z-index: 1;
    }
    
    .carousel-3d.rotating-2 .slide-item:nth-child(3) {
        transform: translate(-50%, -50%) translateZ(10px) scale(1.0);
        opacity: 1;
        z-index: 3;
        box-shadow: 0 35px 90px rgba(255, 138, 0, 0.4);
    }
    
    .hero.split-focus-hero {
        overflow: visible !important;
        padding-bottom: 100px;
        background: none !important;
    }
    
    .hero-content {
        overflow: visible !important;
        background: none !important;
    }
    
    .hero::before {
        display: none !important;
    }
    
    .hero-content::before {
        display: none !important;
    }
    
    /* ==========================================
       SECTION "DANS VOS INTÉRIEURS" MODERNISÉE
       ========================================== */
    .lookbook-section {
        padding: 80px 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        position: relative;
        overflow: hidden;
    }
    
    .lookbook-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 138, 0, 0.05) 0%, transparent 70%);
        animation: rotate 30s linear infinite;
    }
    
    @keyframes rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    
    .lookbook-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 50px;
        position: relative;
        z-index: 1;
    }
    
    .lookbook-item {
        position: relative;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        cursor: pointer;
    }
    
    .lookbook-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s ease;
    }
    
    .lookbook-item:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 60px rgba(31, 59, 100, 0.3);
    }
    
    .lookbook-item:hover img {
        transform: scale(1.15);
    }
    
    .lookbook-item::before {
        content: 'VOIR LE PRODUIT';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        background: linear-gradient(to top, rgba(31, 59, 100, 0.95) 0%, transparent 100%);
        color: white;
        font-weight: 800;
        font-size: 1.1rem;
        text-align: center;
        transform: translateY(100%);
        transition: transform 0.4s ease;
        z-index: 2;
    }
    
    .lookbook-item:hover::before {
        transform: translateY(0);
    }
    
    .lookbook-badge {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(255, 138, 0, 0.95);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-weight: 700;
        font-size: 0.85rem;
        backdrop-filter: blur(10px);
        z-index: 3;
        animation: pulse 2s ease-in-out infinite;
    }
    
    @keyframes pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }
    
    .section-title-fancy {
        font-size: 3rem;
        font-weight: 900;
        color: #1F3B64;
        text-align: center;
        margin-bottom: 20px;
        position: relative;
        display: inline-block;
    }
    
    .section-title-fancy::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #ff8a00, #ff6b00);
        border-radius: 2px;
    }
    
    /* ==========================================
       RESPONSIVE
       ========================================== */
    @media (max-width: 768px) {
        .hero-visual-block {
            height: 420px;
            max-width: 100%;
        }
        
        .slide-item {
            width: 220px;
        }
        
        .slide-item:nth-child(1) {
            transform: translate(-50%, -50%) translateX(-220px) translateZ(-100px) rotateY(12deg) scale(0.78);
        }
        
        .slide-item:nth-child(3) {
            transform: translate(-50%, -50%) translateX(220px) translateZ(-100px) rotateY(-12deg) scale(0.78);
        }
        
        .carousel-nav {
            bottom: -45px;
        }
        
        .lookbook-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .section-title-fancy {
            font-size: 2rem;
        }
    }
    
    .fade-in-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .fade-in-up.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .lookbook-item:nth-child(1) { transition-delay: 0.1s; }
    .lookbook-item:nth-child(2) { transition-delay: 0.2s; }
    .lookbook-item:nth-child(3) { transition-delay: 0.3s; }



/* ============================================================
   PAGE PRODUIT — REPARTITION + ZOOM FIX (garde HTML)
   ============================================================ */

/* Container page: un peu plus compact */
.product-page{
  padding: 40px 20px;
  max-width: 1240px;
}

/* 2 colonnes: image en colonne "fixe", infos plus large */
.product-page .pp-grid{
  display: grid;
  grid-template-columns: minmax(380px, 560px) minmax(420px, 1fr);
  gap: 44px;
  align-items: start;
}

/* Colonne image: largeur maîtrisée, sticky OK */
.product-page .pp-media{
  position: sticky;
  top: 110px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

/* Carte image principale */
.product-page .pp-main{
  width: 100%;
}

/* IMPORTANT: on empêche le "zoom/crop" */
.product-page .pp-gallery{
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #f6f7fb;
  box-shadow: 0 18px 48px rgba(0,0,0,.12);
  aspect-ratio: 3 / 4;
}

/* FIX: cover -> contain (plus de découpe) */
.product-page .pp-gallery img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f6f7fb; /* évite les bandes noires si png */
}

/* Images superposées (sans/avec cadre) */
.product-page .pp-gallery img.hidden{
  opacity: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Miniatures: plus jolies + alignées */
.product-page #preview-thumbs{
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.product-page #preview-thumbs img{
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.product-page #preview-thumbs img:hover{
  transform: translateY(-2px);
  border-color: var(--primary);
}

.product-page #preview-thumbs img.active{
  border-color: var(--secondary);
  box-shadow: 0 10px 22px rgba(255, 138, 0, 0.22);
}

/* Colonne infos: largeur confortable, meilleure hiérarchie */
.product-page .pp-info{
  width: 100%;
  max-width: 560px;
  padding-top: 6px;
}

/* Titre / prix plus "e-commerce" */
.product-page .pp-info h1{
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.8px;
  margin: 0 0 10px;
}

.product-page .pp-price{
  font-size: clamp(30px, 2.6vw, 40px);
  margin: 18px 0 18px;
}

.product-page .pp-desc{
  margin-top: 12px;
  line-height: 1.65;
  color: var(--muted);
}

/* Sections (taille/couleur/etc) plus compactes */
.product-page .pp-section{
  padding: 18px;
  border-radius: 16px;
  margin-top: 16px;
}

/* Boutons options: plus compacts + pas de wrap moche */
.product-page .pp-opts{
  gap: 10px;
}

.product-page .pp-opts .opt{
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 15px;
  min-width: 160px;
}

/* Swatches: alignement */
.product-page .pp-swatches{
  gap: 12px;
}

/* Actions (ajout panier) — si présent */
.product-page .pp-actions{
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px){
  .product-page .pp-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .product-page .pp-media{
    position: relative;
    top: auto;
    max-width: 520px;
  }
  .product-page .pp-info{
    max-width: 640px;
    margin: 0 auto;
  }
}


/* ============================================================
   PAGE PRODUIT — INTERFACE CLEAN (moins chargé) + CADRE VISUEL
   Garde le HTML tel quel.
   ============================================================ */

.product-page{
  padding: 32px 0 64px;
}

/* Grille: image bien grande + infos lisibles (sans vide) */
.product-page .pp-grid{
  display:grid;
  grid-template-columns: minmax(460px, 58%) minmax(360px, 42%);
  gap: 56px;
  align-items:start;
}

/* Colonne media: carte propre */
.product-page .pp-media .pp-main{
  background: #f6f7fb;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

/* Image principale: jamais coupée, jamais zoomée */
.product-page .pp-gallery{
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.product-page .pp-gallery img{
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 18px;
  background:#fff;
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
  display:none; /* on n'affiche que .active */
}

.product-page .pp-gallery img.active{ display:block; }
.product-page .pp-gallery img.hidden{ display:none !important; }

/* Miniatures: alignées, pas énormes */
#preview-thumbs{
  margin-top: 14px;
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap: wrap;
}

#preview-thumbs img{
  width: 62px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid transparent;
  background:#fff;
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
  opacity:.85;
  cursor:pointer;
  transition: .18s ease;
}

#preview-thumbs img:hover{ transform: translateY(-2px); opacity:1; }
#preview-thumbs img.active{ border-color: var(--primary); opacity:1; }

/* Colonne infos: sticky + hiérarchie comme ton exemple */
.product-page .pp-info{
  position: sticky;
  top: 110px; /* laisse la place au header */
}

.product-page .pp-info h1{
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.product-page .pp-price{
  font-size: 40px;
  margin: 12px 0 14px;
}

.product-page .pp-desc{
  margin: 18px 0 18px;
  line-height: 1.6;
  color: var(--muted);
}

/* Séparateurs discrets -> écran moins chargé */
.product-page .pp-section{
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #f6f7fb;
  border: 1px solid rgba(31,59,100,.10);
}

.product-page .pp-label{
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 12px;
  color: #0f172a;
}

/* Options: style pills comme exemple */
.product-page .pp-opts{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-page .pp-opts .opt{
  padding: 12px 16px;
  border-radius: 14px;
  border: 2px solid rgba(15,23,42,.12);
  background: #fff;
  font-weight: 700;
  transition: .18s ease;
}

.product-page .pp-opts .opt:hover{
  transform: translateY(-1px);
  border-color: rgba(31,59,100,.35);
}

.product-page .pp-opts .opt.active{
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(31,59,100,.25);
}

/* Swatches */
.product-page .pp-swatches{
  display:flex;
  gap: 12px;
  align-items:center;
}

.product-page .pp-swatches .swatch{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid rgba(15,23,42,.12);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

.product-page .pp-swatches .swatch.active{
  outline: 3px solid rgba(255,123,0,.35);
  border-color: rgba(255,123,0,.65);
}

/* Bouton ajouter panier */
.product-page .pp-actions .btn.full{
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 16px;
}

/* Livraison */
.product-page .pp-delivery{
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px dashed rgba(31,59,100,.25);
}

/* ====== EFFET "AVEC CADRE" SANS AVOIR BESOIN D'UNE 2e IMAGE ======
   (On ajoute une classe au body via JS: .with-frame + couleur)
*/
body.with-frame .product-page .pp-gallery img.active{
  background: #f3f4f6;
  padding: 18px;           /* fait apparaître le cadre */
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

body.with-frame.frame-black .product-page .pp-gallery img.active{
  background: #0b0f19;
}

body.with-frame.frame-white .product-page .pp-gallery img.active{
  background: #ffffff;
}

/* Mobile */
@media (max-width: 980px){
  .product-page .pp-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .product-page .pp-info{
    position: static;
  }
  .product-page .pp-info h1{
    font-size: 34px;
  }
  .product-page .pp-price{
    font-size: 34px;
  }
  .product-page .pp-gallery img{
    max-height: 62vh;
  }
}


/* ============================================================
   PRODUIT – FIT ÉCRAN / MOINS CHARGÉ (OVERRIDES)
   Objectif: tout reste lisible + thumbs bien placées + image non coupée
   ============================================================ */

.product-page{ padding: 36px 0 60px; }
.pp-grid{ gap: 36px; align-items: start; }

/* Colonne image */
.pp-media{ display:flex; flex-direction:column; align-items:center; gap:12px; }

/* Carte image un peu moins haute pour laisser respirer la colonne infos */
.pp-main{ width:100%; max-width: 520px; }
.pp-gallery{
  width:100%;
  aspect-ratio: 3 / 4;      /* format affiche */
  max-height: 70vh;         /* évite que ça prenne tout l'écran */
  min-height: 420px;
  background: #f6f7fb;
  border-radius: 22px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 14px;
}

/* IMPORTANT: jamais de zoom/coupe */
.pp-gallery img{
  width:100%;
  height:100%;
  object-fit: contain;
  display:none;
}
.pp-gallery img.active{ display:block; }
.pp-gallery img.hidden{ display:none; }

/* Miniatures sous l'image (pas en vrac) */
#preview-thumbs{
  width:100%;
  max-width: 520px;
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  overflow-x:auto;
  padding: 4px 2px 2px;
}
#preview-thumbs::-webkit-scrollbar{ height:6px; }
#preview-thumbs::-webkit-scrollbar-thumb{ background: rgba(31,59,100,.18); border-radius: 999px; }

#preview-thumbs img,
#preview-thumbs button img{
  width:56px;
  height:56px;
  border-radius:14px;
  object-fit: cover;
}
#preview-thumbs .thumb,
#preview-thumbs button{
  border: 2px solid transparent;
  background: transparent;
  padding:0;
  border-radius:16px;
  cursor:pointer;
}
#preview-thumbs .thumb.active,
#preview-thumbs button.active{
  border-color: rgba(31,59,100,.45);
}

/* Colonne infos: réduire les espaces pour que TOUT apparaisse plus vite */
.pp-info{ padding-top: 6px; }
.pp-info h1{ font-size: 44px; letter-spacing: -0.02em; margin: 0 0 10px; }
.pp-reviews{ margin: 6px 0 14px; }
.pp-price-line{ margin: 0 0 12px; }
.pp-price{ font-size: 40px; }
.pp-desc{ margin: 14px 0 18px; max-width: 54ch; }

/* Sections options plus compactes */
.pp-section{
  margin: 0 0 14px;
  padding: 16px;
  border-radius: 18px;
}
.pp-label{ margin-bottom: 10px; font-size: 14px; letter-spacing: .08em; }

/* Boutons taille/cadre: grille sur 3 colonnes (comme ton exemple) */
.pp-opts{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.pp-opts .opt{
  width:100%;
  padding: 12px 12px;
  font-size: 14px;
  border-radius: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Swatches compacts */
.pp-swatches{ display:flex; gap:10px; }
.pp-swatches .swatch{ width:44px; height:44px; border-radius:14px; }

/* Livraison + CTA */
.pp-delivery{
  margin: 12px 0 12px;
  padding: 12px 14px;
  border-radius: 16px;
}
.pp-actions{ margin: 10px 0 18px; }
#pp-add{ padding: 14px 18px; font-size: 16px; border-radius: 16px; }

/* Specs: réduire hauteur */
.pp-specs{
  margin-top: 10px;
  padding: 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.55;
}

/* Sticky doux (optionnel): garde les infos visibles sans couper) */
@media (min-width: 1024px){
  .pp-info{ position: sticky; top: 90px; }
}

/* Responsive: empiler proprement, thumbs toujours visibles */
@media (max-width: 980px){
  .pp-grid{ grid-template-columns: 1fr; }
  .pp-info{ position: static; }
  .pp-gallery{ min-height: 380px; max-height: 60vh; }
  .pp-opts{ grid-template-columns: 1fr; }
  .pp-info h1{ font-size: 34px; }
  .pp-price{ font-size: 34px; }
}
/* ============================================================
   PAGE PRODUIT — ALIGNEMENT IMAGE / COLONNE DROITE
   ============================================================ */

/* GRID PRINCIPALE */
.pp-grid{
  display:grid;
  grid-template-columns: 420px 1fr;
  gap:40px;
  align-items:start;
}

/* IMAGE = RÉFÉRENCE DE HAUTEUR */
.pp-media{
  height:78vh;                /* ⬅ hauteur globale */
  display:flex;
  justify-content:center;
  align-items:center;
}

/* IMAGE PRINCIPALE */
.pp-media img,
.pp-main-image{
  max-height:100%;
  max-width:100%;
  object-fit:contain;
  border-radius:18px;
  background:#f6f7fb;
}

/* COLONNE DROITE = MÊME HAUTEUR QUE L’IMAGE */
.pp-info{
  height:78vh;                /* ⬅ EXACTEMENT la même */
  display:flex;
  flex-direction:column;
  gap:14px;
  overflow:hidden;            /* ⬅ empêche le dépassement */
}

/* CONTENU SCROLLABLE */
.pp-info-scroll{
  overflow-y:auto;
  padding-right:6px;
}

/* BLOCS PLUS COMPACTS */
.pp-option-box,
.pp-frame-box,
.pp-shipping,
.pp-tech{
  padding:14px;
  border-radius:14px;
  margin-bottom:10px;
}

/* BOUTON PANIER TOUJOURS VISIBLE */
.pp-add-to-cart{
  margin-top:auto;
  padding:16px;
  border-radius:14px;
  font-size:16px;
}

/* MINIATURES */
.pp-gallery{
  margin-top:12px;
  display:flex;
  gap:10px;
  justify-content:center;
}

.pp-gallery img{
  width:58px;
  height:78px;
  object-fit:contain;
  border-radius:10px;
}

/* MOBILE */
@media (max-width: 900px){
  .pp-grid{
    grid-template-columns:1fr;
  }

  .pp-media,
  .pp-info{
    height:auto;
  }

  .pp-info{
    overflow:visible;
  }
}
/* ============================================================
   PRODUIT — COLONNE DROITE = HAUTEUR IMAGE + UI COMPACTE
   (à coller tout en bas)
   ============================================================ */

.product-page .pp-grid{
  display:grid;
  grid-template-columns: minmax(360px, 520px) minmax(340px, 520px);
  gap:40px;
  align-items:start;
}

/* Gauche : image = référence de hauteur */
.product-page .pp-media{
  height:78vh;                 /* même base pour la droite */
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

/* Le “cadre” de l’image principale */
.product-page .pp-main{
  flex:1;
  min-height:0;
  display:flex;
}

.product-page .pp-gallery{
  width:100%;
  height:100%;
  border-radius:18px;
  background:#f6f7fb;
  box-shadow:0 18px 40px rgba(0,0,0,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

/* IMPORTANT : pas de zoom/coupe */
.product-page .pp-gallery img{
  width:100%;
  height:100%;
  object-fit:contain;          /* ✅ affiche toute l’image */
  max-height:100%;
  border-radius:18px;
}

/* Thumbs sous l’image, centrés et propres */
.product-page #preview-thumbs{
  margin-top:12px;
  display:flex;
  justify-content:center;
  gap:10px;
}
.product-page #preview-thumbs img{
  width:56px;
  height:72px;
  object-fit:cover;
  border-radius:10px;
  border:2px solid transparent;
  cursor:pointer;
}
.product-page #preview-thumbs img.active{
  border-color:#ff7b00;
}

/* Droite : ne dépasse jamais la hauteur de l’image */
.product-page .pp-info{
  height:78vh;                 /* ✅ même hauteur que l’image */
  overflow:auto;               /* ✅ scroll interne si besoin */
  padding-right:8px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* Typo + espacements compacts */
.product-page .pp-info h1{ font-size:44px; line-height:1.05; margin:0; }
.product-page .pp-price{ font-size:40px; margin:0; }
.product-page .pp-desc{ margin:6px 0 0; }

/* Sections : moins “grosses” */
.product-page .pp-section{
  padding:14px;
  border-radius:16px;
}
.product-page .pp-label{ margin-bottom:10px; }

/* ✅ Options en GRILLE (plus en gros blocs verticaux) */
.product-page .pp-opts{
  display:grid;
  gap:10px;
}
.product-page #pp-sizes{ grid-template-columns:repeat(3, minmax(0,1fr)); }
.product-page #pp-frame{ grid-template-columns:repeat(2, minmax(0,1fr)); }

.product-page .opt{
  padding:10px 12px;
  border-radius:12px;
  font-size:14px;
  line-height:1.1;
}

/* Swatches plus petits */
.product-page .pp-swatches{ gap:10px; }
.product-page .swatch{ width:34px; height:34px; border-radius:10px; }

/* Livraison + bouton : compacts */
.product-page .pp-delivery{
  padding:12px 14px;
  border-radius:14px;
  font-size:14px;
}
.product-page .pp-actions .btn.full{
  padding:14px 16px;
  border-radius:14px;
  font-size:15px;
}

/* MOBILE */
@media (max-width: 950px){
  .product-page .pp-grid{ grid-template-columns:1fr; }
  .product-page .pp-media,
  .product-page .pp-info{ height:auto; overflow:visible; }
  .product-page #pp-sizes{ grid-template-columns:1fr; }
  .product-page #pp-frame{ grid-template-columns:1fr; }
}
/* ============================================================
   PAGE PRODUIT — COLONNE DROITE (PP-INFO) ORGANISATION PRO
   À coller TOUT EN BAS de styles-pages-specifiques.css
   Nécessite: <body class="page-produit">
   ============================================================ */

.page-produit .product-page{
  padding: 46px 20px 90px;
}

/* Grille: image + colonne info mieux équilibrées */
.page-produit .product-page .pp-grid{
  display: grid;
  grid-template-columns: minmax(380px, 560px) minmax(420px, 1fr);
  gap: 48px;
  align-items: start;
}

/* Colonne image OK (sticky) */
.page-produit .product-page .pp-media{
  position: sticky;
  top: 110px;
  max-width: 560px;
}

/* ===== COLONNE DROITE ===== */
.page-produit .product-page .pp-info{
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 16px;               /* moins d’air, plus clean */
}

/* Titre + avis + prix : hiérarchie nette */
.page-produit #pp-title{
  margin: 0;
  font-size: clamp(2rem, 2.4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page-produit .pp-reviews{
  margin-top: 2px;
}

.page-produit .pp-price-line{
  margin-top: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(226,232,240,.9);
}

.page-produit .pp-desc{
  margin: 6px 0 2px;
  max-width: 60ch;
}

/* Sections options : plus compact + mieux aligné */
.page-produit .pp-section{
  padding: 16px;
  border-radius: 18px;
}

.page-produit .pp-label{
  margin-bottom: 10px;
  font-size: 0.9rem;
  letter-spacing: .06em;
}

/* Par défaut tes .pp-opts sont flex -> on passe en grid pour un look clean */
.page-produit .pp-opts{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* Taille: 3 boutons = parfait */
.page-produit #pp-sizes{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Cadre: 2 boutons -> 2 colonnes */
.page-produit #pp-frame{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-produit .pp-opts .opt{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Swatches un peu plus “alignés” */
.page-produit .pp-swatches{
  display: flex;
  gap: 10px;
}

.page-produit .pp-swatches .swatch{
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

/* Livraison + bouton: plus “bloc achat” */
.page-produit .pp-delivery{
  margin-top: 4px;
  margin-bottom: 0;
  border-radius: 16px;
}

.page-produit .pp-actions{
  margin-top: 8px;
}

.page-produit #pp-add{
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 1rem;
}

/* Specs : plus compact */
.page-produit .pp-specs{
  margin-top: 8px;
  padding: 14px;
  border-radius: 16px;
  line-height: 1.55;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .page-produit .product-page .pp-grid{
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-produit .product-page .pp-media{
    position: static;
    max-width: 640px;
    margin: 0 auto;
  }

  .page-produit .pp-opts{
    grid-template-columns: 1fr; /* sur mobile -> stack */
  }

  .page-produit #pp-frame{
    grid-template-columns: 1fr;
  }
}
/* Cacher la scrollbar (Chrome, Edge, Safari) */
body::-webkit-scrollbar {
  display: none;
}

/* Firefox */
body {
  scrollbar-width: none;
}
.product-thumbnails {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* 2 colonnes égales */
    gap: 12px;
}
/* ================================
   CADRE (Sans / Avec) — Design premium
   Compatible avec tes .option-btn existants
   ================================ */

.frame-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

.frame-options .option-btn {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 12px;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  text-align: center;
}

.frame-options .option-btn .option-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: #111;
  line-height: 1.1;
}

/* Le "+10 €" */
.frame-options .option-btn .option-detail {
  font-weight: 800;
  font-size: 0.9rem;
  color: #ff7b00;
}

/* Hover */
.frame-options .option-btn:hover {
  border-color: #1F3B64;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(31,59,100,.14);
}

/* Actif (sélectionné) */
.frame-options .option-btn.active {
  background: linear-gradient(135deg, #1F3B64 0%, #0f172a 100%);
  border-color: #1F3B64;
  box-shadow: 0 14px 28px rgba(31,59,100,.22);
}

.frame-options .option-btn.active .option-name {
  color: #fff;
}

.frame-options .option-btn.active .option-detail {
  color: #ffd28a;
}

/* Focus clavier (accessibilité) */
.frame-options .option-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(31,59,100,.18), 0 10px 20px rgba(31,59,100,.14);
}

/* Responsive: en mobile, plus compact */
@media (max-width: 520px) {
  .frame-options { gap: 10px; }
  .frame-options .option-btn { padding: 12px 10px; border-radius: 12px; }
}
