:root {
    --bg: #070a12;
    --surface: #111827;
    --surface2: #1a2234;
    --surface-elevated: #212b42;
    --text: #f8fafc;
    --muted: #94a3b8;
    --primary: #7c3aed;
    --primary-soft: rgba(124, 58, 237, .16);
    --accent: #06b6d4;
    --ok: #22c55e;
    --warn: #f59e0b;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 24px 48px rgba(0, 0, 0, .35);
    --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.gs-store-page {
    position: relative;
    overflow-x: hidden;
}

.gs-store-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.gs-store-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .45;
}

.gs-store-bg-glow--1 {
    width: 520px;
    height: 520px;
    top: -180px;
    left: -120px;
    background: radial-gradient(circle, rgba(124, 58, 237, .35), transparent 70%);
}

.gs-store-bg-glow--2 {
    width: 420px;
    height: 420px;
    right: -100px;
    bottom: 10%;
    background: radial-gradient(circle, rgba(6, 182, 212, .22), transparent 70%);
}

.gs-brand-watermark {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: clamp(88px, 14vw, 128px);
    height: auto;
    opacity: .08;
    filter: saturate(1.05);
    z-index: 0;
    pointer-events: none;
}

.gs-container {
    width: min(1560px, calc(100% - 2rem));
    margin: 0 auto;
}

.gs-header,
.gs-hero,
.gs-main,
.gs-footer {
    position: relative;
    z-index: 1;
}

.gs-header {
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 10, 18, .78);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
}

.gs-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.gs-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.gs-logo-img {
    display: block;
    width: auto;
    height: 56px;
    max-width: min(220px, 46vw);
    object-fit: contain;
}

.gs-hero {
    padding: 2.25rem 0 1.75rem;
}

.gs-hero-wrap {
    display: grid;
    grid-template-columns: 1fr min(320px, 32%);
    gap: 1.25rem;
    align-items: stretch;
}

.gs-hero-main {
    text-align: left;
}

.gs-hero-aside {
    display: flex;
}

.gs-hero-aside-card {
    flex: 1;
    padding: 1.1rem 1.15rem;
    border-radius: var(--radius);
    border: 1px solid rgba(124, 58, 237, .22);
    background: linear-gradient(155deg, rgba(124, 58, 237, .12), rgba(17, 24, 39, .85));
}

.gs-hero-aside-title {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #c4b5fd;
    margin-bottom: .75rem;
}

.gs-hero-steps {
    list-style: none;
    display: grid;
    gap: .55rem;
}

.gs-hero-steps li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .86rem;
    color: #e2e8f0;
    line-height: 1.35;
}

.gs-hero-steps li span {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .72rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.gs-hero-inner {
    max-width: none;
}

.gs-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .95rem;
    border-radius: 999px;
    background: rgba(124, 58, 237, .14);
    border: 1px solid rgba(167, 139, 250, .22);
    color: #ddd6fe;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .01em;
    margin-bottom: 1.1rem;
}

.gs-hero h1 {
    font-size: clamp(2rem, 4.8vw, 3.15rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.03em;
    background: linear-gradient(180deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gs-hero-sub {
    color: var(--muted);
    margin-top: .85rem;
    max-width: 640px;
    font-size: 1rem;
    line-height: 1.6;
}

.gs-hero-stats {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem 1rem;
    margin-top: 1.1rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    color: #cbd5e1;
    font-size: .86rem;
}

.gs-hero-stats strong {
    color: #fff;
    font-weight: 700;
}

.gs-hero-stats-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
}

.gs-main { padding-bottom: 3.5rem; }

.gs-store-layout {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
}

.gs-store-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.gs-sidebar-block {
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .07);
    background: rgba(17, 24, 39, .72);
}

.gs-sidebar-block--cta {
    border-color: rgba(124, 58, 237, .28);
    background: linear-gradient(160deg, rgba(124, 58, 237, .14), rgba(17, 24, 39, .9));
}

.gs-sidebar-title {
    font-size: .92rem;
    font-weight: 700;
    margin-bottom: .65rem;
}

.gs-sidebar-list {
    list-style: none;
    display: grid;
    gap: .45rem;
    font-size: .82rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.gs-sidebar-list li {
    padding-left: .95rem;
    position: relative;
}

.gs-sidebar-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .45rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

.gs-sidebar-cta-title {
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: .35rem;
}

.gs-sidebar-cta-text {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.45;
    margin-bottom: .75rem;
}

/* —— Layout cuenta logueada —— */
.gs-account-layout {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
    padding-bottom: 3rem;
}

.gs-account-main {
    min-width: 0;
}

.gs-account-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(124, 58, 237, .22);
    background: linear-gradient(165deg, rgba(124, 58, 237, .1), rgba(17, 24, 39, .92));
}

.gs-store-sidebar .gs-account-sidebar {
    border: none;
    background: transparent;
    padding: 0;
}

.gs-account-sidebar-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.gs-account-sidebar-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    flex-shrink: 0;
}

.gs-account-sidebar-meta {
    min-width: 0;
}

.gs-account-sidebar-name {
    display: block;
    font-size: .95rem;
    line-height: 1.25;
}

.gs-account-sidebar-balance {
    display: block;
    font-size: .78rem;
    color: var(--ok);
    margin-top: .15rem;
    font-weight: 600;
}

.gs-account-nav {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.gs-account-nav-link {
    display: flex;
    align-items: center;
    padding: .62rem .75rem;
    border-radius: 10px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.gs-account-nav-link:hover {
    background: rgba(255, 255, 255, .05);
    color: #fff;
}

.gs-account-nav-link.is-active {
    background: rgba(124, 58, 237, .2);
    border-color: rgba(124, 58, 237, .35);
    color: #fff;
    font-weight: 600;
}

.gs-account-nav-link--logout {
    color: #fca5a5;
}

.gs-account-nav-link--logout:hover {
    background: rgba(239, 68, 68, .12);
    border-color: rgba(239, 68, 68, .25);
    color: #fecaca;
}

.gs-account-sidebar-foot {
    padding-top: .65rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.gs-balance-pill--compact {
    font-size: .8rem;
    padding: .38rem .7rem;
}

.gs-store-catalog {
    min-width: 0;
}

.gs-store-section-head {
    margin-bottom: 1.35rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .35rem .75rem;
}

.gs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem;
}

@media (min-width: 640px) {
    .gs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.45rem;
    }
}

@media (min-width: 1100px) {
    .gs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.65rem;
    }
}

