/* Shared WordPress visual system for the focused WooCommerce product pages. */
.wp-premium.product-page {
  margin: 0;
  min-height: 100vh;
}

.wp-premium.product-page *,
.wp-premium.product-page *::before,
.wp-premium.product-page *::after {
  box-sizing: border-box;
}

.wp-premium.product-page .skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 200;
  padding: 10px 14px;
  color: #fff;
  background: #173c26;
  border-radius: 10px;
  transform: translateY(-150%);
}

.wp-premium.product-page .skip-link:focus {
  transform: none;
}

.wp-premium.product-page .pp-drawer .pp-button--outline {
  color: #f3f7eb;
}

.wp-premium.product-page .pp-hero {
  background:
    radial-gradient(ellipse at 73% 28%, #304b1b55, transparent 42%),
    radial-gradient(ellipse at 18% 76%, #173c2660, transparent 38%),
    var(--pp-dark);
}

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

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

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

.wp-premium.product-page .pp-product-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.product-page .pp-product-note strong {
  color: #315b36;
}

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

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

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

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

.wp-premium.product-page .pp-feature--accent {
  background: #edf3e4;
}

.wp-premium.product-page .pp-feature--accent img,
.wp-premium.product-page .pp-feature--dark img {
  opacity: .95;
}

.wp-premium.product-page .pp-feature__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-block-start: auto;
  color: var(--pp-green);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.wp-premium.product-page .pp-feature--dark .pp-feature__link {
  color: #d2eeaf;
}

.wp-premium.product-page .pp-feature__link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

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

.wp-premium.product-page .pp-compare-note {
  line-height: 2;
}

.wp-premium.product-page .pp-final .pp-actions {
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .wp-premium.product-page .pp-shot--product img {
    height: 390px;
  }

  .wp-premium.product-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.product-page .pp-final .pp-button {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  .wp-premium.product-page main :is(h1, h2, h3) {
    white-space: normal;
  }

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

  .wp-premium.product-page .pp-final .pp-button {
    padding-inline: 12px;
    font-size: 12px;
  }
}
