/* Proposition bornée aux deux nouveaux emplacements, sans effet sur les formulaires. */
#cek-facade #demander .cek-video-layout,
#cek-facade #qu-est-ce-qu-une-facade-de-cuisine-sur-mesure .cek-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 32px;
  width: 100%;
  min-width: 0;
}
#cek-facade #demander .cek-video-copy,
#cek-facade #qu-est-ce-qu-une-facade-de-cuisine-sur-mesure .cek-video-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
#cek-facade #demander .cek-video-layout {
  margin-bottom: 32px;
}
#cek-facade #demander .cek-video-layout > .s-head,
#cek-facade #demander .cek-video-copy > .s-head {
  max-width: none;
  margin-bottom: 0;
}
#cek-facade #qu-est-ce-qu-une-facade-de-cuisine-sur-mesure .answer-card > h2 {
  width: 100%;
  max-width: none;
}
#cek-facade #qu-est-ce-qu-une-facade-de-cuisine-sur-mesure .cek-video-copy > p {
  max-width: none;
}
#cek-facade #demander .cek-video,
#cek-facade #qu-est-ce-qu-une-facade-de-cuisine-sur-mesure .cek-video {
  position: relative;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}
#cek-facade #demander .cek-video-player,
#cek-facade #qu-est-ce-qu-une-facade-de-cuisine-sur-mesure .cek-video-player {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (min-width: 701px) and (max-width: 1100px) {
  #cek-facade #demander .cek-video-layout,
  #cek-facade #qu-est-ce-qu-une-facade-de-cuisine-sur-mesure .cek-video-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }
}
@media (max-width: 700px) {
  #cek-facade #demander .cek-video-layout,
  #cek-facade #qu-est-ce-qu-une-facade-de-cuisine-sur-mesure .cek-video-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  #cek-facade #demander .cek-video,
  #cek-facade #qu-est-ce-qu-une-facade-de-cuisine-sur-mesure .cek-video {
    max-width: none;
  }
}