.gs-store-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.gs-store-section-sub {
    color: var(--muted);
    font-size: .92rem;
    margin-top: .25rem;
}

/* ── Tarjetas de producto ── */
.gs-card {
    background: linear-gradient(168deg, rgba(28, 36, 56, .96) 0%, rgba(14, 18, 30, .98) 100%);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
    isolation: isolate;
}

.gs-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, .55), rgba(6, 182, 212, .45), transparent);
    opacity: .65;
}

.gs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .28);
    border-color: rgba(124, 58, 237, .28);
}

.gs-card-featured {
    border-color: rgba(124, 58, 237, .42);
    box-shadow: 0 16px 40px rgba(124, 58, 237, .14);
}

.gs-card-featured::before {
    opacity: 1;
    background: linear-gradient(90deg, #7c3aed, #06b6d4);
}

.gs-card--soldout {
    opacity: .92;
}

.gs-card-top {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .85rem;
    padding: 1.35rem 1.15rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background:
        radial-gradient(circle at 50% 20%, rgba(124, 58, 237, .14), transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, .04), transparent);
}

.gs-card-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .85rem;
    width: 100%;
    min-width: 0;
}

.gs-card-brand-text {
    min-width: 0;
    text-align: center;
    width: 100%;
}

.gs-card-tag {
    position: absolute;
    top: .85rem;
    right: .85rem;
    flex-shrink: 0;
    font-size: .65rem;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    padding: .3rem .65rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(124, 58, 237, .35);
}

.gs-card-logo {
    width: 92px;
    height: 92px;
    flex-shrink: 0;
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .14);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: .7rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .1),
        0 14px 28px rgba(0, 0, 0, .28),
        0 0 0 1px rgba(124, 58, 237, .12);
}

.gs-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35));
}

.gs-card-content {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: 1rem 1.15rem 1.15rem;
    flex: 1;
    text-align: left;
}

.gs-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
}

.gs-card-tagline {
    color: var(--accent);
    font-size: .8rem;
    font-weight: 600;
    margin-top: .2rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gs-card-desc {
    color: #b8c5d9;
    font-size: .84rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gs-card-chips {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.gs-card-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .76rem;
    font-weight: 500;
    color: #d1d9e6;
    padding: .42rem .65rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .06);
    width: 100%;
}

.gs-card-chip .gs-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.gs-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.gs-icon--bolt {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h7l-1 8 10-12h-7l1-8Z'/%3E%3C/svg%3E");
}

.gs-icon--calendar {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}

.gs-icon--chat {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4Z'/%3E%3C/svg%3E");
}

.gs-icon--wa {
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2322c55e'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413Z'/%3E%3C/svg%3E");
}

.gs-card-flow {
    padding: .75rem;
    border-radius: var(--radius-sm);
    background: rgba(124, 58, 237, .08);
    border: 1px solid rgba(124, 58, 237, .18);
}

.gs-card-flow-title {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #c4b5fd;
    margin-bottom: .55rem;
}

.gs-card-flow-steps {
    list-style: none;
    display: grid;
    gap: .45rem;
}

.gs-card-flow-step {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .78rem;
    color: #e2e8f0;
    line-height: 1.35;
}

.gs-card-flow-num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .7rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    box-shadow: 0 4px 10px rgba(124, 58, 237, .35);
}

.gs-card-flow-label {
    flex: 1;
}

.gs-card-footer {
    margin-top: auto;
    padding: 1rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: rgba(0, 0, 0, .14);
}

.gs-card-pricing {
    padding: .75rem .85rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
}

.gs-card-price-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
}

.gs-card-price-main {
    text-align: left;
}

.gs-card-price-label {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    margin-bottom: .15rem;
}

.gs-card-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .3rem;
}

.gs-price {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: #fff;
}

.gs-duration {
    color: var(--muted);
    font-size: .84rem;
}

.gs-stock-badge {
    flex-shrink: 0;
    font-size: .72rem;
    font-weight: 700;
    padding: .35rem .7rem;
    border-radius: 999px;
    letter-spacing: .02em;
    line-height: 1.25;
}

.gs-stock-badge--in {
    color: #86efac;
    background: rgba(34, 197, 94, .14);
    border: 1px solid rgba(34, 197, 94, .28);
}

.gs-stock-badge--out {
    color: #fcd34d;
    background: rgba(245, 158, 11, .12);
    border: 1px solid rgba(245, 158, 11, .28);
}

.gs-card-stock-detail {
    margin-top: .45rem;
    font-size: .78rem;
    color: var(--muted);
}

.gs-card-stock-detail--warn {
    color: #fbbf24;
}

.gs-card-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.gs-card-actions .gs-buy-form {
    width: 100%;
}

.gs-card-actions .gs-btn-block {
    width: 100%;
    padding: .68rem .85rem;
    font-size: .88rem;
}

.gs-btn-wa {
    gap: .45rem;
}

.gs-card-body .gs-btn-block,
.gs-card-actions .gs-btn-block { width: 100%; }

.gs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .72rem 1.15rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: .94rem;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.gs-btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: #fff;
    box-shadow: 0 10px 24px rgba(124, 58, 237, .28);
}

.gs-btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(124, 58, 237, .34);
}

.gs-btn-ghost {
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .12);
    color: var(--text);
}

.gs-btn-ghost:hover {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .18);
}

.gs-card-body .gs-btn-block,
.gs-card-actions .gs-btn-block { width: 100%; }

.gs-btn-block { width: 100%; }
.gs-btn:disabled,
.gs-btn-disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }

.gs-footer {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 2.25rem 0 2rem;
    background: rgba(0, 0, 0, .22);
}

.gs-footer-inner {
    display: grid;
    gap: 1.25rem;
}

.gs-footer-brand p {
    color: var(--muted);
    font-size: .9rem;
    margin-top: .75rem;
    max-width: 360px;
    line-height: 1.55;
}

.gs-footer-logo {
    display: block;
    width: auto;
    height: 38px;
    opacity: .98;
    object-fit: contain;
}

.gs-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem 1.25rem;
}

.gs-footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
}

