:root {
  --color-primary: #e83c66;
  --color-bg-dark: #0b1e28;
  --color-bg-soft: #f6f6f6;
  --radius-6: 6px;
  --radius-10: 10px;
  --radius-12: 12px;
  --radius-64: 64px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #ffffff;
  color: #000000;
  font-family: "Open Sans", sans-serif;
}

body.book-purchase-effects {
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.purchase-page {
  width: 100%;
}

.purchase-canvas {
  background: #ffffff;
  min-height: 0;
  position: relative;
  width: 100%;
}

.top-news {
  background: var(--color-primary);
  color: #ffffff;
  left: auto;
  position: relative;
  top: auto;
  width: 100%;
  z-index: 20;
}

.top-news-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  min-height: 44px;
  width: 1346px;
}

.top-news-left {
  align-items: center;
  display: flex;
  font-size: 12px;
  font-weight: 400;
  gap: 8px;
  line-height: 18px;
}

.top-news-right {
  align-items: center;
  display: flex;
  gap: 16px;
}

.top-news-right a {
  align-items: center;
  display: inline-flex;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  gap: 6px;
  line-height: 20px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.top-news-right a:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.top-news-close {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 0;
}

.contact-strip {
  background: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-bg-dark);
  color: #f6f6f6;
  left: auto;
  position: relative;
  top: auto;
  width: 100%;
  z-index: 21;
}

.contact-strip-inner {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  min-height: 48px;
  width: 1346px;
}

.contact-links {
  align-items: center;
  display: flex;
  gap: 24px;
}

.contact-links a {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  font-weight: 400;
  gap: 8px;
  line-height: 18px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-left: 24px;
}

