/* Presentation only: leaves the original hero image and all commerce UI intact. */
[data-aruzas-filament-hero] .aruzas-filament-factory-slide[hidden],
[data-aruzas-filament-hero] .aruzas-filament-hero-controls[hidden] { display: none !important; }
[data-aruzas-filament-hero].is-enhanced { touch-action: pan-y; }
/* The dynamic theme block does not load core/cover styles on this archive. */
[data-aruzas-filament-hero] .aruzas-collection-hero { display: flex; align-items: flex-end; padding: 0; }
[data-aruzas-filament-hero] .wp-block-cover__image-background,
[data-aruzas-filament-hero] .wp-block-cover__background { position: absolute; inset: 0; width: 100%; height: 100%; }
[data-aruzas-filament-hero] .wp-block-cover__image-background { display: block; z-index: 0; }
[data-aruzas-filament-hero] .wp-block-cover__background { display: block; z-index: 0; pointer-events: none; }
[data-aruzas-filament-hero] .wp-block-cover__inner-container { position: relative; z-index: 1; width: 100%; }
[data-aruzas-filament-hero] .aruzas-collection-hero__copy { box-sizing: border-box; }
[data-aruzas-filament-hero].is-enhanced .aruzas-collection-hero {
  visibility: hidden;
  transform: none;
  transition: opacity 650ms ease, visibility 650ms;
}
[data-aruzas-filament-hero].is-enhanced .aruzas-collection-hero.is-active { visibility: visible; }
[data-aruzas-filament-hero] .aruzas-filament-factory-slide .wp-block-cover__image-background { object-position: 55% center; }
[data-aruzas-filament-hero] .aruzas-filament-factory-slide .wp-block-cover__background {
  background: linear-gradient(180deg, rgb(0 0 0 / 62%) 0%, rgb(0 0 0 / 12%) 30%, transparent 42%, rgb(0 0 0 / 78%) 100%);
  opacity: 1;
}
[data-aruzas-filament-hero] .aruzas-filament-factory-slide h2 {
  margin: 0 0 .65rem;
  font-size: clamp(1.35rem, 2vw, 2.15rem) !important;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
  color: #fff;
}
[data-aruzas-filament-hero] .aruzas-collection-hero__copy .aruzas-filament-hero-eyebrow {
  margin: 0 0 .8rem;
  font-size: .66rem !important;
  letter-spacing: .15em;
  text-transform: uppercase;
  line-height: 1.4;
  opacity: .88;
}
[data-aruzas-filament-hero] .aruzas-filament-hero-controls {
  position: absolute;
  z-index: 4;
  right: clamp(1.25rem, 4.5vw, 4rem);
  bottom: clamp(1.25rem, 2.2vw, 2rem);
  display: flex;
  align-items: center;
  gap: .35rem;
  color: #fff;
}
/* Same compact thumbnail / circular-arrow treatment as the product gallery. */
[data-aruzas-filament-hero] .aruzas-filament-hero-controls button {
  appearance: none;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  margin: 0;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}
[data-aruzas-filament-hero] .aruzas-filament-hero-thumbnails {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 2px;
  background: rgb(17 17 17 / 34%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
[data-aruzas-filament-hero] .aruzas-filament-hero-thumbnail {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 1px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 0;
  background: rgb(255 255 255 / 58%);
  opacity: .72;
  transition: border-color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}
[data-aruzas-filament-hero] .aruzas-filament-hero-thumbnail:is(.is-active, :hover) {
  border-color: #fff;
  background: #fff;
  opacity: 1;
}
[data-aruzas-filament-hero] .aruzas-filament-hero-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
[data-aruzas-filament-hero] .aruzas-filament-hero-arrows { display: flex; gap: .3rem; }
[data-aruzas-filament-hero] .aruzas-filament-hero-arrows button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(17 17 17 / 38%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color 160ms ease;
}
[data-aruzas-filament-hero] .aruzas-filament-hero-arrows button:hover { background: var(--az-ink, #111); }
[data-aruzas-filament-hero] .aruzas-filament-hero-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (min-width: 801px) {
  /* The fixed desktop admin toolbar offsets a full-height hero. On mobile the
     toolbar scrolls away, so keep the normal reserved copy/control spacing. */
  body.admin-bar [data-aruzas-filament-hero] .aruzas-filament-hero-controls { margin-bottom: var(--wp-admin--admin-bar--height, 32px); }
  [data-aruzas-filament-hero] .aruzas-collection-hero__copy { max-width: min(720px, calc(100% - 230px)); }
}
@media (max-width: 800px) {
  [data-aruzas-filament-hero].is-enhanced .aruzas-collection-hero__copy { padding-bottom: 80px; }
  [data-aruzas-filament-hero] .aruzas-filament-hero-controls { bottom: 1rem; right: 1rem; }
  [data-aruzas-filament-hero] .aruzas-filament-factory-slide .wp-block-cover__image-background { object-position: 56% center; }
  [data-aruzas-filament-hero] .aruzas-filament-factory-slide h2 { font-size: 1.55rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  [data-aruzas-filament-hero].is-enhanced .aruzas-collection-hero { transition: none; }
}
