/* Fenêtre du gel conducteur, présentation validée FR/EN. */
.gel-window,
.gel-window * { box-sizing: border-box; }
.gel-window {
  --gel-paper: #fbfaf7;
  --gel-ink: #151312;
  --gel-muted: #625b55;
  --gel-copper: #9a6346;
  --gel-line: #dcd2c8;
  background: var(--gel-paper);
  border: 1px solid #c98e72;
  border-radius: 3px;
  color: var(--gel-ink);
  height: min(856px, calc(100dvh - 64px));
  margin: auto;
  max-height: calc(100dvh - 64px);
  max-width: calc(100vw - 64px);
  overflow: hidden;
  padding: 0;
  width: 1060px;
  font: 400 14px/1.6 'Montserrat', Arial, sans-serif;
  text-align: left;
}
.gel-window[open] { display: grid; grid-template-rows: 65px minmax(0, 1fr) auto; }
.gel-window::backdrop { background: rgb(9 8 7 / 72%); backdrop-filter: blur(4px); }
.gel-window[open] { animation: gel-arrive .3s ease-out both; }
@keyframes gel-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.gel-window p, .gel-window h2, .gel-window h3, .gel-window h4, .gel-window figure { margin: 0; }
.gel-window-header {
  align-items: center;
  border-bottom: 1px solid var(--gel-line);
  display: flex;
  justify-content: space-between;
  padding: 0 18px 0 30px;
}
.gel-window-brand { width: 177px; height: auto; }
.gel-window-close {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  color: var(--gel-ink);
  cursor: pointer;
  display: flex;
  font: 300 31px/1 'Montserrat', Arial, sans-serif;
  height: 44px;
  justify-content: center;
  padding: 0 0 3px;
  width: 44px;
}
.gel-window-close:hover { background: #eee7df; }
.gel-window.gel-window :focus-visible { outline: 2px solid var(--gel-copper); outline-offset: 4px; }
.gel-window-body { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-color: #bb9b85 transparent; scrollbar-width: thin; }
.gel-window-layout { display: grid; grid-template-columns: 40% minmax(0, 1fr); min-height: 100%; }
.gel-window-visual {
  align-items: center;
  align-self: start;
  background: var(--gel-paper);
  display: flex;
  height: min(704px, calc(100dvh - 217px));
  min-height: 420px;
  overflow: hidden;
  position: sticky;
  justify-content: center;
  top: 0;
}
.gel-window-visual img {
  display: block;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
  /* Feather only the background margins of the original photograph.
     The tube stays inside the fully opaque centre of both masks. */
  mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
}
.gel-window-copy { padding: 31px 38px 29px; }
.gel-window-eyebrow { color: var(--gel-copper); font-size: 10px; font-weight: 600; letter-spacing: .15em; line-height: 1.6; text-transform: uppercase; }
.gel-window .gel-window-title {
  font: 500 35px/1.12 'DM Sans', 'Montserrat', Arial, sans-serif;
  letter-spacing: -.025em;
  margin-top: 12px;
  max-width: 420px;
}
.gel-window .gel-window-actives { color: var(--gel-copper); font-size: 17px; font-weight: 500; line-height: 1.5; margin-top: 14px; max-width: 425px; }
.gel-window .gel-window-intro { color: var(--gel-muted); font-size: 14px; line-height: 1.65; margin-top: 17px; }
.gel-window-sensory { align-items: baseline; border-bottom: 1px solid var(--gel-line); display: flex; flex-wrap: nowrap; gap: 0; margin-top: 23px; padding-bottom: 21px; }
.gel-window-sensory span { font-size: 12px; font-weight: 500; white-space: nowrap; }
.gel-window-sensory span + span::before { color: var(--gel-copper); content: '•'; font-size: inherit; font-weight: 600; line-height: inherit; margin: 0 13px; }
.gel-window .gel-window-formula-title { color: var(--gel-ink); font-size: 16px; font-weight: 500; line-height: 1.4; margin-top: 24px; }
.gel-window-ingredients { display: grid; gap: 23px 25px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.gel-window-ingredient { min-width: 0; padding-left: 13px; }
.gel-window .gel-window-ingredient h4 { color: var(--gel-copper); font-size: 13px; font-weight: 600; line-height: 1.5; position: relative; }
.gel-window .gel-window-ingredient h4::before { background: var(--gel-copper); border-radius: 50%; content: ''; height: 4px; left: -13px; position: absolute; top: .6em; width: 4px; }
.gel-window .gel-window-ingredient p { color: var(--gel-muted); font-size: 13px; line-height: 1.6; margin-top: 5px; }
.gel-window .gel-window-context { border-left: 2px solid #c98e72; margin-top: 25px; padding-left: 15px; }
.gel-window-context strong { display: block; font-size: 12px; font-weight: 600; }
.gel-window .gel-window-context p { color: var(--gel-muted); font-size: 13px; line-height: 1.65; margin-top: 5px; }
.gel-window-details { margin-top: 24px; }
.gel-window-details details { border-top: 1px solid var(--gel-line); }
.gel-window-details details:last-child { border-bottom: 1px solid var(--gel-line); }
.gel-window-details summary { align-items: center; cursor: pointer; display: flex; font-size: 13px; font-weight: 500; justify-content: space-between; list-style: none; min-height: 49px; padding: 10px 2px; }
.gel-window-details summary::-webkit-details-marker { display: none; }
.gel-window-details summary::after { border-bottom: 1px solid var(--gel-copper); border-right: 1px solid var(--gel-copper); content: ''; height: 7px; margin: 0 5px 4px 14px; transform: rotate(45deg); width: 7px; }
.gel-window-details details[open] summary::after { margin-top: 7px; transform: rotate(225deg); }
.gel-window-details .gel-window-detail-copy { color: var(--gel-muted); font-size: 13px; line-height: 1.75; padding: 0 2px 18px; }
.gel-window-details .gel-window-detail-copy p + p { margin-top: 12px; }
.gel-window-details .gel-window-inci { overflow-wrap: anywhere; }
.gel-window-footer { align-items: center; background: var(--gel-paper); border-top: 1px solid var(--gel-line); display: flex; gap: 24px; justify-content: space-between; padding: 19px 30px; }
.gel-window-format { color: var(--gel-muted); font-size: 11px; line-height: 1.5; }
.gel-window-price { display: block; font: 500 28px/1.2 'DM Sans', 'Montserrat', Arial, sans-serif; letter-spacing: -.025em; margin-top: 2px; white-space: nowrap; }
.gel-window-buy { align-items: center; display: flex; gap: 25px; }
.gel-window-buy-note { color: var(--gel-muted); font-size: 11px; max-width: 170px; }
.gel-window-add { background: #0a0a0a; border: 1px solid #0a0a0a; border-radius: 2px; color: #fbfaf7; cursor: pointer; font: 500 11px/1.45 'Montserrat', Arial, sans-serif; letter-spacing: .075em; min-height: 48px; min-width: 235px; padding: 13px 22px; text-transform: uppercase; transition: background .18s, border-color .18s, color .18s; }
.gel-window-add:hover, .gel-window-add:focus-visible { background: #c98e72; border-color: #c98e72; color: #0a0a0a; }
.gel-photo-button { background: transparent; border: 0; border-radius: 0; cursor: pointer; display: block; margin: 0; padding: 0; position: relative; width: 100%; }
.gel-photo-button > img { display: block; height: auto; max-width: 100%; width: 100%; }
.gel-photo-button:focus-visible { outline: 2px solid #9a6346; outline-offset: 4px; }
.gel-photo-button-label { align-items: center; background: #fbfaf7; border: 1px solid #cdb7a5; bottom: 15px; color: #151312; display: flex; font: 500 11px/1.4 'Montserrat', Arial, sans-serif; gap: 17px; padding: 11px 14px; position: absolute; right: 15px; }
html:has(.gel-window[open]) { overflow: hidden; scrollbar-gutter: auto; }
@media(max-width:860px) {
  .gel-window { height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); max-width: calc(100vw - 24px); width: 660px; }
  .gel-window[open] { grid-template-rows: 58px minmax(0, 1fr) auto; }
  .gel-window-header { padding: 0 10px 0 20px; }
  .gel-window-brand { width: 158px; }
  .gel-window-layout { grid-template-columns: minmax(0, 1fr); }
  .gel-window-visual { height: 255px; min-height: 0; position: relative; }
  .gel-window-visual img { object-fit: contain; }
  .gel-window-copy { padding: 25px 23px 27px; }
  .gel-window .gel-window-title { font-size: 30px; max-width: 430px; }
  .gel-window .gel-window-actives { font-size: 17px; margin-top: 13px; }
  .gel-window .gel-window-intro { font-size: 14px; line-height: 1.6; }
  .gel-window-sensory { margin-top: 21px; padding-bottom: 20px; }
  .gel-window-sensory span { font-size: 11px; }
  .gel-window-sensory span + span::before { margin: 0 10px; }
  .gel-window .gel-window-formula-title { font-size: 17px; }
  .gel-window-ingredients { gap: 22px 20px; }
  .gel-window .gel-window-ingredient h4 { font-size: 14px; }
  .gel-window .gel-window-ingredient p { font-size: 14px; }
  .gel-window-context strong, .gel-window .gel-window-context p { font-size: 14px; }
  .gel-window-details summary, .gel-window-details .gel-window-detail-copy { font-size: 14px; }
  .gel-window-footer { gap: 12px; padding: 13px 17px; }
  .gel-window-price { font-size: 25px; }
  .gel-window-format { font-size: 10px; }
  .gel-window-buy { min-width: 0; }
  .gel-window-buy-note { display: none; }
  .gel-window-add { font-size: 10px; letter-spacing: .045em; min-width: 0; padding: 12px 15px; }
}
@media(max-width:360px) {
  .gel-window-sensory span + span::before { margin: 0 6px; }
  .gel-window-copy { padding-left: 18px; padding-right: 18px; }
  .gel-window .gel-window-title { font-size: 28px; }
  .gel-window-visual { height: 205px; }
  .gel-window-ingredients { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .gel-window-footer { padding-left: 13px; padding-right: 13px; }
  .gel-window-add { font-size: 9px; padding-left: 10px; padding-right: 10px; }
}
@media(prefers-reduced-motion:reduce) {
  .gel-window[open] { animation: none; }
  .gel-window-add { transition: none; }
}
