.crp45-storefront.single-product div.product .woocommerce-product-gallery {
  position: relative;
}

.crp45-storefront.single-product .woocommerce-product-gallery .flex-viewport {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--color-surface-cream);
}

.crp45-storefront.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
}

.crp45-storefront.single-product div.product div.images .woocommerce-product-gallery__trigger {
  top: var(--space-2);
  right: var(--space-2);
  border: var(--space-1) solid transparent;
  background-clip: padding-box;
}

.crp45-storefront.single-product .woocommerce-product-gallery .flex-direction-nav {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.crp45-storefront.single-product .woocommerce-product-gallery .flex-direction-nav li {
  position: absolute;
  top: 50%;
  margin: 0;
  list-style: none;
  transform: translateY(-50%);
}

.crp45-storefront.single-product .woocommerce-product-gallery .flex-direction-nav .flex-nav-prev {
  left: var(--space-3);
}

.crp45-storefront.single-product .woocommerce-product-gallery .flex-direction-nav .flex-nav-next {
  right: var(--space-3);
}

.crp45-storefront.single-product .woocommerce-product-gallery .flex-direction-nav a {
  display: block;
  position: relative;
  width: var(--control-size);
  height: var(--control-size);
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: 0;
  line-height: 0;
  text-decoration: none;
  pointer-events: auto;
  box-shadow: var(--shadow-card);
}

.crp45-storefront.single-product .woocommerce-product-gallery .flex-direction-nav a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentcolor;
  border-right: 2px solid currentcolor;
}

.crp45-storefront.single-product .woocommerce-product-gallery .flex-direction-nav .flex-prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.crp45-storefront.single-product .woocommerce-product-gallery .flex-direction-nav .flex-next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.crp45-storefront.single-product .woocommerce-product-gallery .flex-direction-nav a:hover,
.crp45-storefront.single-product .woocommerce-product-gallery .flex-direction-nav a:focus-visible {
  background: var(--color-brand);
  color: var(--color-on-brand);
}

.crp45-storefront.single-product .woocommerce-product-gallery .flex-direction-nav .flex-disabled {
  color: var(--color-text-muted);
  background: var(--color-surface-cream);
  box-shadow: none;
  pointer-events: none;
}

.crp45-gallery-count {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-label);
  font-size: 1rem;
  letter-spacing: var(--tracking-label);
}

.crp45-gallery-count[hidden] {
  display: none;
}

html body.crp45-storefront.single-product div.product div.woocommerce-product-gallery .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-2);
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
}

html body.crp45-storefront.single-product div.product div.woocommerce-product-gallery .flex-control-thumbs li {
  float: none;
  width: auto;
  margin: 0;
  list-style: none;
}

html body.crp45-storefront.single-product div.product div.woocommerce-product-gallery .flex-control-thumbs img {
  display: block;
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface-cream);
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.2s, border-color 0.2s;
}

html body.crp45-storefront.single-product div.product div.woocommerce-product-gallery .flex-control-thumbs img:hover,
html body.crp45-storefront.single-product div.product div.woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  border-color: var(--color-brand-strong);
  opacity: 1;
}

.crp45-storefront.single-product div.product .summary .crp45-pdp__eyebrow {
  margin-bottom: var(--space-2);
}

.crp45-storefront.single-product div.product .summary .product_title {
  margin: 0 0 var(--space-3);
  font-size: var(--step-3);
  line-height: 1.1;
}

.crp45-pdp__rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  color: var(--color-brand-strong);
  font-size: var(--text-small);
  text-decoration: none;
}

.crp45-pdp__rating:hover,
.crp45-pdp__rating:focus-visible {
  color: var(--color-brand-strong-hover);
  text-decoration: underline;
}

.crp45-pdp__rating-status::before,
.crp45-pdp__rating-average::before {
  content: "\00b7";
  margin-right: var(--space-2);
}

.crp45-storefront.single-product div.product .summary .price {
  display: block;
  margin: 0 0 var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--step-0);
  font-weight: var(--weight-body);
  line-height: 1.5;
}

.crp45-storefront.single-product div.product .summary .price .amount {
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: var(--step-2);
}

.crp45-storefront.single-product div.product .summary .price del .amount {
  color: var(--color-text-muted);
  font-size: var(--step-0);
  opacity: 1;
}

.crp45-storefront.single-product div.product .summary .price ins {
  background: transparent;
  text-decoration: none;
}

.crp45-storefront.single-product div.product .summary .woocommerce-product-details__short-description {
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.crp45-pdp__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
}

