.hibr-open-ai,[data-hibr-ai]{cursor:pointer}
.hibr-open-ai:disabled,[data-hibr-ai]:disabled{opacity:.65;cursor:wait}
.hibr-ai-inline-status,#hibr-ai-launch-status{color:#d3b18b;line-height:1.7;font-size:14px;margin:12px 0}
.hibr-ai-inline-retry{border:1px solid #c99b54;border-radius:8px;background:#211b16;color:#f7e5c8;padding:10px 16px;font:inherit;cursor:pointer}
.hibr-ai-inline-retry[hidden]{display:none!important}
:is(.hibr-studio-2030,#hibr-mobile-tool-drawer) .hibr-size-options button.is-active,
:is(.hibr-studio-2030,#hibr-mobile-tool-drawer) .hibr-side-switch button.is-active,
:is(.hibr-studio-2030,#hibr-mobile-tool-drawer) .hibr-placement-controls button.is-active,
:is(.hibr-studio-2030,#hibr-mobile-tool-drawer) [data-draw-tool].is-active{background:#d8b96f!important;color:#17130c!important;border:2px solid #f8e2a6!important;box-shadow:0 0 0 2px #17130c,0 0 0 4px #d8b96f!important;font-weight:700!important}
:is(.hibr-studio-2030,#hibr-mobile-tool-drawer) .hibr-color-options button,
:is(.hibr-studio-2030,#hibr-mobile-tool-drawer) .hibr-text-colors button{position:relative!important}
:is(.hibr-studio-2030,#hibr-mobile-tool-drawer) .hibr-color-options button.is-active,
:is(.hibr-studio-2030,#hibr-mobile-tool-drawer) .hibr-text-colors button.is-active{outline:3px solid #e8c878!important;outline-offset:4px!important;box-shadow:0 0 0 2px #111!important}
:is(.hibr-studio-2030,#hibr-mobile-tool-drawer) .hibr-color-options button.is-active:after,
:is(.hibr-studio-2030,#hibr-mobile-tool-drawer) .hibr-text-colors button.is-active:after{content:'✓'!important;position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;color:white!important;font-size:18px!important;font-weight:800!important;text-shadow:0 1px 3px black,0 0 4px black!important}
#hibr-cart-feedback{font-size:14px;line-height:1.7;color:#e8c878;margin:12px 0}
#hibr-cart-feedback.is-error{color:#ffb4ab}
#hibr-add-to-cart:disabled,#hibr-save-design:disabled{opacity:.65!important;cursor:wait!important}
/* Keep the existing preview and tools together; mobile tools never enter a dialog. */
@media(max-width:800px){
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-live-layout{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;overflow:visible!important}
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-preview-console{order:0!important;position:relative!important;inset:auto!important;width:100%!important;flex:none!important;z-index:auto!important}
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-studio-panel{order:1!important;display:block!important;position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-height:44svh!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain;scrollbar-gutter:stable;flex:none!important;visibility:visible!important;opacity:1!important}
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-preview-stage{height:clamp(190px,30svh,300px)!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important}
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-preview-topbar{min-height:38px!important;padding:7px 10px!important;gap:8px!important}
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-preview-topbar>div:first-child{display:none!important}
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-side-switch{width:100%!important;display:flex!important;gap:8px!important}
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-side-switch button{flex:1!important;min-height:34px!important}
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-studio-toolbar{min-height:38px!important;padding:6px 10px!important}
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-studio-toolbar>span{display:none!important}
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-preview-footer{padding:7px 10px!important;gap:8px!important;font-size:12px!important}
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-preview-hint{display:none!important}
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-studio-panel-head{min-height:38px!important;padding:10px 14px!important}
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-studio-panel:focus-visible{outline:2px solid #d8b96f;outline-offset:2px}
}
@media(max-width:800px){
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-preview-stage{display:flex!important;align-items:center!important;justify-content:center!important}
  body.hibr-designer-enhanced .hibr-studio-2030 .hibr-garment-object{width:min(92%,calc(clamp(190px,30svh,300px) - 12px))!important;max-width:none!important;flex:none!important}
}
/* Display a separate garment proof while retaining the original print files. */
img.hibr-cart-product-preview{object-fit:contain!important;background:#161513!important;width:140px!important;height:140px!important}
.hibr-drawer-content li.woocommerce-mini-cart-item{grid-template-columns:minmax(0,1fr)!important;min-width:0!important;gap:10px!important}
.hibr-drawer-content li.woocommerce-mini-cart-item>a:not(.remove){display:block!important;min-width:0!important;padding-inline-end:22px!important}
.hibr-drawer-content li.woocommerce-mini-cart-item img.hibr-cart-product-preview{float:right!important;width:112px!important;height:112px!important;margin:0 0 10px 12px!important;object-fit:contain!important}
.hibr-drawer-content li.woocommerce-mini-cart-item .variation{display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;gap:6px 10px!important;clear:both!important;width:100%!important;margin:0!important;font-size:13px!important;line-height:1.7!important}
.hibr-drawer-content li.woocommerce-mini-cart-item .variation dt,
.hibr-drawer-content li.woocommerce-mini-cart-item .variation dd{display:block!important;float:none!important;min-width:0!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important}
.hibr-drawer-content li.woocommerce-mini-cart-item .variation dd p{margin:0!important}
.hibr-drawer-content li.woocommerce-mini-cart-item .quantity{clear:both!important}
