/* ==========================================================================
   HxH Store · v2.9.15 Pro UI layer  (UI ONLY – no backend / API change)
   Loaded LAST. Logo-centred hero (/assets/main.jpg) + SVG brand logos
   (/assets/logos/*.svg), cleaner type, calmer cards, solid mobile support.
   ========================================================================== */

:root{--hxp-r:20px;--hxp-ease:cubic-bezier(.2,.8,.2,1)}
html{-webkit-text-size-adjust:100%;scroll-padding-top:90px}
body{overflow-x:hidden;font-family:'M1 Text',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif}
img,svg,video{max-width:100%}
h1,h2,h3,.hx-hero h2{font-family:'M1 Display','M1 Text',system-ui,sans-serif}

/* ---------- top bar ---------- */
html[data-theme] .topbar{height:72px;box-shadow:0 1px 0 var(--hx-card-line),0 8px 24px -18px rgba(60,40,160,.35)}
.top-link{font-weight:600;letter-spacing:.1px}
.top-link.active:after{height:3px;border-radius:3px 3px 0 0;bottom:-14px}
html[data-theme] .header-search:focus-within{box-shadow:0 0 0 3px rgba(106,85,224,.18)!important;border-color:var(--hx-primary)!important}

/* ---------- buttons ---------- */
html[data-theme] .btn:not(.secondary){background:linear-gradient(135deg,var(--hx-primary),var(--hx-primary2))!important;color:#fff!important;border:0!important;border-radius:14px;font-weight:700;box-shadow:0 10px 24px -8px rgba(89,66,214,.55);transition:transform .2s var(--hxp-ease),box-shadow .2s var(--hxp-ease)}
html[data-theme] .btn:not(.secondary):hover{transform:translateY(-2px);box-shadow:0 16px 30px -10px rgba(89,66,214,.6)}
html[data-theme] .btn:active{transform:translateY(0)}
html[data-theme] .btn.secondary{background:var(--hx-card)!important;color:var(--hx-ink)!important;border:1px solid var(--hx-card-line)!important;border-radius:14px;font-weight:650}
html[data-theme] .btn.secondary:hover{border-color:var(--hx-primary)!important;color:var(--hx-primary)!important}
:focus-visible{outline:3px solid rgba(106,85,224,.55)!important;outline-offset:2px;border-radius:10px}

/* ---------- hero ---------- */
html[data-theme] .hero.hx-hero{border:1px solid var(--hx-card-line);box-shadow:var(--hx-shadow-lg);min-height:480px}
.hx-hero h2{letter-spacing:-.045em;font-weight:700}
.hx-hero p{color:var(--hx-ink2)}
.hx-hero .eyebrow{letter-spacing:1.6px;font-weight:700;box-shadow:0 4px 14px -8px rgba(86,70,180,.4)}
.hx-hero .hero-notes{gap:14px 34px}
.hx-hero .hero-notes svg{box-shadow:0 8px 18px -10px rgba(86,70,180,.5)}

/* centre logo (assets/main.jpg) + rotating ring of brand logos */
.hx-hero .hero-art{--ring:clamp(300px,31vw,420px);--tile:74px;min-height:calc(var(--ring) + var(--tile) + 28px)}
.hx-glow{left:14%;right:14%;bottom:10%;height:50%;opacity:.9}
.hx-ring{position:absolute;left:50%;top:50%;width:var(--ring);height:var(--ring);margin:calc(var(--ring) / -2) 0 0 calc(var(--ring) / -2);border-radius:50%;border:1.5px dashed rgba(106,85,224,.32);z-index:2;animation:hxpSpin 40s linear infinite}
.hx-hero .hx-tile{position:absolute;left:50%;top:50%;width:var(--tile);height:var(--tile);margin:calc(var(--tile) / -2) 0 0 calc(var(--tile) / -2);background:none!important;border:0;box-shadow:none;animation:none;display:block;transform:rotate(calc(var(--i) * 45deg)) translateY(calc(var(--ring) / -2)) rotate(calc(var(--i) * -45deg))}
.hx-tile-in{width:100%;height:100%;border-radius:22px;display:grid;place-items:center;background:#fff;border:1px solid rgba(255,255,255,.9);box-shadow:0 16px 34px -12px rgba(60,40,160,.4);animation:hxpSpin 40s linear infinite reverse}
.hx-tile-in img{width:52%;height:52%;object-fit:contain;display:block}
.ht1 .hx-tile-in{background:#0b0b0f}.ht2 .hx-tile-in{background:#10a37f}.ht4 .hx-tile-in{background:linear-gradient(135deg,#00c4cc,#7d2ae8)}.ht6 .hx-tile-in{background:#1db954}
.hx-mainlogo{position:absolute;left:50%;top:50%;width:calc(var(--ring) * .5);aspect-ratio:1;transform:translate(-50%,-50%);z-index:3;padding:0;border-radius:30px;background:none;border:0;box-shadow:0 28px 54px -22px rgba(86,60,200,.55)}
.hx-mainlogo img{width:100%;height:100%;object-fit:cover;border-radius:30px;display:block}
.hx-leaf{display:none}
@keyframes hxpSpin{to{transform:rotate(360deg)}}

/* heading: heavy and bold */
.hx-hero h2{font-family:'M1 Text',system-ui,sans-serif;font-weight:800;letter-spacing:-.04em}
.hx-hero h2 em{font-weight:800}

/* ---------- sections + cards ---------- */
html[data-theme] .featured-showcase-head h2,html[data-theme] .section-title h2{font-weight:700;letter-spacing:-.03em}
.featured-grid>*,.products-grid>*,html[data-theme] .category-card,html[data-theme] .feature{transition:transform .22s var(--hxp-ease),box-shadow .22s var(--hxp-ease),border-color .22s}
.featured-grid>*:hover,.products-grid>*:hover,html[data-theme] .category-card:hover{transform:translateY(-4px);box-shadow:var(--hx-shadow-lg);border-color:rgba(106,85,224,.35)}
html[data-theme] .tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
html[data-theme] .tabs::-webkit-scrollbar{display:none}
html[data-theme] .tabs .tab{flex:0 0 auto;scroll-snap-align:start;border-radius:999px;min-height:40px}

/* ---------- tablet ---------- */
@media(max-width:1100px){
  .hx-hero .hero-art{--ring:min(400px,calc(100vw - 200px));--tile:68px;max-width:560px;margin-inline:auto}
}

/* ---------- mobile ---------- */
@media(max-width:760px){
  html[data-theme] .topbar{padding:max(10px,env(safe-area-inset-top)) 14px 12px}
  html[data-theme] .content{padding:14px 14px calc(104px + env(safe-area-inset-bottom))}
  html[data-theme] .hero.hx-hero{padding:28px 18px 4px;min-height:0}
  .hx-hero h2{font-size:clamp(34px,10.5vw,44px)}
  .hx-hero .hero-notes{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:20px}
  .hx-hero .hero-notes span{grid-template-columns:1fr;justify-items:center;text-align:center;row-gap:4px}
  .hx-hero .hero-notes svg{grid-row:auto;width:36px;height:36px;padding:8px}
  .hx-hero .hero-notes b{font-size:12px;align-self:auto}
  .hx-hero .hero-notes i{font-size:11px}
  .hx-hero .hero-actions .btn{min-width:0;flex:1 1 0;justify-content:center;text-align:center}
  .hx-hero .hero-art{--ring:max(220px,calc(100vw - 134px));--tile:52px;margin-top:22px;min-height:calc(var(--ring) + var(--tile) + 20px)}
  .hx-tile-in{border-radius:16px}
  html[data-theme] .mobile-nav{padding-bottom:env(safe-area-inset-bottom)}
  html[data-theme] .mobile-nav a{min-height:48px}
  html[data-theme] .btn,html[data-theme] .icon-btn,html[data-theme] .tab{min-height:44px}
  input,select,textarea{font-size:16px!important} /* stops iOS zoom-on-focus */
}
@media(max-width:380px){
  .hx-hero .hero-notes{grid-template-columns:1fr}
  .hx-hero .hero-notes span{grid-template-columns:36px auto;justify-items:start;text-align:left}
  .hx-hero .hero-art{--tile:44px}
}
/* ---------- wide desktop ---------- */
@media(min-width:1500px){.hx-hero .hero-art{--ring:460px;--tile:84px}}

@media(prefers-reduced-motion:reduce){.hx-ring,.hx-tile-in{animation:none}*{scroll-behavior:auto!important}}
@media(hover:none){.featured-grid>*:hover,.products-grid>*:hover,html[data-theme] .category-card:hover{transform:none}}

/* ---------- featured brand tiles + details panel ---------- */
.fb-row{display:grid;grid-template-columns:repeat(7,1fr);gap:14px}
.fb-tile{appearance:none;font:inherit;color:var(--hx-ink);cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px 8px 16px;background:var(--hx-card);border:1px solid var(--hx-card-line);border-radius:22px;box-shadow:var(--hx-shadow);transition:transform .22s var(--hxp-ease),box-shadow .22s var(--hxp-ease),border-color .22s}
.fb-tile:hover{transform:translateY(-4px);box-shadow:var(--hx-shadow-lg);border-color:rgba(106,85,224,.4)}
.fb-tile.active{border-color:var(--hx-primary);box-shadow:0 0 0 3px rgba(106,85,224,.18),var(--hx-shadow-lg)}
.fb-logo{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--hx-soft);margin-bottom:6px}
.fb-logo img{width:30px;height:30px;object-fit:contain}
.fb-tile strong{font-size:14px;font-weight:750}.fb-tile small{font-size:12px;color:var(--muted)}
.fb-panel{display:grid;margin-top:16px;padding:22px;background:var(--hx-card);border:1px solid var(--hx-card-line);border-radius:26px;box-shadow:var(--hx-shadow-lg);animation:hxpOpen .32s var(--hxp-ease)}
.fb-panel[hidden]{display:none}
@keyframes hxpOpen{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.fb-panel-head{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.fb-panel-head>div{flex:1;min-width:0}
.fb-panel-head h3{margin:0;font-size:20px;font-weight:800;letter-spacing:-.02em}
.fb-panel-head h3 small{font-size:13px;font-weight:600;color:var(--muted);margin-left:6px}
.fb-panel-head p{margin:4px 0 0;color:var(--hx-ink2);font-size:14px}
.fb-empty{text-align:center;padding:18px 8px}.fb-empty p{color:var(--hx-ink2);margin:0 0 14px}
@media(max-width:1100px){.fb-row{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){.fb-row{grid-template-columns:repeat(2,1fr);gap:12px}.fb-tile:last-child:nth-child(odd){grid-column:1/-1}.fb-panel{padding:16px;border-radius:22px}.fb-panel-head{flex-wrap:wrap}.fb-close{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.fb-panel{animation:none}}

/* ---------- every button: round, cylindrical (pill with a lit tube look) ---------- */
html[data-theme] .btn,html[data-theme] button.btn,html[data-theme] a.btn,html[data-theme] .tab,html[data-theme] .share-channel-btn,html[data-theme] .social-share-btn{border-radius:999px!important}
html[data-theme] .btn:not(.secondary){background:linear-gradient(180deg,#9a88ff 0%,#6a55e0 46%,#4e35c4 54%,#6650e4 100%)!important;box-shadow:inset 0 2px 1px rgba(255,255,255,.55),inset 0 -4px 7px rgba(30,12,120,.38),0 12px 22px -8px rgba(89,66,214,.6)}
html[data-theme] .btn:not(.secondary):hover{box-shadow:inset 0 2px 1px rgba(255,255,255,.6),inset 0 -4px 7px rgba(30,12,120,.4),0 16px 28px -8px rgba(89,66,214,.7)}
html[data-theme] .btn.secondary,html[data-theme] .share-channel-btn,html[data-theme] .social-share-btn{background:linear-gradient(180deg,#ffffff 0%,#f4f2fd 52%,#e7e3f7 100%)!important;box-shadow:inset 0 2px 1px #fff,inset 0 -3px 6px rgba(86,70,180,.16),0 8px 16px -10px rgba(60,40,160,.35)}
html[data-theme] .tab{background:linear-gradient(180deg,#fff,#efecfb)!important;border:1px solid var(--hx-card-line)!important;box-shadow:inset 0 2px 1px #fff,inset 0 -2px 5px rgba(86,70,180,.12)}
html[data-theme] .tab.active{background:linear-gradient(180deg,#9a88ff,#6a55e0 50%,#4e35c4 55%,#6650e4)!important;color:#fff!important;border-color:transparent!important;box-shadow:inset 0 2px 1px rgba(255,255,255,.5),inset 0 -3px 6px rgba(30,12,120,.35),0 8px 16px -8px rgba(89,66,214,.6)}
html[data-theme=black] .btn.secondary,html[data-theme=black] .tab:not(.active){background:linear-gradient(180deg,#1d1d2b,#12121c)!important;color:var(--hx-ink)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),inset 0 -3px 6px rgba(0,0,0,.4)}

/* ==========================================================================
   v2.9.17 · UI-only fixes (no backend / security / API change)
   ========================================================================== */

/* ---------- header: logo only + a proper search bar ---------- */
.top-brand-text{display:none!important}
html[data-theme] .top-brand{gap:0;flex:0 0 auto}
.top-brand img{width:44px;height:44px;border-radius:14px;object-fit:cover;display:block;box-shadow:0 6px 16px -8px rgba(60,40,160,.5)}
html[data-theme] .topbar{gap:14px}
.top-nav{margin-left:8px;gap:2px;min-width:0}
.top-link{padding:9px 11px;white-space:nowrap}
html[data-theme] .topbar .header-search{display:flex;align-items:center;gap:10px;flex:0 0 clamp(210px,21vw,320px);width:clamp(210px,21vw,320px)!important;min-width:200px;max-width:none;height:44px;min-height:44px;padding:0 16px!important;border-radius:999px!important;box-sizing:border-box;margin-left:auto!important;overflow:hidden}
html[data-theme] .topbar .header-search>svg{flex:0 0 18px;width:18px;height:18px}
html[data-theme] .topbar .header-search input{flex:1 1 auto;min-width:0;width:100%;height:100%;min-height:0;padding:0!important;margin:0;font-size:14px!important;line-height:1.2}
@media(min-width:1101px) and (max-width:1280px){
  .top-link{padding:9px 8px;font-size:12.5px}
  html[data-theme] .topbar .header-search{flex-basis:200px;width:200px!important}
}
@media(max-width:1100px){
  html[data-theme] .topbar .header-search{flex:0 1 300px;width:min(320px,36vw)!important;min-width:0}
}
@media(max-width:760px){
  .top-brand img{width:40px;height:40px;border-radius:12px}
  html[data-theme] .topbar .header-search{order:6;flex:1 1 100%;width:100%!important;max-width:100%;margin-left:0!important;height:46px;min-height:46px}
}

/* ---------- hero buttons: the arrow must never be clipped ---------- */
@media(max-width:760px){
  .hx-hero .hero-actions{display:flex;flex-wrap:wrap;gap:10px}
  .hx-hero .hero-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1 1 auto;min-width:max-content;padding:14px 18px;font-size:14px;line-height:1.2;white-space:nowrap;overflow:visible}
  .hx-hero .hero-actions .btn svg{flex:0 0 18px;width:18px;height:18px;margin:0}
}

/* ---------- breathing room: hero -> Featured Products ---------- */
html[data-theme] .featured-showcase{margin-top:clamp(40px,6vw,64px)!important}
html[data-theme] .featured-showcase-head{margin-bottom:18px}
@media(max-width:760px){html[data-theme] .featured-showcase{margin-top:44px!important}}

/* ---------- brand logos ---------- */
.ht4 .hx-tile-in{background:#fff!important}
.ht4 .hx-tile-in img{width:64%;height:64%}
.fb-logo img{width:32px;height:32px}

/* ---------- loading screen: round logo ---------- */
.boot-orbit img{width:58px!important;height:58px!important;border-radius:50%!important;object-fit:cover}

/* ---------- category cards: no small arrows ---------- */
.category-card:after,.category-card:before,.category-card:hover:after{content:none!important;display:none!important}
html[data-theme] .category-card{padding:22px 14px}

/* ---------- catalogue filter chips + sort ---------- */
html[data-theme] .catalog-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:14px}
html[data-theme] .catalog-toolbar .tabs{display:flex;flex-wrap:wrap;gap:10px;overflow:visible;padding:2px;scroll-snap-type:none}
html[data-theme] .catalog-toolbar .tab{flex:0 0 auto;white-space:nowrap;min-height:42px;padding:10px 18px;font-size:14px;line-height:1.2}
html[data-theme] .catalog-toolbar .sort-select{width:100%;min-height:48px;height:48px;padding:0 16px;border-radius:14px}
@media(min-width:900px){
  html[data-theme] .catalog-toolbar{flex-direction:row;align-items:center;justify-content:space-between}
  html[data-theme] .catalog-toolbar .tabs{flex:1 1 auto}
  html[data-theme] .catalog-toolbar .sort-select{width:auto;min-width:220px;flex:0 0 auto;font-size:13px!important;height:44px;min-height:44px}
}

/* ---------- product share sheet ---------- */
.hx-share{display:grid;gap:20px}
.hx-share-card{display:flex;align-items:center;gap:14px;padding:14px;border-radius:20px;background:var(--hx-soft,rgba(106,85,224,.08));border:1px solid var(--hx-card-line,rgba(106,85,224,.18))}
.hx-share-art{margin:0!important;width:56px!important;height:56px!important;flex:0 0 56px;border-radius:16px;display:grid;place-items:center;background:#fff;overflow:hidden}
.hx-share-art svg,.hx-share-art img{max-width:72%;max-height:72%}
.hx-share-meta{min-width:0;display:grid;gap:3px}
.hx-share-meta strong{font-size:15px;line-height:1.3;color:var(--hx-ink,inherit);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.hx-share-meta small{font-size:13px;color:var(--muted,#6b7280)}
.hx-share-meta small b{color:var(--hx-primary,#6a55e0)}
.hx-share-label{margin:0 0 8px;font-size:11.5px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--muted,#6b7280)}
.hx-share-link{display:flex;align-items:center;gap:8px;padding:6px 6px 6px 16px;border-radius:999px;background:var(--hx-soft,rgba(106,85,224,.08));border:1px solid var(--hx-card-line,rgba(106,85,224,.18))}
.hx-share-url{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;color:var(--hx-ink2,inherit);-webkit-user-select:all;user-select:all}
.hx-share-copy{flex:0 0 auto;min-height:44px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;cursor:pointer}
.hx-share-copy svg{width:18px;height:18px}
html[data-theme] .btn.hx-share-copy.done{background:linear-gradient(180deg,#4fd69c,#1aa56f 52%,#13905f)!important}
.hx-share-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hx-share-ch{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:96px;padding:14px 6px 12px;border-radius:20px;text-decoration:none;font-size:13px;font-weight:650;color:var(--hx-ink,inherit);background:var(--hx-card,#fff);border:1px solid var(--hx-card-line,rgba(106,85,224,.18));-webkit-tap-highlight-color:transparent;transition:transform .2s,box-shadow .2s,border-color .2s}
.hx-share-ch:hover{transform:translateY(-3px);border-color:var(--hx-primary,#6a55e0);box-shadow:0 14px 26px -16px rgba(60,40,160,.5)}
.hx-share-ch:active{transform:scale(.97)}
.hx-share-ch i{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;box-shadow:0 10px 18px -8px rgba(0,0,0,.35)}
.hx-share-ch i svg{width:24px;height:24px}
.hx-share-ch.wa i{background:#25D366}.hx-share-ch.tg i{background:#2AABEE}.hx-share-ch.xx i{background:#0f1419}.hx-share-ch.em i{background:linear-gradient(135deg,#8a76f5,#5a43d6)}
.hx-share-native{width:100%;min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:15px;font-weight:700}
@keyframes hxShareUp{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){.hx-share-ch{transition:none}}

/* floating back-to-top must never sit on top of an open dialog / share sheet */
body:has(#overlay .overlay) .to-top-btn{display:none!important}

/* ==========================================================================
   v2.9.18 - header without logo, cylindrical buttons, scroll animation
   ========================================================================== */
.top-brand{display:none!important}
.top-nav{margin-left:0}

/* every button is a cylinder (pill / circle) */
html[data-theme] :is(.btn,.icon-btn,.mobile-toggle,.quick-search,.notif-bell,.notification-bell,.close-btn,.fb-close,.password-toggle,.otp-paste-btn,.currency-chip-btn,.sound-toggle-btn,.toggle-pill,.ai-shortcut-btn,.auth-submit-btn,.buy-now-btn,.announcement-action-btn,.captcha-action-btn,.code-btn,.uf-copy-inline,.payment-copy-button,.analytics-range-btn,.tab,.share-product-btn,.save-product,.wishlist-btn,.fav-btn,.carousel-btn,.hx-share-copy,.hx-share-native,.btn-reorder,.btn-claim-warranty,.btn-ai-suggest-reply,.notification-understood,.link-button,.product-card-top-actions button,.cart-qty button,.qty button){border-radius:999px!important}
html[data-theme] .product-card-top-actions button,html[data-theme] .icon-btn{aspect-ratio:1/1}
html[data-theme] .btn,html[data-theme] .currency-chip-btn{-webkit-tap-highlight-color:transparent}

/* account page: currency + sound block */
.preferences-grid{display:grid!important;grid-template-columns:1fr;gap:22px}
@media(min-width:900px){.preferences-grid{grid-template-columns:1.4fr 1fr}}
.preference-block{min-width:0}
.preference-block>label{display:block;margin-bottom:10px}
.pref-note{margin:0 0 12px;font-size:12.5px;color:var(--muted,#6b7280)}
.currency-chips-wrap{display:flex;flex-wrap:wrap;gap:10px}
.currency-chip-btn{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;font-size:14px;line-height:1;white-space:nowrap;cursor:pointer;transition:transform .2s,box-shadow .2s}
.currency-chip-btn:active{transform:scale(.96)}
.audio-toggle-wrap{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:0}
.audio-toggle-wrap .btn{width:100%;justify-content:center;white-space:normal;min-height:46px;text-align:center}
@media(hover:none){.hide-touch{display:none}}

/* loading screen: logo fills the whole circle */
.boot-orbit img{width:74px!important;height:74px!important;border-radius:50%!important;object-fit:cover!important;box-shadow:0 8px 26px #6a55e066!important}

/* scroll animation */
#fx-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:90;transform:scaleX(0);transform-origin:0 50%;background:linear-gradient(90deg,#7c6cf0,#a78bfa,#38bdf8);pointer-events:none;will-change:transform}
html.fx-scrolled .topbar{box-shadow:0 10px 30px -18px rgba(40,30,120,.45)}
.fx-pre{opacity:0;translate:0 28px;transition:opacity .65s cubic-bezier(.22,1,.36,1) var(--fx-d,0ms),translate .65s cubic-bezier(.22,1,.36,1) var(--fx-d,0ms)!important}
.fx-pre.fx-in{opacity:1;translate:0 0}
@media(prefers-reduced-motion:reduce){.fx-pre{opacity:1!important;translate:none!important;transition:none!important}#fx-progress{display:none}}


/* ==========================================================================
   v2.9.19
   ========================================================================== */

/* ---- home hero: glossy 3D brand icons orbiting the centre logo, no ring line ---- */
.hx-ring{border:0!important}
.hx-hero .hero-art{--tile:84px}
.hx-hero .hx-tile{transform:rotate(calc(var(--i) * 60deg)) translateY(calc(var(--ring) / -2)) rotate(calc(var(--i) * -60deg))}
.hx-hero .hx-tile-in{background:none!important;border:0!important;box-shadow:none!important;border-radius:0}
.hx-hero .hx-tile-in img{width:100%;height:100%;object-fit:contain;transform:rotate(var(--t,0deg));filter:drop-shadow(0 14px 12px rgba(40,30,110,.32));transition:transform .4s cubic-bezier(.22,1,.36,1)}
.hx-hero .hx-tile:hover .hx-tile-in img{transform:rotate(0deg) scale(1.08)}
@media(max-width:760px){.hx-hero .hero-art{--tile:60px}}
@media(max-width:380px){.hx-hero .hero-art{--tile:50px}}
@media(min-width:1500px){.hx-hero .hero-art{--tile:96px}}

/* ---- share dialog: never wider than the screen (fixes overflow on phones) ---- */
.hx-share{grid-template-columns:minmax(0,1fr)}
.hx-share>*{min-width:0}
.hx-share-card,.hx-share-link{max-width:100%}
.hx-share-modal{overflow-x:hidden}
@media(max-width:560px){.hx-share-modal{max-width:calc(100vw - 22px)}}
@media(max-width:340px){.hx-share-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---- product details dialog: price on top, buttons below (mobile) ---- */
.product-detail-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
@media(max-width:560px){
  .modal .total:has(.product-detail-actions){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px}
  .modal .total:has(.product-detail-actions)>strong{font-size:28px;line-height:1.1}
  .product-detail-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;width:100%}
  .product-detail-actions .btn{width:100%;min-height:48px;justify-content:center}
  .product-detail-actions .buy-now-btn{grid-column:1/-1}
}

/* ---- login / sign-up: the logo fills its whole box ---- */
html[data-theme] .auth-brand-emblem{padding:0!important;overflow:hidden;animation:none}
html[data-theme] .auth-brand-emblem img{width:100%!important;height:100%!important;object-fit:cover;display:block;border-radius:inherit}

body:has(#overlay .overlay) .scroll-to-top-btn,body:has(.overlay) .to-top-btn,body:has(.overlay) .scroll-to-top-btn{display:none!important}
@media(max-width:400px){.hx-share-ch{font-size:11.5px;padding-left:2px;padding-right:2px}.hx-share-grid{gap:8px}}

/* Product cards: price on its own line, Add / Buy side by side underneath (never squeezed together) */
html[data-theme] .product-bottom{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;gap:10px}
html[data-theme] .product-price{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;min-width:0}
html[data-theme] .product-price strong{display:block;font-size:20px;font-weight:800;line-height:1.15;letter-spacing:-.2px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
html[data-theme] .product-actions-wrap{display:flex;flex-wrap:nowrap;width:100%;gap:8px}
html[data-theme] .product-actions-wrap .btn{flex:1 1 0;min-width:0;padding:10px 8px;font-size:12px;border-radius:12px;white-space:nowrap;justify-content:center}

/* "/ 1K" tag shown next to SMM service prices */
.per-k{font-size:.58em;font-weight:700;opacity:.72;margin-left:4px;white-space:nowrap;letter-spacing:0}

/* Cart quantity: red box + message while empty, below the minimum, above the maximum or above the stock */
.line-item input[data-qty].qty-invalid{border-color:#e5484d!important;background:rgba(229,72,77,.07)!important;box-shadow:0 0 0 3px rgba(229,72,77,.18)!important;color:#b42318}
.line-item input[data-qty].qty-invalid::placeholder{color:#e5484d;opacity:.8}
.qty-error{display:block;margin-top:4px;color:#d92d20;font-size:12px;font-weight:700;line-height:1.3}
html[data-theme="black"] .qty-error{color:#ff6b6b}