.gs-footer-links a:hover { color: #fff; }

.gs-footer-copy {
    color: #64748b;
    font-size: .82rem;
    padding-top: .5rem;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.gs-empty {
    text-align: center;
    padding: 3rem;
    background: var(--surface);
    border-radius: var(--radius);
    color: var(--muted);
    border: 1px dashed rgba(255, 255, 255, .08);
}

.gs-header-nav {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.gs-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
    flex-shrink: 0;
}

.gs-nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 2px;
    background: #e2e8f0;
    transition: transform .2s ease, opacity .2s ease;
}

.gs-header.gs-nav-open .gs-nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.gs-header.gs-nav-open .gs-nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.gs-header.gs-nav-open .gs-nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.gs-balance-pill {
    background: rgba(34, 197, 94, .12);
    color: var(--ok);
    padding: .42rem .8rem;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 700;
    border: 1px solid rgba(34, 197, 94, .18);
}

.gs-btn-sm-admin {
    font-size: .78rem;
    opacity: .75;
}

.gs-buy-form { width: 100%; }

.gs-alert {
    padding: .9rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: .9rem;
}

.gs-alert-ok {
    background: rgba(34, 197, 94, .12);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, .28);
}

.gs-alert-err {
    background: rgba(239, 68, 68, .12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, .28);
}

@media (max-width: 1100px) {
    .gs-hero-wrap {
        grid-template-columns: 1fr;
    }

    .gs-store-layout,
    .gs-account-layout {
        grid-template-columns: 1fr;
    }

    .gs-store-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .85rem;
    }

    .gs-store-sidebar .gs-account-sidebar {
        grid-column: 1 / -1;
    }
}

@media (min-width: 721px) and (max-width: 1099px) {
    .gs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 960px) {
    :root {
        --header-h: 64px;
    }

    .gs-container {
        width: min(1560px, calc(100% - 1.25rem));
    }

    .gs-header-inner {
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: .65rem;
        min-height: auto;
        padding: .65rem 0;
    }

    .gs-nav-toggle {
        display: flex;
    }

    .gs-header-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: .45rem;
        padding: .65rem 0 .15rem;
        border-top: 1px solid rgba(255, 255, 255, .08);
    }

    .gs-header.gs-nav-open .gs-header-nav {
        display: flex;
    }

    .gs-header-nav .gs-btn,
    .gs-header-nav .gs-balance-pill {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .gs-header-nav .gs-notif-bell-wrap {
        display: flex;
        justify-content: center;
    }

    .gs-logo-img {
        height: 48px;
        max-width: min(190px, 58vw);
    }

    .gs-hero {
        padding: 1.5rem 0 1.25rem;
    }

    .gs-hero-main {
        text-align: center;
    }

    .gs-hero-sub {
        margin-inline: auto;
    }

    .gs-hero-stats {
        justify-content: center;
        width: 100%;
        border-radius: 14px;
    }

    .gs-store-sidebar {
        grid-template-columns: 1fr;
    }

    .gs-account-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .35rem;
    }

    .gs-account-sidebar-foot,
    .gs-account-nav-link--logout {
        grid-column: 1 / -1;
    }

    .gs-store-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .gs-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .gs-footer-inner {
        text-align: center;
    }

    .gs-footer-brand p {
        margin-inline: auto;
    }

    .gs-footer-links {
        justify-content: center;
    }

    .gs-brand-watermark {
        width: 72px;
        opacity: .05;
    }

    .gs-btn,
    .gs-card-actions .gs-btn-block {
        min-height: 44px;
    }

    .gs-auth-page {
        padding: 1.25rem 0 3rem;
    }

    .gs-auth-box {
        padding: 1.25rem;
    }
}

@media (min-width: 640px) and (max-width: 960px) {
    .gs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.35rem;
    }

    .gs-store-sidebar {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 639px) {
    .gs-card-logo {
        width: 84px;
        height: 84px;
    }

    .gs-hero h1 {
        font-size: clamp(1.65rem, 7vw, 2.1rem);
    }

    .gs-hero-stats-dot {
        display: none;
    }

    .gs-hero-stats {
        flex-direction: column;
        align-items: stretch;
        gap: .45rem;
        text-align: center;
    }
}

@media (min-width: 961px) and (max-width: 1100px) {
    .gs-header-nav {
        gap: .35rem;
    }

    .gs-header-nav .gs-btn {
        padding: .55rem .75rem;
        font-size: .86rem;
    }
}

@media (min-width: 768px) {
    .gs-footer-inner {
        grid-template-columns: 1.4fr 1fr;
        align-items: start;
    }

    .gs-footer-copy {
        grid-column: 1 / -1;
    }
}

.gs-auth-page { padding: 2rem 0 4rem; display: flex; justify-content: center; }
.gs-auth-box {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 1.75rem;
}
.gs-auth-box h1 { margin-bottom: .5rem; }
.gs-auth-foot { margin-top: 1.25rem; text-align: center; color: var(--muted); font-size: .9rem; }
.gs-auth-foot a { color: var(--accent); }
.gs-auth-forgot { margin: -.35rem 0 1rem; text-align: right; font-size: .85rem; }
.gs-auth-forgot a { color: var(--accent); text-decoration: none; }
.gs-auth-forgot a:hover { text-decoration: underline; }
.gs-auth-role-hint {
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 1.25rem;
    padding: .5rem .75rem;
    background: rgba(6,182,212,.1);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}
.gs-badge-client {
    display: inline-block;
    padding: .2rem .5rem;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 600;
    background: rgba(6,182,212,.2);
    color: #67e8f9;
}

/* Campana de notificaciones */
.gs-notif-bell-wrap { position: relative; }
.gs-notif-bell-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    background: rgba(255,255,255,.05);
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, border-color .15s;
}
.gs-notif-bell-btn:hover {
    background: rgba(124,58,237,.2);
    border-color: rgba(124,58,237,.4);
}
.gs-notif-bell-icon { font-size: 1.2rem; line-height: 1; }
.gs-notif-bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    line-height: 1;
}

.gs-notif-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(360px, calc(100vw - 2rem));
    max-height: 420px;
    background: #1a2234;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 200;
}
.gs-notif-dropdown[hidden] { display: none !important; }

.gs-notif-dropdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
}
.gs-notif-dropdown-head strong { font-size: .95rem; }
.gs-notif-mark-all {
    border: none;
    background: transparent;
    color: #a78bfa;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    padding: .25rem .5rem;
}
.gs-notif-mark-all:hover { text-decoration: underline; }

