.store-page {
  background: var(--paper);
}

.store-page .site-header {
  position: sticky;
  top: 0;
}

.store-page h1 {
  font-size: clamp(50px, 7vw, 96px);
}

.collection-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  height: calc(100svh - 72px);
  min-height: 500px;
  max-height: 760px;
  padding: clamp(28px, 5svh, 64px) var(--page-pad);
  overflow: hidden;
  background: linear-gradient(135deg, #e7f9fb 0%, #bdeef4 55%, #f8e7a9 55%, #fff4ce 100%);
}

.collection-hero::before {
  position: absolute;
  top: -12%;
  left: -8%;
  width: 36vw;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  content: "";
}

.collection-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 710px;
}

.collection-hero-copy h1 {
  max-width: 690px;
  margin-bottom: 20px;
  font-size: clamp(46px, 5.4vw, 78px);
}

.collection-hero-copy p {
  max-width: 590px;
  margin-bottom: 24px;
  color: #365b67;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 500;
}

.collection-hero-art {
  position: relative;
  z-index: 2;
  height: clamp(360px, calc(100svh - 190px), 560px);
}

.collection-sun {
  position: absolute;
  top: 4%;
  left: 13%;
  width: 72%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(255, 255, 255, 0.15);
}

.collection-flow {
  position: absolute;
  z-index: 2;
  right: auto;
  bottom: 0;
  left: 50%;
  width: auto;
  max-width: 82%;
  height: 96%;
  filter: drop-shadow(0 28px 22px rgba(23, 62, 76, 0.17));
  translate: -50% 0;
  animation: character-float 5.5s ease-in-out infinite;
}

.language-note {
  position: absolute;
  z-index: 4;
  padding: 11px 17px;
  background: white;
  border-radius: 999px 999px 999px 8px;
  box-shadow: 0 12px 28px rgba(23, 62, 76, 0.15);
  font-size: 15px;
  font-weight: 800;
  animation: note-float 4.5s ease-in-out infinite;
}

.note-one { top: 19%; left: 5%; transform: rotate(-6deg); }
.note-two { top: 5%; right: 7%; color: var(--coral); animation-delay: -1.6s; transform: rotate(5deg); }
.note-three { top: 42%; left: 2%; color: #3e8457; animation-delay: -3s; transform: rotate(3deg); }

.collection-section {
  padding: clamp(60px, 7vw, 105px) var(--page-pad);
}

.collection-heading {
  max-width: 790px;
  margin: 0 auto 54px;
  text-align: center;
}

.collection-heading h2 {
  margin-bottom: 20px;
}

.collection-heading p {
  color: var(--muted);
  font-size: 18px;
}

.edition-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1450px;
  margin: 0 auto;
}

