.product-information {
    gap: var(--gap) 0;
  }

  /* Base grid layout */
  .product-information__grid {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
  }

  /* Default column positions */
  .product-details {
    order: 1;
  }

  .product-information__media {
    order: 0;
    width: 0;
    min-width: 100%;
  }

  .product-information__media .product-media-gallery__placeholder-image {
    width: 100%;
    height: 100%;
  }

  /* Mobile styles */
  @media screen and (max-width: 749px) {
    .product-information__media {
      grid-column: 2 / 3;
    }

    .product-details {
      grid-column: 2 / 3;
    }
  }

  /* Desktop styles */
  @media screen and (min-width: 750px) {
    .product-information__grid {
      grid-column: 2;
    }

    /* Position when there is no media */
    .product-information__grid.product-information--media-none {
      .product-details {
        width: var(--narrow-content-width);
        margin: 0 auto;
      }
    }

    /* Position when there is media */
    .product-information__grid:not(.product-information--media-none) {
      /* Media on the left side */
      &.product-information--media-left {
        grid-template-columns: 1fr min(50vw, var(--sidebar-width));

        .product-information__media {
          padding-right: calc(var(--gap, 0) / 2);
        }

        .product-details {
          padding-left: calc(var(--gap, 0) / 2);
        }

        &:has(.media-gallery--extend) {
          grid-column: 1 / 3;
        }
      }

      /* Media on the right side */
      &.product-information--media-right {
        grid-template-columns: min(50vw, var(--sidebar-width)) 1fr;

        .product-information__media {
          padding-left: calc(var(--gap, 0) / 2);
          order: 1;
        }

        .product-details {
          padding-right: calc(var(--gap, 0) / 2);
          order: 0;
        }

        &:has(.media-gallery--extend) {
          grid-column: 2 / -1;
        }
      }

      /* Equal width columns */
      &.product-information__grid--half,
      &.product-information__grid--half:has(.media-gallery--extend) {
        grid-column: 1 / -1;
        grid-template-columns:
          var(--full-page-grid-margin) calc(var(--full-page-grid-central-column-width) / 2) calc(
            var(--full-page-grid-central-column-width) / 2
          )
          var(--full-page-grid-margin);

        &.product-information--media-left {
          .product-information__media {
            grid-column: 2 / 3;

            &:has(.media-gallery--extend) {
              grid-column: 1 / 3;
            }
          }

          .product-details {
            grid-column: 3 / 4;
          }
        }

        &.product-information--media-right {
          .product-information__media {
            grid-column: 3 / 4;

            &:has(.media-gallery--extend) {
              grid-column: 3 / -1;
            }
          }

          .product-details {
            grid-column: 2 / 3;
          }
        }
      }
    }

    /* Handle full width section */
    .section--full-width {
      .product-information__grid:not(.product-information--media-none) {
        &.product-information--media-left,
        &.product-information--media-right {
          grid-column: 1 / -1;
        }

        &.product-information--media-left .product-details {
          padding-inline-end: var(--padding-lg);
        }

        &.product-information--media-right .product-details {
          padding-inline-start: var(--padding-lg);
        }

        &.product-information__grid--half.product-information--media-left {
          .product-information__media {
            grid-column: 1 / 3;
          }

          .product-details {
            grid-column: 3 / -1;
          }
        }

        &.product-information__grid--half.product-information--media-right {
          .product-information__media {
            grid-column: 3 / -1;
          }

          .product-details {
            grid-column: 1 / 3;
          }
        }
      }
    }
  }

  /* Wider sidebar for large screens */
  @media screen and (min-width: 1200px) {
    .product-information__grid:not(
        .product-information__grid--half,
        .product-information--media-none
      ).product-information--media-left {
      grid-template-columns: 2fr 1fr;
    }

    .product-information__grid:not(
        .product-information__grid--half,
        .product-information--media-none
      ).product-information--media-right {
      grid-template-columns: 1fr 2fr;
    }
  }

  .product-information__grid--limit-details .product-details > .group-block {
    --details-max-width: var(--sidebar-width);
    max-width: var(--details-max-width);
  }

  @media screen and (min-width: 1600px) {
    .product-information__grid--limit-details .product-details > .group-block {
      --details-max-width: 32rem;
    }
  }

  /* If the header is sticky, make product details content stick underneath the header */
  body:has(#header-group #header-component[data-sticky-state='active']) .product-details.sticky-content--desktop {
    --sticky-header-offset: var(--header-height);
  }

