.gallery-open {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  gap: 2px;
  padding: 4px 3px;
  min-height: 46px;
  margin-left: auto;
  border: 1px solid #cad9cf;
  border-radius: 10px;
  background: #f4f8f4;
  color: #174334;
  cursor: pointer;
}
.gallery-open:hover, .gallery-open:focus-visible { background: #deece1; }
.gallery-open img { display: block; width: 30px; height: 25px; border-radius: 4px; }
.gallery-open span { font-size: 11px; font-weight: 650; line-height: 1.15; }
.product-gallery {
  box-sizing: border-box;
  width: min(760px, calc(100% - 24px));
  padding: 18px;
  border: 1px solid #cad9cf;
  border-radius: 18px;
  color: #16382d;
  background: #fff;
}
.product-gallery::backdrop { background: #10241dd6; }
.product-gallery img { display: block; width: 100%; height: min(58vh, 540px); object-fit: contain; background: #f5f3ee; border-radius: 8px; }
.gallery-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block: 6px; }
.gallery-bar[hidden] { display: none; }
.gallery-bar button { min-height: 44px; padding: 6px 12px; border: 1px solid #cad9cf; border-radius: 9px; background: #edf4ee; color: inherit; }
.gallery-bar h2 { margin: 0; font-size: clamp(19px, 4vw, 27px); }
@media (min-width: 641px) {
  .category-list { grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); }
}
.hero.custom-banner { background-image: linear-gradient(90deg, #f2efe9 13%, #f2efe9ed 34%, #f2efe900 73%), url('/hero-banner.jpg'); }
@media (max-width: 640px) {
  .gallery-open { min-height: 44px; flex-basis: 44px; }
  .hero.custom-banner { background: #f2efe9; }
  .hero.custom-banner::after { background: url('/hero-banner.jpg') center/cover no-repeat; }
}