.edition-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 15px 38px rgba(23, 62, 76, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.edition-card:hover {
  box-shadow: 0 24px 50px rgba(23, 62, 76, 0.15);
  transform: translateY(-8px);
}

.edition-card-cover {
  position: relative;
  display: grid;
  min-height: 340px;
  padding: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, #daf5f7 0%, #fff0b9 100%);
  place-items: center;
}

.edition-card:nth-child(3n + 2) .edition-card-cover {
  background: linear-gradient(145deg, #ffe7de 0%, #fff2bd 100%);
}

.edition-card:nth-child(3n) .edition-card-cover {
  background: linear-gradient(145deg, #e2f2dd 0%, #d6f4f6 100%);
}

.edition-card-cover::before {
  position: absolute;
  top: -22%;
  right: -24%;
  width: 76%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  content: "";
}

.edition-card-cover img {
  position: relative;
  z-index: 2;
  width: min(70%, 220px);
  border-radius: 5px;
  box-shadow: 0 20px 42px rgba(23, 62, 76, 0.25);
  transform: rotate(-2deg);
  transition: transform 240ms ease;
}

.edition-card:hover .edition-card-cover img {
  transform: rotate(0) scale(1.035);
}

.edition-card-cover > span {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  color: white;
  background: var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.edition-card-copy {
  padding: 24px;
}

.edition-pair {
  display: block;
  color: var(--coral);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.edition-card h3 {
  margin: 7px 0 16px;
  font-size: 32px;
}

.format-label {
  display: inline-block;
  padding: 7px 11px;
  margin-bottom: 18px;
  color: #365b67;
  background: #edf7f8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.edition-card .text-link {
  display: flex;
  width: max-content;
  font-size: 14px;
}

.collection-assurance {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  padding: clamp(58px, 7vw, 98px) var(--page-pad) 0;
  overflow: hidden;
  background: var(--deep);
  color: white;
}

.collection-assurance img {
  width: min(100%, 580px);
  margin: 0 auto -12%;
}

.collection-assurance div {
  max-width: 720px;
  padding-bottom: clamp(58px, 7vw, 98px);
}

.collection-assurance p {
  max-width: 600px;
  color: #c6d7dc;
  font-size: 18px;
}

/* Product page */

.product-hero {
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  min-height: 720px;
  padding: clamp(56px, 7vw, 96px) var(--page-pad);
  background: #fff5dd;
}

.product-cover-stage {
  position: relative;
  display: grid;
  min-height: 610px;
  overflow: hidden;
  background: linear-gradient(145deg, #bdeef4 0%, #e2f7f7 52%, #f6e5a8 52%, #fff0bc 100%);
  border-radius: 42px;
  box-shadow: var(--shadow);
  place-items: center;
}

.cover-sun {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.product-cover {
  position: relative;
  z-index: 2;
  width: min(55%, 360px);
  border-radius: 7px;
  box-shadow: 0 34px 75px rgba(23, 62, 76, 0.28);
  transform: rotate(-2deg);
}

.cover-chip {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  padding: 11px 16px;
  color: white;
  background: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.product-summary {
  max-width: 650px;
}

.product-back {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.product-summary h1 {
  margin-bottom: 6px;
  font-size: clamp(52px, 6vw, 86px);
}

.product-subtitle {
  color: var(--coral);
  font-size: 19px;
  font-weight: 700;
}

.product-summary h2 {
  margin: 30px 0 16px;
  font-size: clamp(36px, 4vw, 54px);
}

.product-lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 32px;
}

.format-list span {
  padding: 9px 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.product-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.launch-price {
  width: 100%;
  font-size: 14px;
  font-weight: 700;
}

.add-cart-button {
  min-width: 190px;
  cursor: pointer;
}

.add-cart-button.is-added {
  background: #3e8457;
}

.cart-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.preview-disclaimer {
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
}

.included-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(350px, 0.8fr);
  align-items: end;
  gap: 60px;
  padding: clamp(65px, 8vw, 115px) var(--page-pad) 0;
  overflow: hidden;
  background: #e9f7f3;
}

.included-copy {
  padding-bottom: clamp(65px, 8vw, 115px);
}

.included-copy > h2 {
  margin-bottom: 42px;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.included-grid article {
  padding: 25px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 62, 76, 0.1);
  border-radius: 22px;
}

.included-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  color: white;
  background: var(--coral);
  border-radius: 18px;
  font-size: 12px;
  font-weight: 900;
  place-items: center;
  transform: rotate(-3deg);
}

.included-grid article:nth-child(2) .included-icon { color: var(--deep); background: var(--sun); transform: rotate(2deg); }
.included-grid article:nth-child(3) .included-icon { background: var(--cyan); font-size: 28px; transform: rotate(-1deg); }

.included-grid h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.included-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.included-character {
  width: min(100%, 560px);
  margin: 0 auto -10%;
}

.reader-section,
.delivery-section {
  padding: clamp(65px, 8vw, 115px) var(--page-pad);
}

.reader-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  max-width: 1350px;
  margin: 0 auto 42px;
}

.reader-heading h2 {
  margin-bottom: 12px;
}

.reader-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.reader-heading .button {
  cursor: pointer;
  flex: 0 0 auto;
}

.sample-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  max-width: 1180px;
  padding: 18px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.sample-spread img {
  width: 100%;
}

.sample-spread img:first-child { border-radius: 12px 0 0 12px; }
.sample-spread img:last-child { border-radius: 0 12px 12px 0; }

.delivery-section {
  color: white;
  background: var(--deep);
}

.delivery-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1400px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.delivery-steps li {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
}

.delivery-steps li > span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: var(--deep);
  background: var(--sun);
  border-radius: 50%;
  font-weight: 900;
  place-items: center;
}

.delivery-steps strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 800;
}

.delivery-steps p {
  margin: 0;
  color: #bfd2d7;
  font-size: 14px;
}

.reader-dialog {
  width: min(96vw, 1320px);
  max-height: 94vh;
  padding: 0;
  overflow: auto;
  background: #f6f1e5;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);
}

.reader-dialog::backdrop {
  background: rgba(8, 29, 36, 0.8);
  backdrop-filter: blur(5px);
}

.reader-dialog-bar {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  color: white;
  background: var(--deep);
}

.reader-dialog-bar strong {
  font-weight: 800;
}

.reader-dialog-bar button {
  padding: 8px 13px;
  color: var(--deep);
  background: white;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.dialog-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 18px;
}

.dialog-spread img {
  width: 100%;
}

@keyframes note-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@media (max-width: 1180px) {
  .edition-card-grid { grid-template-columns: repeat(3, 1fr); }
  .product-hero { grid-template-columns: 0.92fr 1.08fr; }
  .included-grid { grid-template-columns: 1fr; }
  .included-section { grid-template-columns: 1.2fr 0.8fr; }
}

@media (max-width: 900px) {
  .collection-hero,
  .product-hero,
  .collection-assurance,
  .included-section {
    grid-template-columns: 1fr;
  }

  .collection-hero {
    grid-template-rows: auto 1fr;
    height: calc(100svh - 72px);
    min-height: 500px;
    padding-top: clamp(22px, 4svh, 38px);
    padding-bottom: 0;
  }
  .collection-hero-copy .eyebrow { margin-bottom: 10px; }
  .collection-hero-copy h1 {
    margin-bottom: 13px;
    font-size: clamp(46px, 5.4vw, 78px);
  }
  .collection-hero-copy p {
    margin-bottom: 18px;
    font-size: 16px;
  }
  .collection-hero-copy .button {
    min-height: 48px;
    padding: 11px 21px;
  }
  .collection-hero-art {
    height: clamp(175px, 29svh, 280px);
    min-height: 0;
  }
  .collection-flow {
    right: auto;
    bottom: 0;
    width: auto;
    height: min(320px, 38svh);
  }
  .edition-card-grid { grid-template-columns: repeat(2, 1fr); }
  .collection-assurance { padding-top: 0; }
  .collection-assurance img { order: 2; max-width: 460px; }
  .collection-assurance div { padding: 64px 0 0; }
  .product-cover-stage { min-height: 560px; }
  .included-character { max-width: 460px; }
  .delivery-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .store-page h1 { font-size: 46px; }
  .collection-hero {
    height: calc(100svh - 72px);
    min-height: 470px;
    padding-top: 24px;
  }
  .collection-hero-copy .eyebrow { margin-bottom: 10px; }
  .collection-hero-copy h1 {
    margin-bottom: 12px;
    font-size: 44px;
  }
  .collection-hero-copy p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.4;
  }
  .collection-hero-copy .button {
    min-height: 46px;
    padding: 11px 20px;
    font-size: 14px;
  }
  .collection-hero-art {
    height: 185px;
    min-height: 0;
  }
  .collection-flow {
    right: auto;
    bottom: -5%;
    width: auto;
    height: 280px;
  }
  .collection-sun {
    top: -45%;
    left: 21%;
    width: 58%;
  }
  .language-note { padding: 7px 10px; font-size: 10px; }
  .note-one { top: 44%; left: 8%; }
  .note-two { top: 13%; right: 5%; }
  .note-three { top: 11%; left: 13%; }
  .edition-card-grid { grid-template-columns: 1fr; }
  .edition-card-cover { min-height: 360px; }
  .collection-assurance div { padding-top: 58px; }
  .product-hero { padding-top: 32px; }
  .product-cover-stage { min-height: 450px; border-radius: 28px; }
  .product-cover { width: 58%; }
  .cover-chip { right: 15px; bottom: 15px; font-size: 11px; }
  .reader-heading { align-items: flex-start; flex-direction: column; }
  .sample-spread,
  .dialog-spread { grid-template-columns: 1fr; gap: 12px; }
  .sample-spread img:first-child,
  .sample-spread img:last-child { border-radius: 10px; }
  .delivery-steps { grid-template-columns: 1fr; }
  .included-section { padding-inline: var(--page-pad); }
}
