/* v1.0.12: compact catalogue hero, image categories, both locations in footer. */
body .hp-shop-page-shell > .hm-catalog-hero {
  aspect-ratio: auto;
  min-height: 405px;
  margin-bottom: 0;
  padding: 165px 0 105px;
}
body .hp-shop-page-shell > .hm-catalog-hero h1 { font-size: clamp(42px, 4vw, 64px); }
.hm-shop-category-carousel {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: min(1510px, calc(100% - 48px));
  margin: -64px auto 25px;
  padding: 18px 20px 17px;
  border: 1px solid #e1e9e3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(0,45,36,.14);
}
.hm-shop-category-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; color: #002d24; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.hm-shop-category-controls { display: flex; gap: 6px; }
.hm-shop-category-controls button { width: 30px; height: 30px; border: 1px solid #d4e1d8; border-radius: 50%; background: #f8faf8; color: #002d24; font-size: 23px; line-height: 1; cursor: pointer; }
.hm-shop-category-controls button:hover { background: #b7fa5b; border-color: #b7fa5b; }
.hm-shop-category-track { display: grid; grid-auto-columns: minmax(124px, 1fr); grid-auto-flow: column; gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.hm-shop-category-track::-webkit-scrollbar { display: none; }
.hm-shop-category-card { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 10px 8px; border: 1px solid #ebf0ec; border-radius: 15px; color: #002d24; text-align: center; text-decoration: none; scroll-snap-align: start; transition: background .2s ease, transform .2s ease; }
.hm-shop-category-card:hover { background: #f3faed; transform: translateY(-2px); }
.hm-shop-category-photo { display: grid; place-items: center; width: 100%; height: 84px; border-radius: 10px; background: #f8faf8; overflow: hidden; }
.hm-shop-category-photo img { display: block; max-width: 92%; max-height: 78px; object-fit: contain; }
.hm-shop-category-name { display: flex; align-items: center; justify-content: center; min-height: 36px; margin-top: 7px; font-size: 11px; font-weight: 700; line-height: 1.2; }
body .hp-shop-catalog-layout { margin-top: 0; }

.hm-footer-stage3 .hm-footer-deck { width: min(1580px, calc(100% - 48px)); max-width: 1580px; grid-template-columns: minmax(290px, .72fr) minmax(0, 2.2fr); }
.hm-footer-stage3 .hm-footer-info { grid-template-columns: minmax(100px,.7fr) minmax(220px,1.25fr) minmax(210px,1.15fr); gap: 22px; padding: clamp(25px, 2.5vw, 38px); }
.hm-footer-stage3 .hm-footer-contact span, .hm-footer-stage3 .hm-footer-contact small { display: block; color: #34584a; font-size: 12px; line-height: 1.5; }
.hm-footer-stage3 .hm-footer-contact small { color: #6e8577; }
.hm-footer-stage3 .hm-footer-info-bottom { grid-column: 1 / -1; }
@media (min-width: 1250px) { .hm-shop-category-track { grid-auto-columns: minmax(128px, 1fr); } }
@media (max-width: 1100px) {
  .hm-footer-stage3 .hm-footer-deck { grid-template-columns: 1fr; }
  .hm-shop-category-track { grid-auto-columns: 150px; }
}
@media (max-width: 700px) {
  body .hp-shop-page-shell > .hm-catalog-hero { min-height: 360px; padding: 135px 0 92px; }
  .hm-shop-category-carousel { width: calc(100% - 28px); margin-top: -48px; padding: 14px; }
  .hm-shop-category-track { grid-auto-columns: 115px; gap: 8px; }
  .hm-shop-category-photo { height: 70px; }
  .hm-shop-category-photo img { max-height: 64px; }
  .hm-footer-stage3 .hm-footer-deck { width: calc(100% - 34px); }
  .hm-footer-stage3 .hm-footer-info { grid-template-columns: 1fr 1fr; gap: 23px; }
  .hm-footer-stage3 .hm-footer-info > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 460px) { .hm-footer-stage3 .hm-footer-info { grid-template-columns: 1fr; } .hm-footer-stage3 .hm-footer-info > div:first-child { grid-column: auto; } }
