/* Store — extends style.css (Vertex-inspired layout, Utrecht styling) */

.hidden { display: none !important; }

/* =============================
   HERO
============================= */
.store-hero {
    padding: 120px 8% 40px;
    text-align: center;
}

.store-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.store-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(90deg, #3b82f6, #6bb2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.store-hero-lead {
    color: rgba(234, 240, 255, 0.78);
    max-width: 720px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
    line-height: 1.65;
}

.store-hero-lead strong {
    color: #93c5fd;
}

.store-perks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.store-perk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(234, 240, 255, 0.85);
}

.store-perk-icon {
    font-size: 1rem;
}

.store-userbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
}

.store-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

.store-hero-actions .btn-outline {
    text-decoration: none;
}

.store-coins {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    padding: 12px 22px;
    border-radius: 16px;
}

.store-coins-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(234, 240, 255, 0.5);
    font-weight: 700;
}

.store-coins-value {
    font-size: 1.35rem;
    font-weight: 900;
    color: #93c5fd;
}

.store-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
    font-size: 0.9rem;
}

.store-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.4);
}

.store-link-box {
    margin: 0 8% 24px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 24px;
    border-radius: 16px;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.35);
}

.store-link-box code {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    color: #fde047;
}

.store-link-hint {
    margin-top: 8px;
    font-size: 0.9rem;
    color: rgba(234, 240, 255, 0.7);
}

/* =============================
   PAGE LAYOUT
============================= */
.store-page {
    padding: 0 6% 80px;
    max-width: 1500px;
    margin: 0 auto;
}

.store-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.store-cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.store-cat-tab {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(234, 240, 255, 0.8);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}

.store-cat-tab:hover {
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

.store-cat-tab.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(147, 197, 253, 0.12));
    border-color: rgba(59, 130, 246, 0.55);
    color: #93c5fd;
}

.store-toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.store-search input {
    width: 220px;
    padding: 11px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #eaf0ff;
    font-size: 0.9rem;
    outline: none;
    transition: 0.25s;
}

.store-search input::placeholder {
    color: rgba(234, 240, 255, 0.4);
}

.store-search input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.store-count {
    font-size: 0.85rem;
    color: rgba(234, 240, 255, 0.45);
    font-weight: 600;
    white-space: nowrap;
}

.store-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    align-items: start;
}

.store-main {
    min-width: 0;
}

.store-empty {
    color: rgba(234, 240, 255, 0.5);
    text-align: center;
    padding: 60px 20px;
    font-size: 1rem;
}

/* =============================
   PRODUCT GRID
============================= */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.store-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    position: relative;
}

.store-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.store-card-image {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 9, 18, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.store-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-card-image .store-placeholder {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(147, 197, 253, 0.35);
    text-transform: uppercase;
}

.store-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 8px;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.store-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.store-card .type-badge {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #93c5fd;
    margin-bottom: 6px;
    font-weight: 700;
}

.store-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 800;
    line-height: 1.3;
}

