.custom-options {
  --options-ink: #292f34;
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
  background: #fff;
}

.custom-options-row {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  min-height: 330px;
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
}

.custom-options-row:last-child {
  border-bottom: 0;
}

.custom-options-copy {
  padding: 34px 28px 34px 34px;
  color: var(--options-ink);
}

.custom-options-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.08;
  font-weight: 900;
}

.custom-options-copy p {
  margin: 0 0 8px;
  color: #292f34;
  font-size: 16px;
  line-height: 1.45;
}

.custom-options-copy strong {
  font-weight: 900;
}

.custom-options-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 26px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--options-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.custom-options-carousel {
  position: relative;
  min-width: 0;
  padding: 28px 46px 40px 54px;
}

.custom-options-stage {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.custom-options-slide {
  display: grid;
  align-content: center;
  min-height: 220px;
}

.custom-options-slide[hidden] {
  display: none;
}

.custom-options-slide img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: contain;
  object-position: center;
}

.custom-options-row[data-options-carousel="pvd"] .custom-options-slide img {
  height: 80px;
  object-fit: fill;
}

.custom-options-row[data-options-carousel="finish"] .custom-options-slide img {
  height: 165px;
}

.custom-options-row[data-options-carousel="finish"] .custom-options-labels {
  gap: 16px;
  font-size: clamp(14px, 1.2vw, 19px);
}

.custom-options-row[data-options-carousel="chain"] .custom-options-slide img {
  height: 72px;
}

.custom-options-labels {
  display: grid;
  grid-template-columns: repeat(var(--option-count), minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
  color: #292f34;
  font-size: clamp(14px, 1.45vw, 23px);
  line-height: 1.05;
  font-weight: 900;
  text-align: center;
}

.custom-options-labels span {
  display: flex;
  min-height: 48px;
  align-items: flex-start;
  justify-content: center;
}

.option-card-grid {
  display: grid;
  grid-template-columns: repeat(var(--option-count), minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.option-card {
  min-width: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: #292f34;
  font-size: clamp(13px, 1.15vw, 18px);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.custom-options-row[data-options-carousel="pvd"] .option-card img,
.custom-options-row[data-options-carousel="finish"] .option-card img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.option-finish-grid {
  gap: 24px;
}

.custom-options-row[data-options-carousel="finish"] .option-card img {
  border-radius: 18px;
}

.custom-options-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 48px;
  padding: 8px;
  border: 0;
  background: transparent;
  transform: translateY(-58%);
  cursor: pointer;
}

.custom-options-arrow img {
  width: 100%;
  height: 100%;
  filter: invert(20%) sepia(29%) saturate(1328%) hue-rotate(168deg) brightness(89%) contrast(95%);
}

.custom-options-arrow.prev { left: 2px; }
.custom-options-arrow.next { right: 2px; }

.custom-options-dots {
  position: absolute;
  left: 6px;
  bottom: 24px;
  display: flex;
  gap: 10px;
}

.custom-options-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d5d5d5;
  cursor: pointer;
}

.custom-options-dot[aria-current="true"] {
  background: #111;
}

.custom-options-intro {
  max-width: 780px;
  margin: 0 auto 38px;
  color: #606a72;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 900px) {
  .custom-options-row {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 18px;
  }

  .custom-options-copy {
    padding: 30px 28px 8px;
    text-align: center;
  }

  .custom-options-carousel {
    padding: 8px 38px 34px;
  }

  .custom-options-dots {
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
  }
}

@media (max-width: 700px) {
  .custom-options-row {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 18px;
  }

  .custom-options-copy {
    padding: 28px 20px 6px;
    text-align: center;
  }

  .custom-options-copy h2 {
    margin-bottom: 12px;
  }

  .custom-options-copy p {
    font-size: 14px;
  }

  .custom-options-cta {
    min-height: 48px;
    margin-top: 16px;
    padding-inline: 24px;
    font-size: 13px;
  }

  .custom-options-carousel {
    padding: 8px 30px 34px;
  }

  .custom-options-stage,
  .custom-options-slide {
    min-height: 190px;
  }

  .custom-options-slide img,
  .custom-options-row[data-options-carousel="finish"] .custom-options-slide img {
    height: 130px;
  }

  .custom-options-row[data-options-carousel="pvd"] .custom-options-slide img {
    height: 46px;
  }

  .custom-options-row[data-options-carousel="chain"] .custom-options-slide img {
    height: 50px;
  }

  .custom-options-labels {
    gap: 4px;
    font-size: 10px;
  }

  .custom-options-labels span {
    min-height: 34px;
  }

  .option-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 8px;
  }

  .option-finish-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .option-card {
    gap: 7px;
    font-size: 11px;
  }

  .custom-options-arrow {
    width: 30px;
    height: 42px;
  }

  .custom-options-dots {
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
  }
}
