/* Comptoir émeraude : affiche snack. Les photos proviennent de la référence du commerçant. */
body[data-background-mode="preset-4"][data-home-layout="presentation-4"] {
  --merchant-ink: #251e17;
  --merchant-muted: #54483f;
  --merchant-accent: #d9770a;
  --merchant-paper: #fff8ed;
  background: repeating-linear-gradient(142deg, transparent 0 275px, #e99e24 276px 280px, transparent 281px 485px), #201d19 !important;
}
body[data-background-mode="preset-4"][data-home-layout="presentation-4"] .hero.old-layout {
  isolation:isolate;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:15px !important;
  width:min(580px,calc(100% - 28px)) !important;
  min-height:0 !important;
  margin:22px auto !important;
  padding:clamp(20px,4vw,36px) clamp(14px,3vw,30px) 25px !important;
  border-radius:30px !important;
  background:linear-gradient(155deg,#fffdfa,#fff7eb 80%,#fffdfa) !important;
  box-shadow:0 12px 40px #09070560;
  overflow:visible !important;
}
body[data-background-mode="preset-4"][data-home-layout="presentation-4"] .hero.old-layout > .hero-copy {
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
}
body[data-background-mode="preset-4"][data-home-layout="presentation-4"] .centered-brand {
  align-self:center;
  padding:0 !important;
  border:0 !important;
  margin:0 auto 8px !important;
}
body[data-background-mode="preset-4"][data-home-layout="presentation-4"] #heroEyebrow {
  background:#ffc635 !important;
  border:none !important;
  margin:4px auto 8px !important;
}
body[data-background-mode="preset-4"][data-home-layout="presentation-4"] #heroTitle { text-shadow:none; line-height:1.04 !important; }
body[data-background-mode="preset-4"][data-home-layout="presentation-4"] .hero.old-layout>.hero-actions { width:min(350px,94%) !important; justify-content:center !important; background:transparent !important; border:0 !important; box-shadow:none !important; }
body[data-background-mode="preset-4"][data-home-layout="presentation-4"] .hero-actions #playBtn {
  background:linear-gradient(105deg,var(--user-play-bg),var(--user-play-bg2)) !important;
  box-shadow:0 4px 0 #853804,0 8px 17px #ba50112b !important;
}
body[data-background-mode="preset-4"][data-home-layout="presentation-4"] .fine-print { max-width:42ch !important; }
.comptoir-wheel { display:block; border:0; padding:0; border-radius:50%; background:transparent; cursor:pointer; width:92%; aspect-ratio:1; position:relative; margin:18px auto 6px; filter:drop-shadow(0 10px 8px #60340833); }
.comptoir-wheel canvas { display:block; width:100%; height:auto; border-radius:50%; background:linear-gradient(130deg,#fff0ac,#f9b026 40%,#ba6807 70%,#ffe39a); }
.comptoir-wheel i { position:absolute; top:-3%; left:44%; width:12%; height:12%; clip-path:polygon(0 0,100% 0,50% 100%); background:linear-gradient(120deg,#ff633b,#bd1d13); }
.comptoir-wheel::after {
  content:""; position:absolute; width:17%; aspect-ratio:1; inset:50% auto auto 50%; transform:translate(-50%,-50%);
  border-radius:50%; border:2px solid #ffc633; background:#201c17 url('../assets/comptoir-snack.webp') 49.45% 45.7% / 825% auto no-repeat;
}
body[data-background-mode="preset-4"] .hero.old-layout > .cobalt-stage-decoration {
  display:block !important; position:absolute; inset:0; z-index:1; pointer-events:none; overflow:visible;
}
body[data-background-mode="preset-4"] .cobalt-stage-decoration :is(span,i) { display:none !important; }
body[data-background-mode="preset-4"] .hero.old-layout>.cobalt-stage-decoration::before,
body[data-background-mode="preset-4"] .hero.old-layout>.cobalt-stage-decoration::after {
  content:""; position:absolute; background-image:url('../assets/comptoir-snack.webp'); background-repeat:no-repeat;
}
body[data-background-mode="preset-4"] .cobalt-stage-decoration::before {
  top:-22px; right:-14px; width:clamp(60px,16vw,100px); aspect-ratio:175/325;
  background-size:538% auto; background-position:100% 0;
  clip-path:polygon(57% 0,100% 0,100% 88%,42% 100%,24% 94%,18% 82%,8% 78%,10% 66%,0 58%,7% 48%,0 43%,4% 28%,20% 14%);
}
body[data-background-mode="preset-4"] .cobalt-stage-decoration::after {
  left:-14px; bottom:18%; width:clamp(38px,9vw,66px); aspect-ratio:137/392;
  background-size:687% auto; background-position:0 52.6%;
  clip-path:polygon(0 0,11% 1%,22% 14%,37% 10%,44% 17%,67% 12%,72% 17%,59% 29%,92% 21%,100% 26%,80% 47%,87% 45%,80% 60%,77% 69%,16% 100%,0 95%);
}
