/* L'ancien design REF., épuré des fonctions e-commerce non désirées. */
body { background: #eee8df; }

.shop .product-card .product-price::before,
.hero__caption::before,
.product-modal::after,
.product-modal__visual::after {
  display: none !important;
  content: none !important;
}

.product-modal__visual > span {
  display: none !important;
}

.site-header .nav { gap: clamp(20px,3vw,48px); }
.site-header .nav-actions { margin-left: 4px; }

.shop .product-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  max-width: 1320px;
  margin-inline: auto;
}

#boutique .product-card {
  display: flex;
  flex-direction: column;
}

#boutique .product-card[hidden],
#boutique .product-card.is-filtered-out {
  display: none !important;
}

#boutique .product-grid > .product-card[data-product-family="le-regard"] .product-visual {
  background: linear-gradient(145deg,#fff0df 0%,#ffbc79 52%,#ef7655 100%) !important;
}

#boutique .product-grid > .product-card[data-product-family="radio-bebe"] .product-visual {
  background: linear-gradient(145deg,#edfbff 0%,#a6e4f4 52%,#4e9fc4 100%) !important;
}

#boutique .product-grid > .product-card[data-product-family="chien-soleil"] .product-visual {
  background: linear-gradient(145deg,#fff6d7 0%,#f4ca72 52%,#d8813e 100%) !important;
}

#boutique .product-grid > .product-card[data-product-family="poupee-triste"] .product-visual {
  background: linear-gradient(145deg,#fff4f7 0%,#f3c6d5 52%,#c98fa6 100%) !important;
}

#boutique .product-grid > .product-card[data-product-family="plankton-furax"] .product-visual {
  background: linear-gradient(145deg,#e8f9f4 0%,#72c9c7 50%,#304fa2 100%) !important;
}

#boutique .product-photo,
#boutique .product-card:hover .product-photo {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

#boutique .product-card[data-product-family="le-regard"] .product-photo,
#boutique .product-card[data-product-family="radio-bebe"] .product-photo,
#boutique .product-card[data-product-family="chien-soleil"] .product-photo,
#boutique .product-card[data-product-family="poupee-triste"] .product-photo,
#boutique .product-card[data-product-family="plankton-furax"] .product-photo {
  width: 68%;
  height: 84%;
  object-fit: contain;
}

.product-modal[data-product-family="le-regard"] .product-modal__art > .product-photo,
.product-modal[data-product-family="radio-bebe"] .product-modal__art > .product-photo,
.product-modal[data-product-family="chien-soleil"] .product-modal__art > .product-photo,
.product-modal[data-product-family="poupee-triste"] .product-modal__art > .product-photo,
.product-modal[data-product-family="plankton-furax"] .product-modal__art > .product-photo {
  width: 100%;
  height: 100%;
}

.stock-composite {
  position: relative;
  width: min(100%,1024px);
  aspect-ratio: 1024 / 625;
  overflow: hidden;
  margin: auto;
}
.stock-composite__base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.stock-composite__design {
  position: absolute;
  left: 16.8%;
  top: 28.7%;
  width: 20.5%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 3px;
  filter: saturate(.97) contrast(.98);
  mix-blend-mode: multiply;
}
.stock-composite__design img {
  position: absolute;
  max-width: none;
  height: auto;
}
.stock-composite__design--kinder img {
  width: 230%;
  left: -65.3%;
  top: -59.6%;
}
.stock-composite__design--flash img {
  width: 275%;
  left: -99.5%;
  top: -100%;
}
.stock-composite--card { width: 96%; }
.product-visual .stock-composite { position: relative; z-index: 2; }
.product-modal__art .stock-composite { width: min(94%,760px); }
.product-modal__art > .product-photo { width: 100%; height: 100%; object-fit: contain; }
.product-modal__gallery-count { max-width: calc(100% - 44px); white-space: nowrap; }
.product-modal__visual.product-visual--black .stock-composite__design {
  mix-blend-mode: normal;
}

