/* =========================================================
   BregoTech Online Store
   PREMIUM NAVY BLUE 2026
   RTL / Responsive / Glass / Glow
   ========================================================= */

:root {
    --navy-950: #020817;
    --navy-900: #061226;
    --navy-850: #081a35;
    --navy-800: #0b2142;
    --navy-700: #10315f;
    --blue-600: #087cff;
    --blue-500: #1593ff;
    --blue-400: #42b4ff;
    --blue-300: #7bcaff;
    --cyan: #22d3ee;
    --white: #ffffff;
    --text: #eef7ff;
    --text-soft: #a9bfd8;
    --text-muted: #7087a5;
    --border: rgba(130, 190, 255, .13);
    --border-light: rgba(255,255,255,.09);
    --glass: rgba(7, 24, 48, .72);
    --glass-strong: rgba(6, 22, 44, .91);
    --shadow: 0 25px 70px rgba(0, 0, 0, .32);
    --shadow-blue: 0 15px 45px rgba(8, 124, 255, .20);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 25px;
    --radius-xl: 32px;
    --header-height: 82px;
    --transition: all .28s cubic-bezier(.4, 0, .2, 1);
}

/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #176fc7 #020817;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Cairo", sans-serif;
    color: var(--text);
    background: radial-gradient( circle at 10% 10%, rgba(21,147,255,.10), transparent 28% ), radial-gradient( circle at 90% 20%, rgba(34,211,238,.06), transparent 25% ), linear-gradient( 135deg, #020817 0%, #061226 45%, #041a35 100% );
    min-height: 100vh;
    overflow-x: hidden;
}

    body::selection {
        background: var(--blue-500);
        color: white;
    }

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    border: 0;
}

img {
    max-width: 100%;
}

/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020817;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient( 180deg, var(--blue-500), #0757a9 );
    border-radius: 20px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--blue-400);
    }

/* =========================================================
   PAGE ORBS
   ========================================================= */

.bt-page-orb {
    position: fixed;
    pointer-events: none;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .35;
}

.bt-orb-one {
    width: 380px;
    height: 380px;
    top: 5%;
    right: -180px;
    background: rgba(8,124,255,.22);
}

.bt-orb-two {
    width: 300px;
    height: 300px;
    bottom: 8%;
    left: -150px;
    background: rgba(34,211,238,.12);
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: linear-gradient( 180deg, rgba(2,8,23,.96), rgba(4,17,35,.88) );
    border-bottom: 1px solid rgba(123,202,255,.10);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transition: var(--transition);
}

    .site-header::after {
        content: "";
        position: absolute;
        bottom: -1px;
        right: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient( 90deg, transparent, rgba(21,147,255,.7), transparent );
        opacity: .65;
    }

    .site-header.scrolled {
        height: 70px;
        background: rgba(2, 10, 24, .96);
        box-shadow: 0 15px 50px rgba(0,0,0,.25);
    }

    .site-header .container {
        height: 100%;
    }

.site-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* =========================================================
   LOGO
   ========================================================= */

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    transition: var(--transition);
}

    .site-logo:hover {
        transform: translateY(-1px);
    }

.site-logo-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: white;
    background: linear-gradient( 135deg, #087cff, #06499a );
    box-shadow: 0 8px 28px rgba(8,124,255,.32), inset 0 1px 0 rgba(255,255,255,.28);
    position: relative;
    overflow: hidden;
}

    .site-logo-icon::before {
        content: "";
        position: absolute;
        width: 80px;
        height: 25px;
        top: -10px;
        left: -30px;
        transform: rotate(-35deg);
        background: rgba(255,255,255,.18);
    }

    .site-logo-icon i {
        position: relative;
        z-index: 2;
        font-size: 20px;
    }

