/* Shared visual language for the product-specific cart landing. */
.wp-premium.cart-page {
  --cart-glow: #c2f573;
  --cart-mint: #e8f5da;
}

.wp-premium.cart-page .pp-hero {
  background:
    radial-gradient(ellipse at 72% 32%, #304b1b55, transparent 42%),
    radial-gradient(ellipse at 20% 76%, #173c2660, transparent 38%),
    var(--pp-dark);
}

.wp-premium.cart-page .pp-hero__art {
  width: 94%;
  filter: drop-shadow(0 24px 42px #b2ee3a1c);
}

.wp-premium.cart-page .pp-glass-note--top {
  inset-inline-end: -2%;
}

.wp-premium.cart-page .pp-glass-note--bottom {
  inset-inline-end: -4%;
}

.wp-premium.cart-page .pp-hero__caption {
  border-block-start-color: #c3dbac20;
}

.wp-premium.cart-page .pp-shot--cart img {
  width: 100%;
  height: 455px;
  object-fit: cover;
  object-position: top right;
}

.wp-premium.cart-page .pp-shot--cart {
  background: #f3f7ef;
}

.wp-premium.cart-page .pp-shot--cart figcaption {
  margin: 0;
}

.wp-premium.cart-page .pp-cart-note {
  margin-block-start: 24px;
  padding: 17px 20px;
  border: 1px solid #d8e5cf;
  border-radius: 13px;
  color: #53664c;
  background: #f4f8ef;
  font-size: 13px;
  line-height: 2;
}

.wp-premium.cart-page .pp-cart-note strong {
  color: #315b36;
}

.wp-premium.cart-page .pp-cart-feature img {
  opacity: .95;
}

.wp-premium.cart-page .pp-cart-feature--dark {
  background: linear-gradient(125deg, #153922, #0e2416);
  color: #f0f9e6;
  border-color: #193d22;
}

.wp-premium.cart-page .pp-cart-feature--dark > p {
  color: #c7d4bb;
}

.wp-premium.cart-page .pp-cart-feature--dark .pp-feature__tag {
  color: #b6d994;
}

.wp-premium.cart-page .pp-cart-feature--dark .pp-feature__foot {
  color: #c7ddae;
  border-color: #b4d87d40;
}

.wp-premium.cart-page .pp-cart-guides {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wp-premium.cart-page .pp-cart-guide {
  min-height: 205px;
  padding: 28px;
  border: 1px solid var(--pp-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px #27492108;
}

.wp-premium.cart-page .pp-cart-guide__index {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding-inline: 9px;
  border: 1px solid #d0dfc2;
  border-radius: 6px;
  color: #35632a;
  background: #edf5e3;
  font-size: 10px;
}

.wp-premium.cart-page .pp-cart-guide h3 {
  margin-block: 18px 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.7;
}

.wp-premium.cart-page .pp-cart-guide p {
  color: var(--pp-body);
  font-size: 13px;
  line-height: 2;
}

.wp-premium.cart-page .pp-cart-guide a {
  color: var(--pp-green);
  text-decoration: none;
}

.wp-premium.cart-page .pp-cart-guide a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.wp-premium.cart-page .pp-table-wrap {
  box-shadow: 0 14px 34px #27492108;
}

.wp-premium.cart-page .pp-faq details[open] {
  border-block-end-color: #b9d69f;
}

.wp-premium.cart-page .pp-cart-setup__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-block: 24px 36px;
}

.wp-premium.cart-page .pp-cart-setup__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.wp-premium.cart-page .pp-cart-setup__block {
  margin-block-start: 36px;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--pp-line);
  border-radius: 18px;
  scroll-margin-block-start: 100px;
}

.wp-premium.cart-page .pp-cart-setup :is(h3, h4) {
  margin-block: 12px 16px;
  font-size: 20px;
  line-height: 1.8;
  white-space: normal;
}

.wp-premium.cart-page .pp-cart-setup :is(p, li, dd) {
  color: var(--pp-body);
  font-size: 14px;
  line-height: 2.2;
  overflow-wrap: anywhere;
}

.wp-premium.cart-page .pp-cart-setup a {
  color: var(--pp-green);
  text-underline-offset: 5px;
}

.wp-premium.cart-page .pp-cart-setup ol {
  padding-inline-start: 24px;
}

.wp-premium.cart-page .pp-cart-setup__diagnostics > div {
  padding-block: 16px;
  border-block-end: 1px solid var(--pp-line);
}

.wp-premium.cart-page .pp-cart-setup__diagnostics dt {
  font-weight: 700;
  line-height: 1.9;
}

.wp-premium.cart-page .pp-cart-setup__diagnostics dd {
  margin: 8px 0 0;
}

@media (max-width: 900px) {
  .wp-premium.cart-page .pp-final .pp-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    gap: 10px;
  }

  .wp-premium.cart-page .pp-final .pp-button {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    white-space: nowrap;
  }

  .wp-premium.cart-page .pp-shot--cart img {
    height: 390px;
  }

  .wp-premium.cart-page .pp-cart-guides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .wp-premium.cart-page .pp-final .pp-button {
    padding-inline: 12px;
    font-size: 12px;
  }

  .wp-premium.cart-page main :is(h1, h2, h3) {
    white-space: normal;
  }

  .wp-premium.cart-page .pp-hero__art {
    width: 100%;
  }

  .wp-premium.cart-page .pp-shot--cart img {
    height: 310px;
  }

  .wp-premium.cart-page .pp-cart-guides {
    grid-template-columns: 1fr;
  }

  .wp-premium.cart-page .pp-cart-guide {
    min-height: 0;
    padding: 22px;
  }
}
