.sale-event.shell {
    margin-block: clamp(30px, 5vw, 64px);
    scroll-margin-top: 115px;
}

.sale-event-card {
    --sale-x: 76%;
    --sale-y: 32%;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(145px, .42fr) minmax(0, 1.08fr) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #49434a;
    border-radius: 30px;
    background: radial-gradient(ellipse at var(--sale-x) var(--sale-y), #56404e55, transparent 58%), #111013;
    color: #fff;
}

.sale-event-copy {
    position: relative;
    z-index: 2;
    padding: clamp(30px, 4vw, 60px);
    padding-right: 0;
    padding-left: 6px;
}

.sale-event-topline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-bottom: clamp(28px, 3vw, 42px);
}

.sale-event-topline > span {
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.sale-event-topline time {
    border: 1px solid #ffffff35;
    border-radius: 99px;
    padding: 7px 14px;
    color: #f6e5ee;
    font-size: 12px;
    line-height: 1.2;
}

.sale-event-copy :is(h1, h2) {
    margin: 0;
    font-size: clamp(32px, 3.9vw, 60px);
    font-weight: 580;
    line-height: 1.02;
    letter-spacing: -.06em;
}

.sale-event-copy :is(h1, h2) em {
    color: #ffa7ce;
    font-style: normal;
}

.sale-event-copy > p {
    margin: 22px 0 26px;
    color: #c9c1c9;
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.6;
}

.sale-event-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    min-height: 54px;
    border: 1px solid transparent;
    border-radius: 99px;
    padding: 15px 22px;
    background: #ffc1dd;
    color: #21151c;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: background .2s, transform .2s;
}

.sale-event-button > span {
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.sale-event-button:hover {
    background: #ffe0ed;
    transform: translateY(-2px);
}

.sale-event-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 5px;
}

.sale-event-discount {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 95px 20px 30px;
}

.sale-event-up-to {
    align-self: flex-start;
    margin-left: 12%;
    color: #ded8df;
    font-size: 15px;
    letter-spacing: .02em;
}

