/* ==========================================================================
   اشکان اسکیت — site.css
   Tokens → base → components → layout → pages. Logical properties only (RTL-first).
   ========================================================================== */

:root {
    --ink: #0e1116;
    --ink-2: #171b22;
    --ink-3: #232a34;
    --lime: #c8ff3d;
    --lime-600: #a9e11c;
    --lime-ink: #1a2300;
    --orange: #ff4d1c;
    --orange-600: #e23c0d;
    --paper: #f6f7f9;
    --surface: #ffffff;
    --surface-2: #f0f2f5;
    --line: #e2e6ec;
    --text: #11151b;
    --muted: #566070;
    --focus: #0b5fff;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgb(14 17 22 / .06), 0 1px 1px rgb(14 17 22 / .04);
    --shadow: 0 10px 30px -12px rgb(14 17 22 / .22);
    --shadow-lg: 0 28px 60px -24px rgb(14 17 22 / .38);
    --header-h: 72px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --bs-body-font-family: Vazirmatn, system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
    --bs-body-bg: var(--paper);
    --bs-body-color: var(--text);
    --bs-border-color: var(--line);
    --bs-link-color-rgb: 14, 17, 22;
    --bs-link-hover-color-rgb: 226, 60, 13;
    --bs-primary: #0e1116;
    --bs-primary-rgb: 14, 17, 22;
    color-scheme: light;
}

[data-bs-theme="dark"] {
    --paper: #0a0c10;
    --surface: #12161c;
    --surface-2: #1a1f27;
    --line: #262d38;
    --text: #eef1f5;
    --muted: #9aa5b5;
    --focus: #7aa7ff;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .5);
    --shadow: 0 12px 32px -14px rgb(0 0 0 / .8);
    --shadow-lg: 0 30px 60px -24px rgb(0 0 0 / .9);
    --bs-body-bg: var(--paper);
    --bs-body-color: var(--text);
    --bs-border-color: var(--line);
    --bs-link-color-rgb: 238, 241, 245;
    --bs-link-hover-color-rgb: 200, 255, 61;
    --bs-secondary-color: var(--muted);
    --bs-tertiary-bg: var(--surface-2);
    color-scheme: dark;
}

/* ---------- base ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    background: var(--paper);
    color: var(--text);
    font-family: var(--bs-body-font-family);
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -.005em;
}

a {
    text-underline-offset: .22em;
}

img, svg, video {
    max-width: 100%;
}

img {
    height: auto;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
    border-radius: 6px;
}

::selection {
    background: var(--lime);
    color: var(--ink);
}

main:focus {
    outline: none;
}

.skip-link {
    position: absolute;
    inset-inline-start: 12px;
    top: -80px;
    z-index: 2000;
    background: var(--lime);
    color: var(--ink);
    padding: .6rem 1rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-weight: 700;
    transition: top .2s;
}

    .skip-link:focus {
        top: 0;
    }

.text-muted, .text-body-secondary {
    color: var(--muted) !important;
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
}

[hidden] {
    display: none !important;
}

[dir="ltr"] {
    unicode-bidi: plaintext;
}

.ltr {
    direction: ltr;
    unicode-bidi: isolate;
}

/* ---------- buttons ---------- */
.btn {
    --bs-btn-border-radius: 999px;
    --bs-btn-font-weight: 700;
    --bs-btn-padding-x: 1.25rem;
    font-weight: 700;
    border-radius: 999px;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, color .18s, border-color .18s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

    .btn:active {
        transform: translateY(1px) scale(.99);
    }

.btn-lg {
    --bs-btn-padding-y: .75rem;
    --bs-btn-padding-x: 1.75rem;
    font-size: 1.05rem;
}

.btn-sm {
    --bs-btn-padding-x: 1rem;
}

.btn-lime {
    background: var(--lime);
    color: var(--lime-ink);
    border: 2px solid var(--lime);
    box-shadow: 0 8px 22px -10px rgb(169 225 28 / .9);
}

    .btn-lime:hover, .btn-lime:focus-visible {
        background: #d6ff68;
        border-color: #d6ff68;
        color: var(--lime-ink);
        transform: translateY(-2px);
        box-shadow: 0 14px 28px -12px rgb(169 225 28 / .95);
    }

.btn-ink {
    background: var(--ink);
    color: #fff;
    border: 2px solid var(--ink);
}

    .btn-ink:hover, .btn-ink:focus-visible {
        background: var(--orange);
        border-color: var(--orange);
        color: #fff;
        transform: translateY(-2px);
    }

[data-bs-theme="dark"] .btn-ink {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--lime-ink);
}

    [data-bs-theme="dark"] .btn-ink:hover {
        background: #d6ff68;
        border-color: #d6ff68;
        color: var(--lime-ink);
    }

