/* ==========================================================================
   Tarjouslaskuri
   ========================================================================== */

.calc-hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 48px);
}

.calc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
}

.crumbs {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.6;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.calc-title {
  font-size: clamp(3.75rem, 10vw, 8rem);
  font-stretch: 75%;
  line-height: 0.85;
}

.calc-hero .lead {
  max-width: 50ch;
  margin-top: 22px;
  color: var(--ink);
  opacity: 0.88;
}

.calc-hero__mascot {
  width: clamp(140px, 17vw, 230px);
  transform: rotate(6deg);
  margin-bottom: -12px;
}

.presets {
  margin-top: 36px;
}

.presets__label {
  margin-bottom: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.presets__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.preset {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--night-line-strong);
  border-radius: var(--radius-md);
  background: rgba(244, 240, 255, 0.04);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.preset:hover {
  border-color: var(--ink);
}

.preset strong {
  font-size: 1.0625rem;
  font-weight: 700;
}

.preset span {
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--ink-muted);
}

.preset.is-active {
  border-color: var(--cyan);
  background: rgba(114, 255, 255, 0.08);
}

/* ---------- Layout ---------- */

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
  padding-bottom: clamp(72px, 10vw, 128px);
}

.step {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--night-line);
  border-radius: 28px;
  background: rgba(244, 240, 255, 0.035);
}

.step + .step {
  margin-top: 20px;
}

.step__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

/* Vaihenumero keilan tuloskortin ruutuna – valmis vaihe saa kaadon (X) */
.frame {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid var(--night-line-strong);
  border-radius: 10px;
  font-size: 1.625rem;
  font-weight: 800;
  font-stretch: 80%;
  transition: border-color 0.25s;
}

.frame::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--night-line-strong);
  border-radius: 0 10px 0 8px;
  color: var(--night);
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1;
  transition: background-color 0.25s, border-color 0.25s;
}

.frame.is-done {
  border-color: var(--lime);
}

.frame.is-done::after {
  content: "X";
  background: var(--lime);
  border-color: var(--lime);
}

.step__title {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 800;
  font-stretch: 80%;
  line-height: 1.05;
}

.step__sub {
  margin-top: 6px;
  max-width: 56ch;
  color: var(--ink-muted);
  font-size: 1rem;
}

/* ---------- Fields ---------- */

.people {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px 32px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--night-line);
}

.people__count {
  display: flex;
  align-items: center;
  gap: 16px;
}

.people__num {
  min-width: 2.2ch;
  font-size: clamp(3.5rem, 6vw, 4.75rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.people__unit {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.people__range {
  display: grid;
  gap: 8px;
}

.people__scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  margin: 12px 0;
  border-radius: 999px;
  background: linear-gradient(to right, var(--cyan) var(--fill, 0%), rgba(244, 240, 255, 0.16) var(--fill, 0%));
  cursor: pointer;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  border: 5px solid var(--night);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 2px var(--lime);
}

.range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 5px solid var(--night);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 2px var(--lime);
}

.range:focus-visible {
  outline-offset: 8px;
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.field label small {
  font-weight: 500;
  color: var(--ink-muted);
}

.input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--night-line-strong);
  border-radius: 14px;
  background: rgba(27, 20, 48, 0.65);
  color: var(--ink);
  font: inherit;
  color-scheme: dark;
  transition: border-color 0.2s;
}

.input:hover {
  border-color: rgba(244, 240, 255, 0.5);
}

.input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
  border-color: transparent;
}

.input[aria-invalid="true"] {
  border-color: var(--pink);
}

textarea.input {
  min-height: 128px;
  padding: 14px 16px;
  resize: vertical;
}

select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23f4f0ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.field__hint {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.field__hint.is-warn {
  color: var(--pink);
}

.field__error {
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pink);
}

/* ---------- Activity cards ---------- */

.acts {
  display: grid;
  gap: 12px;
}

.act {
  border: 1px solid var(--night-line);
  border-radius: 20px;
  background: rgba(27, 20, 48, 0.4);
  transition: border-color 0.2s, background-color 0.2s;
}

.act.is-on {
  border-color: rgba(114, 255, 255, 0.55);
  background: rgba(114, 255, 255, 0.045);
}

.act__head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 12px 16px 12px 12px;
  border: 0;
  border-radius: 20px;
  background: none;
  text-align: left;
  cursor: pointer;
}

.act__thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

.act__name {
  display: block;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.2;
}

