* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #fbf7ef;
  color: #111827;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

button,
select {
  font: inherit;
}

.home-page {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 16px 56px;
  background: #fbf7ef;
}

.intro-visual {
  position: relative;
  height: 338px;
  overflow: visible;
}

.intro-copy {
  position: absolute;
  left: 0;
  top: 20px;
  width: 100%;
  text-align: center;
}

.hero-title {
  margin: 0;
  color: #1d1d1f;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero-subtitle {
  margin: 8px 0 0;
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.intro-product-image {
  position: absolute;
  left: 50%;
  top: 124px;
  width: min(100%, 372px);
  height: 208px;
  object-fit: contain;
  transform: translateX(-50%);
}

.gallery-section {
  position: relative;
  margin: 0 -16px;
  padding: 0 16px;
  background: #fbf7ef;
}

.gallery-head {
  margin: 0 -16px;
  padding: 0 16px;
  background: #fbf7ef;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 14px;
}

.section-title {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
}

.section-subtitle {
  margin: 8px 0 0;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.type-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0 8px;
}

.type-picker {
  display: flex;
  height: 40px;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 8px;
  background: #fffdfa;
  box-shadow: 0 4px 9px rgba(16, 24, 40, .05);
}

.type-picker-label {
  flex-shrink: 0;
  margin-right: 8px;
  color: #7a7167;
  font-size: 12px;
  font-weight: 800;
}

.type-picker-select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.color-switch {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.shirt-color-swatch {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(29, 29, 31, .18);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .36);
}

.shirt-color-swatch.black {
  background: #111111;
}

.shirt-color-swatch.active {
  border-color: #063cff;
  box-shadow: 0 0 0 3px rgba(6, 60, 255, .12), inset 0 0 0 3px rgba(255, 255, 255, .72);
}

.showcase {
  position: relative;
  margin: 0 -20px;
  padding-top: 4px;
  padding-bottom: 54px;
  background: #fbf7ef;
}

.fan-stage {
  position: relative;
  display: flex;
  height: 402px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: pan-y;
}

.fan-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 398px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 24, 40, .08), rgba(16, 24, 40, 0) 70%);
  transform: translateX(-50%);
}

.shirt-stage {
  position: relative;
  display: flex;
  width: 374px;
  height: 374px;
  align-items: center;
  justify-content: center;
}

.shirt-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 17px 28px rgba(16, 24, 40, .14));
}

.print-window {
  position: absolute;
  left: 30%;
  top: 28%;
  z-index: 3;
  width: 40%;
  height: 38%;
  overflow: visible;
}

.print-lens-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: 50% 50%;
  transition: opacity 360ms ease, transform 420ms cubic-bezier(.16, .92, .14, 1);
}

.print-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.design-info {
  margin: -4px 0 0;
  padding: 12px 20px 14px;
}

.same-design-btn {
  display: flex;
  width: 100%;
  height: 45px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: #1238f2;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  line-height: 45px;
  box-shadow: 0 7px 15px rgba(18, 56, 242, .18);
}

.same-design-btn:active {
  transform: translateY(1px);
}

@media (min-width: 720px) {
  .home-page {
    width: min(100%, 760px);
    padding-inline: 28px;
  }

  .intro-visual {
    height: 420px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .intro-product-image {
    top: 142px;
    width: 520px;
    height: 292px;
  }

  .gallery-section,
  .gallery-head {
    margin-inline: -28px;
    padding-inline: 28px;
  }

  .showcase {
    margin-inline: -28px;
  }
}
