/* A product cover and the corresponding payment in the merchant's Stripe account. */
.sale-layout {
  color: #fffaf9;
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 51fr 49fr;
  overflow: hidden;
  isolation: isolate;
  background: #312338;
}
.sale-sleeve-stage {
  display: grid;
  align-items: center;
  justify-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(123deg,#e5ddd9 6%,#d8cecf 64%,#c6bbbf);
}
.sale-sleeve {
  position: relative;
  width: min(70%,35cqw);
  aspect-ratio: 1 / 1.03;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 5.8% 6.1% 0;
  overflow: hidden;
  background: #f99157;
  color: #3c232a;
  transform: rotate(-6deg);
  box-shadow: inset 1px 0 0 #fbb78f, inset -2px 0 0 #ce7053, 1px 1px 0 #e3ab8f, 2px 2px 0 #9c6155, 4px 6px 6px #65425932, 12px 18px 19px -7px #532f4540;
}
.sale-edition {
  position: relative;
  z-index: 1;
  font-size: clamp(8px,1.26cqw,12px);
  font-weight: 570;
  letter-spacing: -.012em;
  line-height: 1.1;
}
.sale-title {
  position: relative;
  z-index: 1;
  margin-top: 6.5%;
  font-size: clamp(38px,6.55cqw,67px);
  line-height: .83;
  letter-spacing: -.09em;
  font-weight: 730;
}
.sale-title span {color:#fff2db;}
.sale-wave {position:absolute;inset:auto 0 0;width:100%;height:37%;display:block;}
.sale-register {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  min-width: 0;
  padding: 8.3% 13% 8.5% 11.5%;
}
.sale-register-head {display:flex;align-items:center;justify-content:space-between;gap:4px;}
.sale-register-head img {width:clamp(37px,6.5cqw,68px);height:auto;filter:brightness(0) invert(1);}
.sale-register-head>span {color:#e1d4e6;font-size:clamp(10px,1.39cqw,15px);line-height:1.1;}
.sale-value {margin:4% 0;color:#fffaf9;}
.sale-value p {margin:0 0 .36em;font-size:clamp(13px,2.23cqw,24px);line-height:1.11;letter-spacing:-.045em;}
.sale-value strong {font-size:clamp(42px,8.45cqw,88px);font-weight:485;letter-spacing:-.08em;line-height:.98;white-space:nowrap;}
.sale-value strong>span:first-child {font-size:.7em;vertical-align:10%;margin-right:.06em;}
.sale-value strong>span:last-child {color:#cbb7d0;}
.sale-item {display:flex;align-items:center;gap:8%;padding-top:6.7%;border-top:1px solid #67536c;}
.sale-item div {display:grid;gap:3px;}
.sale-item b {font-size:clamp(13px,2.02cqw,21px);line-height:1;font-weight:560;letter-spacing:-.025em;}
.sale-item small {color:#d6c8d8;font-size:clamp(10px,1.45cqw,15px);line-height:1.1;}
.sale-tick {position:relative;display:grid;place-items:center;width:clamp(23px,3.9cqw,44px);aspect-ratio:1;background:#d0e3bb;border-radius:50%;color:#31462e;}
.sale-tick::after {content:"";display:block;width:40%;height:21%;border:solid currentColor;border-width:0 0 max(1.5px,.23cqw) max(1.5px,.23cqw);transform:translateY(-10%) rotate(-45deg);}
@container (max-width:480px){
  .sale-layout {grid-template-columns:47fr 53fr;}
  .sale-sleeve {width:81%;padding:6.5% 5.9% 0;}
  .sale-title {font-size:9.2cqw;}
  .sale-register {padding:10.3% 10% 10.9%;}
  .sale-value strong {font-size:clamp(37px,10.6cqw,49px);}
  .sale-value p {font-size:clamp(12px,3.75cqw,16px);}
  .sale-edition {font-size:clamp(7px,2.05cqw,10px);}
}
@container (max-width:310px){
  .sale-layout {grid-template-columns:44fr 56fr;}
  .sale-register {padding-inline:8%;}
}
@media(prefers-reduced-motion:no-preference){
  .sale-scene[data-position=current] .sale-tick {animation:sale-received .55s cubic-bezier(.23,.77,.27,1) both;}
  @keyframes sale-received {from{transform:scale(.82);opacity:.55}to{transform:scale(1);opacity:1}}
}