.gs-notif-dropdown-body {
    overflow-y: auto;
    flex: 1;
}
.gs-notif-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--muted);
    font-size: .88rem;
    margin: 0;
}

.gs-notif-list { list-style: none; margin: 0; padding: 0; }
.gs-notif-item {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    padding: .85rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.gs-notif-item.is-unread {
    background: rgba(124,58,237,.08);
}
.gs-notif-item-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: .1rem; }
.gs-notif-item-body { flex: 1; min-width: 0; }
.gs-notif-item-body strong {
    display: block;
    font-size: .85rem;
    margin-bottom: .25rem;
    line-height: 1.3;
}
.gs-notif-item-body p {
    margin: 0 0 .3rem;
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.45;
}
.gs-notif-item-body time { font-size: .72rem; color: #6b7280; }

.gs-notif-item-warn.is-unread { background: rgba(245,158,11,.1); }
.gs-notif-item-ok.is-unread { background: rgba(34,197,94,.08); }

.gs-notif-item-mark { flex-shrink: 0; }
.gs-notif-item-mark button {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    background: rgba(255,255,255,.06);
    color: var(--ok);
    cursor: pointer;
    font-size: .85rem;
    line-height: 1;
}
.gs-notif-item-mark button:hover { background: rgba(34,197,94,.2); }

.gs-notif-dropdown-foot {
    padding: .65rem 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
    flex-shrink: 0;
}
.gs-notif-dropdown-foot a {
    color: #a78bfa;
    font-size: .85rem;
    text-decoration: none;
    font-weight: 500;
}
.gs-notif-dropdown-foot a:hover { text-decoration: underline; }

.gs-recharge-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin: 1.5rem 0 1rem;
    flex-wrap: wrap;
}
.gs-recharge-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.25rem;
}
@media (max-width: 800px) {
    .gs-recharge-grid { grid-template-columns: 1fr; }
}
.gs-recharge-card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 1.35rem;
}
.gs-recharge-card h2, .gs-recharge-card h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.gs-recharge-steps {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.6;
}
.gs-form-hint { color: var(--muted); font-size: .8rem; margin: -.5rem 0 1rem; }

/* —— Izipay checkout —— */
.gs-izipay-page .gs-izipay-main { max-width: 980px; padding-bottom: 3rem; }
.gs-izipay-breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 1.25rem 0 .5rem;
    font-size: .85rem;
    color: var(--muted);
}
.gs-izipay-breadcrumb a { color: var(--accent); text-decoration: none; }
.gs-izipay-breadcrumb a:hover { text-decoration: underline; }
.gs-izipay-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.gs-izipay-kicker {
    color: var(--accent);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}
