html:has(body.crp45-storefront) {
  font-size: 100%;
}

html.crp45-scroll-locked {
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body);
  font-weight: var(--weight-body);
  color: var(--color-text);
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-title,
.woocommerce-loop-product__title {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  color: var(--color-ink);
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.crp45-storefront :is(p, li, dd, blockquote) {
  text-wrap: pretty;
}

.crp45-storefront .woocommerce-breadcrumb,
.crp45-storefront .woocommerce-breadcrumb a {
  color: var(--color-text-muted);
}

.crp45-storefront :is(.woocommerce-breadcrumb a, .crp45-review__product, .crp45-pdp__rating, .crp45-btn--text) {
  position: relative;
}

.crp45-storefront :is(.woocommerce-breadcrumb a, .crp45-review__product, .crp45-pdp__rating, .crp45-btn--text)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, var(--control-size));
  height: var(--control-size);
  transform: translate(-50%, -50%);
}

button,
input,
select,
textarea {
  font-family: var(--font-body);
}

.crp45-storefront :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: var(--focus-width) solid var(--color-focus);
  outline-offset: var(--focus-offset);
}

.crp45-storefront:not(.ast-page-builder-template) .ast-container,
.crp45-storefront:not(.ast-page-builder-template) .site-content > .ast-container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  box-sizing: border-box;
}

.crp45-storefront #ast-scroll-top {
  width: var(--control-size);
  height: var(--control-size);
  line-height: var(--control-size);
}

.crp45-storefront ul.crp45-list,
.crp45-storefront ol.crp45-list {
  margin-inline: 0;
  padding: 0;
  list-style: none;
}

.crp45-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.crp45-container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  box-sizing: border-box;
}

.crp45-section {
  padding-block: var(--space-7);
  background: var(--color-surface);
  color: var(--color-text);
}

.crp45-section--cream {
  background: var(--color-surface-cream);
}

.crp45-section--mint {
  background: var(--color-mint);
}

.crp45-section--brand {
  --weight-body: var(--weight-medium);
  --color-ink: var(--tone-brand-fg);
  --color-text: var(--tone-brand-fg);
  --color-text-muted: var(--color-on-brand-muted);
  --color-line: var(--color-line-on-brand);
  --color-brand-strong: var(--tone-brand-fg);
  --color-brand-strong-hover: var(--tone-brand-fg);
  --color-brand: var(--tone-brand-fg);
  --color-brand-hover: var(--tone-brand-fg-hover);
  --color-on-brand: var(--tone-brand-accent-text);
  --color-focus: var(--tone-brand-focus);
}

.crp45-section--brand {
  background: var(--tone-brand-bg);
}

.crp45-storefront .crp45-section.crp45-section--panel .crp45-container {
  width: calc(100% - 2 * var(--container-pad));
  max-width: calc(var(--container-width) - 2 * var(--container-pad));
  margin-inline: auto;
  padding: var(--space-7) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-accent-tint);
}

@media (min-width: 768px) {
  .crp45-storefront .crp45-section.crp45-section--panel .crp45-container {
    padding-inline: var(--space-7);
  }
}

.crp45-storefront {
  overflow-x: clip;
}

.crp45-bleed {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.crp45-eyebrow {
  margin: 0 0 var(--space-3);
  font-family: var(--font-label);
  font-weight: var(--weight-label);
  font-size: var(--text-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-brand-strong);
}

.crp45-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--control-size);
  padding: var(--space-3) var(--space-5);
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-sm);
  background: var(--color-brand);
  color: var(--color-on-brand);
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: var(--weight-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.crp45-btn:hover,
.crp45-btn:focus-visible {
  background: var(--color-brand-hover);
  border-color: var(--color-brand-hover);
  color: var(--color-on-brand);
}

.crp45-btn--secondary {
  border-color: var(--color-brand-strong);
  background: transparent;
  color: var(--color-brand-strong);
}

.crp45-btn--secondary:hover,
.crp45-btn--secondary:focus-visible {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--color-on-brand);
}

.crp45-btn--text {
  min-height: 0;
  padding: var(--space-2) 0;
  border: 0;
  border-bottom: 1px solid currentcolor;
  border-radius: 0;
  background: transparent;
  color: var(--color-brand-strong);
}

.crp45-btn--text:hover,
.crp45-btn--text:focus-visible {
  background: transparent;
  color: var(--color-brand-strong-hover);
}

.crp45-chips {
  display: flex;
  gap: var(--space-2);
  margin: 0;
  padding: var(--space-1);
}

