@font-face {
  font-family: "PP Neue Montreal";
  src: local("PP Neue Montreal Book");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: local("PP Neue Montreal Medium");
  font-weight: 500;
  font-display: swap;
}
:root {
  --paper: #f6efe3;
  --cotton: #dfd3c5;
  --pink: #f8d7dd;
  --red: #810016;
  --ink: #0e0e0e;
  --line: #8d887f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    400 16px/1.5 "PP Neue Montreal",
    Arial,
    sans-serif;
  min-width: 1080px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button:focus-visible,
select:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
img {
  display: block;
}
a {
  color: inherit;
}
.shipping {
  height: 32px;
  background: var(--red);
  color: white;
  font-size: 12px;
  text-align: center;
  display: grid;
  place-items: center;
}
.nav {
  padding: 24px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: auto;
  height: 87px;
  gap: 25px;
}
.logo img {
  width: 95px;
  height: 39px;
}
.nav-links {
  display: flex;
  gap: 25px;
}
.nav-links button {
  border: 1px solid black;
  border-radius: 50px;
  font-size: 16px;
  line-height: 1.1;
  padding: 7px 20px;
  white-space: nowrap;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.nav-links button:hover {
  transform: translate(2px, -3px);
  box-shadow: -2px 3px 0 black;
}
.nav-tools {
  display: flex;
  gap: 20px;
  align-items: center;
}
.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
}
.icon-btn img {
  max-width: 26px;
  max-height: 26px;
}
.badge {
  position: absolute;
  right: -12px;
  bottom: -8px;
  border-radius: 12px;
  background: var(--red);
  color: white;
  font-size: 12px;
  line-height: 18px;
  min-width: 22px;
  padding: 0 5px;
}
.hero {
  max-width: 1440px;
  margin: auto;
  padding: 16px 64px 166px;
  display: grid;
  grid-template-columns: minmax(0, 594px) minmax(0, 645px);
  gap: 73px;
  min-height: 1031px;
}
.gallery-main {
  aspect-ratio: 1;
  border: 1px solid black;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background: #fff;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.24s ease;
}
.gallery-main img.is-swapping {
  opacity: 0;
}
.gallery-main.is-flavor img {
  position: static;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.gallery-main.is-product img {
  position: absolute;
  left: -5.35%;
  top: -16.5%;
  width: 110.69%;
  height: 126.75%;
}
.thumbnails {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-top: 25px;
}
.thumbnail {
  width: calc((100% - 75px) / 4);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  padding: 0;
  border: 1px solid transparent;
}
.thumbnail.selected {
  border-color: black;
}
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbnail:first-child img {
  position: absolute;
  top: -7.18%;
  height: 114.51%;
}
.product-info {
  display: flex;
  flex-direction: column;
  gap: 55px;
}
.product-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.rating {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 16px;
  line-height: 24px;
}
.stars {
  display: flex;
  gap: 5px;
}
.stars img {
  width: 24px;
  height: 24px;
}
.stars img.unfilled {
  opacity: 0.35;
}
h1 {
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -1.7px;
}
.price {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.38;
}
.description {
  line-height: 24px;
}
.description p + p {
  margin-top: 24px;
}
.flavors {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.flavor {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid black;
  padding: 8px 15px;
  border-radius: 10px;
  line-height: 24px;
  transition:
    background 0.28s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.flavor:hover {
  transform: translateY(-1px);
}
.flavor:active {
  transform: scale(0.96);
}
.flavor.selected {
  background: var(--cotton);
}
.flavor.pop {
  animation: flavor-pop 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}
.flavor img {
  width: 25px;
  height: 25px;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.flavor.pop img {
  animation: flavor-dot 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes flavor-pop {
  0% {
    transform: scale(0.94);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes flavor-dot {
  0% {
    transform: scale(0.55);
  }
  55% {
    transform: scale(1.22);
  }
  100% {
    transform: scale(1);
  }
}
.purchase-row {
  display: flex;
  gap: 10px;
}
.quantity {
  border: 1px solid var(--ink);
  border-radius: 100px;
  width: 200px;
  height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 33px;
  flex-shrink: 0;
  font-size: 20px;
}
.quantity button {
  width: 25px;
  height: 28px;
  padding: 0;
  display: grid;
  place-items: center;
}
.quantity button img {
  width: 24px;
  height: 24px;
}
.quantity.small {
  width: 76px;
  height: 30px;
  padding: 0 8px;
  font-size: 13px;
}
.quantity.small button {
  width: 16px;
  height: 18px;
}
.quantity.small button img {
  width: 13px;
  height: 13px;
}
.quantity.small button.qty-trash {
  color: var(--ink);
}
.quantity.small button.qty-trash svg {
  width: 14px;
  height: 14px;
  display: block;
}
.quantity.small button.qty-trash.pop svg {
  animation: trash-pop 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes trash-pop {
  from {
    transform: scale(0.45) rotate(-14deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.primary,
.pink-button {
  border-radius: 50px;
  border: 1px solid black;
  padding: 14px 30px;
  font-size: 20px;
  line-height: 28.8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    filter 0.15s,
    transform 0.15s;
}
.primary {
  background: var(--red);
  color: white;
}
.primary.add-cart-btn,
.pink-button.gift-add-btn {
  display: grid;
  place-items: center;
  overflow: hidden;
}
.primary.add-cart-btn .add-face,
.primary.add-cart-btn .added-face,
.pink-button.gift-add-btn .add-face,
.pink-button.gift-add-btn .added-face {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  transition:
    opacity 0.48s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.52s cubic-bezier(0.4, 0, 0.2, 1);
}
.primary.add-cart-btn .added-face,
.pink-button.gift-add-btn .added-face {
  opacity: 0;
  transform: translateY(12px);
}
.primary.add-cart-btn.is-added .add-face,
.pink-button.gift-add-btn.is-added .add-face {
  opacity: 0;
  transform: translateY(-12px);
}
.primary.add-cart-btn.is-added .added-face,
.pink-button.gift-add-btn.is-added .added-face {
  opacity: 1;
  transform: none;
}
.primary.add-cart-btn .check,
.pink-button.gift-add-btn .check {
  width: 22px;
  height: 22px;
}
.primary.add-cart-btn.just-added .check path,
.pink-button.gift-add-btn.just-added .check path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: draw-check 0.46s 0.18s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.pink-button.gift-add-btn {
  transition:
    background 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.15s,
    transform 0.15s;
}
.pink-button.gift-add-btn .add-face {
  color: var(--ink);
}
.pink-button.gift-add-btn .added-face {
  color: white;
}
.pink-button.gift-add-btn.is-added {
  background: var(--red);
  color: white;
}
@keyframes draw-check {
  to {
    stroke-dashoffset: 0;
  }
}
.primary:hover {
  filter: brightness(1.12);
}
.pink-button {
  background: var(--pink);
}
.pink-button:hover {
  transform: translateY(-2px);
}
.purchase-row .primary {
  flex: 1;
}
.gift-start {
  width: 100%;
  height: 58px;
}
.gift-start img {
  width: 24px;
  height: 24px;
}
.info-accordions details {
  border-bottom: 1px solid var(--line);
}
.info-accordions summary {
  list-style: none;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
}
.info-accordions summary::-webkit-details-marker {
  display: none;
}
.info-accordions summary img {
  width: 24px;
  height: 24px;
}
.info-accordions details[open] summary img {
  transform: rotate(45deg);
}
.info-accordions details p {
  font-size: 16px;
  padding: 0 25px 16px 0;
}
.related {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 60px 64px 60px;
}
.section-wrap {
  max-width: 1106px;
  margin: auto;
}
.related h2,
.reviews-section > h2 {
  font-size: 40px;
  line-height: 1.26;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -1px;
}
.related-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1106px;
  margin: auto;
}
.round-arrow {
  border-radius: 50%;
  background: var(--red);
  color: white;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.round-arrow:hover {
  transform: scale(1.06);
}
.round-arrow:active {
  transform: scale(0.92);
}
.round-arrow.nudge {
  animation: arrow-nudge-next 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.round-arrow.prev.nudge {
  animation-name: arrow-nudge-prev;
}
@keyframes arrow-nudge-next {
  0% {
    transform: scale(0.9);
  }
  45% {
    transform: scale(1.04) translateX(7px);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes arrow-nudge-prev {
  0% {
    transform: scale(0.9);
  }
  45% {
    transform: scale(1.04) translateX(-7px);
  }
  100% {
    transform: scale(1);
  }
}
.round-arrow img {
  width: 24px;
  height: 24px;
}
.round-arrow.prev img {
  transform: rotate(180deg);
}
.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 284px);
  gap: 25px;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}
.product-cards.is-leaving-next {
  transform: translateX(-28px);
  opacity: 0;
}
.product-cards.is-leaving-prev {
  transform: translateX(28px);
  opacity: 0;
}
.product-cards.is-entering-next,
.product-cards.is-entering-prev {
  transition: none;
  opacity: 0;
}
.product-cards.is-entering-next {
  transform: translateX(28px);
}
.product-cards.is-entering-prev {
  transform: translateX(-28px);
}
.product-card {
  border: 1px solid black;
  border-radius: 10px 10px 30px 30px;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.product-card > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
}
.card-body {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  padding: 20px 15px;
  flex: 1;
}
.card-body .rating {
  justify-content: center;
}
.card-body p {
  font-size: 20px;
  line-height: 24px;
  min-height: 48px;
}
.product-card > .primary,
.product-card > .pink-button {
  width: 100%;
  font-size: 20px;
  padding: 12px;
}
.reviews-section {
  max-width: 1106px;
  padding: 60px 0;
  margin: auto;
}
.review-overview {
  display: grid;
  grid-template-columns: 387px 1fr;
  gap: 95px;
  margin-bottom: 40px;
}
.ratings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.ratings-header > span {
  font-size: 16px;
}
.bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 25px;
}
.bar-row {
  display: grid;
  grid-template-columns: 12px 1fr 30px;
  align-items: center;
  gap: 25px;
  font-size: 16px;
  line-height: 21px;
}
.bar-track {
  height: 17px;
  border: 1px solid black;
  border-radius: 100px;
  overflow: hidden;
}
.bar-track span {
  display: block;
  height: 100%;
  background: var(--cotton);
  border-radius: 100px;
}
.bar-row > span:last-child {
  text-align: right;
}
.filter-button {
  width: max-content;
}
.filter-button img {
  width: 24px;
  height: 24px;
}
.summary-review {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}
.summary-title {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 20px;
}
.summary-title img {
  width: 24px;
  height: 24px;
}
.summary-review p {
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}
.summary-review .primary {
  font-size: 20px;
}
.review-sort {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  align-items: center;
  margin: 30px 0;
}
.review-sort label {
  font-size: 16px;
}
.review-sort select {
  border: 0;
  background: none;
  font-size: 20px;
}
.review {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review h3,
.review .reviewer {
  font-size: 20px;
  line-height: 28.8px;
}
.show-more {
  margin: 0 auto;
}
.bgm-toggle {
  position: fixed;
  right: 32px;
  bottom: 26px;
  width: 73px;
  height: 73px;
  padding: 0;
  background: var(--cotton);
  border-radius: 9px;
  box-shadow: 0 1.2px 3.3px #0006;
  overflow: hidden;
  z-index: 30;
}
.bgm-toggle .mini-disc {
  position: absolute;
  left: 3.5px;
  top: -32.85px;
  width: 66px;
  height: 66px;
}
.bgm-toggle > .wave {
  position: absolute;
  width: 26px;
  height: 22px;
  left: 23.5px;
  top: 44px;
}
.bgm-toggle > .wave line {
  stroke: var(--red);
  stroke-width: 1.68;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
}
.bgm-toggle.playing > .wave line {
  animation: equalizer 0.85s ease-in-out infinite;
}
.bgm-toggle.playing > .wave line:nth-child(2) {
  animation-delay: 0.15s;
}
.bgm-toggle.playing > .wave line:nth-child(3) {
  animation-delay: 0.28s;
}
.bgm-toggle.playing > .wave line:nth-child(4) {
  animation-delay: 0.08s;
}
.bgm-toggle.playing > .wave line:nth-child(5) {
  animation-delay: 0.36s;
}
.bgm-toggle.playing > .wave line:nth-child(6) {
  animation-delay: 0.2s;
}
@keyframes equalizer {
  0%,
  100% {
    transform: scaleY(0.35);
  }
  50% {
    transform: scaleY(1);
  }
}
.disc-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  animation: spin 8s linear infinite;
  animation-play-state: paused;
  transform-origin: center;
}
.disc-stack > img {
  position: absolute;
  pointer-events: none;
}
.disc-stack > .art {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.disc-stack > .ring-0 {
  left: 7.96%;
  top: 7.96%;
  width: 84.08%;
  height: 84.08%;
}
.disc-stack > .ring-1 {
  left: 10.19%;
  top: 10.19%;
  width: 79.62%;
  height: 79.62%;
}
.disc-stack > .ring-2 {
  left: 42.36%;
  top: 42.36%;
  width: 15.28%;
  height: 15.28%;
}
.disc-stack > .ring-3 {
  left: 45.86%;
  top: 45.86%;
  width: 8.28%;
  height: 8.28%;
}
.disc-stack > .ring-4 {
  inset: 0;
  width: 100%;
  height: 100%;
}
.disc-stack.running {
  animation-play-state: running;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.scrim {
  position: fixed;
  inset: 0;
  background: #0005;
  z-index: 40;
}
.scrim.enter-fade {
  animation: scrim-in 0.42s ease;
}
.scrim.is-leaving {
  animation: none;
  opacity: 0;
  transition: opacity 0.42s ease;
}
@keyframes scrim-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.dialog {
  position: fixed;
  background: var(--paper);
  z-index: 41;
  overflow: auto;
}
.dialog.entering {
  animation: enter 0.22s ease-out;
}
.close {
  position: absolute;
  right: 64px;
  top: 40px;
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
}
.close img {
  transform: rotate(45deg);
  width: 24px;
  height: 24px;
}
.music-panel {
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 600px;
  max-height: calc(100vh - 60px);
  border-radius: 20px 20px 0 0;
  background: var(--cotton);
  padding: 72px 64px 35px;
}
.music-panel h2 {
  font-size: 48px;
  line-height: 57.6px;
  text-align: center;
  letter-spacing: -1.5px;
}
.music-panel > p {
  text-align: center;
  font-size: 20px;
  margin: 20px 0 56px;
}
.music-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 80px;
  max-width: 1312px;
  margin: auto;
}
.disc-button {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  position: relative;
}
.disc-shell {
  width: 100%;
  aspect-ratio: 1;
  transition: transform 0.22s;
  position: relative;
  border-radius: 50%;
}
.disc-button:hover .disc-shell {
  transform: scale(1.035);
}
.disc-button.selected .disc-shell {
  box-shadow: 0 0 0 3px var(--red);
}
.needle {
  display: none;
  position: absolute;
  width: 29.3%;
  height: 80.3%;
  right: 4.7%;
  top: -10.9%;
  pointer-events: none;
}
.disc-button.selected .needle {
  display: block;
}
.track-status {
  font-size: 17px;
  color: var(--red);
  min-height: 26px;
  margin-top: -12px;
}
.cart-panel {
  right: 0;
  top: 0;
  bottom: 0;
  width: 484px;
  padding: 32px;
  border-radius: 20px 0 0 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(0);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}
.cart-panel.is-offscreen {
  transform: translateX(100%);
}
.cart-panel .close {
  top: 32px;
  right: 32px;
}
.cart-panel h2 {
  font-size: 24px;
  margin-bottom: 26px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.count-chip {
  font-size: 12px;
  background: var(--red);
  color: white;
  padding: 0 8px;
  border-radius: 12px;
}
.cart-list {
  flex: 1;
  overflow: auto;
}
.cart-item {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 25px;
  padding: 0 0 25px;
  margin: 0 0 25px;
  border-bottom: 1px solid #d9d1c6;
}
.cart-item.removing {
  animation: cart-leave 0.26s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}
@keyframes cart-leave {
  to {
    opacity: 0;
    transform: translateX(28px);
  }
}
.cart-image {
  width: 128px;
  height: 128px;
  border: 1px solid black;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.cart-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}
.cart-item h3 {
  font-size: 20px;
  line-height: 24px;
  max-width: 210px;
}
.cart-item-title {
  display: flex;
  gap: 15px;
  justify-content: space-between;
}
.cart-item-title strong {
  font-size: 16px;
  white-space: nowrap;
}
.cart-item p {
  margin: 10px 0 18px;
}
.cart-item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.remove {
  font-size: 12px;
  text-decoration: underline;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.remove img {
  width: 12px;
  height: 12px;
}
.subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  margin-top: 20px;
}
.subtotal strong {
  font-size: 24px;
}
.shipping-note {
  font-size: 12px;
  margin: 15px 0;
}
.cart-panel .primary {
  width: 100%;
}
.gift-panel {
  top: 116px;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 20px 20px 0 0;
  padding: 72px 64px 40px;
  transform: translateY(0);
  transition:
    top 0.32s ease,
    border-radius 0.32s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.gift-panel.is-offscreen {
  transform: translateY(100%);
}
.gift-panel.expanded {
  top: 0;
  border-radius: 0;
}
.gift-panel > h2 {
  text-align: center;
  font-size: 48px;
  line-height: 57.6px;
  letter-spacing: -1.3px;
}
.gift-subtitle {
  text-align: center;
  font-size: 20px;
  margin: 25px 0 35px;
}
.gift-layout {
  display: grid;
  grid-template-columns: 620px 1fr;
  gap: 70px;
  max-width: 1312px;
  margin: auto;
}
.gift-catalog {
  border-right: 1px solid var(--ink);
  padding-right: 50px;
}
.gift-catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
  font-size: 20px;
}
.gift-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  width: max-content;
  background: var(--red);
  color: white;
  border-radius: 40px;
  padding: 8px 14px 8px 16px;
  line-height: 24px;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.gift-filter:active {
  transform: scale(0.97);
}
.gift-filter img {
  width: 16px;
  height: 16px;
  pointer-events: none;
  flex-shrink: 0;
}
.gift-filter .chevron {
  width: 12px;
  height: 8px;
  flex-shrink: 0;
  margin-left: 2px;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.gift-filter:focus-within .chevron {
  transform: rotate(180deg);
}
.gift-filter select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  border: 0;
  appearance: none;
}
.gift-filter select option {
  color: var(--ink);
  background: white;
}
.gift-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}
.gift-products .product-card .card-body {
  padding: 15px 12px;
}
.gift-products .product-card .pink-button {
  margin-top: auto;
}
.gift-box h3 {
  text-align: center;
  font-size: 40px;
  line-height: 50.4px;
  margin-bottom: 25px;
}
.gift-progress {
  height: 10px;
  margin: 36px 38px 26px;
  border: 1px solid black;
  border-radius: 30px;
  background: var(--cotton);
  position: relative;
}
.gift-progress span {
  position: absolute;
  inset: -9px auto auto -1px;
  width: 26px;
  height: 26px;
  border: 1px solid black;
  border-radius: 50%;
  font-size: 16px;
  text-align: center;
  line-height: 24px;
  background: var(--cotton);
}
.gift-progress .progress-count {
  transition: left 0.35s ease;
}
.gift-progress .progress-count.at-cap {
  background: var(--red);
  color: white;
}
.gift-progress .progress-goal {
  left: auto;
  right: -1px;
  background: var(--red);
  color: white;
}
.gift-count {
  text-align: center;
  font-size: 20px;
  margin-bottom: 25px;
}
.gift-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 225px));
  gap: 50px;
  justify-content: center;
}
.gift-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}
.gift-slot .slot-image {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid black;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.slot-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}
.cart-image img.contain-photo,
.slot-image img.contain-photo,
.product-card > img.contain-photo {
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.gift-slot.empty .slot-image {
  background: transparent;
  border: 1px dashed var(--red);
}
.gift-slot p {
  font-size: 20px;
  text-align: center;
  line-height: 24px;
}
.gift-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 40px 0;
}
.gift-footer .primary {
  flex: 1;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 35px;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  border-radius: 12px;
  padding: 14px 22px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  max-width: 600px;
  text-align: center;
}
.toast.visible {
  opacity: 1;
}
.small-dialog {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 50px;
  width: 600px;
  border-radius: 20px;
}
.small-dialog h2 {
  font-size: 32px;
  margin-bottom: 25px;
}
.small-dialog .close {
  top: 20px;
  right: 20px;
}
.small-dialog select,
.small-dialog input,
.small-dialog textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid black;
  border-radius: 8px;
  background: transparent;
  margin: 10px 0 20px;
}
.small-dialog .primary {
  width: 100%;
}
@keyframes enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 1250px) {
  .nav {
    padding-left: 40px;
    padding-right: 40px;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-links button {
    padding: 7px 14px;
  }
  .hero {
    padding-left: 40px;
    padding-right: 40px;
    gap: 45px;
  }
  .product-cards {
    grid-template-columns: repeat(3, minmax(0, 284px));
  }
  .related-layout {
    gap: 25px;
  }
  .reviews-section {
    padding-left: 40px;
    padding-right: 40px;
  }
  .gift-layout {
    grid-template-columns: 52% 1fr;
    gap: 35px;
  }
  .gift-catalog {
    padding-right: 35px;
  }
  .gift-products {
    gap: 30px;
  }
  .gift-slots {
    gap: 30px;
  }
  .music-grid {
    gap: 50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .disc-stack {
    animation-duration: 20s;
  }
  .progress-fill,
  .gift-progress .progress-count,
  .bgm-toggle.playing > .wave line {
    transition: none;
    animation: none;
  }
  .dialog,
  .gift-panel,
  .cart-panel,
  .scrim,
  .primary.add-cart-btn .add-face,
  .primary.add-cart-btn .added-face,
  .pink-button.gift-add-btn,
  .pink-button.gift-add-btn .add-face,
  .pink-button.gift-add-btn .added-face,
  .cart-item.removing,
  .quantity.small button.qty-trash.pop svg,
  .primary.add-cart-btn .check path,
  .pink-button.gift-add-btn .check path,
  .gallery-main img,
  .flavor,
  .flavor img,
  .round-arrow,
  .product-cards,
  .gift-filter,
  .gift-filter .chevron {
    animation: none;
    transition: none;
  }
  .disc-shell,
  .pink-button {
    transition: none;
  }
  .primary.add-cart-btn.just-added .check path,
  .pink-button.gift-add-btn.just-added .check path {
    stroke-dashoffset: 0;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.round-arrow img {
  transform: rotate(180deg);
}
.round-arrow.prev img {
  transform: none;
}

.gift-progress {
  background: #fffcf3;
}
.progress-fill {
  height: 100%;
  background: var(--cotton);
  border-radius: 30px;
  transition:
    width 0.35s ease,
    background 0.35s ease;
}
.gift-progress.at-cap .progress-fill {
  background: var(--red);
}
