.soap-profile > h3{margin-bottom:15px}
.soap-profile > .soap-profile-intro{min-height:0}
.soap-profile > .soap-description{margin-top:5px}
.soap-benefits{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.soap-profile > .soap-benefits{margin-top:20px}
.soap-benefits > li{
  flex-direction:row;
  gap:10px;
  font-size:13px;
  text-align:left;
}
.soap-benefits .soap-benefit-icon{
  flex:none;
  width:28px;
  height:28px;
}
.soap-benefits .soap-benefit-icon svg{
  width:18px;
  height:18px;
}

.soap-gallery-main>picture{display:block;width:100%;height:100%}
@property --soap-countdown-angle{
  syntax:"<angle>";
  inherits:false;
  initial-value:0deg;
}
.soap-gallery.is-counting-down .soap-gallery-thumb[aria-pressed="true"]{
  position:relative;
  border-color:var(--accent-muted);
}
.soap-gallery.is-counting-down .soap-gallery-thumb[aria-pressed="true"]::before{
  content:"";
  position:absolute;
  inset:-2px;
  padding:2px;
  border-radius:inherit;
  background:conic-gradient(var(--accent) var(--soap-countdown-angle),transparent 0);
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;
  pointer-events:none;
  animation:soap-gallery-countdown var(--soap-advance-duration) linear both;
}
@keyframes soap-gallery-countdown{to{--soap-countdown-angle:360deg}}

.soap-preview-trigger{display:inline-flex;align-items:center;gap:inherit}
.soap-preview-trigger-label{text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:color-mix(in srgb,currentColor 55%,transparent);text-underline-offset:3px}
.soap-preview-trigger:hover .soap-preview-trigger-label{color:var(--accent-hover);text-decoration-color:currentColor}
.soap-preview-layout{--soap-preview-photo-width:40%;display:grid;grid-template-columns:minmax(0,var(--soap-preview-photo-width)) minmax(0,1fr)}
.soap-preview-layout picture{display:block;position:relative;min-height:100%;background:var(--surface-muted)}
.soap-preview-layout picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.soap-preview-content{padding:clamp(32px,4vw,52px) clamp(24px,2.8vw,36px);color:var(--accent)}
.soap-preview-content h2{font-size:clamp(28px,4vw,36px);margin-bottom:10px;text-wrap:balance}
.soap-preview-content .soap-profile-intro{margin:0;font-size:clamp(15px,1.55vw,20px)}
.soap-preview-benefits{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}
.soap-preview-content .soap-benefits{margin:0;max-width:none}
.soap-preview-ingredients{margin-top:22px}
.soap-preview-ingredients h3{font-size:17px;margin-bottom:7px}
.soap-preview-ingredients p{font-size:14px;line-height:1.65;color:var(--muted)}
@media(min-width:761px){
  .soap-preview.design-preview{width:min(840px,calc(100vw - 40px))}
  .soap-preview-layout{position:relative}
  .soap-preview-layout picture{overflow:hidden;background:var(--surface)}
  .soap-preview-layout picture img{
    top:-10%;
    mask-image:linear-gradient(#000 88%,transparent);
  }
  .soap-preview-order{
    position:absolute;
    left:calc(var(--soap-preview-photo-width) / 2);
    bottom:18%;
    translate:-50% 0;
    margin-top:0;
  }
}
@media(max-width:760px){
  .soap-gallery-main{aspect-ratio:auto;overflow:visible;border-radius:0;background:none}
  .soap-gallery-main>picture{height:auto;aspect-ratio:3/2;overflow:hidden;border-radius:21px;background:var(--soap-tint)}
  .soap-gallery-overlay{position:static;margin-top:8px}
  .soap-preview-layout{grid-template-columns:minmax(0,1fr)}
  .soap-preview-layout picture{min-height:0;aspect-ratio:3/2}
  .soap-preview-content{padding:24px 20px 28px}
  .soap-preview-order{width:100%;margin-top:24px}
}