#cek-facade figure.cek-video {
  width: 100%;
  max-width: var(--cek-video-width, 360px);
  margin: 0;
}
#cek-facade .cek-video .cek-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: var(--cek-video-ratio, 9 / 16);
  overflow: hidden;
  border-radius: 22px;
  background: #f6f4f1;
}
#cek-facade .cek-video .cek-video-player {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  border-radius: inherit;
}
/* Keep the placeholder opaque while the native video controls initialize. */
#cek-facade .cek-video .cek-video-cover {
  position: absolute;
  z-index: 1;
  visibility: visible;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  background: #f6f4f1;
  pointer-events: none;
}
#cek-facade .cek-video .cek-video-cta {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 32px);
  max-width: 280px;
  min-height: 48px;
  padding: 12px 14px;
  overflow: visible;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font: 600 15.5px/1.3 var(--sans, sans-serif);
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
#cek-facade .cek-video .cek-video-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #111;
}
#cek-facade .cek-video .cek-video-cta-label {
  display: grid;
  width: 100%;
}
#cek-facade .cek-video .cek-video-cta-label > span {
  grid-area: 1 / 1;
  color: inherit;
}
#cek-facade .cek-video .cek-video-label-explain {
  will-change: opacity;
  animation: cek-video-explain 8s linear infinite;
}
#cek-facade .cek-video .cek-video-label-watch {
  opacity: 0;
  will-change: opacity;
  animation: cek-video-watch 8s linear infinite;
}
#cek-facade .cek-video .cek-video-label-loading {
  opacity: 0;
  visibility: hidden;
}
#cek-facade .cek-video .cek-video-cta[aria-busy="true"] .cek-video-cta-label > span {
  animation: none;
  will-change: auto;
  opacity: 0;
}
#cek-facade .cek-video .cek-video-cta[aria-busy="true"] .cek-video-label-loading {
  opacity: 1;
  visibility: visible;
}
#cek-facade .cek-video .cek-video-hand {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  display: block;
  width: 36px;
  height: 43px;
  transform: translate3d(-50%, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  pointer-events: none;
  animation: cek-video-hand 2.4s cubic-bezier(.45, 0, .55, 1) infinite;
}
#cek-facade .cek-video .cek-video-cta[aria-busy="true"] .cek-video-hand {
  animation: none;
  will-change: auto;
}
#cek-facade .cek-video .cek-video-status {
  position: absolute;
  right: 16px;
  bottom: 64px;
  left: 16px;
  z-index: 2;
  margin: 0;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(17, 17, 17, .9);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  pointer-events: none;
}
#cek-facade .cek-video .cek-video-cta[hidden],
#cek-facade .cek-video .cek-video-cover[hidden],
#cek-facade .cek-video .cek-video-status[hidden] {
  display: none !important;
}
@keyframes cek-video-explain {
  0%, 42% { opacity: 1; }
  48%, 94% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes cek-video-watch {
  0%, 48% { opacity: 0; }
  54%, 88% { opacity: 1; }
  94%, 100% { opacity: 0; }
}
@keyframes cek-video-hand {
  0%, 100% { transform: translate3d(-50%, 0, 0); }
  50% { transform: translate3d(-50%, 4px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  #cek-facade .cek-video .cek-video-label-explain,
  #cek-facade .cek-video .cek-video-label-watch,
  #cek-facade .cek-video .cek-video-hand {
    animation: none;
    will-change: auto;
  }
  #cek-facade .cek-video .cek-video-label-explain { opacity: 1; }
  #cek-facade .cek-video .cek-video-label-watch { opacity: 0; }
}

#cek-facade figure.cek-video > figcaption { margin: 12px 0 0; padding: 0 2px; color: #555; font: 400 13px/1.5 var(--sans,sans-serif); text-align: left; }
#cek-facade figure.cek-video > figcaption strong { font-weight: 600; }
@media (max-width:700px) { #cek-facade figure.cek-video { max-width: none; } }

/* Échantillons : laisser la cuisine visible au-dessus du bouton. */
#cek-facade #cek-video-308117 .cek-video-cta {
  top: 76%;
}

#cek-facade .cek-video[data-cek-video-in-view="false"] .cek-video-hand,
#cek-facade .cek-video[data-cek-video-in-view="false"] .cek-video-cta-label > span {
  animation-play-state: paused;
}

#cek-facade .cek-video .cek-video-shop-row {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}
#cek-facade .cek-video .cek-video-shop {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  color: #fff;
  font: 600 13px/1 var(--sans, sans-serif);
  text-decoration: none;
}
#cek-facade .cek-video .cek-video-shop span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  box-sizing: border-box;
  padding: 0 15px;
  border: 1px solid #216db5;
  border-radius: 999px;
  background: #216db5;
}
#cek-facade .cek-video .cek-video-shop:hover span,
#cek-facade .cek-video .cek-video-shop:focus-visible span {
  border-color: #185d9e;
  background: #185d9e;
}
#cek-facade .cek-video .cek-video-shop:focus-visible {
  outline: 2px solid #216db5;
  outline-offset: 2px;
  border-radius: 999px;
}
@media (min-width: 861px) {
  #cek-facade .cek-video .cek-video-shop span { min-height: 36px; }
}

/* Let the reader follow the adjacent text on a tablet, within its own grid. */
@media (min-width: 768px) and (max-width: 1100px) {
  #cek-facade .cek-video[data-cek-video-tablet] {
    align-self: start !important;
  }
}
@media (min-width: 768px) and (max-width: 1100px) and (min-height: 720px) {
  #cek-facade .cek-video:is([data-cek-video-tablet="follow"], [data-cek-video-tablet="follow-compact"]) {
    position: sticky !important;
    top: 104px;
  }
}
@media (min-width: 768px) and (max-width: 1100px) and (max-height: 850px) {
  #cek-facade :has(> .cek-video[data-cek-video-tablet="follow-compact"]) {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr) !important;
  }
}
@media (min-width: 900px) and (max-width: 1100px) and (min-height: 768px) {
  #cek-facade .cotes-video-media:has(> .cek-video[data-cek-video-tablet="follow-wide"]) {
    position: sticky;
    top: 94px;
    align-self: start;
    max-width: 240px;
  }
}
