.pt-product-page__grid {
  align-items: start;
}

.pt-back-link {
  display: inline-block;
  margin-bottom: 42px;
}

.pt-product-page__visual {
  display: grid;
  min-height: 560px;
  padding: 60px;
  place-items: center;
  background: var(--pt-mint);
  border-radius: var(--pt-radius-lg);
}

.pt-product-page__visual > img {
  max-height: 480px;
  object-fit: contain;
}

.pt-product-kit {
  width: min(340px, 100%);
  min-height: 430px;
  padding: 36px;
  border-radius: var(--pt-radius-md);
  transform: rotate(3deg);
}

.pt-product-page__content h1,
.pt-cart-page h1,
.pt-page h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.pt-product-page__price {
  margin: 18px 0;
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.pt-product-page__intro {
  color: var(--pt-ink-soft);
  font-size: 1.08rem;
}

.pt-product-form {
  margin: 28px 0;
  padding: 24px 0;
  border-block: 1px solid var(--pt-line);
}

.pt-field {
  display: grid;
  margin-bottom: 18px;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 700;
}

.pt-field select,
.pt-field input,
.pt-cart-item select {
  min-height: 48px;
  padding: 10px 12px;
  color: var(--pt-ink);
  background: var(--pt-white);
  border: 1px solid var(--pt-line);
  border-radius: 10px;
}

.pt-field--quantity {
  width: 100px;
}

.pt-purchase-note,
.pt-order-summary > p {
  margin: 12px 0 0;
  color: var(--pt-ink-soft);
  font-size: 0.8rem;
  text-align: center;
}

.pt-product-details {
  padding-top: 12px;
}

.pt-product-description {
  max-width: 820px;
  margin: 90px auto 0;
  padding-top: 50px;
  border-top: 1px solid var(--pt-line);
}

.pt-rich-text {
  color: var(--pt-ink-soft);
}

.pt-rich-text h2,
.pt-rich-text h3 {
  color: var(--pt-ink);
}

.pt-page__inner {
  max-width: 820px;
}

.pt-page-actions {
  display: flex;
  margin-top: 38px;
  padding-top: 28px;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--pt-line);
}

.pt-page-actions .pt-button {
  color: var(--pt-ivory);
  background: var(--pt-navy);
}

.pt-cart-layout {
  margin-top: 50px;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.75fr);
  align-items: start;
}

.pt-cart-item {
  display: grid;
  padding: 24px 0;
  grid-template-columns: 90px minmax(0, 1fr) 76px auto;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--pt-line);
}

.pt-cart-item__image {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  background: var(--pt-mint);
  border-radius: var(--pt-radius-sm);
}

.pt-cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.pt-cart-item__content h2 {
  margin-bottom: 3px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.pt-cart-item__content p {
  margin-bottom: 5px;
  color: var(--pt-ink-soft);
  font-size: 0.8rem;
}

.pt-cart-item__quantity {
  display: grid;
  gap: 4px;
  font-size: 0.75rem;
}

.pt-remove-button {
  padding: 0;
  color: var(--pt-ink-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
}

.pt-order-summary {
  position: sticky;
  top: 24px;
  padding: 30px;
  background: var(--pt-cream);
  border-radius: var(--pt-radius-md);
}

.pt-order-summary h2 {
  font-size: 1.35rem;
}

.pt-order-summary dl > div {
  display: flex;
  padding: 8px 0;
  justify-content: space-between;
}

.pt-order-summary dd {
  margin: 0;
  font-weight: 600;
}

.pt-order-summary__total {
  margin: 12px 0 20px;
  padding-top: 20px !important;
  border-top: 1px solid var(--pt-line);
  font-size: 1.15rem;
  font-weight: 700;
}

.pt-empty-cart {
  max-width: 640px;
  margin: 60px auto 0;
  padding: 56px;
  background: var(--pt-cream);
  border-radius: var(--pt-radius-lg);
  text-align: center;
}

.pt-empty-cart .pt-brand__mark {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
}

.pt-footer {
  padding: 68px 0 34px;
  color: var(--pt-mint);
  background: var(--pt-ink);
}

.pt-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr;
  gap: 70px;
}

.pt-brand--footer {
  color: var(--pt-white);
}

.pt-footer__promise {
  max-width: 310px;
  margin-top: 18px;
}

.pt-footer__links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.pt-footer__label {
  margin-bottom: 4px;
  color: var(--pt-white);
  font-weight: 700;
}

.pt-footer__note {
  color: rgba(217, 238, 228, 0.7);
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .pt-hero__grid,
  .pt-included__grid,
  .pt-product-page__grid,
  .pt-cart-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .pt-step-grid,
  .pt-product-grid {
    grid-template-columns: 1fr;
  }

  .pt-product-card--featured {
    transform: none;
  }

  .pt-hero {
    padding-top: 64px;
  }

  .pt-hero__visual {
    min-height: 460px;
  }

  .pt-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .pt-footer__note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .pt-shell {
    width: min(100% - 28px, 1180px);
  }

  .pt-page-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .pt-header__inner {
    min-height: 68px;
  }

  .pt-nav {
    gap: 14px;
  }

  .pt-nav > a:first-child {
    display: none;
  }

  .pt-actions,
  .pt-trust-row {
    align-items: stretch;
    flex-direction: column;
  }

  .pt-trust-row {
    gap: 8px;
  }

  .pt-hero__visual {
    min-height: 410px;
  }

  .pt-kit-card {
    width: 250px;
    height: 350px;
  }

  .pt-baseline-card {
    width: 180px;
  }

  .pt-steps,
  .pt-offers,
  .pt-included,
  .pt-page,
  .pt-product-page,
  .pt-cart-page,
  .pt-closing {
    padding: 72px 0;
  }

  .pt-included__visual,
  .pt-product-page__visual {
    min-height: 390px;
    padding: 28px;
  }

  .pt-cart-item {
    grid-template-columns: 70px minmax(0, 1fr) 64px;
  }

  .pt-cart-item__image {
    width: 70px;
    height: 70px;
  }

  .pt-remove-button {
    grid-column: 2;
    justify-self: start;
  }

  .pt-empty-cart {
    padding: 38px 24px;
  }

  .pt-footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .pt-footer__note {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
