/* v1.0.15 — compact, text-free shop banner and minimal category rail. */
html body .hp-shop-page-shell > .hm-catalog-hero {
  box-sizing: border-box;
  height: 178px;
  min-height: 178px;
  max-height: 178px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 0 20px 20px;
  background-position: center 42% !important;
}
html body .hp-shop-page-shell > .hm-catalog-hero > * { display: none !important; }
html body .hp-shop-page-shell .hm-shop-category-carousel {
  width: min(1560px, calc(100% - 56px));
  margin: 10px auto 18px;
  padding: 8px 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hm-shop-category-carousel .hm-shop-category-head { margin: 0 0 6px; font-size: 10px; }
.hm-shop-category-carousel .hm-shop-category-controls button { width: 27px; height: 27px; }
.hm-shop-category-carousel .hm-shop-category-track {
  display: flex;
  gap: clamp(16px, 2vw, 32px);
  scroll-snap-type: x proximity;
}
.hm-shop-category-carousel .hm-shop-category-card {
  box-sizing: border-box;
  flex: 0 0 clamp(105px, 8vw, 145px);
  min-width: 0;
  padding: 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hm-shop-category-carousel .hm-shop-category-card:hover { background: transparent; transform: none; }
.hm-shop-category-carousel .hm-shop-category-photo { width: 100%; height: 85px; border: 0; border-radius: 0; background: transparent; }
.hm-shop-category-carousel .hm-shop-category-photo img { max-width: 100%; max-height: 82px; width: auto; height: auto; object-fit: contain; }
.hm-shop-category-carousel .hm-shop-category-name { min-height: 25px; margin-top: 2px; color: #002d24; font-size: 12px; font-weight: 500; }
html body .hp-shop-catalog-layout { margin-top: 0 !important; }

/* Let product imagery use the entire square instead of a padded inset. */
html body .hp-shop-query .hp-product-grid .wc-block-components-product-image,
html body .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-image { padding: 0 !important; overflow: hidden; }
html body .hp-shop-query .hp-product-grid .wc-block-components-product-image img,
html body .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-image img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: contain !important; transform: scale(1.14); }

/* The base HP payment enhancer now runs in shop model 1, too. */
html body.hp-shop-model-1 .hp-shop-query .hp-product-grid .hp-shop-current-price-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 6px; }
html body.hp-shop-model-1 .hp-shop-query .hp-product-grid .hp-shop-price-discount { color: #167d5a; font-size: 10px; font-weight: 700; }
html body.hp-shop-model-1 .hp-shop-query .hp-product-grid .hp-shop-payment-info { margin: 3px 0 5px; color: #167d5a; font-size: 11px; line-height: 1.35; text-align: center; }
html body.hp-shop-model-1 .hp-shop-query .hp-product-grid .hp-shop-payment-info span { display: block; }

/* Push the first letter to the edge and let the signature fill the viewport. */
.hm-footer-stage3 .hm-footer-wordmark {
  left: 50%;
  width: 100vw;
  max-width: none;
  font-size: clamp(92px, 22.3vw, 480px);
  letter-spacing: -.105em;
  text-align: left;
  text-indent: -.045em;
  transform: translateX(-50%) scaleX(1.06);
  transform-origin: center bottom;
}
@media (max-width: 700px) {
  html body .hp-shop-page-shell > .hm-catalog-hero { height: 135px; min-height: 135px; max-height: 135px; border-radius: 0 0 15px 15px; }
  html body .hp-shop-page-shell .hm-shop-category-carousel { width: calc(100% - 28px); margin: 8px auto 15px; }
  .hm-shop-category-carousel .hm-shop-category-card { flex-basis: 96px; }
  .hm-shop-category-carousel .hm-shop-category-photo { height: 66px; }
  .hm-shop-category-carousel .hm-shop-category-photo img { max-height: 64px; }
  .hm-footer-stage3 .hm-footer-wordmark { font-size: 22.3vw; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-shop-category-carousel .hm-shop-category-card { transition: none; }
}