.gs-izipay-header h1 { font-size: 1.75rem; margin-bottom: .35rem; }
.gs-izipay-test-banner {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    padding: .9rem 1.1rem;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(245,158,11,.35);
    background: linear-gradient(135deg, rgba(245,158,11,.12), rgba(245,158,11,.04));
}
.gs-izipay-test-banner strong { display: block; margin-bottom: .15rem; }
.gs-izipay-test-banner p { margin: 0; color: var(--muted); font-size: .85rem; }
.gs-izipay-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) 1fr;
    gap: 1.25rem;
    align-items: start;
}
@media (max-width: 860px) {
    .gs-izipay-layout { grid-template-columns: 1fr; }
}
.gs-izipay-summary-card,
.gs-izipay-payment-card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 1.35rem;
}
.gs-izipay-summary-card h2,
.gs-izipay-payment-head h2 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}
.gs-izipay-summary-list { margin: 0; }
.gs-izipay-summary-list > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: .65rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.gs-izipay-summary-list dt {
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
    font-weight: 400;
}
.gs-izipay-summary-list dd { margin: 0; font-weight: 600; }
.gs-izipay-amount { font-size: 1.35rem; color: #c4b5fd; }
.gs-izipay-summary-total {
    margin-top: .25rem;
    padding-top: .85rem !important;
    border-bottom: none !important;
}
.gs-izipay-summary-total dd { color: var(--ok); }
.gs-izipay-methods { margin-top: 1.25rem; }
.gs-izipay-methods p {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    margin-bottom: .65rem;
}
.gs-izipay-methods ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .45rem;
}
.gs-izipay-methods li {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .88rem;
    color: var(--text);
    padding: .45rem .65rem;
    background: rgba(255,255,255,.03);
    border-radius: 8px;
}
.gs-izipay-method-icon {
    width: 1.5rem;
    text-align: center;
    opacity: .85;
}
.gs-izipay-trust {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: .85rem 0 0;
    border-top: 1px solid rgba(255,255,255,.06);
    display: grid;
    gap: .4rem;
    font-size: .82rem;
    color: var(--muted);
}
.gs-izipay-ref {
    margin-top: 1rem;
    font-size: .75rem;
    color: var(--muted);
    opacity: .8;
}
.gs-izipay-payment-card {
    padding: 0;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,.25);
}
.gs-izipay-payment-head {
    padding: 1.35rem 1.35rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.gs-izipay-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .5rem;
}
.gs-izipay-brand-badge {
    display: inline-flex;
    align-items: center;
    padding: .2rem .55rem;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #e11d48, #be123c);
}
.gs-izipay-payment-head p {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.5;
}
.gs-izipay-form-panel {
    position: relative;
    min-height: 460px;
    background: #f1f5f9;
    padding: 1.75rem 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.gs-izipay-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .85rem;
    background: #f8fafc;
    transition: opacity .35s ease, visibility .35s ease;
}
.gs-izipay-loading--done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.gs-izipay-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(124,58,237,.15);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: gs-izipay-spin .8s linear infinite;
}
@keyframes gs-izipay-spin { to { transform: rotate(360deg); } }
.gs-izipay-loading p { color: #64748b; font-size: .9rem; margin: 0; }

.gs-izipay-payment-foot {
    padding: .9rem 1.35rem 1.15rem;
    border-top: 1px solid rgba(255,255,255,.06);
    background: rgba(0,0,0,.12);
}
.gs-izipay-payment-foot p {
    margin: 0;
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.5;
    text-align: center;
}

.gs-izipay-tabs {
    display: flex;
    gap: .5rem;
    padding: 0 1.25rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.gs-izipay-tab {
    flex: 1;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    color: var(--text);
    border-radius: 10px;
    padding: .7rem .85rem;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.gs-izipay-tab:hover { background: rgba(255,255,255,.06); }
.gs-izipay-tab--active {
    background: linear-gradient(135deg, rgba(124,58,237,.35), rgba(109,40,217,.2));
    border-color: rgba(124,58,237,.55);
}
.gs-izipay-tab-panel { width: 100%; }
.gs-izipay-qr-box {
    max-width: 380px;
    margin: 0 auto;
    text-align: center;
}
.gs-izipay-qr-img {
    width: min(280px, 100%);
    height: auto;
    border-radius: 12px;
    background: #fff;
    padding: .75rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.gs-izipay-qr-frame {
    width: min(320px, 100%);
    height: 360px;
    border: none;
    border-radius: 12px;
    background: #fff;
}
.gs-izipay-qr-steps {
    margin: 1.25rem 0 0;
    padding-left: 1.1rem;
    text-align: left;
    color: #475569;
    font-size: .88rem;
    line-height: 1.55;
}
.gs-izipay-qr-unavailable {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    color: #475569;
}
.gs-izipay-qr-unavailable p { margin-bottom: .75rem; }
.gs-izipay-card-hint {
    margin-top: 1rem;
    text-align: center;
    color: #64748b;
    font-size: .82rem;
}

.gs-form textarea {
    width: 100%;
    padding: .65rem .75rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.12);
    background: #111827;
    color: var(--text);
    font-family: inherit;
    resize: vertical;
}
.gs-form input[type="file"] { margin-bottom: .5rem; font-size: .85rem; }
.gs-badge-pending { background: rgba(245,158,11,.2); color: #fcd34d; display: inline-block; padding: .2rem .5rem; border-radius: 6px; font-size: .75rem; font-weight: 600; }
.gs-badge-ok { background: rgba(34,197,94,.2); color: var(--ok); display: inline-block; padding: .2rem .5rem; border-radius: 6px; font-size: .75rem; font-weight: 600; }
.gs-badge-off { background: rgba(248,113,113,.15); color: #fca5a5; display: inline-block; padding: .2rem .5rem; border-radius: 6px; font-size: .75rem; font-weight: 600; }
.gs-badge-expired {
    background: rgba(107,114,128,.25);
    color: #9ca3af;
    display: inline-block;
    padding: .2rem .5rem;
    border-radius: 6px;
    font-size: .75rem;
    font-weight: 600;
}

.gs-purchase-row--expired {
    opacity: .72;
    filter: grayscale(.85);
    border-color: rgba(107,114,128,.25);
    background: rgba(17,24,39,.65);
}
.gs-purchase-row--expired .gs-purchase-row-logo { opacity: .6; }

.gs-btn-disabled,
.gs-btn.gs-btn-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #374151 !important;
    color: #9ca3af !important;
    border: 1px solid #4b5563 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    box-shadow: none;
    opacity: 1;
}
.gs-btn-primary.gs-btn-disabled {
    background: #4b5563 !important;
    color: #d1d5db !important;
}

.gs-alert-expired-access {
    background: rgba(107,114,128,.18);
    color: #d1d5db;
    border: 1px solid rgba(107,114,128,.4);
    padding: 1rem 1.15rem;
    border-radius: 10px;
}

.gs-purchase-list { display: flex; flex-direction: column; gap: .65rem; }
.gs-purchase-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: rgba(11,15,26,.65);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    transition: border-color .15s, background .15s;
}
.gs-purchase-row:hover {
    border-color: rgba(124,58,237,.25);
    background: rgba(11,15,26,.85);
}
.gs-purchase-row-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 10px;
    background: #111827;
    padding: 4px;
    flex-shrink: 0;
}
.gs-purchase-row-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 0;
}
.gs-purchase-row-body strong { font-size: 1rem; }
.gs-purchase-row-body .gs-muted { font-size: .85rem; }
.gs-purchase-time { font-size: .8rem; font-weight: 600; }
.gs-purchase-time.gs-time-ok { color: var(--ok); }
.gs-purchase-time.gs-time-warn { color: #fcd34d; }
.gs-purchase-time.gs-time-urgent { color: #f87171; }
.gs-purchase-time.gs-time-expired { color: #6b7280; }
.gs-purchase-time.gs-time-pending { color: var(--muted); }
.gs-purchase-row-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
    flex-shrink: 0;
    width: 100%;
}
@media (min-width: 640px) {
    .gs-purchase-row-actions {
        width: auto;
        flex-direction: column;
        align-items: flex-end;
        min-width: 11rem;
    }
}
.gs-otp-open {
    white-space: normal;
    text-align: center;
    font-size: .78rem;
    line-height: 1.25;
    padding: .5rem .65rem;
    border: 1px solid rgba(34,211,238,.45);
    color: #67e8f9;
    background: rgba(34,211,238,.08);
}
.gs-otp-open:hover { background: rgba(34,211,238,.18); color: #a5f3fc; }

body.gs-modal-open { overflow: hidden; }
.gs-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.gs-modal[hidden] { display: none !important; }
.gs-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(4px); }
.gs-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    border: 1px solid rgba(124,58,237,.35);
    border-radius: 16px;
    padding: 1.5rem 1.35rem 1.35rem;
    box-shadow: 0 24px 48px rgba(0,0,0,.45);
}
.gs-modal-close {
    position: absolute;
    top: .65rem;
    right: .75rem;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: .25rem .4rem;
}
.gs-modal-close:hover { color: #fff; }
.gs-modal-title { margin: 0 2rem .85rem 0; font-size: 1.1rem; }
.gs-otp-modal-loading { text-align: center; padding: .5rem 0 1rem; }
.gs-otp-modal-hint { font-weight: 600; color: #c4b5fd; margin: 1rem 0 .35rem; }
.gs-otp-modal-queue {
    font-size: .8rem;
    color: #a78bfa;
    margin: 0 0 .5rem;
    padding: .35rem .65rem;
    background: rgba(139, 92, 246, .12);
    border-radius: 8px;
    display: inline-block;
}
.gs-otp-modal-sub { font-size: .85rem; margin: 0; }
.gs-otp-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border: 3px solid rgba(124,58,237,.25);
    border-top-color: #22d3ee;
    border-radius: 50%;
    animation: gs-otp-spin .85s linear infinite;
}
@keyframes gs-otp-spin { to { transform: rotate(360deg); } }
.gs-otp-modal-code { text-align: center; padding: .5rem 0; }
.gs-otp-modal-code .gs-otp-code { display: block; margin: .5rem 0 1rem; font-size: 2.25rem; }
.gs-otp-modal-error { color: #f87171; font-size: .9rem; margin: 0 0 .75rem; text-align: center; }
.gs-otp-modal-retry { width: 100%; margin-top: .25rem; }

.gs-purchase-detail-card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 1rem;
}
.gs-purchase-detail-top {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.25rem;
}
.gs-purchase-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 12px;
    background: #111827;
    padding: 6px;
}
.gs-time-banner {
    padding: 1rem 1.15rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
}
.gs-time-banner.gs-time-ok { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3); }
.gs-time-banner.gs-time-warn { background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.35); }
.gs-time-banner.gs-time-urgent { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.35); }
.gs-time-banner.gs-time-expired { background: rgba(107,114,128,.15); border: 1px solid rgba(107,114,128,.3); }
.gs-time-banner.gs-time-pending { background: rgba(124,58,237,.1); border: 1px solid rgba(124,58,237,.25); }
.gs-time-banner-text { display: flex; flex-direction: column; gap: .25rem; margin-bottom: .5rem; }
.gs-time-bar { height: 6px; background: rgba(0,0,0,.3); border-radius: 999px; overflow: hidden; }
.gs-time-bar span { display: block; height: 100%; background: linear-gradient(90deg, #7c3aed, #22d3ee); border-radius: 999px; }
.gs-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 700px) { .gs-detail-grid { grid-template-columns: 1fr; } }
.gs-otp-block { grid-column: 1 / -1; border-color: rgba(34,211,238,.2); }
.gs-otp-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.gs-otp-status { font-size: .9rem; color: var(--muted); margin-bottom: .75rem; }
.gs-otp-status--ok { color: var(--ok); }
.gs-otp-status--err { color: #f87171; }
.gs-otp-status--pending { color: #a78bfa; }
.gs-otp-code-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    padding: 1rem;
    background: rgba(34,211,238,.08);
    border: 1px solid rgba(34,211,238,.3);
    border-radius: 10px;
}
.gs-otp-code-label { font-size: .8rem; color: var(--muted); width: 100%; }
.gs-otp-code {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: .35em;
    color: #22d3ee;
    padding: .25rem .5rem;
}
.gs-detail-block {
    background: rgba(0,0,0,.2);
    border-radius: 10px;
    padding: 1.15rem;
    border: 1px solid rgba(255,255,255,.06);
}
.gs-detail-block h2 { font-size: 1rem; margin-bottom: .75rem; }
.gs-detail-dl dt { color: var(--muted); font-size: .78rem; margin-top: .65rem; }
.gs-detail-dl dd { margin: .15rem 0 0; }
.gs-copy-val {
    display: inline-block;
    padding: .35rem .5rem;
    background: #111827;
    border-radius: 6px;
    font-size: .95rem;
    word-break: break-all;
}
.gs-profile-list { margin: .5rem 0 0; padding-left: 1.2rem; color: var(--muted); line-height: 1.6; }
.gs-purchase-detail-head { margin: 1.25rem 0 .5rem; }

.gs-otp-input {
    font-size: 1.5rem !important;
    letter-spacing: 0.35em;
    text-align: center;
    font-weight: 600;
}
.gs-client-form-compact textarea {
    width: 100%;
    padding: .65rem .75rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #111827;
    color: var(--text);
    font-family: inherit;
    resize: vertical;
    min-height: 72px;
}
.gs-muted { color: var(--muted); }
.gs-hint { margin-bottom: 1.5rem; font-size: .9rem; }

.gs-form label { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .85rem; }
.gs-password-wrap {
    position: relative;
    margin-bottom: 1rem;
}
.gs-form .gs-password-wrap input {
    margin-bottom: 0;
    padding-right: 2.85rem;
    box-sizing: border-box;
}
.gs-password-toggle {
    position: absolute;
    right: .45rem;
    top: 0;
    bottom: 0;
    width: 2.25rem;
    height: 2.25rem;
    margin: auto 0;
    display: grid;
    place-items: center;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: color .15s, background .15s;
}
.gs-password-toggle:hover {
    color: var(--text);
    background: rgba(255,255,255,.06);
}
.gs-form input {
    width: 100%;
    padding: .65rem .75rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.12);
    background: #111827;
    color: var(--text);
    font-family: inherit;
}

.gs-account-page {
    padding: 1.5rem 0 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

/* —— Panel cliente —— */
.gs-panel-profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.5rem 1.65rem;
    border-radius: var(--radius);
    border: 1px solid rgba(124,58,237,.28);
    background:
        radial-gradient(ellipse 80% 120% at 100% 0%, rgba(6,182,212,.12), transparent 55%),
        linear-gradient(135deg, rgba(124,58,237,.22), rgba(20,27,45,.95));
    box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.gs-panel-profile-main {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    min-width: 0;
}
.gs-panel-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 8px 20px rgba(124,58,237,.35);
}
.gs-panel-eyebrow {
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #a5b4fc;
    margin-bottom: .25rem;
}
.gs-panel-profile-text h1 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: .45rem;
}
.gs-panel-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem .55rem;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.45;
}
.gs-panel-meta-sep { opacity: .45; }
.gs-panel-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    flex-shrink: 0;
}

