/* Wexxhanem-inspired storefront refresh for AxentraGaming. Keeps existing PHP/API and config intact. */
:root{--wexx-bg:#050505;--wexx-panel:#111113;--wexx-panel2:#171719;--wexx-purple:#ff7a00;--wexx-blue:#ff9b24;--wexx-border:rgba(255,122,0,.28)}
html,body{background:radial-gradient(ellipse at 80% 10%,rgba(255,105,0,.11),transparent 36%),radial-gradient(ellipse at 15% 55%,rgba(255,122,0,.05),transparent 38%),var(--wexx-bg)!important;color:#f5f4ff}
.navbar{background:rgba(5,5,6,.97)!important;border-bottom:1px solid rgba(255,122,0,.55)!important;box-shadow:0 8px 28px rgba(0,0,0,.16)!important}
.logo-mark{background:linear-gradient(145deg,#ffb24c,#ff6500)!important;border-radius:11px!important;box-shadow:0 0 22px rgba(255,110,0,.2)}
.logo-mark svg{stroke:#17100a!important}
.nav-logo{color:#f7f6ff!important}
.nav-hamburger{border-radius:12px!important;background:rgba(21,17,14,.78)!important;border:1px solid rgba(255,122,0,.32)!important}
.nav-hamburger span{background:#ffffff!important;border-radius:8px}
.catalog-hero,.shop-banner,.catalog-category-card,.home-category-card,.cart-main-panel,.cart-summary-panel{background:linear-gradient(145deg,rgba(21,21,22,.94),rgba(10,10,11,.98))!important;border-color:var(--wexx-border)!important}
.catalog-eyebrow{color:#ff9b37!important}
.catalog-live-dot{background:#ff7a00!important;box-shadow:0 0 12px #ff7a00!important}
.catalog-hero h1 span,.home-popular-head h2 span,.page-title span{color:#ff9b37!important}
.search-box,.form-input,.form-select,.home-search-form{background:rgba(16,16,18,.9)!important;border-color:rgba(255,122,0,.24)!important;color:#f5f4ff!important}
.catalog-category-card,.home-category-card{border-radius:16px!important;box-shadow:0 7px 20px rgba(0,0,0,.12)}
.catalog-category-art,.home-category-art{background:linear-gradient(145deg,rgba(255,122,0,.2),rgba(120,50,0,.12))!important;border:1px solid rgba(255,122,0,.22)}
.product-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:18px!important}
.product-card{position:relative;overflow:hidden;padding:10px!important;border-radius:22px!important;background:linear-gradient(155deg,rgba(23,23,24,.98),rgba(9,9,10,.99))!important;border:1px solid rgba(255,122,0,.22)!important;box-shadow:0 9px 28px rgba(0,0,0,.18)!important;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important}
.product-card:hover{transform:translateY(-3px);border-color:rgba(255,142,30,.7)!important;box-shadow:0 14px 35px rgba(0,0,0,.28),0 0 25px rgba(255,102,0,.1)!important}
.product-card .product-img{position:relative;width:100%;height:auto!important;aspect-ratio:1/1;min-height:0!important;overflow:hidden;border-radius:18px!important;background:linear-gradient(145deg,#19100a,#090909)!important;margin:0 0 11px!important;border:1px solid rgba(255,255,255,.08)}
.product-card .product-img img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;padding:0!important;transition:transform .35s ease}
.product-card:hover .product-img img{transform:scale(1.035)}
.product-card .product-img.image-failed{display:grid;place-items:center}
.wexx-option-badge{position:absolute;left:12px;bottom:12px;z-index:2;display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(5,5,5,.9);color:#fff;font-size:.78rem;font-weight:700;box-shadow:0 4px 14px rgba(0,0,0,.25);backdrop-filter:blur(8px)}
.product-card .product-label-row{margin:0 2px 5px!important;gap:5px!important}
.product-card .product-category{color:#ff9b37!important;letter-spacing:.04em}
.product-card .product-name{text-align:center;font-size:1rem!important;font-weight:800!important;line-height:1.35!important;letter-spacing:.015em;color:#f4f2ff!important;text-transform:uppercase;margin:0 2px 7px!important}
.product-card .product-variant-note{display:none!important}
.product-card .product-desc{color:#a9b0ca!important;line-height:1.45!important}
.product-card .product-footer{border-top:1px solid rgba(255,255,255,.06);padding-top:9px!important;margin-top:7px}
.product-card .price-main{color:#ff8b18!important;font-weight:800!important}
.product-card .product-stock{color:#9de5c0!important}
.product-card .product-stock.out{color:#ff9ba9!important}
.product-card .product-buy,.btn-primary{background:linear-gradient(100deg,#ff6900,#ff9d22)!important;color:#fff!important;border:0!important;border-radius:12px!important;box-shadow:0 5px 17px rgba(255,104,0,.18)}
.product-card .product-buy:hover,.btn-primary:hover{filter:brightness(1.08)}
.product-card .fav-btn{background:rgba(8,8,8,.9)!important;border:1px solid rgba(255,122,0,.3)!important;color:#ffffff!important;backdrop-filter:blur(8px)}
.filter-row button,.home-chip{background:rgba(17,17,19,.9)!important;border-color:rgba(255,122,0,.22)!important;color:#f5f5f5!important}
.filter-row button.active,.home-chip.is-active{background:linear-gradient(100deg,#ff6900,#ff9d22)!important;color:#fff!important}
@media(max-width:760px){
 .navbar{height:72px!important;padding:0 18px!important}
 .nav-inner{display:flex!important;align-items:center!important;gap:14px!important}
 .nav-inner>.nav-logo{order:0!important;flex:1!important;min-width:0!important;font-size:clamp(1.05rem,5vw,1.55rem)!important;letter-spacing:-.045em!important;white-space:nowrap}
 .nav-inner>.nav-hamburger{order:2!important;flex:0 0 48px!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;margin-left:0!important;border-radius:13px!important}
 .nav-inner>.nav-hamburger span{width:28px!important;height:2px!important}
 .nav-tools{display:none!important}
 .nav-logo .logo-mark{width:39px!important;height:39px!important;min-width:39px!important;border-radius:12px!important}
 .page#page-shop .container.store-container{padding-left:18px!important;padding-right:18px!important}
 .store-container .catalog-hero{padding:18px!important;margin:12px 0 16px!important;border-radius:18px!important}
 .catalog-hero h1{font-size:1.65rem!important;line-height:1.12!important}
 .catalog-hero p{font-size:.82rem!important}
 .catalog-hero-mark{width:58px!important;height:58px!important;flex-basis:58px!important}
 .catalog-quick-stats{margin-top:13px!important}
 .store-container>.page-header{align-items:stretch!important;margin:12px 0!important}
 .store-container>.page-header .page-title{font-size:1.15rem!important}
 .store-container>.page-header .search-box{width:100%!important;max-width:none!important}
 .shop-banner{border-radius:13px!important;padding:11px!important;gap:9px!important;justify-content:space-around!important;font-size:.7rem!important}
 .catalog-category-heading{align-items:end!important;gap:8px!important;margin:22px 0 12px!important}
 .catalog-category-heading h2{font-size:1.2rem!important}
 .catalog-category-heading>span{font-size:.68rem!important;text-align:right}
 .catalog-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .catalog-category-card{border-radius:14px!important}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 12px!important}
 .product-card{padding:0!important;border-radius:23px!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
 .product-card:hover{transform:none!important;box-shadow:none!important}
 .product-card .product-img{aspect-ratio:1/1;height:auto!important;border-radius:23px!important;margin-bottom:10px!important;box-shadow:0 8px 18px rgba(0,0,0,.22);border:1px solid rgba(255,122,0,.24)}
 .product-card .product-name{font-size:clamp(.76rem,3.6vw,.98rem)!important;line-height:1.35!important;margin:0 1px!important;min-height:2.55em;display:flex;align-items:flex-start;justify-content:center;overflow-wrap:anywhere}
 .product-card .product-label-row{display:none!important}
 .product-card .product-desc{display:none!important}
 .product-card .product-footer{display:none!important}
 .product-card .product-buy{margin-top:8px!important;width:100%!important;min-height:35px!important;padding:8px 5px!important;font-size:.69rem!important;border-radius:10px!important}
 .product-card .fav-btn{top:8px!important;right:8px!important;width:30px!important;height:30px!important}
 .wexx-option-badge{left:10px;bottom:10px;padding:6px 10px;font-size:.72rem}
 .catalog-products-heading{margin-top:26px!important}
}
@media(max-width:380px){.product-grid{gap:14px 9px!important}.product-card .product-img{border-radius:19px!important}.wexx-option-badge{left:7px;bottom:7px;padding:5px 8px;font-size:.66rem}.nav-logo{font-size:.98rem!important}}
@media(prefers-reduced-motion:reduce){.product-card,.product-card .product-img img{transition:none!important}}

/* Final mobile polish: stable two-column catalog and graceful image fallback */
.product-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));align-items:start;min-width:0}
.product-card{min-width:0}
.product-card .product-img.image-failed{display:grid!important;place-items:center;background:radial-gradient(circle at 50% 35%,rgba(255,122,0,.22),transparent 55%),linear-gradient(145deg,#19100a,#090909)!important}
.product-card .image-fallback{display:none;place-items:center;width:76px;height:76px;border-radius:22px;background:linear-gradient(145deg,#ffb24c,#ff6500);color:#17100a;font-weight:900;font-size:1.5rem;box-shadow:0 0 30px rgba(255,110,0,.22)}
@media(max-width:760px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 12px!important}.product-card .product-img{width:100%;min-width:0}.store-container{min-width:0}.catalog-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:380px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 8px!important}}