.act__hint {
  display: block;
  margin-top: 2px;
  font-size: 0.90625rem;
  color: var(--ink-muted);
}

.act__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 127, 232, 0.18);
  color: var(--pink);
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: 2px;
}

.switch {
  position: relative;
  width: 54px;
  height: 32px;
  border-radius: 999px;
  background: rgba(244, 240, 255, 0.18);
  transition: background-color 0.2s;
}

.switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.25s var(--ease-out), background-color 0.2s;
}

.act.is-on .switch {
  background: var(--lime);
}

.act.is-on .switch::after {
  transform: translateX(22px);
  background: var(--night);
}

.act__body {
  padding: 4px 22px 24px 92px;
}

.act__body:not([hidden]) {
  animation: body-in 0.28s var(--ease-out);
}

@keyframes body-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ctrl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-top: 20px;
}

.ctrl-row:first-child {
  margin-top: 0;
}

.ctrl {
  display: grid;
  align-content: start;
  gap: 8px;
}

.ctrl__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.ctrl__hint {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* Stepper */
.stepper {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 3px;
  border: 1px solid var(--night-line-strong);
  border-radius: 999px;
  width: max-content;
}

.stepper button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(244, 240, 255, 0.1);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s;
}

.stepper button:hover {
  background: rgba(244, 240, 255, 0.2);
}

.stepper button:disabled {
  opacity: 0.3;
  cursor: default;
}

.stepper input {
  width: 3.2em;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Segmented control */
.seg {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--night-line-strong);
  border-radius: 999px;
  background: rgba(27, 20, 48, 0.65);
}

.seg label {
  position: relative;
}

.seg input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.seg span {
  display: block;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s;
}

.seg input:checked + span {
  background: var(--cyan);
  color: var(--night);
}

.seg input:focus-visible + span {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

/* Hintaluokat */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.tier {
  position: relative;
}

.tier[hidden] {
  display: none;
}

.tier input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.tier__card {
  display: grid;
  gap: 2px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--night-line-strong);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, background-color 0.2s;
}

.tier__name {
  font-size: 0.96875rem;
  font-weight: 700;
}

.tier__when {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.tier__price {
  margin-top: 6px;
  font-size: 1.25rem;
  font-weight: 800;
  font-stretch: 85%;
}

.tier input:checked + .tier__card {
  border-color: var(--cyan);
  background: rgba(114, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.tier input:focus-visible + .tier__card {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.tier-note {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.tier-note.is-warn {
  color: var(--pink);
}

/* Pakohuoneet */
.rooms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.room {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--night-line-strong);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, background-color 0.2s;
}

.room.is-on {
  border-color: var(--cyan);
  background: rgba(114, 255, 255, 0.06);
}

.room__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.room__check input,
.check input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--cyan);
  flex: none;
  cursor: pointer;
}

.room__name {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
}

.room__genre {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.pips {
  display: inline-flex;
  gap: 4px;
  margin-top: 6px;
}

.pips i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--pink);
}

.pips i.on {
  background: var(--pink);
}

.room__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.room__price {
  font-weight: 800;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
}

.check small {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.perk {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(222, 255, 0, 0.1);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.perk::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.perk[hidden] {
  display: none;
}

/* ---------- Food & drinks ---------- */

.subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 8px;
}

.subhead h3 {
  font-size: 1.375rem;
  font-weight: 800;
  font-stretch: 85%;
}

.subhead + .note {
  margin-bottom: 8px;
}

.note {
  max-width: 64ch;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.note.is-warn {
  color: var(--pink);
}

.menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
}

.menu + .subhead {
  margin-top: 40px;
}

.dish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--night-line);
}

.dish__name {
  font-size: 1.03125rem;
  font-weight: 600;
  line-height: 1.3;
}

.dish.has-qty .dish__name {
  color: var(--cyan);
}

.dish__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.dish__price {
  margin-right: 4px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.tag {
  padding: 1px 7px;
  border: 1px solid var(--night-line-strong);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.tag--season {
  border-color: transparent;
  background: rgba(255, 127, 232, 0.18);
  color: var(--pink);
}

.dish__ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
}

.linkbtn {
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--cyan);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
}

.linkbtn:hover {
  color: var(--ink);
}

.dish__meta .linkbtn {
  margin-left: 4px;
  padding: 0;
  font-size: 0.8125rem;
}

/* ---------- Submit ---------- */

.submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}

.submit-row .btn {
  min-height: 56px;
  padding: 0 32px;
  font-size: 1.125rem;
}

