/* Keep the editorial site wide and centred on large displays. */
body.ih-v1-site > .ih-site-header,
body.ih-v1-site > main#main,
body.ih-v1-site > .ih-site-footer {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
}
.ih-v1-site .product-layout.ih-product-three-column.e-con {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
  padding: 12px 0 48px;
}
.ih-v1-site .product-layout.ih-product-three-column.e-con > .e-con {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.ih-v1-site .ih-product-three-column .product-summary h1 { font-size: clamp(32px, 2.8vw, 44px); }
.ih-v1-site .ih-product-three-column .product-summary form.cart { margin-top: 0; padding-top: 0; border-top: 0; }
.ih-v1-site .ih-product-three-column form.cart select.icon-hair-select-hidden {
  width: 1px !important;
  min-width: 0 !important;
  height: 1px !important;
  padding: 0 !important;
}
/* Details span the two columns to the right of the photograph. */
.ih-v1-site .ih-product-three-column > .ih-product-information { grid-column: span 2; }
.ih-v1-site .ih-product-three-column .summary-part-purchase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.ih-v1-site .summary-part-purchase > * { min-width: 0; }
.ih-v1-site .summary-part-purchase > .product-service,
.ih-v1-site .summary-part-purchase > .image-note { grid-column: 1 / -1; }
.ih-v1-site .summary-part-purchase > form.cart:only-child { grid-column: 1 / -1; }
.ih-v1-site .ih-product-three-column .ih-product-journey { margin: 0; padding: 0; border: 0; }
.ih-v1-site .ih-site-header .elementor-element-21e034e { padding-block: 12px; min-height: 0; }
@media (min-width: 768px) and (max-width: 1100px) {
  .ih-v1-site .product-layout.ih-product-three-column.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .ih-v1-site .ih-product-three-column > .ih-product-information { grid-column: auto; }
  .ih-v1-site .ih-product-three-column .summary-part-purchase { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .ih-v1-site .product-layout.ih-product-three-column.e-con { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ih-v1-site .ih-product-three-column > .ih-product-information { grid-column: auto; }
  .ih-v1-site .ih-product-three-column .summary-part-purchase { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ih-v1-site .ih-site-header .elementor-element-21e034e { padding-block: 16px; }
}

.ih-v1-site .ih-product-three-column table.variations { width: 100%; }
.ih-v1-site .ih-product-three-column table.variations tr,
.ih-v1-site .ih-product-three-column table.variations th,
.ih-v1-site .ih-product-three-column table.variations td { display: block; text-align: left; padding: 0; border: 0; background: transparent; }
.ih-v1-site .ih-product-three-column table.variations th { margin-bottom: 12px; }
.ih-v1-site .ih-product-three-column table.variations tr { margin-bottom: 20px; }
.ih-v1-site .ih-product-three-column .single_add_to_cart_button { width: 100%; min-height: 48px; padding: 14px 24px; background: #26231e; color: #fff; }

/* Every option group spans the full two-thirds panel beside the gallery. */
.ih-v1-site .ih-product-three-column .ih-colour-links,
.ih-v1-site .ih-product-three-column .ih-linked-textures { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.ih-v1-site .ih-product-three-column .ih-shade-group { margin-bottom: 20px; }
.ih-v1-site .ih-product-three-column form.cart > .ih-product-journey { margin: 24px 0; }

/* The complete product photo sits inside a square; zoom is a small overlay. */
.ih-v1-site .ih-product-three-column .main-product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  height: auto !important;
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.ih-v1-site .ih-product-three-column .main-product-image > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  object-position: center;
  margin: 0;
}
.ih-v1-site .ih-product-three-column .main-product-image .image-expand {
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;
  bottom: auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #ded9cf;
  background: #faf9f6e6;
  color: #26231e;
}

.ih-v1-site .ih-product-gallery .ih-collection-back { display: block; margin-bottom: 16px; font-size: 14px; }
.ih-v1-site .summary-part-introduction > details { margin-top: 24px; }
.ih-v1-site .summary-part-introduction > details > summary { cursor: pointer; }

/* Let the gallery widget include its caption in the layout's measured height. */
.ih-v1-site .ih-product-gallery .elementor-widget-ih-v1-product-gallery {
  height: auto !important;
  aspect-ratio: auto !important;
  flex: 0 0 auto;
}
@media (max-width: 767px) {
  .ih-v1-site .ih-product-three-column .main-product-image .image-expand { display: none; }
  .ih-v1-site .product-layout.ih-product-three-column.e-con { row-gap: 32px; }
}
.ih-v1-site .ih-product-three-column > .ih-product-gallery { display: block; }
.ih-v1-site .ih-product-gallery .elementor-widget-container { display: flow-root; height: auto; }