.btn-orange {
    background: var(--orange);
    color: #fff;
    border: 2px solid var(--orange);
}

    .btn-orange:hover {
        background: var(--orange-600);
        border-color: var(--orange-600);
        color: #fff;
        transform: translateY(-2px);
    }

.btn-outline-ink {
    border: 2px solid var(--ink);
    color: var(--ink);
    background: transparent;
}

    .btn-outline-ink:hover, .btn-outline-ink:focus-visible {
        background: var(--ink);
        color: #fff;
    }

[data-bs-theme="dark"] .btn-outline-ink {
    border-color: var(--text);
    color: var(--text);
}

    [data-bs-theme="dark"] .btn-outline-ink:hover {
        background: var(--text);
        color: var(--ink);
    }

.btn-ghost {
    background: transparent;
    border: 2px solid var(--line);
    color: var(--text);
}

    .btn-ghost:hover {
        border-color: var(--text);
        color: var(--text);
    }

.btn-outline-light {
    border-width: 2px;
}

.btn[disabled], .btn.disabled {
    opacity: .55;
    transform: none;
    box-shadow: none;
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.25rem;
    position: relative;
    transition: background-color .18s, color .18s, transform .18s var(--ease);
    text-decoration: none;
    cursor: pointer;
}

    .icon-btn:hover {
        background: var(--surface-2);
        color: inherit;
    }

.icon-btn-sm {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

/* theme toggle icons */
.theme-icon-dark {
    display: none;
}

[data-bs-theme="dark"] .theme-icon-light {
    display: none;
}

[data-bs-theme="dark"] .theme-icon-dark {
    display: inline;
}

/* ---------- topbar ---------- */
.topbar {
    background: var(--ink);
    color: #c5ccd8;
    font-size: .82rem;
}

    .topbar a, .topbar span {
        color: inherit;
        text-decoration: none;
    }

        .topbar a:hover {
            color: var(--lime);
        }

.topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    gap: 1rem;
}

.topbar-info, .topbar-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.topbar i {
    margin-inline-end: .35rem;
    color: var(--lime);
}

.topbar .icon-btn {
    color: #fff;
}

    .topbar .icon-btn:hover {
        background: rgb(255 255 255 / .1);
    }

    .topbar .icon-btn i {
        margin: 0;
        color: inherit;
    }

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.header-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--text);
    text-decoration: none;
    flex-shrink: 0;
}

    .brand:hover {
        color: var(--text);
    }

    .brand img {
        border-radius: 12px;
    }

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

    .brand-text strong {
        font-weight: 900;
        font-size: 1.15rem;
        letter-spacing: -.01em;
    }

    .brand-text small {
        color: var(--muted);
        font-size: .72rem;
    }

.main-nav {
    margin-inline-start: .5rem;
    flex: none;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: .1rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link, .nav-caret {
    background: none;
    border: 0;
    color: var(--text);
    font-weight: 600;
    font-size: .95rem;
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
    gap: .4rem;
    padding: .55rem .8rem;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s, color .18s;
}

    .nav-link i:not(.caret) {
        color: var(--orange);
        font-size: 1.05rem;
    }

    .nav-link:hover, .nav-caret:hover, .nav-item:focus-within > .nav-link, .nav-item.open > .nav-link {
        background: var(--surface-2);
        color: var(--text);
    }

    .nav-link.active {
        background: var(--ink);
        color: #fff;
    }

        .nav-link.active i:not(.caret) {
            color: var(--lime);
        }

[data-bs-theme="dark"] .nav-link.active {
    background: var(--lime);
    color: var(--lime-ink);
}

    [data-bs-theme="dark"] .nav-link.active i:not(.caret) {
        color: var(--lime-ink);
    }

.nav-caret {
    padding: .55rem .35rem;
    margin-inline-start: -.5rem;
}

.caret {
    font-size: .7rem;
    transition: transform .2s var(--ease);
}

.nav-item:hover > .nav-link .caret, .nav-item:hover > .nav-caret .caret, .nav-item.open .caret {
    transform: rotate(180deg);
}

.drop, .mega {
    position: absolute;
    top: 100%;
    z-index: 20;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}

.drop {
    inset-inline-start: 0;
    min-width: 240px;
    list-style: none;
    margin: .35rem 0 0;
    padding: .5rem;
}

    .drop::before, .mega::before {
        content: "";
        position: absolute;
        inset-inline: 0;
        top: -.5rem;
        height: .5rem;
    }

    .drop a {
        display: flex;
        align-items: center;
        gap: .65rem;
        padding: .6rem .8rem;
        border-radius: var(--radius-sm);
        color: var(--text);
        text-decoration: none;
        font-weight: 500;
    }

        .drop a i {
            color: var(--orange);
            font-size: 1.1rem;
        }

        .drop a:hover, .drop a:focus-visible {
            background: var(--surface-2);
        }

.has-drop:hover > .drop, .has-drop:focus-within > .drop, .has-drop.open > .drop,
.has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.open > .mega {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.has-mega {
    position: static;
}

.mega {
    inset-inline: 0;
    margin: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border-top: 0;
}

    .mega::before {
        top: -28px;
        height: 28px;
    }

.mega-inner {
    display: grid;
    grid-template-columns: 230px 1fr 280px;
    gap: 2rem;
    padding-block: 1.75rem;
}

.mega-title {
    font-size: .78rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .75rem;
}

.mega-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .15rem;
}

    .mega-links a {
        display: flex;
        gap: .6rem;
        align-items: center;
        padding: .55rem .7rem;
        border-radius: var(--radius-sm);
        color: var(--text);
        text-decoration: none;
        font-weight: 600;
    }

        .mega-links a i {
            color: var(--orange);
        }

        .mega-links a:hover {
            background: var(--surface-2);
        }

.mega-group-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 1.5rem;
}

