/* HxH Store 1.6.13: stable art, low-cost motion, reduced repaint work. */
:root{--hxh-motion-ease:cubic-bezier(.2,.75,.25,1)}

/* The hero illustration is intentionally static: no drifting scene, orbit or bobbing.
   Its fixed geometry prevents the highlighted artwork from appearing to jump. */
.hx-hero .hx-scene-css{animation:none!important;transform:none!important;background-position:center!important;}
.hx-hero .hx-ring{animation:none!important;transform:none!important;}
.hx-hero .hx-tile{animation:none!important;filter:none!important;}
.hx-hero .hx-tile-in{animation:none!important;translate:0 0!important;transform-origin:center;filter:none!important;box-shadow:0 8px 18px rgba(73,43,135,.16),inset 0 1px 0 rgba(255,255,255,.75)!important;}
.hx-hero .hx-mainlogo{animation:none!important;translate:0 0!important;filter:none!important;will-change:auto!important;}
.hx-hero .hx-glow{filter:none!important;opacity:.65;}
.hx-hero .hero-art{isolation:isolate;}

/* One-time entrance animation, then everything settles into a stable layout. */
.hx-hero .hero-copy{animation:hxhHeroCopyIn .46s var(--hxh-motion-ease) both;}
.hx-hero .hero-art{animation:hxhHeroArtIn .54s var(--hxh-motion-ease) .04s both;}
@keyframes hxhHeroCopyIn{from{opacity:0;transform:translate3d(0,9px,0)}to{opacity:1;transform:none}}
@keyframes hxhHeroArtIn{from{opacity:.45;transform:translate3d(0,7px,0) scale(.99)}to{opacity:1;transform:none}}

/* Avoid permanently promoting dozens of cards to their own GPU layers. */
.hx-reveal{will-change:auto!important;}
.product,.category-card{animation:none!important;will-change:auto!important;}
.product,.category-card,.mini-banner,.journey-step,.fb-tile{transition:transform .22s var(--hxh-motion-ease),border-color .22s ease,box-shadow .22s ease!important;}
@media(hover:hover){
 .product:hover,.category-card:hover,.mini-banner:hover,.journey-step:hover,.fb-tile:hover{transform:translate3d(0,-2px,0);}
 .hx-hero .hero-actions .btn:hover{transform:translate3d(0,-2px,0);}
}
.btn,.icon-btn,.tab,.top-link,.mobile-nav a{transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .2s ease,transform .18s var(--hxh-motion-ease)!important;}
.btn:active,.icon-btn:active,.tab:active{transform:scale(.98);}

/* Keep the clean glass look without repaint-heavy backdrop blurs while scrolling. */
html[data-theme=white] .public-home-topbar{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:rgba(255,255,255,.97)!important;}
#overlay:not(:empty) .overlay{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
#overlay .modal-head{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}

/* Lightweight, accessible motion for lists and dialogs; no layout-affecting animation. */
#overlay:not(:empty) .overlay{animation:hxhOverlayFade .16s ease-out both;}
#overlay .modal{animation:hxhModalEnter .2s var(--hxh-motion-ease) both;}
@keyframes hxhOverlayFade{from{opacity:0}to{opacity:1}}
@keyframes hxhModalEnter{from{opacity:0;transform:translate3d(0,7px,0) scale(.995)}to{opacity:1;transform:none}}
@media(max-width:760px){
 .hx-hero .hero-copy{animation-duration:.32s;}
 .hx-hero .hero-art{animation-duration:.38s;}
 html[data-theme=white] .public-home-topbar{height:auto;min-height:60px;}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;}
 .hx-hero .hero-copy,.hx-hero .hero-art{opacity:1!important;transform:none!important;}
}


