:root {
  --ink: #171717;
  --muted: #56514d;
  --sand: #bcae96;
  --sand-soft: #f1ede7;
  --pink: #ea4a8b;
  --pink-dark: #d73778;
  --line: #e7e3df;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f6f5;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

img {
  display: block;
  max-width: 100%;
}

.sale-banner {
  width: 100%;
  padding: 12px 18px;
  color: #ff4d4d;
  background: #111111;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.store-page {
  width: min(100%, 510px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 30px 56px;
  background: var(--paper);
  box-shadow: 0 0 36px rgba(30, 27, 24, 0.06);
}

.product-header {
  margin-bottom: 34px;
}

.product-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--sand-soft);
  border-radius: 15px;
  padding: 8px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 7px;
  font-size: 1.48rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  color: #97866d;
  font-size: 1.32rem;
  line-height: 1;
}

.price del {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration-thickness: 2px;
}

.purchase-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  color: #fff;
  background: #111111;
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.18);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.purchase-button:hover {
  background: #2b2b2b;
  transform: translateY(-1px);
}

.purchase-button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(234, 74, 139, 0.32);
  outline-offset: 3px;
}

.sales-copy {
  padding: 0 8px;
}

.sales-copy section {
  margin: 0 0 33px;
}

.sales-copy h2 {
  margin-bottom: 13px;
  color: var(--sand);
  font-size: 1.43rem;
  line-height: 1.18;
  letter-spacing: 0;
  text-align: center;
}

.sales-copy .banner {
  padding: 8px 12px;
  color: #fff;
  background: var(--sand);
  border-radius: 7px;
  font-size: 1.48rem;
  line-height: 1.08;
}

.sales-copy p {
  margin-bottom: 17px;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.52;
}

.sales-copy .intro {
  padding: 0 5px;
  font-size: 1.16rem;
  line-height: 1.56;
}

.spark-list,
.chapter-list,
.arrow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.spark-list li,
.chapter-list li,
.arrow-list li {
  position: relative;
  margin-bottom: 15px;
  padding-left: 29px;
  font-size: 1.08rem;
  line-height: 1.42;
}

.spark-list li::before,
.chapter-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  color: #e8ad25;
  content: "\2726";
  font-size: 1.05rem;
}

.chapter-list strong {
  color: var(--sand);
}

.arrow-list li {
  padding-left: 38px;
}

.arrow-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--sand);
  content: "\279C";
  font-size: 1.45rem;
  line-height: 1;
}

.included {
  padding: 25px 22px 13px;
  background: var(--sand-soft);
  border-radius: 8px;
}

.included p {
  margin-bottom: 12px;
  font-size: 1rem;
  text-align: center;
}

.purchase-section {
  padding: 29px 20px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.purchase-section h2 {
  margin-bottom: 25px;
  color: var(--ink);
}

.total-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 15px;
  font-size: 0.97rem;
}

.total-row.total {
  margin-bottom: 21px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 1.04rem;
}

.delivery-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 540px) {
  .store-page {
    padding: 16px 18px 42px;
    box-shadow: none;
  }

  .sales-copy {
    padding: 0 3px;
  }

  .product-image {
    border-radius: 11px;
  }

  .sales-copy h2,
  .sales-copy .banner {
    font-size: 1.3rem;
  }

  .sales-copy p,
  .spark-list li,
  .chapter-list li,
  .arrow-list li {
    font-size: 1rem;
  }

  .purchase-section {
    padding-right: 13px;
    padding-left: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .purchase-button {
    transition: none;
  }
}