.crp45-storefront.single-product div.product .summary form.cart,
.crp45-storefront.single-product div.product .summary form.cart .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--space-3);
  margin: 0 0 var(--space-5);
}

.crp45-storefront.single-product div.product .summary form.cart::before,
.crp45-storefront.single-product div.product .summary form.cart::after,
.crp45-storefront.single-product div.product .summary form.cart .woocommerce-variation-add-to-cart::before,
.crp45-storefront.single-product div.product .summary form.cart .woocommerce-variation-add-to-cart::after {
  display: none;
}

.crp45-storefront.single-product div.product .summary form.cart.variations_form {
  flex-direction: column;
}

.crp45-storefront.single-product div.product .summary form.cart .woocommerce-variation-add-to-cart {
  margin: 0;
}

.crp45-storefront.single-product div.product .summary form.cart .quantity,
.crp45-storefront.single-product div.product .summary form.cart div.quantity {
  flex: none;
  float: none;
  margin: 0;
}

.crp45-storefront.single-product div.product .summary .crp45-qty .qty {
  width: 56px;
  height: auto;
  min-height: var(--control-size);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--color-ink);
  text-align: center;
}

.crp45-storefront.single-product div.product .summary .crp45-qty__step {
  padding: 0;
}

.crp45-storefront.single-product div.product .summary form.cart .single_add_to_cart_button {
  flex: 1;
  min-height: var(--control-size);
  margin: 0;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  font-size: var(--text-label);
  font-weight: var(--weight-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crp45-price-note {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--weight-body);
}

.crp45-storefront.single-product div.product .summary .crp45-qty:has(input.qty:focus-visible) {
  outline: var(--focus-width) solid var(--color-focus);
  outline-offset: var(--focus-offset);
}

.crp45-pdp__pack {
  margin: 0 0 var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

.crp45-pdp__registration {
  margin: calc(var(--space-2) * -1) 0 var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

.crp45-pdp__unit {
  margin-left: var(--space-1);
  color: var(--color-text-muted);
  font-size: var(--text-small);
  font-weight: var(--weight-body);
}

.crp45-anchor {
  display: block;
  scroll-margin-top: var(--space-5);
}

.crp45-storefront.single-product div.product .summary .crp45-pdp__accordion {
  margin-top: var(--space-5);
}

.crp45-pdp__nutrition-note {
  margin: 0 0 var(--space-3);
  color: var(--color-text-muted);
}

.crp45-storefront .crp45-pdp__nutrition,
.crp45-storefront .crp45-accordion__body .woocommerce-product-attributes {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

.crp45-storefront .crp45-pdp__nutrition {
  table-layout: auto;
}

.crp45-pdp__nutrition-scroll {
  overflow-x: auto;
}

.crp45-storefront .crp45-pdp__nutrition thead th {
  background: var(--color-mint);
  color: var(--color-ink);
  font-weight: var(--weight-label);
}

.crp45-storefront .crp45-pdp__nutrition--two {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}

.crp45-storefront .crp45-pdp__nutrition--two th,
.crp45-storefront .crp45-pdp__nutrition--two td {
  padding-inline: var(--space-3);
  border: 1px solid var(--color-line);
}

.crp45-storefront .crp45-pdp__nutrition--two td,
.crp45-storefront .crp45-pdp__nutrition--two thead th:not(:first-child) {
  text-align: center;
}

.crp45-storefront .crp45-pdp__nutrition--two tbody tr:nth-child(even) {
  background: var(--color-surface-pale);
}

.crp45-storefront .crp45-pdp__nutrition th,
.crp45-storefront .crp45-pdp__nutrition td,
.crp45-storefront .crp45-accordion__body .woocommerce-product-attributes th,
.crp45-storefront .crp45-accordion__body .woocommerce-product-attributes td {
  padding: var(--space-2) 0;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  background: transparent;
  text-align: left;
  font-weight: var(--weight-body);
}

.crp45-storefront .crp45-pdp__nutrition td,
.crp45-storefront .crp45-accordion__body .woocommerce-product-attributes td {
  text-align: right;
  color: var(--color-ink);
}

.crp45-storefront .crp45-accordion__body .woocommerce-product-attributes td p {
  margin: 0;
}

.crp45-pdp-section {
  clear: both;
  padding-block: var(--space-7);
  border-top: 1px solid var(--color-line);
}

.crp45-pdp-section__head {
  margin-bottom: var(--space-5);
}

.crp45-pdp-section__head .crp45-section-title {
  margin-bottom: var(--space-2);
}

.crp45-story {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.crp45-story__image img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

@media (min-width: 768px) {
  .crp45-story:has(.crp45-story__image) {
    grid-template-columns: 1fr 1fr;
  }

  .crp45-story--reverse .crp45-story__text {
    order: 2;
  }
}

.crp45-pdp-reviews .woocommerce-Reviews-title {
  display: none;
}

.crp45-pdp-reviews #reviews {
  display: grid;
  gap: var(--space-6);
}

.crp45-pdp-reviews #reviews #comments,
.crp45-pdp-reviews #reviews #review_form_wrapper {
  float: none;
  width: auto;
}

.crp45-pdp-reviews .commentlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.crp45-pdp-reviews .commentlist li.review {
  margin: 0;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-line);
  list-style: none;
}

.crp45-pdp-reviews .commentlist li.review:first-child {
  border-top: 1px solid var(--color-line);
}

.crp45-pdp-reviews .commentlist li.review .comment_container {
  display: flex;
  gap: var(--space-4);
}

.crp45-pdp-reviews .commentlist li.review img.avatar,
.crp45-avatar {
  position: static;
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--color-pale-blue);
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: var(--step-0);
}

.crp45-pdp-reviews .commentlist li.review .comment-text {
  flex: 1;
  margin: 0;
  padding: 0;
  border: 0;
}

.crp45-pdp-reviews .commentlist .woocommerce-review__author {
  color: var(--color-ink);
  font-weight: var(--weight-strong);
}

.crp45-pdp-reviews .commentlist .woocommerce-review__published-date {
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

.crp45-pdp-reviews #review_form_wrapper {
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.crp45-pdp-reviews #respond .comment-reply-title {
  display: block;
  margin-bottom: var(--space-3);
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: var(--step-1);
}

.crp45-pdp-reviews #respond label {
  color: var(--color-ink);
  font-size: var(--text-small);
}

