/* =========================================================
   Gauguin's Pearl — Page produit élégante (thème enfant Blocksy)
   Direction : luxe / minimalisme raffiné
   ========================================================= */

.gp-product {
  /* Palette de marque */
  --gp-sand:    #F7F2EA; /* Sable clair  — fond */
  --gp-cream:   #EDE0C4; /* Crème nacre  — surfaces douces */
  --gp-gold:    #C9A96E; /* Or doux      — accent / filets */
  --gp-lagoon:  #2E7D8C; /* Lagon profond— liens / hover */
  --gp-night:   #1A3A4A; /* Bleu nuit    — texte principal */

  --gp-night-80: rgba(26, 58, 74, .80);
  --gp-night-55: rgba(26, 58, 74, .55);
  --gp-hair:     rgba(201, 169, 110, .45); /* filet doré */

  --gp-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --gp-sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  font-family: var(--gp-sans);
  color: var(--gp-night);
  background: var(--gp-sand);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  font-weight: 300;
}

/* Conteneur centré, généreux */
.gp-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* ---------- HERO : galerie + résumé ---------- */
.gp-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 8vw, 104px);
}

/* Galerie */
.gp-gallery__main {
  position: relative;
  background: #fff;
  border: 1px solid var(--gp-hair);
  overflow: hidden;
}
.gp-gallery__main img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.gp-gallery__main:hover img { transform: scale(1.04); }

.gp-gallery__thumbs {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.gp-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid transparent;
  background: #fff;
  cursor: pointer;
  opacity: .72;
  transition: opacity .35s ease, border-color .35s ease;
}
.gp-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; }
.gp-thumb:hover { opacity: 1; }
.gp-thumb.is-active { opacity: 1; border-color: var(--gp-gold); }

/* Résumé produit */
.gp-summary { padding-top: 6px; }

.gp-breadcrumb,
.gp-breadcrumb a {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gp-night-55);
  text-decoration: none;
}
.gp-breadcrumb a:hover { color: var(--gp-lagoon); }
.gp-breadcrumb { margin-bottom: 26px; }

.gp-title {
  font-family: var(--gp-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: .005em;
  margin: 0 0 .5rem;
  color: var(--gp-night);
}

.gp-tagline {
  font-family: var(--gp-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--gp-lagoon);
  margin-bottom: 1.6rem;
}
.gp-tagline p { margin: 0; }

.gp-price {
  font-family: var(--gp-serif);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--gp-night);
  margin: 0 0 2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--gp-hair);
}
.gp-price del { color: var(--gp-night-55); font-size: .7em; margin-right: .4em; }
.gp-price ins { text-decoration: none; }

/* Tableau de caractéristiques */
.gp-specs {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 2.2rem;
  font-size: .92rem;
}
.gp-specs th,
.gp-specs td {
  text-align: left;
  padding: .85rem 0;
  border-bottom: 1px solid var(--gp-hair);
  vertical-align: top;
}
.gp-specs th {
  width: 40%;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--gp-night-55);
}
.gp-specs td { color: var(--gp-night); }

/* Bouton de commande */
.gp-cta { margin: 0 0 1.6rem; }
.gp-product .button,
.gp-product button.single_add_to_cart_button,
.gp-cta .gp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  font-family: var(--gp-sans);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gp-sand);
  background: var(--gp-night);
  border: 1px solid var(--gp-night);
  padding: 1.15em 2.6em;
  cursor: pointer;
  transition: background .4s ease, color .4s ease, letter-spacing .4s ease;
  border-radius: 0;
}
.gp-product .button:hover,
.gp-product button.single_add_to_cart_button:hover,
.gp-cta .gp-btn:hover {
  background: var(--gp-gold);
  border-color: var(--gp-gold);
  color: var(--gp-night);
  letter-spacing: .26em;
}
.gp-product .quantity { display: none; } /* perles uniques : 1 exemplaire */

.gp-reassure {
  font-size: .86rem;
  color: var(--gp-night-80);
  line-height: 1.6;
  margin: 0;
  padding-left: 1.1rem;
  border-left: 2px solid var(--gp-gold);
}

/* ---------- Sections éditoriales ---------- */
.gp-section {
  border-top: 1px solid var(--gp-hair);
  padding: clamp(40px, 6vw, 80px) 0;
}
.gp-section--cream { background: var(--gp-cream); border-top-color: transparent; }

.gp-eyebrow {
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gp-gold);
  margin: 0 0 .8rem;
}
.gp-h2 {
  font-family: var(--gp-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 1.4rem;
  color: var(--gp-night);
}
.gp-prose { max-width: 760px; }
.gp-prose p { margin: 0 0 1.1rem; color: var(--gp-night-80); }
.gp-prose strong { font-weight: 500; color: var(--gp-night); }
.gp-prose a { color: var(--gp-lagoon); text-decoration: underline; text-underline-offset: 3px; }

.gp-criteria {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--gp-hair);
  border: 1px solid var(--gp-hair);
}
.gp-criteria li {
  background: var(--gp-sand);
  padding: 1.1rem 1.4rem;
  color: var(--gp-night-80);
}
.gp-section--cream .gp-criteria li { background: var(--gp-cream); }
.gp-criteria strong { color: var(--gp-night); font-weight: 500; }

.gp-figure { margin: 2rem 0 0; }
.gp-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--gp-hair); }

/* Bandeau certificat */
.gp-cert {
  text-align: center;
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--gp-night);
  color: var(--gp-sand);
}
.gp-cert .gp-eyebrow { color: var(--gp-gold); }
.gp-cert .gp-h2 { color: var(--gp-sand); }
.gp-cert p { max-width: 620px; margin: 0 auto; color: rgba(247,242,234,.78); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .gp-hero { grid-template-columns: 1fr; gap: 36px; }
  .gp-gallery__thumbs { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 480px) {
  .gp-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Guide : critères + image zoomable côte à côte ---------- */
.gp-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-top: 1.6rem;
}
.gp-guide-grid .gp-criteria { margin-top: 0; }
.gp-zoomfig { margin: 0; }
.gp-zoomfig img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--gp-hair); background: #fff;
  cursor: zoom-in; transition: opacity .35s ease;
}
.gp-zoomfig img:hover { opacity: .9; }
.gp-zoomfig figcaption {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gp-night-55); margin-top: .7rem;
  display: flex; align-items: center; gap: .5em;
}
.gp-zoomfig figcaption::before { content: "\2295"; color: var(--gp-gold); font-size: 1.1em; }
@media (max-width: 880px) {
  .gp-guide-grid { grid-template-columns: 1fr; }
}

/* ---------- Lightbox (image agrandie) ---------- */
.gp-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(26, 58, 74, .94);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  cursor: zoom-out;
}
.gp-lightbox.is-open { opacity: 1; visibility: visible; }
.gp-lightbox img {
  max-width: 100%; max-height: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  transform: scale(.96); transition: transform .35s ease;
}
.gp-lightbox.is-open img { transform: scale(1); }
.gp-lightbox__close {
  position: absolute; top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px);
  width: 46px; height: 46px;
  border: 1px solid rgba(247, 242, 234, .5);
  background: transparent; color: var(--gp-sand);
  font-size: 26px; line-height: 1; cursor: pointer;
  font-family: var(--gp-sans);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.gp-lightbox__close:hover {
  background: var(--gp-gold); color: var(--gp-night); border-color: var(--gp-gold);
}