.mega-group-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    margin-bottom: .35rem;
}

    .mega-group-title i {
        color: var(--orange);
    }

    .mega-group-title small {
        margin-inline-start: auto;
        background: var(--surface-2);
        border-radius: 999px;
        padding: 0 .55rem;
        color: var(--muted);
        font-weight: 600;
    }

.mega-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-group li a {
    display: block;
    padding: .15rem 0;
    color: var(--muted);
    text-decoration: none;
    font-size: .9rem;
}

    .mega-group li a:hover {
        color: var(--orange);
    }

.mega-promo {
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

    .mega-promo::after {
        content: "";
        position: absolute;
        inset-inline-end: -40px;
        bottom: -40px;
        width: 140px;
        height: 140px;
        background: repeating-linear-gradient(135deg, var(--lime) 0 6px, transparent 6px 14px);
        opacity: .18;
        border-radius: 50%;
    }

    .mega-promo p {
        color: #c5ccd8;
        font-size: .88rem;
        margin: 0;
    }

.promo-chip, .vip-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--lime);
    color: var(--lime-ink);
    border-radius: 999px;
    padding: .1rem .7rem;
    font-size: .75rem;
    font-weight: 800;
}

/* ---------- header search ---------- */
.header-search {
    position: relative;
    flex: 1 1 260px;
    max-width: 420px;
    margin-inline-start: auto;
    display: none;
    align-items: center;
}

@media (min-width: 992px) {
    .header-search {
        display: flex;
    }
}
/* UI-001: on wide screens the search opens under the header (the menu needs the row); site.js then drops the menu icons and the tagline
   (.nav-tight) and finally switches to the drawer (.nav-compact) when the admin-editable menu still does not fit */
.search-toggle {
    display: none;
}

@media (min-width: 992px) {
    .header-row {
        position: relative;
    }

        .header-row > * {
            flex-shrink: 0;
        }

    .search-toggle {
        display: inline-grid;
        margin-inline-start: auto;
    }

    .desktop-search {
        display: none;
        position: absolute;
        top: 100%;
        inset-inline: 0;
        max-width: none;
        margin: 0;
        padding: .75rem;
        background: var(--surface);
        border: 1px solid var(--line);
        border-top: 0;
        border-radius: 0 0 var(--radius) var(--radius);
        box-shadow: var(--shadow-lg);
    }

    .site-header.search-open .desktop-search {
        display: flex;
    }

    .desktop-search .header-search-icon {
        inset-inline-start: 1.75rem;
    }

    .desktop-search .voice-btn {
        inset-inline-end: 1.1rem;
    }
}

.site-header.nav-tight .nav-link i:not(.caret), .site-header.nav-tight .brand-text small {
    display: none !important;
}

.site-header.nav-tight .nav-link {
    padding-inline: .55rem;
    font-size: .9rem;
}

.site-header.nav-compact .main-nav {
    display: none !important;
}

.site-header.nav-compact [data-menu-toggle] {
    display: inline-grid !important;
}

.header-search-icon {
    position: absolute;
    inset-inline-start: 1rem;
    color: var(--muted);
    pointer-events: none;
}

.header-search-input {
    width: 100%;
    height: 44px;
    border: 2px solid var(--line);
    background: var(--surface-2);
    color: var(--text);
    border-radius: 999px;
    padding-inline: 2.7rem 2.9rem;
    font-size: .92rem;
    transition: border-color .18s, background-color .18s, box-shadow .18s;
}

    .header-search-input::placeholder {
        color: var(--muted);
    }

    .header-search-input:focus {
        outline: none;
        border-color: var(--ink);
        background: var(--surface);
        box-shadow: 0 0 0 4px rgb(200 255 61 / .55);
    }

[data-bs-theme="dark"] .header-search-input:focus {
    border-color: var(--lime);
}