.site-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

    .site-logo-text strong {
        font-size: 19px;
        font-weight: 900;
        letter-spacing: -.5px;
        background: linear-gradient( 90deg, #ffffff, #77caff );
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .site-logo-text small {
        margin-top: 6px;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: 2.2px;
        color: #6083a8;
    }

/* =========================================================
   MAIN NAV
   ========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    justify-content: center;
}

    .main-nav a {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 11px 15px;
        border-radius: 13px;
        color: #9db5d0;
        font-size: 13px;
        font-weight: 700;
        transition: var(--transition);
    }

        .main-nav a::before {
            content: "";
            position: absolute;
            inset: 4px;
            border-radius: 10px;
            background: linear-gradient( 135deg, rgba(21,147,255,.12), rgba(34,211,238,.04) );
            opacity: 0;
            transition: var(--transition);
            z-index: -1;
        }

        .main-nav a:hover,
        .main-nav a.active {
            color: white;
            transform: translateY(-1px);
        }

            .main-nav a:hover::before,
            .main-nav a.active::before {
                opacity: 1;
            }

        .main-nav a i {
            color: #51b7ff;
            font-size: 13px;
            transition: var(--transition);
        }

        .main-nav a:hover i {
            color: white;
            transform: scale(1.12);
        }

/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-action,
.header-login,
.header-user-trigger {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 11px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #a9c1db;
    background: rgba(255,255,255,.025);
    transition: var(--transition);
    cursor: pointer;
}

    .header-action:hover,
    .header-login:hover,
    .header-user-trigger:hover {
        color: white;
        background: rgba(21,147,255,.10);
        border-color: rgba(66,180,255,.20);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(8,124,255,.12);
    }

.header-action-icon,
.user-avatar {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #8bd0ff;
    background: rgba(8,124,255,.12);
    border: 1px solid rgba(66,180,255,.12);
}

.header-action-label,
.header-login span,
.user-name {
    font-size: 12px;
    font-weight: 700;
}

.cart-action {
    position: relative;
}

.cart-count {
    min-width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    position: absolute;
    top: -3px;
    left: -2px;
    padding: 0 5px;
    border-radius: 20px;
    color: white;
    background: linear-gradient( 135deg, #0b8bff, #0652aa );
    border: 2px solid #041225;
    font-size: 9px;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(8,124,255,.45);
}

    .cart-count.is-empty {
        display: none;
    }

/* =========================================================
   LOGIN
   ========================================================= */

.header-login {
    padding-inline: 15px;
    background: linear-gradient( 135deg, rgba(8,124,255,.16), rgba(8,124,255,.06) );
    border-color: rgba(66,180,255,.15);
}

    .header-login i {
        color: #55baff;
    }

/* =========================================================
   USER MENU
   ========================================================= */

.header-user-menu {
    position: relative;
}

.header-user-trigger {
    background: transparent;
}

.user-chevron {
    font-size: 9px;
    color: #6986a5;
    transition: var(--transition);
}

.header-user-trigger[aria-expanded="true"] .user-chevron {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 210px;
    padding: 8px;
    border-radius: 18px;
    background: linear-gradient( 145deg, rgba(9,29,56,.98), rgba(3,14,30,.98) );
    border: 1px solid rgba(91,172,240,.15);
    box-shadow: 0 25px 70px rgba(0,0,0,.45);
    backdrop-filter: blur(25px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.97);
    transform-origin: top left;
    transition: var(--transition);
}

    .user-dropdown.show,
    .header-user-menu.open .user-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .user-dropdown a,
    .user-dropdown form button {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 11px;
        padding: 12px 13px;
        border-radius: 12px;
        color: #abc0d7;
        background: transparent;
        font-size: 12px;
        font-weight: 700;
        text-align: right;
        transition: var(--transition);
    }

        .user-dropdown a:hover,
        .user-dropdown form button:hover {
            color: white;
            background: rgba(21,147,255,.10);
        }

    .user-dropdown i {
        width: 20px;
        color: #55baff;
        text-align: center;
    }

    .user-dropdown form {
        margin: 0;
    }

/* =========================================================
   MOBILE BUTTON
   ========================================================= */

.mobile-menu-btn {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    border-radius: 13px;
    color: white;
    background: rgba(8,124,255,.10);
    border: 1px solid rgba(66,180,255,.15);
    cursor: pointer;
    transition: var(--transition);
}

    .mobile-menu-btn:hover {
        background: rgba(8,124,255,.18);
        transform: translateY(-2px);
    }

    .mobile-menu-btn i {
        font-size: 17px;
    }

/* =========================================================
   MOBILE NAV
   ========================================================= */

.mobile-nav {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    right: 12px;
    left: 12px;
    z-index: 999;
    padding: 12px;
    border-radius: 22px;
    background: linear-gradient( 145deg, rgba(7,27,53,.98), rgba(2,12,28,.98) );
    border: 1px solid rgba(84,176,255,.15);
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
    backdrop-filter: blur(28px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(.97);
    transition: var(--transition);
}

    .mobile-nav.show,
    .mobile-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 15px;
    margin-bottom: 5px;
    color: #dceeff;
    font-size: 13px;
    font-weight: 800;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

    .mobile-nav-head i {
        color: #46b6ff;
    }

.mobile-nav > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    margin: 3px 0;
    border-radius: 13px;
    color: #9eb7d2;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

    .mobile-nav > a:hover,
    .mobile-nav > a:active {
        color: white;
        background: linear-gradient( 90deg, rgba(8,124,255,.15), rgba(8,124,255,.04) );
        transform: translateX(-3px);
    }

    .mobile-nav > a i {
        width: 24px;
        color: #55baff;
        text-align: center;
    }

/* =========================================================
   SCROLL PROGRESS
   ========================================================= */

.bt-scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    width: 0%;
    height: 3px;
    z-index: 2000;
    background: linear-gradient( 90deg, #087cff, #48c6ff, #22d3ee );
    box-shadow: 0 0 15px rgba(21,147,255,.75);
    transition: width .08s linear;
}

/* =========================================================
   MAIN
   ========================================================= */

#mainContent {
    position: relative;
    min-height: calc(100vh - var(--header-height));
}

/* =========================================================
   GENERAL GLASS CARDS
   ========================================================= */

.glass-card,
.card,
.product-card {
    border: 1px solid var(--border);
    background: linear-gradient( 145deg, rgba(13,38,70,.72), rgba(4,17,35,.72) );
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    border-radius: 13px;
    font-weight: 800;
    transition: var(--transition);
}

.btn-primary {
    color: white;
    background: linear-gradient( 135deg, #087cff, #0754a7 );
    border: 1px solid rgba(126,207,255,.18);
    box-shadow: 0 10px 30px rgba(8,124,255,.22);
}

    .btn-primary:hover {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 16px 38px rgba(8,124,255,.34);
        background: linear-gradient( 135deg, #1593ff, #0864bd );
    }

.btn-outline-primary {
    color: #68c4ff;
    border-color: rgba(66,180,255,.28);
    background: rgba(8,124,255,.05);
}

    .btn-outline-primary:hover {
        color: white;
        background: rgba(8,124,255,.15);
        border-color: rgba(66,180,255,.45);
    }

/* =========================================================
   INPUTS
   ========================================================= */

.form-control,
.form-select {
    min-height: 46px;
    color: #eaf6ff !important;
    background: rgba(2,13,29,.72) !important;
    border: 1px solid rgba(91,170,230,.15) !important;
    border-radius: 12px !important;
    transition: var(--transition);
}

    .form-control::placeholder {
        color: #617994;
    }

    .form-control:focus,
    .form-select:focus {
        border-color: rgba(21,147,255,.65) !important;
        box-shadow: 0 0 0 4px rgba(8,124,255,.10), 0 10px 30px rgba(8,124,255,.08) !important;
    }

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    position: relative;
    margin-top: 80px;
    padding: 70px 0 20px;
    overflow: hidden;
    background: linear-gradient( 180deg, rgba(2,10,22,.2), #020814 );
    border-top: 1px solid rgba(91,173,240,.10);
}

.footer-glow {
    position: absolute;
    width: 500px;
    height: 220px;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient( ellipse, rgba(8,124,255,.18), transparent 70% );
    pointer-events: none;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
    gap: 45px;
    position: relative;
    z-index: 2;
}

.footer-brand {
    max-width: 390px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
}

    .footer-logo .site-logo-icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .footer-logo span:last-child {
        display: flex;
        flex-direction: column;
    }

    .footer-logo strong {
        font-size: 18px;
        font-weight: 900;
    }

    .footer-logo small {
        margin-top: 4px;
        font-size: 7px;
        letter-spacing: 2px;
        color: #5f7c9c;
    }

.footer-brand p {
    margin: 0;
    color: #7892ae;
    font-size: 13px;
    line-height: 2;
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 22px;
}

    .footer-social a {
        width: 39px;
        height: 39px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        color: #7fa1c3;
        background: rgba(255,255,255,.035);
        border: 1px solid rgba(255,255,255,.07);
        transition: var(--transition);
    }

        .footer-social a:hover {
            color: white;
            background: linear-gradient( 135deg, #087cff, #0754a7 );
            border-color: transparent;
            transform: translateY(-4px);
            box-shadow: 0 12px 28px rgba(8,124,255,.25);
        }

/* =========================================================
   FOOTER COLUMNS
   ========================================================= */

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .footer-column h4 {
        margin: 0 0 13px;
        color: white;
        font-size: 14px;
        font-weight: 900;
    }

    .footer-column a {
        display: flex;
        align-items: center;
        gap: 8px;
        width: fit-content;
        color: #7893b0;
        font-size: 12px;
        transition: var(--transition);
    }

        .footer-column a:hover {
            color: #55baff;
            transform: translateX(-4px);
        }

        .footer-column a i {
            color: #419fe5;
        }

/* =========================================================
   FOOTER STATUS
   ========================================================= */

.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: #6e89a6;
    font-size: 11px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34,197,94,.75);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {

    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(.78);
    }
}

/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 55px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.06);
    color: #536b87;
    font-size: 10px;
}

.footer-made {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .footer-made i {
        color: #4db7ff;
        animation: heartBeat 1.8s infinite;
    }

@keyframes heartBeat {

    0%, 100% {
        transform: scale(1);
    }

    10% {
        transform: scale(1.15);
    }

    20% {
        transform: scale(1);
    }
}

/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    z-index: 900;
    border-radius: 15px;
    color: white;
    background: linear-gradient( 135deg, #087cff, #064e9d );
    border: 1px solid rgba(123,202,255,.18);
    box-shadow: 0 15px 35px rgba(8,124,255,.25);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
}

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .back-to-top:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 45px rgba(8,124,255,.38);
    }

/* =========================================================
   GLOBAL LOADER
   ========================================================= */

.bt-global-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: rgba(2,8,23,.86);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
}

    .bt-global-loader.show {
        opacity: 1;
        visibility: visible;
    }

    .bt-global-loader span {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: 3px solid rgba(255,255,255,.08);
        border-top-color: #1593ff;
        border-right-color: #22d3ee;
        animation: loaderSpin .75s linear infinite;
        box-shadow: 0 0 30px rgba(8,124,255,.25);
    }

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   HERO SUPPORT
   ========================================================= */

