.ci-product-components-section {
  > div {
    padding: 0 2.4rem;
    @media screen and (max-width: 1280px) {
      padding: 0;
    }
  }
  .ci-product-components {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* ── Component row ── */
  .ci-product-component {
    padding: 6rem;
    margin-left: -6rem;
    margin-right: -6rem;
    background-color: #fff;
    @media screen and (max-width: 1280px) {
      margin: 0;
    }
    @media screen and (max-width: 1024px) {
      padding: 4rem;
    }
    @media screen and (max-width: 769px) {
      padding: 2.4rem;
    }
  }

  .ci-product-component__image-col {
    img,
    .placeholder-svg {
      display: block;
      width: 100%;
      height: auto;
    }
    @media screen and (max-width: 1024px) {
      order: -1;
    }
  }

  .ci-product-component__content-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .ci-product-component__title {
    margin-bottom: 2.5rem;
  }

  .ci-product-component__description {
    margin-bottom: 2.5rem;

    > *:last-child {
      margin-bottom: 0;
    }
  }

  /* ── Show More / Less button ── */
  .ci-show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    margin-top: auto;
    min-width: 16.2rem;
  }

  .ci-show-more-btn__icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;

    svg {
      width: 1.8rem;
      aspect-ratio: 10 / 6;
    }
  }

  .ci-show-more-btn[aria-expanded="true"] .ci-show-more-btn__icon {
    transform: rotate(180deg);
  }

  /* ── Component parts container ── */
  .ci-component-parts {
    overflow: hidden;
    display: none;
    will-change: height, opacity;

    &.is-open {
      display: block;
    }
  }

  .ci-component-parts__inner.ci-grid {
    padding-top: 6rem;
    flex-wrap: wrap;

    @media screen and (max-width: 1024px) {
      padding-top: 4rem;
    }
  }

  /* ── Component part columns ── */
  .ci-component-part-col {
    @media screen and (min-width: 550px) and (max-width: 1024px) {
      width: 50% !important;
      min-width: 50% !important;
    }

    @media screen and (max-width: 549px) {
      width: 100% !important;
      min-width: 100% !important;
    }
  }

  /* ── Single component part ── */
  .ci-component-part {
    display: flex;
    flex-direction: column;
  }

  .ci-component-part__image-wrap {
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden;

    img,
    .placeholder-svg {
      display: block;
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    &.ci-has-modal {
      cursor: pointer;
      img, .placeholder-svg {
        transition: all 1s ease;
      }
      &:hover img,
      &:hover .placeholder-svg {
        transform: scale(1.04);
      }
    }

  }

  .ci-component-part-link {
    color: var(--color-ci-dark-gray);
    text-decoration: none;
  }

  /* ── Plus button on part image ── */
  .ci-part-modal-btn {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background-color: var(--color-ci-dark-gray, #001d34);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    padding: 0;

    svg {
      width: 1.2rem;
      height: 1.2rem;
      path {
        fill: #fff;
      }
    }

    /* Keep icon visible but let wrapper receive click */
    pointer-events: none;
  }

  .ci-component-part__title {
    display: inline-block;
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 0.8rem;
    svg {
      display: inline-block;
      margin: 0 0 -.22em .08em;
      width: 1em;
      min-width: 1em;
      height: auto;
    }

    @media screen and (min-width: 750px) {
      font-size: 2.2rem;
    }
  }

  .ci-component-part__excerpt {
    font-size: 1.6rem;
    line-height: 1.2;
    margin: 0;
  }
}

/* ── Modal ── */
.ci-part-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.5);
  transition: opacity 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);

  &[hidden] {
    display: none;
  }

  &.active {
    opacity: 1;
    pointer-events: auto;
  }
}

.ci-part-modal__overlay {
  position: absolute;
  display: block !important;
  inset: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ci-part-modal__container {
  position: relative;
  background-color: var(--color-ci-bg-main);
  padding: 6rem;
  width: 90%;
  max-width: 120rem;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  opacity: 0;
  transform: translateY(1.8rem) scale(0.985);
  transition:
    opacity 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  @media screen and (max-width: 1024px) {
    padding: 3.5rem;
  }
}

.ci-part-modal.active {
  .ci-part-modal__overlay {
    opacity: 1;
  }

  .ci-part-modal__container {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ci-part-modal__close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 3.2rem;
  height: 3.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #051D331A;
  border-radius: 50%;
  color: var(--color-ci-dark-gray, #001d34);
  padding: 0;
  z-index: 2;
  transition: opacity 0.2s ease;
  @media screen and (max-width: 1024px) {
    top: .8rem;
    right: .8rem;
    width: 2.4rem;
    height: 2.4rem;
  }

  svg {
    width: 40%;
    height: auto;
  }

  &:hover,
  &:focus-visible {
    opacity: 0.8;
  }

  &:focus-visible {
    outline: 2px solid var(--color-ci-dark-gray, #001d34);
    outline-offset: 2px;
  }
}

.ci-part-modal__inner.ci-grid {
  gap: 2rem 0;
  align-items: stretch;
}

.ci-part-modal__image-col {
  img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  @media screen and (max-width: 749px) {
    width: 100% !important;
    min-width: 100% !important;
  }
}

.ci-part-modal__text-col {

  @media screen and (max-width: 1024px) {
    width: 100% !important;
    min-width: 100% !important;
  }
}

.ci-part-modal__title {
  margin-bottom: 2rem;
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 500;
}

.ci-part-modal__description {
  p, li {
    font-size: 1.6rem;
    line-height: 1.2;
  }
  > *:last-child {
    margin-bottom: 0;
  }
}
