/*
Theme Name: Universe Fans Studio
Description: Independent affiliate storefront. Requires Universe Fans Catalog for product management.
Version: 2.0.0
Author: Universe Fans
Text Domain: universe-fans-studio
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
*/
:root{--navy:#091731;--deep:#050e20;--blue:#2388ed;--gold:#f7c54b;--ink:#10213b;--muted:#607087;--line:#dce3eb;--paper:#f5f7fa;--white:#fff;--radius:16px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}img{max-width:100%;height:auto;display:block}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #2489eb;outline-offset:4px}h1,h2,h3,p{margin:0 0 16px}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(2.2rem,4.4vw,4rem)}h2{font-size:clamp(1.6rem,2.6vw,2.3rem)}h3{font-size:1.08rem}.shell{width:min(1280px,calc(100% - 64px));margin:auto}.section{padding-block:36px}.eyebrow{font-size:.7rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#52647e;display:block;margin-bottom:12px}.topline{background:var(--gold);color:var(--navy);font-size:.63rem;letter-spacing:.18em;font-weight:850;text-align:center;padding:7px 16px}.site-header{background:var(--navy);color:white;position:sticky;top:0;z-index:100;box-shadow:0 2px 12px #0002}.admin-bar .site-header{top:32px}.header-row{display:flex;align-items:center;gap:40px;padding-block:18px}.brand{min-width:280px}.brand>a{display:flex;align-items:center;gap:14px;font-size:1.2rem;font-weight:850;letter-spacing:.015em}.brand b,.footer-brand b{color:var(--gold)}.brand-mark{height:46px;width:46px;display:grid;place-items:center;border:2px solid var(--blue);border-radius:50%;font-size:1rem;position:relative;transform:rotate(-10deg)}.brand-mark span{position:absolute;right:-7px;top:-8px;color:var(--gold)}.custom-logo{max-height:60px;width:auto;max-width:350px}.search{display:flex;flex:1;background:#fff;border-radius:9px;overflow:hidden;margin-left:auto;max-width:600px}.search input{min-width:0;flex:1;border:0;padding:11px 16px;color:var(--ink);background:transparent}.search button{border:0;background:var(--gold);color:var(--navy);font-size:1.7rem;width:54px}.nav{display:flex;align-items:center;gap:32px;min-height:43px;border-top:1px solid #ffffff19;font-size:.82rem}.nav>ul{display:flex;gap:28px;list-style:none;margin:0;padding:0}.nav li{position:relative}.nav .sub-menu{display:none;position:absolute;background:var(--navy);list-style:none;padding:15px;min-width:180px}.nav li:hover>.sub-menu,.nav li:focus-within>.sub-menu{display:block}.nav a:hover{color:var(--gold)}.nav-note{margin-left:auto;color:#aebbd0;font-size:.7rem}.menu-toggle{display:none}.hero{background:radial-gradient(ellipse at 78% 45%,#193d69 0,transparent 46%),var(--navy);color:white;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;min-height:330px;gap:30px;padding-block:35px}.hero .eyebrow{color:var(--gold)}.hero h1{max-width:650px;margin-bottom:15px}.hero p{max-width:560px;color:#b7c6dd;font-size:1rem}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;border:0;border-radius:8px;padding:12px 20px;font-size:.85rem;line-height:1.4;font-weight:800;min-height:45px;transition:background .18s,transform .18s}.gold,.amazon{background:var(--gold);color:var(--navy)}.gold:hover,.amazon:hover{background:#ffda72;transform:translateY(-1px)}.unavailable{background:#e8edf2;color:#536276;width:100%;cursor:default}.universe-art{position:relative;height:255px;isolation:isolate}.planet{background:linear-gradient(145deg,#308bdd,#112d54);border:1px solid #90caff50;height:160px;width:160px;border-radius:50%;position:absolute;left:38%;top:38px;display:grid;place-items:center;font-size:3.7rem;font-weight:900;box-shadow:0 0 65px #2388ed40,inset -20px -15px 40px #02091470;transform:rotate(-12deg)}.planet span{font-size:1.6rem;position:absolute;top:15px;right:-15px;color:var(--gold)}.orbit{position:absolute;width:310px;height:95px;border:1px solid #5aa7f975;border-radius:50%;top:80px;left:20%;transform:rotate(-24deg);z-index:-1}.orbit-two{transform:rotate(30deg);width:360px;left:10%}.floating{position:absolute;background:linear-gradient(135deg,#f7c54b,#d59820);color:var(--navy);border:4px solid #ffe3a1;border-radius:10px;padding:18px;font-size:.65rem;line-height:1.3;letter-spacing:.06em;box-shadow:0 15px 30px #0005}.card-one{left:6%;top:35px;transform:rotate(-13deg);width:110px;height:154px}.card-one b{font-size:1.2rem;display:block;margin-top:10px}.card-two{right:0;top:80px;background:linear-gradient(135deg,#173e78,#472761);border-color:#6e88be;color:#fff;font-size:1rem;font-weight:850;transform:rotate(13deg);width:105px;height:145px}.star{position:absolute;color:var(--gold);font-style:normal}.s1{left:10%;bottom:10px}.s2{right:13%;top:10px;font-size:1.7rem}.disclosure{padding:11px 0;border-bottom:1px solid var(--line);font-size:.72rem;color:#536276;margin:0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.section-heading h2{margin:0}.text-link{font-weight:750;color:#1769ad;font-size:.85rem;white-space:nowrap}.worlds{display:grid;grid-template-columns:1fr 1fr;gap:22px}.world{border-radius:var(--radius);padding:28px 30px;position:relative;overflow:hidden;color:#fff;min-height:190px}.world span{font-size:.62rem;letter-spacing:.15em;font-weight:800;position:relative;z-index:1}.world h3{font-size:2.2rem;margin:13px 0 9px;position:relative;z-index:1}.world p{font-size:.85rem;position:relative;z-index:1}.world b{font-size:.8rem;position:relative;z-index:1}.world i{font-size:11rem;position:absolute;right:35px;top:-20px;font-style:normal;line-height:1.3;opacity:.2;transform:rotate(-10deg)}.electric{background:linear-gradient(115deg,#0e3c77,#1879bc)}.mystic{background:linear-gradient(115deg,#261c56,#5e2c72)}.world:hover{filter:brightness(1.1)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.product-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}.product-card:hover{box-shadow:0 10px 25px #10213b12;transform:translateY(-3px)}.card-media{display:flex;align-items:center;justify-content:center;aspect-ratio:1.12;background:#fff;padding:24px;border-bottom:1px solid #edf0f4}.card-media img{width:100%;height:100%;object-fit:contain;max-height:240px}.placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;min-height:140px;color:#75849a;font-size:.7rem}.placeholder>span{font-size:2.5rem;font-weight:850;color:#b5c3d7;border:2px solid #d5dfeb;border-radius:50%;width:85px;height:85px;display:grid;place-items:center}.card-body{padding:19px;display:flex;flex-direction:column;flex:1}.card-body .eyebrow{font-size:.58rem;color:#266bb0;margin-bottom:9px}.card-body h3{font-size:.98rem;line-height:1.4;letter-spacing:-.015em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-body>p{font-size:.77rem;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-action{margin-top:auto;padding-top:8px}.card-action small{display:block;font-size:.68rem;color:var(--muted);margin-bottom:7px}.card-action .button{width:100%;font-size:.78rem;padding:11px 12px;justify-content:space-between}.category-section{text-align:center}.category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:14px;margin-top:24px}.category-grid>a{padding:22px 12px;background:white;border:1px solid var(--line);border-radius:12px}.category-grid>a:hover{border-color:var(--blue)}.category-grid span{color:#1769ad;font-size:1.5rem}.category-grid h3{font-size:.85rem;margin:12px 0 6px}.category-grid small{font-size:.7rem;color:var(--muted)}.gift-banner{padding:36px 40px;background:var(--navy);border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:24px;color:white;margin:20px 0 60px}.gift-banner>div{max-width:680px}.gift-banner .eyebrow{color:var(--gold)}.gift-banner h2{font-size:1.9rem}.gift-banner p{color:#b7c6dd;margin:0}.site-footer{background:var(--deep);color:#fff;padding-top:50px}.footer-grid{display:grid;grid-template-columns:1.4fr .8fr 1fr;gap:65px;padding-bottom:35px}.footer-brand{font-size:1.2rem;font-weight:850}.footer-grid p{font-size:.8rem;margin-top:14px}.footer-grid h2{font-size:.9rem;letter-spacing:0}.footer-grid>div>a:not(.footer-brand){display:block;font-size:.8rem;color:#c0cde0;margin-bottom:9px}.footer-grid ul{padding-left:0;list-style:none;font-size:.8rem}.footer-grid .disclosure{color:#c3cede;border:0;padding:0}.muted{color:var(--muted);font-size:.82rem}.site-footer .muted{color:#a1b2ca}.copyright{padding-block:20px;border-top:1px solid #ffffff15;font-size:.7rem;color:#9cadc5}.empty{background:white;border:1px dashed #bac9db;border-radius:12px;padding:35px;text-align:center;grid-column:1/-1}.empty p{color:var(--muted);margin:8px 0 20px}.filters{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;margin:22px 0}.filters summary{font-weight:800;cursor:pointer;margin-bottom:12px}.filters form{display:flex;gap:14px;flex-wrap:wrap;align-items:end}.filters label{display:flex;flex-direction:column;font-size:.75rem;font-weight:700;gap:5px;flex:1;min-width:130px}.filters input:not([type=checkbox]),.filters select{border:1px solid #c7d1df;border-radius:6px;background:#fff;padding:10px;color:var(--ink);width:100%}.filters .gift-check{flex-direction:row;min-width:90px;align-items:center;align-self:center;flex:0 0 auto}.reset{font-size:.8rem;text-decoration:underline;padding:12px}.results-line{font-size:.8rem;color:var(--muted);margin:20px 0}.pagination{display:flex;gap:8px;justify-content:center;margin-top:35px;flex-wrap:wrap}.page-numbers{border:1px solid var(--line);padding:8px 15px;border-radius:6px;background:white}.page-numbers.current{background:var(--navy);color:white}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:start;margin-top:26px}.detail-image{background:white;border:1px solid var(--line);padding:40px;border-radius:18px;position:sticky;top:175px}.detail-image img{max-height:570px;width:100%;object-fit:contain}.product-detail h1{font-size:clamp(1.8rem,3vw,3rem)}.detail-excerpt{color:var(--muted)}.product-detail .disclosure{margin-bottom:20px}.product-detail .button{margin-bottom:12px}.product-description{margin-top:30px}.features{padding-left:20px}.back{display:inline-block}.reading{max-width:850px;min-height:50vh}.entry-content h2,.product-description h2{margin-top:30px}.entry-content a,.product-description a{text-decoration:underline;color:#1769ad}.entry-content ul,.entry-content ol{padding-left:24px}.story{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;margin:20px 0}.skip{position:fixed;left:10px;top:-100px;background:var(--gold);padding:12px;z-index:1000}.skip:focus{top:10px}.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1600px){.hero-grid{min-height:370px}}@media(max-width:1050px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.header-row{gap:22px}.brand{min-width:240px}.brand>a{font-size:1rem}.nav-note{display:none}.hero-grid{grid-template-columns:1.2fr 1fr}.universe-art{transform:scale(.87);transform-origin:center}.footer-grid{gap:25px}}
@media(max-width:782px){.admin-bar .site-header{top:46px}.shell{width:calc(100% - 36px)}.header-row{flex-wrap:wrap;gap:12px;padding-block:12px}.brand{min-width:0;flex:1}.brand>a{font-size:1rem}.custom-logo{max-height:45px;max-width:245px}.brand-mark{width:37px;height:37px}.search{order:3;flex-basis:100%;max-width:none}.menu-toggle{display:block;background:transparent;color:white;border:1px solid #6b7f99;border-radius:6px;padding:6px 10px;font-size:.75rem}.nav{display:none;padding-block:12px;align-items:start;gap:15px;flex-wrap:wrap}.nav.is-open{display:flex}.nav>ul{flex-wrap:wrap;gap:20px}.hero-grid{grid-template-columns:1fr;min-height:0;padding-block:30px}.hero h1{max-width:500px;font-size:2.7rem}.hero p{font-size:.9rem}.universe-art{display:none}.section{padding-block:25px}.section-heading{align-items:start}.section-heading h2{font-size:1.55rem}.section-heading .text-link{font-size:.72rem}.worlds{gap:12px}.world{padding:22px 18px;min-height:185px}.world h3{font-size:1.7rem}.world p{font-size:.75rem}.world span{font-size:.5rem}.world i{right:5px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-media{padding:15px}.card-body{padding:13px}.card-body h3{font-size:.85rem}.card-body>p{font-size:.73rem}.card-action .button{font-size:.71rem;gap:5px}.gift-banner{padding:27px;flex-direction:column;align-items:start;margin-bottom:35px}.gift-banner h2{font-size:1.65rem}.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-grid>div:first-child{grid-column:1/-1}.product-detail{grid-template-columns:1fr;gap:25px}.detail-image{position:static;padding:25px}.detail-image img{max-height:400px}.filters form{gap:12px}.filters label{min-width:43%}.filters .button{flex:1}.topline{font-size:.5rem;letter-spacing:.12em}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.admin-bar .site-header{position:relative;top:0}}@media(max-width:360px){.product-grid{grid-template-columns:1fr}.worlds{grid-template-columns:1fr}.hero h1{font-size:2.2rem}.brand>a{font-size:.8rem}.footer-grid{grid-template-columns:1fr}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filters label{min-width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.default-logo{width:295px;height:auto;border-radius:3px}.brand{min-width:295px}@media(max-width:782px){.default-logo{width:235px}.brand{min-width:0}}

@media(min-width:783px){.hero-grid{min-height:270px;padding-block:25px}.hero h1{font-size:3.1rem}.universe-art{height:230px}.hero-grid .button{padding:11px 18px}}
