/* Remote Control extends the shared accessory PDP and its existing tokens. */
[data-product-id="halo-collar-remote"] .nav--light .nav-mobile-toggle .hamburger-line {
  background-color: var(--halo-color-nav-text-active, #333) !important;
}

[data-product-id="halo-collar-remote"] .accessory-buy-stack {
  position: static;
  max-height: none;
  overflow: visible;
}

.remote-control-benefit-heading {
  margin: 8px 0 -8px;
  color: var(--accessories-ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.remote-control-feature-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  aspect-ratio: 1 / 1;
  min-width: 0;
  margin: 0;
  border: 1px dashed var(--accessories-line-strong);
  border-radius: var(--halo-radius-xl);
  background: var(--accessories-cloud);
  color: var(--accessories-muted);
  font-size: 0.875rem;
}

[data-product-id="halo-collar-remote"] .accessory-carousel-arrow {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--accessories-line);
  border-radius: 50%;
  background: var(--accessories-paper);
  color: var(--accessories-ink);
  filter: none;
}

[data-product-id="halo-collar-remote"] .accessory-carousel-arrow:hover {
  background: var(--accessories-cloud);
}

[data-product-id="halo-collar-remote"] .accessory-carousel-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: transparent;
}

[data-product-id="halo-collar-remote"] .accessory-carousel-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accessories-muted);
}

[data-product-id="halo-collar-remote"] .accessory-carousel-dot.is-active::before {
  width: 20px;
  border-radius: 8px;
  background: var(--accessories-ink);
}

@media (max-width: 760px) {
  [data-product-id="halo-collar-remote"] .accessory-pdp-shell__grid {
    gap: 28px;
  }

  [data-product-id="halo-collar-remote"] .accessory-feature-spotlight__copy {
    order: -1;
  }
}

/* Generation ranges extend the existing accessory section and surface styles. */
.remote-range { scroll-margin-top: 120px;line-height: 1.25; }
.remote-range__intro { max-width: 65ch; margin: 0 0 24px; color: var(--accessories-ink); }
.remote-range__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.remote-range__card { padding: 32px; border-radius: var(--halo-radius-xl); background: var(--accessories-cloud); color: var(--accessories-ink); }
.remote-range__card h4 { margin: 0 0 32px; font-size: 1.25rem; font-weight: 500; line-height: 1.4; }
.remote-range__distance { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.remote-range__distance > span, .remote-range__label { color: var(--accessories-muted); font-size: 0.875rem; line-height: 1.5; }
.remote-range__distance strong { font-family: var(--font-sans); font-size: clamp(3rem, 5vw, 4rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.remote-range__unit { font-size: 0.55em; letter-spacing: 0; margin-left: 4px; }
.remote-range__label { margin: 12px 0 0; }
.remote-range__note { margin: 16px 0 0; color: var(--accessories-muted); font-size: 0.875rem; }
.remote-range-reference { color: inherit; margin-inline-start: 2px; text-decoration: underline; text-underline-offset: 3px; }
.remote-range-reference:focus-visible { outline: 2px solid var(--accessories-ink); outline-offset: 4px; }
@media (max-width: 760px) {
  .remote-range__cards { grid-template-columns: 1fr; gap: 16px; }
  .remote-range__card { padding: 24px; }
  .remote-range__card h4 { margin-bottom: 24px; }
}
@media (max-width: 480px) {
  [data-product-id="halo-collar-remote"] .accessory-features-grid { grid-template-columns: 1fr; }
}

.remote-range__image { display: block; width: 100%; height: 180px; object-fit: contain; margin: 0 auto 24px; }
@media (max-width: 760px) { .remote-range__image { height: 150px; } }

/* Text-first horizontal range cards. */
.remote-range__media { min-width: 0; overflow: hidden; }
.remote-range__image { height: 180px; margin: 0; }
.remote-range__media--5 .remote-range__image { transform: scale(.82); }
.remote-range__media--4 .remote-range__image { transform: scale(1.08); }
.remote-range__card h4 { margin: 24px 0; }
.remote-range__option--horizontal .remote-range__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 24px; }
.remote-range__option--horizontal .remote-range__card h4 { margin: 0 0 24px; }
@media (max-width: 760px) {
  .remote-range__option--horizontal .remote-range__card { display: block; text-align: center; }
  .remote-range__option--horizontal .remote-range__card h4 { margin-top: 24px; }
  .remote-range__image { height: 150px; }
}

@media (min-width: 761px) {
  .remote-range__option--horizontal .remote-range__copy { grid-column: 1; grid-row: 1; }
  .remote-range__option--horizontal .remote-range__media { grid-column: 2; grid-row: 1; }
}

/* Anchor destinations retain focus without drawing a frame around the section. */
.remote-range:focus { outline: none; }
@media (min-width: 761px) {
  .remote-range__option--horizontal .remote-range__card {
    min-height: 280px;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 16px;
    padding: 32px;
  }
  .remote-range__image { height: 216px; }
  .remote-range__media--4 .remote-range__image { transform: scale(1.02); }
}

/* Keep gallery controls clear of annotations on small screens. */
@media (max-width: 40rem) {
  [data-product-id="halo-collar-remote"] .accessory-pdp-gallery__featured {
    aspect-ratio: auto;
  }
  [data-product-id="halo-collar-remote"] .accessory-pdp-gallery__featured img {
    height: auto;
    aspect-ratio: 1;
  }
  [data-product-id="halo-collar-remote"] .accessory-carousel-controls {
    position: static;
    margin: var(--halo-space-xs) 0;
  }
}