.sale-event-discount > strong {
    display: flex;
    align-items: baseline;
    margin: -8px 0 0;
    background: linear-gradient(165deg, #fff 10%, #e9e6eb 35%, #929099 53%, #f8f6f9 66%, #adabb3 90%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #eee;
    font-size: clamp(110px, 15vw, 216px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.09em;
    filter: drop-shadow(0 8px 18px #0008);
}

.sale-event-discount > strong > span {
    align-self: center;
    font-size: .65em;
    letter-spacing: -.13em;
}

.sale-event-discount small {
    font-size: .41em;
    letter-spacing: -.08em;
}

.sale-event-discount > p {
    align-self: flex-end;
    margin: 4px 7% 0 0;
    color: #d2cbd4;
    font-size: 13px;
    line-height: 1.5;
}

.sale-event-orb {
    position: absolute;
    z-index: -1;
    width: 300px;
    height: 300px;
    top: -170px;
    right: 7%;
    overflow: hidden;
    border: 1px solid #e8e3ec70;
    border-radius: 50%;
    background: #a6a2ab;
    box-shadow: 0 0 60px #e1c8e329;
    transform: rotate(-25deg);
    animation: sale-orb-sway 14s ease-in-out infinite alternate;
}

.sale-event-orb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-conic-gradient(#e5e4e8 0 25%, #8c8991 0 50%) 0 0 / 24px 24px;
    transform: perspective(380px) rotateY(-28deg) scale(1.3);
}

.sale-event-orb::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 33% 28%, #fff9, transparent 35%, #09080e60 68%, #09080eb0 90%);
    box-shadow: inset 0 0 30px #0008;
}

.sale-event-orb span {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, #fff9 45%, transparent 60%);
    animation: sale-orb-shine 7s ease-in-out infinite;
}

.sale-event-spark {
    position: absolute;
    width: 25px;
    height: 38px;
    background: #f2dbe9;
    clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}

.sale-event-spark-one { top: 28%; right: 6%; }
.sale-event-spark-two { bottom: 25%; right: 43%; width: 15px; height: 23px; }

.sale-event-products {
    position: relative;
    z-index: 1;
    min-height: 420px;
    filter: drop-shadow(0 14px 16px #0009);
}

.sale-event-products img {
    position: absolute;
    display: block;
    max-width: none;
    width: 270px;
    height: 270px;
    object-fit: contain;
}

.sale-event-toner {
    top: 25px;
    left: -55px;
    transform: rotate(-13deg);
    clip-path: polygon(39% 2.5%, 60% 2.5%, 60.5% 21%, 58.5% 22%, 58.5% 26%, 61% 29%, 65% 33%, 67.5% 38%, 68.2% 43%, 68.2% 89%, 67% 94%, 64.5% 97%, 59% 99.5%, 40% 99.5%, 35% 97%, 32% 93%, 30.8% 88%, 30.8% 43%, 32% 37%, 35% 32%, 40% 27%, 41% 24%, 41% 22%, 38.5% 21%, 38.5% 4%);
}

.sale-event-cream {
    bottom: 8px;
    left: -18px;
    transform: rotate(13deg);
    clip-path: polygon(31% 2.5%, 67.5% 2.5%, 67.5% 7%, 65.5% 18%, 63.5% 39%, 62% 64%, 61% 73%, 59% 75%, 55% 75.5%, 55% 97.8%, 44% 97.8%, 43.5% 75.5%, 39% 75%, 37.8% 73%, 36% 57%, 34% 27%, 31% 9%, 30.8% 5%);
}

.sale-event-bottom {
    position: relative;
    z-index: 2;
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-inline: clamp(30px, 4vw, 60px);
    padding-block: 20px;
    border-top: 1px solid #ffffff24;
}

.sale-event-countdown {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.sale-event-countdown[hidden] { display: none; }

.sale-event-countdown > span,
.sale-event-bottom > p {
    margin: 0;
    color: #b4aab6;
    font-size: 12px;
    line-height: 1.5;
}

.sale-event-countdown strong {
    font-size: 18px;
    font-variant-numeric: tabular-nums;
    font-weight: 650;
    white-space: nowrap;
}

@keyframes sale-orb-sway {
    from { transform: rotate(-25deg); }
    to { transform: rotate(-15deg); }
}

@keyframes sale-orb-shine {
    0%, 100% { opacity: .25; transform: translateX(-30%); }
    50% { opacity: .8; transform: translateX(30%); }
}

@media (max-width: 760px) {
    .sale-event-card { grid-template-columns: minmax(110px, .7fr) minmax(0, 1fr); border-radius: 24px; }
    .sale-event-copy { grid-column: 1 / -1; grid-row: 1; padding: 28px 24px 0; }
    .sale-event-topline { margin-bottom: 28px; gap: 10px 16px; }
    .sale-event-copy :is(h1, h2) { font-size: clamp(37px, 9.2vw, 58px); }
    .sale-event-copy > p { margin: 18px 0 22px; }
    .sale-event-orb { right: -90px; top: -120px; width: 240px; height: 240px; opacity: .7; }
    .sale-event-products { grid-row: 2; grid-column: 1; min-height: 270px; }
    .sale-event-products img { width: 210px; height: 210px; }
    .sale-event-toner { top: 14px; left: -40px; }
    .sale-event-cream { bottom: 12px; left: 7px; }
    .sale-event-discount { grid-row: 2; grid-column: 2; padding: 30px 16px 20px 0; }
    .sale-event-up-to { align-self: center; margin: 0 0 -5px; }
    .sale-event-discount > strong { font-size: clamp(76px, 25vw, 160px); line-height: 1.02; }
    .sale-event-discount > p { align-self: center; text-align: center; margin: 8px 0 0; }
    .sale-event-discount > p br { display: none; }
    .sale-event-bottom { margin-inline: 24px; padding-block: 18px; gap: 10px; }
    .sale-event-countdown { width: 100%; justify-content: space-between; }
    .sale-event-spark-one { top: 52%; right: 8%; }
    .sale-event-spark-two { bottom: 22%; right: auto; left: 8%; }
}

@media (prefers-reduced-motion: reduce) {
    .sale-event-orb,
    .sale-event-orb span { animation: none; }
    .sale-event-button { transition: none; }
}