.voice-btn {
    position: absolute;
    inset-inline-end: .35rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: var(--ink);
    color: var(--lime);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .18s var(--ease), background-color .18s;
}

    .voice-btn:hover {
        transform: scale(1.08);
    }

    .voice-btn.is-listening {
        background: var(--orange);
        color: #fff;
        animation: pulse 1.1s infinite;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgb(255 77 28 / .55);
    }

    70% {
        box-shadow: 0 0 0 12px rgb(255 77 28 / 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgb(255 77 28 / 0);
    }
}

.suggest-box {
    position: absolute;
    top: calc(100% + .5rem);
    inset-inline: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 40;
    overflow: hidden;
    max-height: 70vh;
    overflow-y: auto;
}

.suggest-item {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .6rem .9rem;
    color: var(--text);
    text-decoration: none;
}

    .suggest-item:hover, .suggest-item.is-active {
        background: var(--surface-2);
        color: var(--text);
    }

    .suggest-item img {
        width: 44px;
        height: 44px;
        object-fit: cover;
        border-radius: 10px;
        background: var(--surface-2);
    }

    .suggest-item small {
        color: var(--muted);
        display: block;
        line-height: 1.4;
    }

.suggest-type {
    margin-inline-start: auto;
    font-size: .7rem;
    font-weight: 800;
    color: var(--muted);
    background: var(--surface-2);
    border-radius: 999px;
    padding: .1rem .55rem;
}

.suggest-empty {
    padding: .9rem;
    color: var(--muted);
    font-size: .9rem;
}

/* ---------- user area ---------- */
.user-area {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-inline-start: auto;
}

@media (min-width: 992px) {
    .user-area {
        margin-inline-start: 0;
    }
}

.cart-btn {
    font-size: 1.3rem;
}

.badge-dot {
    position: absolute;
    top: 2px;
    inset-inline-end: 0;
    min-width: 19px;
    height: 19px;
    padding-inline: 4px;
    background: var(--orange);
    color: #fff;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    border: 2px solid var(--surface);
}

.user-toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--surface-2);
    border: 2px solid transparent;
    border-radius: 999px;
    padding: 3px 4px;
    padding-inline-end: .5rem;
    color: var(--text);
    cursor: pointer;
    transition: border-color .18s;
}

    .user-toggle:hover, .user-toggle[aria-expanded="true"] {
        border-color: var(--ink);
    }

[data-bs-theme="dark"] .user-toggle:hover, [data-bs-theme="dark"] .user-toggle[aria-expanded="true"] {
    border-color: var(--lime);
}

.user-name {
    font-weight: 700;
    font-size: .88rem;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.avatar {
    border-radius: 50%;
    object-fit: cover;
    background: var(--surface-2);
    border: 2px solid var(--lime);
}

.user-menu {
    min-width: 270px;
    padding: .5rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    background: var(--surface);
    margin-top: .5rem !important;
}

.user-menu-head {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .6rem .6rem .8rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: .4rem;
}

    .user-menu-head strong {
        display: block;
    }

.user-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    border-radius: var(--radius-sm);
    padding: .5rem .7rem;
    font-weight: 500;
    color: var(--text);
}

    .user-menu .dropdown-item i {
        color: var(--orange);
        font-size: 1.05rem;
        width: 1.2rem;
        text-align: center;
    }

    .user-menu .dropdown-item:hover {
        background: var(--surface-2);
    }

    .user-menu .dropdown-item.text-danger i {
        color: inherit;
    }

.user-menu form {
    margin: 0;
}

/* ---------- mobile menu ---------- */
.mobile-menu {
    width: min(88vw, 360px);
    background: var(--surface);
}

    .mobile-menu .offcanvas-header {
        border-bottom: 1px solid var(--line);
    }

.mobile-search {
    display: flex !important;
    max-width: none;
    margin: 0 0 1rem;
}

.m-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .15rem;
}

.m-link, .m-group > summary {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .8rem .9rem;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    list-style: none;
}

    .m-group > summary::-webkit-details-marker {
        display: none;
    }

    .m-link i, .m-group > summary > i:first-child {
        color: var(--orange);
        font-size: 1.15rem;
    }

    .m-group > summary .caret {
        margin-inline-start: auto;
    }

.m-group[open] > summary .caret {
    transform: rotate(180deg);
}

.m-link:hover, .m-group > summary:hover {
    background: var(--surface-2);
}

.m-group ul {
    list-style: none;
    margin: 0 0 .5rem;
    padding: 0 1rem 0 0;
    border-inline-start: 2px solid var(--line);
    margin-inline-start: 1.4rem;
    padding-inline: .5rem 0;
}

    .m-group ul a {
        display: flex;
        gap: .55rem;
        align-items: center;
        padding: .55rem .7rem;
        color: var(--text);
        text-decoration: none;
        border-radius: var(--radius-sm);
        font-weight: 500;
    }

        .m-group ul a:hover {
            background: var(--surface-2);
        }

        .m-group ul a i {
            color: var(--muted);
        }

