/* =========================================================
   THEME TOKENS
========================================================= */

:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-2: #f6f8fc;
    --surface-3: #eef3fb;

    --text: #18212f;
    --muted: #66758d;

    --border: #e2e8f0;
    --shadow: 0 7px 20px rgba(15, 23, 42, 0.07);
    --shadow-hover: 0 12px 29px rgba(15, 23, 42, 0.13);

    --primary: #4f46e5;
    --primary-soft: #ecebff;

    --danger: #dc2626;
    --danger-soft: #feecec;

    --success: #059669;
    --success-soft: #e8faf3;

    --warning: #d97706;
    --warning-soft: #fff4db;

    --orange: #ea580c;
    --orange-soft: #ffedd5;

    --radius: 12px;
    --sidebar-width: 182px;
}

html[data-theme="dark"] {
    --bg: #08111f;
    --surface: #0f1a2b;
    --surface-2: #142133;
    --surface-3: #0d1727;

    --text: #eef4ff;
    --muted: #97a6bf;

    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 9px 24px rgba(0, 0, 0, 0.34);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.42);

    --primary: #7c83ff;
    --primary-soft: rgba(124, 131, 255, 0.16);

    --danger: #ff8c8c;
    --danger-soft: rgba(255, 140, 140, 0.14);

    --success: #34d399;
    --success-soft: rgba(52, 211, 153, 0.14);

    --warning: #fbbf24;
    --warning-soft: rgba(251, 191, 36, 0.14);

    --orange: #fb923c;
    --orange-soft: rgba(251, 146, 60, 0.16);
}

/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 11px;
    line-height: 1.45;
}

body {
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {
    width: var(--sidebar-width);
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 12px 10px;
    position: sticky;
    top: 0;
    height: 100vh;
    box-shadow: var(--shadow);
    z-index: 20;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    padding: 2px 4px;
}

.brand-logo {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
}

.brand-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    font-size: 9px;
    color: var(--muted);
    margin-top: 1px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 9px;
    border-radius: 9px;
    color: var(--muted);
    font-weight: 600;
    font-size: 10px;
    transition: 0.18s ease;
}

.nav-item .material-icons-round {
    font-size: 15px;
}

.nav-item:hover,
.nav-item.active {
    background: var(--primary-soft);
    color: var(--primary);
}

.nav-divider {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--muted);
    margin: 14px 10px 5px;
    letter-spacing: 1px;
}

.nav-button {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.telegram-login-wrap {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.sidebar-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 10px;
    background: var(--surface-2);
}

.user-avatar,
.user-avatar-image {
    width: 27px;
    height: 27px;
    border-radius: 9px;
}

.user-avatar {
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 10px;
    background: var(--primary);
    color: #fff;
}

.user-avatar-image {
    object-fit: cover;
    border: 1px solid var(--border);
}

.user-name {
    font-weight: 700;
    font-size: 10px;
    line-height: 1.2;
}

.user-role {
    font-size: 9px;
    color: var(--muted);
    margin-top: 1px;
}

/* =========================================================
   MAIN LAYOUT
========================================================= */

.app-main {
    flex: 1;
    min-width: 0;
}

/* =========================================================
   DEFAULT TOPBAR
========================================================= */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 12px 15px 7px;
    border-bottom: 1px solid var(--border);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 9px;
}

.page-title {
    font-size: 15px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
    font-weight: 800;
}

.page-subtitle {
    margin: 3px 0 0;
    font-size: 9px;
    color: var(--muted);
    max-width: 384px;
}

.topbar-actions {
    display: flex;
    gap: 7px;
    align-items: center;
}

/* =========================================================
   BUTTONS
========================================================= */

.icon-btn,
.theme-btn,
.logout-btn,
.primary-btn,
.secondary-btn,
.copy-btn,
.sticky-order-btn,
.store-buy-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.icon-btn {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}