.crp45-chips--scroll {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.crp45-chips--scroll::-webkit-scrollbar {
  display: none;
}

.crp45-chips--scroll > li {
  flex: none;
  scroll-snap-align: start;
}

.crp45-chip {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-size);
  padding: var(--space-1) var(--space-4);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-small);
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

a.crp45-chip:hover,
a.crp45-chip:focus-visible {
  border-color: var(--color-brand-strong);
  color: var(--color-brand-strong);
}

.crp45-chip--active,
a.crp45-chip--active:hover,
a.crp45-chip--active:focus-visible {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: var(--color-on-brand);
}

.crp45-card {
  padding: var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  transition: box-shadow 0.2s;
}

.crp45-card:hover {
  box-shadow: var(--shadow-card);
}

.crp45-section--mint .crp45-card {
  border-color: transparent;
}

.crp45-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}

.crp45-storefront .crp45-qty__step {
  width: var(--control-size);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-ink);
  font-size: var(--step-1);
  cursor: pointer;
}

.crp45-storefront .crp45-qty__step:is(:hover, :focus, :focus-visible) {
  background: var(--color-surface-cream);
  color: var(--color-ink);
}

.crp45-qty input.qty {
  width: 56px;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.crp45-accordion {
  border-top: 1px solid var(--color-line);
}

.crp45-accordion__item {
  border-bottom: 1px solid var(--color-line);
}

.crp45-accordion__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--control-size);
  padding: var(--space-4) 0;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: var(--step-1);
  cursor: pointer;
  list-style: none;
}

.crp45-accordion__item > summary::-webkit-details-marker {
  display: none;
}

.crp45-accordion__item > summary::after {
  content: "+";
  color: var(--color-brand-strong);
  font-size: var(--step-2);
  line-height: 1;
}

.crp45-accordion__item[open] > summary::after {
  content: "\2212";
}

.crp45-accordion__body {
  padding-bottom: var(--space-5);
  color: var(--color-text);
}

.crp45-accordion__body > :first-child {
  margin-top: 0;
}

.crp45-accordion__body > :last-child {
  margin-bottom: 0;
}

.crp45-menu-locked {
  overflow: hidden;
}

.crp45-section-title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  font-size: var(--step-3);
  line-height: 1.15;
  color: var(--color-ink);
}

.crp45-storefront .star-rating {
  color: var(--color-rating);
}

.crp45-storefront del,
.crp45-storefront del .amount {
  color: var(--color-text-muted);
  opacity: 1;
}

.crp45-stars {
  display: inline-flex;
  gap: 2px;
  line-height: 1;
}

.crp45-stars__star {
  position: relative;
  width: var(--star-size);
  height: var(--star-size);
  background: var(--color-rating-empty);
  -webkit-mask: var(--star-mask) center / contain no-repeat;
  mask: var(--star-mask) center / contain no-repeat;
}

.crp45-stars__star::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--color-rating);
}

.crp45-stars__star--full::before {
  width: 100%;
}

.crp45-stars__star--half::before {
  width: 50%;
}

.crp45-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) 0;
  margin: 0;
}

.crp45-stats__item {
  flex: 1 1 var(--stat-min);
  padding-inline: var(--space-4);
  text-align: center;
}

.crp45-stats__figure {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: var(--step-2);
  line-height: 1.15;
}

.crp45-stats__caption {
  margin: var(--space-2) 0 0;
  color: var(--color-text-muted);
  font-size: var(--text-small);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .crp45-section {
    padding-block: var(--space-8);
  }

  .crp45-section-title {
    font-size: var(--step-4);
  }

  .crp45-chips--scroll {
    flex-wrap: wrap;
    overflow: visible;
  }

  .crp45-stats__figure {
    font-size: var(--step-3);
  }

  .crp45-stats__item + .crp45-stats__item {
    border-left: 1px solid var(--color-line);
  }
}

@media (min-width: 1024px) {
  .crp45-stats__figure {
    font-size: var(--step-4);
  }
}

.crp45-contact {
  display: grid;
  gap: var(--space-5);
}

.crp45-contact__group {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  margin: 0;
}

.crp45-contact__item {
  margin: 0;
}

.crp45-contact__label {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

.crp45-contact__value {
  display: block;
  margin: 0;
  color: var(--color-ink);
  overflow-wrap: anywhere;
}

.crp45-storefront .crp45-contact a.crp45-contact__row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--control-size);
  color: inherit;
  text-decoration: none;
}

.crp45-contact__row .crp45-contact__value {
  text-decoration: underline;
}

.crp45-contact__row:hover .crp45-contact__value,
.crp45-contact__row:focus-visible .crp45-contact__value {
  color: var(--color-brand-strong);
}

@media (min-width: 768px) {
  .crp45-contact--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-6);
  }
}
