/* QFX v1.1: full-storefront skin engine. Loaded AFTER premium.css.
  All commerce behavior stays unchanged. Theme only alters visual presentation. */
html{color-scheme:normal}
body{background:var(--q-page,#f5f3fc)!important;color:var(--q-ink,#212148)}
.premium-home{background:linear-gradient(180deg,var(--q-page-alt,#eeedfa),var(--q-page,#f5f3fc) 440px)!important;color:var(--q-ink,#212148)}
.premium-header{background:var(--q-nav,#0b1233)!important;color:var(--q-nav-ink,#f5f6ff)!important;border-color:var(--q-line)!important}
.premium-brand-caption{color:var(--q-nav-ink)!important;opacity:.72}
.premium-nav-item,.premium-locale,.premium-login{color:var(--q-nav-ink)!important}
.premium-nav-item.selected{background:color-mix(in srgb,var(--q-accent) 23%,transparent)!important;box-shadow:inset 0 -2px 0 var(--q-accent)!important}
.premium-header-search{background:color-mix(in srgb,var(--q-nav-ink) 7%,transparent)!important;border-color:color-mix(in srgb,var(--q-nav-ink) 19%,transparent)!important;color:var(--q-nav-ink)!important}
.premium-header-search input,.premium-header-search input::placeholder{color:var(--q-nav-ink)!important}
.premium-login{border-color:color-mix(in srgb,var(--q-nav-ink) 30%,transparent)!important}
.premium-signup,.premium-cta,.premium-btn-primary{background:linear-gradient(112deg,var(--q-accent),var(--q-accent-two))!important;color:#fff!important;box-shadow:0 5px 17px var(--q-shadow)!important}
.premium-hero{background:var(--q-hero)!important;color:var(--q-hero-ink)!important;border-radius:0 0 var(--q-radius) var(--q-radius)!important}
.premium-hero h1,.premium-hero-meta strong{color:var(--q-hero-ink)!important}
.premium-hero p,.premium-eyebrow,.premium-hero-meta small{color:var(--q-hero-muted)!important}
.premium-hero h1 em{background:linear-gradient(95deg,var(--q-hero-ink),var(--q-accent),var(--q-accent-two))!important;background-clip:text!important;color:transparent!important}
.premium-hero-meta>span{border-color:color-mix(in srgb,var(--q-hero-ink) 21%,transparent)!important}
.premium-outline{color:var(--q-hero-ink)!important;background:transparent!important;border-color:color-mix(in srgb,var(--q-hero-ink) 35%,transparent)!important}
.premium-hero:after{background:var(--q-accent)!important;opacity:.23;filter:blur(80px)}
.premium-benefits,.premium-product-card,.premium-aftermarket>div{background:var(--q-card)!important;color:var(--q-ink)!important;border-color:var(--q-line)!important;border-radius:var(--q-radius)!important;box-shadow:0 5px 25px var(--q-shadow)!important}
.premium-benefits>div{border-color:var(--q-line)!important}.premium-benefits>div>span{color:var(--q-accent)!important}
.premium-benefits small,.premium-section-head p,.premium-product-desc,.premium-aftermarket p{color:var(--q-muted)!important}
.premium-section-label,.premium-product-title:hover{color:var(--q-accent)!important}
.premium-tabset{background:var(--q-soft)!important;border-color:var(--q-line)!important;border-radius:var(--q-radius)!important}
.premium-tabset button{color:var(--q-muted)!important}.premium-tabset button.selected{background:var(--q-accent)!important;color:#fff!important}
.premium-filter-line select,.premium-market-search{background:var(--q-card)!important;color:var(--q-ink)!important;border-color:var(--q-line)!important;border-radius:var(--q-radius)!important}
.premium-filter-line select,.premium-market-search input{color:var(--q-ink)!important}
.premium-product-title{color:var(--q-ink)!important}.premium-product-rating,.premium-product-rating strong{color:var(--q-muted)!important}
.premium-product-tags span{background:var(--q-soft)!important;color:var(--q-ink)!important}.premium-product-bottom{border-color:var(--q-line)!important}
.premium-btn-outline{border-color:var(--q-line)!important;background:var(--q-card)!important;color:var(--q-ink)!important;border-radius:var(--q-radius)!important}
.premium-btn-primary,.premium-cta,.premium-link-btn{border-radius:var(--q-radius)!important}
.premium-product-card{overflow:hidden}.premium-product-media{background:var(--q-soft)!important}
.premium-product-art{background:linear-gradient(130deg,var(--q-nav),var(--q-accent))!important}.premium-product-art::before{background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--q-accent-two) 28%,transparent))!important}
.premium-link-btn{background:var(--q-soft)!important;color:var(--q-ink)!important}
.premium-aftermarket h3,.premium-section-head h2{color:var(--q-ink)!important}
footer.footer{background:var(--q-nav)!important;color:var(--q-nav-ink)!important;border-top:1px solid var(--q-line)!important}
/* Signals, forum, support, account, product modal: same brand across all storefront pages. */
body .page-top h1,body .page-top h2{color:var(--q-ink)!important}
body .page-top p,body .muted{color:var(--q-muted)}
body .card:not(.campaign-card),body .modal-panel,body .side-panel{background:var(--q-card);color:var(--q-ink);border-color:var(--q-line)}
body .card:not(.campaign-card) .button,body .modal-panel .button{border-radius:var(--q-radius)}
body .card:not(.campaign-card) .button:not(.soft),body .modal-panel .button:not(.soft){background:var(--q-accent);border-color:var(--q-accent);color:#fff}
body .page-top,body .card:not(.campaign-card){border-radius:var(--q-radius)}
body .badge.blue{background:var(--q-soft);color:var(--q-ink)}
/* Design families: markedly different visual architecture WITHOUT moving product data/buttons. */
html[data-qfx-family="editorial"] body{font-family:Arial,Helvetica,sans-serif;letter-spacing:-.1px}
html[data-qfx-family="editorial"] .premium-header{box-shadow:0 1px 0 var(--q-line)!important}
html[data-qfx-family="editorial"] .premium-nav-item{font-weight:520;letter-spacing:.15px}
html[data-qfx-family="editorial"] .premium-hero{box-shadow:none;border:1px solid var(--q-line);border-top:0}
html[data-qfx-family="editorial"] .premium-hero-art{display:none}
html[data-qfx-family="editorial"] .premium-hero-copy{max-width:85%;padding-top:57px;padding-bottom:48px}
html[data-qfx-family="editorial"] .premium-hero h1{max-width:780px;font-size:clamp(36px,4.5vw,62px);letter-spacing:-3px}
html[data-qfx-family="editorial"] .premium-hero:before{content:'QFX';position:absolute;font-size:clamp(155px,20vw,320px);right:-2%;top:0;font-weight:900;letter-spacing:-25px;color:var(--q-accent);opacity:.065;pointer-events:none}
html[data-qfx-family="editorial"] .premium-benefits,html[data-qfx-family="editorial"] .premium-product-card{box-shadow:none!important}
html[data-qfx-family="editorial"] .premium-product-card:hover{box-shadow:0 0 0 1px var(--q-accent)!important}
html[data-qfx-family="editorial"] .premium-section-head h2{font-size:35px;font-weight:620;letter-spacing:-1.5px}
html[data-qfx-family="luxe"] body{font-family:Georgia,'Times New Roman',serif}
html[data-qfx-family="luxe"] .premium-nav-item,html[data-qfx-family="luxe"] .premium-filters,html[data-qfx-family="luxe"] .premium-product-card,html[data-qfx-family="luxe"] .premium-header-tools{font-family:Arial,Helvetica,sans-serif}
html[data-qfx-family="luxe"] .premium-hero{border-bottom:1px solid var(--q-accent)}
html[data-qfx-family="luxe"] .premium-hero-art{opacity:.36;filter:grayscale(.55)}
html[data-qfx-family="luxe"] .premium-hero h1{font-family:Georgia,serif;font-weight:500;letter-spacing:-1.5px;font-size:clamp(34px,4.2vw,58px)}
html[data-qfx-family="luxe"] .premium-benefits,html[data-qfx-family="luxe"] .premium-product-card{border-width:1px;box-shadow:none!important}
html[data-qfx-family="luxe"] .premium-product-card:hover{border-color:var(--q-accent)!important}
html[data-qfx-family="luxe"] .premium-section-label{letter-spacing:3px}
html[data-qfx-family="terminal"] body{font-family:Consolas,'Segoe UI',sans-serif}
html[data-qfx-family="terminal"] .premium-hero{background-image:linear-gradient(transparent 29px,color-mix(in srgb,var(--q-accent) 13%,transparent) 30px),linear-gradient(90deg,transparent 29px,color-mix(in srgb,var(--q-accent) 13%,transparent) 30px),var(--q-hero)!important;background-size:30px 30px,30px 30px,auto}
html[data-qfx-family="terminal"] .premium-benefits,html[data-qfx-family="terminal"] .premium-product-card{box-shadow:none!important}
html[data-qfx-family="terminal"] .premium-product-card{border-left:3px solid var(--q-accent)!important}
html[data-qfx-family="terminal"] .premium-hero h1{font-size:clamp(33px,3.5vw,48px);font-weight:700;letter-spacing:-.8px}
html[data-qfx-family="terminal"] .premium-section-label:before{content:'● ';color:var(--q-accent)}
html[data-qfx-family="aurora"] .premium-hero{box-shadow:inset 0 0 120px color-mix(in srgb,var(--q-accent) 13%,transparent)}
html[data-qfx-family="aurora"] .premium-benefits,html[data-qfx-family="aurora"] .premium-product-card{backdrop-filter:blur(9px)}
html[data-qfx-family="aurora"] .premium-product-card{border-top:2px solid color-mix(in srgb,var(--q-accent) 50%,var(--q-line))!important}
html[data-qfx-family="aurora"] .premium-nav-item.selected{border-radius:30px}
html[data-qfx-family="corporate"] .premium-hero{min-height:340px}
html[data-qfx-family="corporate"] .premium-hero-copy{padding-top:54px}
html[data-qfx-family="corporate"] .premium-hero h1{font-weight:800;letter-spacing:-2.1px}
html[data-qfx-family="corporate"] .premium-benefits{border-radius:0 0 var(--q-radius) var(--q-radius)!important}
html[data-qfx-family="corporate"] .premium-product-card{border-bottom:3px solid var(--q-accent)!important}
html[data-qfx-family="glass"] .premium-header{box-shadow:0 7px 20px color-mix(in srgb,var(--q-accent) 12%,transparent)!important}
html[data-qfx-family="glass"] .premium-hero{border:1px solid color-mix(in srgb,var(--q-accent) 20%,#fff);box-shadow:0 15px 60px var(--q-shadow)!important}
html[data-qfx-family="glass"] .premium-hero-art{opacity:.12;filter:blur(2px)}
html[data-qfx-family="glass"] .premium-hero-copy{max-width:75%}
html[data-qfx-family="glass"] .premium-benefits,html[data-qfx-family="glass"] .premium-product-card,html[data-qfx-family="glass"] .premium-aftermarket>div{backdrop-filter:blur(24px);box-shadow:0 13px 32px var(--q-shadow)!important}
html[data-qfx-family="glass"] .premium-product-card{border:1px solid color-mix(in srgb,var(--q-accent) 16%,var(--q-line))!important}
/* Distinct refinements per design; actual preset differs, not just a renamed palette. */
html[data-qfx-design="gold"] .premium-product-category,html[data-qfx-design="elite"] .premium-product-category{background:#4b3914;color:#ffe7a6}
html[data-qfx-design="mono"] .premium-product-media img{filter:grayscale(1)}
html[data-qfx-design="editorial"] .premium-section-head h2{font-family:Georgia,serif;font-style:italic}
html[data-qfx-design="neon"] .premium-product-card{box-shadow:0 0 23px color-mix(in srgb,var(--q-accent) 18%,transparent)!important}
html[data-qfx-design="copper"] .premium-product-card{border-top:2px solid #a96a47!important}
html[data-qfx-design="obsidian"] .premium-product-card{border-radius:0!important}
html[data-qfx-design="soft"] .premium-product-card{border-radius:24px!important}
html[data-qfx-design="light"] .premium-hero{border-radius:0 0 28px 28px!important}
html[data-qfx-design="midnight"] .premium-hero-art{opacity:.98}
html[data-qfx-design="glass"] .premium-hero h1{font-weight:520}
html[data-qfx-design="arctic"] .premium-hero-art{opacity:.11}
/* Preserve legibility on small screens, including Arabic. */
@media(max-width:760px){html[data-qfx-family="editorial"] .premium-hero-copy{max-width:95%;padding:35px 23px}html[data-qfx-family="editorial"] .premium-hero h1{font-size:clamp(28px,7vw,43px)}html[data-qfx-family="editorial"] .premium-hero:before{font-size:140px;top:26%}.premium-header .premium-nav.mobile-open{background:var(--q-nav)!important}.premium-hero-copy{max-width:90%}}
@media(max-width:520px){html[data-qfx-family="glass"] .premium-hero-copy{max-width:100%}html[data-qfx-family="editorial"] .premium-hero-copy{max-width:100%;padding:30px 19px}.premium-hero{min-height:370px}}
@media(prefers-reduced-motion:reduce){.premium-product-card,.premium-hero,.premium-header{transition:none!important}}