.icon-btn .material-icons-round {
    font-size: 15px;
}

.theme-btn,
.logout-btn,
.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 30px;
    padding: 0 10px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 10px;
}

.theme-btn .material-icons-round,
.logout-btn .material-icons-round,
.primary-btn .material-icons-round,
.secondary-btn .material-icons-round {
    font-size: 14px;
}

.theme-btn {
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}

.logout-btn {
    background: #fb8b8b;
    color: #fff;
}

html[data-theme="dark"] .logout-btn {
    background: #f87171;
    color: #fff;
}

.primary-btn {
    background: var(--primary);
    color: #fff;
    width: 100%;
    justify-content: center;
}

.secondary-btn {
    background: var(--surface-2);
    color: var(--text);
    width: 100%;
    justify-content: center;
    border: 1px solid var(--border);
}

.primary-btn,
.secondary-btn,
.store-buy-btn,
.sticky-order-btn,
.icon-btn,
.store-icon-btn {
    transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.primary-btn:hover,
.store-buy-btn:hover,
.sticky-order-btn:hover,
.icon-btn:hover,
.store-icon-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

/* =========================================================
   PAGE CONTENT
========================================================= */

.page-content {
    padding: 5px 15px 15px;
}

.mt-4 {
    margin-top: 10px;
}

/* =========================================================
   FLASH TOAST
========================================================= */

#flash-container {
    position: fixed;
    top: 17px;
    right: 17px;
    z-index: 9999;
}

.flash-toast {
    background: var(--surface);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 9px;
    margin-bottom: 9px;
    min-width: 176px;
    box-shadow: 0 9px 21px rgba(0, 0, 0, 0.18);
    font-size: 11px;
    border: 1px solid var(--border);
    animation: fadeIn 0.3s ease;
}

.flash-success {
    border-left: 4px solid var(--success);
}

.flash-error {
    border-left: 4px solid var(--danger);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   ALERTS
========================================================= */

.alert {
    padding: 9px 11px;
    border-radius: 9px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 10px;
    border: 1px solid transparent;
}

.alert-success {
    background: var(--success-soft);
    color: var(--success);
    border-color: rgba(5, 150, 105, 0.18);
}

.alert-error {
    background: var(--danger-soft);
    color: var(--danger);
    border-color: rgba(220, 38, 38, 0.18);
}

.alert-warning {
    background: var(--warning-soft);
    color: var(--warning);
    border-color: rgba(217, 119, 6, 0.18);
}

/* =========================================================
   CARDS
========================================================= */

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-head {
    padding: 12px 12px 0;
}

.card-head h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.card-body {
    padding: 12px;
}

/* =========================================================
   STATS
========================================================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: #fff;
}

.stat-icon .material-icons-round {
    font-size: 15px;
}

.bg-blue {
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
}

.bg-purple {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.bg-green {
    background: linear-gradient(135deg, #059669, #10b981);
}

.bg-orange {
    background: var(--orange-soft);
    color: var(--orange);
}

.stat-label {
    font-size: 9px;
    color: var(--muted);
    font-weight: 600;
}

.stat-value {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-top: 1px;
}

/* =========================================================
   CONTENT GRID
========================================================= */

.content-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 10px;
}

/* =========================================================
   CODE BLOCK
========================================================= */

.code-block {
    margin: 0;
    padding: 10px;
    background: #0b1321;
    color: #dbeafe;
    border-radius: 10px;
    overflow: auto;
    font-size: 9px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

html[data-theme="light"] .code-block {
    background: #eef4ff;
    color: #172554;
}

/* =========================================================
   QUICK ACTIONS
========================================================= */

.quick-actions {
    display: grid;
    gap: 8px;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 10px;
    background: var(--surface-2);
    font-weight: 700;
    font-size: 10px;
    transition: 0.18s ease;
    border: 1px solid transparent;
}

.action-card .material-icons-round {
    font-size: 14px;
}

.action-card:hover {
    transform: translateY(-1px);
    border-color: var(--border);
}

/* =========================================================
   TABLES
========================================================= */

.table-wrap {
    overflow: auto;
}

.material-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 448px;
}

