/* NEXOZS Hero V38 - storefront fallback hero only, never admin */
[data-nexozs-v38-hero] {
  box-sizing: border-box;
  height: auto !important;
  min-height: 0 !important;
  max-height: clamp(315px, 28vw, 390px) !important;
  padding-top: clamp(12px, 1.5vw, 22px) !important;
  padding-bottom: clamp(12px, 1.5vw, 22px) !important;
  overflow: hidden;
  position: relative;
}
[data-nexozs-v38-hero] *, [data-nexozs-v38-hero] *::before,
[data-nexozs-v38-hero] *::after {box-sizing:border-box}
[data-nexozs-v38-hero] > * {min-height: 0 !important;}
[data-nexozs-v38-hero] h1,
[data-nexozs-v38-hero] h2 {
  font-size: clamp(24px, 2.65vw, 43px) !important;
  line-height: 1.12 !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}
[data-nexozs-v38-hero] [data-nexozs-v38-art] {
  display: block;
  max-height: clamp(240px, 26vw, 352px) !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
/* Existing composite art must stay still. Individual gadgets are not separate DOM layers. */
[data-nexozs-v38-hero] [data-nexozs-v38-stop-group] {
  animation: none !important;
}
[data-nexozs-v38-hero][data-v38-motion="on"] [data-v38-product="headphone"] { animation: nexov38Headphone calc(6.2s * var(--nexo-v38-speed, 1)) ease-in-out -1.1s infinite both !important; }
[data-nexozs-v38-hero][data-v38-motion="on"] [data-v38-product="watch"] { animation: nexov38Watch calc(4.8s * var(--nexo-v38-speed, 1)) ease-in-out -2.3s infinite both !important; }
[data-nexozs-v38-hero][data-v38-motion="on"] [data-v38-product="earbuds"] { animation: nexov38Earbuds calc(5.6s * var(--nexo-v38-speed, 1)) ease-in-out -3s infinite both !important; }
[data-nexozs-v38-hero][data-v38-motion="on"] [data-v38-product="powerbank"] { animation: nexov38Powerbank calc(7.3s * var(--nexo-v38-speed, 1)) ease-in-out -1.6s infinite both !important; }
[data-nexozs-v38-hero][data-v38-motion="on"] [data-v38-product="phone"] { animation: nexov38Phone calc(6.7s * var(--nexo-v38-speed, 1)) ease-in-out -4.1s infinite both !important; }
[data-nexozs-v38-hero][data-v38-motion="on"] [data-v38-badge="trust"] { animation: nexov38Trust calc(5.1s * var(--nexo-v38-speed, 1)) ease-in-out -2.5s infinite both !important; }
[data-nexozs-v38-hero][data-v38-motion="on"] [data-v38-badge="offer"] { animation: nexov38Offer calc(6s * var(--nexo-v38-speed, 1)) ease-in-out -3.6s infinite both !important; }
@keyframes nexov38Headphone {0%,100%{transform:translate3d(0,0,0) rotate(-1deg)}50%{transform:translate3d(0,-9px,0) rotate(1deg)}}
@keyframes nexov38Watch {0%,100%{transform:translate3d(0,3px,0)}50%{transform:translate3d(0,-6px,0)}}
@keyframes nexov38Earbuds {0%,100%{transform:translate3d(0,2px,0) scale(1)}50%{transform:translate3d(0,-5px,0) scale(1.03)}}
@keyframes nexov38Powerbank {0%,100%{transform:translate3d(0,0,0) rotate(-1deg)}50%{transform:translate3d(0,-5px,0) rotate(1deg)}}
@keyframes nexov38Phone {0%,100%{transform:translate3d(-3px,0,0)}50%{transform:translate3d(4px,-2px,0)}}
@keyframes nexov38Trust {0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-7px,0)}}
@keyframes nexov38Offer {0%,100%{transform:translate3d(0,2px,0)}50%{transform:translate3d(0,-6px,0)}}
@media (min-width:601px) and (max-width:991px) {
  [data-nexozs-v38-hero] {max-height: 345px !important; padding-top:16px !important; padding-bottom:16px !important;}
  [data-nexozs-v38-hero] [data-nexozs-v38-art] {max-height: 280px !important;}
}
@media (max-width:600px) {
  /* Prefer readable editable hero content over clipping in small viewports */
  [data-nexozs-v38-hero] {max-height:none !important; min-height:0 !important; padding: 13px 12px !important; overflow:visible;}
  [data-nexozs-v38-hero] h1,[data-nexozs-v38-hero] h2 {font-size:clamp(20px,5.2vw,28px) !important; margin-bottom:7px !important;}
  [data-nexozs-v38-hero] [data-nexozs-v38-art] {max-height:185px !important;}
}
@media (prefers-reduced-motion:reduce) {
  [data-nexozs-v38-hero] [data-v38-product],
  [data-nexozs-v38-hero] [data-v38-badge] {animation:none !important;}
}
