.accessories-hero {
  align-items: center;
}

.accessories-hero-media {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(95, 159, 162, 0.26);
  border-radius: 16px;
  background: #dff1f2;
  box-shadow: 0 18px 40px rgba(14, 61, 94, 0.12);
}

.accessories-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accessories-divider {
  height: 0;
  margin: 0 0 30px;
  border: 0;
  border-top: 4px solid var(--balloon-teal);
}

.accessory-family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
}

.accessory-family-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #d7e2e3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(14, 61, 94, 0.08);
}

.accessory-family-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid #d7e2e3;
  object-fit: cover;
  background: #eaf4f4;
}

.accessory-family-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 235px;
  padding: 20px;
}

.accessory-family-card__body h3 {
  margin: 4px 0 10px;
}

.accessory-family-card__body p {
  margin: 0 0 13px;
}

.accessory-family-card__body a {
  align-self: flex-start;
  margin-top: auto;
  color: #3f7679;
  font-weight: 800;
}

.accessory-family-card__refs {
  color: #0e3d5e;
  font-size: 0.88rem;
  font-weight: 800;
}

.accessory-component-feature {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid #d7e2e3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(14, 61, 94, 0.08);
}

.accessory-component-feature figure {
  margin: 0;
  min-width: 0;
}

.accessory-component-feature img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.accessory-component-feature__copy {
  padding: 22px 24px 24px;
}

.accessory-component-feature__copy h3 {
  margin: 4px 0 14px;
}

.accessory-component-feature__copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 24px;
  margin: 0 0 18px;
  padding-left: 19px;
}

.accessory-component-feature__copy li + li {
  margin-top: 0;
}

.accessory-component-feature__copy p:last-child {
  margin-bottom: 0;
  color: #526168;
  font-size: 0.88rem;
}

.accessories-product-table {
  overflow: hidden;
  border: 1px solid #d7e2e3;
  border-radius: 14px;
  background: #fff;
}

.accessories-product-row {
  display: grid;
  grid-template-columns: minmax(105px, 0.55fr) minmax(140px, 0.8fr) minmax(260px, 1.8fr);
  align-items: center;
}

.accessories-product-row + .accessories-product-row {
  border-top: 1px solid #d7e2e3;
}

.accessories-product-row > * {
  min-width: 0;
  padding: 13px 15px;
}

.accessories-product-row > :first-child {
  color: #0e3d5e;
  font-weight: 800;
}

.accessories-product-header {
  background: #eaf4f4;
  color: #3f7679;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.accessories-ordering-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .accessories-hero-media img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .accessory-family-grid {
    grid-template-columns: 1fr;
  }

  .accessory-component-feature {
    grid-template-columns: 1fr;
  }

  .accessory-component-feature img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .accessory-component-feature__copy {
      padding: 20px;
  }

  .accessory-component-feature__copy ul {
      grid-template-columns: 1fr;
  }

  .accessories-product-row {
    grid-template-columns: auto 1fr;
  }

  .accessories-product-row > :nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 0;
  }

  .accessories-product-header > :nth-child(3) {
    display: none;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .accessory-family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .accessories-ordering-grid {
    grid-template-columns: 1fr;
  }
}