.material-table th,
.material-table td {
    text-align: left;
    padding: 9px 8px;
    border-bottom: 1px solid var(--border);
    font-size: 10px;
}

.material-table th {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
}

.empty-state {
    text-align: center;
    color: var(--muted);
    padding: 15px;
    font-size: 10px;
}

/* =========================================================
   PUBLIC GRID DEFAULT
========================================================= */

.public-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.public-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 12px;
    box-shadow: var(--shadow);
}

.public-card h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.public-card p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.public-icon {
    width: 37px;
    height: 37px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary);
}

.public-icon .material-icons-round {
    font-size: 18px;
}

/* =========================================================
   FORMS
========================================================= */

.form-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 10px;
}

.material-form {
    display: grid;
    gap: 10px;
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr 115px;
    gap: 9px;
    margin-bottom: 12px;
}

.form-group {
    display: grid;
    gap: 4px;
}

.form-group label {
    font-size: 9px;
    font-weight: 700;
    color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 34px;
    padding: 9px 10px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    font-size: 10px;
    outline: none;
}

.form-group textarea {
    min-height: 72px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.10);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary);
}

html[data-theme="dark"] .form-group input:focus,
html[data-theme="dark"] .form-group select:focus,
html[data-theme="dark"] .form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(124, 131, 255, 0.14);
}

.form-error {
    color: var(--danger);
    font-size: 9px;
    font-weight: 600;
}

.info-list {
    margin: 0;
    padding-left: 15px;
    color: var(--muted);
    display: grid;
    gap: 7px;
    font-size: 10px;
}

.service-info-box {
    min-height: 37px;
    padding: 9px 10px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    font-size: 10px;
    line-height: 1.6;
}

/* =========================================================
   BADGES
========================================================= */

.badge {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 799px;
    font-size: 9px;
    font-weight: 700;
}

.badge-warning {
    background: var(--warning-soft);
    color: var(--warning);
}

.badge-success {
    background: var(--success-soft);
    color: var(--success);
}

.badge-danger {
    background: var(--danger-soft);
    color: var(--danger);
}

.badge-secondary {
    background: rgba(148, 163, 184, 0.18);
    color: #64748b;
}

html[data-theme="dark"] .badge-secondary {
    color: #cbd5e1;
}

/* =========================================================
   AUTH
========================================================= */

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 14px;
}

.auth-card {
    width: 100%;
    max-width: 288px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 15px;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
}

.auth-links {
    margin-top: 10px;
    display: flex;
    gap: 4px;
    justify-content: center;
    color: var(--muted);
    font-weight: 600;
    font-size: 10px;
}

.auth-links a {
    color: var(--primary);
}

/* =========================================================
   QTY INPUT
========================================================= */

.qty-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface-2);
    height: 37px;
}

.qty-btn {
    width: 37px;
    height: 37px;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.qty-btn:hover {
    background: var(--surface-3);
}

#quantityInput {
    width: 100%;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 12px;
    outline: none;
}

/* =========================================================
   PUBLIC STORE TOPBAR
========================================================= */

.store-topbar {
    height: 49px;
    padding: 8px 12px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 30;
}

.store-topbar-left {
    display: flex;
    align-items: center;
    gap: 9px;
}

.store-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.store-icon-btn .material-icons-round {
    font-size: 17px;
}

.store-brand-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.page-heading {
    padding: 14px 15px 10px;
}

.page-heading h1 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.page-heading p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 10px;
}

/* =========================================================
   PRODUCT / CATEGORY GRID
========================================================= */