.m-sub a {
    font-size: .9rem;
    color: var(--muted) !important;
}

.m-extra {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    display: grid;
    gap: .25rem;
}

    .m-extra a, .m-extra button {
        display: flex;
        gap: .7rem;
        align-items: center;
        padding: .7rem .9rem;
        border: 0;
        background: none;
        color: var(--text);
        text-decoration: none;
        border-radius: var(--radius-sm);
        font-weight: 600;
        text-align: start;
    }

        .m-extra a:hover, .m-extra button:hover {
            background: var(--surface-2);
        }

    .m-extra i {
        color: var(--orange);
    }

/* ---------- hero slider ---------- */
.hero {
    position: relative;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.hero-track {
    position: relative;
    min-height: clamp(380px, 56vw, 620px);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s var(--ease), visibility .8s;
    display: flex;
    align-items: center;
}

    .hero-slide.is-active {
        opacity: 1;
        visibility: visible;
        z-index: 1;
    }

.hero-media, .hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide.is-active .hero-media img {
    animation: kenburns 9s ease-out both;
}

@keyframes kenburns {
    from {
        transform: scale(1.06);
    }

    to {
        transform: scale(1);
    }
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgb(14 17 22 / .86) 0%, rgb(14 17 22 / .55) 45%, rgb(14 17 22 / .1) 100%);
}

.hero-slide.theme-dark {
    color: var(--ink);
}

    .hero-slide.theme-dark .hero-shade {
        background: linear-gradient(270deg, rgb(246 247 249 / .9) 0%, rgb(246 247 249 / .55) 45%, rgb(246 247 249 / 0) 100%);
    }
/* Keep the slider content centered in both LTR and RTL layouts. */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-copy {
    width: min(100%, 760px);
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

    .hero-copy h1, .hero-copy h2 {
        font-size: clamp(1.8rem, 4.6vw, 3.5rem);
        font-weight: 900;
        line-height: 1.3;
        margin-bottom: 1rem;
        text-wrap: balance;
    }

    .hero-copy p {
        font-size: clamp(1rem, 1.6vw, 1.2rem);
        opacity: .92;
        margin: 0 auto 1.5rem;
        max-width: 52ch;
    }

.hero-slide.is-active .hero-copy > * {
    animation: rise .7s var(--ease) both;
}

.hero-slide.is-active .hero-copy > :nth-child(2) {
    animation-delay: .1s;
}

.hero-slide.is-active .hero-copy > :nth-child(3) {
    animation-delay: .2s;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hero-controls {
    position: absolute;
    inset-inline: 0;
    bottom: 1.25rem;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-inline: auto;
}

.hero-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgb(255 255 255 / .5);
    background: rgb(14 17 22 / .45);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background-color .18s, color .18s, border-color .18s;
}

    .hero-btn:hover, .hero-btn:focus-visible {
        background: var(--lime);
        color: var(--ink);
        border-color: var(--lime);
    }

.hero-dots {
    display: flex;
    gap: .45rem;
    margin-inline: .35rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: rgb(255 255 255 / .5);
    cursor: pointer;
    transition: width .3s var(--ease), background-color .3s;
}

    .hero-dot.is-active {
        width: 34px;
        background: var(--lime);
    }

.hero-pause {
    margin-inline-start: auto;
}

.hero-fallback {
    padding-block: clamp(3rem, 9vw, 6rem);
    background: radial-gradient(900px 400px at 85% 0%, rgb(200 255 61 / .18), transparent 60%), var(--ink);
}

.hero-stripes, .stripes {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, rgb(255 255 255 / .04) 0 12px, transparent 12px 28px);
    pointer-events: none;
}

.hero-fallback-inner {
    position: relative;
    width: min(100%, 760px);
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.hero-fallback h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 900;
}

.hero-kicker {
    display: inline-block;
    background: var(--lime);
    color: var(--lime-ink);
    font-weight: 800;
    border-radius: 999px;
    padding: .15rem .9rem;
    font-size: .85rem;
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.5rem;
}

