/* iPoolGo accessories */
.accessory-index-page,
.accessory-page {
  color: #0b252e;
  background: #ffffff;
}

.accessory-page {
  overflow: hidden;
}

.accessory-shell {
  width: auto;
  min-width: 0;
  margin-right: var(--inner-page-gutter, clamp(28px, 5vw, 78px));
  margin-left: var(--inner-page-gutter, clamp(28px, 5vw, 78px));
}

.accessory-collection {
  padding: 156px 0 112px;
  background: #ffffff;
}

.accessory-page-head {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid #e3e9e8;
}

.accessory-page-head > div {
  min-width: 0;
}

.accessory-page-head > div:first-child > span {
  display: block;
  margin-bottom: 10px;
  color: #55737b;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.accessory-page-head h1 {
  margin: 0;
  color: #081b21;
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
}

.accessory-page-meta {
  display: flex;
  gap: 28px;
  align-items: center;
  padding-bottom: 4px;
}

.accessory-page-meta > span {
  color: #718388;
  font-size: 11px;
}

.accessory-page-meta > a,
.accessory-feature-copy > a {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #0b252e;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.accessory-stories {
  padding-top: 22px;
}

.accessory-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 440px;
  border-bottom: 1px solid #e6eceb;
}

.accessory-feature-copy {
  display: flex;
  min-width: 0;
  padding: clamp(56px, 7vw, 104px) clamp(54px, 8vw, 126px) clamp(56px, 7vw, 104px) 0;
  flex-direction: column;
  justify-content: center;
}

.accessory-feature--reverse .accessory-feature-copy {
  order: 2;
  padding-right: 0;
  padding-left: clamp(54px, 8vw, 126px);
}

.accessory-feature--reverse .accessory-feature-visual {
  order: 1;
}

.accessory-feature-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 23px;
  margin-bottom: 22px;
  padding: 0 12px;
  border-radius: 3px;
  align-items: center;
  color: #0b252e;
  background: #d4ff39;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.accessory-feature-copy h2 {
  max-width: 540px;
  margin: 0;
  color: #091d23;
  font-family: var(--font-title);
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.accessory-feature-copy p {
  max-width: 460px;
  margin: 22px 0 30px;
  color: #667a80;
  font-size: 14px;
  line-height: 1.75;
}

.accessory-feature-copy > a {
  width: fit-content;
  min-width: 122px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #d4dedd;
  border-radius: 999px;
  justify-content: center;
  background: #ffffff;
}

.accessory-feature-copy > a:hover {
  border-color: #0b252e;
  color: #ffffff;
  background: #0b252e;
}

.accessory-feature-visual {
  display: grid;
  min-width: 0;
  min-height: 440px;
  padding: clamp(38px, 5vw, 72px);
  overflow: hidden;
  background: transparent;
  place-items: center;
}

.accessory-feature-visual img {
  display: block;
  width: min(82%, 600px);
  height: 100%;
  max-height: 350px;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(7, 29, 37, 0.09));
  transition: transform 0.4s ease;
}

.accessory-feature-visual:hover img {
  transform: translateY(-4px);
}

.accessory-feature-visual img[src*="chiller-heater"] {
  width: min(52%, 280px);
  height: auto;
  filter: none;
  mix-blend-mode: multiply;
}

.accessory-empty {
  padding: 90px 24px;
  text-align: center;
  border-bottom: 1px solid #e3e9e8;
}

.accessory-empty i {
  display: block;
  margin-bottom: 16px;
  color: #71858a;
  font-size: 30px;
}

.accessory-empty h2 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-size: 26px;
}

.accessory-empty p {
  margin: 0;
  color: #6c7d82;
  font-size: 13px;
}

.accessory-pagination {
  margin-top: 62px;
}

.accessory-pagination .pagination {
  justify-content: center;
  gap: 6px;
  margin: 0;
}

.accessory-pagination .page-link {
  display: grid;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 3px;
  color: #5f7075;
  background: #f0f4f4;
  font-size: 12px;
  place-items: center;
}

.accessory-pagination .active .page-link {
  color: #0b252e;
  background: #d4ff39;
}

@media (max-width: 991px) {
  .accessory-feature {
    min-height: 410px;
  }

  .accessory-feature-copy,
  .accessory-feature--reverse .accessory-feature-copy {
    padding: 52px 38px;
  }

  .accessory-feature-visual {
    min-height: 410px;
    padding: 36px;
  }
}

@media (max-width: 767px) {
  .accessory-collection {
    padding: 112px 0 78px;
  }

  .accessory-page-head {
    align-items: start;
    padding-bottom: 28px;
    flex-direction: column;
  }

  .accessory-page-head h1 {
    font-size: 36px;
  }

  .accessory-page-meta {
    width: 100%;
    justify-content: space-between;
  }

  .accessory-stories {
    padding-top: 6px;
  }

  .accessory-feature,
  .accessory-feature--reverse {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .accessory-feature-visual,
  .accessory-feature--reverse .accessory-feature-visual {
    order: 1;
    min-height: 300px;
    padding: 34px 24px 18px;
  }

  .accessory-feature-copy,
  .accessory-feature--reverse .accessory-feature-copy {
    order: 2;
    min-height: 0;
    padding: 22px 0 52px;
  }

  .accessory-feature-badge {
    margin-bottom: 18px;
  }

  .accessory-feature-copy h2 {
    font-size: 33px;
  }

  .accessory-feature-copy p {
    margin: 18px 0 26px;
    font-size: 13px;
  }

  .accessory-feature-visual img {
    max-height: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .accessory-feature-visual img {
    transition: none;
  }
}
