.pack-section {
  --pack-bg: #321827;
  --pack-fg: #fff4df;
  --tray-bg: #c9def1;
  --tray-ink: #2b3845;
  background: var(--pack-bg);
  color: var(--pack-fg);
  scroll-margin-top: 5rem;
}
.pack-wrap {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  box-sizing: border-box;
  padding: clamp(3.5rem, 7.5vw, 8rem) clamp(1rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: center;
}
.pack-copy { max-width: 35rem; }
.pack-section h2 {
  font-family: var(--display), Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(3.9rem, 7.5vw, 8.1rem);
  line-height: .96;
  letter-spacing: -.04em;
  margin: 0;
  color: inherit;
}
.pack-intro {
  margin: clamp(.9rem, 1.8vw, 1.55rem) 0 1.3rem;
  font: 400 clamp(1rem, 1.23vw, 1.17rem)/1.42 var(--body), sans-serif;
  max-width: 26rem;
}
.pack-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .44rem;
}
.pack-choice, .pack-add {
  font: 650 1rem/1.1 var(--body), sans-serif;
  cursor: pointer;
  min-height: 3rem;
  appearance: none;
}
.pack-choice {
  background: var(--option-color);
  color: var(--option-ink);
  border: 0;
  border-radius: .3rem;
  padding: .57rem .68rem .57rem .81rem;
  text-align: left;
  display: flex;
  gap: .3rem;
  align-items: center;
  justify-content: space-between;
  transition: transform .18s ease-out, filter .18s ease-out;
}
.pack-choice-qty {
  flex: 0 0 auto;
  width: 1.65rem;
  height: 1.65rem;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--option-ink) 55%, transparent);
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-size: .89rem;
  font-variant-numeric: tabular-nums;
}
.pack-choice:disabled { cursor: default; }
.pack-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px dashed #967e88;
  margin-top: 1.4rem;
  padding-top: .8rem;
  font: 500 1rem/1.2 var(--body), sans-serif;
}
.pack-total { font-weight: 700; font-variant-numeric: tabular-nums; }
.pack-add {
  display: block;
  width: 100%;
  padding: .8rem 1rem;
  margin-top: .7rem;
  border: 1px solid var(--pack-fg);
  background: var(--pack-fg);
  border-radius: .3rem;
  color: var(--pack-bg);
}
.pack-add:disabled { color: #e2ccd8; border-color: #8c727f; background: none; cursor: default; }
.pack-art {
  position: relative;
  background: var(--tray-bg);
  color: var(--tray-ink);
  border-radius: .55rem;
  min-height: clamp(22rem, 38vw, 39rem);
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}
.pack-tin {
  position: relative;
  width: 69%;
  max-width: 32rem;
  aspect-ratio: 1.13;
  transform: rotate(-7deg) skewX(2deg);
  border-radius: 7% / 8%;
  border: 2px solid #32404d;
  background: linear-gradient(118deg, #e4edf3 0%, #f8f5e9 26%, #cbd4da 65%, #f8f5e9 100%);
  box-shadow: 0 .32rem 0 -.04rem #899ba9, 0 .42rem 0 .01rem #344353, .35rem .7rem 0 #90a4b3;
}
.pack-tin-rim {
  position: absolute;
  inset: 3.8%;
  border: 1px solid #6d8191;
  border-radius: 6% / 7%;
  box-shadow: inset 0 .12rem 0 #fff9, 0 .11rem 0 #fff;
  pointer-events: none;
}
.pack-wells {
  position: absolute;
  inset: 9% 10%;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 3.5%;
}
.pack-well {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 13% / 38%;
  box-shadow: inset 0 2px 4px #34435336, 0 1px 0 #fffc;
  border: 1px solid #8e9da4;
  background: linear-gradient(168deg, #b9c7d1, #d9e1e3 57%, #edf2f0);
}
.pack-empty-slot {
  font: 400 clamp(1.65rem, 3.75vw, 3.5rem)/1 var(--display), Impact, sans-serif;
  color: #64757f;
  letter-spacing: -.03em;
}
.pack-remove {
  position: absolute;
  inset: -23% -3%;
  z-index: 1;
  border: 0;
  border-radius: 1rem;
  background: none;
  padding: 0;
  cursor: pointer;
  transform: rotate(var(--pack-tilt, -2deg));
  animation: pack-drop .35s cubic-bezier(.22,.75,.2,1) both;
}
.pack-well:nth-child(2) { --pack-tilt: 3deg; }
.pack-well:nth-child(3) { --pack-tilt: -1deg; }
.pack-remove img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 .18rem .14rem #33475857);
}
.pack-remove-mark {
  position: absolute;
  top: 9%;
  right: 3%;
  min-width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--tray-ink);
  border: 1px solid #fff;
  font: 600 1.1rem/1 var(--body), sans-serif;
}
.pack-section [hidden] { display: none; }
.pack-section button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.pack-section .pack-remove:focus-visible { outline-color: var(--tray-ink); z-index: 2; }
@keyframes pack-drop {
  from { opacity: 0; transform: translateY(-15%) rotate(calc(var(--pack-tilt, -2deg) - 5deg)) scale(1.06); }
  to { opacity: 1; transform: translateY(0) rotate(var(--pack-tilt, -2deg)) scale(1); }
}
@media (hover: hover) and (pointer: fine) {
  .pack-choice:hover:enabled { transform: translateY(-2px); filter: brightness(1.04); }
  .pack-add:hover:enabled { background: #fff; }
  .pack-remove:hover { z-index: 3; }
}
@media (max-width: 760px) {
  .pack-wrap { gap: 1.65rem; grid-template-columns: 1fr; }
  .pack-copy { display: contents; }
  .pack-section h2 { font-size: clamp(3.6rem, 11.5vw, 5.1rem); }
  .pack-intro { margin: -.9rem 0 0; }
  .pack-art { grid-row: 3; min-height: 0; aspect-ratio: 1.75; }
  .pack-tin { width: auto; height: 71%; aspect-ratio: 1.42; }
  .pack-options { margin-top: -.55rem; }
  .pack-summary { margin-top: -.5rem; }
  .pack-add { margin-top: -.9rem; }
  .pack-empty-slot { font-size: 1.35rem; }
}
@media (max-width: 350px) {
  .pack-choice { padding-inline: .45rem; font-size: .93rem; }
  .pack-choice-qty { width: 1.4rem; height: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pack-section *, .pack-section *::before, .pack-section *::after { animation: none !important; transition: none !important; }
}