.store-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.store-product-card {
    min-height: 136px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 9px 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    animation: fadeInUp 0.35s ease both;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.store-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.store-product-image {
    width: 35px;
    height: 35px;
    border-radius: 11px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--primary);
    display: grid;
    place-items: center;
    margin-bottom: 5px;
    overflow: hidden;
}

.store-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.08) brightness(1.05) saturate(1.12);
}

.store-product-image .material-icons-round {
    font-size: 18px;
}

.store-product-card h3 {
    width: 100%;
    margin: 4px 0 0;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
    line-height: 1.35;
    text-transform: uppercase;
}

.store-product-card p {
    width: 100%;
    margin: 4px 0;
    color: var(--muted);
    font-size: 8px;
    text-align: center;
    line-height: 1.4;
}

.store-buy-btn {
    width: 100%;
    height: 26px;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 9px;
    font-weight: 800;
    margin-top: auto;
}

.store-buy-btn .material-icons-round {
    font-size: 13px;
}

/* =========================================================
   IMAGE CATEGORY STYLE
========================================================= */

.store-home-hero {
    margin-bottom: 12px;
    padding: 18px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, var(--primary-soft), transparent 40%),
        linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.store-home-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 10px;
}

.store-home-badge .material-icons-round {
    font-size: 15px;
}

.store-home-hero h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.store-home-hero p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.store-home-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.store-home-stats div {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.store-home-stats .material-icons-round {
    font-size: 20px;
    color: var(--primary);
}

.store-home-stats strong {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 900;
}

.store-home-stats small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-top: 1px;
}

.section-title-row {
    margin: 4px 0 12px;
}

.section-title-row h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-title-row p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.oura-card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.oura-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 131, 255, .45);
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.oura-image-wrap img {
    filter: brightness(1.05) contrast(1.08) saturate(1.12);
    transition: transform .35s ease, filter .35s ease;
}

.oura-card:hover img {
    transform: scale(1.06);
    filter: brightness(1.12) contrast(1.12) saturate(1.18);
}

.oura-card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 20%,
        rgba(255,255,255,.18) 45%,
        transparent 65%
    );
    transform: translateX(-120%);
    transition: .6s ease;
}

.oura-card:hover .oura-card-shine {
    transform: translateX(120%);
}

.oura-product-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(124, 131, 255, .9);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    margin-bottom: 6px;
}

.oura-product-count .material-icons-round {
    font-size: 12px;
}

.oura-card-action {
    margin-top: 7px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.oura-card-action .material-icons-round {
    font-size: 14px;
}

@media (max-width: 520px) {
    .store-home-hero {
        padding: 15px;
        border-radius: 18px;
    }

    .store-home-hero h1 {
        font-size: 19px;
    }

    .store-home-stats {
        gap: 8px;
    }

    .store-home-stats div {
        padding: 10px 7px;
        border-radius: 14px;
    }

    .section-title-row h2 {
        font-size: 16px;
    }
}

.oura-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.oura-card {
    position: relative;
    display: block;
    border-radius: 17px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
    aspect-ratio: 3 / 4.25;
    animation: fadeInUp 0.35s ease both;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.oura-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.oura-image-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--surface-2);
}

.oura-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.08) brightness(1.06) saturate(1.13);
    transition: transform 0.45s ease, filter 0.3s ease;
}

.oura-card:hover .oura-image-wrap img {
    transform: scale(1.045);
    filter: contrast(1.12) brightness(1.08) saturate(1.18);
}

.oura-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    color: var(--primary);
}

.oura-placeholder .material-icons-round {
    font-size: 35px;
}

.oura-card-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 35px 9px 10px;
    background: linear-gradient(to top, rgba(8, 17, 31, 0.82), rgba(8, 17, 31, 0.12), transparent);
    color: #fff;
}

.oura-card-overlay h3 {
    margin: 0;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
}