/* ---------- badges / chips ---------- */
.badge-x {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    border-radius: 999px;
    padding: .1rem .65rem;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.7;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.badge-free {
    background: var(--lime);
    color: var(--lime-ink);
}

.badge-vip {
    background: var(--ink);
    color: var(--lime);
}

.badge-deaf {
    background: #2457ff;
    color: #fff;
}

.badge-state-preparing {
    background: #0b6bcb;
    color: #fff;
}

.badge-state-running {
    background: var(--lime);
    color: var(--lime-ink);
}

.badge-state-finished {
    background: var(--surface-2);
    color: var(--text);
}

.badge-state-unavailable {
    background: #b42318;
    color: #fff;
}

.course-state-note {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    background: var(--surface-2);
}

    .course-state-note p {
        margin: .25rem 0 0;
        font-size: .9rem;
    }

.badge-cat {
    background: var(--surface-2);
    color: var(--muted);
    box-shadow: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    padding: .2rem .8rem;
    font-size: .85rem;
    color: var(--text);
    text-decoration: none;
}

    .chip:hover {
        border-color: var(--text);
        color: var(--text);
    }

    .chip.is-active {
        background: var(--ink);
        color: #fff;
        border-color: var(--ink);
    }

[data-bs-theme="dark"] .chip.is-active {
    background: var(--lime);
    color: var(--lime-ink);
    border-color: var(--lime);
}

/* ---------- cards ---------- */
.course-card, .article-card, .podcast-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .course-card:hover, .article-card:hover, .podcast-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow);
        border-color: color-mix(in srgb, var(--text) 25%, var(--line));
    }

.course-card-media, .article-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-2);
}

    .course-card-media img, .article-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s var(--ease);
    }

.course-card:hover .course-card-media img, .article-card:hover .article-card-media img {
    transform: scale(1.05);
}

.course-badges {
    position: absolute;
    top: .75rem;
    inset-inline-start: .75rem;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.course-card-body, .article-card-body, .podcast-body {
    padding: 1rem 1.1rem .5rem;
    flex: 1;
}

.course-meta, .article-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    color: var(--muted);
    flex-wrap: wrap;
}

.dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    opacity: .6;
}

.course-title {
    font-size: 1.05rem;
    margin: .4rem 0;
}

    .course-title a, .article-card h3 a, .podcast-card h3 a {
        color: var(--text);
        text-decoration: none;
    }

        .course-title a:hover {
            color: var(--orange);
        }

.course-teacher {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: .5rem;
}

.course-stats {
    display: flex;
    gap: 1rem;
    font-size: .8rem;
    color: var(--muted);
    flex-wrap: wrap;
}

.course-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1.1rem 1rem;
    border-top: 1px dashed var(--line);
    margin-top: .75rem;
}

.price {
    font-weight: 900;
    font-size: 1.02rem;
}

.article-card h3 {
    font-size: 1.05rem;
    margin: .4rem 0;
}

.podcast-card {
    flex-direction: row;
    align-items: stretch;
}

.podcast-cover {
    position: relative;
    width: 120px;
    flex-shrink: 0;
    background: var(--ink);
}

    .podcast-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.play-ring {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--ink);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow);
}

/* ---------- sections ---------- */
.section {
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.section-alt {
    background: var(--surface);
    border-block: 1px solid var(--line);
}

.section-dark {
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

    .section-head h2 {
        font-size: clamp(1.4rem, 3vw, 2rem);
        margin: 0;
        position: relative;
        padding-inline-start: 1.1rem;
    }

        .section-head h2::before {
            content: "";
            position: absolute;
            inset-inline-start: 0;
            top: .25em;
            bottom: .25em;
            width: 6px;
            border-radius: 6px;
            background: linear-gradient(var(--lime), var(--orange));
        }

    .section-head p {
        margin: .25rem 0 0;
        color: var(--muted);
    }

.link-more {
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    gap: .4rem;
    align-items: center;
}

    .link-more:hover {
        color: var(--orange);
    }

    .link-more i {
        transition: transform .2s var(--ease);
    }

    .link-more:hover i {
        transform: translateX(-4px);
    }

.page-hero {
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding-block: clamp(2rem, 5vw, 3.5rem);
    isolation: isolate;
}

    .page-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient(135deg, rgb(255 255 255 / .04) 0 12px, transparent 12px 28px);
        z-index: -1;
    }

    .page-hero::after {
        content: "";
        position: absolute;
        inset-inline-end: -80px;
        top: -80px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: radial-gradient(circle, rgb(200 255 61 / .35), transparent 70%);
        z-index: -1;
    }

    .page-hero h1 {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
        margin-bottom: .5rem;
    }

    .page-hero p {
        color: #c5ccd8;
        margin: 0;
        max-width: 60ch;
    }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: .85rem;
    color: #aab3c2;
}

    .breadcrumbs a {
        color: inherit;
        text-decoration: none;
    }

        .breadcrumbs a:hover {
            color: var(--lime);
        }

    .breadcrumbs li + li::before {
        content: "/";
        margin-inline-end: .4rem;
        opacity: .5;
    }

/* ---------- forms ---------- */
.form-control, .form-select {
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    background-color: var(--surface);
    color: var(--text);
    padding: .6rem .9rem;
    transition: border-color .18s, box-shadow .18s;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--ink);
        box-shadow: 0 0 0 4px rgb(200 255 61 / .5);
        background-color: var(--surface);
        color: var(--text);
    }