.gs-panel-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .85rem;
}
.gs-panel-stat {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    transition: border-color .15s, transform .15s;
}
.gs-panel-stat:hover {
    border-color: rgba(255,255,255,.14);
    transform: translateY(-1px);
}
.gs-panel-stat--balance {
    background: linear-gradient(160deg, rgba(124,58,237,.18), var(--surface));
    border-color: rgba(124,58,237,.3);
}
.gs-panel-stat-label {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}
.gs-panel-stat-value {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
}
.gs-panel-stat-value--ok { color: var(--ok); }
.gs-panel-stat-hint {
    font-size: .78rem;
    color: #64748b;
    margin-top: .15rem;
}

.gs-panel-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem;
}
@media (min-width: 960px) {
    .gs-panel-layout {
        grid-template-columns: 1.15fr .85fr;
        align-items: start;
    }
}

.gs-panel-section {
    background: rgba(20,27,45,.55);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem 1.35rem;
}
.gs-panel-section-head {
    margin-bottom: 1.1rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.gs-panel-section-head h2 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -.01em;
    margin: 0;
}
.gs-panel-section-sub {
    margin: .35rem 0 0;
    font-size: .84rem;
    color: var(--muted);
    line-height: 1.45;
}

.gs-panel-empty {
    text-align: center;
    padding: 2.25rem 1.25rem;
    border-radius: 12px;
    background: rgba(0,0,0,.2);
    border: 1px dashed rgba(255,255,255,.1);
}
.gs-panel-empty--compact { padding: 1.75rem 1rem; }
.gs-panel-empty-icon {
    font-size: 2rem;
    margin-bottom: .65rem;
    opacity: .85;
}
.gs-panel-empty h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .4rem;
}
.gs-panel-empty p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.5;
    max-width: 320px;
    margin: 0 auto .9rem;
}

