.np-feature-wrap {
  max-width: 960px;
  margin-inline: auto;
}

.np-feature-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-block: 0 1.25rem;
}

.np-feature-wrap a {
  color: #874322;
  text-underline-offset: .22em;
}

.np-feature-wrap a:focus-visible,
.np-feature-gallery button:focus-visible {
  outline: 2px solid #874322;
  outline-offset: 4px;
}

.np-product-feature .np-treat-card,
.np-product-feature .np-treat-card:hover {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.np-product-feature .np-treat-body {
  width: min(100%, 44rem);
  margin-inline: auto;
  padding: clamp(1rem, 4vw, 2.5rem) 0 0;
}

.np-product-feature .np-treat-name {
  font-size: clamp(2.15rem, 6vw, 4.5rem);
  line-height: 1.06;
}

.np-feature-gallery {
  position: relative;
  touch-action: pan-y pinch-zoom;
}

.np-feature-gallery figure {
  margin: 0;
  background: #eee7dc;
  aspect-ratio: 4 / 3;
}

.np-feature-gallery .np-feature-package {
  background: var(--np-sand);
  isolation: isolate;
}

.np-feature-package img {
  mix-blend-mode: multiply;
}

.np-feature-gallery figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.np-feature-policy {
  margin-block: 1rem;
  padding: .8rem 1rem;
  border-inline-start: 2px solid #985833;
  background: #eee7dc;
  color: #4a3728;
  line-height: 1.5;
}

.np-feature-policy a {
  display: inline-block;
}

.np-feature-gallery-controls:not([hidden]) {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.np-feature-gallery-controls button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(250, 245, 235, .94);
  color: #874322;
  font: 1.45rem/1 system-ui, sans-serif;
  cursor: pointer;
  pointer-events: auto;
}

.np-feature-gallery-controls button:first-child { inset-inline-start: .65rem; }
.np-feature-gallery-controls button:last-child { inset-inline-end: .65rem; }

.np-feature-gallery [data-gallery-count] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (hover: hover) and (pointer: fine) {
  .np-feature-gallery:not(:hover):not(:focus-within) .np-feature-gallery-controls button {
    opacity: 0;
    pointer-events: none;
  }
}