[data-bs-theme="dark"] .form-control:focus, [data-bs-theme="dark"] .form-select:focus {
    border-color: var(--lime);
}

.form-label {
    font-weight: 700;
    font-size: .92rem;
    margin-bottom: .35rem;
}

.form-text {
    color: var(--muted);
}

.form-check-input:checked {
    background-color: var(--ink);
    border-color: var(--ink);
}

[data-bs-theme="dark"] .form-check-input:checked {
    background-color: var(--lime);
    border-color: var(--lime);
}

.form-check-input:focus {
    box-shadow: 0 0 0 4px rgb(200 255 61 / .5);
    border-color: var(--ink);
}

textarea.form-control {
    min-height: 120px;
}

.field-validation-error, .text-danger.small {
    font-size: .82rem;
}

.input-validation-error {
    border-color: var(--orange) !important;
}

.validation-summary-errors ul {
    margin: 0;
    padding-inline-start: 1.2rem;
}

.auth-card {
    max-width: 480px;
    margin-inline: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(1.25rem, 4vw, 2.25rem);
    position: relative;
    overflow: hidden;
}

    .auth-card::before {
        content: "";
        position: absolute;
        inset-inline: 0;
        top: 0;
        height: 6px;
        background: repeating-linear-gradient(135deg, var(--lime) 0 14px, var(--ink) 14px 28px);
    }

.auth-wrap {
    min-height: 60vh;
    display: grid;
    align-items: center;
    padding-block: clamp(1.5rem, 5vw, 3.5rem);
}

.external-signin {
    margin-top: 1.25rem;
}

.external-signin-sep {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--muted);
    font-size: .85rem;
    margin-bottom: .75rem;
}

    .external-signin-sep::before, .external-signin-sep::after {
        content: "";
        flex: 1;
        border-top: 1px solid var(--line);
    }

.password-field {
    position: relative;
}

    .password-field .form-control {
        padding-inline-end: 2.8rem;
    }

.password-toggle {
    position: absolute;
    inset-inline-end: .35rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: none;
    color: var(--muted);
}

    .password-toggle:hover {
        color: var(--text);
        background: var(--surface-2);
    }

.strength-meter {
    height: 6px;
    border-radius: 999px;
    background: var(--surface-2);
    overflow: hidden;
    margin-top: .4rem;
}

    .strength-meter > span {
        display: block;
        height: 100%;
        width: 0;
        background: var(--orange);
        transition: width .25s var(--ease), background-color .25s;
    }

/* captcha */
.captcha-box {
    background: var(--surface-2);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: .9rem;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.captcha-img {
    flex: 1;
    min-height: 68px;
    border-radius: var(--radius-sm);
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
}

    .captcha-img img {
        width: 100%;
        height: auto;
        max-height: 76px;
        display: block;
    }

.captcha-loading {
    color: #667085;
    font-size: .85rem;
}

/* ---------- pager / alerts / empty / tables ---------- */
.pagination {
    --bs-pagination-border-radius: 999px;
    gap: .3rem;
}

.page-link {
    border-radius: 999px !important;
    border: 1px solid var(--line);
    min-width: 40px;
    text-align: center;
    color: var(--text);
    background: var(--surface);
    font-weight: 600;
}

    .page-link:hover {
        background: var(--surface-2);
        color: var(--text);
    }

.page-item.active .page-link {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

[data-bs-theme="dark"] .page-item.active .page-link {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--lime-ink);
}

.page-item.disabled .page-link {
    background: transparent;
    color: var(--muted);
}

.alert {
    border-radius: var(--radius);
    border-width: 1px;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    border: 2px dashed var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

    .empty-state i {
        font-size: 3rem;
        color: var(--muted);
    }

    .empty-state h3 {
        font-size: 1.15rem;
        margin-top: .5rem;
    }

    .empty-state p {
        color: var(--muted);
        margin: 0;
    }

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text);
    --bs-table-border-color: var(--line);
    --bs-table-striped-bg: var(--surface-2);
    vertical-align: middle;
}

    .table > thead {
        background: var(--surface-2);
    }

        .table > thead th {
            font-size: .82rem;
            color: var(--muted);
            font-weight: 800;
            white-space: nowrap;
        }

.modal-content, .dropdown-menu, .offcanvas {
    background-color: var(--surface);
    color: var(--text);
    border-color: var(--line);
}

.card {
    background: var(--surface);
    border-color: var(--line);
    border-radius: var(--radius);
}

/* ---------- footer ---------- */
.site-footer {
    background: var(--ink);
    color: #c5ccd8;
    margin-top: clamp(2rem, 5vw, 4rem);
    position: relative;
}