.hero,
.store-hero {
    position: relative;
    overflow: hidden;
}

    .hero::before,
    .store-hero::before {
        content: "";
        position: absolute;
        width: 600px;
        height: 600px;
        top: -250px;
        right: -200px;
        background: radial-gradient( circle, rgba(8,124,255,.16), transparent 68% );
        pointer-events: none;
    }

    .hero::after,
    .store-hero::after {
        content: "";
        position: absolute;
        width: 450px;
        height: 450px;
        bottom: -250px;
        left: -150px;
        background: radial-gradient( circle, rgba(34,211,238,.08), transparent 70% );
        pointer-events: none;
    }

/* =========================================================
   PRODUCT CARD SUPPORT
   ========================================================= */

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

    .product-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, rgba(21,147,255,.08), transparent 45% );
        opacity: 0;
        transition: .3s ease;
        pointer-events: none;
    }

    .product-card:hover {
        transform: translateY(-7px);
        border-color: rgba(66,180,255,.25);
        box-shadow: 0 25px 55px rgba(0,0,0,.25), 0 10px 35px rgba(8,124,255,.10);
    }

        .product-card:hover::before {
            opacity: 1;
        }

/* =========================================================
   BADGES
   ========================================================= */

.badge {
    border-radius: 9px;
    font-weight: 800;
}