.gs-panel-table-wrap {
    border: none;
    background: transparent;
    border-radius: 10px;
}
.gs-wallet-type {
    display: inline-block;
    padding: .18rem .5rem;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 600;
    background: rgba(255,255,255,.06);
    color: #cbd5e1;
}
.gs-wallet-type--topup { background: rgba(34,197,94,.15); color: #86efac; }
.gs-wallet-type--purchase { background: rgba(124,58,237,.18); color: #c4b5fd; }
.gs-wallet-type--deduction { background: rgba(239,68,68,.15); color: #fca5a5; }
.gs-wallet-type--refund { background: rgba(6,182,212,.15); color: #67e8f9; }
.gs-wallet-note { max-width: 180px; font-size: .85rem; }
.gs-wallet-date { font-size: .82rem; color: var(--muted); white-space: nowrap; }

.gs-purchase-row-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem .55rem;
}
.gs-purchase-row-title strong { font-size: 1.02rem; }

/* —— Panel interactivo —— */
.gs-panel-page { --panel-ease: cubic-bezier(.22, 1, .36, 1); }

.gs-panel-animate > * {
    animation: gsPanelFadeUp .55s var(--panel-ease) both;
}
.gs-panel-animate > *:nth-child(2) { animation-delay: .05s; }
.gs-panel-animate > *:nth-child(3) { animation-delay: .1s; }
.gs-panel-animate > *:nth-child(4) { animation-delay: .15s; }
.gs-panel-animate > *:nth-child(5) { animation-delay: .2s; }

@keyframes gsPanelFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.gs-panel-stat-icon {
    font-size: 1.1rem;
    opacity: .85;
    margin-bottom: .15rem;
}
.gs-panel-stat--clickable {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.gs-panel-stat--clickable::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,.12), transparent);
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
}
.gs-panel-stat--clickable:hover,
.gs-panel-stat--clickable:focus-visible {
    border-color: rgba(124,58,237,.4);
    transform: translateY(-2px);
    outline: none;
    box-shadow: 0 12px 28px rgba(124,58,237,.15);
}
.gs-panel-stat--clickable:hover::after,
.gs-panel-stat--clickable:focus-visible::after { opacity: 1; }

.gs-panel-tabs {
    display: none;
    gap: .45rem;
    padding: .35rem;
    background: rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
}
.gs-panel-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .65rem .85rem;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s, box-shadow .2s;
}
.gs-panel-tab.is-active {
    background: linear-gradient(135deg, rgba(124,58,237,.45), rgba(91,33,182,.35));
    color: #fff;
    box-shadow: 0 4px 14px rgba(124,58,237,.25);
}
.gs-panel-tab-badge {
    font-size: .68rem;
    padding: .12rem .4rem;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    font-weight: 700;
}
.gs-panel-tab.is-active .gs-panel-tab-badge {
    background: rgba(255,255,255,.2);
}

.gs-panel-section--tab {
    display: none;
}
.gs-panel-section--tab.is-visible {
    display: block;
    animation: gsPanelFadeUp .35s var(--panel-ease);
}

@media (min-width: 960px) {
    .gs-panel-tabs { display: none !important; }
    .gs-panel-section--tab {
        display: block !important;
    }
}

@media (max-width: 959px) {
    .gs-panel-tabs { display: flex; }
    .gs-panel-layout { grid-template-columns: 1fr; }
}

.gs-panel-toolbar {
    margin-bottom: 1rem;
}
.gs-panel-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.gs-panel-filter {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .75rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.03);
    color: var(--muted);
    font-family: inherit;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s var(--panel-ease);
}
.gs-panel-filter:hover {
    border-color: rgba(124,58,237,.35);
    color: var(--text);
}
.gs-panel-filter.is-active {
    background: rgba(124,58,237,.22);
    border-color: rgba(124,58,237,.5);
    color: #fff;
}
.gs-panel-filter-count {
    font-size: .68rem;
    padding: .1rem .35rem;
    border-radius: 999px;
    background: rgba(0,0,0,.25);
    min-width: 1.2rem;
    text-align: center;
}
.gs-panel-filter.is-active .gs-panel-filter-count {
    background: rgba(255,255,255,.15);
}

.gs-panel-search {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .85rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(0,0,0,.2);
    transition: border-color .2s, box-shadow .2s;
}
.gs-panel-search:focus-within {
    border-color: rgba(124,58,237,.45);
    box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}