.crp45-pdp-reviews #respond .comment-form-rating .stars {
  margin: 0;
}

.crp45-pdp-reviews #respond .comment-form-rating .stars a {
  width: var(--control-size);
  height: var(--control-size);
  color: var(--color-rating);
  font-size: var(--star-size-large);
  line-height: var(--control-size);
  text-align: center;
}

.crp45-pdp-reviews #respond .comment-form-rating .stars a::before {
  width: 100%;
  height: 100%;
  line-height: var(--control-size);
}

.crp45-pdp-reviews #respond input[type="text"],
.crp45-pdp-reviews #respond input[type="email"],
.crp45-pdp-reviews #respond textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: var(--control-size);
  padding: var(--space-3);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
}

.crp45-pdp-reviews #respond .form-submit input[type="submit"] {
  min-height: var(--control-size);
  padding: var(--space-3) var(--space-6);
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-sm);
  background: var(--color-brand);
  color: var(--color-on-brand);
  font-size: var(--text-label);
  font-weight: var(--weight-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.crp45-pdp-reviews #respond .form-submit input[type="submit"]:hover,
.crp45-pdp-reviews #respond .form-submit input[type="submit"]:focus-visible {
  background: var(--color-brand-hover);
}

.crp45-pdp-reviews #review_form #respond {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.crp45-pdp-stats__title {
  margin-bottom: var(--space-6);
  text-align: center;
}

.crp45-pdp-faqs__body {
  max-width: var(--measure-faq);
  margin-inline: auto;
}

.crp45-pdp-faqs {
  clear: both;
  padding-top: 0;
}

.crp45-pdp-stats {
  clear: both;
  margin-top: var(--space-7);
}

.crp45-sticky-atc {
  position: fixed;
  inset: auto 0 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--container-pad) max(var(--space-3), env(safe-area-inset-bottom));
  background: var(--color-surface);
  box-shadow: var(--shadow-bar);
  transform: translateY(100%);
  visibility: hidden;
}

.crp45-sticky-atc.is-visible {
  transform: translateY(0);
  visibility: visible;
}

.crp45-sticky-atc__info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.crp45-sticky-atc__price {
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: var(--step-1);
  white-space: nowrap;
}