/* v1.6.14: smooth without stacking several reveal engines on the same content. */
.hx-reveal {
  opacity: 0;
  transform: translate3d(0, 7px, 0);
  transition: opacity .22s ease-out, transform .24s cubic-bezier(.2,.75,.25,1) !important;
  transition-delay: 0ms !important;
  will-change: auto !important;
}
.hx-reveal.hx-reveal-visible { opacity: 1; transform: translate3d(0,0,0); }
html[data-theme] .admin-tabs,
html[data-theme] .topbar,
html[data-theme] .catalog-toolbar {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html[data-theme="white"] .topbar { background: rgba(255,255,255,.97) !important; }
html[data-theme="black"] .topbar { background: rgba(14,8,26,.97) !important; }
/* Tab panels get a tiny opacity/translate entrance; the main page is never snapshot-animated. */
.admin-tab-content { min-width: 0; }
.admin-tab-enter { animation: hxhAdminTabEnter .14s ease-out both; }
@keyframes hxhAdminTabEnter {
  from { opacity: .9; transform: translate3d(0, 3px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
html.hx-lowfx .admin-tab-enter,
html.hx-lowfx .admin-tab-content { animation: none !important; }
html.hx-lowfx .hx-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
html.hx-lowfx { scroll-behavior: auto !important; }
.admin-tabs { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  .admin-tab-enter { animation: none !important; }
  .hx-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Low-power devices get a calm, static loader before the main bundle starts. */
html.hx-lowfx .boot-orbit span,
html.hx-lowfx .boot-progress i,
html.hx-lowfx .boot-dots i,
html.hx-lowfx .boot-bars i,
html.hx-lowfx .bs-star,
html.hx-lowfx .bs-rocket,
html.hx-lowfx .bs-tile,
html.hx-lowfx .bs-flame { animation: none !important; }
html.hx-lowfx .boot-progress i { width: 100%; opacity: .7; }

/* --------------------------------------------------------------------------
   v1.6.16 — stable hero art, readable desktop layout, and crisp email previews.
   The hero logos are now placed on a fixed eight-point orbit. No orbit spin,
   counter-spin, photo layer, blur animation, or layout-shifting motion.
   -------------------------------------------------------------------------- */
.hx-hero .hero-art {
  --ring: clamp(300px, 31vw, 420px);
  --tile: clamp(62px, 6vw, 88px);
  position: relative;
  isolation: isolate;
  min-height: calc(var(--ring) + var(--tile) + 28px);
  overflow: visible;
  background: radial-gradient(ellipse at 50% 50%, rgba(14,124,90, .10), transparent 68%);
}
.hx-hero .hx-scene-css { display: none !important; }
.hx-hero .hx-glow {
  left: 12%; right: 12%; top: 12%; bottom: 12%; height: auto;
  opacity: .7; filter: none !important;
  background: radial-gradient(ellipse at center, rgba(14,124,90, .13), transparent 68%);
  pointer-events: none;
}
.hx-hero .hx-ring {
  animation: none !important;
  border: 0 !important;
  transform: none !important;
}
.hx-hero .hx-tile {
  left: var(--hx-tile-x, 50%) !important;
  top: var(--hx-tile-y, 50%) !important;
  width: var(--tile) !important;
  height: var(--tile) !important;
  margin: 0 !important;
  transform: translate3d(-50%, -50%, 0) !important;
  animation: none !important;
  will-change: auto !important;
}
.hx-hero .hx-tile-in {
  width: 100%; height: 100%;
  animation: none !important;
  transform: none !important;
  transition: transform .18s ease-out, filter .18s ease-out !important;
  filter: drop-shadow(0 9px 11px rgba(50, 32, 110, .20));
}
.hx-hero .hx-tile-in img {
  display: block; width: 100%; height: 100%; object-fit: contain;
  transform: none !important;
  filter: none !important;
}
.hx-hero .hx-tile:hover .hx-tile-in {
  transform: translate3d(0, -2px, 0) !important;
  filter: drop-shadow(0 12px 13px rgba(50, 32, 110, .24));
}
.hx-hero .ht1 { --hx-tile-x: 50%; --hx-tile-y: 7%; }
.hx-hero .ht2 { --hx-tile-x: 80%; --hx-tile-y: 20%; }
.hx-hero .ht3 { --hx-tile-x: 93%; --hx-tile-y: 50%; }
.hx-hero .ht4 { --hx-tile-x: 80%; --hx-tile-y: 80%; }
.hx-hero .ht5 { --hx-tile-x: 50%; --hx-tile-y: 93%; }
.hx-hero .ht6 { --hx-tile-x: 20%; --hx-tile-y: 80%; }
.hx-hero .ht7 { --hx-tile-x: 7%; --hx-tile-y: 50%; }
.hx-hero .ht8 { --hx-tile-x: 20%; --hx-tile-y: 20%; }
.hx-hero .hx-mainlogo { box-shadow: 0 20px 44px -24px rgba(9,90,66, .55); }
.hx-hero .hx-mainlogo img { display: block; }

/* Make first paint calm; animate only content that actually enters the viewport. */
html { scroll-behavior: smooth; }
html.hx-lowfx { scroll-behavior: auto !important; }
.hx-reveal {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity .22s ease-out, transform .24s cubic-bezier(.2, .75, .25, 1) !important;
  transition-delay: 0ms !important;
  will-change: auto !important;
}
.hx-reveal.hx-reveal-visible { opacity: 1; transform: translate3d(0, 0, 0); }
@media (prefers-reduced-motion: reduce) {
  html.hx-lowfx .hx-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Desktop balance: keep the brand mark visible and let the hero breathe on wide screens. */
@media (min-width: 1101px) {
  .topbar .top-brand:not([hidden]) { display: flex !important; align-items: center; gap: 8px; flex: 0 0 auto; }
  .topbar .top-brand img { width: 38px; height: 38px; border-radius: 12px; }
  .topbar .top-brand span { display: flex; flex-direction: column; line-height: 1; }
  .topbar .top-brand strong { font-size: 15px; font-weight: 800; letter-spacing: -.35px; }
  .topbar .top-brand small { margin-top: 4px; font-size: 8px; letter-spacing: .12em; }
  .topbar { gap: clamp(8px, .8vw, 14px); }
  .topbar .top-nav { flex: 0 1 auto; min-width: 0; }
  .topbar .header-search { max-width: 280px; }
  .hx-hero .hero-art { max-width: 520px; justify-self: end; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .hx-hero .hero-art { --ring: min(400px, calc(100vw - 200px)); --tile: 68px; }
  .topbar .top-brand:not([hidden]) { display: flex !important; }
}
@media (max-width: 760px) {
  .hx-hero .hero-art { --ring: max(220px, calc(100vw - 134px)); --tile: 56px; }
  .hx-hero .hx-tile:hover .hx-tile-in { transform: none !important; }
  .topbar .top-brand:not([hidden]) { display: flex !important; }
  html { scroll-behavior: auto; }
}
@media (max-width: 380px) {
  .hx-hero .hero-art { --tile: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .hx-hero .hx-ring, .hx-hero .hx-tile-in, .hx-hero .hx-tile-in img { animation: none !important; transition: none !important; transform: none !important; }
  .hx-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
html.hx-lowfx .hx-hero .hx-ring,
html.hx-lowfx .hx-hero .hx-tile-in,
html.hx-lowfx .hx-hero .hx-tile-in img { animation: none !important; transition: none !important; transform: none !important; }

/* Email templates studio: sharper labels, a more useful desktop preview, no cramped text. */
.email-templates-panel { min-width: 0; }
.email-template-kind { min-width: 0; padding: 18px 0 22px; }
.email-template-kind h3 { color: var(--hx-ink, #181329); font-size: 15px; font-weight: 750; line-height: 1.4; letter-spacing: -.2px; }
.email-template-options { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.email-template-option { min-width: 0; justify-content: flex-start; border-radius: 14px !important; padding: 10px 12px; line-height: 1.4; text-align: left; overflow-wrap: anywhere; }
.email-template-option:hover { transform: translateY(-1px); }
.email-template-option.selected { background: color-mix(in srgb, var(--hx-primary, #0e7c5a) 7%, var(--hx-card, #fff)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--hx-primary, #0e7c5a) 10%, transparent); }
.email-template-swatch { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; }
.email-template-active { flex: 0 0 auto; margin-left: auto; font-size: 9px; line-height: 1.2; padding: 4px 7px; }
.email-template-preview { margin-top: 14px; border-radius: 16px; background: #fff; border-color: var(--hx-card-line, #e7e0f7); box-shadow: 0 14px 32px -28px rgba(39, 22, 89, .48); }
.email-template-preview iframe { height: 490px; min-height: 320px; background: #fff; }
.email-template-preview-actions { margin-top: 10px; }
.email-template-preview-actions .btn { min-height: 40px; }
html[data-theme="black"] .email-template-kind h3 { color: #f4eeff; }
html[data-theme="black"] .email-template-option { background: #171027; border-color: #342450; color: #efe8ff; }
html[data-theme="black"] .email-template-option.selected { background: #24133f; border-color: #5fd3a8; }
@media (max-width: 760px) {
  .email-template-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .email-template-option { gap: 7px; padding: 9px; font-size: 11px; }
  .email-template-swatch { width: 26px; height: 26px; flex-basis: 26px; }
  .email-template-preview iframe { height: 390px; min-height: 280px; }
}
@media (max-width: 420px) {
  .email-template-options { grid-template-columns: minmax(0, 1fr); }
}

/* v1.6.16: transparent laptop hero scene, behind existing provider/logo tiles. */
.hx-hero .hero-art{position:relative;isolation:isolate;overflow:visible;}
.hx-hero .hx-laptop-art{position:absolute;z-index:1;left:50%;top:50%;display:block;width:112%;height:100%;max-width:none;object-fit:contain;object-position:center;transform:translate3d(-50%,-50%,0);pointer-events:none;user-select:none;-webkit-user-drag:none;}
.hx-hero .hx-ring{z-index:2;}
.hx-hero .hx-mainlogo{display:none!important;}
@media(max-width:760px){
 .hx-hero .hx-laptop-art{width:110%;height:96%;top:49%;}
}
@media(max-width:380px){
 .hx-hero .hx-laptop-art{width:108%;height:94%;}
}


/* v1.6.17 — product details are discoverable across the full card; motion stays subtle. */
.product[data-product-id] { cursor: pointer; transition: transform .16s ease-out, box-shadow .16s ease-out, border-color .16s ease-out; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .product[data-product-id]:hover { transform: translate3d(0,-2px,0); }
}
.product-title { display: block; }
.product-title-trigger {
  appearance: none; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  width: 100%; min-width: 0; min-height: 2.7em; margin: 0; padding: 0;
  border: 0 !important; border-radius: 0 !important; background: transparent !important;
  box-shadow: none !important; color: inherit; font: inherit; font-weight: inherit;
  line-height: inherit; letter-spacing: inherit; text-align: left; cursor: pointer;
}
.product-title-trigger:focus-visible { outline: 2px solid var(--hx-primary, #17a67a); outline-offset: 3px; border-radius: 3px !important; }
#overlay .overlay { animation: hxhModalFadeIn .12s ease-out both; }
#overlay .modal { animation: hxhModalLiftIn .16s cubic-bezier(.2,.75,.25,1) both; }
@keyframes hxhModalFadeIn { from { opacity: .55; } to { opacity: 1; } }
@keyframes hxhModalLiftIn { from { opacity: .8; transform: translate3d(0,5px,0) scale(.995); } to { opacity: 1; transform: translate3d(0,0,0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .product[data-product-id], #overlay .overlay, #overlay .modal { animation: none !important; transition: none !important; transform: none !important; }
}
html.hx-lowfx .product[data-product-id], html.hx-lowfx #overlay .overlay, html.hx-lowfx #overlay .modal { animation: none !important; transition: none !important; transform: none !important; }


/* v1.6.17 — product details are discoverable across the full card; motion stays subtle. */
.product[data-product-id] { cursor: pointer; transition: transform .16s ease-out, box-shadow .16s ease-out, border-color .16s ease-out; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .product[data-product-id]:hover { transform: translate3d(0,-2px,0); }
}
.product-title { display: block; }
.product-title-trigger {
  appearance: none; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  width: 100%; min-width: 0; min-height: 2.7em; margin: 0; padding: 0;
  border: 0 !important; border-radius: 0 !important; background: transparent !important;
  box-shadow: none !important; color: inherit; font: inherit; font-weight: inherit;
  line-height: inherit; letter-spacing: inherit; text-align: left; cursor: pointer;
}
.product-title-trigger:focus-visible { outline: 2px solid var(--hx-primary, #17a67a); outline-offset: 3px; border-radius: 3px !important; }
#overlay .overlay { animation: hxhModalFadeIn .12s ease-out both; }
#overlay .modal { animation: hxhModalLiftIn .16s cubic-bezier(.2,.75,.25,1) both; }
@keyframes hxhModalFadeIn { from { opacity: .55; } to { opacity: 1; } }
@keyframes hxhModalLiftIn { from { opacity: .8; transform: translate3d(0,5px,0) scale(.995); } to { opacity: 1; transform: translate3d(0,0,0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .product[data-product-id], #overlay .overlay, #overlay .modal { animation: none !important; transition: none !important; transform: none !important; }
}
html.hx-lowfx .product[data-product-id], html.hx-lowfx #overlay .overlay, html.hx-lowfx #overlay .modal { animation: none !important; transition: none !important; transform: none !important; }


/* v1.6.18 — balanced hero orbit: keep provider tiles outside the laptop screen. */
.hx-hero .hx-laptop-art {
  width: 96%; height: 90%; left: 50%; top: 50%;
  object-fit: contain; object-position: center;
}
.hx-hero .hx-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx-hero .ht1 { --hx-tile-x: 50%; --hx-tile-y: 5%; }
.hx-hero .ht2 { --hx-tile-x: 82%; --hx-tile-y: 17%; }
.hx-hero .ht3 { --hx-tile-x: 95%; --hx-tile-y: 50%; }
.hx-hero .ht4 { --hx-tile-x: 82%; --hx-tile-y: 83%; }
.hx-hero .ht5 { --hx-tile-x: 50%; --hx-tile-y: 95%; }
.hx-hero .ht6 { --hx-tile-x: 18%; --hx-tile-y: 83%; }
.hx-hero .ht7 { --hx-tile-x: 5%; --hx-tile-y: 50%; }
.hx-hero .ht8 { --hx-tile-x: 18%; --hx-tile-y: 17%; }
.hx-hero .hx-tile-in { transition: transform .16s ease-out, filter .16s ease-out !important; }
.hx-hero .hx-tile:hover .hx-tile-in { transform: translate3d(0,-3px,0) !important; }
@media (max-width: 760px) {
  .hx-hero .hx-laptop-art { width: 91%; height: 84%; top: 51%; }
  .hx-hero .hx-tile { width: clamp(48px, 12vw, 64px) !important; height: clamp(48px, 12vw, 64px) !important; }
  .hx-hero .ht1 { --hx-tile-x: 50%; --hx-tile-y: 7%; }
  .hx-hero .ht2 { --hx-tile-x: 83%; --hx-tile-y: 20%; }
  .hx-hero .ht3 { --hx-tile-x: 94%; --hx-tile-y: 50%; }
  .hx-hero .ht4 { --hx-tile-x: 83%; --hx-tile-y: 80%; }
  .hx-hero .ht5 { --hx-tile-x: 50%; --hx-tile-y: 93%; }
  .hx-hero .ht6 { --hx-tile-x: 17%; --hx-tile-y: 80%; }
  .hx-hero .ht7 { --hx-tile-x: 6%; --hx-tile-y: 50%; }
  .hx-hero .ht8 { --hx-tile-x: 17%; --hx-tile-y: 20%; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-hero .hx-tile-in, .product[data-product-id], #overlay .overlay, #overlay .modal { transition: none !important; animation: none !important; }
}
