/* Scoped Version 1 Elementor/WooCommerce adapters; enqueue after commerce.css. */
.ih-v1-product {
  --shop-ink: #27231e;
  --shop-muted: #655f55;
  --shop-line: #dedad2;
  --shop-accent: #29251f;
  --shop-soft: #efede7;
  color: var(--shop-ink);
  font-family: var(--sans, 'DM Sans', sans-serif);
}
.ih-v1-product.e-con { max-width: 1400px; width: 100%; padding: 0 5.5%; margin: auto; }
.ih-v1-product .product-layout.e-con { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); gap: 7%; padding: 12px 0 65px; }
.ih-v1-product .product-gallery.e-con,
.ih-v1-product .product-info.e-con { width: 100%; min-width: 0; }
.ih-v1-product .elementor-widget { max-width: 100%; margin-bottom: 0; }
.ih-v1-product .product-summary.summary { float: none; width: 100%; margin: 0; color: var(--shop-ink); }
.ih-v1-product .product-summary h1 { font-family: var(--serif, 'Italiana', serif); font-size: 47px; font-weight: 400; line-height: 1.12; letter-spacing: -.035em; margin: 0 0 20px; }
.ih-v1-product .shop-eyebrow p { margin: 0; }
.ih-v1-product .gallery-story.e-con { padding: 39px 0 0; max-width: 480px; gap: 20px; }
.ih-v1-product .gallery-story .shop-eyebrow { margin: 0; }
.ih-v1-product .ih-v1-editorial-copy { font-size: 17px; line-height: 1.8; color: var(--shop-muted); }
.ih-v1-product .main-product-image > img { width: 100%; height: 100%; object-fit: cover; }
.ih-v1-product .ih-v1-thumbnails { display: flex; gap: 10px; padding-top: 12px; overflow-x: auto; }
.ih-v1-product .ih-v1-thumbnails button { flex: 0 0 76px; padding: 3px; border: 1px solid var(--shop-line); background: transparent; cursor: pointer; }
.ih-v1-product .ih-v1-thumbnails button[aria-pressed="true"] { border: 2px solid var(--shop-accent); padding: 2px; }
.ih-v1-product .ih-v1-thumbnails img { width: 100%; height: 70px; object-fit: cover; }
.ih-v1-product .ih-v1-base-price { font-size: 35px; line-height: 1.2; margin: 24px 0 19px; letter-spacing: -.03em; }
.ih-v1-product .ih-v1-base-price del { font-size: .7em; opacity: .65; }
.ih-v1-product .price ins { text-decoration: none; background: none; }
.ih-v1-product .product-summary form.cart { margin: 22px 0; padding-top: 22px; border-top: 1px solid var(--shop-line); }
.ih-v1-product table.variations { width: 100%; border: 0; border-collapse: collapse; margin: 0 0 20px; }
.ih-v1-product table.variations tr { display: block; margin-bottom: 18px; }
.ih-v1-product table.variations th,
.ih-v1-product table.variations td { display: block; text-align: left; border: 0; padding: 0; background: transparent; }
.ih-v1-product table.variations th { margin-bottom: 12px; font-size: 15px; font-weight: 600; }
.ih-v1-product table.variations select { width: 100%; min-height: 44px; background: transparent; border: 1px solid var(--shop-line); color: var(--shop-ink); padding: 10px; }
/* Do not hide selects ourselves: the installed mu-plugin owns progressive enhancement. */
.ih-v1-product .icon-hair-choices { gap: 8px; }
.ih-v1-product .icon-hair-choice { border-radius: 0; border-color: var(--shop-line); min-height: 44px; font-size: 14px; }
.ih-v1-product .icon-hair-choice[aria-pressed="true"] { background: var(--shop-accent); border-color: var(--shop-accent); color: #fff; }
.ih-v1-product .reset_variations { display: inline-block; margin-top: 12px; font-size: 12px; text-decoration: underline; }
.ih-v1-product .woocommerce-variation-price { font-size: 30px; margin-bottom: 16px; }
.ih-v1-product .woocommerce-variation-description,
.ih-v1-product .stock { font-size: 14px; line-height: 1.7; }
.ih-v1-product .quantity { display: inline-block; margin: 0 12px 14px 0; }
.ih-v1-product .quantity .qty { width: 78px; min-height: 48px; padding: 10px; border: 1px solid var(--shop-line); background: transparent; color: var(--shop-ink); }
.ih-v1-product .single_add_to_cart_button { display: block; width: 100%; min-height: 55px; padding: 15px 22px; border: 0; border-radius: 0; background: var(--shop-accent); color: #fff; font-size: 16px; font-family: inherit; cursor: pointer; }
.ih-v1-product .single_add_to_cart_button.disabled,
.ih-v1-product .single_add_to_cart_button:disabled { opacity: .5; cursor: not-allowed; }
.ih-v1-product .single_add_to_cart_button:hover { filter: brightness(1.13); }
.ih-v1-product .ih-v1-description { font-size: 15px; line-height: 1.8; color: var(--shop-muted); padding-bottom: 20px; }
.ih-v1-product .woocommerce-product-attributes { width: 100%; font-size: 14px; border-collapse: collapse; margin-bottom: 22px; }
.ih-v1-product .woocommerce-product-attributes th,
.ih-v1-product .woocommerce-product-attributes td { text-align: left; padding: 8px; border-bottom: 1px solid var(--shop-line); }
.ih-v1-product .woocommerce-product-attributes p { margin: 0; }
.ih-v1-product .elementor-accordion .elementor-accordion-item { border: 0; border-bottom: 1px solid var(--shop-line); }
.ih-v1-product .elementor-accordion .elementor-tab-title { padding: 20px 0; font-family: inherit; font-size: 16px; font-weight: 400; color: var(--shop-ink); }
.ih-v1-product .elementor-accordion .elementor-tab-content { padding: 0 0 22px; border: 0; font-size: 15px; line-height: 1.8; color: var(--shop-muted); }
.ih-v1-product .elementor-accordion a { text-decoration: underline; }
.ih-v1-product .related-products.e-con { padding: 45px 0 65px; border-top: 1px solid var(--shop-line); }
.ih-v1-product .related-heading.e-con { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.ih-v1-product .ih-v1-related-intro { width: auto; flex: 1; gap: 13px; }
.ih-v1-product .ih-v1-related-intro .shop-eyebrow { margin: 0; }
.ih-v1-product .ih-v1-all-hair { width: auto; }
.ih-v1-product .ih-v1-all-hair .elementor-button { background: transparent; color: var(--shop-ink); border-radius: 0; border-bottom: 1px solid var(--shop-line); font-size: 14px; padding: 0 0 6px; }
.ih-v1-product .ih-v1-related-link { font-size: 20px; }
.ih-v1-product :is(button, a, select, input, summary):focus-visible { outline: 3px solid #9c7b42; outline-offset: 3px; }
@media (max-width: 1100px) {
  .ih-v1-product.e-con { padding: 0 5%; }
  .ih-v1-product .product-layout.e-con { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5%; }
  .ih-v1-product .product-summary h1 { font-size: 38px; }
}
@media (max-width: 760px) {
  .ih-v1-product .product-layout.e-con { grid-template-columns: minmax(0, 1fr); gap: 35px; padding-bottom: 40px; }
  .ih-v1-product .gallery-story.e-con { max-width: none; padding-top: 24px; }
  .ih-v1-product .product-summary h1 { font-size: 36px; }
  .ih-v1-product .related-heading.e-con { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ih-v1-product .related-products .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .ih-v1-product .related-products .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .ih-v1-product .gallery-label { top: 14px; left: 14px; max-width: calc(100% - 28px); }
}