.crp45-sticky-atc__note {
  overflow: hidden;
  color: var(--color-text-muted);
  font-size: var(--text-label);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crp45-sticky-atc:has(.crp45-sticky-atc__cart:not([hidden])) .crp45-sticky-atc__note {
  display: none;
}

.crp45-sticky-atc__stock {
  color: var(--color-maroon);
  font-size: var(--step-0);
  font-weight: var(--weight-strong);
}

.crp45-sticky-atc__cart {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: var(--control-size);
  color: var(--color-brand-strong);
  font-size: var(--text-label);
  font-weight: var(--weight-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crp45-sticky-atc__cart[hidden] {
  display: none;
}

.crp45-sticky-atc__button {
  flex: none;
}

.crp45-storefront.single-product div.product.crp45-pdp--no-image .summary {
  padding-top: var(--space-5);
}

.crp45-storefront.single-product div.product .summary p.stock {
  margin: 0 0 var(--space-4);
  font-size: var(--step-0);
  font-weight: var(--weight-strong);
}

.crp45-storefront.single-product div.product .summary p.stock.out-of-stock {
  color: var(--color-maroon);
}

.crp45-storefront.single-product:has(.crp45-sticky-atc__note) {
  --sticky-bar-height: var(--sticky-bar-height-note);
}

.crp45-storefront.single-product .crp45-footer {
  padding-bottom: var(--sticky-bar-height);
}

.crp45-storefront.single-product #ast-scroll-top {
  bottom: calc(var(--sticky-bar-height) + var(--space-3));
}

.crp45-storefront.single-product:has(.crp45-sticky-atc.is-visible) #ast-scroll-top {
  visibility: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .crp45-sticky-atc {
    transition: transform var(--duration-ui) var(--ease-out), visibility 0s linear var(--duration-ui);
  }

  .crp45-sticky-atc.is-visible {
    transition: transform var(--duration-ui) var(--ease-out), visibility 0s;
  }
}

@media (min-width: 768px) {
  .crp45-storefront.single-product div.product .summary .product_title {
    font-size: var(--step-4);
  }

  .crp45-storefront.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--space-6);
    align-items: start;
  }

  .crp45-storefront.single-product div.product::before,
  .crp45-storefront.single-product div.product::after {
    display: none;
  }

  .crp45-storefront.single-product div.product > * {
    grid-column: 1 / -1;
  }

  html body.crp45-storefront.single-product #content div.product > .woocommerce-product-gallery {
    grid-column: 1;
    float: none;
    width: auto;
    margin: 0;
  }

  html body.crp45-storefront.single-product #content div.product > .summary {
    grid-column: 2;
    float: none;
    width: auto;
  }

  .crp45-sticky-atc {
    display: none;
  }

  html body.crp45-storefront.single-product #content div.product.crp45-pdp--no-image > .summary {
    grid-column: 1 / -1;
    max-width: var(--measure-width);
  }

  .crp45-storefront.single-product .crp45-footer {
    padding-bottom: 0;
  }

  .crp45-storefront.single-product #ast-scroll-top {
    bottom: var(--space-5);
  }
}

.crp45-storefront.single-product,
.crp45-storefront.single-product #page,
.crp45-storefront.single-product #content {
  background: var(--color-pdp-bg);
}

.crp45-pdp-split {
  clear: both;
  display: grid;
  margin-top: var(--space-7);
  background: var(--color-surface);
}

.crp45-pdp-split__panel {
  padding: var(--space-7) var(--container-pad);
}

.crp45-pdp-split__panel .crp45-section-title {
  margin-bottom: var(--space-5);
}

.crp45-pdp-features__row {
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-line);
}

.crp45-pdp-features__row:last-child {
  border-bottom: 0;
}

.crp45-pdp-features dt {
  font-family: var(--font-heading);
  font-size: var(--step-1);
  font-weight: var(--weight-heading);
}

.crp45-pdp-features dd {
  margin: var(--space-2) 0 0;
  font-size: var(--step-0);
}

.crp45-pdp-inside__packshot img {
  display: block;
  width: 100%;
  max-height: 300px;
  margin-bottom: var(--space-5);
  object-fit: contain;
}

.crp45-pdp-inside__row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-line);
}

.crp45-pdp-inside dt {
  font-weight: var(--weight-label);
}

.crp45-pdp-inside dd {
  margin: 0;
  color: var(--color-text-muted);
}

.crp45-pdp-inside__more {
  margin-top: var(--space-5);
}

@media (min-width: 1024px) {
  .crp45-pdp-split:has(.crp45-pdp-split__panel--features) {
    grid-template-columns: 1fr 1fr;
  }

  .crp45-pdp-split__panel--features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: max(var(--container-pad), calc((100vw - var(--container-width)) / 2 + var(--container-pad)));
  }
}