.case-info__trigger { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: inherit; font: inherit; font-size: .875rem; text-align: left; cursor: pointer; }
  :is(.case-info--magnetic, .case-info--model) .case-info__trigger { min-height: 36px; color: #aaa; font-size: .8125rem; text-decoration: underline; text-underline-offset: 3px; }
  :is(.case-info--magnetic, .case-info--model) .case-info__trigger:hover { color: #fff; }
  .case-info__trigger > svg { width: 18px; height: 18px; flex-shrink: 0; }
  .case-info__more { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
  .case-info--photo { display: block; margin-top: 8px; max-width: 100%; pointer-events: auto; }
  .case-info--photo .case-info__trigger { padding: 0; color: #aaa; line-height: 1.45; }
  .case-info--photo .case-info__trigger:hover { color: #fff; }
  .dialog-modal.case-info__dialog { position: fixed; inset: 0; margin: auto; height: fit-content; max-width: calc(100vw - 32px); width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 34px clamp(20px, 4vw, 36px); overflow-y: auto; border: 0; border-radius: 20px; background: #141414; color: #fff; text-align: left; }
  .dialog-modal.case-info__dialog[open] { animation: case-info-in .18s ease both; }
  .dialog-modal.case-info__dialog.dialog-closing { animation: case-info-out .16s ease both; }
  @keyframes case-info-in { from { opacity: 0; } to { opacity: 1; } }
  @keyframes case-info-out { from { opacity: 1; } to { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .dialog-modal.case-info__dialog[open], .dialog-modal.case-info__dialog.dialog-closing { animation-duration: .01ms; } }
  .case-info__dialog li { font-size: .95rem; line-height: 1.65; margin-block: 12px; }
  .case-info__dialog::backdrop { background: rgb(0 0 0 / .7); }
  .case-info__dialog h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.25; margin: 0 32px 20px 0; }
  .case-info__dialog h3 { font-size: 1rem; margin: 24px 0 8px; }
  .case-info__dialog p { font-size: .95rem; line-height: 1.65; }
  .case-info__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: #fff; }
  .case-info__close svg { width: 20px; height: 20px; }
  .case-info__video { display: block; aspect-ratio: 16 / 9; background: #262626; border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
  .case-info__play { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; gap: 12px; color: #fff; cursor: pointer; }
  .case-info__play svg { width: 30px; height: 30px; }
  .case-info__video[data-media-loaded] .case-info__play { display: none; }
  .case-info__video iframe { display: block; width: 100%; height: 100%; border: 0; }
  .case-info__video-note { color: #c0c5ce; }
  .case-info__dialog a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.case-details { padding-block: clamp(40px, 6vw, 80px); }
  .case-details__heading { margin-bottom: 28px; max-width: 900px; }
  .case-details h2 { margin: 0 0 16px; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; text-wrap: balance; }
  .case-details h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.25; margin: 0 0 20px; text-wrap: balance; }
  .case-details p { line-height: 1.6; }
  .case-details__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .case-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); background: var(--case-media-background); color: #fff; border-radius: 20px; overflow: hidden; }
  .case-feature--layers { grid-row: span 2; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; }
  .case-feature__visual { position: relative; margin: 0; min-width: 0; min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .case-details__image { display: block; width: 100%; height: 240px; object-fit: contain; padding: 18px 12px 8px; }
  .case-feature--layers .case-details__image { height: 340px; padding: 24px; }
  .case-details__copy { padding: 26px 24px; align-self: center; }
  .case-feature--layers .case-details__copy { padding: 24px 32px 30px; }
  .case-feature__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
  .case-feature__points li { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.5; color: #ccc; }
  .case-feature__points svg { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: #aaa; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
  .case-details__faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; margin-top: 64px; }
  .case-details details { border-bottom: 1px solid #383838; }
  .case-details summary { cursor: pointer; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; line-height: 1.5; font-weight: 600; }
  .case-details__contact { margin: 24px 0 0; }
  .case-details__answer { padding: 0 0 22px; max-width: 65ch; }
  .case-details__answer p { margin-top: 0; }
  .case-details summary::-webkit-details-marker { display: none; }
  .case-details a { text-decoration: underline; text-underline-offset: 4px; }
  .case-disclosure-icon { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .22s ease; }
  .case-details details[open] > summary > .case-disclosure-icon { transform: rotate(90deg); }
  .case-details details::details-content { interpolate-size: allow-keywords; block-size: 0; overflow: clip; transition: block-size .25s ease, content-visibility .25s allow-discrete; }
  .case-details details[open]::details-content { block-size: auto; }
  @media (max-width: 989px) and (min-width: 750px) {
    .case-feature { grid-template-columns: minmax(0, 1fr); }
    .case-feature--layers .case-details__image { height: 440px; }
  }
  @media (max-width: 749px) {
    .case-details { padding-block: 28px 32px; }
    .case-details__heading { margin-bottom: 20px; }
    .case-details h2 { text-align: center; margin-bottom: 0; }
    .case-details__grid, .case-details__faq { grid-template-columns: minmax(0, 1fr); }
    .case-feature { grid-template-columns: minmax(0, 1fr); }
    .case-feature--layers { grid-row: auto; }
    .case-feature__visual, .case-details__image, .case-feature--layers .case-details__image { height: 290px; min-height: 0; }
    .case-details__image, .case-feature--layers .case-details__image { height: 250px; padding: 18px; }
    .case-details__copy, .case-feature--layers .case-details__copy { padding: 24px; }
    .case-details__faq { gap: 24px; margin-top: 40px; }
  }
  @media (prefers-reduced-motion: reduce) { .case-disclosure-icon, .case-details details::details-content { transition: none; } }

.case-reviews { padding-block: 32px 40px; --jdgm-primary-color: #f4f4f4; --jdgm-secondary-color: #444; }
  .case-reviews h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 16px; text-wrap: balance; }
  .case-reviews__heading p { color: #bbb; line-height: 1.6; margin: 0 0 8px; }
  .case-reviews--empty .case-reviews__panel { padding-block: 20px; border-top: 1px solid #383838; }
  .case-reviews--empty h2 { font-size: 1.1rem; margin-bottom: 8px; text-align: left; }
  .case-reviews--empty .case-reviews__heading { margin-bottom: 20px; }
  .case-reviews .jm-review-widget-minimal-header__title,
  .case-reviews--empty .jm-no-reviews-state__text,
  .case-reviews--empty .jdgm-empty-state { display: none; }
  .case-reviews--empty #judgeme_product_reviews .jm-review-widget__header,
  .case-reviews--empty #judgeme_product_reviews,
  .case-reviews--empty #judgeme_product_reviews .jm-review-widget { padding: 0; }
  .case-reviews--empty #judgeme_product_reviews .jm-review-widget__header > .jm-cluster:first-child,
  .case-reviews--empty #judgeme_product_reviews .jm-review-widget__body { display: none; }
  .case-reviews .jdgm-widget { color: inherit; }
  @media (max-width: 749px) { .case-reviews h2 { text-align: center; } }