.oura-card-overlay p {
    margin: 4px 0 0;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   DETAIL HERO
========================================================= */

.game-hero,
.product-hero {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 12px;
    animation: fadeInUp 0.35s ease both;
}

.game-banner,
.product-banner {
    height: 144px;
    background: var(--surface-2);
    overflow: hidden;
}

.game-banner img,
.product-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.08) brightness(1.05) saturate(1.12);
    image-rendering: auto;
    transition: transform 0.45s ease, filter 0.3s ease;
}

.game-banner:hover img,
.product-banner:hover img {
    transform: scale(1.04);
    filter: contrast(1.12) brightness(1.08) saturate(1.16);
}

.game-info {
    padding: 0 14px 12px;
    display: flex;
    align-items: end;
    gap: 12px;
    margin-top: -44px;
    position: relative;
    z-index: 2;
}

.game-icon {
    width: 79px;
    height: 79px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--surface);
    background: var(--surface-2);
    display: grid;
    place-items: center;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.game-icon img,
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.08) brightness(1.05) saturate(1.1);
}

.game-info h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.game-info p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 10px;
}

.game-benefits,
.product-features {
    display: flex;
    justify-content: space-around;
    gap: 7px;
    padding: 10px 12px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
}

.game-benefits span,
.product-features span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* =========================================================
   PRODUCT INFO
========================================================= */

.product-info {
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.product-thumb {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface-2);
}

.product-title {
    font-size: 13px;
    font-weight: 800;
}

.product-sub {
    font-size: 10px;
    color: var(--muted);
}

/* =========================================================
   TABS
========================================================= */

.store-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 5px;
    border-radius: 15px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}

.store-tabs button {
    height: 35px;
    border: none;
    border-radius: 11px;
    background: transparent;
    color: var(--text);
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.store-tabs button:hover {
    background: var(--surface-2);
}

.store-tabs button.active {
    background: var(--primary);
    color: #fff;
}

/* =========================================================
   ORDER SECTION
========================================================= */

.order-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 12px;
    animation: fadeInUp 0.35s ease both;
}

.order-step {
    display: flex;
    align-items: center;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}

.step-number {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    font-size: 17px;
    font-weight: 900;
}

.step-title {
    padding: 0 12px;
    font-size: 12px;
    font-weight: 900;
}

.order-form-grid {
    padding: 12px;
    display: grid;
    gap: 10px;
}

.package-grid {
    padding: 12px;
    display: grid;
    gap: 9px;
}

.package-card,
.selected-product-box {
    border: 1px solid var(--border);
    background: var(--surface-2);
    border-radius: 12px;
    padding: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    transition: 0.2s ease;
}

.package-card:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.package-card h3,
.selected-product-box strong {
    margin: 0;
    font-size: 11px;
    font-weight: 900;
}

.package-card p,
.selected-product-box p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 9px;
}

.selected-product-box {
    margin: 12px;
}

.package-option {
    cursor: pointer;
}

.package-option input {
    display: none;
}

.package-option:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.package-option:has(input:checked) h3,
.package-option:has(input:checked) strong {
    color: var(--primary);
}

.sticky-order-btn {
    width: 100%;
    height: 42px;
    border-radius: 13px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    margin-bottom: 15px;
}

/* =========================================================
   PAYMENT
========================================================= */

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    padding: 12px;
}

.payment-item {
    border: 1px solid var(--border);
    background: var(--surface-2);
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: 0.2s ease;
}

.payment-item:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.payment-item input {
    accent-color: var(--primary);
}

/* =========================================================
   ORDER HERO BANNER - MARKETPLACE STYLE
========================================================= */

.order-hero {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
}

.order-hero-banner {
    position: relative;
    height: 124px;
    background: var(--surface-2);
    overflow: hidden;
}

.order-hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.04), rgba(0,0,0,0.22)),
        linear-gradient(to top, rgba(8,17,31,0.45), transparent 55%);
    pointer-events: none;
}

.order-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: contrast(1.06) brightness(1.07) saturate(1.12);
}

