/* XaroMarket / Buyit v0.5.2 — PREMIUM DARK STOREFRONT TEST.
   Scoped to the index.php storefront only. Data, brands, payments, and admin untouched. */
body.xm-storefront.xm-premium-home{
 --xm-night:#0b0e19;--xm-night-card:#171c2d;--xm-night-border:#2a3043;
 background:#0b0e19!important;color:#f4f6ff!important;
}
body.xm-premium-home main{background:radial-gradient(ellipse 70% 40% at 95% 0%,#171931 0%,transparent 80%),#0b0e19!important;color:#f5f6ff;min-height:70vh!important}
body.xm-premium-home .market-header{background:linear-gradient(180deg,#0e1323 0%,#0b0e19 100%)!important;box-shadow:none!important;border-bottom:0!important}
body.xm-premium-home .market-header .header-row{max-width:1220px;height:76px!important;gap:16px!important}
body.xm-premium-home .market-header .menu-toggle,body.xm-premium-home .market-header .header-account,body.xm-premium-home .market-header .header-cart{background:#1c2032!important;border:1px solid #363a4e!important;color:#fff!important;border-radius:18px!important}
body.xm-premium-home .market-header .menu-toggle:hover,body.xm-premium-home .market-header .header-account:hover,body.xm-premium-home .market-header .header-cart:hover{border-color:#6962dc!important;background:#282a45!important}
body.xm-premium-home .market-header .compact-brand{justify-content:center!important;min-width:0!important}
body.xm-premium-home .market-header .xm-header-logo{display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;border:0!important;box-shadow:none!important;border-radius:14px!important;height:48px!important;max-width:168px!important;padding:4px 12px!important}
body.xm-premium-home .market-header .xm-header-logo img{object-fit:contain!important;max-width:100%!important;max-height:100%!important}
body.xm-premium-home .header-cart span{background:#8365ff!important;border:2px solid #0b0e19!important}
body.xm-premium-home .market-search{background:#1b1f30!important;border:1px solid #33374d!important;box-shadow:none!important;border-radius:18px!important;overflow:hidden!important}
body.xm-premium-home .market-search input{background:#1b1f30!important;color:#f6f7ff!important;min-width:0!important}
body.xm-premium-home .market-search input::placeholder{color:#9295aa!important}
body.xm-premium-home .market-search button{background:linear-gradient(110deg,#2688f8,#8b4cf4)!important;color:#fff!important;border:0!important;display:flex;justify-content:center;align-items:center;gap:9px;font-weight:780}
body.xm-premium-home .market-search button .xm-ui-icon{width:19px;height:19px}
body.xm-premium-home .market-category-strip{background:#0b0e19!important;color:#fff!important;border:0!important;max-width:1260px!important;margin:0 auto!important;gap:9px!important;padding:8px 18px 14px!important;scrollbar-width:none!important}
body.xm-premium-home .category-tile{min-height:38px!important;flex:0 0 auto!important;width:auto!important;padding:8px 16px!important;border-radius:25px!important;display:flex!important;gap:7px!important;align-items:center!important;border:1px solid #2c3041!important;background:#1b1e2c!important;box-shadow:none!important;transform:none!important;color:#c4c6d8!important}
body.xm-premium-home .category-tile.active{background:linear-gradient(110deg,#157ff4,#9b48e9)!important;border-color:#7770ed!important;color:#fff!important;box-shadow:0 7px 15px #25165755!important}
body.xm-premium-home .category-tile:hover{background:#272940!important;border-color:#7770ed!important;transform:none!important}
body.xm-premium-home .category-icon{font-size:15px!important;min-height:16px!important;line-height:1!important}
body.xm-premium-home .category-tile b{font-size:12px!important;font-weight:700!important;white-space:nowrap!important}
/* Hero */
body.xm-premium-home .xm-v052-intro{max-width:1240px!important;margin:0 auto!important;padding:18px 22px 0!important}
body.xm-premium-home .xm-v052-welcome{padding:8px 2px 19px}
body.xm-premium-home .xm-v052-overline{color:#a49aff;font-size:11px;letter-spacing:.15em;font-weight:900;display:flex;gap:9px;align-items:center}
body.xm-premium-home .xm-v052-overline i{width:6px;height:6px;border-radius:50%;background:#9d5afa;box-shadow:0 0 12px #aa6bfb}
body.xm-premium-home .xm-v052-welcome h1{margin:8px 0 5px;font-size:clamp(29px,4vw,51px);line-height:1.12;letter-spacing:-.045em;color:#fff;font-weight:810}
body.xm-premium-home .xm-v052-welcome h1 strong{font-weight:820;color:#ada5ff}
body.xm-premium-home .xm-v052-welcome p{font-size:14px;color:#969cb4;line-height:1.5;margin:0}
body.xm-premium-home .xm-v052-hero{min-height:290px;position:relative;overflow:hidden;border-radius:27px;border:1px solid #3b2b55;background:radial-gradient(circle at 78% 44%,#7622a4aa,transparent 40%),radial-gradient(circle at 60% 100%,#1d59aa77,transparent 46%),linear-gradient(115deg,#1c2038 0%,#141629 55%,#22172e 100%);display:grid;grid-template-columns:1.1fr .9fr;isolation:isolate}
body.xm-premium-home .xm-v052-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(130deg,#fff0 25%,#ffffff05 46%,transparent 64%);pointer-events:none}
body.xm-premium-home .xm-v052-hero-content{position:relative;z-index:3;padding:37px 36px 44px;align-self:center;min-width:0}
body.xm-premium-home .xm-v052-hero-tag{display:inline-flex;align-items:center;gap:7px;color:#c5afff;font-size:11px;font-weight:800;letter-spacing:.14em}
body.xm-premium-home .xm-v052-hero-content h2{color:#fff;font-size:clamp(32px,4.6vw,58px);letter-spacing:-.055em;line-height:1.02;margin:15px 0}
body.xm-premium-home .xm-v052-hero-content h2 em{font-style:normal;color:#b1a9ff}
body.xm-premium-home .xm-v052-hero-content p{font-size:14px;color:#cbcee1;line-height:1.6;max-width:350px;margin:0 0 23px}
body.xm-premium-home .xm-v052-primary-cta{display:inline-flex;gap:15px;align-items:center;justify-content:center;padding:13px 20px;border-radius:99px;background:linear-gradient(110deg,#229afa,#a54af4);color:#fff;font-size:13px;font-weight:820;box-shadow:0 9px 25px #5e33bb44}
body.xm-premium-home .xm-v052-primary-cta:hover{filter:brightness(1.12)}
body.xm-premium-home .xm-v052-hero-art{display:grid;place-items:center;position:relative;min-height:240px;overflow:hidden}
body.xm-premium-home .xm-v052-orbit{position:absolute;display:block;border-radius:50%;border:1px solid #a99bea35;transform:rotate(-30deg)}
body.xm-premium-home .orbit-a{width:310px;height:205px;box-shadow:0 0 65px #8133bb33}
body.xm-premium-home .orbit-b{width:410px;height:265px}
body.xm-premium-home .xm-v052-hero-product{width:min(90%,320px);height:250px;z-index:2;display:grid;place-items:center;filter:drop-shadow(0 20px 30px #09071466);transition:transform .2s}
body.xm-premium-home .xm-v052-hero-product:hover{transform:scale(1.03)}
body.xm-premium-home .xm-v052-hero-product img{max-width:100%;max-height:100%;object-fit:contain;border-radius:21px;box-shadow:0 12px 40px #07091066}
body.xm-premium-home .xm-v052-hero-symbol{font-size:155px;color:#a978ff;text-shadow:0 0 60px #ad69ffbb}
body.xm-premium-home .xm-v052-hero-caption{position:absolute;z-index:4;bottom:15px;right:22px;display:flex;align-items:center;gap:10px;padding:9px 13px;background:#0e1428ba;border:1px solid #d1c5ff44;border-radius:12px;backdrop-filter:blur(9px);color:#fff;max-width:50%}
body.xm-premium-home .xm-v052-hero-caption span:first-child{font-size:9px;font-weight:750;letter-spacing:.09em;color:#b5a6ef;white-space:nowrap}
body.xm-premium-home .xm-v052-hero-caption b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.xm-premium-home .xm-v052-hero-caption strong{font-size:12px;color:#fff;white-space:nowrap}
/* The actual catalogue is redesigned: no white shell, headers or cards. */
body.xm-premium-home .xm-marketplace-shell{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;max-width:1240px!important;padding:0 0 22px!important;margin:19px auto 0!important;overflow:visible!important}
body.xm-premium-home .xm-catalogue-heading{background:transparent!important;border:0!important;padding:15px 24px 13px!important;gap:12px!important;align-items:center!important}
body.xm-premium-home .xm-catalogue-heading .eyebrow{color:#b09cff!important;letter-spacing:.14em!important;font-size:10px!important}
body.xm-premium-home .xm-catalogue-heading h1{color:#f6f7fc!important;font-size:clamp(25px,3.5vw,36px)!important;font-weight:800;margin:4px 0 4px!important;letter-spacing:-.04em!important}
body.xm-premium-home .xm-catalogue-heading p{font-size:13px;color:#979cb4!important}
body.xm-premium-home .xm-product-count{background:#23263a!important;color:#afb2c8!important;border-radius:100px!important;font-size:11px!important;border:1px solid #363b51!important}
body.xm-premium-home .xm-catalogue-toolbar{background:transparent!important;border:0!important;border-bottom:0!important;margin:0!important;padding:7px 24px 13px!important;color:#afb3c9!important}
body.xm-premium-home .xm-catalogue-toolbar label{color:#b8bad0!important;font-weight:650!important}
body.xm-premium-home .xm-catalogue-toolbar select{background:#202438!important;border:1px solid #34394e!important;border-radius:14px!important;color:#f4f5fe!important;min-height:42px}
body.xm-premium-home .xm-view-button{background:#1e2235;color:#b5b8ce;border-color:#34394d;border-radius:13px}
body.xm-premium-home .xm-view-button.active{background:#2d284f;color:#b7a2ff;border-color:#7564c5}
body.xm-premium-home .xm-product-grid{gap:14px!important;padding:0 24px 14px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.xm-premium-home .xm-product-card{background:#191d2d!important;border:1px solid #303449!important;border-radius:20px!important;box-shadow:0 9px 30px #00000022!important;overflow:hidden!important}
body.xm-premium-home .xm-product-card:hover{border-color:#7564b5!important;box-shadow:0 14px 32px #1e0b4166!important}
body.xm-premium-home .xm-product-image{background:radial-gradient(circle at 50% 44%,#44425a 0%,#272a3b 58%,#212436 100%)!important;aspect-ratio:1.12/1!important;height:auto!important;min-height:0!important;padding:13px!important;}
body.xm-premium-home .xm-product-image img{border-radius:12px!important;object-fit:contain!important;padding:0!important;width:100%!important;height:100%!important;background:#fff!important}
body.xm-premium-home .xm-product-image .xm-new-badge{background:#7150dd!important;border-radius:8px!important}
body.xm-premium-home .xm-product-image .xm-sale-badge{background:#179c80!important;border-radius:8px!important}
body.xm-premium-home .xm-product-body{padding:14px!important;color:#fff!important}
body.xm-premium-home .xm-product-body h3{font-size:14px!important;min-height:2.65em!important;max-height:2.65em!important;color:#f6f6fc!important;line-height:1.32!important;letter-spacing:-.01em!important}
body.xm-premium-home .xm-product-title-link:hover h3{color:#bbacff!important}
body.xm-premium-home .xm-category-name{color:#ac94ff!important;font-size:11px!important}
body.xm-premium-home .market-seller{color:#9198ae!important;font-size:10px!important}
body.xm-premium-home .xm-product-body .price b{color:#fff!important;font-size:21px!important}
body.xm-premium-home .xm-product-body .price del{color:#9da1b8!important}
body.xm-premium-home .xm-product-body .stock{color:#63d8a8!important}
body.xm-premium-home .xm-card-action{display:flex!important;align-items:center;gap:7px;background:linear-gradient(110deg,#286fe8,#7a46d8)!important;border:1px solid #7183f3aa!important;border-radius:12px!important;box-shadow:none!important;font-size:12px!important;min-height:41px!important;color:#fff!important}
body.xm-premium-home .xm-card-action .xm-ui-icon{width:17px;height:17px}
body.xm-premium-home .xm-card-action:hover:not(:disabled){background:linear-gradient(110deg,#3288f8,#9854f3)!important}
body.xm-premium-home .xm-card-action.is-disabled{background:#343849!important;border-color:#4c5268!important;color:#a4a9bc!important}
body.xm-premium-home .xm-product-grid.is-list{grid-template-columns:1fr!important}
body.xm-premium-home .xm-product-grid.is-list .xm-product-image{aspect-ratio:auto!important;min-height:200px!important}
body.xm-premium-home .xm-trust-banner{border:1px solid #3a3560!important;background:linear-gradient(110deg,#172143,#28193e)!important;color:#fff!important;max-width:1192px!important}
body.xm-premium-home .xm-benefit-strip{background:#161a29!important;border:1px solid #30354b!important;max-width:1192px!important;color:#f3f4fe!important}
body.xm-premium-home .xm-benefit-strip>div b{color:#fff!important}
body.xm-premium-home .xm-benefit-strip>div small{color:#9ea6c0!important}
body.xm-premium-home .market-footer{background:#101525!important;border-top:1px solid #353349!important}
body.xm-premium-home .xm-mobile-shop-nav{background:#151929ed!important;border:1px solid #35364c!important;box-shadow:0 -9px 30px #040711cc!important;backdrop-filter:blur(18px);color:#a6a8c0!important}
body.xm-premium-home .xm-mobile-shop-nav>a,body.xm-premium-home .xm-mobile-shop-nav>button{color:#979db7!important;border:0!important;background:transparent!important}
body.xm-premium-home .xm-mobile-shop-nav .active{color:#b28bff!important;background:transparent!important}
body.xm-premium-home .xm-mobile-shop-nav .active .xm-ui-icon{filter:drop-shadow(0 0 7px #a852fa99)}
body.xm-premium-home .xm-mobile-shop-nav i{background:#8358ff!important}
@media(max-width:1100px){
 body.xm-premium-home .xm-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:750px){
 body.xm-premium-home .xm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.xm-premium-home .market-header .header-row{height:65px!important;grid-template-columns:42px minmax(0,1fr) 96px!important;padding:0 15px!important;gap:9px!important}
 body.xm-premium-home .market-header .compact-brand{width:auto!important;max-width:158px!important;justify-self:center!important}
 body.xm-premium-home .market-header .xm-header-logo{height:42px!important;max-width:152px!important;width:100%!important;padding:4px 9px!important}
 body.xm-premium-home .market-header .header-account,body.xm-premium-home .market-header .header-cart{width:41px!important;height:41px!important}
 body.xm-premium-home .market-header .menu-toggle{width:41px!important;height:41px!important}
 body.xm-premium-home .market-search{height:45px!important;margin:0 15px 7px!important;width:calc(100% - 30px)!important;max-width:none!important;border-radius:14px!important}
 body.xm-premium-home .market-search input{background:#1c2031!important;color:#fff!important;font-size:12px!important;padding:0 14px!important}
 body.xm-premium-home .market-search button{min-width:48px!important;width:48px!important;padding:0!important}
 body.xm-premium-home .market-search button span{display:none}
 body.xm-premium-home .market-search button .xm-ui-icon{width:19px;height:19px}
 body.xm-premium-home .market-category-strip{gap:7px!important;padding:8px 15px 11px!important}
 body.xm-premium-home .category-tile{padding:6px 13px!important;min-height:33px!important;border-radius:22px!important}
 body.xm-premium-home .category-tile b{font-size:11px!important;line-height:1.2!important}
 body.xm-premium-home .category-icon{font-size:12px!important;min-height:13px!important}
 body.xm-premium-home .xm-v052-intro{padding:6px 15px 0!important}
 body.xm-premium-home .xm-v052-welcome{padding:8px 1px 17px!important}
 body.xm-premium-home .xm-v052-welcome h1{font-size:30px!important;margin:6px 0!important}
 body.xm-premium-home .xm-v052-welcome p{font-size:12px!important}
 body.xm-premium-home .xm-v052-hero{grid-template-columns:minmax(0,1fr) minmax(0,.75fr);min-height:190px!important;border-radius:21px!important}
 body.xm-premium-home .xm-v052-hero-content{padding:23px 0 26px 20px!important}
 body.xm-premium-home .xm-v052-hero-tag{font-size:9px!important;letter-spacing:.08em!important}
 body.xm-premium-home .xm-v052-hero-content h2{font-size:clamp(25px,7.5vw,37px)!important;margin:10px 0!important;line-height:1.06!important}
 body.xm-premium-home .xm-v052-hero-content p{font-size:10px!important;line-height:1.42!important;max-width:190px!important;margin-bottom:15px!important}
 body.xm-premium-home .xm-v052-primary-cta{font-size:11px!important;padding:9px 12px!important;gap:9px!important}
 body.xm-premium-home .xm-v052-hero-art{min-height:190px!important}
 body.xm-premium-home .xm-v052-hero-product{width:85%!important;height:155px!important}
 body.xm-premium-home .xm-v052-orbit.orbit-a{width:240px;height:130px}
 body.xm-premium-home .xm-v052-orbit.orbit-b{width:310px;height:180px}
 body.xm-premium-home .xm-v052-hero-caption{max-width:65%!important;right:9px;bottom:7px;padding:6px 8px!important;border-radius:9px!important}
 body.xm-premium-home .xm-v052-hero-caption span:first-child{display:none}
 body.xm-premium-home .xm-v052-hero-caption b{font-size:10px!important;max-width:105px!important}
 body.xm-premium-home .xm-v052-hero-caption strong{font-size:10px!important}
 body.xm-premium-home .xm-marketplace-shell{margin:12px 0 0!important;border:0!important;box-shadow:none!important;}
 body.xm-premium-home .xm-catalogue-heading{padding:17px 15px 9px!important}
 body.xm-premium-home .xm-catalogue-heading h1{font-size:25px!important;margin:4px 0!important}
 body.xm-premium-home .xm-catalogue-heading p{font-size:11px!important}
 body.xm-premium-home .xm-product-count{font-size:10px!important;padding:6px 9px!important;align-self:center!important}
 body.xm-premium-home .xm-catalogue-toolbar{padding:3px 15px 14px!important;gap:8px!important}
 body.xm-premium-home .xm-catalogue-toolbar label{font-size:12px!important;gap:8px!important}
 body.xm-premium-home .xm-catalogue-toolbar select{max-width:160px!important;min-width:0!important;padding:8px 27px 8px 10px!important;font-size:12px!important}
 body.xm-premium-home .xm-view-button{padding:8px 10px!important}
 body.xm-premium-home .xm-product-grid{padding:0 15px 13px!important;gap:11px!important}
 body.xm-premium-home .xm-product-card{border-radius:15px!important}
 body.xm-premium-home .xm-product-image{aspect-ratio:1.12/1!important;padding:7px!important}
 body.xm-premium-home .xm-product-image img{border-radius:10px!important}
 body.xm-premium-home .xm-product-body{padding:10px!important}
 body.xm-premium-home .xm-product-body h3{font-size:12px!important;min-height:2.68em!important;max-height:2.68em!important}
 body.xm-premium-home .xm-category-name{font-size:10px!important}
 body.xm-premium-home .market-seller{font-size:9px!important;margin-bottom:6px!important}
 body.xm-premium-home .xm-product-body .price b{font-size:17px!important}
 body.xm-premium-home .xm-product-body .price del{font-size:10px!important}
 body.xm-premium-home .xm-product-body .stock{font-size:10px!important}
 body.xm-premium-home .xm-card-action{font-size:11px!important;min-height:37px!important;margin-top:8px!important}
 body.xm-premium-home .xm-trust-banner,body.xm-premium-home .xm-benefit-strip{margin-left:15px!important;margin-right:15px!important}
 body.xm-premium-home .xm-mobile-shop-nav{left:0!important;right:0!important;bottom:0!important;border-radius:18px 18px 0 0!important;padding:7px 4px calc(8px + env(safe-area-inset-bottom))!important;min-height:67px!important}
 body.xm-premium-home .xm-mobile-shop-nav>a,body.xm-premium-home .xm-mobile-shop-nav>button{font-size:10px!important;min-height:47px!important}
 body.xm-premium-home .xm-mobile-shop-nav .xm-ui-icon{width:22px!important;height:22px!important}
}
@media(max-width:360px){
 body.xm-premium-home .market-header .header-row{grid-template-columns:38px minmax(0,1fr) 86px!important;padding:0 9px!important;gap:4px!important}
 body.xm-premium-home .market-header .compact-brand{max-width:135px!important}
 body.xm-premium-home .market-search{margin-left:10px!important;margin-right:10px!important;width:calc(100% - 20px)!important}
 body.xm-premium-home .xm-v052-hero-content{padding-left:14px!important}
 body.xm-premium-home .xm-v052-hero-content h2{font-size:25px!important}
 body.xm-premium-home .xm-catalogue-toolbar .xm-view-button span{display:none!important}
 body.xm-premium-home .xm-product-grid{gap:8px!important;padding:0 10px 12px!important}
}

body.xm-premium-home .market-category-strip .category-tile b{display:inline!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important;white-space:nowrap!important;-webkit-line-clamp:unset!important;line-clamp:unset!important}