.gs-panel-search-icon {
    color: var(--muted);
    font-size: 1rem;
    opacity: .7;
}
.gs-panel-search input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: .88rem;
    outline: none;
    min-width: 0;
}
.gs-panel-search input::placeholder { color: #64748b; }

.gs-panel-progress {
    margin-top: .45rem;
    height: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
}
.gs-panel-progress-bar {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: var(--ok);
    transition: width 1s var(--panel-ease);
}
.gs-panel-progress-bar.is-animated {
    width: var(--progress, 0%);
}
.gs-panel-progress-bar.gs-time-warn { background: #f59e0b; }
.gs-panel-progress-bar.gs-time-urgent { background: #ef4444; }
.gs-panel-progress-bar.gs-time-expired { background: #6b7280; }

.gs-purchase-card {
    padding: 0;
    overflow: hidden;
}
.gs-purchase-card-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    width: 100%;
}
.gs-purchase-expand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    margin-left: auto;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.gs-purchase-expand:hover {
    background: rgba(124,58,237,.15);
    border-color: rgba(124,58,237,.35);
}
.gs-purchase-card.is-open .gs-purchase-expand {
    background: rgba(124,58,237,.2);
    border-color: rgba(124,58,237,.45);
}
.gs-purchase-card.is-open {
    border-color: rgba(124,58,237,.35);
    box-shadow: 0 8px 24px rgba(124,58,237,.12);
}
.gs-purchase-chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    flex-shrink: 0;
    margin-left: auto;
    transition: transform .25s var(--panel-ease), border-color .2s;
}
.gs-purchase-card.is-open .gs-purchase-chevron {
    transform: rotate(-135deg);
    border-color: var(--primary);
    margin-top: 4px;
}
.gs-purchase-card-body {
    padding: 0 1.1rem 1rem;
    border-top: 1px solid rgba(255,255,255,.06);
    animation: gsPanelFadeUp .25s var(--panel-ease);
}
.gs-purchase-card-body .gs-purchase-row-actions {
    padding-top: .85rem;
    width: 100%;
}

.gs-purchase-row.is-hidden,
.gs-table tbody tr.is-hidden,
.gs-hidden { display: none !important; }

.gs-purchase-animate-in {
    animation: gsPurchaseIn .35s var(--panel-ease) both;
}
@keyframes gsPurchaseIn {
    from { opacity: 0; transform: scale(.98); }
    to { opacity: 1; transform: scale(1); }
}

.gs-panel-filter-empty {
    text-align: center;
    padding: 1.25rem;
    color: var(--muted);
    font-size: .88rem;
    border-radius: 10px;
    background: rgba(0,0,0,.15);
    border: 1px dashed rgba(255,255,255,.08);
}

.gs-panel-toast {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    z-index: 2000;
    padding: .65rem 1.1rem;
    border-radius: 10px;
    background: rgba(20,27,45,.95);
    border: 1px solid rgba(124,58,237,.4);
    color: #fff;
    font-size: .88rem;
    font-weight: 500;
    box-shadow: 0 12px 32px rgba(0,0,0,.4);
    transition: transform .35s var(--panel-ease), opacity .35s;
    opacity: 0;
    pointer-events: none;
}
.gs-panel-toast:not([hidden]) {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (min-width: 768px) {
    .gs-purchase-card {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        padding: 0;
    }
    .gs-purchase-card-main {
        flex: 1;
        min-width: 0;
        padding-right: 0;
    }
    .gs-purchase-expand { display: none; }
    .gs-purchase-card-body {
        display: flex !important;
        flex-shrink: 0;
        border: none;
        padding: 0 1rem 0 0;
        animation: none;
    }
    .gs-purchase-card-body[hidden] { display: flex !important; }
    .gs-purchase-card-body .gs-purchase-row-actions {
        padding-top: 0;
        flex-direction: column;
        align-items: flex-end;
        width: auto;
        min-width: 11rem;
    }
}

@media (max-width: 720px) {
    .gs-panel-stats { grid-template-columns: 1fr; }
    .gs-panel-profile { padding: 1.15rem; }
    .gs-panel-profile-actions { width: 100%; }
    .gs-panel-profile-actions .gs-btn { flex: 1; justify-content: center; }
    .gs-panel-meta-sep { display: none; }
    .gs-panel-meta span:not(.gs-badge-client) { width: 100%; }
}

.gs-table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); }
.gs-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.gs-table th, .gs-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,.06); }
.gs-table th { color: var(--muted); font-weight: 500; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.gs-table tbody tr:hover { background: rgba(255,255,255,.02); }
.gs-table tbody tr:last-child td { border-bottom: none; }
.gs-amt-plus { color: var(--ok); }
.gs-amt-minus { color: #f87171; }

.gs-receipt-eye {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    color: var(--text);
    cursor: pointer;
    font-size: 1rem;
    transition: background .15s, border-color .15s;
}
.gs-receipt-eye:hover {
    background: rgba(124,58,237,.2);
    border-color: rgba(124,58,237,.45);
}
.gs-receipt-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.gs-receipt-modal[hidden] { display: none !important; }
.gs-receipt-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
}
.gs-receipt-modal-dialog {
    position: relative;
    width: min(520px, 100%);
    max-height: 90vh;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.gs-receipt-modal-dialog--wide { width: min(640px, 100%); }
.gs-receipt-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.gs-receipt-modal-header h4 { font-size: 1rem; font-weight: 600; }
.gs-receipt-modal-close {
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    color: var(--text);
    font-size: 1.25rem;
    cursor: pointer;
}
.gs-receipt-modal-close:hover { background: rgba(239,68,68,.25); }
.gs-receipt-modal-body {
    flex: 1;
    min-height: 320px;
    background: #0b0f1a;
}
.gs-receipt-modal-body iframe {
    width: 100%;
    height: min(70vh, 520px);
    border: none;
    display: block;
}
.gs-comprobante-embed { background: #0b0f1a; min-height: 100vh; }
.gs-comprobante-embed .gs-comprobante-page { padding: 1rem; }
.gs-comprobante-page { padding: 2rem 0 3rem; }
.gs-comprobante-card {
    max-width: 560px;
    margin: 0 auto;
    background: linear-gradient(160deg, var(--surface2), var(--surface));
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.gs-comprobante-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.gs-comprobante-kicker {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: .25rem;
}
.gs-comprobante-head h1 { font-size: 1.25rem; }
.gs-comprobante-list {
    display: grid;
    gap: .75rem;
    margin: 0 0 1.25rem;
}
.gs-comprobante-list > div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: .5rem;
    align-items: baseline;
}
.gs-comprobante-list dt { color: var(--muted); font-size: .85rem; }
.gs-comprobante-list dd { margin: 0; word-break: break-word; }
.gs-comprobante-amount { font-size: 1.35rem; font-weight: 700; color: var(--ok); }
.gs-comprobante-image-wrap img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.08);
}
.gs-comprobante-foot {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .8rem;
    color: var(--muted);
}
.gs-comprobante-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}
@media print {
    .gs-header, .gs-comprobante-actions { display: none !important; }
    body { background: #fff; color: #000; }
    .gs-comprobante-card { border: 1px solid #ccc; box-shadow: none; }
}