.order-hero-info {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 0 12px 11px;
    margin-top: -42px;
    min-height: 75px;
    background: var(--surface);
    z-index: 2;
}

.order-hero-info::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, var(--primary-soft), transparent 62%);
    opacity: .75;
    pointer-events: none;
}

.order-hero-image,
.order-hero-text {
    position: relative;
    z-index: 2;
}

.order-hero-image {
    width: 69px;
    height: 69px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid var(--surface);
    background: var(--surface-2);
    display: grid;
    place-items: center;
    color: var(--primary);
    box-shadow: var(--shadow);
    flex: 0 0 auto;
}

.order-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: contrast(1.08) brightness(1.06) saturate(1.12);
}

.order-hero-text {
    padding-bottom: 6px;
    min-width: 0;
}

.order-hero-text h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.order-hero-text p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 9px;
    font-weight: 600;
}

.order-hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 9px 10px;
    border-top: 1px solid var(--border);
    color: var(--text);
    font-size: 9px;
    font-weight: 800;
    background: var(--surface);
}

.order-hero-benefits span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

@media (max-width: 384px) {
    .order-hero-banner {
        height: 116px;
    }

    .order-hero-info {
        margin-top: -38px;
        min-height: 69px;
        padding: 0 10px 9px;
        gap: 9px;
    }

    .order-hero-image {
        width: 61px;
        height: 61px;
        border-radius: 13px;
    }

    .order-hero-text h2 {
        font-size: 11px;
    }

    .order-hero-text p {
        font-size: 9px;
    }

    .order-hero-benefits {
        font-size: 8px;
        padding: 8px 7px;
        gap: 4px;
    }
}

/* =========================================================
   KEY FILTER / COPY
========================================================= */

.key-filter-row {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    align-items: center;
}

.key-search-input {
    flex: 1;
    min-width: 176px;
}

.key-status-select {
    min-width: 120px;
}

.key-code {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
}

.copy-btn {
    background: rgba(79, 70, 229, 0.12);
    color: var(--primary);
    padding: 7px 10px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 700;
}

.copy-btn:hover {
    background: rgba(79, 70, 229, 0.18);
}

html[data-theme="dark"] .copy-btn {
    background: rgba(124, 131, 255, 0.16);
    color: #d7dbff;
}

html[data-theme="dark"] .copy-btn:hover {
    background: rgba(124, 131, 255, 0.24);
}

.payment-main {
    display: grid;
    gap: 3px;
}

.payment-main strong {
    font-size: 10px;
    font-weight: 800;
}

.payment-main small {
    font-size: 9px;
    color: var(--muted);
}

.payment-option input {
    accent-color: var(--primary);
}

.payment-option:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.payment-detail-box {
    margin: 0 12px 12px;
    padding: 11px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface-2);
}

.payment-detail-content {
    display: grid;
    grid-template-columns: 1fr 90px;
    gap: 10px;
    align-items: start;
}

.payment-detail-content h4 {
    margin: 0;
    font-size: 11px;
    font-weight: 900;
}

.payment-detail-content p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.5;
}

.payment-detail-content img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border);
    background: #fff;
}

.wallet-box {
    margin-top: 9px;
    padding: 9px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: grid;
    gap: 7px;
    word-break: break-all;
    font-size: 9px;
    font-weight: 700;
}

@media (max-width: 384px) {
    .payment-detail-content {
        grid-template-columns: 1fr;
    }

    .payment-detail-content img {
        width: 100%;
        height: auto;
        max-height: 176px;
    }
}

/* =========================================================
   ANIMATION
========================================================= */