#boutique .product-meta {
  min-height: 112px;
  padding-top: 20px;
}

#boutique .product-card__buyrow { margin-top: auto; }
#boutique .product-card__view { cursor: pointer; }
#boutique .product-price .price-current { font-size: 23px; }

.product-modal__panel { max-height: min(900px,92vh); }
.product-modal__actions { grid-template-columns: 1fr; }
.product-modal__buy { width: 100%; }

.catalogue-cta a,
.catalogue-cta a:hover {
  background: linear-gradient(115deg,#b32653 0 68%,#ff174b 68% 100%);
}
.catalogue-cta a > b { background: #fff; }
.catalogue-cta a:hover > b { background: #ffc928; }

.classic-faq {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(50px,9vw,150px);
  color: #171614;
  background: #eee8df;
  border-top: 1px solid rgba(23,22,20,.18);
}
.classic-faq h2 {
  margin: 14px 0 0;
  font-size: clamp(62px,7vw,105px);
  font-weight: 800;
  line-height: .78;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.classic-faq__list { border-top: 1px solid #171614; }
.classic-faq details { border-bottom: 1px solid rgba(23,22,20,.25); }
.classic-faq summary {
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.classic-faq summary::-webkit-details-marker { display: none; }
.classic-faq summary span { width: 27px; height: 27px; display: grid; place-items: center; color: #fff; background: #171614; }
.classic-faq details p { max-width: 650px; margin: -3px 0 25px; color: rgba(23,22,20,.62); line-height: 1.6; }

.product-modal__info { align-self: start; padding: clamp(38px,4vw,58px); }
.product-modal__description { margin: 18px 0 24px; }
.product-modal__choice { padding-block: 18px; }
.preorder-form {
  position: relative;
  padding: 18px 0 4px;
  border-top: 1px solid #c4beb5;
}
.preorder-form__heading {
  margin-bottom: 12px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.preorder-form__heading small,
.preorder-form__heading strong { display: block; }
.preorder-form__heading small {
  margin-bottom: 5px;
  color: #8c2a48;
  font: 700 8px "DM Mono",monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.preorder-form__heading strong { font-size: 15px; }
.preorder-form__heading > span {
  padding: 6px 9px;
  border: 1px solid #171614;
  border-radius: 999px;
  font: 700 8px "DM Mono",monospace;
  white-space: nowrap;
}
.preorder-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.preorder-form__grid label { display: grid; gap: 7px; }
.preorder-form__grid label > span {
  color: #625d56;
  font: 700 8px "DM Mono",monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.preorder-form__wide { grid-column: 1 / -1; }
.preorder-form input[type="text"],
.preorder-form input[type="email"] {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #aaa39a;
  border-radius: 10px;
  color: #171614;
  background: rgba(255,255,255,.72);
  font: 600 13px "Manrope",sans-serif;
  outline: none;
  transition: border-color .2s,box-shadow .2s,background .2s;
}
.preorder-form input:focus {
  border-color: #a9234a;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(169,35,74,.1);
}
.preorder-form input:user-invalid { border-color: #c51f42; background: #fff5f7; }
.preorder-form__consent {
  margin: 11px 0 13px;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px;
  color: #6d675f;
  font-size: 9px;
  line-height: 1.5;
}
.preorder-form__consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: #a9234a; }
.preorder-form__consent a { color: #171614; font-weight: 800; }
.preorder-form__trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.product-modal__buy {
  min-height: 76px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 14px 15px 14px 20px;
  align-items: center;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(115deg,#171614 0 54%,#a9234a 100%);
  box-shadow: 0 13px 30px rgba(112,21,51,.24),inset 0 1px rgba(255,255,255,.12);
  transform: translateY(0);
  transition: transform .2s,box-shadow .2s,filter .2s;
}
.product-modal__buy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg,transparent 30%,rgba(255,255,255,.25) 48%,transparent 66%);
  transform: translateX(-130%);
  animation: preorderShine 3.4s ease-in-out infinite;
}
.product-modal__buy > span { display: grid; gap: 3px; text-align: left; }
.product-modal__buy small {
  color: rgba(255,255,255,.68);
  font: 600 8px "DM Mono",monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-modal__buy b { font-size: 16px; letter-spacing: -.02em; }
.product-modal__buy > strong {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  border-radius: 50%;
  color: #171614;
  background: #ffc928;
  font-size: 20px;
  animation: preorderArrow 1.8s ease-in-out infinite;
}
.product-modal__buy:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(115deg,#171614 0 44%,#c52d5a 100%);
  box-shadow: 0 17px 38px rgba(112,21,51,.34),0 0 0 4px rgba(169,35,74,.08);
  transform: translateY(-3px);
}
.product-modal__buy:focus-visible { outline: 3px solid #ffc928; outline-offset: 3px; }
.product-modal__buy[disabled] { opacity: .72; cursor: wait; transform: none; filter: grayscale(.2); }
.product-modal__buy.is-loading > strong { color: transparent; animation: none; }
.product-modal__buy.is-loading > strong::after {
  content: "";
  width: 17px;
  height: 17px;
  border: 2px solid rgba(23,22,20,.3);
  border-top-color: #171614;
  border-radius: 50%;
  animation: preorderSpin .7s linear infinite;
}
.preorder-form__status { min-height: 18px; margin: 9px 0 0; font-size: 10px; font-weight: 700; }
.preorder-form__status.is-success { color: #177543; }
.preorder-form__status.is-error { color: #b51d3e; }

@keyframes preorderShine { 0%,58% { transform: translateX(-130%); } 82%,100% { transform: translateX(130%); } }
@keyframes preorderArrow { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes preorderSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .product-modal__buy::before,
  .product-modal__buy > strong { animation: none; }
}

.toast:empty { display: none; }
.toast.is-visible { display: block; }

@media (max-width: 820px) {
  .shop .product-grid { grid-template-columns: 1fr 1fr; }
  .classic-faq { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 640px) {
  .shop .product-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  #boutique .product-meta { min-height: 78px; padding-top: 10px; }
  .classic-faq { padding-inline: 5vw; }
  .classic-faq h2 { font-size: 58px; }
  .classic-faq summary { font-size: 12px; }
  .preorder-form__grid { grid-template-columns: 1fr; }
  .preorder-form__wide { grid-column: auto; }
  .product-modal__buy { min-height: 70px; }
  .product-modal__panel { max-height: 94vh; }
  .product-modal__visual.has-gallery {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    padding: 54px 54px 78px !important;
    box-sizing: border-box;
  }
  .product-modal__visual.has-gallery .product-modal__art {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
  }
  .product-modal__art .stock-composite {
    width: 100% !important;
    max-width: 100% !important;
  }
  .product-modal__gallery-arrow {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    top: 49% !important;
    padding: 0 !important;
    border-radius: 50% !important;
    transform: translateY(-50%) !important;
  }
  .product-modal__gallery-arrow--prev { left: 10px !important; }
  .product-modal__gallery-arrow--next {
    left: calc(100vw - 52px) !important;
    right: auto !important;
  }
  .product-modal__gallery-arrow span { display: none !important; }
  .product-modal__gallery-arrow svg { width: 16px !important; height: 16px !important; }
  .product-modal__gallery-count {
    left: 50% !important;
    right: auto !important;
    top: 12px !important;
    max-width: calc(100% - 28px);
    overflow: hidden;
    font-size: 7px !important;
    text-overflow: ellipsis;
    transform: translateX(-50%);
  }
  .catalogue-cta a { width: 100%; min-width: 0; min-height: 104px; padding: 18px 12px; }
  .catalogue-cta__copy { min-width: 0; }
  .catalogue-cta__copy small { font-size: 6px; letter-spacing: .09em; }
  .catalogue-cta__copy strong { font-size: 19px; }
  .catalogue-cta a > b { width: 44px; font-size: 24px; }
}

/* Drop du 13 août : palettes dédiées aux cinq nouvelles impressions couleur. */
#boutique .product-grid > .product-card[data-product-family="lecture-intense"] .product-visual {
  background: linear-gradient(145deg,#fff4d8 0%,#ebc76e 52%,#b3783d 100%) !important;
}

#boutique .product-grid > .product-card[data-product-family="ca-chauffe"] .product-visual {
  background: linear-gradient(145deg,#eff7f5 0%,#a9c6c0 52%,#536b69 100%) !important;
}

#boutique .product-grid > .product-card[data-product-family="rubis-royal"] .product-visual {
  background: linear-gradient(145deg,#ffe7ec 0%,#db7289 50%,#681329 100%) !important;
}

#boutique .product-grid > .product-card[data-product-family="couillon-rubis"] .product-visual {
  background: linear-gradient(145deg,#fff0f2 0%,#ef3e62 50%,#760b25 100%) !important;
}

#boutique .product-grid > .product-card[data-product-family="couillon-triste"] .product-visual {
  background: linear-gradient(145deg,#fff5d9 0%,#e4bd69 52%,#815c2f 100%) !important;
}

#boutique .product-card[data-product-family="lecture-intense"] .product-photo,
#boutique .product-card[data-product-family="ca-chauffe"] .product-photo,
#boutique .product-card[data-product-family="rubis-royal"] .product-photo,
#boutique .product-card[data-product-family="couillon-rubis"] .product-photo,
#boutique .product-card[data-product-family="couillon-triste"] .product-photo {
  width: 68%;
  height: 84%;
  object-fit: contain;
}

.product-modal[data-product-family="lecture-intense"] .product-modal__art > .product-photo,
.product-modal[data-product-family="ca-chauffe"] .product-modal__art > .product-photo,
.product-modal[data-product-family="rubis-royal"] .product-modal__art > .product-photo,
.product-modal[data-product-family="couillon-rubis"] .product-modal__art > .product-photo,
.product-modal[data-product-family="couillon-triste"] .product-modal__art > .product-photo {
  width: 100%;
  height: 100%;
}

/* Motion pass: transitions plus longues, easing naturel et uniquement GPU. */
:root { --motion-fluid: cubic-bezier(.22,.72,.18,1); }

.shop .product-card {
  transition: transform .34s var(--motion-fluid),box-shadow .34s ease,border-color .28s ease !important;
  backface-visibility: hidden;
}

.product-card__view,
.product-card__view b,
.filter,
.color-option,
.size-list button {
  transition-duration: .28s !important;
  transition-timing-function: var(--motion-fluid) !important;
}

.product-modal__backdrop { transition: opacity .38s ease !important; }
.product-modal__panel {
  transition: transform .46s var(--motion-fluid),opacity .34s ease !important;
  will-change: transform,opacity;
}

.product-modal__art > .product-photo {
  animation: productImageIn .38s var(--motion-fluid) both;
  backface-visibility: hidden;
}

@keyframes productImageIn {
  from { opacity: 0; transform: translate3d(12px,0,0) scale(.985); }
  to { opacity: 1; transform: translate3d(0,0,0) scale(1); }
}

@media (hover: hover) and (pointer: fine) {
  #boutique .product-card .product-photo {
    transition: transform .44s var(--motion-fluid) !important;
  }

  #boutique .product-card:hover .product-photo {
    transform: translate3d(0,-6px,0) scale(1.025) !important;
  }

  .shop .product-card:hover { transform: translate3d(0,-4px,0); }
}

@media (max-width: 640px) {
  .shop .product-card { transition-duration: .24s !important; }
  .announcement::before { filter: blur(8px); }
}

@media (prefers-reduced-motion: reduce) {
  .product-modal__art > .product-photo { animation: none !important; }
  .product-modal__panel { will-change: auto; }
}
