/*!
 * BarGames Pro · estilos del Mercado y de la Zona Tester (se cargan solo en esas páginas)
 * Usan los colores de BarGames Pro a través de estas variables.
 */
.bgp {
    --bgl-gold: var(--bgp-accent); --bgl-accent: var(--bgp-accent); --bgl-accent2: var(--bgp-accent2);
    --bgl-text: var(--bgp-text); --bgl-muted: var(--bgp-mute); --bgl-dim: var(--bgp-dim);
    --bgl-line: var(--bgp-line); --bgl-line2: var(--bgp-line2);
    --bgl-display: var(--bgp-display); --bgl-head: var(--bgp-display);
}
/* El título ya sale arriba de la página */
.bgp .bglm-head h1, .bgp .bglm-head .bgl-kicker { display: none; }
.bgp .bglm-head { padding: 18px 24px; display: flex; align-items: center; min-height: 0; }
.bgp .bglm-head p { max-width: 820px; line-height: 1.6; }
/* Botones de los módulos con el estilo de BarGames Pro */
.bgp .bgl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--bgp-line2); border-radius: 10px; padding: 11px 18px; font: 600 14.5px/1.2 var(--bgp-body); cursor: pointer; background: transparent; color: var(--bgp-text) !important; text-transform: none; letter-spacing: 0; box-shadow: none; text-shadow: none; }
.bgp .bgl-btn--gold { background: var(--bgp-accent) !important; border-color: var(--bgp-accent); color: var(--bgp-on-accent, #15100a) !important; }
.bgp .bgl-btn--ghost:hover { border-color: var(--bgp-accent); }
.bgp .bgl-btn--lg { padding: 13px 22px; font-size: 15px; }
.bgp .bgl-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ======================================================================= MERCADO DE INTERCAMBIO */
.bglm { --m-card: linear-gradient(180deg, rgba(22, 30, 46, .92), rgba(12, 16, 25, .96)); }
.bglm-head { position: relative; padding: 26px 28px; margin-bottom: 18px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(232, 180, 90, .25);
    background: radial-gradient(600px 220px at 85% 0%, rgba(232, 180, 90, .16), transparent 70%), radial-gradient(500px 220px at 0% 100%, rgba(47, 123, 255, .12), transparent 70%), #0b0f17; }
.bglm-head h1 { margin: 8px 0 6px; font: 700 clamp(30px, 4vw, 44px)/1.05 var(--bgl-display); background: linear-gradient(180deg, #fff6df, var(--bgl-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bglm-head p { margin: 0; color: var(--bgl-muted); max-width: 640px; }
.bglm-msg { padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; font-weight: 500; }
.bglm-msg.is-ok { background: rgba(61, 220, 132, .1); border: 1px solid rgba(61, 220, 132, .45); color: #b7f5cf; }
.bglm-msg.is-error { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .5); color: #fecaca; }
.bglm-msg.is-info { background: rgba(47, 123, 255, .1); border: 1px solid rgba(47, 123, 255, .45); color: #c7dbff; }
/* Sin sesión */
.bglm-gate { text-align: center; padding: 48px 24px; border-radius: 18px; border: 1px solid rgba(232, 180, 90, .3); background: radial-gradient(420px 200px at 50% 0%, rgba(232, 180, 90, .14), transparent 70%), var(--m-card); }
.bglm-gate__ico { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; border: 1px solid rgba(232, 180, 90, .5); background: rgba(232, 180, 90, .1); box-shadow: 0 0 30px rgba(232, 180, 90, .25); }
.bglm-gate__ico svg { width: 30px; height: 30px; fill: none; stroke: var(--bgl-gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bglm-gate h2 { margin: 16px 0 8px; font: 700 26px/1.2 var(--bgl-display); color: #fff; }
.bglm-gate p { margin: 0 auto; max-width: 480px; color: var(--bgl-muted); }
.bglm-gate__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }

/* Panel de la cuenta */
.bglm-me { display: grid; grid-template-columns: minmax(220px, 1.1fr) 2fr auto; gap: 18px; align-items: center; padding: 16px 20px; margin-bottom: 16px; border-radius: 16px;
    border: 1px solid rgba(232, 180, 90, .28); background: linear-gradient(100deg, rgba(232, 180, 90, .1), transparent 45%), var(--m-card); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.bglm-me__char { display: flex; align-items: center; gap: 14px; min-width: 0; }
.bglm-me__char small { display: block; color: var(--bgl-dim); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.bglm-me__avatar { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; font: 700 24px/1 var(--bgl-display); color: #1a1206;
    background: linear-gradient(160deg, #ffe4a3, var(--bgl-gold) 55%, #9a6820); box-shadow: 0 0 0 2px rgba(0, 0, 0, .4), 0 0 22px rgba(232, 180, 90, .35); }
.bglm-me__avatar[data-class="0"], .bglm-me__avatar[data-class="5"], .bglm-me__avatar[data-class="8"] { background: linear-gradient(160deg, #c4b5fd, #7c3aed 60%, #3b1a7a); color: #fff; }
.bglm-me__avatar[data-class="2"] { background: linear-gradient(160deg, #bbf7d0, #22c55e 60%, #14532d); }
.bglm-me__avatar[data-class="3"], .bglm-me__avatar[data-class="6"] { background: linear-gradient(160deg, #bfdbfe, #3b82f6 60%, #1e3a8a); color: #fff; }
.bglm-me__name { display: block; font: 700 20px/1.2 var(--bgl-head); color: #fff; }
.bglm .bglm-me__pick select { width: auto; max-width: 100%; padding: 4px 30px 4px 10px; font: 700 18px/1.2 var(--bgl-head); color: #fff; background-color: rgba(0, 0, 0, .35); border-color: rgba(232, 180, 90, .4); cursor: pointer; }
.bglm-me__sub { display: block; margin-top: 3px; color: var(--bgl-muted); font-size: 13px; }
.bglm-me__coins { display: flex; flex-wrap: wrap; gap: 10px; }
.bglm-coin { flex: 1 1 110px; padding: 9px 12px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .06); }
.bglm-coin small { display: block; color: var(--bgl-dim); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.bglm-coin b { font: 700 20px/1.2 var(--bgl-head); color: var(--bgl-gold); }
.bglm-me__state { display: grid; gap: 8px; justify-items: end; text-align: right; }
.bglm-dot { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 99px; white-space: nowrap; }
.bglm-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.bglm-dot.is-off { color: #4ade80; background: rgba(74, 222, 128, .1); } .bglm-dot.is-on { color: #f87171; background: rgba(248, 113, 113, .12); }
.bglm-me__slots { color: var(--bgl-dim); font-size: 13px; } .bglm-me__slots b { color: #fff; font-size: 15px; }

/* Pestañas: botones grandes */
.bglm-tabs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.bglm-tab { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 12px; border: 1px solid var(--bgl-line2);
    color: var(--bgl-text) !important; text-decoration: none !important; font: 700 15px/1 var(--bgl-head); letter-spacing: .1em; text-transform: uppercase;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); transition: transform .15s, border-color .15s, box-shadow .15s; }
.bglm-tab svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.bglm-tab:hover { transform: translateY(-2px); border-color: rgba(232, 180, 90, .6); box-shadow: 0 10px 24px rgba(0, 0, 0, .35), 0 0 0 1px rgba(232, 180, 90, .15); }
.bglm-tab.is-on { color: #1a1206 !important; border-color: #f7d695; background: linear-gradient(180deg, #ffe9b3, var(--bgl-gold) 55%, #b47a26);
    box-shadow: 0 10px 28px rgba(232, 180, 90, .35), inset 0 1px 0 rgba(255, 255, 255, .6); }
.bglm-tab i { font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 99px; font-size: 12px; letter-spacing: 0; background: #ef4444; color: #fff; }
.bglm-tabs__info { margin-left: auto; color: var(--bgl-dim); font-size: 13px; } .bglm-tabs__info b { color: var(--bgl-gold); font-size: 16px; }
.bglm-as { padding: 10px 14px; border-radius: 10px; background: rgba(232, 180, 90, .07); border: 1px solid rgba(232, 180, 90, .25); color: var(--bgl-muted); font-size: 14px; }
.bglm-as b { color: #fff; } .bglm-as small { color: var(--bgl-dim); }
.bglm-filters { display: grid; grid-template-columns: 2fr 1.3fr 1.2fr 1.1fr auto; gap: 10px; margin-bottom: 18px; }
.bglm input, .bglm select { box-sizing: border-box; width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--bgl-line2); background: #0a0e16; color: var(--bgl-text); font: inherit; }
.bglm input:focus, .bglm select:focus { outline: none; border-color: rgba(232, 180, 90, .6); }
.bglm-empty { padding: 34px; text-align: center; color: var(--bgl-muted); border: 1px dashed var(--bgl-line2); border-radius: 14px; }
.bglm-empty .bgl-btn { margin-top: 14px; }

/* Tarjetas de ítems */
.bglm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.bglm-card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid var(--bgl-line2); background: var(--m-card); transition: transform .2s, border-color .2s, box-shadow .2s; }
.bglm-card:hover { transform: translateY(-3px); border-color: rgba(232, 180, 90, .4); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.bglm-card.is-exc { border-color: rgba(61, 220, 132, .28); }
.bglm-card.is-anc { border-color: rgba(47, 123, 255, .35); }
.bglm-card__img { position: relative; height: 150px; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, rgba(232, 180, 90, .14), transparent 65%), #070a10; border-bottom: 1px solid var(--bgl-line2); }
.bglm-card.is-exc .bglm-card__img { background: radial-gradient(circle at 50% 45%, rgba(61, 220, 132, .16), transparent 65%), #070a10; }
.bglm-card__img img { max-width: 70%; max-height: 120px; min-height: 64px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .6)); }
.bglm-card__img em { position: absolute; top: 10px; left: 10px; font: 700 14px/1 var(--bgl-head); font-style: normal; color: #fde68a; background: rgba(0, 0, 0, .55); padding: 4px 8px; border-radius: 6px; }
.bglm-card__body { padding: 12px 14px 4px; flex: 1; }
.bglm-card__body h3 { margin: 0 0 6px; font: 600 16px/1.25 var(--bgl-head); color: #fff; }
.bglm-card.is-exc h3 { color: #86efac; } .bglm-card.is-anc h3 { color: #93c5fd; }
.bglm-badges { display: flex; flex-wrap: wrap; gap: 5px; min-height: 22px; }
.bglm-badges i { font-style: normal; font-size: 11.5px; padding: 2px 7px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: var(--bgl-muted); }
.bglm-badges i.is-exc { background: rgba(61, 220, 132, .14); color: #86efac; } .bglm-badges i.is-anc { background: rgba(47, 123, 255, .16); color: #93c5fd; }
.bglm-card__meta { display: flex; justify-content: space-between; color: var(--bgl-dim); font-size: 12.5px; margin-top: 8px; }
.bglm-card__meta b { color: var(--bgl-text); font-weight: 500; }
.bglm-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px 14px; }
.bglm-card__foot .bgl-btn { padding: 9px 16px; font-size: 13px; }
.bglm-price { display: inline-flex; align-items: baseline; gap: 5px; font-size: 13px; color: var(--bgl-muted); }
.bglm-price b { font: 700 20px/1 var(--bgl-head); color: var(--bgl-gold); }
.bglm-price.is-jewel b { color: #c4b5fd; }
.bglm-mine { font-size: 12px; color: var(--bgl-dim); }

/* Vender: baúl visual */
.bglm-sell { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 22px; align-items: start; }
.bglm-wh-head h3, .bglm-sellform h3, .bglm-wallet h3, .bglm-history h3 { margin: 0 0 4px; font: 700 18px/1.2 var(--bgl-head); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.bglm-wh-head small { display: block; color: var(--bgl-dim); margin-bottom: 10px; }
.bglm-wh { position: relative; width: 100%; aspect-ratio: 8 / 15; margin-bottom: 12px; border-radius: 10px; border: 2px solid #4b3a1c; background-color: #0b0f17;
    background-image: linear-gradient(rgba(148, 163, 184, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .12) 1px, transparent 1px);
    background-size: calc(100% / 8) calc(100% / 15); box-shadow: inset 0 0 30px rgba(0, 0, 0, .6); }
.bglm-wh__it { position: absolute; display: grid; place-items: center; padding: 2px !important; border-radius: 4px; cursor: pointer; border: 1px solid rgba(96, 165, 250, .5);
    background: radial-gradient(circle, rgba(59, 130, 246, .22), rgba(59, 130, 246, .05)); transition: .15s; }
.bglm-wh__it img { max-width: 100%; max-height: 100%; }
.bglm-wh__it em { position: absolute; top: 1px; left: 3px; font-size: 10px; font-style: normal; color: #fde68a; text-shadow: 0 1px 2px #000; }
.bglm-wh__it:hover { border-color: var(--bgl-gold); background: rgba(232, 180, 90, .2); z-index: 2; }
.bglm-wh__it.is-on { border: 2px solid var(--bgl-gold); background: rgba(232, 180, 90, .3); box-shadow: 0 0 18px rgba(232, 180, 90, .5); z-index: 3; }
.bglm-wh__it.is-blocked { opacity: .35; filter: grayscale(.8); cursor: not-allowed; }
.bglm-sellform { padding: 22px; border-radius: 16px; border: 1px solid var(--bgl-line2); background: var(--m-card); display: grid; gap: 12px; position: sticky; top: 110px; }
.bglm-sellform label { display: grid; gap: 6px; color: var(--bgl-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.bglm-pick { margin: 0; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px dashed var(--bgl-line2); color: var(--bgl-muted); }
.bglm-pick.is-ok { border-style: solid; border-color: rgba(232, 180, 90, .5); color: #fff; font-weight: 600; }
.bglm-pick.is-bad { border-color: rgba(239, 68, 68, .5); color: #fecaca; }
.bglm-note { margin: 0; color: var(--bgl-dim); font-size: 13px; }
.bglm-sellform .bgl-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* Mis ventas */
.bglm-mis { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
.bglm-wallet { padding: 20px; border-radius: 16px; border: 1px solid var(--bgl-line2); background: var(--m-card); }
.bglm-wallet ul { list-style: none; margin: 8px 0 18px; padding: 0; }
.bglm-wallet li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .05); color: var(--bgl-muted); }
.bglm-wallet li b { color: var(--bgl-gold); font: 700 17px/1 var(--bgl-head); }
.bglm-wallet form { display: flex; gap: 6px; width: 100%; }
.bglm-wallet form input { width: 80px; padding: 6px 8px; }
.bglm-wallet form .bgl-btn { padding: 7px 12px; font-size: 12px; }
.bglm-rows { display: grid; gap: 8px; }
.bglm-row { display: grid; grid-template-columns: 52px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--bgl-line2); background: rgba(255, 255, 255, .02); }
.bglm-row img { width: 46px; height: 46px; object-fit: contain; }
.bglm-row b { display: block; color: #fff; font: 600 15px/1.2 var(--bgl-head); }
.bglm-row small { color: var(--bgl-dim); }
.bglm-row.is-active { border-left: 3px solid var(--bgl-gold); } .bglm-row.is-sold { border-left: 3px solid #3ddc84; }
.bglm-row.is-expired { border-left: 3px solid #f59e0b; } .bglm-row.is-cancel { opacity: .6; }
.bglm-row .bgl-btn { padding: 8px 14px; font-size: 12px; }

/* ======================================================================= ZONA TESTER (reutiliza el diseño del mercado) */
.bglt .bglm-me { grid-template-columns: minmax(220px, 1.1fr) 1.4fr auto; }
.bglt-note { padding: 10px 14px; border-radius: 12px; background: rgba(245, 165, 36, .08); border: 1px dashed rgba(245, 165, 36, .4); color: #fcd9a0; font-size: 13.5px; }
.bglt-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: start; }
.bglt-card { padding: 22px; border-radius: 16px; border: 1px solid var(--bgl-line2); background: var(--m-card); display: grid; gap: 12px; }
.bglt-card h3 { margin: 0; font: 700 20px/1.2 var(--bgl-head); letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.bglt-card h3 small { font-size: 13px; color: var(--bgl-gold); letter-spacing: .1em; margin-left: 6px; }
.bglt-card h4 { margin: 6px 0 0; font: 700 14px/1 var(--bgl-head); letter-spacing: .12em; text-transform: uppercase; color: var(--bgl-dim); }
.bglt-card--new { border-color: rgba(232, 180, 90, .35); background: radial-gradient(300px 140px at 100% 0%, rgba(232, 180, 90, .1), transparent 70%), var(--m-card); }
.bglt-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.bglt label { display: grid; gap: 5px; color: var(--bgl-muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.bglt label small { color: var(--bgl-dim); font-size: 11px; text-transform: none; letter-spacing: 0; }
.bglt input[type=number] { font: 700 17px/1.2 var(--bgl-head); color: var(--bgl-gold); }
.bglt-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.bglt-classes { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.bglt .bglt-class { position: relative; display: block; cursor: pointer; text-transform: none; letter-spacing: 0; }
.bglt-class input { position: absolute; opacity: 0; }
.bglt-class span { display: block; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--bgl-line2); background: rgba(255, 255, 255, .03); color: var(--bgl-text); font: 600 14px/1.2 var(--bgl-head); text-align: center; transition: .15s; }
.bglt-class:hover span { border-color: rgba(232, 180, 90, .5); }
.bglt-class input:checked + span { background: linear-gradient(180deg, #ffe9b3, var(--bgl-gold) 55%, #b47a26); color: #1a1206; border-color: #f7d695; box-shadow: 0 6px 18px rgba(232, 180, 90, .3); }
.bglt-class input:focus-visible + span { outline: 2px solid var(--bgl-gold); outline-offset: 2px; }
.bglt-kit__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 6px 0 8px; }
.bglt-kit__it { display: grid; justify-items: center; gap: 8px; padding: 14px 10px; border-radius: 12px; text-align: center; background: radial-gradient(circle at 50% 35%, rgba(61, 220, 132, .14), transparent 65%), #070a10; border: 1px solid rgba(61, 220, 132, .25); }
.bglt-kit__it img { height: 70px; max-width: 90%; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .6)); }
.bglt-kit__it span { color: #86efac; font: 600 13.5px/1.2 var(--bgl-head); }
.bglt-pick { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.bglt-filters { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; align-items: center; }
.bglt .bglt-chk { display: inline-flex; align-items: center; gap: 7px; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--bgl-text); cursor: pointer; }
.bglt .bglt-chk input { width: auto; }
.bglt .bglt-list { height: 260px; padding: 4px; }
.bglt-list option { padding: 5px 8px; border-radius: 6px; }
.bglt-list option:checked { background: rgba(232, 180, 90, .25); color: #fff; }
.bglt-opts h4 { color: #fff; font-size: 16px; letter-spacing: .04em; text-transform: none; margin: 0 0 8px; }
.bglt-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.bglt-row label { min-width: 110px; }
.bglt-exc { display: grid; gap: 4px; margin: 6px 0 10px; padding: 10px 12px; border-radius: 10px; background: rgba(61, 220, 132, .06); border: 1px solid rgba(61, 220, 132, .2); }
.bglt-cart { position: sticky; top: 110px; }
.bglt-cart h3 small { color: var(--bgl-dim); }
.bglt-cart__list { display: grid; gap: 6px; }
.bglt-cart__it { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--bgl-line2); }
.bglt-cart__it img { width: 36px; height: 36px; object-fit: contain; }
.bglt-cart__it b { display: block; color: #fff; font: 600 14px/1.2 var(--bgl-head); }
.bglt-cart__it small { color: var(--bgl-dim); font-size: 12px; }
.bglt-cart__it button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--bgl-line2); background: transparent; color: var(--bgl-muted); font-size: 18px; cursor: pointer; }
.bglt-cart__it button:hover { color: #fecaca; border-color: rgba(239, 68, 68, .5); }
.bglt-cart .bgl-btn[disabled] { opacity: .45; cursor: not-allowed; }

@media (max-width: 900px) {
    .bglt-grid, .bglt-pick { grid-template-columns: 1fr; } .bglt-cart { position: static; }
    .bglt .bglm-me { grid-template-columns: 1fr; } .bglt-filters { grid-template-columns: 1fr 1fr; } .bglt-filters input { grid-column: span 2; }
}
@media (max-width: 900px) {
    .bglm-filters { grid-template-columns: 1fr 1fr; } .bglm-filters input[type=search] { grid-column: span 2; }
    .bglm-sell, .bglm-mis { grid-template-columns: 1fr; } .bglm-sellform { position: static; }
    .bglm-tabs__info { width: 100%; margin-left: 0; }
    .bglm-me { grid-template-columns: 1fr; } .bglm-me__state { justify-items: start; text-align: left; grid-auto-flow: column; justify-content: space-between; align-items: center; }
    .bglm-tab { flex: 1 1 0; justify-content: center; padding: 13px 12px; }
}
@media (max-width: 520px) { .bglm-tab { font-size: 13px; gap: 6px; letter-spacing: .05em; } .bglm-tab svg { display: none; } }
@media (max-width: 520px) { .bglm-row { grid-template-columns: 46px 1fr; } .bglm-row .bglm-price, .bglm-row form { grid-column: 2; } }
