@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//allgame.ma/wp-content/themes/woodmart/fonts/woodmart-font-2-400.woff2?v=8.0.6") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//allgame.ma/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//allgame.ma/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//allgame.ma/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//allgame.ma/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//allgame.ma/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//allgame.ma/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//allgame.ma/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//allgame.ma/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 15px;
	--wd-title-font: "Lexend Deca", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Lexend Deca", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lexend Deca", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Lexend Deca", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 13px;
	--wd-brd-radius: 10px;
	--wd-primary-color: rgb(126,59,242);
	--wd-alternative-color: rgb(109,40,217);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: rgb(126,59,242);
	--btn-default-bgcolor-hover: rgb(111,47,232);
	--btn-default-color: rgb(255,255,255);
	--btn-default-color-hover: rgb(255,255,255);
	--btn-accented-bgcolor: rgb(126,59,242);
	--btn-accented-bgcolor-hover: rgb(111,47,232);
	--btn-accented-color: rgb(255,255,255);
	--btn-accented-color-hover: rgb(255,255,255);
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(28,97,231);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
html .post.wd-post .post-title {
	font-size: 18px;
}
.page .wd-page-content {
	background-color: #FFFFFF;
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
html .wd-buy-now-btn {
	background: rgb(107,163,49);
}
html .wd-buy-now-btn:hover {
	background: rgb(95,158,44);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-bg: rgb(255,255,255);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 5px;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}

@media (min-width: 1417px) {
.platform-Windows .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}

@media (min-width: 1400px) {
html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* AGENTS trust badges + gift card archive polish */
.ag-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}
.ag-trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #f5f7fa;
  color: #111827;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}
.products .product .ag-trust-badges {
  margin-top: 10px;
}
.single-product .ag-trust-badges {
  margin: 0 0 16px;
}
body.tax-product_cat.term-gift-cards .products .product h2,
body.tax-product_cat.term-gift-cards .products .product h3,
body.tax-product_cat.term-gift-cards .products .product .woocommerce-loop-product__title,
body.tax-product_cat.term-gift-cards .products .product .wd-entities-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.7em;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
body.tax-product_cat.term-gift-cards .products .product {
  padding-bottom: 8px;
}

/* Stable brand visuals (no broken images) */
.ag-brand-links .ag-brand-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.ag-brand-links .ag-brand-list li a{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid rgba(148,163,184,.22);border-radius:10px;text-decoration:none;color:inherit;background:#fff;transition:.2s}
.ag-brand-links .ag-brand-list li a:hover{border-color:#1c61e7;color:#1c61e7;background:#f8fbff}
.ag-brand-links .ag-logo{width:22px;height:22px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:#fff;flex:0 0 22px}
.ag-brand-links .ag-ps{background:#003791}
.ag-brand-links .ag-xb{background:#107C10}
.ag-brand-links .ag-st{background:#1b2838}
.ag-brand-links .ag-nt{background:#e60012}
.ag-brand-links .ag-pg{background:#ffb000;color:#111}
.ag-brand-links .ag-ff{background:#ff6a00}
.ag-brand-links .ag-ri{background:#d32936}
.ag-brand-links .ag-bz{background:#00aeff;color:#001a2b}

/* Restore menu-bar accent on brand list + select option button, remove blue */
:root{ --ag-menu-accent:#7c3aed; --ag-menu-accent-dark:#6d28d9; }

/* Brand list links */
.ag-brand-links .ag-brand-list li a,
.ag-brand-links .ag-brand-list li a:visited{
  border-color: rgba(124,58,237,.22)!important;
  color: inherit!important;
  background: #fff!important;
}
.ag-brand-links .ag-brand-list li a:hover,
.ag-brand-links .ag-brand-list li a:focus,
.ag-brand-links .ag-brand-list li a.is-active,
.ag-brand-links .ag-brand-list li a.active{
  border-color: var(--ag-menu-accent)!important;
  color: var(--ag-menu-accent)!important;
  background: rgba(124,58,237,.08)!important;
  box-shadow: 0 0 0 2px rgba(124,58,237,.14) inset!important;
}

/* Product card button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .added_to_cart{
  background: var(--ag-menu-accent)!important;
  border-color: var(--ag-menu-accent)!important;
  color:#fff!important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product .added_to_cart:hover{
  background: var(--ag-menu-accent-dark)!important;
  border-color: var(--ag-menu-accent-dark)!important;
  color:#fff!important;
}

/* Kill any blue leftovers */
.ag-brand-links a[style*="1c61e7"],
.ag-brand-links a[style*="#1c61e7"],
.woocommerce ul.products li.product .button[style*="1c61e7"],
.woocommerce ul.products li.product .button[style*="#1c61e7"]{
  color: var(--ag-menu-accent)!important;
  border-color: var(--ag-menu-accent)!important;
  background: rgba(124,58,237,.08)!important;
}


/* FINAL: Cart buttons use menu purple */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .actions .button,
.woocommerce button[name="apply_coupon"],
.woocommerce a.checkout-button {
  background: linear-gradient(90deg, #6f3cf0 0%, #8b3df2 100%) !important;
  border-color: #6f3cf0 !important;
  color: #fff !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .actions .button:hover,
.woocommerce button[name="apply_coupon"]:hover,
.woocommerce a.checkout-button:hover {
  background: linear-gradient(90deg, #6235d8 0%, #7a35dc 100%) !important;
  border-color: #6235d8 !important;
  color: #fff !important;
}


/* Shop by Platform direct-link targeting */
main article a[href*="/product-category/playstation/"],
main article a[href*="/product-category/xbox/"],
main article a[href*="/product-category/steam/"],
main article a[href*="/product-category/nintendo/"],
main article a[href*="/product-category/pubg-mobile/"],
main article a[href*="/product-category/free-fire/"],
main article a[href*="/product-category/riot/"],
main article a[href*="/product-category/blizzard/"]{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:8px!important;background:#0f172a!important;border:1px solid #1e293b!important;border-radius:16px!important;padding:22px!important;min-height:170px!important;text-decoration:none!important;color:#22d3ee!important;transition:all .25s ease!important;}
main article a[href*="/product-category/playstation/"] strong,
main article a[href*="/product-category/xbox/"] strong,
main article a[href*="/product-category/steam/"] strong,
main article a[href*="/product-category/nintendo/"] strong,
main article a[href*="/product-category/pubg-mobile/"] strong,
main article a[href*="/product-category/free-fire/"] strong,
main article a[href*="/product-category/riot/"] strong,
main article a[href*="/product-category/blizzard/"] strong{color:#f8fafc!important;font-size:18px!important;font-weight:600!important;}
main article a[href*="/product-category/playstation/"]:hover,
main article a[href*="/product-category/xbox/"]:hover,
main article a[href*="/product-category/steam/"]:hover,
main article a[href*="/product-category/nintendo/"]:hover,
main article a[href*="/product-category/pubg-mobile/"]:hover,
main article a[href*="/product-category/free-fire/"]:hover,
main article a[href*="/product-category/riot/"]:hover,
main article a[href*="/product-category/blizzard/"]:hover{transform:translateY(-4px)!important;border-color:#22d3ee!important;box-shadow:0 10px 30px rgba(34,211,238,.18)!important;}


/* Platform card logos */
main article a[href*="/product-category/playstation/"]::before,main article a[href*="/product-category/xbox/"]::before,main article a[href*="/product-category/steam/"]::before,main article a[href*="/product-category/nintendo/"]::before,main article a[href*="/product-category/pubg-mobile/"]::before,main article a[href*="/product-category/free-fire/"]::before,main article a[href*="/product-category/riot/"]::before,main article a[href*="/product-category/blizzard/"]::before{content:"";width:44px;height:44px;display:block;background-size:contain;background-repeat:no-repeat;background-position:center;filter:drop-shadow(0 2px 8px rgba(0,0,0,.25));}
main article a[href*="/product-category/playstation/"]::before{background-image:url("https://cdn.simpleicons.org/playstation/ffffff");}
main article a[href*="/product-category/xbox/"]::before{background-image:url("https://upload.wikimedia.org/wikipedia/commons/f/f9/Xbox_one_logo.svg");}
main article a[href*="/product-category/steam/"]::before{background-image:url("https://cdn.simpleicons.org/steam/ffffff");}
main article a[href*="/product-category/nintendo/"]::before{background-image:url("https://upload.wikimedia.org/wikipedia/commons/0/0d/Nintendo.svg");}
main article a[href*="/product-category/pubg-mobile/"]::before{background-image:url("https://cdn.simpleicons.org/pubg/F2A900");}
main article a[href*="/product-category/free-fire/"]::before{background-image:url("https://allgame.ma/wp-content/uploads/2026/03/free-fire-logo.png");}
main article a[href*="/product-category/riot/"]::before{background-image:url("https://cdn.simpleicons.org/riotgames/ffffff");}
main article a[href*="/product-category/blizzard/"]::before{background-image:url("https://upload.wikimedia.org/wikipedia/commons/2/23/Blizzard_Entertainment_Logo_2015.svg");}


/* Platform cards pro polish */
main article a[href*="/product-category/playstation/"],
main article a[href*="/product-category/xbox/"],
main article a[href*="/product-category/steam/"],
main article a[href*="/product-category/nintendo/"],
main article a[href*="/product-category/pubg-mobile/"],
main article a[href*="/product-category/free-fire/"],
main article a[href*="/product-category/riot/"],
main article a[href*="/product-category/blizzard/"]{position:relative;overflow:hidden;}

main article a[href*="/product-category/playstation/"]::before,
main article a[href*="/product-category/xbox/"]::before,
main article a[href*="/product-category/steam/"]::before,
main article a[href*="/product-category/nintendo/"]::before,
main article a[href*="/product-category/pubg-mobile/"]::before,
main article a[href*="/product-category/free-fire/"]::before,
main article a[href*="/product-category/riot/"]::before,
main article a[href*="/product-category/blizzard/"]::before{content:"";width:48px;height:48px;display:block;border-radius:12px;background-color:rgba(255,255,255,.06);background-size:28px 28px;background-repeat:no-repeat;background-position:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12),0 8px 18px rgba(0,0,0,.22)!important;}

main article a[href*="/product-category/playstation/"]::after,
main article a[href*="/product-category/xbox/"]::after,
main article a[href*="/product-category/steam/"]::after,
main article a[href*="/product-category/nintendo/"]::after,
main article a[href*="/product-category/pubg-mobile/"]::after,
main article a[href*="/product-category/free-fire/"]::after,
main article a[href*="/product-category/riot/"]::after,
main article a[href*="/product-category/blizzard/"]::after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 0%,rgba(255,255,255,.08) 35%,transparent 55%);transform:translateX(-140%);transition:transform .5s ease;pointer-events:none;}

main article a[href*="/product-category/playstation/"]:hover::after,
main article a[href*="/product-category/xbox/"]:hover::after,
main article a[href*="/product-category/steam/"]:hover::after,
main article a[href*="/product-category/nintendo/"]:hover::after,
main article a[href*="/product-category/pubg-mobile/"]:hover::after,
main article a[href*="/product-category/free-fire/"]:hover::after,
main article a[href*="/product-category/riot/"]:hover::after,
main article a[href*="/product-category/blizzard/"]:hover::after{transform:translateX(140%);}

main article a[href*="/product-category/playstation/"] strong,
main article a[href*="/product-category/xbox/"] strong,
main article a[href*="/product-category/steam/"] strong,
main article a[href*="/product-category/nintendo/"] strong,
main article a[href*="/product-category/pubg-mobile/"] strong,
main article a[href*="/product-category/free-fire/"] strong,
main article a[href*="/product-category/riot/"] strong,
main article a[href*="/product-category/blizzard/"] strong{text-shadow:0 1px 0 rgba(0,0,0,.28);}


/* Platform console visuals */
/* consoles (no background blocks) */
main article a[href*="/product-category/playstation/"]::before{background-image:url("https://cdn.simpleicons.org/playstation/ffffff")!important;background-size:38px 38px!important;background-color:transparent!important;box-shadow:none!important;}
main article a[href*="/product-category/xbox/"]::before{background-image:url("https://upload.wikimedia.org/wikipedia/commons/f/f9/Xbox_one_logo.svg")!important;background-size:38px 38px!important;background-color:transparent!important;box-shadow:none!important;}
main article a[href*="/product-category/nintendo/"]::before{background-image:url("https://upload.wikimedia.org/wikipedia/commons/0/0d/Nintendo.svg")!important;background-size:38px 38px!important;background-color:transparent!important;box-shadow:none!important;}
main article a[href*="/product-category/steam/"]::before{background-image:url("https://cdn.simpleicons.org/steam/ffffff")!important;background-size:38px 38px!important;background-color:transparent!important;box-shadow:none!important;}
/* non-console platforms => clean gamepad */
main article a[href*="/product-category/riot/"]::before,
main article a[href*="/product-category/blizzard/"]::before,
main article a[href*="/product-category/pubg-mobile/"]::before,
main article a[href*="/product-category/free-fire/"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M6 12h4m-2-2v4m7-1h.01M18 11h.01"/%3E%3Cpath d="M6.75 7.5h10.5a3.75 3.75 0 0 1 3.6 4.8l-1.2 3.9a1.5 1.5 0 0 1-2.4.72l-2.04-1.53a3 3 0 0 0-3.6 0l-2.04 1.53a1.5 1.5 0 0 1-2.4-.72l-1.2-3.9a3.75 3.75 0 0 1 3.6-4.8Z"/%3E%3C/svg%3E")!important;background-size:40px 40px!important;background-color:transparent!important;box-shadow:none!important;}
/* pro hover */
main article a[href*="/product-category/"]::before{transition:transform .25s ease, filter .25s ease;filter:drop-shadow(0 6px 12px rgba(0,0,0,.28));}
main article a[href*="/product-category/"]:hover::before{transform:translateY(-2px) scale(1.06);filter:drop-shadow(0 10px 20px rgba(34,211,238,.35));}


/* Free Fire fallback icon */
main article a[href*="/product-category/free-fire/"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22white%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 12h4m-2-2v4m7-1h.01M18 11h.01%22/%3E%3Cpath d=%22M6.75 7.5h10.5a3.75 3.75 0 0 1 3.6 4.8l-1.2 3.9a1.5 1.5 0 0 1-2.4.72l-2.04-1.53a3 3 0 0 0-3.6 0l-2.04 1.53a1.5 1.5 0 0 1-2.4-.72l-1.2-3.9a3.75 3.75 0 0 1 3.6-4.8Z%22/%3E%3C/svg%3E")!important;background-size:40px 40px!important;background-color:transparent!important;box-shadow:none!important;}

/* Free Fire official svg */
main article a[href*="/product-category/free-fire/"]::before{background-image:url("https://allgame.ma/wp-content/uploads/2026/03/icons8-free-fire-100.svg")!important;background-size:40px 40px!important;background-color:transparent!important;box-shadow:none!important;}


/* Shop by Platform - site matched design */
main article:has(a[href*="/product-category/playstation/"]) h2{
  font-size:32px!important;
  font-weight:700!important;
  color:#1f2937!important;
  margin-bottom:8px!important;
}
main article:has(a[href*="/product-category/playstation/"]) h2 + p{
  color:#6b7280!important;
  font-size:15px!important;
  margin-bottom:20px!important;
}
main article a[href*="/product-category/playstation/"],
main article a[href*="/product-category/xbox/"],
main article a[href*="/product-category/steam/"],
main article a[href*="/product-category/nintendo/"],
main article a[href*="/product-category/pubg-mobile/"],
main article a[href*="/product-category/free-fire/"],
main article a[href*="/product-category/riot/"],
main article a[href*="/product-category/blizzard/"]{
  background:linear-gradient(180deg,#ffffff 0%,#f8faff 100%)!important;
  border:1px solid rgba(124,58,237,.18)!important;
  border-radius:14px!important;
  box-shadow:0 6px 18px rgba(15,23,42,.06)!important;
  color:#7c3aed!important;
}
main article a[href*="/product-category/playstation/"] strong,
main article a[href*="/product-category/xbox/"] strong,
main article a[href*="/product-category/steam/"] strong,
main article a[href*="/product-category/nintendo/"] strong,
main article a[href*="/product-category/pubg-mobile/"] strong,
main article a[href*="/product-category/free-fire/"] strong,
main article a[href*="/product-category/riot/"] strong,
main article a[href*="/product-category/blizzard/"] strong{
  color:#111827!important;
}
main article a[href*="/product-category/"]:hover{
  transform:translateY(-5px)!important;
  border-color:#7c3aed!important;
  box-shadow:0 14px 30px rgba(124,58,237,.18)!important;
}
main article a[href*="/product-category/"]::after{
  background:linear-gradient(115deg,transparent 0%,rgba(124,58,237,.12) 40%,transparent 65%)!important;
}
main article a[href*="/product-category/"]::before{
  filter:drop-shadow(0 6px 10px rgba(124,58,237,.18))!important;
}


/* Shop by Platform premium extras */
main article:has(a[href*="/product-category/playstation/"]){
  background:linear-gradient(180deg, rgba(124,58,237,.04) 0%, rgba(124,58,237,0) 40%);
  border-radius:18px;
  padding:18px 14px 10px;
}
main article:has(a[href*="/product-category/playstation/"]) a[href*="/product-category/"]{
  min-height:178px!important;
}
main article:has(a[href*="/product-category/playstation/"]) a[href*="/product-category/"] strong{
  margin-top:2px;
}
@media (max-width:767px){
  main article:has(a[href*="/product-category/playstation/"]){padding:10px 6px 4px;}
  main article:has(a[href*="/product-category/playstation/"]) a[href*="/product-category/"]{min-height:155px!important;}
}


/* Shop by Platform color-contrast fix */
main article a[href*="/product-category/playstation/"]::before{background-image:url("https://cdn.simpleicons.org/playstation/003791")!important;}
main article a[href*="/product-category/xbox/"]::before{background-image:url("https://cdn.simpleicons.org/xbox/107C10")!important;}
main article a[href*="/product-category/steam/"]::before{background-image:url("https://cdn.simpleicons.org/steam/171A21")!important;}
main article a[href*="/product-category/nintendo/"]::before{background-image:url("https://cdn.simpleicons.org/nintendo/E60012")!important;}
main article a[href*="/product-category/riot/"]::before{background-image:url("https://cdn.simpleicons.org/riotgames/D13639")!important;}
main article a[href*="/product-category/blizzard/"]::before{background-image:url("https://upload.wikimedia.org/wikipedia/commons/2/23/Blizzard_Entertainment_Logo_2015.svg")!important;}
main article a[href*="/product-category/pubg-mobile/"]::before{background-image:url("https://cdn.simpleicons.org/pubg/F2A900")!important;}
main article a[href*="/product-category/free-fire/"]::before{background-image:url("https://allgame.ma/wp-content/uploads/2026/03/icons8-free-fire-100.svg")!important;}
main article a[href*="/product-category/"]::before{opacity:1!important;filter:drop-shadow(0 4px 8px rgba(15,23,42,.16))!important;}


/* Xbox Nintendo hard-fix */
main article a[href*="/product-category/xbox/"]::before{background-image:url("https://logo.clearbit.com/xbox.com")!important;background-size:42px 42px!important;}
main article a[href*="/product-category/nintendo/"]::before{background-image:url("https://logo.clearbit.com/nintendo.com")!important;background-size:42px 42px!important;}


/* Xbox Nintendo CDN hard-fix */
main article a[href*="/product-category/xbox/"]::before{background-image:url("https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/xbox.svg")!important;background-size:40px 40px!important;background-repeat:no-repeat!important;background-position:center!important;}
main article a[href*="/product-category/nintendo/"]::before{background-image:url("https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/nintendo.svg")!important;background-size:40px 40px!important;background-repeat:no-repeat!important;background-position:center!important;}


/* Xbox Nintendo color override */
main article a[href*="/product-category/xbox/"]::before{background-image:url("https://cdn.simpleicons.org/xbox/107C10")!important;background-size:40px 40px!important;}
main article a[href*="/product-category/nintendo/"]::before{background-image:url("https://cdn.simpleicons.org/nintendo/E60012")!important;background-size:40px 40px!important;}


/* Xbox Nintendo local inline final */
main article a[href*="/product-category/xbox/"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22%23107C10%22%3E%3Cpath d=%22M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2Zm4.9 14.4c-.5.7-1.1 1.2-1.8 1.7-1.2-2.3-2.4-4-3.1-4.9.8-.8 2.3-2.4 3.8-4.6 1.4 1.3 2.2 3.2 2.2 5.4 0 .9-.4 1.7-1.1 2.4Zm-4.9 3.6c-2.1 0-4-.8-5.4-2.2 1.5-2.2 3-3.8 3.8-4.6-.7-.9-1.9-2.6-3.1-4.9-.7.5-1.3 1-1.8 1.7-.7.7-1.1 1.5-1.1 2.4 0 4.4 3.6 7.6 7.6 7.6Zm0-16c1.9 0 3.7.7 5 1.9-1.8 2.6-3.6 4.4-4.5 5.2-.9-.8-2.7-2.6-4.5-5.2C8.3 4.7 10.1 4 12 4Z%22/%3E%3C/svg%3E")!important;background-size:40px 40px!important;}
main article a[href*="/product-category/nintendo/"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22%23E60012%22%3E%3Cpath d=%22M4 7a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v10a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4V7Zm4-2a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h3V5H8Zm5 14h3a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-3v14Zm1-11.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-5 6a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Z%22/%3E%3C/svg%3E")!important;background-size:40px 40px!important;}


/* Xbox Nintendo user SVG final */
main article a[href*="/product-category/xbox/"]::before{background-image:url("https://allgame.ma/wp-content/uploads/2026/03/xbox.svg")!important;background-size:40px 40px!important;background-repeat:no-repeat!important;background-position:center!important;}
main article a[href*="/product-category/nintendo/"]::before{background-image:url("https://allgame.ma/wp-content/uploads/2026/03/Nintendo.svg")!important;background-size:40px 40px!important;background-repeat:no-repeat!important;background-position:center!important;}






/* Gaming decor render block (inserted by JS before Shop by Platform) */
.ag-gaming-decor{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:center;margin:0 0 16px;}
.ag-gaming-decor img{width:100%;max-width:170px;height:auto;display:block;margin:0 auto;filter:drop-shadow(0 8px 16px rgba(15,23,42,.18));border-radius:8px;}
@media (max-width:767px){.ag-gaming-decor{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 12px}.ag-gaming-decor img{max-width:140px}}


/* 8 products in one row + moving */
.ag-products-wrap ul.products{
display:flex !important;
flex-wrap:nowrap !important;
gap:12px !important;
overflow:hidden !important;
width:100% !important;
margin:0 !important;
padding:0 !important;
animation: agMove8 20s linear infinite !important;
}

.ag-products-wrap ul.products li.product{
flex:0 0 calc((100% - 7 * 12px) / 8) !important;
width:calc((100% - 7 * 12px) / 8) !important;
min-width:calc((100% - 7 * 12px) / 8) !important;
max-width:none !important;
float:none !important;
clear:none !important;
margin:0 !important;
}

/* pause on hover */
.ag-products-wrap ul.products:hover{
animation-play-state:paused !important;
}

@keyframes agMove8{
0% { transform:translateX(0); }
100% { transform:translateX(-18%); }
}






/* AG Home trust/promo blocks */
.ag-home-blocks{margin:24px 0}
.ag-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ag-trust-item{background:#fff;border:1px solid rgba(124,58,237,.15);border-radius:12px;padding:14px;box-shadow:0 6px 14px rgba(15,23,42,.06)}
.ag-trust-item b{display:block;color:#111827;font-size:14px;margin-bottom:3px}
.ag-trust-item span{font-size:12px;color:#6b7280}
.ag-promo{margin-top:14px;background:linear-gradient(135deg,#6d28d9,#8b5cf6);color:#fff;border-radius:14px;padding:16px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.ag-promo a{background:#fff;color:#6d28d9;text-decoration:none;padding:8px 14px;border-radius:8px;font-weight:700;font-size:13px}
.ag-cat-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:14px}
.ag-cat-row a{display:block;text-align:center;padding:10px;border-radius:10px;background:#f8f7ff;border:1px solid rgba(124,58,237,.12);text-decoration:none;color:#4c1d95;font-weight:600;font-size:13px}
.ag-social{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.ag-social div{background:#fff;border:1px solid #ececf3;border-radius:10px;padding:12px;text-align:center}
.ag-social b{display:block;font-size:18px;color:#111827}
.ag-social span{font-size:12px;color:#6b7280}
@media (max-width:1024px){.ag-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ag-cat-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:767px){.ag-trust-grid,.ag-social{grid-template-columns:1fr}.ag-promo{flex-direction:column;align-items:flex-start}}


/* Boutique brand menu left align + purple */
body.postid-10627 .widget_layered_nav ul,
body.postid-10900 .widget_layered_nav ul{padding-left:0!important;margin-left:0!important;}
body.postid-10627 .widget_layered_nav li,
body.postid-10900 .widget_layered_nav li{margin-left:0!important;text-align:left!important;}
body.postid-10627 .widget_layered_nav .wd-scroll-content li a,
body.postid-10627 .widget_layered_nav .wd-nav-product-cat li a,
body.postid-10900 .widget_layered_nav .wd-scroll-content li a,
body.postid-10900 .widget_layered_nav .wd-nav-product-cat li a{display:flex!important;justify-content:flex-start!important;align-items:center!important;padding-left:12px!important;border:1px solid #E5E7EB!important;background:#fff!important;color:#374151!important;border-radius:10px!important;transition:all .25s ease;}
body.postid-10627 .widget_layered_nav li a:hover,body.postid-10900 .widget_layered_nav li a:hover{border-color:#7C3AED!important;background:#F5F3FF!important;color:#5B21B6!important;transform:translateX(2px);}
body.postid-10627 .widget_layered_nav .chosen a,body.postid-10900 .widget_layered_nav .chosen a{border-color:#7C3AED!important;background:#7C3AED!important;color:#fff!important;box-shadow:0 6px 14px rgba(124,58,237,.25)!important;}




/* Brand filter screenshot style */
.widget .widget-title{font-weight:700;font-size:32px;margin-bottom:14px;}
.widget_layered_nav ul{list-style:none;padding:0;margin:0;}
.widget_layered_nav ul li{margin:0 0 12px;}
.widget_layered_nav ul li a{display:flex!important;align-items:center;gap:10px;min-height:50px;padding:10px 14px;border:1px solid #E5E7EB!important;border-radius:12px;background:#fff!important;color:#6B7280!important;font-size:28px;text-decoration:none;transition:all .2s ease;}
.widget_layered_nav ul li a img,.widget_layered_nav ul li a .wd-swatch,.widget_layered_nav ul li a .filter-swatch{width:26px!important;height:26px!important;min-width:26px!important;border-radius:8px!important;object-fit:cover;}
.widget_layered_nav ul li a:hover{border-color:#C4B5FD!important;background:#FAF7FF!important;color:#374151!important;}
.widget_layered_nav .chosen a{border-color:#7C3AED!important;background:#F5F3FF!important;color:#4C1D95!important;}


/* Sidebar filter style like screenshot */
.shop-sidebar .widget-title,.wd-sidebar .widget-title{font-size:38px;font-weight:700;color:#1f2937;margin:0 0 16px;}
.shop-sidebar .widget_price_filter,.wd-sidebar .widget_price_filter{margin-bottom:28px;padding-bottom:20px;border-bottom:1px solid #e5e7eb;}
.shop-sidebar .widget_price_filter .price_slider_wrapper .ui-slider{height:4px;border-radius:999px;background:#e9e5f8;}
.shop-sidebar .widget_price_filter .ui-slider .ui-slider-range{background:#7c3aed;}
.shop-sidebar .widget_price_filter .ui-slider .ui-slider-handle{width:14px;height:14px;top:-5px;border-radius:50%;border:2px solid #7c3aed;background:#fff;}
.shop-sidebar .widget_price_filter .price_label{font-size:18px;color:#374151;}
.shop-sidebar .widget_price_filter .button{background:#e9ecff!important;color:#4b5563!important;border:none!important;border-radius:8px!important;padding:8px 18px!important;font-weight:600;}
.shop-sidebar .widget_layered_nav ul,.wd-sidebar .widget_layered_nav ul{list-style:none;margin:0;padding:0;}
.shop-sidebar .widget_layered_nav ul li,.wd-sidebar .widget_layered_nav ul li{margin:0 0 14px;}
.shop-sidebar .widget_layered_nav ul li a,.wd-sidebar .widget_layered_nav ul li a{display:flex!important;align-items:center;gap:12px;min-height:56px;padding:10px 14px;border:1px solid #d9dbe7!important;border-radius:14px;background:#fff!important;color:#6b7280!important;font-size:33px;line-height:1;text-decoration:none;transition:.2s ease;}
.shop-sidebar .widget_layered_nav ul li a img,.shop-sidebar .widget_layered_nav ul li a .wd-swatch,.wd-sidebar .widget_layered_nav ul li a img,.wd-sidebar .widget_layered_nav ul li a .wd-swatch{width:28px!important;height:28px!important;min-width:28px!important;border-radius:8px!important;object-fit:cover;}
.shop-sidebar .widget_layered_nav ul li a:hover,.wd-sidebar .widget_layered_nav ul li a:hover{border-color:#c4b5fd!important;background:#faf7ff!important;color:#4b5563!important;}
.shop-sidebar .widget_layered_nav .chosen a,.wd-sidebar .widget_layered_nav .chosen a{border-color:#7c3aed!important;background:#f5f3ff!important;color:#4c1d95!important;}


/* Force brands filter expanded */
/* Gift cards sidebar: keep brands list visible without click */
body.tax-product_cat .shop-sidebar .widget_layered_nav .wd-scroll-content,
body.tax-product_cat .wd-sidebar .widget_layered_nav .wd-scroll-content,
body.tax-product_cat .shop-sidebar .widget_layered_nav ul,
body.tax-product_cat .wd-sidebar .widget_layered_nav ul{display:block!important;max-height:none!important;opacity:1!important;visibility:visible!important;}

/* If theme uses collapsible toggles, keep them open */
body.tax-product_cat .shop-sidebar .wd-widget-collapsed .widget-content,
body.tax-product_cat .wd-sidebar .wd-widget-collapsed .widget-content{display:block!important;height:auto!important;}

/* hide fake accordion arrow state */
body.tax-product_cat .shop-sidebar .widget-title:after,
body.tax-product_cat .wd-sidebar .widget-title:after{transform:rotate(180deg)!important;}


/* Header cleanup allgame */
/* hide old demo promo text in top area */
.whb-top-bar .wd-header-text,
.whb-top-bar .whb-text-element,
.whb-top-bar .promo-banner,
.whb-top-bar [class*="promo"]{display:none!important;}

/* tighter clean header spacing */
.whb-general-header .whb-column{padding-top:8px!important;padding-bottom:8px!important;}
.whb-general-header .wd-tools-element{margin-left:10px!important;margin-right:10px!important;}
.whb-general-header .wd-tools-element > a{opacity:.95;}
.whb-general-header .wd-tools-element > a:hover{opacity:1;}

/* normalize logo zone */
.site-logo img,.wd-logo img{max-height:42px!important;width:auto!important;}

/* cleaner icon alignment */
.whb-header .wd-tools-element > a{display:flex;align-items:center;gap:6px;}


/* Header polish v2 */
/* hide top bar completely */
.whb-top-bar, .whb-header-top, .header-top, .topbar-wrapper{display:none!important;}

/* cleaner header spacing */
.whb-general-header{border-bottom:1px solid #eef2f7!important;}
.whb-general-header .whb-column{padding-top:10px!important;padding-bottom:10px!important;}

/* improve logo size/clarity */
.site-logo img,.wd-logo img,.header-logo img{max-height:56px!important;width:auto!important;image-rendering:auto;}
@media (max-width:1024px){.site-logo img,.wd-logo img,.header-logo img{max-height:46px!important;}}
@media (max-width:767px){.site-logo img,.wd-logo img,.header-logo img{max-height:40px!important;}}

/* tools alignment */
.whb-header .wd-tools-element > a{display:flex;align-items:center;gap:6px;}
.whb-header .wd-tools-element{margin-left:8px!important;margin-right:8px!important;}




/* Hide Region on PUBG & Free Fire */
body.postid-10792 form.variations_form tr:has(select[name="attribute_pa_region"]),
body.postid-10807 form.variations_form tr:has(select[name="attribute_pa_region"]),
body.postid-10792 form.variations_form select[name="attribute_pa_region"]:closest(.value),
body.postid-10807 form.variations_form select[name="attribute_pa_region"]:closest(.value){display:none!important;}