.store-card p {
    flex: 1;
    font-size: 0.85rem;
    color: rgba(234, 240, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.store-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.store-price {
    font-size: 1.2rem;
    font-weight: 900;
    color: #3b82f6;
}

.store-price-old {
    font-size: 0.9rem;
    color: rgba(234, 240, 255, 0.35);
    text-decoration: line-through;
    font-weight: 600;
}

.store-price-eur {
    color: #4ade80;
}

.store-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.store-card .btn-view {
    padding: 11px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(234, 240, 255, 0.9);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}

.store-card .btn-view:hover {
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

.store-card .btn-buy,
.store-modal .btn-buy {
    padding: 11px;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    background: linear-gradient(135deg, #3b82f6, #93c5fd);
    color: #0a0f1c;
    transition: 0.2s;
}

.store-card .btn-buy:hover:not(:disabled),
.store-modal .btn-buy:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.store-card .btn-buy:disabled,
.store-modal .btn-buy:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.store-card .btn-external,
.store-modal .btn-external {
    flex: 1;
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: #fff;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.store-card .btn-external:hover:not(:disabled),
.store-modal .btn-external:hover:not(:disabled) {
    transform: translateY(-1px);
    opacity: 0.95;
}

.store-card .btn-external:disabled,
.store-modal .btn-external:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.store-price-external {
    color: #a5b4fc;
    font-weight: 700;
}

.store-card-external .store-card-actions {
    grid-template-columns: 1fr 1.2fr;
}

.store-card-tebex .btn-buy {
    grid-column: span 2;
}

/* =============================
   SIDEBAR WIDGETS
============================= */
.store-widgets {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.store-widget {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px;
}

.store-widget h3 {
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.store-widget-sub {
    font-size: 0.8rem;
    color: rgba(234, 240, 255, 0.5);
    line-height: 1.5;
    margin-bottom: 16px;
}

.store-top-donor {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.store-top-donor-empty {
    color: rgba(234, 240, 255, 0.45);
    font-size: 0.88rem;
}

.store-top-donor-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #93c5fd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: #0a0f1c;
    flex-shrink: 0;
}

.store-top-donor-info {
    min-width: 0;
}

.store-top-donor-name {
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-top-donor-amount {
    font-size: 0.85rem;
    color: #93c5fd;
    font-weight: 700;
}

.store-recent-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-recent-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
}

.store-recent-user {
    font-weight: 700;
    color: rgba(234, 240, 255, 0.9);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
}

.store-recent-product {
    color: rgba(234, 240, 255, 0.55);
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.store-recent-time {
    font-size: 0.72rem;
    color: rgba(234, 240, 255, 0.35);
    white-space: nowrap;
}

.store-recent-empty {
    color: rgba(234, 240, 255, 0.4);
    font-size: 0.85rem;
    justify-content: center;
}

.store-widget-tebex p {
    font-size: 0.85rem;
    color: rgba(234, 240, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 16px;
}

.store-tebex-btn {
    width: 100%;
    text-align: center;
    text-decoration: none;
    padding: 12px;
    font-size: 0.9rem;
}

/* =============================
   MODAL
============================= */
.store-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 9, 18, 0.85);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.store-modal-backdrop[hidden] {
    display: none;
}

.store-modal {
    background: #0d1220;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    max-width: 520px;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.store-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #eaf0ff;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 2;
    line-height: 1;
    transition: 0.2s;
}

.store-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.store-modal-image {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 9, 18, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.store-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-modal-body {
    padding: 24px 28px 28px;
}

.store-modal-body h2 {
    font-size: 1.4rem;
    margin: 8px 0 12px;
    font-weight: 900;
}

.store-modal-body p {
    color: rgba(234, 240, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.store-modal-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: #3b82f6;
    margin-bottom: 18px;
}

.store-modal .btn-buy {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

/* =============================
   TOAST
============================= */
.store-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 22px;
    border-radius: 12px;
    background: #1e293b;
    border: 1px solid rgba(59, 130, 246, 0.4);
    z-index: 4000;
    display: none;
    max-width: 360px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.store-toast.show {
    display: block;
    animation: toastIn 0.3s ease;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================
   ABOUT & POLICY
============================= */
.store-about {
    padding: 48px 8% 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.store-about-inner {
    display: grid;
    grid-template-columns: 1fr min(360px, 100%);
    gap: 32px;
    align-items: start;
}

.store-about-main h2 {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #3b82f6, #6bb2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.store-about-lead {
    font-size: 1.05rem;
    color: rgba(234, 240, 255, 0.9);
    line-height: 1.65;
    margin-bottom: 16px;
}

.store-about-main p {
    color: rgba(234, 240, 255, 0.72);
    line-height: 1.65;
    margin-bottom: 14px;
}

.store-about-sub {
    font-weight: 700;
    color: rgba(234, 240, 255, 0.85) !important;
    margin-top: 8px !important;
}

.store-about-list {
    margin: 0 0 16px 1.1rem;
    padding: 0;
    color: rgba(234, 240, 255, 0.78);
    line-height: 1.7;
}

.store-about-list li {
    margin-bottom: 6px;
}

.store-about-tagline {
    margin-top: 20px !important;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(234, 240, 255, 0.85) !important;
}

.store-about-tagline strong {
    color: #93c5fd;
}

.store-policy-card {
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(251, 191, 36, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.store-policy-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fcd34d;
}

.store-policy-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(234, 240, 255, 0.75);
    margin-bottom: 12px;
}

.store-policy-card p:last-child {
    margin-bottom: 0;
}

.store-policy-note {
    font-size: 0.85rem !important;
    color: rgba(234, 240, 255, 0.55) !important;
    font-style: italic;
}

@media (max-width: 900px) {
    .store-about-inner {
        grid-template-columns: 1fr;
    }
}

/* =============================
   FOOTER
============================= */
.store-footer {
    padding: 32px 8% 40px;
}

.store-footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.store-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
}

.store-footer-links {
    display: flex;
    gap: 24px;
}

.store-footer-links a {
    color: rgba(234, 240, 255, 0.6);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s;
}

.store-footer-links a:hover {
    color: #3b82f6;
}

.store-footer-copy {
    text-align: center;
    font-size: 0.85rem;
}

.store-footer-legal {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(234, 240, 255, 0.45);
    margin-top: 8px;
}

.store-footer-legal a {
    color: rgba(147, 197, 253, 0.85);
    text-decoration: none;
}

.store-footer-legal a:hover {
    text-decoration: underline;
}

/* =============================
   AUTH & SESSION
============================= */
.store-session-menu {
    position: relative;
}

.store-session-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.35);
    max-width: 340px;
    cursor: pointer;
    color: inherit;
    font: inherit;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.store-session-menu.open .store-session-chip,
.store-session-chip:hover {
    border-color: rgba(34, 197, 94, 0.55);
    background: rgba(34, 197, 94, 0.14);
}

.store-session-menu.open .store-session-chip {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.store-session-chip.coins-updated {
    animation: storeCoinPulse 0.65s ease;
}

@keyframes storeCoinPulse {
    0%, 100% { transform: scale(1); }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 24px rgba(253, 224, 71, 0.35);
    }
}

.store-session-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: rgba(234, 240, 255, 0.45);
    transition: transform 0.2s;
}

.store-session-menu.open .store-session-chevron {
    transform: rotate(180deg);
    color: rgba(234, 240, 255, 0.7);
}

.store-session-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 260px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(12, 18, 32, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    z-index: 200;
    backdrop-filter: blur(12px);
}

.store-session-dropdown-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
}

.store-session-dropdown-head strong {
    display: block;
    font-size: 0.92rem;
}

.store-session-dropdown-head span {
    display: block;
    font-size: 0.75rem;
    color: rgba(234, 240, 255, 0.5);
    margin-top: 2px;
}

.store-session-dropdown-head .store-avatar {
    width: 40px;
    height: 40px;
}

.store-session-dropdown-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 8px 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(253, 224, 71, 0.08);
    border: 1px solid rgba(253, 224, 71, 0.2);
    font-size: 0.82rem;
    color: rgba(234, 240, 255, 0.6);
}

.store-session-dropdown-balance strong {
    color: #fde047;
    font-size: 0.95rem;
}

.store-dropdown-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 6px 0;
}

.store-dropdown-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 11px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: rgba(234, 240, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}

.store-dropdown-item:hover {
    background: rgba(59, 130, 246, 0.12);
}

.store-dropdown-item-danger {
    color: #fca5a5;
}

.store-dropdown-item-danger:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
}

.store-session-chip .store-avatar {
    width: 34px;
    height: 34px;
}

.store-session-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.store-session-text strong {
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-session-text span {
    font-size: 0.72rem;
    color: rgba(234, 240, 255, 0.55);
}

.store-session-coins {
    font-weight: 900;
    color: #fde047;
    font-size: 0.85rem;
    white-space: nowrap;
}

.store-logged-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.store-logged-banner.ready {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.35);
    color: #86efac;
}

.store-logged-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

.store-logged-banner.ready .store-logged-dot {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

.store-user-name {
    font-weight: 800;
    margin-bottom: 6px;
}

.store-status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.store-badge.ok {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.store-badge.missing {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.store-auth-modal h2 {
    margin-bottom: 8px;
}

.store-auth-hint {
    color: rgba(234, 240, 255, 0.65);
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.store-auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.store-auth-tab {
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(234, 240, 255, 0.8);
    font-weight: 700;
    cursor: pointer;
}

.store-auth-tab.active {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

.store-auth-panel p {
    color: rgba(234, 240, 255, 0.7);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.store-auth-form {
    display: grid;
    gap: 12px;
}

.store-auth-form label {
    display: grid;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(234, 240, 255, 0.6);
}

.store-auth-form input {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    color: #eaf0ff;
}

.store-auth-full {
    width: 100%;
    margin-top: 4px;
}

.store-auth-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 20px 0;
}

.store-auth-sub {
    font-size: 0.85rem !important;
    margin-bottom: 8px !important;
}

/* =============================
   ADMIN DASHBOARD
============================= */
.admin-gate {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
}

.admin-gate-card {
    max-width: 420px;
    width: 100%;
    text-align: center;
    padding: 40px 32px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.admin-gate-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.admin-gate-card h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.admin-gate-card p {
    color: rgba(234, 240, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.admin-gate-hint {
    font-size: 0.85rem;
    color: rgba(255, 180, 120, 0.95);
    margin-top: -12px;
    margin-bottom: 20px;
    line-height: 1.55;
    white-space: pre-line;
}

.admin-gate-hint code {
    font-size: 0.8rem;
    word-break: break-all;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
    text-align: left;
}

.admin-login-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    color: rgba(234, 240, 255, 0.85);
}

.admin-login-form input {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 1rem;
}

.admin-login-form .btn-main,
.admin-login-form .btn-outline {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

.admin-discord-btn {
    width: 100%;
    margin-top: 16px;
}

.admin-login-or {
    margin: 18px 0 4px;
    font-size: 0.85rem;
    color: rgba(234, 240, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-gate-card a {
    color: #93c5fd;
}

.admin-wrap {
    padding: 110px 5% 80px;
    max-width: 1280px;
    margin: 0 auto;
}

.admin-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.admin-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 900;
    background: linear-gradient(90deg, #3b82f6, #6bb2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.admin-hero p {
    color: rgba(234, 240, 255, 0.6);
    max-width: 560px;
    line-height: 1.55;
}

.admin-refresh {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.admin-stat-card {
    padding: 20px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.25s;
}

.admin-stat-card:hover {
    border-color: rgba(59, 130, 246, 0.35);
    transform: translateY(-2px);
}

.admin-stat-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(234, 240, 255, 0.45);
    margin-bottom: 8px;
    font-weight: 700;
}

.admin-stat-card strong {
    font-size: 1.75rem;
    color: #93c5fd;
}

.admin-session-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    font-size: 0.85rem;
    font-weight: 700;
}

.admin-session-chip .store-avatar {
    width: 32px;
    height: 32px;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(234, 240, 255, 0.8);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
}

.admin-tabs button span {
    font-size: 1rem;
}

.admin-tabs button:hover {
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

.admin-tabs button.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(147, 197, 253, 0.1));
    border-color: rgba(59, 130, 246, 0.55);
    color: #93c5fd;
}

.admin-panel {
    display: none;
    animation: adminFadeIn 0.3s ease;
}

.admin-panel.active {
    display: block;
}

@keyframes adminFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 20px;
    align-items: start;
}

.admin-grid-products {
    grid-template-columns: 1fr 1fr;
}

.admin-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 22px 24px;
    overflow: hidden;
}

.admin-card-wide {
    min-width: 0;
}

.admin-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 12px;
}

.admin-card-head h3 {
    font-size: 1.05rem;
    font-weight: 800;
}

.admin-btn-ghost {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: rgba(234, 240, 255, 0.65);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.admin-btn-ghost:hover {
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

.admin-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.admin-table thead {
    background: rgba(255, 255, 255, 0.04);
}

.admin-table th {
    padding: 12px 14px;
    text-align: left;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(234, 240, 255, 0.45);
    font-weight: 800;
}

.admin-table td {
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

.admin-table tbody tr.admin-row-selected {
    background: rgba(59, 130, 246, 0.12);
    box-shadow: inset 3px 0 0 #3b82f6;
}

.admin-user-sub {
    font-size: 0.78rem;
    color: rgba(234, 240, 255, 0.45);
    line-height: 1.4;
}

.admin-order-time {
    font-size: 0.72rem;
    color: rgba(234, 240, 255, 0.35);
    font-weight: 600;
}

.admin-search {
    min-width: 220px;
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
    color: #eaf0ff;
    font-size: 0.85rem;
}

.admin-search:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
}

.admin-user-selected {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    font-size: 0.88rem;
    color: rgba(234, 240, 255, 0.85);
}

.admin-quick-coins {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 4px 0 8px;
    font-size: 0.82rem;
    color: rgba(234, 240, 255, 0.55);
}

.btn-sm-quick {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
}

.admin-form input.readonly,
.admin-form input.mono-field {
    opacity: 0.75;
    cursor: default;
}

.admin-table .mono {
    font-family: ui-monospace, monospace;
    font-size: 0.8rem;
    color: rgba(234, 240, 255, 0.55);
}

.admin-table-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.admin-table .btn-sm {
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.admin-table .btn-sm-edit {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.admin-table .btn-sm-del {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.admin-table .btn-sm-edit:hover {
    background: rgba(59, 130, 246, 0.25);
}

.admin-table .btn-sm-del:hover {
    background: rgba(239, 68, 68, 0.2);
}

.admin-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-status.done {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
}

.admin-status.pending {
    background: rgba(234, 179, 8, 0.15);
    color: #fde047;
}

.admin-status.failed {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.admin-form {
    display: grid;
    gap: 14px;
}

.admin-form-grid {
    grid-template-columns: 1fr 1fr;
}

.admin-form .span-2 {
    grid-column: span 2;
}

.admin-form-section {
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-form-section span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(147, 197, 253, 0.8);
    font-weight: 800;
}

.admin-form-grid-prod {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.admin-field-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: rgba(234, 240, 255, 0.45);
    font-weight: 500;
}

.admin-field-hint code {
    color: #93c5fd;
}

.admin-form .req {
    color: #fca5a5;
}

.admin-form input:required {
    border-color: rgba(59, 130, 246, 0.35);
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    color: #eaf0ff;
    font-size: 0.9rem;
    transition: 0.2s;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.admin-form label {
    display: grid;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(234, 240, 255, 0.55);
    font-weight: 600;
}

.admin-check {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 10px !important;
    cursor: pointer;
}

.admin-check input {
    width: auto;
}

.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-hint {
    margin-top: 16px;
    font-size: 0.82rem;
    color: rgba(234, 240, 255, 0.45);
    line-height: 1.5;
}

.admin-empty {
    text-align: center;
    padding: 32px 16px;
    color: rgba(234, 240, 255, 0.4);
    font-size: 0.9rem;
}

@media (max-width: 1000px) {
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-grid,
    .admin-grid-products {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .admin-wrap {
        padding: 100px 16px 60px;
    }

    .admin-stats {
        grid-template-columns: 1fr 1fr;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-form .span-2 {
        grid-column: span 1;
    }
}

/* Legacy sidebar (admin) */
.store-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.store-sidebar h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(234, 240, 255, 0.5);
    margin-bottom: 12px;
}

.store-cat-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(234, 240, 255, 0.85);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.store-cat-btn:hover,
.store-cat-btn.active {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 1100px) {
    .store-layout {
        grid-template-columns: 1fr;
    }

    .store-widgets {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 700px) {
    .store-hero {
        padding: 110px 20px 32px;
    }

    .store-page {
        padding: 0 16px 60px;
    }

    .store-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .store-cat-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .store-toolbar-right {
        flex-direction: column;
        align-items: stretch;
    }

    .store-search input {
        width: 100%;
    }

    .store-grid {
        grid-template-columns: 1fr;
    }

    .store-card-actions {
        grid-template-columns: 1fr;
    }

    .store-card-tebex .btn-buy {
        grid-column: span 1;
    }

    .nav {
        display: none;
    }

    .topbar {
        padding: 0 16px;
    }

    .store-session-chip {
        max-width: min(280px, 55vw);
        padding-right: 8px;
    }

    .store-session-text strong {
        max-width: 90px;
    }
}

/* =============================
   WINKELWAGEN
============================= */
.store-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(234, 240, 255, 0.9);
    cursor: pointer;
    transition: 0.2s;
}

.store-cart-btn svg {
    width: 22px;
    height: 22px;
}

.store-cart-btn:hover,
.store-cart-btn.has-items {
    border-color: rgba(59, 130, 246, 0.45);
    color: #93c5fd;
}

.store-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6, #93c5fd);
    color: #0a0f1c;
    font-size: 0.72rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.store-cart-drawer[hidden] {
    display: none !important;
}

.store-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.store-cart-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 18, 0.72);
    backdrop-filter: blur(4px);
}

.store-cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(420px, 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #0d1424;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
}

.store-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.store-cart-head h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 900;
    color: #eaf0ff;
}

.store-cart-close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(234, 240, 255, 0.8);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.store-cart-list {
    list-style: none;
    margin: 0;
    padding: 16px 24px;
    overflow-y: auto;
    flex: 1;
}

.store-cart-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.store-cart-row-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.store-cart-row-info strong {
    font-size: 0.95rem;
    color: #eaf0ff;
}

.store-cart-row-info span {
    font-size: 0.85rem;
    color: #93c5fd;
    font-weight: 700;
}

.store-cart-row-missing span {
    color: rgba(234, 240, 255, 0.45);
    font-size: 0.9rem;
}

.store-cart-remove {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(234, 240, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
}

.store-cart-remove:hover {
    border-color: rgba(239, 68, 68, 0.45);
    color: #fca5a5;
}

.store-cart-empty {
    padding: 24px;
    text-align: center;
    color: rgba(234, 240, 255, 0.45);
}

.store-cart-footer {
    padding: 20px 24px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store-cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(234, 240, 255, 0.65);
    font-size: 0.92rem;
}

.store-cart-summary strong {
    color: #eaf0ff;
    font-size: 1rem;
}

.store-cart-checkout {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    font-size: 0.95rem;
}