.fade-in {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(9px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   HELPERS
========================================================= */

.mobile-only {
    display: none;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 960px) {
    .stats-grid,
    .content-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 736px) {
    .sidebar {
        position: fixed;
        left: -100%;
        transition: 0.25s ease;
        width: 192px;
        z-index: 999;
    }

    body.sidebar-open .sidebar {
        left: 0;
    }

    .mobile-only {
        display: inline-grid;
    }

    .topbar {
        padding: 10px 10px 7px;
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .page-content {
        padding: 5px 10px 14px;
    }

    .page-title {
        font-size: 14px;
    }

    .page-subtitle {
        font-size: 9px;
    }

    .theme-btn,
    .logout-btn {
        flex: 1;
        justify-content: center;
    }

    .filter-row {
        grid-template-columns: 1fr;
    }

    .public-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-product-grid,
    .oura-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 448px) {
    .public-grid {
        grid-template-columns: 1fr;
    }

    .oura-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 9px;
    }

    .oura-card {
        border-radius: 13px;
    }

    .oura-card-overlay h3 {
        font-size: 9px;
    }

    .oura-card-overlay p {
        font-size: 8px;
    }

    .game-banner,
    .product-banner {
        height: 120px;
    }

    .game-icon {
        width: 67px;
        height: 67px;
        border-radius: 14px;
    }

    .game-info h2 {
        font-size: 12px;
    }

    .game-benefits,
    .product-features {
        font-size: 9px;
        padding: 9px 7px;
    }
}

@media (max-width: 384px) {
    html,
    body {
        font-size: 10px;
    }

    .page-title {
        font-size: 13px;
    }

    .page-subtitle {
        font-size: 9px;
    }

    .card-head,
    .card-body,
    .stat-card {
        padding-left: 10px;
        padding-right: 10px;
    }

    .stat-value {
        font-size: 12px;
    }

    .theme-btn,
    .logout-btn,
    .primary-btn,
    .secondary-btn {
        height: 30px;
        border-radius: 9px;
        font-size: 9px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 32px;
        font-size: 10px;
    }

    .brand-title {
        font-size: 11px;
    }

    .brand-subtitle {
        font-size: 9px;
    }

    .code-block {
        font-size: 9px;
    }

    .material-table th,
    .material-table td {
        font-size: 9px;
        padding: 8px 7px;
    }

    .store-topbar {
        height: 47px;
        padding: 7px 10px;
    }

    .store-icon-btn {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }

    .store-icon-btn .material-icons-round {
        font-size: 16px;
    }

    .store-brand-title {
        font-size: 12px;
    }

    .page-heading {
        padding: 12px 10px 9px;
    }

    .page-heading h1 {
        font-size: 15px;
    }

    .page-heading p {
        font-size: 9px;
    }

    .store-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .store-product-card {
        min-height: 126px;
        padding: 8px 6px;
        border-radius: 12px;
    }

    .store-product-image {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .store-product-image .material-icons-round {
        font-size: 17px;
    }

    .store-product-card h3 {
        font-size: 8px;
    }

    .store-product-card p {
        font-size: 7px;
    }

    .store-buy-btn {
        height: 24px;
        font-size: 8px;
        border-radius: 9px;
    }

    .store-buy-btn .material-icons-round {
        font-size: 12px;
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }
}

.checkout-page {
    max-width: 448px;
    margin: 0 auto;
    padding: 24px 0 15px;
}

.checkout-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 15px;
}

.checkout-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.checkout-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.checkout-head p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.checkout-dot {
    width: 11px;
    height: 11px;
    border-radius: 799px;
    background: var(--warning);
    box-shadow: 0 0 0 4px var(--warning-soft);
}

.checkout-dot.success {
    background: var(--success);
    box-shadow: 0 0 0 4px var(--success-soft);
}

.checkout-dot.expired {
    background: var(--danger);
    box-shadow: 0 0 0 4px var(--danger-soft);
}

.checkout-timer {
    color: var(--warning);
    font-weight: 900;
    font-size: 15px;
    min-width: 57px;
    text-align: right;
}

.checkout-meta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 12px;
}

.checkout-meta span,
.checkout-info-item span,
.manual-payment-list span {
    display: block;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
}

.checkout-meta strong,
.checkout-info-item strong,
.manual-payment-list strong,
.manual-payment-list a {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 800;
    word-break: break-word;
}

.checkout-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 14px;
}

