/* Narrow functional adapters retained from product.css/image-presentation.css.
   Native Elementor controls own page, card, title, body and editorial styling. */
.ih-v1-native-mode .variations_form .icon-hair-choice--texture { width:calc((100% - 1rem)/3); min-width:0; border-radius:0; padding:8px; }
.ih-v1-native-mode .icon-hair-choice__texture-image { height:120px; object-fit:contain; border-radius:0; }
.ih-v1-native-mode .variations_form .icon-hair-choices.icon-hair-lace-sizes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.ih-v1-native-mode .variations_form .icon-hair-choice--lace { width:100%; display:flex; flex-direction:column; align-items:center; gap:6px; padding:8px 6px 12px; }
.ih-v1-native-mode .icon-hair-lace-diagram { width:100%; height:80px; max-width:100px; color:#947c4c; }
.ih-v1-native-mode .icon-hair-choice--lace[aria-pressed="true"] .icon-hair-lace-diagram { color:#e1c991; }
.ih-v1-native-mode .icon-hair-choice { min-height:44px; border-radius:0; border-color:#dedad2; }
.ih-v1-native-mode .icon-hair-choice[aria-pressed="true"] { background:#29251f; border-color:#29251f; color:#fff; }
.ih-v1-native-mode .single_add_to_cart_button.disabled,
.ih-v1-native-mode .single_add_to_cart_button:disabled { opacity:.5; cursor:not-allowed; }
.ih-v1-native-mode .ih-v1-thumbnails button { cursor:pointer; }
.ih-v1-native-mode .ih-v1-thumbnails img { object-fit:contain; }
.ih-v1-native-mode .ih-v1-gallery-status { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.ih-v1-native-mode .ih-mobile-preview { display:none; }
.ih-v1-native-mode .ih-mobile-preview[hidden] { display:none; }
.ih-v1-native-mode .ih-mobile-preview-dialog { width:min(92vw,620px); max-height:92vh; max-height:92dvh; padding:48px 18px 18px; border:1px solid #ded9cf; background:#faf9f6; color:#27231e; overflow:auto; }
.ih-v1-native-mode .ih-mobile-preview-dialog::backdrop { background:rgb(39 35 30 / 65%); }
.ih-v1-native-mode .ih-mobile-preview-dialog > img { display:block; width:100%; max-height:65vh; max-height:65dvh; object-fit:contain; background:#fff; }
.ih-v1-native-mode .ih-mobile-preview-close { position:absolute; top:4px; right:4px; width:44px; height:44px; padding:0; border:0; background:transparent; color:#27231e; font-size:28px; }
.ih-v1-native-mode .icon-hair-choice:focus-visible,
.ih-v1-native-mode .ih-v1-thumbnails button:focus-visible,
.ih-v1-native-mode .ih-mobile-preview button:focus-visible,
.ih-v1-native-mode .ih-mobile-preview-dialog button:focus-visible,
.ih-v1-native-mode .ih-shop-navigation :is(a,summary):focus-visible,
.ih-v1-native-mode .header-actions :is(a,summary,button,input):focus-visible { outline:2px solid #947c4c; outline-offset:2px; }
.ih-v1-native-mode .ih-nav-group > summary::-webkit-details-marker,
.ih-v1-native-mode .header-actions summary::-webkit-details-marker { display:none; }
.ih-v1-native-mode .ih-nav-group[open] > summary > span { transform:rotate(45deg); }
@media(max-width:767px) {
 .ih-v1-native-mode .variations_form .icon-hair-choice--texture { width:calc((100% - .5rem)/2); }
 .ih-v1-native-mode .variations_form .icon-hair-choices.icon-hair-lace-sizes { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .ih-v1-native-mode .ih-mobile-preview { display:flex; position:fixed; z-index:90; top:calc(12px + env(safe-area-inset-top)); right:12px; width:238px; max-width:calc(100vw - 24px); background:#faf9f6; border:1px solid #b9a477; box-shadow:0 4px 20px rgb(39 35 30 / 12%); }
 .ih-v1-native-mode.admin-bar .ih-mobile-preview { top:calc(58px + env(safe-area-inset-top)); }
 .ih-v1-native-mode .ih-mobile-preview-open { display:flex; align-items:center; gap:10px; width:100%; padding:8px 44px 8px 8px; border:0; background:transparent; color:#27231e; text-align:left; }
 .ih-v1-native-mode .ih-mobile-preview-open img { flex:0 0 64px; width:64px; height:76px; object-fit:contain; background:#fff; }
 .ih-v1-native-mode .ih-mobile-preview-open > span { display:grid; gap:3px; }
 .ih-v1-native-mode .ih-mobile-preview-dismiss { position:absolute; top:0; right:0; width:44px; height:44px; padding:0; border:0; background:transparent; color:#27231e; font-size:22px; }
}

/* Focus-only skip link: accessibility behavior, independent of editorial styles. */
.ih-v1-native-mode .skip { position:absolute; top:-100px; left:20px; z-index:100; padding:10px; background:#faf9f6; color:#26231e; }
.ih-v1-native-mode .skip:focus { top:15px; }

.ih-v1-native-mode .ih-banner-controls[hidden] { display:none; }

/* Keep WooCommerce native selects accessible without expanding the mobile viewport. */
.ih-v1-native-mode .variations_form select.icon-hair-select-hidden { width:1px; max-width:1px; min-width:0; height:1px; padding:0; border:0; }

/* Carousel state: native Elementor grid reserves the tallest slide before JS. */
body.ih-v1-native-mode:not(.elementor-editor-active) .ih-v1-banner-carousel > .ih-v1-banner-slide { grid-area:1 / 1; visibility:hidden; pointer-events:none; }
body.ih-v1-native-mode:not(.elementor-editor-active) .ih-v1-banner-carousel > .ih-v1-banner-slide:first-child:not([aria-hidden="true"]),
body.ih-v1-native-mode:not(.elementor-editor-active) .ih-v1-banner-carousel > .ih-v1-banner-slide.is-active { visibility:visible; pointer-events:auto; }

/* Homepage category cards: mobile labels below unobstructed images. */
@media(max-width:767px){
.elementor-364 :is(.elementor-element-1a0001e,.elementor-element-1a00027,.elementor-element-1a00030,.elementor-element-1a00039) > .elementor-widget-text-editor{position:static!important;inset:auto!important;align-self:flex-start;margin:10px 0 0!important;padding:0!important;background:transparent!important;max-width:100%;font-size:13px;line-height:1.4;}
.elementor-364 .elementor-element.elementor-element-1a0006e{padding-left:20px!important;padding-right:20px!important;box-sizing:border-box;}
}

@media (max-width: 767px) {
 .elementor-364 :is(.elementor-element-1a0001e,.elementor-element-1a00027,.elementor-element-1a00030,.elementor-element-1a00039) .elementor-widget-image,
 .elementor-364 :is(.elementor-element-1a0001e,.elementor-element-1a00027,.elementor-element-1a00030,.elementor-element-1a00039) .elementor-widget-image a {
  display: block; width: 100% !important; max-width: 100% !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important;
 }
 .elementor-364 :is(.elementor-element-1a0001e,.elementor-element-1a00027,.elementor-element-1a00030,.elementor-element-1a00039) .elementor-widget-image img {
  display: block; width: 100% !important; max-width: 100% !important; height: auto !important; border: 0 !important; box-shadow: none !important;
 }
 .elementor-364 :is(.elementor-element-1a0001e,.elementor-element-1a00027,.elementor-element-1a00030,.elementor-element-1a00039) > .elementor-widget-button {
  position: static !important; inset: auto !important; align-self: flex-end; margin-top: 8px;
 }
}