.form-error {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 127, 232, 0.14);
  color: var(--pink);
  font-weight: 600;
}

.form-error[hidden] {
  display: none;
}

.success {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.success img {
  width: 120px;
}

.success h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  font-stretch: 80%;
  line-height: 1.05;
}

.success p {
  margin-top: 10px;
  max-width: 52ch;
  color: var(--ink-muted);
}

.success .btn {
  margin-top: 20px;
}

/* ---------- Summary ---------- */

.summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.summary__bar {
  display: none;
}

.summary__card {
  padding: 26px 26px 24px;
  border-radius: 28px;
  background: var(--lavender);
  color: var(--night);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.summary__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--night);
}

.summary__title {
  font-size: 1.5rem;
  font-weight: 800;
  font-stretch: 85%;
}

.summary__meta {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--plum-ink);
}

.summary__lines {
  max-height: min(46vh, 460px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sum-group {
  margin-top: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--plum-ink);
}

.sum-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(35, 27, 59, 0.22);
}

.sum-line__label {
  font-size: 0.96875rem;
  font-weight: 600;
  line-height: 1.3;
}

.sum-line__detail {
  grid-column: 1;
  font-size: 0.8125rem;
  color: var(--plum-ink);
}

.sum-line__amount {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sum-perk {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--lime);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

.summary__empty {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 22px 0 6px;
  color: var(--plum-ink);
  font-size: 0.96875rem;
}

.summary__empty img {
  width: 64px;
}

.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 2px solid var(--night);
}

.summary__total span {
  font-weight: 700;
}

.summary__total strong {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.summary__pp {
  margin-top: 4px;
  text-align: right;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--plum-ink);
}

.summary__card .btn {
  width: 100%;
  margin-top: 18px;
}

.summary__note {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--plum-ink);
}

.summary__reset {
  margin-top: 8px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--plum-ink);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.summary__reset:hover {
  color: var(--night);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .presets__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Hinta-arvio kiinnittyy alareunaan ja avautuu erittelyksi */
  .summary {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: flex;
    flex-direction: column;
    max-height: 82svh;
    padding-inline: max(8px, env(safe-area-inset-left));
    pointer-events: none;
  }

  .summary__card {
    display: none;
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
    pointer-events: auto;
    box-shadow: 0 -20px 50px -10px rgba(0, 0, 0, 0.6);
  }

  .summary.is-open .summary__card {
    display: block;
  }

  .summary__lines {
    max-height: none;
  }

  .summary__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 22px 22px 0 0;
    background: var(--lime);
    color: var(--night);
    text-align: left;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 0 3px var(--night), 0 -10px 40px -6px rgba(255, 127, 232, 0.6);
  }

  .summary.is-open .summary__bar {
    border-radius: 0;
    box-shadow: none;
  }

  .summary__bar-label {
    display: grid;
    line-height: 1.2;
  }

  .summary__bar-label small {
    font-size: 0.8125rem;
    font-weight: 600;
    opacity: 0.75;
  }

  .summary__bar strong {
    margin-left: auto;
    font-size: 1.75rem;
    font-weight: 800;
    font-stretch: 80%;
    font-variant-numeric: tabular-nums;
  }

  .summary__bar .chev {
    width: 22px;
    height: 22px;
    transform: rotate(180deg);
    transition: transform 0.25s;
  }

  .summary.is-open .summary__bar .chev {
    transform: none;
  }

  .calc-page {
    padding-bottom: 80px;
  }
}

@media (max-width: 720px) {
  .calc-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .calc-hero__mascot {
    position: absolute;
    top: 14px;
    right: var(--gutter);
    width: 64px;
  }

  .presets__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .people {
    grid-template-columns: minmax(0, 1fr);
  }

  .fields,
  .rooms,
  .tiers,
  .menu {
    grid-template-columns: minmax(0, 1fr);
  }

  .drinks {
    grid-template-columns: minmax(0, 1fr);
  }

  .act__head {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .act__thumb {
    width: 52px;
    height: 52px;
  }

  .act__body {
    padding: 4px 16px 20px;
  }

  .success {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Henkilömäärän isot painikkeet */
.people__count {
  justify-content: flex-start;
}

.round {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--night-line-strong);
  border-radius: 50%;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.round:hover {
  background: rgba(244, 240, 255, 0.1);
  border-color: var(--ink);
}

.round:disabled {
  opacity: 0.3;
  cursor: default;
}

.people__count > div {
  display: grid;
  justify-items: center;
  min-width: 5.5ch;
}
