/* Homepage-only integration. The viewer lives in a separate document; selectors
   here own its insertion, category links and parent dialog, never the site theme. */
#product-showcase { position: relative; padding: 12px 0 56px; scroll-margin-top: 100px; }
#product-showcase .vesa-showcase-frame-wrap { position: relative; border: 1px solid rgba(6,23,47,.13); border-radius: 16px; background: #f8f5ef; overflow: hidden; }
#vesa-showcase-inline { display: block; width: 100%; height: 740px; border: 0; background: #f8f5ef; }
.vesa-showcase-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #515b64; font: 16px/1.5 Arial, sans-serif; pointer-events: none; }
.vesa-showcase-loading[hidden], .vesa-showcase-fallback[hidden] { display: none; }
.vesa-showcase-fallback { padding: 12px 18px; margin: 0; background: #faf7f1; font-size: 14px; }
.vesa-showcase-fallback a { text-decoration: underline; text-underline-offset: 3px; }
.vesa-showcase-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#capability-matrix a[data-vesa-product] { color: inherit; text-decoration: underline; text-decoration-color: #9f8d6c80; text-decoration-thickness: 1px; text-underline-offset: 3px; border-radius: 2px; }
#capability-matrix a[data-vesa-product]:hover { text-decoration-color: currentColor; background: #d6b06a1a; }
#capability-matrix a[data-vesa-product]:focus-visible, #product-showcase a:focus-visible { outline: 2px solid #365c70; outline-offset: 3px; }
#vesa-showcase-menu { white-space: nowrap; }
#vesa-showcase-menu .vesa-showcase-menu-short { display: none; }
/* Shorten only the added label where the existing desktop navigation is tight. */
@media (min-width: 981px) and (max-width: 1100px) {
  #vesa-showcase-menu .vesa-showcase-menu-full { display: none; }
  #vesa-showcase-menu .vesa-showcase-menu-short { display: inline; }
}
body.vesa-showcase-pointer .cursor-dot, body.vesa-showcase-pointer .cursor-ring,
body.vesa-showcase-modal-open .cursor-dot, body.vesa-showcase-modal-open .cursor-ring { opacity: 0 !important; }
#vesa-showcase-dialog { box-sizing: border-box; width: min(1280px, calc(100% - 32px)); height: min(940px, calc(100dvh - 32px)); max-width: none; max-height: none; margin: auto; padding: 0; border: 1px solid #bdb7a9; border-radius: 16px; background: #f8f5ef; color: #06172f; box-shadow: 0 28px 90px #06172f38; overflow: hidden; }
#vesa-showcase-dialog[open] { display: grid; grid-template-rows: auto minmax(0,1fr); }
#vesa-showcase-dialog::backdrop { background: #06172f80; backdrop-filter: blur(5px); }
#vesa-showcase-dialog .vesa-showcase-modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 10px 20px; border-bottom: 1px solid #06172f1a; }
#vesa-showcase-dialog h2 { margin: 0; font: 600 20px/1.3 Arial, sans-serif; letter-spacing: 0; }
#vesa-showcase-dialog .vesa-showcase-modal-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
#vesa-showcase-dialog a, #vesa-showcase-dialog button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; color: #06172f; border-radius: 24px; font: 600 14px/1.3 Arial, sans-serif; cursor: pointer; }
#vesa-showcase-dialog a { text-decoration: underline; text-underline-offset: 3px; }
#vesa-showcase-dialog button { background: #fff9; border: 1px solid #06172f40; }
#vesa-showcase-dialog a:focus-visible, #vesa-showcase-dialog button:focus-visible { outline: 2px solid #365c70; outline-offset: 3px; }
#vesa-showcase-modal-frame { display: block; width: 100%; height: 100%; min-height: 0; border: 0; background: #f8f5ef; }
@media (max-width: 700px) {
  #product-showcase { padding-bottom: 36px; }
  #vesa-showcase-inline { height: 850px; }
  #vesa-showcase-dialog { width: calc(100% - 12px); height: calc(100dvh - 12px); border-radius: 12px; }
  #vesa-showcase-dialog .vesa-showcase-modal-bar { min-height: 64px; padding: 8px 12px; gap: 8px; }
  #vesa-showcase-dialog h2 { font-size: 16px; }
  #vesa-showcase-dialog .vesa-showcase-modal-actions { gap: 2px; }
  #vesa-showcase-dialog a, #vesa-showcase-dialog button { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  #vesa-showcase-dialog::backdrop { backdrop-filter: none; }
}