.checkout-info-item {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 9px;
}

.checkout-qr {
    width: min(100%, 150px);
    margin: 0 auto 12px;
    background: #fff;
    border-radius: 18px;
    padding: 12px;
    min-height: 100px;
    display: grid;
    place-items: center;
}

.checkout-qr img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.checkout-empty {
    color: #334155;
    font-size: 10px;
    text-align: center;
}

.checkout-note {
    text-align: center;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.checkout-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 10px;
    margin: 12px 0;
}

.checkout-spinner {
    width: 15px;
    height: 15px;
    border: 3px solid rgba(148, 163, 184, .25);
    border-top-color: var(--text);
    border-radius: 799px;
    animation: checkoutSpin .9s linear infinite;
}

@keyframes checkoutSpin {
    to {
        transform: rotate(360deg);
    }
}

.checkout-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.checkout-actions.single {
    grid-template-columns: 1fr;
}

.checkout-success {
    display: none;
    margin-top: 14px;
}

.checkout-success h3 {
    margin: 0 0 10px;
    font-size: 13px;
}

.checkout-key {
    border: 1px solid var(--border);
    background: var(--surface-2);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 9px;
}

.checkout-key code {
    display: block;
    word-break: break-all;
    font-size: 10px;
    color: var(--text);
}

.checkout-key small {
    display: block;
    color: var(--muted);
    margin-top: 5px;
    font-size: 9px;
}

.manual-payment-box {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 14px;
    text-align: center;
}

.manual-payment-icon {
    width: 45px;
    height: 45px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    margin: 0 auto 10px;
}

.manual-payment-icon .material-icons-round {
    font-size: 24px;
}

.manual-payment-box h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 900;
}

.manual-payment-box p {
    margin: 7px 0 12px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.manual-payment-list {
    display: grid;
    gap: 8px;
    text-align: left;
    margin-bottom: 12px;
}

.manual-payment-list div {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 11px;
    padding: 9px;
}

.checkout-result-box {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 11px;
    border-radius: 13px;
    margin-top: 12px;
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.checkout-result-box.danger {
    background: var(--danger-soft);
    color: var(--danger);
}

.checkout-result-box strong {
    display: block;
    font-size: 11px;
}

.checkout-result-box p {
    margin: 3px 0 0;
    font-size: 9px;
}

@media (max-width: 384px) {
    .checkout-page {
        padding: 17px 0 12px;
    }

    .checkout-card {
        padding: 13px;
        border-radius: 15px;
    }

    .checkout-info-grid {
        grid-template-columns: 1fr;
    }

    .checkout-qr {
        width: 100%;
        padding: 10px;
        min-height: 100px;
    }

    .checkout-actions {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PAGINATION FIX
========================================================= */

.pagination,
nav[role="navigation"] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--text);
}

nav[role="navigation"] svg {
    width: 16px !important;
    height: 16px !important;
    display: inline-block;
}

nav[role="navigation"] a,
nav[role="navigation"] span {
    color: var(--text);
    text-decoration: none;
}

nav[role="navigation"] a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-weight: 700;
}

nav[role="navigation"] span[aria-current="page"] span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    font-weight: 800;
}

nav[role="navigation"] p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 12px;
}

nav[role="navigation"] .hidden {
    display: none !important;
}

@media (max-width: 480px) {
    nav[role="navigation"] {
        font-size: 11px;
    }

    nav[role="navigation"] a {
        min-width: 30px;
        height: 30px;
        border-radius: 9px;
        padding: 0 8px;
    }

    nav[role="navigation"] svg {
        width: 14px !important;
        height: 14px !important;
    }
}
