.hexlune-tunnel-layout .product__info-container { max-width: none; }
.hexlune-tunnel-layout .product-form__input { max-width: none; }

.hexlune-tunnel-layout .hexlune-step-title {
  color: rgb(var(--color-foreground));
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: normal;
  margin-bottom: .8rem;
}

.hexlune-shape-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
}

.hexlune-tunnel-layout .hexlune-compact-tunnel-options .hexlune-shape-grid input[type='radio'] + label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: .35rem;
  min-width: 0;
  margin: 0;
  padding: .5rem .3rem .6rem;
  border-radius: .7rem;
  text-align: center;
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

.hexlune-shape-image {
  display: block;
  width: min(100%, 5rem);
  aspect-ratio: 1;
  background-color: currentColor;
  mask-image: var(--hexlune-shapes);
  mask-repeat: no-repeat;
  mask-size: 400% 300%;
  border-radius: .35rem;
}

.hexlune-shape-image--round { mask-position: 0% 0%; }
.hexlune-shape-image--triangle { mask-position: 33.333333333333336% 0%; }
.hexlune-shape-image--square { mask-position: 66.66666666666667% 0%; }
.hexlune-shape-image--pentagon { mask-position: 100% 0%; }
.hexlune-shape-image--hexagon { mask-position: 0% 50%; }
.hexlune-shape-image--oval { mask-position: 33.333333333333336% 50%; }
.hexlune-shape-image--heart { mask-position: 66.66666666666667% 50%; }
.hexlune-shape-image--teardrop { mask-position: 100% 50%; }
.hexlune-shape-image--coffin { mask-position: 0% 100%; }
.hexlune-shape-image--oblong { mask-position: 33.333333333333336% 100%; }
.hexlune-shape-image--rhombus { mask-position: 66.66666666666667% 100%; }
.hexlune-shape-image--long-teardrop { mask-position: 100% 100%; }

.hexlune-tunnel-guide {
  display: block;
  margin: 0 0 .4rem;
  font-size: 1.35rem;
}

hexlune-tunnel-selection {
  display: block;
  padding: 1rem 1.35rem;
  border-radius: .7rem;
  background: rgba(var(--color-foreground), .05);
  font-size: 1.4rem;
  line-height: 1.5;
}
hexlune-tunnel-selection output { display: block; }

.hexlune-tunnel-layout .product__accordion { margin: 0; }
.hexlune-tunnel-layout .product__accordion + .product__accordion { border-top: 0; }

@media screen and (min-width: 750px) {
  .hexlune-tunnel-layout.product:not(.product--no-media) > .product__media-wrapper,
  .hexlune-tunnel-layout.product:not(.product--no-media) > .product__info-wrapper {
    width: 50%;
    max-width: 50%;
  }

  .hexlune-tunnel-layout.product:not(.product--no-media) > .product__info-wrapper {
    padding-left: clamp(2rem, 3.5vw, 5rem);
  }

  .hexlune-tunnel-layout > .product__media-wrapper > media-gallery {
    display: block;
    position: sticky;
    top: 1.5rem;
  }

  body:has(.shopify-section-header-sticky:not(.shopify-section-header-hidden))
    .hexlune-tunnel-layout > .product__media-wrapper > media-gallery {
    top: calc(var(--header-height, 0px) + 1.5rem);
  }

  .hexlune-tunnel-layout .product-media-container.constrain-height {
    --viewport-offset: calc(var(--header-height, 0px) + 13rem);
    --constrained-min-height: 16rem;
  }
}

.hexlune-tunnel-layout .hexlune-fit-notice {
  padding: 1.15rem 1.4rem;
  border-inline-start: .3rem solid currentColor;
  border-radius: .35rem;
  background: rgba(var(--color-foreground), .06);
  font-size: 1.5rem;
  line-height: 1.5;
}

.hexlune-crystal-detail-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hexlune-crystal-detail-photos img {
  display: block;
  width: 100%;
  height: auto;
}

.hexlune-jewelry-overview .hexlune-jewelry-intro {
  margin: 0;
  line-height: 1.55;
}

.hexlune-jewelry-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: .75rem 1.5rem;
  margin: 0;
  padding: .8rem 0;
  border-block: 1px solid rgba(var(--color-foreground), .16);
}

.hexlune-jewelry-intro + .hexlune-jewelry-facts {
  margin-top: 1.2rem;
}

.hexlune-jewelry-facts dt {
  font-weight: 700;
}

.hexlune-jewelry-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
