/* =========================================================
   LioGames Fast 2.2 — professional global WordPress/Woo UI
   ========================================================= */
:root{
  --lg-page:#f6f8fc;
  --lg-card:#ffffff;
  --lg-ink:#10182d;
  --lg-muted:#748096;
  --lg-border:#e6ebf3;
  --lg-border-strong:#d8dfeb;
  --lg-navy:#17213d;
  --lg-purple:#7257f3;
  --lg-pink:#f5337f;
  --lg-blue:#2f73ff;
  --lg-green:#16a876;
  --lg-orange:#ff9b25;
  --lg-danger:#e74855;
  --lg-soft-purple:#f3efff;
  --lg-soft-pink:#fff0f6;
  --lg-soft-blue:#eef5ff;
  --lg-shadow-soft:0 10px 30px rgba(24,37,69,.055);
  --lg-shadow-card:0 16px 42px rgba(24,37,69,.075);
}
body.lg-site:not(.lg-fast-home){background:var(--lg-page)}
body.lg-site:not(.lg-fast-home) .lg-header{box-shadow:0 4px 22px rgba(25,37,68,.035)}
.lg-basic-page{padding:34px 0 72px;min-height:58vh}
.lg-basic-page>article{background:#fff;border:1px solid var(--lg-border);border-radius:22px;padding:30px;box-shadow:var(--lg-shadow-soft)}
.lg-basic-page h1{margin:0 0 18px;font-size:30px;line-height:1.15;letter-spacing:-.035em}
.lg-basic-page h2,.lg-basic-page h3{color:var(--lg-ink)}
.lg-basic-page p,.lg-basic-page li{color:#5f6b82;line-height:1.75}
.lg-basic-page a:not(.button):not(.woocommerce-button){color:#4f48dc;font-weight:700}

/* Shared page hero / breadcrumbs */
.lg-page-shell{width:var(--lg-shell);margin-inline:auto}
.lg-page-hero{position:relative;overflow:hidden;margin:26px auto 22px;padding:28px 30px;border:1px solid rgba(226,232,240,.88);border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f8f8ff 55%,#fff1f7 100%);box-shadow:0 12px 36px rgba(27,40,74,.05)}
.lg-page-hero:after{content:"";position:absolute;right:-70px;top:-105px;width:270px;height:270px;border-radius:50%;background:radial-gradient(circle,rgba(117,83,244,.13),transparent 68%);pointer-events:none}
.lg-page-hero.is-game{background:linear-gradient(135deg,#ffffff 0%,#f6f3ff 56%,#edf5ff 100%)}
.lg-page-hero.is-gift{background:linear-gradient(135deg,#ffffff 0%,#fff4f8 56%,#fff8ee 100%)}
.lg-page-hero-inner{position:relative;z-index:1;display:flex;align-items:flex-end;justify-content:space-between;gap:26px}
.lg-page-hero-copy{max-width:760px}.lg-page-eyebrow{display:inline-flex;align-items:center;gap:7px;margin-bottom:10px;color:#6950e9;font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.lg-page-hero h1{margin:0;color:var(--lg-ink);font-size:34px;line-height:1.08;letter-spacing:-.045em}.lg-page-hero p{max-width:670px;margin:10px 0 0;color:#657188;font-size:12.5px;line-height:1.6}
.lg-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:11px;color:#8790a3;font-size:10px}.lg-breadcrumbs a:hover{color:#4f48dc}.lg-breadcrumb-sep{opacity:.55}
.lg-page-hero-actions{display:flex;align-items:center;gap:9px;flex:none}
.lg-page-button{height:42px;padding:0 16px;border:1px solid var(--lg-border-strong);border-radius:12px;background:#fff;color:#25314d;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:10.5px;font-weight:800;box-shadow:0 5px 14px rgba(24,37,69,.04)}
.lg-page-button.is-primary{border-color:transparent;background:linear-gradient(135deg,#5e55ed,#8d48eb);color:#fff;box-shadow:0 8px 20px rgba(98,77,225,.20)}
.lg-page-button:hover{transform:translateY(-1px)}

/* Catalog / shop / category */
.lg-catalog-page{padding:0 0 76px;min-height:65vh}.lg-catalog-wrap{width:var(--lg-shell);margin-inline:auto}
.lg-category-pills{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.lg-category-pill{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 13px;border:1px solid var(--lg-border);border-radius:999px;background:#fff;color:#46526a;font-size:10.5px;font-weight:800;box-shadow:0 5px 15px rgba(27,40,74,.03)}.lg-category-pill svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}.lg-category-pill:hover,.lg-category-pill.is-active{color:#5c45e8;border-color:#dcd4ff;background:#faf8ff}
.lg-catalog-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:12px;align-items:center;margin:20px 0 18px;padding:12px;border:1px solid var(--lg-border);border-radius:16px;background:#fff;box-shadow:0 7px 24px rgba(27,40,74,.035)}
.lg-catalog-search{position:relative}.lg-catalog-search svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:16px;height:16px;fill:none;stroke:#7b869b;stroke-width:2}.lg-catalog-search input{width:100%;height:42px;padding:0 14px 0 39px;border:1px solid #e5eaf2;border-radius:12px;background:#f8f9fc;color:var(--lg-ink);outline:none}.lg-catalog-search input:focus{border-color:#a99bf7;box-shadow:0 0 0 3px rgba(115,87,243,.10)}
.lg-catalog-toolbar .woocommerce-result-count{margin:0;color:#7d879a;font-size:10px;white-space:nowrap}.lg-catalog-toolbar .woocommerce-ordering{margin:0}.lg-catalog-toolbar select{height:42px;padding:0 34px 0 12px;border:1px solid #e1e7f0;border-radius:11px;background:#fff;color:#3f4c65;font-size:10.5px;outline:none}
.lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0!important;padding:0!important;list-style:none!important}.lg-catalog-grid:before,.lg-catalog-grid:after{display:none!important}
.lg-loop-card,.woocommerce ul.products li.product.lg-loop-card{float:none!important;width:auto!important;margin:0!important;padding:0!important;border:1px solid var(--lg-border);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 5px 18px rgba(27,40,74,.035);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.lg-loop-card:hover{transform:translateY(-3px);border-color:#d9dfea;box-shadow:0 14px 32px rgba(27,40,74,.09)}
.lg-loop-link{display:block;color:inherit}.lg-loop-media{position:relative;aspect-ratio:16/10;background:#f5f7fb;overflow:hidden}.lg-loop-media img{width:100%!important;height:100%!important;margin:0!important;object-fit:cover;transition:transform .25s ease}.lg-loop-card.is-gift .lg-loop-media img{object-fit:contain;padding:10px;background:linear-gradient(180deg,#fff,#f8f9fc)}.lg-loop-card:hover .lg-loop-media img{transform:scale(1.035)}
.lg-loop-badge{position:absolute;left:10px;top:10px;padding:5px 8px;border-radius:999px;background:rgba(17,25,45,.88);color:#fff;font-size:8px;font-weight:850;backdrop-filter:blur(6px)}
.lg-loop-content{padding:12px}.lg-loop-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:34px;margin:0!important;color:#17213b;font-size:12px!important;line-height:1.35!important;font-weight:800!important}.lg-loop-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.lg-loop-price{color:#17213b;font-size:11px;font-weight:850}.lg-loop-price del{color:#9aa2b0;font-size:9px}.lg-loop-price ins{text-decoration:none}.lg-loop-open{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f3f5fa;color:#4e5971}.lg-loop-open svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}.lg-loop-card:hover .lg-loop-open{background:#1b2544;color:#fff}
.woocommerce nav.woocommerce-pagination{margin-top:26px}.woocommerce nav.woocommerce-pagination ul{display:flex!important;justify-content:center;gap:7px;border:0!important;margin:0!important}.woocommerce nav.woocommerce-pagination ul li{border:0!important}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:38px;height:38px;padding:0 11px!important;border:1px solid var(--lg-border)!important;border-radius:10px;display:grid!important;place-items:center;background:#fff!important;color:#4d5971!important;font-size:10.5px!important}.woocommerce nav.woocommerce-pagination ul li span.current{border-color:#6c58ef!important;background:#6c58ef!important;color:#fff!important}

/* Search */
.lg-search-page{padding:0 0 76px}.lg-search-results{display:grid;gap:12px}.lg-search-result{display:grid;grid-template-columns:82px 1fr auto;gap:16px;align-items:center;padding:13px;border:1px solid var(--lg-border);border-radius:15px;background:#fff;box-shadow:0 5px 16px rgba(27,40,74,.03)}.lg-search-result img{width:82px;height:62px;object-fit:cover;border-radius:10px;background:#f5f7fb}.lg-search-result h2{margin:0 0 4px;font-size:14px}.lg-search-result p{margin:0;color:#7b8699;font-size:10px}.lg-search-result .lg-page-button{height:36px}

/* 404 / empty states */
.lg-empty-state{max-width:760px;margin:58px auto 80px;padding:38px 34px;text-align:center;border:1px solid var(--lg-border);border-radius:26px;background:linear-gradient(145deg,#fff 0%,#faf8ff 70%,#fff3f8 100%);box-shadow:var(--lg-shadow-card)}
.lg-empty-visual{position:relative;width:112px;height:112px;margin:0 auto 20px;border-radius:32px;display:grid;place-items:center;background:linear-gradient(135deg,#5f57ef,#ed3c9a);color:#fff;font-size:30px;font-weight:900;box-shadow:0 20px 44px rgba(97,72,225,.25)}.lg-empty-visual:before,.lg-empty-visual:after{content:"";position:absolute;border-radius:50%}.lg-empty-visual:before{width:28px;height:28px;background:#ffd34f;left:-18px;top:8px}.lg-empty-visual:after{width:18px;height:18px;background:#43cd88;right:-13px;bottom:15px}.lg-empty-state h1{margin:0;font-size:34px;letter-spacing:-.045em}.lg-empty-state p{max-width:520px;margin:10px auto 20px;color:#68748b;line-height:1.65;font-size:12px}.lg-empty-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.lg-empty-search{display:flex;gap:8px;max-width:520px;margin:22px auto 0;padding:8px;border:1px solid var(--lg-border);border-radius:14px;background:#fff}.lg-empty-search input{min-width:0;flex:1;border:0;outline:none;padding:0 10px}.lg-empty-search button{height:38px;padding:0 16px;border:0;border-radius:10px;background:#1b2544;color:#fff;font-weight:800;font-size:10px}

/* Woo notices/forms shared */
.woocommerce .woocommerce-error,.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{border:1px solid var(--lg-border)!important;border-top:0!important;border-left:4px solid #7257f3!important;border-radius:14px!important;background:#fff!important;color:#36425a!important;padding:14px 16px 14px 44px!important;box-shadow:0 5px 18px rgba(27,40,74,.035);font-size:11px}.woocommerce .woocommerce-error{border-left-color:#e74855!important}.woocommerce .woocommerce-message{border-left-color:#16a876!important}.woocommerce .woocommerce-info:before,.woocommerce .woocommerce-message:before,.woocommerce .woocommerce-error:before{top:14px!important}
.woocommerce form .form-row label{color:#2d3952;font-size:10.5px;font-weight:800}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container--default .select2-selection--single{min-height:44px;border:1px solid #dfe5ee!important;border-radius:11px!important;background:#fff!important;color:#17213b!important;box-shadow:none!important}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{padding:10px 12px!important}.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus{outline:none;border-color:#9483f5!important;box-shadow:0 0 0 3px rgba(114,87,243,.09)!important}.select2-container .select2-selection--single .select2-selection__rendered{line-height:42px!important;padding-left:12px!important}.select2-container--default .select2-selection--single .select2-selection__arrow{height:42px!important}
.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit{border-radius:11px!important;background:#1b2544!important;color:#fff!important;font-weight:800!important;font-size:10.5px!important;line-height:1!important;padding:13px 16px!important;transition:.18s ease}.woocommerce button.button:hover,.woocommerce a.button:hover,.woocommerce input.button:hover{background:#29365d!important;color:#fff!important;transform:translateY(-1px)}

/* My Account */
body.lg-account-page .lg-basic-page{padding-top:26px}.woocommerce-account .woocommerce{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px;align-items:start}.woocommerce-account .woocommerce:before,.woocommerce-account .woocommerce:after{display:none!important}
.woocommerce-MyAccount-navigation{float:none!important;width:auto!important;margin:0!important;padding:10px;border:1px solid var(--lg-border);border-radius:18px;background:#fff;box-shadow:var(--lg-shadow-soft);position:sticky;top:98px}.woocommerce-MyAccount-navigation ul{list-style:none;margin:0!important;padding:0!important}.woocommerce-MyAccount-navigation li{margin:0!important}.woocommerce-MyAccount-navigation a{min-height:43px;padding:0 12px;border-radius:11px;display:flex;align-items:center;gap:10px;color:#526079!important;font-size:10.5px;font-weight:750!important}.woocommerce-MyAccount-navigation a:hover{background:#f6f8fc;color:#252f49!important}.woocommerce-MyAccount-navigation li.is-active a{background:linear-gradient(135deg,#f1edff,#fff0f6);color:#5d48df!important}.woocommerce-MyAccount-navigation li.is-active a:before{content:"";width:7px;height:7px;border-radius:50%;background:#7856f4;box-shadow:0 0 0 4px rgba(120,86,244,.10)}
.woocommerce-MyAccount-content{float:none!important;width:auto!important;min-width:0;padding:24px;border:1px solid var(--lg-border);border-radius:20px;background:#fff;box-shadow:var(--lg-shadow-soft)}.woocommerce-MyAccount-content>p:first-child{margin-top:0}.woocommerce-MyAccount-content p{color:#667289;font-size:11px;line-height:1.65}.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3{color:#17213b;letter-spacing:-.025em}
.lg-account-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;padding:18px;border-radius:16px;background:linear-gradient(135deg,#f6f4ff,#fff6fa)}.lg-account-avatar{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#5f58ef,#ee3d95);color:#fff;font-size:15px;font-weight:900;box-shadow:0 10px 24px rgba(96,72,225,.18)}.lg-account-welcome{display:flex;align-items:center;gap:13px}.lg-account-welcome h2{margin:0;font-size:18px}.lg-account-welcome p{margin:3px 0 0;font-size:10px}.lg-account-badge{padding:6px 9px;border-radius:999px;background:#fff;border:1px solid #e5e7ef;color:#6b7487;font-size:8.5px;font-weight:800}
.lg-account-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.lg-account-card{min-height:108px;padding:14px;border:1px solid var(--lg-border);border-radius:14px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;transition:.18s ease}.lg-account-card:hover{transform:translateY(-2px);border-color:#d8dfea;box-shadow:0 9px 24px rgba(27,40,74,.06)}.lg-account-card-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#f2efff;color:#6b50ec}.lg-account-card-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}.lg-account-card strong{display:block;font-size:11px}.lg-account-card small{display:block;margin-top:2px;color:#8790a2;font-size:8.5px}
.lg-account-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 10px}.lg-account-section-head h3{margin:0;font-size:14px}.lg-account-section-head a{font-size:9px!important;color:#5d48df!important}

/* Orders */
.lg-orders-list{display:grid;gap:10px}.lg-order-card{display:grid;grid-template-columns:1fr auto;gap:12px;padding:15px;border:1px solid var(--lg-border);border-radius:14px;background:#fff}.lg-order-card-top{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.lg-order-number{font-size:12px;font-weight:850;color:#1b2544}.lg-order-date{font-size:9px;color:#8c95a5}.lg-status-pill{display:inline-flex;align-items:center;min-height:23px;padding:0 8px;border-radius:999px;font-size:8px;font-weight:850}.lg-status-pill.is-success{background:#eaf9f2;color:#13825b}.lg-status-pill.is-info{background:#edf4ff;color:#2769d8}.lg-status-pill.is-warning{background:#fff6df;color:#9a6a0c}.lg-status-pill.is-danger{background:#fff0f1;color:#c83d4a}.lg-status-pill.is-muted,.lg-status-pill.is-neutral{background:#f0f2f6;color:#697386}.lg-order-card-meta{display:flex;gap:18px;margin-top:10px}.lg-order-card-meta span{display:block;color:#8a94a6;font-size:8px}.lg-order-card-meta strong{display:block;margin-top:2px;color:#202b45;font-size:10px}.lg-order-card-actions{display:flex;align-items:center;gap:7px}.lg-order-card-actions .woocommerce-button{white-space:nowrap}
.woocommerce table.shop_table{border:1px solid var(--lg-border)!important;border-radius:14px!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden}.woocommerce table.shop_table th{padding:11px 13px!important;background:#f8f9fc;color:#647086;font-size:9px!important;text-transform:uppercase;letter-spacing:.04em}.woocommerce table.shop_table td{padding:12px 13px!important;border-top:1px solid #edf0f5!important;color:#425069;font-size:10px}.woocommerce table.shop_table tr:first-child td{border-top:0!important}.woocommerce table.shop_table tfoot th{background:#fff}

/* My account login/register */
.lg-auth-page{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(360px,1.1fr);gap:20px;align-items:stretch}.lg-auth-side{min-height:500px;padding:32px;border-radius:20px;position:relative;overflow:hidden;background:linear-gradient(145deg,#17213d 0%,#4b3abb 58%,#c23a9a 100%);color:#fff}.lg-auth-side:before,.lg-auth-side:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.08)}.lg-auth-side:before{width:260px;height:260px;right:-100px;top:-70px}.lg-auth-side:after{width:180px;height:180px;left:-60px;bottom:-70px}.lg-auth-side>*{position:relative;z-index:1}.lg-auth-side h2{margin:10px 0;font-size:28px;color:#fff;letter-spacing:-.04em}.lg-auth-side p{max-width:420px;color:#e8e5ff;font-size:11px;line-height:1.7}.lg-auth-side-badge{display:inline-flex;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.12);font-size:8px;font-weight:850;letter-spacing:.08em}.lg-auth-points{display:grid;gap:10px;margin-top:28px}.lg-auth-point{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid rgba(255,255,255,.13);border-radius:13px;background:rgba(255,255,255,.07);font-size:10px}.lg-auth-point i{width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.13);display:grid;place-items:center;font-style:normal}
.lg-auth-forms{padding:28px;border:1px solid var(--lg-border);border-radius:20px;background:#fff;box-shadow:var(--lg-shadow-soft)}.lg-auth-tabs{display:flex;gap:7px;margin-bottom:20px}.lg-auth-tab{height:38px;padding:0 14px;border:1px solid var(--lg-border);border-radius:10px;background:#fff;color:#667288;font-size:10px;font-weight:800}.lg-auth-tab.is-active{border-color:#6c58ef;background:#6c58ef;color:#fff}.lg-auth-forms h2{margin:0 0 18px;font-size:20px}.lg-auth-forms .woocommerce-form{border:0!important;padding:0!important;margin:0!important}.lg-auth-forms .woocommerce-form-row{margin-bottom:13px!important}.lg-auth-forms .woocommerce-form-login__rememberme{font-size:10px}.lg-auth-forms .woocommerce-LostPassword{margin-top:12px!important}.lg-auth-forms .woocommerce-LostPassword a{font-size:10px!important;color:#5b4ada!important}

/* Addresses / account edit */
.woocommerce-Addresses{display:grid!important;grid-template-columns:1fr 1fr;gap:12px}.woocommerce-Address{float:none!important;width:auto!important;padding:15px;border:1px solid var(--lg-border);border-radius:14px;background:#fff}.woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.woocommerce-Address-title h3{margin:0;font-size:13px}.woocommerce-Address-title a{font-size:9px!important}.woocommerce-Address address{margin-top:10px;color:#68748a;font-size:10px;line-height:1.6}
.woocommerce-EditAccountForm fieldset{margin:18px 0;padding:16px;border:1px solid var(--lg-border);border-radius:14px}.woocommerce-EditAccountForm legend{padding:0 7px;color:#27324b;font-size:10px;font-weight:850}

/* Cart + checkout fallback pages — visually professional even though product page is the primary one-page checkout. */
.woocommerce-cart .lg-basic-page>article,.woocommerce-checkout .lg-basic-page>article{background:transparent;border:0;padding:0;box-shadow:none}.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{width:100%}.woocommerce-cart-form,.woocommerce-checkout-review-order,.woocommerce-checkout #customer_details>div{padding:18px;border:1px solid var(--lg-border);border-radius:18px;background:#fff;box-shadow:var(--lg-shadow-soft)}.woocommerce-cart table.cart img{width:72px!important;border-radius:10px}.woocommerce-cart .cart-collaterals{margin-top:18px}.woocommerce-cart .cart_totals{float:none!important;width:100%!important;max-width:430px;margin-left:auto;padding:18px;border:1px solid var(--lg-border);border-radius:18px;background:#fff}.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:18px}.woocommerce-checkout #customer_details{min-width:0}.woocommerce-checkout #customer_details>div{float:none!important;width:100%!important;margin-bottom:14px}.woocommerce-checkout #order_review_heading{grid-column:2;margin:0 0 -8px;font-size:16px}.woocommerce-checkout #order_review{grid-column:2;grid-row:1 / span 2;align-self:start;position:sticky;top:96px}.woocommerce-checkout .woocommerce-checkout-payment{background:#f8f9fc!important;border-radius:13px!important}.woocommerce-checkout .woocommerce-checkout-payment .payment_box{background:#eef2f8!important}.woocommerce-checkout .woocommerce-checkout-payment .payment_box:before{border-bottom-color:#eef2f8!important}

/* Thank you / view order */
.woocommerce-order-received .woocommerce-order{display:grid;gap:16px}.woocommerce-order-received .woocommerce-thankyou-order-received{padding:18px;border:1px solid #cfeede;border-radius:15px;background:#f0fbf6;color:#18744f;font-weight:800}.woocommerce-order-overview{display:grid!important;grid-template-columns:repeat(4,1fr);gap:8px;margin:0!important;padding:0!important}.woocommerce-order-overview li{float:none!important;margin:0!important;padding:12px!important;border:1px solid var(--lg-border)!important;border-radius:12px;background:#fff;color:#7a8497;font-size:8px!important}.woocommerce-order-overview li strong{display:block;margin-top:4px;color:#1d2842;font-size:10px!important}

/* Wallet / Support design-phase pages */
.lg-feature-page{padding:0 0 76px}.lg-feature-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:16px}.lg-feature-card{padding:22px;border:1px solid var(--lg-border);border-radius:19px;background:#fff;box-shadow:var(--lg-shadow-soft)}.lg-feature-card h2{margin:0 0 6px;font-size:17px}.lg-feature-card>p{margin:0;color:#768196;font-size:10.5px;line-height:1.6}.lg-wallet-balance{position:relative;overflow:hidden;min-height:180px;color:#fff;background:linear-gradient(135deg,#171f3c,#5442ba 55%,#e23d98);border:0}.lg-wallet-balance:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:-60px;top:-70px;background:rgba(255,255,255,.10)}.lg-wallet-balance>*{position:relative;z-index:1}.lg-wallet-balance small{display:block;color:#d9d7f8;font-size:9px}.lg-wallet-amount{margin:9px 0 24px;font-size:34px;font-weight:900;letter-spacing:-.04em}.lg-wallet-actions{display:flex;gap:8px}.lg-wallet-actions a,.lg-wallet-actions button{height:38px;padding:0 14px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:#fff;color:#18213c;display:inline-flex;align-items:center;font-size:9.5px;font-weight:850}.lg-wallet-actions .is-secondary{background:rgba(255,255,255,.10);color:#fff}.lg-history-empty{margin-top:16px;padding:26px;text-align:center;border:1px dashed #dce2ec;border-radius:14px;color:#8790a2;font-size:10px}
.lg-support-options{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:17px}.lg-support-option{padding:15px;border:1px solid var(--lg-border);border-radius:14px;background:#fff}.lg-support-option strong{display:block;font-size:11px}.lg-support-option small{display:block;margin-top:4px;color:#8791a4;font-size:9px;line-height:1.45}

/* Footer upgrade */
.lg-footer{border-top:1px solid #edf0f5;background:#fbfcfe}.lg-footer-inner{min-height:150px;display:grid;grid-template-columns:1.4fr 1fr auto;gap:28px;align-items:center}.lg-footer-brand{font-size:20px;font-weight:900;letter-spacing:-.04em}.lg-footer-inner p{max-width:320px;margin:5px 0 0;color:#8992a3;font-size:9.5px;line-height:1.6}.lg-footer-links{display:grid;grid-template-columns:repeat(2,minmax(90px,1fr));gap:8px 22px}.lg-footer-links a{color:#5d687d;font-size:9.5px;font-weight:700}.lg-footer-links a:hover{color:#5546d8}.lg-copyright{color:#9aa2b0;font-size:9px;white-space:nowrap}

/* WordPress default content cleanup */
.widget-area,.site-sidebar{display:none!important}.lg-basic-page .wp-block-search__inside-wrapper{padding:6px;border:1px solid var(--lg-border);border-radius:12px;background:#fff}.lg-basic-page .wp-block-search__input{border:0;outline:none}.lg-basic-page .wp-block-search__button{border:0;border-radius:9px;background:#1b2544;color:#fff;font-weight:800}.lg-basic-page .wp-block-table table{border-collapse:separate;border-spacing:0;border:1px solid var(--lg-border);border-radius:12px;overflow:hidden}.lg-basic-page .wp-block-table td,.lg-basic-page .wp-block-table th{padding:10px;border-color:#edf0f4}

@media(max-width:1100px){
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .woocommerce-account .woocommerce{grid-template-columns:205px minmax(0,1fr)}
  .lg-account-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .woocommerce-checkout form.checkout{grid-template-columns:minmax(0,1fr) 340px}
}
@media(max-width:900px){
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .woocommerce-account .woocommerce{grid-template-columns:1fr}.woocommerce-MyAccount-navigation{position:static;overflow:auto}.woocommerce-MyAccount-navigation ul{display:flex;gap:6px;min-width:max-content}.woocommerce-MyAccount-navigation a{height:38px;min-height:38px;padding:0 11px;border:1px solid var(--lg-border)}
  .woocommerce-checkout form.checkout{grid-template-columns:1fr}.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{grid-column:1;grid-row:auto;position:static}.lg-feature-grid{grid-template-columns:1fr}
}
@media(max-width:780px){
  body.lg-site:not(.lg-fast-home){background:#fff}
  .lg-basic-page{width:calc(100% - 24px);padding:14px 0 92px}.lg-basic-page>article{padding:16px;border-radius:16px}.lg-basic-page h1{font-size:24px}
  .lg-page-shell,.lg-catalog-wrap{width:calc(100% - 24px)}.lg-page-hero{width:calc(100% - 24px);margin:12px auto 14px;padding:18px;border-radius:17px}.lg-page-hero-inner{align-items:flex-start;flex-direction:column}.lg-page-hero h1{font-size:26px}.lg-page-hero p{font-size:10.5px}.lg-page-hero-actions{width:100%}.lg-page-button{flex:1}
  .lg-category-pills{margin-top:12px;overflow:auto;flex-wrap:nowrap;padding-bottom:3px}.lg-category-pill{flex:none}
  .lg-catalog-page{padding-bottom:94px}.lg-catalog-toolbar{grid-template-columns:1fr;gap:8px;padding:9px;margin:14px 0}.lg-catalog-toolbar .woocommerce-result-count{display:none}.lg-catalog-toolbar .woocommerce-ordering{width:100%}.lg-catalog-toolbar select{width:100%}
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.lg-loop-card,.woocommerce ul.products li.product.lg-loop-card{border-radius:13px}.lg-loop-content{padding:9px}.lg-loop-title{min-height:30px;font-size:10.5px!important}.lg-loop-meta{margin-top:7px}.lg-loop-price{font-size:9.5px}.lg-loop-open{width:26px;height:26px}.lg-loop-badge{left:7px;top:7px;font-size:7px}
  .lg-empty-state{margin:26px 12px 100px;padding:28px 18px;border-radius:20px}.lg-empty-visual{width:92px;height:92px;border-radius:27px}.lg-empty-state h1{font-size:28px}.lg-empty-state p{font-size:10.5px}.lg-empty-search{display:grid;grid-template-columns:1fr auto}
  body.lg-account-page .lg-basic-page{width:calc(100% - 24px);padding-top:12px}.woocommerce-MyAccount-content{padding:15px;border-radius:16px}.woocommerce-MyAccount-navigation{padding:7px;border-radius:14px}.lg-account-hero{padding:13px}.lg-account-welcome h2{font-size:15px}.lg-account-badge{display:none}.lg-account-cards{grid-template-columns:1fr 1fr;gap:8px}.lg-account-card{min-height:94px;padding:11px}.lg-order-card{grid-template-columns:1fr}.lg-order-card-actions{justify-content:flex-start}.lg-order-card-meta{gap:12px;flex-wrap:wrap}
  .lg-auth-page{grid-template-columns:1fr}.lg-auth-side{min-height:240px;padding:22px}.lg-auth-side h2{font-size:23px}.lg-auth-points{grid-template-columns:1fr 1fr;margin-top:20px}.lg-auth-forms{padding:18px;border-radius:16px}
  .woocommerce-Addresses{grid-template-columns:1fr}.woocommerce-order-overview{grid-template-columns:1fr 1fr!important}
  .woocommerce-cart-form,.woocommerce-checkout-review-order,.woocommerce-checkout #customer_details>div{padding:13px;border-radius:14px}.woocommerce-cart .cart_totals{max-width:none}.woocommerce-checkout form.checkout{gap:12px}
  .lg-feature-page{padding-bottom:94px}.lg-feature-card{padding:16px;border-radius:16px}.lg-support-options{grid-template-columns:1fr}.lg-wallet-amount{font-size:30px}
  .lg-search-result{grid-template-columns:64px 1fr}.lg-search-result img{width:64px;height:52px}.lg-search-result .lg-page-button{grid-column:1/-1;width:100%}
  .lg-footer{display:none}
}
@media(max-width:420px){
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{gap:8px}.lg-loop-media{aspect-ratio:1.25/1}.lg-account-cards{grid-template-columns:1fr}.lg-auth-points{grid-template-columns:1fr}.woocommerce-order-overview{grid-template-columns:1fr!important}
}

/* =========================================================
   LioGames Fast 2.2 — desktop scale + complete Woo polish
   ========================================================= */
@media (min-width:981px){
  body.lg-site:not(.lg-fast-home){--lg-page-shell:min(78vw,1480px)}
  body.lg-site:not(.lg-fast-home) .lg-shell,
  body.lg-site:not(.lg-fast-home) .lg-page-shell,
  body.lg-site:not(.lg-fast-home) .lg-catalog-wrap{width:var(--lg-page-shell)}
  body.lg-site:not(.lg-fast-home) .lg-header .lg-shell,
  body.lg-site:not(.lg-fast-home) .lg-utility .lg-shell,
  body.lg-site:not(.lg-fast-home) .lg-footer .lg-shell{width:var(--lg-page-shell)}
}

/* Stronger page hierarchy on desktop without making the UI heavy. */
@media (min-width:981px){
  .lg-page-hero{padding:34px 38px;margin-top:30px;margin-bottom:24px;border-radius:26px}
  .lg-page-hero h1{font-size:40px}
  .lg-page-hero p{font-size:14px;max-width:760px}
  .lg-page-eyebrow{font-size:11px}
  .lg-breadcrumbs{font-size:11px}
  .lg-basic-page>article{padding:34px;border-radius:24px}
}

/* Shop/category: wider, readable cards and no legacy sidebar feel. */
@media (min-width:1280px){
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
  .lg-loop-content{padding:15px}
  .lg-loop-title{font-size:14px!important;min-height:38px}
  .lg-loop-price{font-size:13px}
  .lg-loop-badge{font-size:9px;padding:6px 9px}
  .lg-loop-open{width:34px;height:34px}
}
@media (min-width:981px) and (max-width:1279px){
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
}

/* WooCommerce notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error{margin:0 0 16px!important;padding:14px 16px 14px 48px!important;border:1px solid var(--lg-border)!important;border-top:1px solid var(--lg-border)!important;border-radius:14px!important;background:#fff!important;color:#35415b!important;box-shadow:var(--lg-shadow-soft);font-size:11px!important;line-height:1.5}
.woocommerce-message:before,.woocommerce-info:before,.woocommerce-error:before{left:16px!important;top:14px!important}
.woocommerce-message{border-color:#d7eee6!important;background:#f9fffc!important}.woocommerce-message:before{color:#18a174!important}
.woocommerce-info{border-color:#dce7fa!important;background:#fbfdff!important}.woocommerce-info:before{color:#3978de!important}
.woocommerce-error{border-color:#f5d8dd!important;background:#fffafb!important}.woocommerce-error:before{color:#dc4c5a!important}

/* Inputs/buttons throughout Woo account/cart/checkout. */
.woocommerce form .form-row label,.woocommerce-page form .form-row label{display:block;margin:0 0 6px;color:#3c4861;font-size:10.5px;font-weight:800}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,.woocommerce-page form .form-row textarea,.woocommerce-page form .form-row select,
.select2-container--default .select2-selection--single{min-height:46px;border:1px solid #dfe5ee!important;border-radius:11px!important;background:#fff!important;color:#19243d!important;box-shadow:none!important;font-size:11px!important}
.woocommerce form .form-row input.input-text,.woocommerce-page form .form-row input.input-text{padding:0 13px!important}
.woocommerce form .form-row textarea,.woocommerce-page form .form-row textarea{padding:12px 13px!important;min-height:110px}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:44px!important;padding-left:13px!important;color:#26324a!important}.select2-container--default .select2-selection--single .select2-selection__arrow{height:44px!important}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus,.woocommerce-page form .form-row input.input-text:focus,.woocommerce-page form .form-row textarea:focus{border-color:#8876f3!important;box-shadow:0 0 0 3px rgba(115,87,243,.10)!important;outline:0}
.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit{min-height:42px;padding:0 16px!important;border-radius:11px!important;background:#17213d!important;color:#fff!important;font-size:10.5px!important;font-weight:850!important;line-height:42px!important;box-shadow:none!important}
.woocommerce button.button:hover,.woocommerce a.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover{background:#253154!important;color:#fff!important}
.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce input.button.alt{background:linear-gradient(135deg,#5e55ed,#8d48eb)!important}

/* Tables: orders, downloads, order details, cart. */
.woocommerce table.shop_table{border:1px solid var(--lg-border)!important;border-radius:14px!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden;background:#fff;font-size:10.5px}
.woocommerce table.shop_table th{padding:12px 13px!important;background:#f7f9fc;color:#536079;font-size:9.5px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.woocommerce table.shop_table td{padding:13px!important;border-top:1px solid #edf0f5!important;color:#4e5a72;vertical-align:middle}
.woocommerce table.shop_table tr:first-child td{border-top:0!important}
.woocommerce-order-details{margin-top:18px}.woocommerce-order-details__title,.woocommerce-customer-details h2{font-size:17px!important;letter-spacing:-.02em}.woocommerce-customer-details address{border:1px solid var(--lg-border)!important;border-radius:14px!important;padding:16px!important;background:#fbfcfe!important;color:#5f6b82;line-height:1.65}
.woocommerce-order-overview{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 18px!important;padding:0!important;list-style:none!important}.woocommerce-order-overview li{float:none!important;margin:0!important;padding:12px!important;border:1px solid var(--lg-border)!important;border-radius:12px;background:#fafbfe;color:#7a8599;font-size:8px!important;text-transform:uppercase}.woocommerce-order-overview li strong{display:block;margin-top:4px;color:#1b2540;font-size:11px!important;text-transform:none}

/* Account forms/endpoints that use Woo's stock templates. */
.woocommerce-MyAccount-content fieldset{margin:20px 0 0;padding:18px;border:1px solid var(--lg-border);border-radius:14px;background:#fbfcfe}.woocommerce-MyAccount-content fieldset legend{padding:0 8px;color:#1b2540;font-size:12px;font-weight:850}
.woocommerce-MyAccount-content .woocommerce-form-row{margin:0 0 14px!important}.woocommerce-MyAccount-content .form-row-first,.woocommerce-MyAccount-content .form-row-last{width:calc(50% - 6px)!important}
.woocommerce-MyAccount-content .woocommerce-Button{margin-top:4px!important}
.woocommerce-MyAccount-content mark{padding:2px 5px;border-radius:5px;background:#fff1b8;color:#785b00}
.woocommerce-MyAccount-content .woocommerce-customer-details{margin-top:22px}
.woocommerce-MyAccount-content .woocommerce-columns--addresses{display:grid!important;grid-template-columns:1fr 1fr;gap:12px}.woocommerce-MyAccount-content .woocommerce-column{float:none!important;width:auto!important;max-width:none!important}
.woocommerce-MyAccount-content .woocommerce-column address{min-height:130px}

/* Better account scale on desktop. */
@media (min-width:981px){
  .woocommerce-account .woocommerce{grid-template-columns:265px minmax(0,1fr);gap:22px}
  .woocommerce-MyAccount-navigation{padding:12px;border-radius:20px}
  .woocommerce-MyAccount-navigation a{min-height:47px;padding:0 14px;font-size:12px}
  .woocommerce-MyAccount-content{padding:28px;border-radius:22px}
  .lg-account-hero{padding:22px;border-radius:18px}
  .lg-account-avatar{width:60px;height:60px;border-radius:18px;font-size:17px}
  .lg-account-welcome h2{font-size:22px}.lg-account-welcome p{font-size:11px}
  .lg-account-cards{gap:13px}.lg-account-card{min-height:124px;padding:17px}.lg-account-card strong{font-size:13px}.lg-account-card small{font-size:9.5px}
}

/* Authentication page refinement. */
@media (min-width:981px){
  .lg-auth-page{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:28px;align-items:stretch}
  .lg-auth-side{min-height:560px;padding:50px;border-radius:24px;background:linear-gradient(145deg,#17213f 0%,#322b72 52%,#9148a5 100%);color:#fff;position:relative;overflow:hidden}
  .lg-auth-side:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;right:-120px;bottom:-130px;background:radial-gradient(circle,rgba(255,255,255,.18),transparent 67%)}
  .lg-auth-side h2{max-width:520px;margin:20px 0 12px;color:#fff;font-size:38px;line-height:1.08;letter-spacing:-.045em}.lg-auth-side p{max-width:560px;color:rgba(255,255,255,.78);font-size:13px;line-height:1.65}.lg-auth-side-badge{display:inline-flex;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.12);font-size:9px;font-weight:850;letter-spacing:.08em}.lg-auth-points{position:relative;z-index:1;margin-top:28px}
  .lg-auth-forms{padding:34px;border-radius:24px}
}

/* Cart + legacy checkout remain clean if someone opens them, even though product pages are the intended purchase flow. */
.woocommerce-cart .lg-basic-page,.woocommerce-checkout .lg-basic-page{min-height:62vh}.woocommerce-cart table.cart td.actions .coupon{display:flex!important;gap:8px}.woocommerce-cart table.cart td.actions .coupon .input-text{width:150px!important;height:42px!important;border:1px solid var(--lg-border)!important;border-radius:10px!important;padding:0 10px!important}.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{height:auto!important;line-height:1.2!important;padding:14px 18px!important}

/* Responsive account/table cleanup */
@media(max-width:780px){
  .woocommerce-MyAccount-content .form-row-first,.woocommerce-MyAccount-content .form-row-last{float:none!important;width:100%!important}
  .woocommerce-MyAccount-content .woocommerce-columns--addresses{grid-template-columns:1fr}
  .woocommerce-order-overview{grid-template-columns:1fr 1fr!important}
  .woocommerce table.shop_table_responsive tr{display:block;margin-bottom:10px;border:1px solid var(--lg-border);border-radius:12px;overflow:hidden;background:#fff}
  .woocommerce table.shop_table_responsive tr td{display:flex!important;justify-content:space-between;gap:16px;text-align:right!important;border-top:1px solid #edf0f5!important}
  .woocommerce table.shop_table_responsive tr td:before{font-weight:800;color:#657087;text-align:left}
}
@media(max-width:520px){.woocommerce-order-overview{grid-template-columns:1fr!important}}

.lg-support-form-preview{display:grid;gap:12px;margin-top:18px}.lg-support-form-preview label{display:grid;gap:6px}.lg-support-form-preview label>span{color:#3f4b63;font-size:10px;font-weight:800}.lg-support-form-preview input,.lg-support-form-preview textarea{width:100%;border:1px solid #dfe5ee;border-radius:11px;background:#fff;padding:0 12px;color:#1a2540;font:inherit;font-size:11px;outline:none}.lg-support-form-preview input{height:45px}.lg-support-form-preview textarea{padding-top:11px;resize:vertical}.lg-support-form-preview input:focus,.lg-support-form-preview textarea:focus{border-color:#8876f3;box-shadow:0 0 0 3px rgba(115,87,243,.10)}.lg-support-form-preview .lg-page-button{width:max-content;border:0;cursor:pointer}

/* =========================================================
   v2.4 header refinement — two-tier, clean marketplace header
   ========================================================= */
@media (min-width:981px){
  .lg-utility{background:#fbfcfe;color:#536079;border-bottom:1px solid #edf0f5;font-size:10.5px}
  .lg-utility .lg-shell,.lg-header .lg-shell{width:min(82vw,1500px)}
  .lg-utility-inner{min-height:32px;opacity:1}
  .lg-utility-inner>span{color:#69758b;font-weight:650}
  .lg-utility-links{gap:20px}.lg-utility a{color:#5f6a80;opacity:1;font-weight:700}.lg-utility a:hover{color:#4e3fd0}.lg-locale-inline{color:#273149;opacity:1;font-weight:800}
  .lg-header{background:#fff;backdrop-filter:none;box-shadow:0 4px 18px rgba(25,37,68,.035)}
  .lg-header-inner{height:76px;grid-template-columns:auto auto minmax(300px,1fr) auto;gap:28px}
  .lg-logo{max-height:42px}.lg-brand{font-size:24px}
  .lg-nav-list{gap:27px}.lg-nav-list a{font-size:12.5px;font-weight:800;color:#202b43}
  .lg-search-launch{height:46px;padding:0 16px;background:#f7f8fb;border-color:#e6eaf1;border-radius:12px}.lg-search-launch span:last-child{font-size:12px}
  .lg-icon-button,.lg-signin-trigger{height:46px;padding-inline:15px;border-radius:11px;font-size:11.5px}
  .lg-account-trigger{width:46px;height:46px}
  .admin-bar .lg-header{top:32px}
}

/* =========================================================
   LioGames Premium UI v3.0 — global polish
   ========================================================= */
@media (min-width:981px){
  body.lg-site:not(.lg-fast-home){--lg-page-shell:min(82vw,1500px)}
  body.lg-site:not(.lg-fast-home) .lg-shell,
  body.lg-site:not(.lg-fast-home) .lg-page-shell,
  body.lg-site:not(.lg-fast-home) .lg-catalog-wrap,
  body.lg-site:not(.lg-fast-home) .lg-header .lg-shell,
  body.lg-site:not(.lg-fast-home) .lg-utility .lg-shell,
  body.lg-site:not(.lg-fast-home) .lg-footer .lg-shell{width:var(--lg-page-shell)}

  .lg-utility{background:#fff;color:#68748a;border-bottom:1px solid #edf0f5}
  .lg-utility-inner{min-height:31px;font-size:11px}.lg-utility-inner>span{color:#6f7a8f;font-weight:650}.lg-utility-links{gap:20px}.lg-utility a{color:#5f6a80;opacity:1;font-weight:700}.lg-utility a:hover{color:#5040d2}.lg-locale-inline{color:#273149;font-weight:800}
  .lg-header{background:#fff;border-bottom:1px solid #ebeff4;backdrop-filter:none;box-shadow:0 5px 20px rgba(25,37,68,.035)}
  .lg-header-inner{height:78px;grid-template-columns:auto auto minmax(340px,1fr) auto;gap:28px}
  .lg-logo{max-height:40px;max-width:190px}.lg-brand{font-size:25px}
  .lg-nav-list{gap:28px}.lg-nav-list>li>a{font-size:13px;font-weight:820;color:#202a43}.lg-nav-list>li>a:hover{color:#5644d8}.lg-nav-list>li>a svg{width:13px;height:13px;margin-left:3px;fill:none;stroke:currentColor;stroke-width:2}
  .lg-nav-has-menu{position:relative}.lg-nav-menu{position:absolute;z-index:100;left:50%;top:calc(100% + 17px);width:330px;padding:10px;border:1px solid #e3e8f0;border-radius:16px;background:#fff;box-shadow:0 18px 50px rgba(23,34,63,.14);opacity:0;visibility:hidden;transform:translate(-50%,8px);transition:.16s ease}.lg-nav-has-menu:hover .lg-nav-menu,.lg-nav-has-menu:focus-within .lg-nav-menu{opacity:1;visibility:visible;transform:translate(-50%,0)}.lg-nav-menu:before{content:"";position:absolute;left:0;right:0;top:-18px;height:18px}.lg-nav-menu>a{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;padding:10px;border-radius:12px;color:#1f2942}.lg-nav-menu>a:hover{background:#f7f8fc}.lg-nav-menu>a>span{width:42px;height:42px;border-radius:11px;background:#f0edff;color:#684fe5;display:grid;place-items:center}.lg-nav-menu>a:nth-child(2)>span{background:#fff0f6;color:#e63478}.lg-nav-menu svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2}.lg-nav-menu strong{display:block;font-size:12px}.lg-nav-menu small{display:block;margin-top:2px;color:#8791a3;font-size:9.5px}
  .lg-search-launch{height:48px;padding:0 16px;border-radius:13px;background:#f7f8fb;border-color:#e3e8f0}.lg-search-launch span:last-child{font-size:12.5px}.lg-search-launch:hover{border-color:#d5dbea;background:#f4f6fa}
  .lg-icon-button,.lg-signin-trigger{height:46px;padding-inline:15px;border-radius:12px;font-size:11.5px}.lg-account-trigger{width:46px;height:46px}.lg-user-initials{width:37px;height:37px;font-size:11px}
  .admin-bar .lg-header{top:32px}
}

/* More readable general page hierarchy. */
@media (min-width:981px){
  .lg-page-hero{padding:36px 40px;margin:30px auto 24px;border-radius:26px}
  .lg-page-hero h1{font-size:42px}.lg-page-hero p{font-size:14.5px;line-height:1.65}.lg-page-eyebrow{font-size:11px}.lg-breadcrumbs{font-size:11.5px}
  .lg-category-pill{height:42px;padding:0 15px;font-size:11.5px}
  .lg-catalog-toolbar{padding:13px;margin:22px 0 20px}.lg-catalog-search input{height:46px;font-size:12px}.lg-catalog-toolbar .woocommerce-result-count{font-size:11px}.lg-catalog-toolbar select{height:46px;font-size:11.5px}
  .lg-loop-content{padding:15px}.lg-loop-title{font-size:14px!important;min-height:40px}.lg-loop-price{font-size:13px}.lg-loop-badge{font-size:9px;padding:6px 9px}.lg-loop-open{width:34px;height:34px}
  .lg-basic-page>article{padding:36px;border-radius:24px}.lg-basic-page p,.lg-basic-page li{font-size:13px}
}

/* My Account / Orders: app-like but still WordPress-native. */
@media (min-width:981px){
  body.lg-account-page .lg-basic-page{padding-top:28px}
  .woocommerce-account .woocommerce{grid-template-columns:270px minmax(0,1fr);gap:22px}
  .woocommerce-MyAccount-navigation{padding:12px;border-radius:20px;top:126px}.woocommerce-MyAccount-navigation a{min-height:49px;padding:0 14px;font-size:12.5px;border-radius:12px}.woocommerce-MyAccount-navigation a svg{width:18px;height:18px}
  .woocommerce-MyAccount-content{padding:30px;border-radius:22px}.woocommerce-MyAccount-content p{font-size:12.5px}
  .lg-account-hero{padding:22px;border-radius:19px}.lg-account-avatar{width:62px;height:62px;border-radius:18px;font-size:18px}.lg-account-welcome{gap:15px}.lg-account-welcome h2{font-size:23px}.lg-account-welcome p{font-size:11.5px}.lg-account-badge{font-size:9.5px;padding:7px 10px}
  .lg-account-cards{gap:13px}.lg-account-card{min-height:132px;padding:17px;border-radius:16px}.lg-account-card-icon{width:39px;height:39px}.lg-account-card strong{font-size:13px}.lg-account-card small{font-size:9.5px;line-height:1.4}
  .lg-account-section-head h3{font-size:16px}.lg-account-section-head a{font-size:10.5px!important}
  .lg-order-card{padding:18px;border-radius:16px}.lg-order-number{font-size:13px}.lg-order-date{font-size:10px}.lg-status-pill{font-size:8.8px}.lg-order-card-meta span{font-size:8.8px}.lg-order-card-meta strong{font-size:11px}
  .woocommerce table.shop_table{font-size:11.5px}.woocommerce table.shop_table th{font-size:9.8px!important;padding:13px 14px!important}.woocommerce table.shop_table td{font-size:11px;padding:14px!important}
  .woocommerce form .form-row label{font-size:11.5px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container--default .select2-selection--single{min-height:47px;font-size:12px!important}
  .woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit{font-size:11.5px!important;padding:14px 17px!important}
}

/* Auth page. */
@media (min-width:981px){
  .lg-auth-page{grid-template-columns:minmax(0,1fr) 450px;gap:28px}.lg-auth-side{min-height:580px;padding:50px;border-radius:25px}.lg-auth-side h2{font-size:40px;max-width:560px}.lg-auth-side p{font-size:13.5px;max-width:570px}.lg-auth-side-badge{font-size:9px}.lg-auth-point{font-size:11.5px;padding:13px}.lg-auth-forms{padding:35px;border-radius:24px}.lg-auth-forms h2{font-size:23px}.lg-auth-tab{height:42px;font-size:11px}
}

/* 404 and empty states. */
@media (min-width:981px){
  .lg-empty-state{max-width:820px;margin:70px auto 90px;padding:46px 42px;border-radius:28px}.lg-empty-visual{width:122px;height:122px;font-size:32px}.lg-empty-state h1{font-size:38px}.lg-empty-state p{font-size:13.5px}.lg-empty-search input{font-size:12px}
}

/* Wallet / support pages. */
@media (min-width:981px){
  .lg-feature-grid{gap:18px}.lg-feature-card{padding:24px;border-radius:20px}.lg-feature-card h2{font-size:20px}.lg-feature-card>p{font-size:12.5px}.lg-wallet-amount{font-size:42px}.lg-wallet-balance small{font-size:10px}.lg-support-option{padding:17px}.lg-support-option strong{font-size:12.5px}.lg-support-option small{font-size:10px}.lg-support-form-preview label>span{font-size:11px}.lg-support-form-preview input{height:47px;font-size:12px}.lg-support-form-preview textarea{font-size:12px}
}

/* Professional footer for desktop; mobile uses the bottom navigation. */
.lg-footer{border-top:1px solid #e9edf4;background:#fbfcfe}.lg-footer-main{min-height:190px;padding-block:34px;display:grid;grid-template-columns:minmax(280px,1.7fr) repeat(3,minmax(120px,.7fr));gap:34px;align-items:start}.lg-footer-brand{font-size:22px;font-weight:900;letter-spacing:-.045em}.lg-footer-brand-block p{max-width:380px;margin:8px 0 0;color:#7e899b;font-size:11px;line-height:1.65}.lg-footer-trust{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.lg-footer-trust span{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid #e5eaf2;border-radius:9px;background:#fff;color:#5e6a80;font-size:9px;font-weight:750}.lg-footer-trust svg{width:14px;height:14px;fill:none;stroke:#6550df;stroke-width:2}.lg-footer-column{display:grid;gap:9px}.lg-footer-column strong{margin-bottom:3px;color:#222d47;font-size:11px}.lg-footer-column a{color:#68758a;font-size:10px;font-weight:650}.lg-footer-column a:hover{color:#5645d8}.lg-footer-bottom{min-height:48px;border-top:1px solid #e9edf4;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#98a0af;font-size:9.5px}

/* Mobile global cleanup. */
@media(max-width:780px){
  .lg-mobile-header{padding-block:7px}.lg-mobile-header-top{min-height:40px}.lg-mobile-toolbar{padding-top:5px}.lg-mobile-search-launch em{font-size:10px}.lg-mobile-signin{font-size:9.5px}
  .lg-page-hero h1{font-size:27px}.lg-page-hero p{font-size:11px}.lg-page-eyebrow{font-size:8.5px}.lg-basic-page p,.lg-basic-page li{font-size:11px}
  .lg-account-card strong{font-size:11.5px}.lg-account-card small{font-size:9px}.woocommerce-MyAccount-content p{font-size:10.5px}
  .lg-loop-title{font-size:11px!important}.lg-loop-price{font-size:10px}
  .lg-footer{display:none}
}

/* Tablet header switches before the desktop navigation becomes cramped. */
@media (max-width:1100px) and (min-width:781px){
  .lg-utility-links{display:none}
  .lg-desktop-header{display:none!important}
  .lg-mobile-header{display:block!important;padding-block:8px}
  .lg-mobile-header-top{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px}
  .lg-mobile-meta{display:flex;align-items:center;gap:6px}
  .lg-locale-button,.lg-mobile-wallet{height:35px;border:1px solid #e8edf4;background:#fff;border-radius:9px;display:flex;align-items:center;justify-content:center}
  .lg-locale-button{gap:5px;padding:0 9px;color:#536079;font-size:9.5px}.lg-locale-button i{font-style:normal;color:#c2c7d0}.lg-locale-button strong{font-weight:800;color:#1b263e}.lg-mobile-wallet{width:35px;color:#f5337f}
  .lg-mobile-toolbar{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:8px;padding-top:6px}
  .lg-mobile-square{width:42px;height:42px;border:1px solid #e8edf4;border-radius:10px;background:#fff;color:#39455d;display:grid;place-items:center}
  .lg-mobile-search-launch{height:42px;min-width:0;border:1px solid #e8edf4;border-radius:10px;background:#f5f7fa;color:#7c879b;display:flex;align-items:center;gap:8px;padding:0 11px;text-align:left}
  .lg-mobile-search-launch em{font-style:normal;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .lg-mobile-signin{height:42px;padding:0 13px;border:1px solid #e1e6ee;border-radius:10px;background:#fff;color:#17213a;font-size:10px;font-weight:780}
  .lg-account-trigger.is-mobile{width:42px;height:42px}
}

/* =========================================================
   v3.1 sticky marketplace header — compact, clean, no overlap
   ========================================================= */
@media (min-width:981px){
  .lg-utility{position:sticky;top:0;z-index:92;background:#fff;border-bottom:1px solid #eef1f5}
  .lg-utility-inner{min-height:30px}
  .lg-header{position:sticky;top:30px;z-index:91;background:#fff;border-bottom:1px solid #e7ebf1;box-shadow:0 5px 18px rgba(20,31,56,.045);backdrop-filter:none}
  .lg-header-inner{height:72px;grid-template-columns:auto auto minmax(330px,1fr) auto;gap:26px}
  .lg-logo{max-height:42px;max-width:210px}.lg-brand{font-size:24px}
  .lg-nav-list{gap:26px}.lg-nav-list>li>a{font-size:12px;font-weight:800;color:#1f293d}
  .lg-search-launch{height:44px;border-radius:22px;background:#f5f7fa;border-color:#dfe4ec}.lg-search-launch span:last-child{font-size:11.5px}
  .lg-icon-button,.lg-signin-trigger{height:44px;border-radius:10px}
  .lg-account-trigger{width:44px;height:44px}
  .admin-bar .lg-utility{top:32px}.admin-bar .lg-header{top:62px}
  html{scroll-padding-top:118px}
}
@media (max-width:980px){
  .lg-header{position:sticky;top:0;z-index:91;background:#fff;border-bottom:1px solid #e8edf3;box-shadow:0 3px 12px rgba(25,37,68,.045)}
  .admin-bar .lg-header{top:32px}
  html{scroll-padding-top:92px}
}
@media (max-width:782px){.admin-bar .lg-header{top:46px}}

/* =========================================================
   v3.2 account/search/mobile-system cleanup
   ========================================================= */
.lg-account-main{min-height:70vh;padding-bottom:84px;background:var(--lg-page)}
.lg-account-page-head{padding:24px 0 0}
.lg-account-page-head-inner{padding:26px 30px;border:1px solid var(--lg-border);border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f8f7ff 62%,#fff2f8 100%);box-shadow:var(--lg-shadow-soft)}
.lg-account-page-title h1{margin:0;color:var(--lg-ink);font-size:36px;line-height:1.08;letter-spacing:-.04em}.lg-account-page-title p{margin:8px 0 0;color:#6f7a90;font-size:12px}.lg-account-page-title .lg-page-eyebrow{margin-bottom:8px}
.lg-account-app-shell{padding-top:20px}.lg-account-app{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start}.lg-account-app:before,.lg-account-app:after{display:none!important}
.lg-account-app .woocommerce-MyAccount-navigation{width:auto!important;float:none!important}.lg-account-app .woocommerce-MyAccount-content{width:auto!important;float:none!important}

/* Compact search overlay: one field, one inline icon action. */
.lg-overlay-search button{width:38px;padding:0;display:grid;place-items:center}.lg-overlay-search button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}

@media (max-width:900px){
  .lg-account-app{grid-template-columns:1fr}.lg-account-app .woocommerce-MyAccount-navigation{position:static;overflow:auto}.lg-account-app .woocommerce-MyAccount-navigation ul{display:flex;gap:6px;min-width:max-content}
}

@media(max-width:780px){
  .lg-account-main{padding-bottom:86px;background:#fff}
  .lg-account-page-head{padding-top:10px}.lg-account-page-head-inner{width:calc(100% - 24px);padding:15px 16px;border-radius:17px}.lg-account-page-title h1{font-size:26px}.lg-account-page-title p{font-size:10px;margin-top:6px}.lg-account-page-head .lg-breadcrumbs{margin-bottom:7px}
  .lg-account-app-shell{width:calc(100% - 24px);padding-top:12px}.lg-account-app{gap:10px}
  .lg-account-app .woocommerce-MyAccount-navigation{padding:6px;border-radius:13px}.lg-account-app .woocommerce-MyAccount-navigation a{height:38px;min-height:38px;font-size:9.5px;padding:0 10px}
  .lg-account-app .woocommerce-MyAccount-content{padding:14px;border-radius:16px}.lg-account-app .lg-account-hero{padding:12px;border-radius:14px}.lg-account-app .lg-account-avatar{width:44px;height:44px;border-radius:12px}.lg-account-app .lg-account-welcome h2{font-size:15px}.lg-account-app .lg-account-welcome p{font-size:9px}
  .lg-account-app .lg-account-cards{grid-template-columns:1fr 1fr;gap:8px}.lg-account-app .lg-account-card{min-height:86px;padding:10px;border-radius:13px}

  /* Header is deliberately compact on phones. */
  .lg-mobile-header{padding-block:5px!important}.lg-mobile-header-top{min-height:34px!important}.lg-mobile-header .lg-logo{max-height:27px!important;max-width:185px}.lg-mobile-meta{gap:3px}.lg-locale-button,.lg-mobile-wallet{height:31px!important}.lg-locale-button{padding:0 6px!important;font-size:8.5px!important}.lg-mobile-wallet{width:31px!important}.lg-mobile-toolbar{grid-template-columns:38px minmax(0,1fr) auto!important;gap:7px!important;padding-top:4px!important}.lg-mobile-square{width:38px!important;height:38px!important}.lg-mobile-search-launch{height:38px!important;padding:0 10px!important}.lg-mobile-search-launch em{font-size:9.5px!important}.lg-mobile-signin,.lg-account-trigger.is-mobile{height:38px!important}.lg-mobile-signin{padding:0 11px!important;font-size:9.5px!important}.lg-account-trigger.is-mobile{width:38px!important}

  .lg-search-panel{top:82px!important;width:calc(100% - 20px)!important;max-height:min(58dvh,520px)!important;border-radius:18px!important;overflow:auto}.lg-panel-head{padding:11px 13px!important}.lg-panel-head strong{font-size:16px}.lg-panel-close{width:34px;height:34px;border-radius:10px}.lg-overlay-search{height:44px!important;margin:10px 12px 5px!important;padding:0 5px 0 11px!important;border:1px solid #dfe5ee!important;border-radius:12px!important;box-shadow:0 0 0 3px rgba(94,85,237,.04)}.lg-overlay-search:focus-within{border-color:#8c78ef!important;box-shadow:0 0 0 3px rgba(114,87,243,.10)}.lg-overlay-search input{font-size:12px!important}.lg-overlay-search button{width:36px!important;height:36px!important;border-radius:9px!important;background:#17213a!important}.lg-search-group{padding:11px 13px 14px!important}.lg-search-label{margin-bottom:8px!important;font-size:10px!important}.lg-search-chips{gap:6px!important}.lg-search-chips button,.lg-search-chips a{padding:7px 9px!important;border-radius:8px!important;font-size:9.5px!important}

  /* Keep floating chat widgets above the buy bar + bottom nav. */
  .ht-ctc-chat,.joinchat,.chaty-widget,.wp-social-chat-widget,.qlwapp{bottom:calc(142px + env(safe-area-inset-bottom))!important;z-index:89!important}
}
@media(max-width:600px){.admin-bar .lg-search-panel{top:128px!important}}

/* Active mobile navigation is visible but not loud. */
.lg-mobile-bottom a.is-active{color:#e8327a!important}.lg-mobile-bottom a.is-active svg{stroke-width:2.25}.lg-mobile-bottom a.is-active span{font-weight:800}
.lg-loop-media>.lg-product-fallback{position:absolute;inset:0}
.woocommerce-MyAccount-navigation li.is-logout{margin-top:6px!important;padding-top:6px;border-top:1px solid #edf0f5}.woocommerce-MyAccount-navigation li.is-logout a{color:#b64a57!important}.woocommerce-MyAccount-navigation li.is-logout a:hover{background:#fff4f5!important;color:#a63b49!important}

/* v3.4 mobile header: compact marketplace layout; search is an icon trigger. */
@media(max-width:980px){
  .lg-mobile-toolbar{grid-template-columns:40px minmax(0,1fr) 40px auto!important;gap:8px!important}
  .lg-mobile-search-launch{grid-column:3;width:40px!important;height:40px!important;justify-self:end;padding:0!important;display:grid!important;place-items:center!important;border:0!important;background:#fff!important;color:#263249!important;border-radius:10px!important}
  .lg-mobile-search-launch em{display:none!important}
  .lg-mobile-search-launch span{display:grid!important;place-items:center!important}.lg-mobile-search-launch svg{width:20px;height:20px}
  .lg-mobile-signin,.lg-account-trigger.is-mobile{grid-column:4}
}
@media(max-width:430px){
  .lg-mobile-toolbar{grid-template-columns:38px minmax(0,1fr) 38px auto!important;gap:7px!important}
  .lg-mobile-search-launch{width:38px!important;height:38px!important}
}

/* Last-resort viewport guard for legacy content/plugins. */
@media(max-width:780px){
  html,body{max-width:100%;overflow-x:hidden}
  .lg-site img{max-width:100%;height:auto}
}

/* =========================================================
   v3.5 global hardening
   ========================================================= */
html,body.lg-site{max-width:100%;overflow-x:clip}
.lg-footer{width:100%;max-width:100%;overflow:hidden}

/* Mobile marketplace header: compact icon search, no full-width search field. */
@media(max-width:980px){
  .lg-mobile-toolbar{display:flex!important;align-items:center!important;gap:8px!important;padding-top:5px!important}
  .lg-mobile-square{flex:0 0 40px!important;width:40px!important;height:40px!important}
  .lg-mobile-search-launch{flex:0 0 40px!important;width:40px!important;height:40px!important;margin-left:auto!important;padding:0!important;display:grid!important;place-items:center!important;border:0!important;background:#fff!important;color:#27334a!important;border-radius:10px!important;cursor:pointer!important}
  .lg-mobile-search-launch em{display:none!important}
  .lg-mobile-search-launch span{display:grid!important;place-items:center!important}.lg-mobile-search-launch svg{width:20px!important;height:20px!important}
  .lg-mobile-signin{flex:0 0 auto!important;height:40px!important}.lg-account-trigger.is-mobile{flex:0 0 40px!important;width:40px!important;height:40px!important}
}
@media(max-width:430px){
  .lg-mobile-square,.lg-mobile-search-launch,.lg-account-trigger.is-mobile{flex-basis:38px!important;width:38px!important;height:38px!important}.lg-mobile-signin{height:38px!important}
}

/* Search results: search intent first, no oversized marketing hero. */
.lg-search-page{min-height:70vh;background:#f6f8fb;padding-bottom:72px}.lg-search-page-head{padding-top:24px}.lg-search-page-head-inner{padding:20px 22px;border:1px solid #e3e8f0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(25,38,67,.035)}.lg-search-page-head h1{margin:6px 0 4px;color:#172139;font-size:26px;letter-spacing:-.035em}.lg-search-page-head p{margin:0;color:#778297;font-size:10.5px}.lg-search-page-form{height:44px;margin-top:14px;display:flex;align-items:center;gap:8px;padding:0 8px 0 12px;border:1px solid #dfe5ee;border-radius:11px;background:#f8fafc}.lg-search-page-form>svg{width:17px;height:17px;fill:none;stroke:#6c7890;stroke-width:2}.lg-search-page-form input[type=search]{flex:1;height:100%;border:0;outline:0;background:transparent;color:#1a2540;font:inherit;font-size:11px}.lg-search-page-form button{height:32px;padding:0 13px;border:0;border-radius:8px;background:#1c2946;color:#fff;font-size:9.5px;font-weight:800;cursor:pointer}
@media(max-width:780px){.lg-search-page{padding-bottom:88px}.lg-search-page-head{padding-top:10px}.lg-search-page-head-inner{padding:14px;border-radius:15px}.lg-search-page-head h1{font-size:21px}.lg-search-page-form{height:42px;margin-top:10px}.lg-search-page-form button{width:36px;padding:0;font-size:0}.lg-search-page-form button:after{content:'→';font-size:15px}}

/* Keep common floating chat widgets clear of mobile navigation / purchase bar. */
@media(max-width:780px){
  body.single-product .ht-ctc-chat,body.single-product .joinchat,body.single-product .chaty-widget,body.single-product .wp-social-chat-widget,body.single-product .qlwapp{bottom:calc(146px + env(safe-area-inset-bottom))!important}
}
/* Explicit hidden-state guard: author display rules must never override HTML hidden. */
.lg-site [hidden]{display:none!important}

/* =========================================================
   v3.6 mobile interaction hardening
   - five-item bottom nav cannot collapse or be covered
   - search/auth overlays stay inside the visual viewport
   - focused search input owns no native blue inner outline
   ========================================================= */
.screen-reader-text{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important
}
.lg-layer,.lg-layer *{box-sizing:border-box}
.lg-layer{position:fixed!important;inset:0!important;width:100dvw!important;max-width:100dvw!important;height:var(--lg-visual-height,100dvh)!important;max-height:var(--lg-visual-height,100dvh)!important;overflow:hidden!important}
.lg-layer[hidden]{display:none!important;pointer-events:none!important}
.lg-layer:not([hidden]){pointer-events:auto!important}
body.lg-layer-open{overflow:hidden!important;overscroll-behavior:none!important}
.lg-layer:not([hidden]) .lg-search-panel,.lg-layer:not([hidden]) .lg-auth-panel,.lg-layer:not([hidden]) .lg-side-panel{touch-action:pan-y}

/* Search modal uses the viewport, never the document's accidental overflow width. */
.lg-search-panel{
  left:50%!important;right:auto!important;width:min(620px,calc(100dvw - 32px))!important;max-width:calc(100dvw - 32px)!important;
  transform:translateX(-50%)!important;overflow-x:hidden!important;overscroll-behavior:contain!important
}
.lg-overlay-search{width:auto!important;max-width:100%!important;grid-template-columns:22px minmax(0,1fr) 38px!important;overflow:hidden!important}
.lg-overlay-search input[type="search"]{
  display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#17213a!important;
  -webkit-appearance:none!important;appearance:none!important
}
.lg-overlay-search input[type="search"]:focus,.lg-overlay-search input[type="search"]:focus-visible{outline:0!important;border:0!important;box-shadow:none!important}
.lg-overlay-search input[type="search"]::-webkit-search-decoration,.lg-overlay-search input[type="search"]::-webkit-search-cancel-button,.lg-overlay-search input[type="search"]::-webkit-search-results-button,.lg-overlay-search input[type="search"]::-webkit-search-results-decoration{-webkit-appearance:none;display:none}
.lg-search-chips{min-width:0;max-width:100%;overflow:hidden}.lg-search-chips button,.lg-search-chips a{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lg-panel-head{position:sticky;top:0;z-index:2;background:#fff}

@media(max-width:780px){
  body.lg-site{padding-bottom:calc(68px + env(safe-area-inset-bottom))!important}
  body.single-product.lg-site{padding-bottom:0!important}

  .lg-search-panel{
    top:max(12px,calc(env(safe-area-inset-top) + 10px))!important;left:12px!important;right:12px!important;width:auto!important;max-width:none!important;
    transform:none!important;max-height:calc(var(--lg-visual-height,100dvh) - 24px)!important;border-radius:18px!important;overflow:auto!important
  }
  .admin-bar .lg-search-panel{top:calc(46px + env(safe-area-inset-top) + 8px)!important;max-height:calc(var(--lg-visual-height,100dvh) - 58px - env(safe-area-inset-top))!important}
  .lg-panel-head{padding:13px 14px!important}.lg-panel-head strong{font-size:18px!important;line-height:1.2}.lg-panel-close{flex:0 0 36px;width:36px!important;height:36px!important}
  .lg-overlay-search{height:50px!important;margin:12px 14px 7px!important;padding:0 5px 0 12px!important;border:1px solid #d8e0eb!important;border-radius:13px!important;box-shadow:none!important;background:#fff!important}
  .lg-overlay-search:focus-within{border-color:#6c61e8!important;box-shadow:0 0 0 3px rgba(108,97,232,.10)!important}
  .lg-overlay-search input[type="search"]{font-size:16px!important;line-height:1.2!important}
  .lg-overlay-search button{width:38px!important;height:38px!important;border-radius:10px!important;background:#17213a!important;color:#fff!important}
  .lg-search-group{padding:12px 14px 15px!important}.lg-search-label{font-size:11px!important}.lg-search-chips{display:flex!important;flex-wrap:wrap!important;gap:7px!important}.lg-search-chips button,.lg-search-chips a{padding:8px 10px!important;font-size:11px!important;border-radius:9px!important}

  /* The sign-in modal is a compact sheet, not a viewport-height white rectangle. */
  .lg-auth-panel{
    top:50%!important;left:14px!important;right:14px!important;width:auto!important;max-width:430px!important;min-height:0!important;max-height:calc(var(--lg-visual-height,100dvh) - 28px)!important;
    margin-inline:auto!important;padding:28px 20px 20px!important;border-radius:20px!important;transform:translateY(-50%)!important;overflow:auto!important
  }
  .lg-auth-panel .lg-auth-close{right:12px!important;top:12px!important}.lg-auth-art{height:92px!important;margin-bottom:10px!important}.lg-auth-game{width:64px!important;height:64px!important;border-radius:20px!important}.lg-auth-game svg{width:30px!important;height:30px!important}.lg-auth-orb.o1{width:28px!important;height:28px!important}.lg-auth-orb.o2{width:20px!important;height:20px!important}.lg-auth-orb.o3{width:14px!important;height:14px!important}.lg-auth-panel h2{font-size:20px!important}.lg-auth-panel p{margin:7px auto 16px!important;font-size:11px!important}.lg-auth-primary,.lg-auth-secondary{height:44px!important}

  /* Five destinations always remain visible and tappable. */
  .lg-mobile-bottom{
    position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:950!important;width:100dvw!important;max-width:100dvw!important;
    height:calc(68px + env(safe-area-inset-bottom))!important;padding:0 4px env(safe-area-inset-bottom)!important;margin:0!important;
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch!important;
    overflow:hidden!important;isolation:isolate!important;contain:layout paint!important;background:rgba(255,255,255,.985)!important;
    border-top:1px solid #e5eaf1!important;box-shadow:0 -7px 24px rgba(23,34,60,.08)!important;backdrop-filter:blur(14px)
  }
  .lg-mobile-bottom__item{
    display:flex!important;position:relative!important;float:none!important;visibility:visible!important;opacity:1!important;transform:none!important;
    width:100%!important;max-width:none!important;min-width:0!important;height:67px!important;margin:0!important;padding:6px 1px!important;
    flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;overflow:hidden!important;
    color:#778297!important;text-decoration:none!important;font-size:8.5px!important;font-weight:650!important;line-height:1!important;pointer-events:auto!important
  }
  .lg-mobile-bottom__item svg{display:block!important;flex:none!important;width:19px!important;height:19px!important;stroke:currentColor!important;fill:none!important}
  .lg-mobile-bottom__item span{display:block!important;width:100%!important;max-width:100%!important;overflow:hidden!important;text-align:center!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:inherit!important}
  .lg-mobile-bottom__item.is-active{color:#e8327a!important}.lg-mobile-bottom__item.is-active:before{content:"";position:absolute;top:0;left:50%;width:26px;height:3px;border-radius:0 0 3px 3px;background:#e8327a;transform:translateX(-50%)}
}
@media(min-width:781px){.lg-mobile-bottom{display:none!important}}
@media(max-width:780px){
  .lg-search-page-form input[type="search"]{font-size:16px!important;min-width:0!important;width:100%!important;-webkit-appearance:none!important;appearance:none!important;outline:0!important;box-shadow:none!important}
  .lg-search-page-form input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;display:none}
}

/* =========================================================
   v3.7 catalog card system
   Compact LioGames shop/category/search cards with consistent
   image stages, borders and card heights across mixed artwork.
   ========================================================= */
.lg-catalog-page .lg-catalog-wrap,
.lg-search-page .lg-catalog-wrap{
  width:min(calc(100% - 48px),1320px)!important;
  margin-inline:auto!important;
}
.lg-catalog-page .lg-page-hero,
.lg-search-page .lg-search-page-head{
  width:min(calc(100% - 48px),1320px)!important;
  margin-inline:auto!important;
}
.lg-catalog-grid,
.woocommerce ul.products.lg-catalog-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
.lg-loop-card,
.woocommerce ul.products li.product.lg-loop-card{
  min-width:0!important;
  height:100%!important;
  border:1px solid #e0e5ed!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(25,39,72,.055)!important;
  overflow:hidden!important;
  transform:none!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.lg-loop-card:hover,
.woocommerce ul.products li.product.lg-loop-card:hover{
  transform:translateY(-3px)!important;
  border-color:#cfd7e4!important;
  box-shadow:0 15px 34px rgba(25,39,72,.105)!important;
}
.lg-loop-link{
  display:flex!important;
  height:100%!important;
  min-width:0!important;
  flex-direction:column!important;
  color:inherit!important;
  text-decoration:none!important;
}
.lg-loop-media{
  position:relative!important;
  aspect-ratio:1/1!important;
  min-height:0!important;
  margin:9px 9px 0!important;
  border:1px solid #edf0f5!important;
  border-radius:14px!important;
  background:#f7f8fb!important;
  overflow:hidden!important;
  isolation:isolate!important;
}
.lg-loop-media-inner{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  min-width:0!important;
  min-height:0!important;
  overflow:hidden!important;
}
.lg-loop-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  object-position:center!important;
  transition:transform .22s ease!important;
}
/* Game artwork fills the square stage when its source ratio is suitable. */
.lg-loop-card.is-game.is-cover .lg-loop-media img{
  object-fit:cover!important;
  padding:0!important;
  background:#eef2f7!important;
}
/* Portrait/wide source art stays complete instead of being cropped. */
.lg-loop-card.is-game.is-contain .lg-loop-media img,
.lg-loop-card.is-gift .lg-loop-media img{
  object-fit:contain!important;
  padding:12px!important;
  background:#fff!important;
}
.lg-loop-card.is-gift.is-cover .lg-loop-media img{
  object-fit:contain!important;
  padding:8px!important;
}
.lg-loop-card:hover .lg-loop-media img{transform:scale(1.025)!important}
.lg-loop-card.is-contain:hover .lg-loop-media img,
.lg-loop-card.is-gift:hover .lg-loop-media img{transform:scale(1.018)!important}
.lg-loop-badge{
  position:absolute!important;
  z-index:3!important;
  left:8px!important;
  top:8px!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:22px!important;
  padding:0 7px!important;
  border:1px solid rgba(255,255,255,.32)!important;
  border-radius:999px!important;
  background:rgba(18,27,47,.88)!important;
  color:#fff!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:.01em!important;
  box-shadow:0 3px 10px rgba(14,22,40,.12)!important;
  backdrop-filter:blur(7px)!important;
}
.lg-loop-content{
  display:flex!important;
  flex:1 1 auto!important;
  min-width:0!important;
  flex-direction:column!important;
  align-items:center!important;
  padding:13px 12px 14px!important;
  text-align:center!important;
}
.lg-loop-title{
  display:-webkit-box!important;
  width:100%!important;
  min-height:38px!important;
  margin:0!important;
  overflow:hidden!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  color:#17213a!important;
  font-size:13px!important;
  font-weight:780!important;
  line-height:1.42!important;
  text-align:center!important;
  overflow-wrap:anywhere!important;
}
.lg-loop-price{
  display:flex!important;
  min-height:22px!important;
  margin-top:8px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  color:#111b31!important;
  font-size:12.5px!important;
  font-weight:850!important;
  line-height:1.25!important;
  text-align:center!important;
  white-space:normal!important;
}
.lg-loop-price del{color:#97a1b1!important;font-size:10px!important;font-weight:650!important}
.lg-loop-price ins{text-decoration:none!important;color:#0d6fcb!important;font-weight:850!important}
.lg-loop-open{display:none!important}
.lg-product-fallback{
  display:grid!important;
  width:100%!important;
  height:100%!important;
  place-items:center!important;
  background:linear-gradient(145deg,#f6f7fb,#eef1f7)!important;
  color:#6d5ce7!important;
}
.lg-loop-media>.lg-product-fallback{position:absolute!important;inset:0!important}
.lg-product-fallback svg{width:42px!important;height:42px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}

@media (max-width:1499px) and (min-width:1101px){
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
}
@media (max-width:1100px) and (min-width:781px){
  .lg-catalog-page .lg-catalog-wrap,.lg-search-page .lg-catalog-wrap,
  .lg-catalog-page .lg-page-hero,.lg-search-page .lg-search-page-head{width:min(calc(100% - 32px),960px)!important}
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
}
@media (max-width:780px){
  .lg-catalog-page .lg-catalog-wrap,.lg-search-page .lg-catalog-wrap,
  .lg-catalog-page .lg-page-hero,.lg-search-page .lg-search-page-head{width:calc(100% - 24px)!important}
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .lg-loop-card,.woocommerce ul.products li.product.lg-loop-card{border-radius:14px!important;box-shadow:0 5px 16px rgba(25,39,72,.05)!important}
  .lg-loop-media{margin:6px 6px 0!important;border-radius:11px!important}
  .lg-loop-card.is-game.is-contain .lg-loop-media img,.lg-loop-card.is-gift .lg-loop-media img{padding:8px!important}
  .lg-loop-badge{left:6px!important;top:6px!important;min-height:19px!important;padding:0 6px!important;font-size:7px!important}
  .lg-loop-content{padding:9px 8px 11px!important}
  .lg-loop-title{min-height:31px!important;font-size:10.5px!important;line-height:1.42!important}
  .lg-loop-price{min-height:19px!important;margin-top:5px!important;font-size:10.5px!important;gap:4px!important}
  .lg-loop-price del{font-size:8.5px!important}
}
@media (max-width:360px){
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{gap:8px!important}
  .lg-loop-title{font-size:10px!important}
}
/* v3.7 catalog shell specificity correction + tablet density. */
@media (min-width:1500px){
  body.lg-site:not(.lg-fast-home) .lg-catalog-page .lg-catalog-wrap,
  body.lg-site:not(.lg-fast-home) .lg-search-page .lg-catalog-wrap,
  body.lg-site:not(.lg-fast-home) .lg-catalog-page .lg-page-hero,
  body.lg-site:not(.lg-fast-home) .lg-search-page .lg-search-page-head{
    width:min(calc(100% - 48px),1320px)!important;
  }
}
@media (min-width:641px) and (max-width:1100px){
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
}
@media (max-width:640px){
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
/* v3.7 final catalog density: keep desktop cards compact like the LioGames reference. */
@media (min-width:1280px){
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:18px!important}
}
@media (min-width:981px) and (max-width:1279px){
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
}
@media (min-width:641px) and (max-width:980px){
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
}
/* v3.7 final responsive column map. */
@media (min-width:900px) and (max-width:1279px){
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (min-width:541px) and (max-width:899px){
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:540px){
  .lg-catalog-grid,.woocommerce ul.products.lg-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* =========================================================
   v3.8 account / utility pages — responsive density + polish
   ========================================================= */
.lg-account-page-head-inner{max-width:1440px}
.lg-account-page-head.is-authenticated .lg-account-page-head-inner{padding-top:22px;padding-bottom:22px}
.lg-account-app-shell{max-width:1440px}
.lg-account-app{grid-template-columns:240px minmax(0,1fr);gap:18px}
.lg-account-app .woocommerce-MyAccount-navigation{top:112px}
.lg-account-app .woocommerce-MyAccount-content{min-width:0}

.woocommerce-MyAccount-navigation{scrollbar-width:none;-ms-overflow-style:none}
.woocommerce-MyAccount-navigation::-webkit-scrollbar,
.woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.woocommerce-MyAccount-navigation ul{scrollbar-width:none;-ms-overflow-style:none}

.lg-account-hero{min-height:0;padding:14px 16px;border-radius:15px}
.lg-account-welcome{gap:12px}
.lg-account-welcome h2{font-size:18px}
.lg-account-welcome p{font-size:10.5px}
.lg-account-cards{gap:10px}
.lg-account-card{min-height:92px}
.lg-account-card-icon{flex:0 0 auto}

.lg-orders-heading{margin-top:0!important}
.lg-orders-heading p{margin:3px 0 0!important}
.lg-orders-list{gap:8px}
.lg-order-card{
  grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:12px 14px;border-radius:13px;
  box-shadow:0 3px 12px rgba(28,39,69,.025)
}
.lg-order-card-main{min-width:0}
.lg-order-card-top{gap:7px}
.lg-order-number{font-size:12.5px}
.lg-order-date{margin-left:2px}
.lg-order-card-meta{margin-top:8px;gap:16px}
.lg-order-card-meta>div{min-width:52px}
.lg-order-card-meta .is-payment{min-width:130px}
.lg-order-card-actions{justify-content:flex-end;flex-wrap:wrap}
.lg-order-card-actions .button{min-width:58px;height:34px!important;padding:0 11px!important;border-radius:9px!important;font-size:9px!important}
.lg-order-card-actions .view{background:#15213e!important}
.lg-order-card-actions .pay{background:#236fe5!important}
.lg-order-card-actions .cancel{background:#fff!important;color:#a24652!important;border:1px solid #efd7da!important}
.lg-account-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:14px}
.lg-account-pagination span{font-size:10px;color:#7e899a}
.lg-account-pagination .button{height:34px!important;padding:0 12px!important}

.lg-order-view-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:16px 18px;
  border:1px solid #ece8fb;border-radius:15px;background:linear-gradient(135deg,#fbf9ff,#fff5fa)
}
.lg-order-view-head h2{margin:2px 0 3px;font-size:21px}
.lg-order-view-head p{margin:0!important}
.lg-order-view-kicker{font-size:8px;letter-spacing:.12em;text-transform:uppercase;color:#7660e8;font-weight:850}
.lg-order-view-body .woocommerce-order-details{margin-top:0}
.lg-order-view-body .woocommerce-order-details__title,
.lg-order-view-body .woocommerce-column__title{font-size:15px!important;margin-bottom:10px!important}
.lg-order-view-body .woocommerce-customer-details address{min-height:0!important}

.lg-auth-page{grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);align-items:start}
.lg-auth-side{min-height:390px;padding:30px}
.lg-auth-side h2{font-size:29px;max-width:560px}
.lg-auth-points{grid-template-columns:1fr;max-width:680px;margin-top:24px}
.lg-auth-point{min-height:48px}
.lg-auth-point i{display:grid;place-items:center}
.lg-auth-point i svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.lg-auth-forms{padding:24px}
.lg-auth-tabs{display:grid;grid-template-columns:1fr 1fr;margin-bottom:18px;padding:4px;border-radius:12px;background:#f5f6fa}
.lg-auth-tab{width:100%;border:0;background:transparent}
.lg-auth-tab.is-active{box-shadow:0 4px 12px rgba(70,53,165,.15)}
.lg-auth-pane[hidden]{display:none!important}
.lg-auth-pane h2{margin-bottom:4px}
.lg-auth-intro{margin:0 0 16px!important;color:#7b8698!important}
.lg-auth-form-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 14px}
.lg-auth-form-row .woocommerce-LostPassword{margin:0!important}
.lg-auth-submit{width:100%!important;height:44px!important;border-radius:10px!important;background:#17213e!important;color:#fff!important;font-weight:850!important}
.lg-auth-generated-password{padding:10px 12px;border-radius:10px;background:#f7f8fb}

.woocommerce-Addresses,.u-columns.woocommerce-Addresses{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important
}
.woocommerce-Address{float:none!important;width:auto!important;margin:0!important;min-height:180px;padding:20px!important}
.woocommerce-Address-title{margin-bottom:14px}
.woocommerce-Address-title h3{font-size:17px!important}
.woocommerce-Address-title a{font-size:10px!important;font-weight:800!important;color:#5b4add!important}
.woocommerce-Address address{font-size:11px;line-height:1.7}

.woocommerce-EditAccountForm{max-width:980px}
.woocommerce-EditAccountForm .woocommerce-form-row input{min-height:44px}
.woocommerce-EditAccountForm fieldset{background:#fbfcfe}
.woocommerce-EditAccountForm .woocommerce-Button{min-height:42px!important;padding-inline:16px!important}

.lg-feature-page .lg-page-hero{margin-bottom:16px}
.lg-feature-grid{align-items:start}
.lg-feature-card{padding:20px}
.lg-wallet-balance{min-height:160px}
.lg-wallet-amount{margin:8px 0 16px}
.lg-support-options{align-content:start}
.lg-support-option{min-height:76px}
.lg-support-form-preview label{display:grid;gap:6px;margin-top:12px}
.lg-support-form-preview label span{font-size:9px;font-weight:800;color:#3c4861}
.lg-support-form-preview input,.lg-support-form-preview textarea{width:100%;border:1px solid #dfe4ed;border-radius:10px;padding:10px 12px;background:#fff;outline:0}
.lg-support-form-preview input:focus,.lg-support-form-preview textarea:focus{border-color:#6a5ae8;box-shadow:0 0 0 3px rgba(106,90,232,.09)}
.lg-support-form-preview .lg-page-button{margin-top:12px}

@media(max-width:900px){
  .lg-account-app{grid-template-columns:1fr;gap:10px}
  .lg-account-app .woocommerce-MyAccount-navigation{position:static;overflow-x:auto;overscroll-behavior-x:contain}
  .lg-account-app .woocommerce-MyAccount-navigation ul{display:flex;gap:7px;min-width:max-content;scroll-snap-type:x proximity}
  .lg-account-app .woocommerce-MyAccount-navigation li{scroll-snap-align:center}
  .lg-account-app .woocommerce-MyAccount-navigation a{white-space:nowrap}
  .lg-auth-page{grid-template-columns:1fr}
  .lg-auth-side{min-height:0}
}

@media(max-width:780px){
  .lg-account-page-head{padding-top:8px}
  .lg-account-page-head-inner{padding:13px 14px!important;border-radius:16px}
  .lg-account-page-head .lg-breadcrumbs{margin-bottom:5px}
  .lg-account-page-title .lg-page-eyebrow{margin-bottom:5px}
  .lg-account-page-title h1{font-size:24px}
  .lg-account-page-title p{font-size:9.5px;margin-top:4px}
  .lg-account-page-head.is-authenticated .lg-account-page-title p{display:none}
  .lg-account-app-shell{padding-top:9px}
  .lg-account-app .woocommerce-MyAccount-navigation{padding:5px!important;border-radius:13px}
  .lg-account-app .woocommerce-MyAccount-navigation a{height:36px!important;min-height:36px!important;padding:0 10px!important;font-size:9px!important;border-radius:9px!important}
  .lg-account-app .woocommerce-MyAccount-navigation a svg{width:14px!important;height:14px!important}
  .lg-account-app .woocommerce-MyAccount-content{padding:12px!important}
  .lg-account-hero{padding:11px 12px}
  .lg-account-welcome h2{font-size:14px}
  .lg-account-welcome p{font-size:8.8px}
  .lg-account-cards{grid-template-columns:1fr 1fr;gap:7px}
  .lg-account-card{min-height:82px;padding:9px}
  .lg-account-card strong{font-size:10.5px}
  .lg-account-card small{font-size:8.4px;line-height:1.35}

  .lg-orders-heading{align-items:flex-start}
  .lg-orders-heading p{font-size:9px!important}
  .lg-order-card{grid-template-columns:1fr auto;padding:11px;gap:8px}
  .lg-order-card-top{gap:5px}
  .lg-order-number{font-size:11px}
  .lg-status-pill{min-height:20px;padding-inline:6px;font-size:7.5px}
  .lg-order-date{font-size:8px}
  .lg-order-card-meta{gap:10px;margin-top:7px}
  .lg-order-card-meta span{font-size:7.5px}
  .lg-order-card-meta strong{font-size:9px}
  .lg-order-card-meta .is-payment{min-width:0;max-width:115px}
  .lg-order-card-actions{display:grid;gap:5px}
  .lg-order-card-actions .button{min-width:52px!important;height:32px!important;padding:0 8px!important;font-size:8px!important}
  .lg-account-pagination{justify-content:space-between}

  .lg-order-view-head{padding:12px 13px;margin-bottom:10px}
  .lg-order-view-head h2{font-size:17px}
  .lg-order-view-body table.shop_table{table-layout:fixed}
  .lg-order-view-body table.shop_table th,.lg-order-view-body table.shop_table td{padding:9px!important;font-size:8.8px!important;vertical-align:top}
  .lg-order-view-body .wc-item-meta{margin-top:7px!important;padding:8px!important;border-radius:9px;background:#f8fafc}
  .lg-order-view-body .wc-item-meta li{margin:3px 0!important;line-height:1.4}
  .lg-order-view-body .woocommerce-customer-details address{padding:12px!important;font-size:9.5px!important}

  .lg-auth-page{gap:10px}
  .lg-auth-side{padding:20px;border-radius:17px}
  .lg-auth-side h2{font-size:22px;margin:8px 0}
  .lg-auth-side p{font-size:9.5px}
  .lg-auth-points{margin-top:15px;gap:7px}
  .lg-auth-point{min-height:42px;padding:9px;font-size:9px}
  .lg-auth-forms{padding:16px;border-radius:17px}
  .lg-auth-tabs{margin-bottom:14px}
  .lg-auth-pane h2{font-size:18px}
  .lg-auth-form-row{align-items:flex-start;flex-direction:column;gap:5px}
  .lg-auth-submit{height:42px!important}

  .woocommerce-Addresses,.u-columns.woocommerce-Addresses{grid-template-columns:1fr!important}
  .woocommerce-Address{min-height:0;padding:15px!important}
  .woocommerce-Address-title h3{font-size:15px!important}
  .woocommerce-EditAccountForm{max-width:none}

  .lg-feature-page{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
  .lg-feature-grid{gap:10px}
  .lg-feature-card{padding:15px;border-radius:16px}
  .lg-wallet-balance{min-height:145px}
  .lg-support-options{grid-template-columns:1fr 1fr;gap:8px}
  .lg-support-option{min-height:68px;padding:11px}
}

@media(max-width:430px){
  .lg-order-card{grid-template-columns:minmax(0,1fr) auto}
  .lg-order-card-meta{display:grid;grid-template-columns:42px 70px minmax(0,1fr)}
  .lg-order-card-meta .is-payment{max-width:none}
  .lg-support-options{grid-template-columns:1fr}
}

.lg-wallet-balance-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.lg-wallet-currency{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:28px;padding:0 9px;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.16);font-size:9px;font-weight:850}
.lg-wallet-action-disabled{height:38px;padding:0 14px;display:inline-flex;align-items:center;border-radius:10px;background:rgba(255,255,255,.10);color:#e8e7fb;font-size:9px;font-weight:800}
.lg-wallet-shortcuts-card{min-height:160px}
.lg-wallet-mini-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}
.lg-wallet-mini-actions>a{display:flex;align-items:center;gap:10px;min-height:64px;padding:11px;border:1px solid var(--lg-border);border-radius:13px;background:#fbfcfe}
.lg-wallet-mini-actions>a>svg{width:19px;height:19px;fill:none;stroke:#6657e9;stroke-width:2}
.lg-wallet-mini-actions strong{display:block;font-size:10.5px}.lg-wallet-mini-actions small{display:block;margin-top:2px;color:#8490a3;font-size:8.5px}
.lg-wallet-history-card{grid-column:1/-1}
.lg-wallet-transactions{display:grid;gap:8px;margin-top:14px}
.lg-wallet-transaction{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e7ebf2;border-radius:12px;background:#fff}
.lg-wallet-transaction-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#f2f0ff;color:#6756e8}.lg-wallet-transaction-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.lg-wallet-transaction strong{display:block;font-size:10.5px}.lg-wallet-transaction small{display:block;margin-top:2px;color:#8993a5;font-size:8.5px}.lg-wallet-transaction>b{font-size:11px;color:#17213a}
.lg-wallet-transaction.is-credit>b{color:#16805d}.lg-wallet-transaction.is-debit>b{color:#b54b57}
@media(max-width:780px){.lg-wallet-mini-actions{grid-template-columns:1fr}.lg-wallet-transaction{grid-template-columns:34px minmax(0,1fr) auto}.lg-wallet-transaction>b{font-size:10px}}

.lg-address-intro{margin:0 0 14px!important}
.lg-address-grid{align-items:stretch}
.lg-address-card{display:flex;flex-direction:column}
.lg-address-card .woocommerce-Address-title>div{display:flex;align-items:center;gap:10px}
.lg-address-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#f2f0ff;color:#6657e9}
.lg-address-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
.lg-address-card address{margin-top:14px!important;padding-top:12px;border-top:1px solid #edf0f5}
/* 3.8 support form states */
.lg-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.lg-form-notice{margin-top:14px;padding:10px 12px;border-radius:10px;font-size:10px;font-weight:750;line-height:1.45}
.lg-form-notice.is-success{background:#eaf9f2;color:#126b4e;border:1px solid #ccefe0}.lg-form-notice.is-error{background:#fff0f2;color:#9b3342;border:1px solid #f7d6dc}


/* 3.8.1: wallet plugin owns the wallet UI; avoid a second theme card around it. */
body.lg-wallet-page .lg-account-app .woocommerce-MyAccount-content{padding:0;border:0;background:transparent;box-shadow:none}
body.lg-wallet-page .lg-account-app .lgw-wallet-shell{max-width:none}
body.lg-wallet-page .lg-account-app .lgw-wallet-head{padding:2px 2px 0}
@media(max-width:780px){body.lg-wallet-page .lg-account-app .woocommerce-MyAccount-content{padding:0!important}body.lg-wallet-page .lg-account-app .lgw-wallet-shell{gap:12px}.lgw-wallet-tabs{scrollbar-width:none}.lgw-wallet-tabs::-webkit-scrollbar{display:none!important}}