.social-links a {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.site-header {
  background: #fafafa;
  left: auto;
  position: relative;
  top: auto;
  width: 100%;
  z-index: 22;
  transition: box-shadow 240ms ease, background-color 240ms ease;
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  margin: 0 auto;
  min-height: 80px;
  padding: 16px 0;
  width: 1346px;
}

.brand {
  display: inline-flex;
  height: 40px;
  margin-right: 32px;
  width: 128px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 32px;
  margin-right: auto;
}

.main-nav a {
  align-items: center;
  color: #000000;
  display: inline-flex;
  font-size: 14px;
  font-weight: 400;
  gap: 4px;
  line-height: 20px;
  padding: 10px 0;
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.main-nav .is-semibold {
  font-weight: 600;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 24px;
}

.btn-cart {
  align-items: center;
  background: #fcf0f3;
  border-radius: 12px;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  min-width: 72px;
  padding: 12px 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn-cart:hover {
  box-shadow: 0 8px 18px rgba(232, 60, 102, 0.22);
  transform: translateY(-1px);
}

.btn-login {
  align-items: center;
  background: var(--color-primary);
  border-radius: 12px;
  color: #ffffff;
  display: inline-flex;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  gap: 6px;
  line-height: 20px;
  min-height: 48px;
  padding: 12px 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn-login:hover {
  box-shadow: 0 10px 20px rgba(232, 60, 102, 0.24);
  transform: translateY(-1px);
}

.purchase-main {
  background: #ffffff;
  height: 2520px;
  margin: 0 auto;
  max-width: 1586px;
  position: relative;
  top: auto;
  width: min(1586px, calc(100vw - 40px));
}

.purchase-main.is-product-loading .main-book-image,
.purchase-main.is-product-loading .purchase-summary,
.purchase-main.is-product-loading .addons-section,
.purchase-main.is-product-loading .book-details {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.main-book-image {
  box-shadow: 0 5.537px 5.537px rgba(0, 0, 0, 0.25);
  height: 710px;
  left: 152px;
  object-fit: cover;
  position: absolute;
  top: 80px;
  transition: transform 260ms ease, box-shadow 260ms ease;
  width: 503px;
}

.main-book-image:hover {
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.2);
  transform: translateY(-4px);
}

.purchase-summary {
  left: 739px;
  position: absolute;
  top: 80px;
  width: 648px;
}

.purchase-title {
  color: #000000;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 60.468px;
  margin: 0;
  width: 694px;
}

.spec-inline {
  border-bottom: 1.08px solid #999999;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.2fr);
  margin: 29px 0 0;
  padding-bottom: 11px;
  width: 648px;
}

.spec-item {
  align-items: baseline;
  color: #000000;
  display: flex;
  font-size: 23.688px;
  gap: 8px;
  line-height: 36.848px;
  margin: 0;
  min-width: 0;
}

.spec-label {
  flex: none;
  font-weight: 600;
  white-space: nowrap;
}

.spec-value {
  font-weight: 400;
  min-width: 0;
  overflow-wrap: anywhere;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  width: 648px;
}

.spec-grid p {
  margin: 0;
}

.spec-head p,
.spec-values p {
  color: #000000;
  font-size: 23.688px;
  line-height: 36.848px;
}

.spec-head p {
  font-weight: 600;
}

.spec-values p {
  font-weight: 400;
}

.purchase-description {
  color: #000000;
  font-size: 20.702px;
  font-weight: 400 !important;
  line-height: 32.203px;
  margin: 14px 0 0;
  width: 635.744px;
}

.price-row {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
  width: 648px;
}

.price-label {
  color: #000000;
  font-size: 23.688px;
  font-weight: 400;
  line-height: 36.848px;
  margin: 0;
}

.price-box {
  text-align: center;
}

.price-value {
  color: #000000;
  font-size: 45px;
  font-weight: 400;
  line-height: 69.711px;
  margin: 0;
}

.price-note {
  color: #000000;
  font-size: 16.561px;
  font-weight: 400;
  line-height: 25.762px;
  margin: -4px 0 0;
}

.variant-picker {
  display: none;
  margin-top: 16px;
  width: 648px;
}

.variant-picker-label {
  color: #000000;
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 8px;
}

.variant-select {
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  color: #000000;
  display: block;
  font-size: 16px;
  min-height: 54px;
  padding: 12px 14px;
  width: 100%;
}

.add-cart-btn {
  align-items: center;
  background: #000000;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25), inset 0 4px 4px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  display: inline-flex;
  font-size: 24.762px;
  font-weight: 400;
  height: 75px;
  justify-content: center;
  letter-spacing: -0.4952px;
  line-height: 29.715px;
  margin-top: 19px;
  transition: transform 180ms ease, box-shadow 220ms ease;
  width: 648px;
}

.add-cart-btn:hover {
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22), inset 0 2px 3px rgba(0, 0, 0, 0.26);
  transform: translateY(-1px);
}

.add-cart-btn.is-disabled {
  cursor: not-allowed;
  opacity: 0.62;
  pointer-events: none;
  transform: none;
}

.add-cart-btn.is-added {
  background: #0f6b4d;
}

.addons-section {
  left: 743px;
  position: absolute;
  top: 688px;
  width: 633px;
}

.addons-title {
  color: #000000;
  font-size: 34.77px;
  font-weight: 600;
  letter-spacing: -0.6954px;
  line-height: 46.359px;
  margin: 0 0 14px;
  text-align: center;
}

.addons-cards {
  display: flex;
  gap: 25px;
}

.addon-card {
  background: #ffffff;
  border: 1.449px solid #ffc94c;
  border-radius: 17.385px;
  box-shadow: 0 1.449px 4.346px rgba(16, 24, 40, 0.1);
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 190px;
  overflow: hidden;
  padding: 104px 22px 18px 40px;
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  width: 304px;
}

.addon-card:hover {
  border-color: #f4bc37;
  box-shadow: 0 10px 20px rgba(16, 24, 40, 0.14);
  transform: translateY(-3px);
}

.addon-checkbox {
  background: #ffffff;
  border: 1.449px solid #e7e7e7;
  border-radius: 17.385px;
  box-shadow: 0 1.449px 4.346px rgba(16, 24, 40, 0.1);
  display: block;
  height: 21.731px;
  left: 13px;
  position: absolute;
  top: 13px;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  width: 21.731px;
}

.addon-card.is-selected .addon-checkbox {
  background: #e83c66;
  border-color: #e83c66;
  box-shadow: 0 1.449px 4.346px rgba(232, 60, 102, 0.32);
}

.addon-image {
  height: 82px;
  left: 46px;
  object-fit: cover;
  position: absolute;
  top: 16px;
  width: 86px;
}

.addon-card h3 {
  box-sizing: border-box;
  color: #000000;
  display: block;
  font-size: 20.282px;
  font-weight: 600;
  line-height: 28.975px;
  margin: 0;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  overflow-wrap: anywhere;
  padding-right: 0;
  white-space: normal;
}

.addon-card p {
  color: #000000;
  font-size: 20.282px;
  font-weight: 400;
  line-height: 28.975px;
  margin: 0;
}

.addon-price {
  color: #47360e;
  font-size: 17.385px;
  line-height: 26.077px;
  margin-top: auto;
  padding-top: 6px;
}

.addons-note {
  align-items: center;
  border: 1.449px dashed #ffc94c;
  border-radius: 17.385px;
  box-shadow: 0 1.449px 4.346px rgba(16, 24, 40, 0.1);
  color: #000000;
  display: flex;
  font-size: 17.385px;
  font-weight: 400;
  gap: 6px;
  height: 70px;
  line-height: 26.077px;
  margin-top: 14px;
  padding: 0 18px;
  width: 633px;
}

.addons-note strong {
  font-weight: 600;
}

.addons-note-icon {
  color: #f2b409;
  font-size: 18px;
  line-height: 1;
}

.book-details {
  left: 144px;
  position: absolute;
  top: 1180px;
  width: 723.456px;
}

.book-details > * {
  max-width: 100%;
}

.book-details > :first-child {
  margin-top: 0;
}

.book-details h1,
.book-details h2 {
  color: #000000;
  font-size: 38.873px;
  font-weight: 600;
  line-height: 60.468px;
  margin: 52px 0 0;
  width: 694px;
}

.book-details h1 {
  font-size: 42px;
  line-height: 62px;
}

.book-details h3 {
  color: #000000;
  font-size: 30px;
  font-weight: 600;
  line-height: 42px;
  margin: 44px 0 0;
  width: 694px;
}

.book-details h4,
.book-details h5,
.book-details h6 {
  color: #000000;
  font-size: 24px;
  font-weight: 600;
  line-height: 34px;
  margin: 36px 0 0;
  width: 694px;
}

.book-details h1 + p,
.book-details h2 + p,
.book-details h3 + p,
.book-details h4 + p,
.book-details h5 + p,
.book-details h6 + p {
  margin-top: 20px;
}

.book-details p,
.book-details li,
.book-details td,
.book-details th {
  color: #000000;
  font-size: 20.702px;
  font-weight: 400;
  line-height: 32.203px;
}

.book-details p {
  margin: 16px 0 0;
  width: 723.456px;
}

.book-details ul,
.book-details ol {
  margin: 18px 0 0;
  padding-left: 28px;
  width: 723.456px;
}

.book-details li {
  margin-top: 10px;
}

.book-details strong {
  font-weight: 700;
}

.book-details .only-bold {
  margin-top: 20px;
}

.book-details a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.book-details blockquote {
  border-left: 4px solid var(--color-primary);
  margin: 24px 0 0;
  padding: 4px 0 4px 18px;
  width: 723.456px;
}

.book-details figure {
  margin: 28px 0 0;
  width: 723.456px;
}

.book-details figure img,
.book-details > img {
  border-radius: 8px;
  height: auto;
  width: auto;
}

.book-details iframe {
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.book-details table {
  border-collapse: collapse;
  margin: 24px 0 0;
  width: 723.456px;
}

.book-details th,
.book-details td {
  border: 1px solid #d8d8d8;
  padding: 10px 12px;
  text-align: left;
}

.book-details pre {
  background: #f6f6f6;
  border-radius: 8px;
  margin: 24px 0 0;
  overflow-x: auto;
  padding: 16px;
  width: 723.456px;
}

.site-footer {
  background: var(--color-bg-dark);
  height: auto;
  left: auto;
  padding: 0;
  position: relative;
  top: auto;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 1200px;
}

.footer-top {
  display: grid;
  gap: 32px;
  grid-template-columns: 492px 1fr;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-newsletter p {
  color: #f6f6f6;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin: 0;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 279px;
}

.footer-newsletter-form label {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  gap: 4px;
  line-height: 20px;
}

.footer-newsletter-form input {
  background: transparent;
  border: 1px solid #b0b0b0;
  border-radius: var(--radius-6);
  color: #ffffff;
  min-height: 48px;
  padding: 14px 16px;
}

.footer-newsletter-form input::placeholder {
  color: #888888;
}

.footer-newsletter-btn {
  align-items: center;
  background: var(--color-primary);
  border: 0;
  border-radius: var(--radius-64);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  gap: 6px;
  justify-content: center;
  line-height: 20px;
  min-height: 44px;
  padding: 12px 24px;
  width: fit-content;
}

.footer-newsletter-note {
  color: #f6f6f6;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

.footer-links-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col h4 {
  color: #f6f6f6;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin: 0 0 4px;
}

.footer-links-col a {
  color: #f6f6f6;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.footer-contact-link {
  align-items: center;
  display: flex;
  gap: 12px;
}

.footer-contact-icon {
  align-items: center;
  background: #344b63;
  border-radius: var(--radius-10);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.footer-contact-address {
  color: #f6f6f6;
  display: grid;
  gap: 0;
  grid-template-columns: 40px 1fr;
  line-height: 24px;
}

.footer-contact-address span:first-child {
  align-items: center;
  display: inline-flex;
  grid-row: 1 / 3;
}

.footer-contact-address span:last-child {
  display: block;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid #344b63;
  display: flex;
  justify-content: space-between;
  padding-top: 33px;
}

.footer-copy {
  color: #f6f6f6;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  align-items: center;
  background: #344b63;
  border-radius: var(--radius-10);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: #f6f6f6;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.book-purchase-effects .fx-reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1), transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.book-purchase-effects .fx-reveal.fx-from-left {
  transform: translate3d(-30px, 0, 0);
}

.book-purchase-effects .fx-reveal.fx-from-right {
  transform: translate3d(30px, 0, 0);
}

.book-purchase-effects .fx-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .book-purchase-effects .fx-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1600px) {
  .purchase-main {
    margin: 0;
    width: min(1586px, calc(100vw - 40px));
  }
}

@media (max-width: 1440px) {
  .purchase-main {
    margin: 0 auto;
    width: min(1320px, calc(100vw - 40px));
    height: 2380px;
  }

  .main-book-image {
    height: auto;
    left: 56px;
    width: 420px;
  }

  .purchase-summary {
    left: 540px;
    width: calc(100% - 600px);
  }

  .purchase-title {
    font-size: 30px;
    line-height: 44px;
    width: 100%;
  }

  .spec-grid,
  .spec-inline,
  .spec-divider,
  .purchase-description,
  .price-row,
  .variant-picker,
  .add-cart-btn {
    width: 100%;
  }

  .purchase-description {
    font-size: 24px;
    line-height: 36px;
  }

  .addons-section {
    left: 540px;
    top: 708px;
    width: calc(100% - 600px);
  }

  .addons-cards {
    gap: 16px;
  }

  .addon-card {
    padding: 108px 18px 22px 26px;
    width: calc((100% - 16px) / 2);
  }

  .addon-image {
    left: 28px;
  }

  .addons-note,
  .book-details h1,
  .book-details h2,
  .book-details h3,
  .book-details h4,
  .book-details h5,
  .book-details h6,
  .book-details p,
  .book-details ul,
  .book-details ol,
  .book-details blockquote,
  .book-details figure,
  .book-details table,
  .book-details pre {
    width: 100%;
  }

  .book-details {
    left: 56px;
    top: 1112px;
    width: 620px;
  }
}

@media (max-width: 1024px) {
  .purchase-main {
    height: auto;
    margin: 0 auto;
    max-width: none;
    padding: 28px 16px 56px;
    width: 100%;
  }

  .main-book-image {
    display: block;
    height: auto;
    left: auto;
    margin: 0 auto;
    position: relative;
    top: auto;
    width: min(304px, calc(100vw - 72px));
  }

  .purchase-summary,
  .addons-section,
  .book-details {
    left: auto;
    position: relative;
    top: auto;
    width: min(680px, 100%);
  }

  .purchase-summary {
    margin: 24px auto 0;
  }

  .purchase-title,
  .spec-grid,
  .spec-inline,
  .spec-divider,
  .purchase-description,
  .price-row,
  .variant-picker,
  .add-cart-btn,
  .addons-note,
  .book-details h1,
  .book-details h2,
  .book-details h3,
  .book-details h4,
  .book-details h5,
  .book-details h6,
  .book-details p,
  .book-details ul,
  .book-details ol,
  .book-details blockquote,
  .book-details figure,
  .book-details table,
  .book-details pre {
    width: 100%;
  }

  .purchase-title {
    font-size: 34px;
    line-height: 46px;
  }

  .purchase-description {
    font-size: 18px;
    font-weight: 400 !important;
    line-height: 28px;
  }

  .price-row {
    margin-top: 18px;
  }

  .add-cart-btn {
    display: flex;
    height: 62px;
    margin-top: 14px;
  }

  .addons-section {
    margin: -28px auto 0;
  }

  .addons-title {
    font-size: 28px;
    line-height: 36px;
    margin: 0 0 12px;
  }

  .addons-cards {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .addon-card {
    height: auto;
    min-height: 132px;
    padding: 68px 12px 12px 14px;
    width: 100%;
  }

  .addon-checkbox {
    border-radius: 999px;
    height: 20px;
    left: 10px;
    top: 10px;
    width: 20px;
  }

  .addon-image {
    height: 54px;
    left: 42px;
    object-fit: cover;
    top: 12px;
    width: 54px;
  }

  .addon-card h3 {
    font-size: 12px;
    line-height: 18px;
    margin-top: 0;
    padding-bottom: 3px;
    padding-right: 0;
  }

  .addon-card p {
    font-size: 12px;
    line-height: 16px;
  }

  .addon-price {
    font-size: 12px;
    line-height: 16px;
    margin-top: 4px;
  }

  .addons-note {
    flex-wrap: wrap;
    font-size: 12px;
    gap: 4px;
    height: auto;
    line-height: 16px;
    margin-top: 10px;
    padding: 10px 12px;
  }

  .addons-note-icon {
    font-size: 16px;
  }

  .book-details {
    margin: 30px auto 0;
  }

  .book-details h1,
  .book-details h2 {
    font-size: 32px;
    line-height: 42px;
  }

  .book-details h3 {
    font-size: 26px;
    line-height: 36px;
  }

  .book-details h4,
  .book-details h5,
  .book-details h6 {
    font-size: 22px;
    line-height: 30px;
  }

  .book-details p,
  .book-details li,
  .book-details td,
  .book-details th {
    font-size: 18px;
    line-height: 28px;
  }
}

@media (max-width: 640px) {
  .purchase-main {
    padding: 22px 16px 44px;
  }

  .purchase-title {
    font-size: 25px;
    line-height: 34px;
  }

  .spec-item,
  .spec-head p,
  .spec-values p {
    font-size: 16px;
    line-height: 24px;
  }

  .purchase-description {
    font-size: 16px;
    line-height: 24px;
  }

  .price-label {
    font-size: 15px;
    line-height: 22px;
  }

  .price-value {
    font-size: 22px;
    line-height: 30px;
  }

  .price-note {
    font-size: 11px;
    line-height: 15px;
    margin-top: 0;
  }

  .spec-inline {
    gap: 10px;
    grid-template-columns: minmax(86px, 0.7fr) minmax(0, 1.3fr);
  }

  .spec-item {
    gap: 5px;
  }

  .add-cart-btn {
    font-size: 18px;
    height: 54px;
    line-height: 22px;
    margin-top: 10px;
  }

  .addons-section {
    margin-top: -32px;
  }

  .addons-title {
    font-size: 24px;
    line-height: 30px;
  }

  .addon-card {
    min-height: 124px;
    padding: 58px 10px 10px 12px;
  }

  .addon-image {
    height: 46px;
    left: 36px;
    top: 10px;
    width: 46px;
  }

  .addon-card h3 {
    font-size: 11px;
    line-height: 16px;
    padding-bottom: 3px;
    padding-right: 0;
  }

  .addon-card p,
  .addon-price {
    font-size: 11px;
    line-height: 14px;
  }

  .addons-note {
    align-items: flex-start;
    font-size: 11px;
    line-height: 15px;
    padding: 8px 10px;
  }

  .book-details {
    margin-top: 24px;
  }

  .book-details h1,
  .book-details h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .book-details h3 {
    font-size: 21px;
    line-height: 29px;
  }

  .book-details h4,
  .book-details h5,
  .book-details h6 {
    font-size: 18px;
    line-height: 26px;
  }

  .book-details p,
  .book-details li,
  .book-details td,
  .book-details th {
    font-size: 15px;
    line-height: 22px;
  }
}

/* Product detail scroll stability */
body.book-purchase-effects {
  overflow-x: clip !important;
  overflow-y: visible !important;
  touch-action: pan-y pinch-zoom;
}

@supports not (overflow: clip) {
  body.book-purchase-effects {
    overflow-x: hidden !important;
  }
}

body.book-purchase-effects .purchase-page,
body.book-purchase-effects .purchase-canvas,
body.book-purchase-effects .purchase-main,
body.book-purchase-effects .purchase-summary,
body.book-purchase-effects .addons-section,
body.book-purchase-effects .book-details {
  max-width: 100% !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
  overscroll-behavior-y: auto;
  touch-action: pan-y pinch-zoom;
}

@supports not (overflow: clip) {
  body.book-purchase-effects .purchase-page,
  body.book-purchase-effects .purchase-canvas,
  body.book-purchase-effects .purchase-main,
  body.book-purchase-effects .purchase-summary,
  body.book-purchase-effects .addons-section,
  body.book-purchase-effects .book-details {
    overflow-x: hidden !important;
  }
}

body.book-purchase-effects .purchase-main {
  align-items: start;
  column-gap: clamp(48px, 6vw, 84px);
  display: grid !important;
  grid-template-areas:
    "image summary"
    "image addons"
    "details details";
  grid-template-columns: minmax(280px, 503px) minmax(0, 648px);
  height: auto !important;
  margin: 0 auto !important;
  min-height: 0 !important;
  padding: clamp(56px, 5vw, 80px) 20px clamp(72px, 6vw, 108px) !important;
  position: relative !important;
  row-gap: clamp(32px, 4vw, 48px);
  top: auto !important;
  width: min(1280px, calc(100vw - 40px)) !important;
}

body.book-purchase-effects .main-book-image,
body.book-purchase-effects .purchase-summary,
body.book-purchase-effects .addons-section,
body.book-purchase-effects .book-details {
  left: auto !important;
  position: static !important;
  top: auto !important;
}

body.book-purchase-effects .main-book-image {
  align-self: start;
  grid-area: image;
  height: auto !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: min(503px, 100%) !important;
}

body.book-purchase-effects .purchase-summary {
  grid-area: summary;
  width: 100% !important;
}

body.book-purchase-effects .addons-section {
  grid-area: addons;
  margin-top: 0 !important;
  width: 100% !important;
}

body.book-purchase-effects .book-details {
  grid-area: details;
  margin-top: clamp(8px, 2vw, 24px) !important;
  width: min(900px, 100%) !important;
}

body.book-purchase-effects .purchase-title,
body.book-purchase-effects .spec-grid,
body.book-purchase-effects .spec-inline,
body.book-purchase-effects .spec-divider,
body.book-purchase-effects .purchase-description,
body.book-purchase-effects .price-row,
body.book-purchase-effects .variant-picker,
body.book-purchase-effects .add-cart-btn,
body.book-purchase-effects .addons-note,
body.book-purchase-effects .book-details h1,
body.book-purchase-effects .book-details h2,
body.book-purchase-effects .book-details h3,
body.book-purchase-effects .book-details h4,
body.book-purchase-effects .book-details h5,
body.book-purchase-effects .book-details h6,
body.book-purchase-effects .book-details p,
body.book-purchase-effects .book-details ul,
body.book-purchase-effects .book-details ol,
body.book-purchase-effects .book-details blockquote,
body.book-purchase-effects .book-details figure,
body.book-purchase-effects .book-details table,
body.book-purchase-effects .book-details pre {
  max-width: 100% !important;
  width: 100% !important;
}

body.book-purchase-effects .book-details img,
body.book-purchase-effects .book-details iframe,
body.book-purchase-effects .book-details table,
body.book-purchase-effects .book-details pre {
  max-width: 100% !important;
}

body.book-purchase-effects .addons-cards {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.book-purchase-effects .addon-card {
  min-width: 0;
  width: 100% !important;
}

body.book-purchase-effects .fx-reveal {
  animation: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (max-width: 1024px) {
  body.book-purchase-effects .purchase-main {
    grid-template-areas:
      "image"
      "summary"
      "addons"
      "details";
    grid-template-columns: 1fr !important;
    padding: 28px 16px 56px !important;
    row-gap: 24px;
    width: 100% !important;
  }

  body.book-purchase-effects .main-book-image {
    margin: 0 auto !important;
    width: min(304px, calc(100vw - 72px)) !important;
  }

  body.book-purchase-effects .purchase-summary,
  body.book-purchase-effects .addons-section,
  body.book-purchase-effects .book-details {
    margin-left: auto !important;
    margin-right: auto !important;
    width: min(680px, 100%) !important;
  }

  body.book-purchase-effects .addons-section,
  body.book-purchase-effects .book-details {
    margin-top: 0 !important;
  }
}

@media (max-width: 640px) {
  body.book-purchase-effects .purchase-main {
    padding: 22px 16px 44px !important;
    row-gap: 22px;
  }

  body.book-purchase-effects .addons-cards {
    gap: 12px !important;
  }
}