.footer-stripe {
    height: 10px;
    background: repeating-linear-gradient(135deg, var(--lime) 0 14px, var(--ink) 14px 28px);
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-block: 2.5rem;
    border-bottom: 1px solid var(--ink-3);
}

    .footer-cta h2 {
        color: #fff;
        font-size: clamp(1.3rem, 3vw, 1.9rem);
        margin: 0 0 .25rem;
    }

    .footer-cta p {
        margin: 0;
    }

.footer-cta-actions {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr) 1.4fr;
    gap: 2rem;
    padding-block: 2.5rem;
}

    .footer-grid h3 {
        color: #fff;
        font-size: 1rem;
        margin-bottom: 1rem;
        position: relative;
        padding-bottom: .6rem;
    }

        .footer-grid h3::after {
            content: "";
            position: absolute;
            inset-inline-start: 0;
            bottom: 0;
            width: 28px;
            height: 3px;
            background: var(--lime);
            border-radius: 3px;
        }

    .footer-grid ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: .5rem;
    }

    .footer-grid a {
        color: #c5ccd8;
        text-decoration: none;
    }

        .footer-grid a:hover {
            color: var(--lime);
        }

.footer-about .brand {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-about .brand-text small {
    color: #9aa5b5;
}

.footer-about p {
    font-size: .92rem;
}

.footer-contact li {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    font-size: .92rem;
}

.footer-contact i {
    color: var(--lime);
    margin-top: .35rem;
}

.footer-contact .btn {
    margin-top: 1rem;
}

.social-list {
    display: flex !important;
    gap: .5rem !important;
    flex-wrap: wrap;
    margin-top: 1rem !important;
}

    .social-list a {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--ink-3);
        color: #fff;
        font-size: 1.1rem;
        transition: background-color .2s, color .2s, transform .2s var(--ease);
    }

        .social-list a:hover {
            background: var(--lime);
            color: var(--ink);
            transform: translateY(-3px);
        }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-block: 1.25rem;
    border-top: 1px solid var(--ink-3);
    font-size: .85rem;
}

    .footer-bottom p {
        margin: 0;
    }

    .footer-bottom .btn-ghost {
        color: #c5ccd8;
        border-color: var(--ink-3);
    }

        .footer-bottom .btn-ghost:hover {
            color: #fff;
            border-color: #fff;
        }

@media (max-width: 991.98px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about, .footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- floating bits ---------- */
.to-top {
    position: fixed;
    inset-inline-start: 1rem;
    bottom: 1rem;
    z-index: 1000;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--ink);
    color: var(--lime);
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .2s var(--ease);
}

    .to-top:hover {
        transform: translateY(-3px);
    }

.toast-stack {
    position: fixed;
    inset-inline-end: 1rem;
    bottom: 1rem;
    z-index: 1090;
    display: grid;
    gap: .5rem;
    width: min(92vw, 360px);
}

.toast-x {
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
    padding: .8rem 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    animation: rise .3s var(--ease) both;
    border-inline-start: 5px solid var(--lime);
}

    .toast-x.is-error {
        border-inline-start-color: var(--orange);
    }

.confirm-dialog {
    border: 0;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    max-width: min(92vw, 420px);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-lg);
}

    .confirm-dialog::backdrop {
        background: rgb(14 17 22 / .6);
        backdrop-filter: blur(3px);
    }

    .confirm-dialog h3 {
        font-size: 1.1rem;
    }

    .confirm-dialog .actions {
        display: flex;
        gap: .5rem;
        justify-content: flex-end;
        margin-top: 1.25rem;
    }

.progress-x {
    height: 8px;
    border-radius: 999px;
    background: var(--surface-2);
    overflow: hidden;
}

    .progress-x > span {
        display: block;
        height: 100%;
        background: linear-gradient(90deg, var(--lime), var(--orange));
        border-radius: inherit;
        transition: width .3s var(--ease);
    }

/* ---------- error pages ---------- */
.error-page {
    text-align: center;
    padding-block: clamp(3rem, 10vw, 6rem);
}

.error-code {
    font-size: clamp(5rem, 18vw, 10rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--ink) 40%, var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -.04em;
}

[data-bs-theme="dark"] .error-code {
    background: linear-gradient(135deg, var(--lime), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
}

/* ---------- header responsive ---------- */
@media (max-width: 1199.98px) {
    .nav-link {
        padding-inline: .6rem;
        font-size: .9rem;
    }

        .nav-link i:not(.caret) {
            display: none;
        }
}

@media (max-width: 991.98px) {
    :root {
        --header-h: 62px;
    }

    .brand-text small {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .hero-slide.is-active .hero-media img {
        animation: none;
    }
}

@media print {
    .topbar, .site-header, .site-footer, .to-top, .toast-stack, .hero-controls {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}