.bg-primary {
    background: linear-gradient( 135deg, #087cff, #0754a7 ) !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1100px) {

    .main-nav {
        gap: 0;
    }

        .main-nav a {
            padding-inline: 10px;
        }

            .main-nav a span {
                font-size: 11px;
            }

    .header-action-label,
    .user-name {
        display: none;
    }

    .header-user-trigger {
        padding: 5px;
    }

    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 850px) {

    :root {
        --header-height: 72px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: grid;
    }

    .site-logo-text small {
        display: none;
    }

    .site-logo-text strong {
        font-size: 17px;
    }

    .site-logo-icon {
        width: 42px;
        height: 42px;
    }

    .header-login span {
        display: none;
    }

    .header-login {
        width: 42px;
        height: 42px;
        padding: 0;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {

    body {
        font-size: 14px;
    }

    .site-header-inner {
        gap: 7px;
    }

    .site-logo {
        gap: 8px;
    }

    .site-logo-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .site-logo-text strong {
        font-size: 15px;
    }

    .header-actions {
        gap: 4px;
    }

    .header-action,
    .header-login,
    .header-user-trigger {
        min-width: 40px;
        min-height: 40px;
        border-radius: 11px;
    }

    .header-action-icon,
    .user-avatar {
        width: 30px;
        height: 30px;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
    }

    .mobile-nav {
        top: calc(var(--header-height) + 5px);
        right: 8px;
        left: 8px;
        border-radius: 19px;
    }

    .bt-page-orb {
        opacity: .18;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-column:last-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 35px;
    }

    .site-footer {
        margin-top: 50px;
        padding-top: 50px;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        right: auto;
        left: 16px;
        bottom: 16px;
        border-radius: 13px;
    }
}

/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 380px) {

    .site-logo-text {
        display: none;
    }

    .header-action-icon,
    .user-avatar {
        width: 28px;
        height: 28px;
    }

    .header-action,
    .header-login,
    .header-user-trigger,
    .mobile-menu-btn {
        min-width: 38px;
        width: 38px;
        height: 38px;
        min-height: 38px;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* =========================================================
   MOBILE BOTTOM NAV — PREMIUM FLOATING DOCK
   Five items in one single row on mobile
========================================================= */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 600px) {
    body {
        padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-bottom-nav {
        position: fixed;
        z-index: 1800;
        right: 10px;
        left: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        display: flex;
        flex-flow: row nowrap;
        align-items: stretch;
        justify-content: space-between;
        gap: 2px;
        padding: 7px 5px;
        border: 1px solid rgba(123, 202, 255, .20);
        border-radius: 20px;
        background: linear-gradient(145deg, rgba(8, 26, 51, .97), rgba(2, 10, 24, .98));
        box-shadow: 0 14px 38px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255,255,255,.07);
        -webkit-backdrop-filter: blur(22px);
        backdrop-filter: blur(22px);
        direction: rtl;
        box-sizing: border-box;
    }

        .mobile-bottom-nav::before {
            content: "";
            position: absolute;
            top: 0;
            left: 18%;
            right: 18%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(66,180,255,.75), transparent);
            pointer-events: none;
        }

        .mobile-bottom-nav .mobile-bottom-item {
            position: relative;
            flex: 1 1 20%;
            width: 20%;
            max-width: 20%;
            min-width: 0;
            min-height: 58px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            margin: 0;
            padding: 5px 0;
            border-radius: 13px;
            color: #91abc7;
            text-decoration: none;
            text-align: center;
            font-size: clamp(8px, 2.5vw, 10px);
            line-height: 1.25;
            font-weight: 800;
            white-space: nowrap;
            overflow: hidden;
            box-sizing: border-box;
            transition: color .2s ease, background .2s ease, transform .2s ease;
            -webkit-tap-highlight-color: transparent;
        }

        .mobile-bottom-nav .mobile-bottom-icon {
            flex: 0 0 29px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 29px;
            height: 29px;
            border-radius: 9px;
            color: #61bdff;
            background: rgba(8, 124, 255, .10);
            transition: inherit;
        }

            .mobile-bottom-nav .mobile-bottom-icon i {
                display: block;
                font-size: 15px;
                line-height: 1;
            }

        .mobile-bottom-nav .mobile-bottom-item:hover,
        .mobile-bottom-nav .mobile-bottom-item:focus-visible,
        .mobile-bottom-nav .mobile-bottom-item:active {
            color: #fff;
            background: linear-gradient(135deg, rgba(8,124,255,.18), rgba(34,211,238,.07));
            outline: none;
        }

            .mobile-bottom-nav .mobile-bottom-item:hover .mobile-bottom-icon,
            .mobile-bottom-nav .mobile-bottom-item:focus-visible .mobile-bottom-icon,
            .mobile-bottom-nav .mobile-bottom-item:active .mobile-bottom-icon {
                color: #fff;
                background: linear-gradient(135deg, #087cff, #0754a7);
                box-shadow: 0 5px 14px rgba(8,124,255,.25);
            }

        .mobile-bottom-nav .mobile-bottom-item:focus-visible {
            box-shadow: inset 0 0 0 1px rgba(123,202,255,.55);
        }

    .back-to-top {
        bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .site-footer {
        padding-bottom: 22px;
    }
}

@media (max-width: 380px) {
    .mobile-bottom-nav {
        right: 5px;
        left: 5px;
        padding: 6px 3px;
        gap: 1px;
    }

        .mobile-bottom-nav .mobile-bottom-item {
            font-size: 8px;
            gap: 3px;
            border-radius: 10px;
        }

        .mobile-bottom-nav .mobile-bottom-icon {
            flex-basis: 27px;
            width: 27px;
            height: 27px;
        }

            .mobile-bottom-nav .mobile-bottom-icon i {
                font-size: 14px;
            }
}

@media (min-width: 601px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}
