:root {
  --pm-gold: #f5c800;
  --pm-gold-dk: #d9af00;
  --pm-black: #111;
  --pm-white: #fff;
  --pm-bg: #f7f5f1;
  --pm-mid: #55524c;
  --pm-muted: #8a8880;
  --pm-border: #e8e6e1;
  --pm-green: #2f6f3e;
}

.pm-apron-crumb {
  background: var(--pm-white);
  padding: 1rem 1rem 0;
}
.pm-apron-crumb__inner {
  max-width: 78.75rem;
  margin: 0 auto;
  font-size: 0.8125rem;
  color: var(--pm-muted);
  overflow-wrap: anywhere;
}
.pm-apron-crumb__inner a {
  color: var(--pm-muted);
  text-decoration: none;
}
.pm-apron-crumb__inner a:hover {
  color: var(--pm-gold-dk);
}
.pm-apron-crumb__inner span:last-child {
  color: var(--pm-black);
  font-weight: 600;
}

.pm-apron {
  background: var(--pm-white);
  padding: 1.5rem 1rem 3.75rem;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.pm-apron__grid {
  max-width: 78.75rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  width: 100%;
}
.pm-apron__grid > * {
  min-width: 0;
}

.pm-apron__gallery {
  width: 100%;
  min-width: 0;
}
.pm-apron__gallery .woocommerce-product-gallery__wrapper {
  margin: 0;
}
.pm-apron__gallery .woocommerce-product-gallery__image {
  border-radius: 0.875rem;
  overflow: hidden;
  background: var(--pm-bg);
  aspect-ratio: 4/5;
}
.pm-apron__gallery .woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
}
.pm-apron__gallery .woocommerce-product-gallery__trigger {
  display: none;
}
.pm-apron__gallery .flex-control-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.625rem;
  padding: 0.125rem 0.125rem 0.375rem;
  list-style: none;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.pm-apron__gallery .flex-control-thumbs li {
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
}
.pm-apron__gallery .flex-control-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5625rem;
  cursor: pointer;
  border: 0.125rem solid transparent;
  opacity: 1;
}
.pm-apron__gallery .flex-control-thumbs img.flex-active {
  border-color: var(--pm-gold);
}

.pm-apron__info {
  min-width: 0;
  max-width: 100%;
}
.pm-apron__badge {
  display: inline-block;
  background: #eaf3e7;
  color: var(--pm-green);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3125rem 0.6875rem;
  border-radius: 6.25rem;
  margin-bottom: 0.75rem;
}
.pm-apron__title {
  font-size: clamp(1.75rem, 7vw, 2.625rem);
  font-weight: 800;
  color: var(--pm-black);
  line-height: 1.08;
  margin-bottom: 0.625rem;
  overflow-wrap: anywhere;
}
.pm-apron__stars {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
}
.pm-apron__stars svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: var(--pm-gold);
  flex-shrink: 0;
}
.pm-apron__stars span {
  font-size: 0.75rem;
  color: var(--pm-muted);
}
.pm-apron__price {
  font-size: 1.5625rem;
  font-weight: 800;
  color: var(--pm-black);
  margin-bottom: 1rem;
}
.pm-apron__price .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.pm-apron__desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--pm-mid);
  line-height: 1.7;
  margin-bottom: 1.375rem;
  overflow-wrap: anywhere;
}
.pm-apron__desc strong {
  color: var(--pm-black);
  font-weight: 600;
}
.pm-apron__colour-row {
  display: flex;
  align-items: center;
  gap: 0.6875rem;
  margin-bottom: 1.375rem;
  flex-wrap: wrap;
}
.pm-apron__colour-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pm-black);
}
.pm-apron__swatch {
  width: 1.5625rem;
  height: 1.5625rem;
  border-radius: 50%;
  background: #1c2340;
  border: 0.125rem solid var(--pm-white);
  box-shadow: 0 0 0 0.125rem #1c2340;
  flex-shrink: 0;
}
.pm-apron__buy {
  width: 100%;
  margin-bottom: 1.25rem;
}
.pm-apron__buy form.cart {
  display: flex;
  width: 100%;
}
.pm-apron__btn {
  width: 100%;
  background: var(--pm-black);
  color: var(--pm-white);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.9375rem 1.375rem;
  border-radius: 6.25rem;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 0.2s;
}
.pm-apron__btn:hover {
  background: var(--pm-gold-dk);
  color: var(--pm-black);
}
.pm-apron__features ul {
  display: flex;
  flex-direction: column;
  gap: 0.6875rem;
  padding: 1.25rem 0 0;
  margin: 0;
  border-top: 0.0625rem solid var(--pm-border);
  list-style: none;
}
.pm-apron__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5625rem;
  font-size: 0.8125rem;
  color: var(--pm-mid);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.pm-apron__features li::before {
  content: "";
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.0625rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9AF00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.pm-apron__gallery .woocommerce-product-gallery__trigger {
  display: none;
}

@media (min-width: 56.25rem) {
  .pm-apron {
    padding: 2.5rem 2rem 5.625rem;
  }
  .pm-apron__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .pm-apron__gallery .woocommerce-product-gallery__image {
    border-radius: 1.25rem;
  }
  .pm-apron__gallery .flex-control-thumbs {
    gap: 0.75rem;
  }
  .pm-apron__gallery .flex-control-thumbs li {
    width: 5.5rem;
    height: 5.5rem;
  }
  .pm-apron__gallery .flex-control-thumbs img {
    border-radius: 0.75rem;
  }
  .pm-apron__badge {
    font-size: 0.6875rem;
    padding: 0.3125rem 0.875rem;
    margin-bottom: 1rem;
  }
  .pm-apron__stars {
    gap: 0.5rem;
    margin-bottom: 1.125rem;
  }
  .pm-apron__stars svg {
    width: 0.9375rem;
    height: 0.9375rem;
  }
  .pm-apron__stars span {
    font-size: 0.8125rem;
  }
  .pm-apron__price {
    font-size: 1.75rem;
    margin-bottom: 1.375rem;
  }
  .pm-apron__desc {
    font-size: 0.96875rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
  }
  .pm-apron__colour-row {
    gap: 0.875rem;
    margin-bottom: 1.875rem;
  }
  .pm-apron__buy {
    width: auto;
    margin-bottom: 1.5rem;
  }
  .pm-apron__buy form.cart {
    width: auto;
  }
  .pm-apron__btn {
    width: auto;
    padding: 1.0625rem 2.75rem;
    font-size: 0.9375rem;
  }
  .pm-apron__features {
    padding-top: 1.5rem;
  }
  .pm-apron__features li {
    font-size: 0.875rem;
    gap: 0.625rem;
  }
  .pm-apron__features li::before {
    width: 1.0625rem;
    height: 1.0625rem;
    margin-top: 0.125rem;
  }
}

@media (max-width: 23.4375rem) {
  .pm-apron {
    padding: 1.25rem 0.75rem 3rem;
  }
  .pm-apron-crumb {
    padding: 0.875rem 0.75rem 0;
  }
  .pm-apron__gallery .flex-control-thumbs li {
    width: 4rem;
    height: 4rem;
  }
  .pm-apron__badge {
    font-size: 0.5625rem;
    padding: 0.25rem 0.5625rem;
  }
  .pm-apron__price {
    font-size: 1.375rem;
  }
  .pm-apron__btn {
    font-size: 0.8125rem;
    padding: 0.875rem 1.25rem;
  }
}
