.taste-occasion {
  --occasion-section-block: clamp(56px, 7.5vw, 118px);
}

.taste-occasion :is(.section, .questions, .easy-host, .taste-occasion-bachelor) {
  padding-block: var(--occasion-section-block);
}

.taste-occasion .easy-copy .group-details {
  margin-top: 20px;
}

.taste-occasion .host-steps li {
  display: grid;
  grid-template-columns: 1.45em minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding-block: 15px;
}

.taste-occasion .host-steps li p {
  margin-top: 3px;
  color: #ded8cc;
}

.taste-occasion .graduation-section + .menu-section {
  border-block-start: 1px solid #c6a76d50;
}

.taste-occasion--aziende .taste-occasion-hero::before {
  background: linear-gradient(90deg, #071820ee, #07182072 54%, #07182012),
    linear-gradient(0deg, #071820f7, transparent 72%);
}

.taste-occasion--aziende .easy-host {
  background: linear-gradient(145deg, #162b29, var(--occasion-ink) 68%);
}

.taste-occasion--aziende .formula-promo {
  border-block-start-color: #9f7636;
}

.taste-occasion .taste-festive-break {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 0 var(--occasion-pad) clamp(24px, 4vw, 52px);
  background: var(--occasion-paper);
  pointer-events: none;
}

.taste-occasion .taste-festive-garland {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin-inline: auto;
}

.taste-occasion-hero .taste-festive-garland--hero {
  position: absolute;
  inset: clamp(20px, 3vw, 46px) clamp(28px, 4vw, 64px) auto auto;
  z-index: -1;
  width: clamp(190px, 39vw, 570px);
  margin: 0;
  pointer-events: none;
}

.taste-occasion .taste-current-offer {
  position: relative;
  z-index: 1;
  padding-block: clamp(28px, 4vw, 58px);
  border-block: 1px solid #9b743b64;
  background: #eaddc7;
  color: var(--occasion-ink);
}

.taste-occasion .taste-current-offer__layout,
.taste-occasion .taste-occasion-bachelor__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(22px, 6vw, 92px);
}

.taste-occasion .taste-current-offer h2 {
  font-size: clamp(33px, 4.4vw, 66px);
}

.taste-occasion .taste-current-offer h2 + p,
.taste-occasion .taste-occasion-bachelor h2 + p {
  margin-top: 14px;
}

.taste-occasion .taste-current-offer__price {
  font-size: clamp(35px, 4.4vw, 67px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}

.taste-occasion .taste-current-offer__price :is(span, small) {
  display: block;
  margin-block: 6px;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 650;
  letter-spacing: normal;
}

.taste-occasion .taste-current-offer__prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 42px);
}

.taste-occasion .taste-current-offer__prices > div + div {
  border-inline-start: 1px solid #9b743b64;
  padding-inline-start: clamp(10px, 2.2vw, 32px);
}

.taste-occasion .taste-offer-period {
  margin-block: 0 14px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.taste-occasion .question-list .taste-offer-period {
  margin-block-end: 8px;
}

.taste-occasion .taste-promo-exception {
  margin-block: 8px 14px;
  font-weight: 700;
}

.taste-occasion .taste-menu-variations {
  margin-block-start: 16px;
  font-size: 17px;
}

.taste-occasion .taste-bachelor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 20px;
}

.taste-occasion .taste-bachelor-actions .button { margin: 0; }
.taste-occasion .taste-bachelor-jump { display: flex; width: fit-content; }
.taste-occasion .taste-occasion-bachelor h2 { font-size: clamp(36px, 4.4vw, 70px); }

.taste-occasion .taste-current-offer .button {
  margin-top: 14px;
}

.taste-occasion .taste-occasion-bachelor {
  border-block: 1px solid #c6a76d60;
  background: var(--occasion-paper);
}

.taste-occasion .taste-occasion-bachelor__grid {
  align-items: start;
}

.taste-occasion .taste-occasion-bachelor h2 em {
  color: #7f5d28;
}

.taste-occasion .taste-occasion-bachelor p + p {
  margin-top: 12px;
}

.taste-occasion .taste-occasion-bachelor .button {
  margin-top: 20px;
}

.taste-occasion .taste-occasion-photo-stack {
  position: relative;
  isolation: isolate;
}

@media (min-width: 761px) and (min-height: 561px) and (prefers-reduced-motion: no-preference) {
  .taste-occasion .taste-occasion-photo-stack > .after-dinner {
    position: sticky;
    inset-block-start: var(--taste-nav-height, 76px);
    min-height: clamp(420px, 67svh, 720px);
  }

  .taste-occasion .taste-occasion-photo-stack > .request-section {
    position: relative;
    z-index: 1;
  }
}

@media (max-height: 560px) {
  .taste-occasion .taste-occasion-hero {
    position: relative;
    top: auto;
  }
}

@media (max-width: 760px) {
  .taste-occasion--aziende .taste-occasion-hero::before {
    background: linear-gradient(0deg, #071820f9, #071820b5 44%, #07182026 86%);
  }

  .taste-occasion .taste-current-offer__layout,
  .taste-occasion .taste-occasion-bachelor__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .taste-occasion-hero .taste-festive-garland--hero {
    inset: 16px 0 auto;
    width: min(78%, 310px);
    margin-inline: auto;
  }
}

.taste-occasion--eventi .taste-event-snow {
  --taste-snow-fall: calc(100vh + 64px);
  position: fixed;
  inset: 0;
  z-index: 24;
  overflow: hidden;
  pointer-events: none;
}

.taste-occasion--eventi .taste-event-snow[hidden] {
  display: none;
}

.taste-occasion--eventi .taste-event-snow__flake {
  position: absolute;
  inset-block-start: -32px;
  inset-inline-start: var(--taste-snow-x);
  width: var(--taste-snow-size);
  aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c93cf' stroke-width='1.25' stroke-linecap='round'%3E%3Cdefs%3E%3Cpath id='a' d='M12 12V2m0 3L9 7m3-2 3 2'/%3E%3C/defs%3E%3Cuse href='%23a'/%3E%3Cuse href='%23a' transform='rotate(60 12 12)'/%3E%3Cuse href='%23a' transform='rotate(120 12 12)'/%3E%3Cuse href='%23a' transform='rotate(180 12 12)'/%3E%3Cuse href='%23a' transform='rotate(240 12 12)'/%3E%3Cuse href='%23a' transform='rotate(300 12 12)'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: taste-event-snowfall var(--taste-snow-duration) var(--taste-snow-delay) linear infinite;
}

@supports (height: 100dvh) {
  .taste-occasion--eventi .taste-event-snow {
    --taste-snow-fall: calc(100dvh + 64px);
  }
}

@keyframes taste-event-snowfall {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
  14%, 84% {
    opacity: var(--taste-snow-opacity);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--taste-snow-drift), var(--taste-snow-fall), 0) rotate(220deg);
  }
}

@media (prefers-reduced-motion: reduce), print {
  .taste-occasion--eventi .taste-event-snow {
    display: none;
  }
}

@media print {
  .taste-occasion :is(.taste-festive-break, .taste-festive-garland--hero) {
    display: none;
  }

  .taste-occasion :is(.taste-current-offer, .taste-occasion-bachelor),
  .taste-occasion--aziende .easy-host {
    color: black;
    background: white;
  }

  .taste-occasion .host-steps li p {
    color: black;
  }

  .taste-occasion .taste-occasion-photo-stack > .after-dinner {
    position: static;
    min-height: 0;
  }
}
