@scope (#candidate-product) {
.cable-reels {
  --reels-green: #19663f;
  --reels-spacing: clamp(48px, 6vw, 84px);
  padding-bottom: var(--reels-spacing);
}

.reels-intro,
.reels-inquiry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
}

.reels-intro {
  align-items: end;
  margin-bottom: 28px;
}

.reels-intro p,
.reels-inquiry p {
  max-width: 55ch;
  margin: 12px 0 0;
  color: var(--muted);
}

.cable-reels .reels-quote {
  justify-self: start;
  background: var(--reels-green);
}

.cable-reels .reels-quote:hover {
  background: #124c2e;
}

.cable-reels .reels-image {
  border-radius: 4px;
}

.cable-reels .reels-image img {
  display: block;
  height: auto;
}

.cable-reels .reels-image .expand-label {
  right: 12px;
  bottom: 12px;
  border-radius: 2px;
  color: var(--reels-green);
  opacity: 1;
}

.reels-range {
  margin-block: var(--reels-spacing);
}

.reels-range-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 24px;
}

.reels-range-heading p {
  margin: 12px 0 0;
  color: var(--muted);
}

.reels-range h2,
.reels-inquiry h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
}

.reels-range .text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--reels-green);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.reels-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.reel-card {
  display: grid;
  position: relative;
  min-width: 0;
  background: var(--soft);
  scroll-margin-top: 100px;
}

.reel-card:is(:hover, :focus-visible) {
  outline: 2px solid var(--reels-green);
  outline-offset: -2px;
}

.reel-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.reel-card-body {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 17px 36px 17px 16px;
}

.reel-card-body strong {
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.reel-card-code,
.reel-card-arrow {
  color: var(--reels-green);
}

.reel-card-code {
  font-size: 0.875rem;
}

.reel-card-arrow {
  position: absolute;
  right: 16px;
  bottom: 17px;
}

.reels-inquiry {
  padding: clamp(20px, 4vw, 44px);
  background: var(--soft);
}

.reel-placeholder {
  display: grid;
  place-items: center;
  min-height: 130px;
  padding: 16px;
  background: #eff3f0;
  color: #42534a;
  text-align: center;
}

.reel-detail .main-photo img {
  display: block;
  object-fit: contain;
}

.reel-detail .main-photo,
.reel-detail .thumbnails img {
  background: #fff;
}

.reel-detail .thumbnails img {
  object-fit: contain;
}

.reel-detail .reel-thumb-placeholder {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 6px;
}

.reel-detail .reel-lengths {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reel-lengths button {
  min-width: 60px;
  min-height: 44px;
  padding: 8px 15px;
  background: #e8efe9;
  color: #19663f;
  font-weight: 600;
}

.reel-lengths button[aria-pressed="true"] {
  background: #19663f;
  color: white;
}

.reel-detail .reel-diagram {
  width: 100%;
}

.reel-detail .reel-placeholder[hidden],
.reel-detail .main-photo[hidden] {
  display: none;
}

@media (width <= 1000px) {
  .reels-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 760px) {
  .reels-intro,
  .reels-inquiry {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .cable-reels .reels-image img {
    aspect-ratio: 700 / 235;
  }

  .cable-reels .reels-image .expand-label {
    position: static;
    display: block;
    border-top: 1px solid #d8e0db;
    text-align: right;
  }

  .reel-detail .main-photo img {
    aspect-ratio: 4 / 3;
  }
}

@media (width <= 480px) {
  .reels-card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .reel-card {
    grid-template-columns: minmax(80px, 31%) minmax(0, 1fr);
    align-items: center;
  }

  .reel-card-body {
    padding-block: 12px;
  }
}

}
