
/* =========================================================
   Gibefintech modern responsive marketplace UI
   ========================================================= */
:root {
    --gf-ink: #0d1b3e;
    --gf-muted: #5f7196;
    --gf-blue: #1769ff;
    --gf-blue-dark: #0e55d8;
    --gf-line: #dce8fb;
    --gf-soft: #f5f9ff;
    --gf-card: #ffffff;
    --gf-radius: 18px;
    --gf-shadow: 0 14px 40px rgba(22, 62, 125, .08);
}

body {
    background: #fbfdff;
    color: var(--gf-ink);
}

.container-custom {
    max-width: 1280px;
}

/* Top announcement */
.announcement {
    padding: 11px 16px !important;
    font-size: 14px;
    background: linear-gradient(90deg, #0f9d65, #1eb96f) !important;
}

.announcement .announcement-text .btn {
    border-radius: 10px;
    padding: 7px 18px;
    font-weight: 600;
}

/* Main navigation */
.nav-bar {
    position: relative;
    z-index: 30;
    top: 0;
    background: rgba(255,255,255,.94) !important;
    border-bottom: 1px solid var(--gf-line);
    box-shadow: 0 4px 18px rgba(17,45,88,.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav-bar .nav-bar-container {
    height: 76px;
}

.nav-bar .logo img {
    max-height: 42px;
    width: auto;
}

.nav-bar .link,
.nav-bar .drop-down .drop-down-btn {
    color: var(--gf-ink) !important;
    font-weight: 600;
    font-size: 14px;
}

.nav-bar .link:hover,
.nav-bar .drop-down .drop-down-btn:hover {
    color: var(--gf-blue) !important;
}

.nav-bar .btn {
    border-radius: 11px;
    min-height: 42px;
    font-weight: 600;
}

.nav-bar .btn-primary {
    background: var(--gf-blue);
    border-color: var(--gf-blue);
}

.nav-bar .btn-primary:hover {
    background: var(--gf-blue-dark);
    border-color: var(--gf-blue-dark);
}

.nav-bar .btn-outline-primary {
    color: var(--gf-blue);
    border-color: #c8daf8;
    background: #fff;
}

.nav-bar .btn-outline-light {
    color: var(--gf-ink);
    border-color: var(--gf-line);
    background: #fff;
}

.nav-bar.nav-bar-sm {
    position: relative;
    z-index: 20;
    background: #fff !important;
    border-bottom: 1px solid var(--gf-line);
    box-shadow: none;
}

.nav-bar.nav-bar-sm .nav-bar-container {
    height: 64px;
}

.nav-bar.nav-bar-sm .link,
.nav-bar.nav-bar-sm .drop-down .drop-down-btn {
    color: var(--gf-muted) !important;
}

.nav-bar.nav-bar-sm .form-search {
    min-width: 290px;
}

/* Modern hero */
.gf-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 72px;
    background:
        radial-gradient(circle at 72% 36%, rgba(45, 130, 255, .13), transparent 30%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    border-bottom: 1px solid #edf3fb;
}

.gf-hero::before,
.gf-hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.gf-hero::before {
    width: 420px;
    height: 420px;
    right: -170px;
    top: -180px;
    background: rgba(64, 137, 255, .08);
}

.gf-hero::after {
    width: 300px;
    height: 300px;
    left: -180px;
    bottom: -170px;
    background: rgba(111, 88, 255, .06);
}

.gf-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr);
    gap: 48px;
    align-items: center;
}

.gf-hero-copy {
    max-width: 650px;
}

.gf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid #d9e7ff;
    border-radius: 999px;
    background: #fff;
    color: var(--gf-blue);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(31,93,170,.06);
}

.gf-hero h1 {
    margin: 20px 0 18px;
    color: var(--gf-ink);
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.04;
    letter-spacing: -2.5px;
    font-weight: 800;
}

.gf-hero-copy > p {
    max-width: 610px;
    margin: 0;
    color: var(--gf-muted);
    font-size: 18px;
    line-height: 1.7;
}

.gf-hero-search {
    margin-top: 30px;
    max-width: 620px;
}

.gf-hero-search .search-input {
    display: flex;
    align-items: center;
    padding: 6px;
    background: #fff;
    border: 1px solid #d5e3f7;
    border-radius: 15px;
    box-shadow: 0 12px 32px rgba(35,82,145,.09);
}

.gf-hero-search .search-input input {
    min-width: 0;
    flex: 1;
    height: 52px;
    border: 0;
    outline: 0;
    padding: 0 16px;
    color: var(--gf-ink);
    background: transparent;
    box-shadow: none;
}

.gf-hero-search .search-input .btn {
    height: 52px;
    padding: 0 28px;
    border-radius: 11px;
    background: var(--gf-blue);
    border-color: var(--gf-blue);
    font-weight: 700;
}

.gf-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}

.gf-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4f6386;
    font-size: 13px;
    font-weight: 600;
}

.gf-trust-row i {
    color: var(--gf-blue);
}

/* CSS illustration: laptop + phone */
.gf-hero-art {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gf-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}

.gf-glow-one {
    width: 390px;
    height: 390px;
    background: rgba(73, 143, 255, .11);
}

.gf-glow-two {
    width: 250px;
    height: 250px;
    right: 0;
    bottom: 5px;
    background: rgba(119, 85, 255, .08);
}

.gf-laptop {
    position: relative;
    z-index: 2;
    width: min(490px, 82%);
    transform: translateX(-14px);
}

.gf-laptop-screen {
    height: 275px;
    padding: 15px;
    background: #11264d;
    border: 7px solid #cbd9ed;
    border-bottom-width: 11px;
    border-radius: 18px 18px 10px 10px;
    box-shadow: 0 28px 55px rgba(16,46,94,.22);
}

.gf-screen-top {
    display: flex;
    gap: 6px;
    margin-bottom: 13px;
}

.gf-screen-top span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8aa2c9;
}

.gf-screen-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 22px;
    height: 205px;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #142d5b, #0b1b39);
}

.gf-code-lines {
    padding-top: 15px;
}

.gf-code-lines b {
    display: block;
    height: 8px;
    margin-bottom: 13px;
    border-radius: 5px;
    background: #4f8cff;
    opacity: .72;
}

.gf-code-lines b:nth-child(2) { width: 78%; background: #74d2ff; }
.gf-code-lines b:nth-child(3) { width: 60%; }
.gf-code-lines b:nth-child(4) { width: 85%; background: #9b84ff; }
.gf-code-lines b:nth-child(5) { width: 50%; }
.gf-code-lines b:nth-child(6) { width: 70%; background: #74d2ff; }

.gf-chart {
    display: flex;
    align-items: end;
    justify-content: space-around;
    padding: 22px 12px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.05);
}

.gf-chart i {
    width: 15%;
    min-height: 30%;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, #67b5ff, #296dff);
}
.gf-chart i:nth-child(2) { height: 55%; }
.gf-chart i:nth-child(3) { height: 72%; }
.gf-chart i:nth-child(4) { height: 48%; }
.gf-chart i:nth-child(5) { height: 88%; }

.gf-laptop-base {
    position: relative;
    width: 112%;
    height: 18px;
    left: -6%;
    background: linear-gradient(#dce7f5, #b8cbe4);
    border-radius: 0 0 25px 25px;
    box-shadow: 0 16px 28px rgba(18,50,96,.16);
}

.gf-phone {
    position: absolute;
    z-index: 4;
    right: 2%;
    bottom: 42px;
    width: 118px;
    height: 238px;
    padding: 11px 8px;
    border: 6px solid #172d54;
    border-radius: 23px;
    background: #f6f9ff;
    box-shadow: 0 25px 45px rgba(15,47,94,.23);
    transform: rotate(4deg);
}

.gf-phone-notch {
    width: 38px;
    height: 6px;
    margin: 0 auto 12px;
    border-radius: 99px;
    background: #172d54;
}

.gf-phone-header,
.gf-phone-card,
.gf-phone-lines i {
    display: block;
    border-radius: 7px;
}

.gf-phone-header { height: 11px; width: 62%; background: #1d6cff; margin: 0 0 12px 4px; }
.gf-phone-card { height: 70px; background: linear-gradient(135deg,#1f72ff,#8c72ff); margin-bottom: 12px; }
.gf-phone-lines i { height: 8px; background: #d6e3f7; margin: 10px 5px; }
.gf-phone-lines i:nth-child(2) { width: 68%; }
.gf-phone-lines i:nth-child(3) { width: 82%; }

.gf-float {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    color: #fff;
    box-shadow: 0 15px 30px rgba(28,73,138,.2);
}
.gf-float-code { left: 8%; top: 22%; background: #7659ff; transform: rotate(-8deg); }
.gf-float-cloud { right: 9%; top: 15%; background: #35b9e9; transform: rotate(7deg); }
.gf-float-shield { left: 13%; bottom: 18%; background: #5d7dff; transform: rotate(8deg); }

/* Existing dynamic homepage sections */
.gf-home-content .section {
    padding-top: 68px;
    padding-bottom: 68px;
}

.gf-home-content .section + .section {
    border-top: 1px solid #edf3fb;
}

.gf-home-content .section .section-title-text {
    color: var(--gf-ink);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.6px;
}

.gf-home-content .section .section-text {
    color: var(--gf-muted);
}

.gf-home-content .home-category {
    min-height: 140px;
    padding: 24px 18px;
    border: 1px solid var(--gf-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.gf-home-content .home-category:hover {
    transform: translateY(-4px);
    border-color: #b8d2ff;
    box-shadow: var(--gf-shadow);
}

.gf-home-content .home-category .home-category-img {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #edf5ff;
}

.gf-home-content .home-category .home-category-img img {
    width: 38px;
    height: 38px;
}

.gf-home-content .home-category .home-category-title {
    margin-top: 12px;
    color: var(--gf-ink);
    font-weight: 700;
}

.gf-home-content .item {
    border: 1px solid var(--gf-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.gf-home-content .item:hover {
    transform: translateY(-4px);
    box-shadow: var(--gf-shadow);
}

.gf-home-content .item .item-img {
    height: 205px;
}

.gf-home-content .item .item-body {
    padding: 18px;
}

/* Desktop */
@media (min-width: 1200px) {
    .gf-hero { min-height: 610px; display: flex; align-items: center; }
}

/* Tablet */
@media (max-width: 1199.98px) {
    .gf-hero { padding: 60px 0; }
    .gf-hero-grid { grid-template-columns: 1fr; gap: 35px; }
    .gf-hero-copy { max-width: 760px; margin-inline: auto; text-align: center; }
    .gf-hero-copy > p { margin-inline: auto; }
    .gf-hero-search { margin-inline: auto; }
    .gf-trust-row { justify-content: center; }
    .gf-hero-art { min-height: 390px; }
}

/* Mobile */
@media (max-width: 767.98px) {
    .announcement { font-size: 12px; }
    .announcement .announcement-close { right: 4px; }
    .nav-bar .nav-bar-container { height: 64px; }
    .nav-bar .logo img { max-height: 34px; max-width: 155px; }
    .nav-bar .nav-bar-buttons { display: none !important; }
    .nav-bar .nav-bar-actions { margin-left: auto; }
    .nav-bar .nav-bar-actions .nav-bar-menu-btn { color: var(--gf-ink); }
    .nav-bar .nav-bar-menu .nav-bar-menu-inner { background: #fff; width: min(330px, 88vw); }
    .nav-bar .nav-bar-menu .link,
    .nav-bar .nav-bar-menu .drop-down .drop-down-btn { color: var(--gf-ink) !important; }
    .nav-bar.nav-bar-sm { display: none; }

    .gf-hero { padding: 44px 0 38px; }
    .gf-hero-grid { gap: 20px; }
    .gf-eyebrow { font-size: 11px; }
    .gf-hero h1 {
        margin-top: 15px;
        font-size: clamp(36px, 11vw, 48px);
        letter-spacing: -1.6px;
        line-height: 1.06;
    }
    .gf-hero-copy > p { font-size: 15px; line-height: 1.6; }
    .gf-hero-search { margin-top: 22px; }
    .gf-hero-search .search-input { padding: 4px; }
    .gf-hero-search .search-input input { height: 48px; padding: 0 11px; font-size: 13px; }
    .gf-hero-search .search-input .btn { height: 48px; padding: 0 17px; }
    .gf-trust-row { gap: 10px 17px; margin-top: 18px; }
    .gf-trust-row span { font-size: 11px; }

    .gf-hero-art { min-height: 270px; transform: scale(.86); margin-top: -10px; }
    .gf-laptop { width: 83%; transform: translateX(-10px); }
    .gf-laptop-screen { height: 185px; border-width: 5px; padding: 9px; }
    .gf-screen-grid { height: 137px; gap: 10px; padding: 11px; }
    .gf-code-lines b { height: 5px; margin-bottom: 8px; }
    .gf-chart { padding: 10px 5px 7px; }
    .gf-phone { width: 83px; height: 170px; right: 0; bottom: 22px; border-width: 4px; border-radius: 17px; padding: 7px 5px; }
    .gf-phone-notch { width: 27px; height: 4px; margin-bottom: 8px; }
    .gf-phone-card { height: 49px; margin-bottom: 8px; }
    .gf-phone-lines i { height: 5px; margin: 7px 3px; }
    .gf-float { width: 39px; height: 39px; border-radius: 11px; }
    .gf-float-code { left: 1%; top: 18%; }
    .gf-float-cloud { right: 5%; top: 7%; }
    .gf-float-shield { left: 6%; bottom: 12%; }

    .gf-home-content .section { padding-top: 42px; padding-bottom: 42px; }
    .gf-home-content .section .section-title-text { font-size: 23px; }
    .gf-home-content .section .section-text { font-size: 14px; }
    .gf-home-content .home-category { min-height: 118px; padding: 16px 10px; }
    .gf-home-content .home-category .home-category-img { width: 45px; height: 45px; border-radius: 12px; }
    .gf-home-content .home-category .home-category-img img { width: 30px; height: 30px; }
    .gf-home-content .home-category .home-category-title { font-size: 13px; }
    .gf-home-content .item .item-img { height: 180px; }
}

/* Gibefintech navigation hardening */
.gf-mobile-auth { display: none !important; }
@media (max-width: 1199.98px) {
    .nav-bar .nav-bar-buttons { display: none !important; }
    .nav-bar .gf-primary-menu {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100dvh !important;
        z-index: 20000 !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .nav-bar .gf-primary-menu.show {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    .nav-bar .gf-primary-menu .overlay {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100dvh !important;
        z-index: 0 !important;
        background: rgba(8, 20, 43, .38) !important;
    }
    .nav-bar .gf-primary-menu .gf-mobile-menu-panel {
        position: fixed !important;
        top: 0 !important;
        right: -360px !important;
        bottom: 0 !important;
        left: auto !important;
        width: min(360px, 88vw) !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        z-index: 1 !important;
        display: block !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 20px !important;
        background: #fff !important;
        box-shadow: -18px 0 45px rgba(5, 25, 60, .18) !important;
        transition: right .25s ease !important;
    }
    .nav-bar .gf-primary-menu.show .gf-mobile-menu-panel { right: 0 !important; }
    .nav-bar .gf-primary-menu .nav-bar-menu-header { min-height: 44px; margin-bottom: 12px; }
    .nav-bar .gf-primary-menu .nav-bar-menu-close {
        width: 42px; height: 42px; border: 1px solid var(--gf-line) !important;
        border-radius: 12px; background: #fff !important;
    }
    .nav-bar .gf-primary-menu .nav-bar-links { display: block !important; width: 100% !important; }
    .nav-bar .gf-primary-menu .link,
    .nav-bar .gf-primary-menu .drop-down .drop-down-btn { color: var(--gf-ink) !important; }
    .nav-bar .gf-primary-menu .link {
        display: flex !important; align-items: center; min-height: 48px; margin: 0 !important;
        padding: 10px 4px; border-bottom: 1px solid #edf2f9;
    }
    .nav-bar .gf-primary-menu .drop-down { width: 100% !important; margin: 0 0 4px !important; }
    .nav-bar .gf-primary-menu .drop-down .drop-down-btn { min-height: 48px; padding: 10px 4px; }
    .nav-bar .gf-primary-menu .drop-down .drop-down-menu {
        position: static !important; width: 100% !important; max-width: none !important; margin: 0 0 8px !important;
        transform: none !important; box-shadow: none !important; border: 0 !important; background: #f7faff !important;
    }
    .nav-bar .gf-primary-menu .gf-mobile-auth { display: block !important; width: 100%; margin: 10px 0 0 !important; }
    .nav-bar .gf-primary-menu .gf-mobile-auth .btn { width: 100%; }
}
@media (min-width: 1200px) { .nav-bar .gf-primary-menu .gf-mobile-auth { display: none !important; } }
/* =========================================================
   Gibefintech authentication pages
   Login / Register / Password / 2FA
   ========================================================= */

.sign-box {
    width: 100%;
    max-width: 560px;
    margin: 48px auto;
    color: var(--gf-ink);
}

.sign-box-lg {
    max-width: 720px;
}

.sign-box .card-v {
    width: 100%;
    padding: 36px;
    background: #ffffff !important;
    color: var(--gf-ink) !important;
    border: 1px solid var(--gf-line);
    border-radius: var(--gf-radius);
    box-shadow: var(--gf-shadow);
}

.sign-box-title {
    margin: 0 0 8px;
    color: var(--gf-ink) !important;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.5px;
}

.sign-box-text {
    margin: 0;
    color: var(--gf-muted) !important;
    font-size: 15px;
    line-height: 1.6;
}

.sign-box .form-label {
    display: block;
    margin-bottom: 7px;
    color: var(--gf-ink) !important;
    font-size: 14px;
    font-weight: 600;
}

.sign-box .form-control,
.sign-box .form-control-md {
    width: 100%;
    min-height: 48px;
    color: var(--gf-ink) !important;
    background-color: #ffffff !important;
    border: 1px solid #cbdaf0 !important;
    border-radius: 11px;
    box-shadow: none !important;
}

.sign-box .form-control::placeholder,
.sign-box .form-control-md::placeholder {
    color: #8090aa !important;
    opacity: 1 !important;
}

.sign-box .form-control:focus,
.sign-box .form-control-md:focus {
    color: var(--gf-ink) !important;
    background-color: #ffffff !important;
    border-color: var(--gf-blue) !important;
    box-shadow: 0 0 0 3px rgba(23, 105, 255, .10) !important;
    outline: none !important;
}

.sign-box .form-check-label {
    color: var(--gf-ink) !important;
    font-size: 14px;
}

.sign-box .form-check-input {
    border-color: #b9c9df;
}

.sign-box .form-check-input:checked {
    background-color: var(--gf-blue);
    border-color: var(--gf-blue);
}

.sign-box a {
    color: var(--gf-blue) !important;
}

.sign-box a:hover {
    color: var(--gf-blue-dark) !important;
}

.sign-box .btn-primary {
    min-height: 48px;
    color: #ffffff !important;
    background: var(--gf-blue) !important;
    border-color: var(--gf-blue) !important;
    border-radius: 11px;
    font-weight: 700;
}

.sign-box .btn-primary:hover,
.sign-box .btn-primary:focus {
    color: #ffffff !important;
    background: var(--gf-blue-dark) !important;
    border-color: var(--gf-blue-dark) !important;
}

.sign-box .text-primary {
    color: var(--gf-blue) !important;
}

/* Keep the password link aligned and readable */
.sign-box .row .form-label {
    margin-bottom: 0;
}

.sign-box .row a {
    font-size: 13px;
    font-weight: 600;
}

/* OAuth area */
.sign-box .login-with {
    color: var(--gf-muted);
}

.sign-box .login-with-divider {
    color: var(--gf-muted);
}

.sign-box .login-with-divider::before,
.sign-box .login-with-divider::after {
    background-color: var(--gf-line);
}

/* Captcha */
.sign-box .captcha,
.sign-box .g-recaptcha {
    max-width: 100%;
}

/* Mobile authentication */
@media (max-width: 767.98px) {
    .sign-box,
    .sign-box-lg {
        max-width: 100%;
        margin: 28px auto;
    }

    .sign-box .card-v {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .sign-box-title {
        font-size: 25px;
    }

    .sign-box-text {
        font-size: 14px;
    }

    .sign-box .form-label {
        font-size: 13px;
    }

    .sign-box .form-control,
    .sign-box .form-control-md {
        min-height: 46px;
    }

    .sign-box .row .col {
        min-width: 0;
    }

    .sign-box .row .col:last-child a {
        white-space: nowrap;
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .sign-box .card-v {
        padding: 22px 15px;
    }

    .sign-box-title {
        font-size: 23px;
    }

    .sign-box .row .col:last-child a {
        font-size: 11px;
    }
}

/* =========================================================
   MOBILE AUTH BUTTONS
   ========================================================= */

@media (max-width: 1199.98px) {
    .nav-bar .nav-bar-buttons {
        display: none !important;
    }

    .nav-bar .nav-bar-menu .gf-mobile-auth {
        display: block !important;
        width: 100% !important;
        margin: 10px 0 0 !important;
    }

    .nav-bar .nav-bar-menu .gf-mobile-auth .btn {
        display: block !important;
        width: 100% !important;
        min-height: 46px;
        border-radius: 11px;
        font-weight: 700;
    }

    .nav-bar .nav-bar-menu .gf-mobile-auth .btn-outline-primary {
        color: var(--gf-blue) !important;
        background: #fff !important;
        border-color: var(--gf-blue) !important;
    }

    .nav-bar .nav-bar-menu .gf-mobile-auth .btn-primary {
        color: #fff !important;
        background: var(--gf-blue) !important;
        border-color: var(--gf-blue) !important;
    }

    .nav-bar .nav-bar-menu .nav-bar-menu-inner {
        background: #fff !important;
    }

    .nav-bar .nav-bar-menu .link,
    .nav-bar .nav-bar-menu .drop-down .drop-down-btn {
        color: var(--gf-ink) !important;
    }
}

@media (min-width: 1200px) {
    .nav-bar .nav-bar-menu .gf-mobile-auth {
        display: none !important;
    }
}

/* =========================================================
   MOBILE NAVIGATION — ABOVE HOMEPAGE HERO
   ========================================================= */

@media (max-width: 1199.98px) {

    /* Keep the top navigation above all homepage sections */
    body > .nav-bar,
    body > .nav-bar.nav-bar-sm {
        position: relative !important;
        z-index: 9999 !important;
    }

    /* The opened mobile navigation must create its own top layer */
    body > .nav-bar .nav-bar-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 10000 !important;
    }

    /* Menu dark overlay */
    body > .nav-bar .nav-bar-menu .overlay {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 10001 !important;
    }

    /* White menu panel */
    body > .nav-bar .nav-bar-menu .nav-bar-menu-inner {
        position: absolute !important;
        top: 0 !important;
        right: -300px;
        z-index: 10002 !important;
        background: #fff !important;
        overflow-y: auto !important;
    }

    /* Open state */
    body > .nav-bar .nav-bar-menu.show .nav-bar-menu-inner {
        right: 0 !important;
    }

    /* Menu content */
    body > .nav-bar .nav-bar-menu .nav-bar-menu-header,
    body > .nav-bar .nav-bar-menu .nav-bar-links {
        position: relative !important;
        z-index: 10003 !important;
    }
}


/* =========================================================
   Gibefintech marketplace shell — compact marketplace UX
   Inspired by established digital-marketplace patterns.
   ========================================================= */

/* Hard stop horizontal canvas growth on phones. */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}
body.gf-menu-open {
    overflow: hidden !important;
}
img, video, iframe, svg, canvas {
    max-width: 100%;
}
.container, .container-fluid, .row, [class*="col-"] {
    min-width: 0;
}
.row {
    --bs-gutter-x: 1.25rem;
}

/* Header */
.gf-market-header {
    position: relative;
    z-index: 1050;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e4e9f2;
    box-shadow: 0 2px 12px rgba(13, 27, 62, .05);
}
.gf-market-main {
    background: #fff;
}
.gf-market-main-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.gf-brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}
.gf-brand img {
    display: block;
    width: auto;
    max-width: 175px;
    max-height: 42px;
    object-fit: contain;
}
.gf-desktop-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
}
.gf-nav-link,
.gf-category-trigger {
    border: 0;
    background: transparent;
    color: #263754;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.gf-nav-link:hover,
.gf-category-trigger:hover,
.gf-nav-dropdown.is-open > .gf-nav-link,
.gf-category-nav.is-open .gf-category-trigger {
    color: #1769ff;
    background: #f3f7ff;
}
.gf-nav-link .fa-chevron-down,
.gf-category-trigger .gf-chevron {
    font-size: 10px;
    transition: transform .18s ease;
}
.gf-nav-dropdown.is-open .fa-chevron-down,
.gf-category-nav.is-open .gf-chevron {
    transform: rotate(180deg);
}
.gf-nav-dropdown,
.gf-category-nav {
    position: relative;
}
.gf-nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    min-width: 210px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e1e7f0;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(13, 27, 62, .14);
    display: none;
}
.gf-nav-dropdown:hover .gf-nav-dropdown-menu,
.gf-nav-dropdown.is-open .gf-nav-dropdown-menu {
    display: block;
}
.gf-nav-dropdown-menu a {
    display: block;
    padding: 9px 11px;
    border-radius: 7px;
    color: #263754;
    font-size: 13px;
    text-decoration: none;
}
.gf-nav-dropdown-menu a:hover {
    color: #1769ff;
    background: #f3f7ff;
}

/* Category mega menu */
.gf-category-panel {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    width: min(820px, calc(100vw - 32px));
    padding: 18px;
    background: #fff;
    border: 1px solid #e1e7f0;
    border-radius: 14px;
    box-shadow: 0 22px 55px rgba(13, 27, 62, .16);
    display: none;
}
.gf-category-nav.is-open .gf-category-panel,
.gf-category-nav:hover .gf-category-panel {
    display: block;
}
.gf-category-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #edf1f6;
}
.gf-category-panel-head strong {
    display: block;
    color: #14264a;
    font-size: 15px;
}
.gf-category-panel-head span {
    display: block;
    margin-top: 3px;
    color: #77849a;
    font-size: 12px;
}
.gf-category-panel-head a {
    color: #1769ff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}
.gf-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 24px;
    max-height: 430px;
    overflow-y: auto;
}
.gf-category-group {
    min-width: 0;
}
.gf-category-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #172a4d;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    padding-bottom: 7px;
}
.gf-category-title:hover {
    color: #1769ff;
}
.gf-category-title small,
.gf-category-sublist small {
    color: #98a4b7;
    font-size: 10px;
}
.gf-category-sublist {
    display: grid;
    gap: 3px;
}
.gf-category-sublist a {
    display: flex;
    justify-content: space-between;
    gap: 7px;
    padding: 4px 0;
    color: #65738a;
    font-size: 12px;
    text-decoration: none;
}
.gf-category-sublist a:hover {
    color: #1769ff;
}

/* Header search/cart/account */
.gf-header-search {
    flex: 1 1 280px;
    min-width: 180px;
}
.gf-header-search form {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 13px;
    background: #f6f8fb;
    border: 1px solid #e0e6ef;
    border-radius: 9px;
}
.gf-header-search i {
    color: #78869b;
}
.gf-header-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1b2d4e;
    font-size: 13px;
}
.gf-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}
.gf-header-icon,
.gf-mobile-menu-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #dfe6ef;
    border-radius: 9px;
    background: #fff;
    color: #182b4d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
}
.gf-header-icon:hover,
.gf-mobile-menu-btn:hover {
    color: #1769ff;
    border-color: #bcd2f7;
    background: #f7faff;
}
.gf-cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 10px;
    background: #1769ff;
    color: #fff;
    font-size: 10px;
    line-height: 19px;
    text-align: center;
    font-weight: 800;
}
.gf-mobile-menu-btn {
    display: none;
    cursor: pointer;
}
.gf-account-wrap {
    position: relative;
}
.gf-account-menu {
    margin: 0 !important;
}
.gf-account-trigger {
    border: 1px solid #dfe6ef !important;
    border-radius: 9px !important;
    min-height: 42px;
    padding: 3px 10px 3px 5px !important;
    background: #fff !important;
    color: #182b4d !important;
}
.gf-account-trigger:hover {
    border-color: #bcd2f7 !important;
    background: #f7faff !important;
}
.gf-account-trigger .user-img {
    width: 34px !important;
    height: 34px !important;
    margin: 0 7px 0 0 !important;
    border-radius: 50% !important;
}
.gf-account-trigger .user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
}
.gf-account-chevron {
    font-size: 9px;
}
.gf-account-dropdown {
    top: 48px !important;
    right: 0 !important;
    left: auto !important;
    width: 260px !important;
    padding: 7px !important;
    border: 1px solid #e1e7f0 !important;
    border-radius: 13px !important;
    background: #fff !important;
    box-shadow: 0 20px 48px rgba(13,27,62,.16) !important;
}
.gf-account-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px;
}
.gf-account-head img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}
.gf-account-head-text {
    min-width: 0;
}
.gf-account-head-text strong,
.gf-account-head-text span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gf-account-head-text strong {
    color: #182b4d;
    font-size: 13px;
}
.gf-account-head-text span {
    color: #7b8799;
    font-size: 11px;
}
.gf-account-divider {
    height: 1px;
    margin: 5px 3px;
    background: #edf1f6;
}
.gf-account-dropdown .drop-down-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 !important;
    padding: 9px 10px !important;
    border-radius: 8px;
    color: #33435f !important;
    font-size: 12px;
    text-decoration: none;
}
.gf-account-dropdown .drop-down-item:hover {
    background: #f3f7ff;
    color: #1769ff !important;
}
.gf-account-dropdown .drop-down-item i {
    width: 17px;
    text-align: center;
    color: #74839a;
}

/* Second navigation */
.gf-secondary-nav {
    background: #172640;
    color: #fff;
}
.gf-secondary-inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.gf-secondary-links {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.gf-secondary-nav .gf-nav-link {
    color: #e9eff8;
    min-height: 34px;
    font-size: 12px;
}
.gf-secondary-nav .gf-nav-link:hover,
.gf-secondary-nav .gf-nav-dropdown.is-open > .gf-nav-link {
    color: #fff;
    background: rgba(255,255,255,.1);
}
.gf-secondary-all {
    color: #a9c9ff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.gf-secondary-all:hover {
    color: #fff;
}

/* Mobile menu */
.gf-mobile-menu {
    display: none;
}
.gf-mobile-auth-actions {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}
.gf-mobile-category-list {
    margin-top: 8px;
    border-top: 1px solid #edf1f6;
}
.gf-mobile-category {
    border-bottom: 1px solid #edf1f6;
}
.gf-mobile-category > button {
    width: 100%;
    min-height: 45px;
    border: 0;
    background: transparent;
    color: #243654;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 13px;
    font-weight: 650;
}
.gf-mobile-category > button i {
    font-size: 10px;
    transition: transform .18s ease;
}
.gf-mobile-category.is-open > button i {
    transform: rotate(180deg);
}
.gf-mobile-subcategories {
    display: none;
    padding: 0 0 8px 10px;
}
.gf-mobile-category.is-open .gf-mobile-subcategories {
    display: grid;
}
.gf-mobile-subcategories a,
.gf-mobile-nav-links a {
    padding: 8px 5px;
    color: #65738a;
    font-size: 12px;
    text-decoration: none;
}
.gf-mobile-subcategories a:hover,
.gf-mobile-nav-links a:hover {
    color: #1769ff;
}
.gf-mobile-nav-links {
    display: grid;
    margin-top: 12px;
    border-top: 1px solid #edf1f6;
}
.gf-mobile-main-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    margin-top: 8px;
    color: #1769ff;
    border-bottom: 1px solid #edf1f6;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}
.gf-mobile-main-link span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.gf-mobile-search {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    padding: 0 11px;
    border: 1px solid #dfe6ef;
    border-radius: 9px;
    background: #f6f8fb;
}
.gf-mobile-search i { color: #78869b; }
.gf-mobile-search input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
}
.gf-mobile-menu-panel {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 1199.98px) {
    .gf-market-main-inner {
        min-height: 62px;
    }
    .gf-desktop-nav,
    .gf-header-search,
    .gf-secondary-nav {
        display: none;
    }
    .gf-mobile-menu-btn {
        display: inline-flex;
    }
    .gf-market-main-inner {
        gap: 10px;
    }
    .gf-brand img {
        max-width: 145px;
        max-height: 35px;
    }
    .gf-header-actions {
        margin-left: auto;
    }
    .gf-account-trigger {
        width: 42px;
        padding: 3px !important;
        justify-content: center;
    }
    .gf-account-trigger .user-img {
        margin: 0 !important;
        width: 32px !important;
        height: 32px !important;
    }
    .gf-account-trigger .user-name,
    .gf-account-trigger .gf-account-chevron {
        display: none !important;
    }
    .gf-account-dropdown {
        position: fixed !important;
        top: 67px !important;
        right: 10px !important;
        width: min(300px, calc(100vw - 20px)) !important;
        z-index: 21000 !important;
    }
    .gf-mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 20000;
        display: block;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
    .gf-mobile-menu.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
    .gf-mobile-menu-overlay {
        position: absolute;
        inset: 0;
        background: rgba(9,20,40,.45);
    }
    .gf-mobile-menu-panel {
        position: absolute;
        top: 0;
        right: 0;
        width: min(360px, 90vw);
        height: 100dvh;
        padding: 16px;
        background: #fff;
        box-shadow: -18px 0 45px rgba(5,25,60,.2);
        transform: translateX(100%);
        transition: transform .22s ease;
    }
    .gf-mobile-menu.is-open .gf-mobile-menu-panel {
        transform: translateX(0);
    }
    .gf-mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 40px;
        margin-bottom: 10px;
        color: #172a4d;
    }
    .gf-mobile-menu-head button {
        width: 38px;
        height: 38px;
        border: 1px solid #dfe6ef;
        border-radius: 9px;
        background: #fff;
    }
}

/* Marketplace listing */
.gf-market-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e7edf5;
}
.gf-market-toolbar-title .gf-kicker {
    color: #1769ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.gf-market-toolbar-title h2 {
    margin: 3px 0 3px;
    color: #14264a;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.5px;
}
.gf-market-toolbar-title > span {
    color: #7b8799;
    font-size: 12px;
}
.gf-market-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.gf-filter-trigger {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #dce5f0;
    border-radius: 9px;
    background: #fff;
    color: #263754;
    font-size: 12px;
    font-weight: 700;
}
.gf-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    color: #52627a;
    font-size: 12px;
}
.gf-results-head a {
    color: #1769ff;
    font-weight: 700;
    text-decoration: none;
}
.gf-filter-stack {
    display: grid;
    gap: 8px;
    position: sticky;
    top: 14px;
}
.gf-filter-card {
    border: 1px solid #e1e7f0;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
.gf-filter-head {
    width: 100%;
    min-height: 48px;
    border: 0;
    padding: 0 13px;
    background: #fff;
    color: #273956;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    font-weight: 750;
    text-align: left;
}
.gf-filter-head > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.gf-filter-head > span > i {
    width: 16px;
    color: #74839a;
    text-align: center;
}
.gf-filter-head > i {
    color: #8a96a8;
    font-size: 10px;
    transition: transform .18s ease;
}
.gf-filter-card.is-open .gf-filter-head > i {
    transform: rotate(180deg);
}
.gf-filter-body {
    padding: 0 13px 12px;
}
.gf-filter-body[hidden] {
    display: none;
}
.gf-filter-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 9px;
    margin-top: 3px;
    border-radius: 7px;
    color: #56657c;
    font-size: 12px;
    text-decoration: none;
}
.gf-filter-category-link:hover {
    color: #1769ff;
    background: #f4f8ff;
}
.gf-filter-category-link small {
    color: #98a4b7;
}
.gf-filter-note {
    margin: 7px 9px 0;
    color: #8a96a8;
    font-size: 11px;
    line-height: 1.5;
}
.gf-check {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 36px;
    color: #56657c;
    font-size: 12px;
    cursor: pointer;
}
.gf-check input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    accent-color: #1769ff;
}
.gf-rating-line {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.gf-rating-line small {
    color: #8995a7;
}
.gf-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr) 38px;
    gap: 5px;
    align-items: center;
}
.gf-price-row .form-control {
    min-width: 0;
    height: 38px;
    padding: 5px 8px;
    font-size: 12px;
}
.gf-price-row .btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 7px;
}

/* Compact categories page */
.categories .card-v {
    border-radius: 12px;
}
.category {
    padding: 15px;
}
.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #182b4d;
    text-decoration: none;
}
.category-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #1769ff;
    background: #edf5ff;
}
.category-header h5 {
    color: #182b4d;
    font-size: 14px;
    font-weight: 800;
}
.category-body {
    margin-top: 13px;
    padding-top: 10px;
    border-top: 1px solid #edf1f6;
}
.category-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 4px 8px;
}
.category-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 7px;
    border-radius: 6px;
    color: #66748b;
    font-size: 11px;
    text-decoration: none;
}
.category-link:hover {
    color: #1769ff;
    background: #f3f7ff;
}

/* Product cards */
.gf-home-content .item,
.items .item {
    border-color: #e0e7f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(13,27,62,.04);
}
.items .item .item-body {
    padding: 14px;
}
.items .item .item-title {
    color: #172a4d;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 750;
}
.items .item .item-text {
    font-size: 11px;
    line-height: 1.5;
}
.items .item .item-purchase {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #edf1f6;
}
.items .item .item-price-number {
    font-size: 15px;
    font-weight: 800;
    color: #172a4d;
}

/* Cart */
.gf-cart-page {
    padding-bottom: 30px;
}
.gf-cart-layout {
    align-items: flex-start;
}
.gf-cart-list-card,
.gf-cart-summary {
    border: 1px solid #e0e7f0;
    border-radius: 12px;
    background: #fff;
}
.gf-cart-list-card {
    overflow: hidden;
}
.gf-cart-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    background: #f8fafc;
    border-bottom: 1px solid #e8edf4;
}
.gf-cart-toolbar strong {
    color: #172a4d;
    font-size: 14px;
}
.gf-cart-item {
    padding: 16px;
    border-bottom: 1px solid #edf1f6;
}
.gf-cart-item:last-child {
    border-bottom: 0;
}
.gf-cart-thumb {
    width: 96px;
    height: 72px;
    overflow: hidden;
    border-radius: 8px;
    background: #f2f5f9;
}
.gf-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gf-cart-item-title {
    color: #172a4d;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}
.gf-cart-item-title:hover {
    color: #1769ff;
}
.gf-cart-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    margin-top: 10px;
}
.gf-cart-controls label {
    color: #7a8799;
    font-size: 11px;
    font-weight: 650;
}
.gf-cart-controls select,
.gf-cart-controls input {
    min-height: 34px;
    font-size: 11px;
}
.gf-cart-price {
    color: #172a4d;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
}
.gf-cart-summary {
    position: sticky;
    top: 14px;
    padding: 18px;
}
.gf-cart-summary h3 {
    margin: 0 0 14px;
    color: #172a4d;
    font-size: 16px;
    font-weight: 800;
}
.gf-cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-bottom: 12px;
    border-top: 1px solid #edf1f6;
    border-bottom: 1px solid #edf1f6;
}
.gf-cart-summary-total span {
    color: #66748b;
    font-size: 12px;
}
.gf-cart-summary-total strong {
    color: #172a4d;
    font-size: 20px;
}
.gf-cart-checkout {
    width: 100%;
    min-height: 46px;
    border-radius: 8px !important;
    font-size: 13px;
    font-weight: 800;
}

/* Mobile */
@media (max-width: 767.98px) {
    .gf-announcement {
        padding: 8px 10px !important;
    }
    .gf-announcement .announcement-text {
        max-width: calc(100% - 25px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .gf-market-main-inner {
        padding: 0 2px;
    }
    .gf-brand img {
        max-width: 120px;
    }
    .gf-header-actions {
        gap: 6px;
    }
    .gf-header-icon,
    .gf-mobile-menu-btn,
    .gf-account-trigger {
        width: 38px;
        height: 38px;
        min-height: 38px;
    }
    .gf-account-trigger .user-img {
        width: 29px !important;
        height: 29px !important;
    }
    .gf-market-toolbar {
        align-items: center;
        margin-bottom: 13px;
        padding-bottom: 11px;
    }
    .gf-market-toolbar-title h2 {
        font-size: 20px;
    }
    .gf-market-toolbar-title > span {
        font-size: 11px;
    }
    .gf-filter-trigger {
        height: 38px;
        min-height: 38px;
        padding: 0 11px;
    }
    .gf-results-head {
        margin-bottom: 9px;
    }
    .gf-filter-offcanvas {
        width: min(350px, 92vw) !important;
        max-width: 92vw;
    }
    .gf-filter-offcanvas-head {
        border-bottom: 1px solid #e8edf4;
    }
    .gf-filter-offcanvas-head > div > span {
        color: #1769ff;
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .08em;
    }
    .gf-filter-offcanvas-head .offcanvas-title {
        margin-top: 2px;
        color: #172a4d;
        font-size: 17px;
        font-weight: 800;
    }
    .gf-filter-offcanvas .offcanvas-body {
        padding: 10px;
    }
    .gf-filter-offcanvas-footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 10px;
        border-top: 1px solid #e8edf4;
        background: #fff;
    }
    .gf-filter-offcanvas-footer .btn {
        min-height: 42px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 750;
    }
    .gf-cart-list-card,
    .gf-cart-summary {
        border-radius: 10px;
    }
    .gf-cart-toolbar {
        padding: 11px 12px;
    }
    .gf-cart-item {
        padding: 12px;
    }
    .gf-cart-thumb {
        width: 74px;
        height: 58px;
    }
    .gf-cart-item-title {
        font-size: 12px;
    }
    .gf-cart-controls {
        gap: 6px 10px;
    }
    .gf-cart-summary {
        position: static;
        padding: 14px;
    }
    .gf-cart-summary-total strong {
        font-size: 18px;
    }
    .gf-cart-checkout {
        min-height: 44px;
    }
    .category-links {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 390px) {
    .gf-brand img {
        max-width: 105px;
    }
    .gf-header-actions {
        gap: 4px;
    }
    .gf-header-icon,
    .gf-mobile-menu-btn,
    .gf-account-trigger {
        width: 36px;
        height: 36px;
    }
    .gf-cart-count {
        top: -5px;
        right: -5px;
    }
}


/* Category directory */
.gf-category-directory {
    margin-bottom: 22px;
}
.gf-category-directory-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 4px 0 18px;
}
.gf-category-directory-head > div > span {
    color: #1769ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.gf-category-directory-head h2 {
    margin: 3px 0 5px;
    color: #172a4d;
    font-size: 25px;
    font-weight: 800;
}
.gf-category-directory-head p {
    margin: 0;
    max-width: 650px;
    color: #7a8799;
    font-size: 12px;
}
.gf-directory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}
.gf-directory-card {
    border: 1px solid #e0e7f0;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
.gf-directory-main {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
}
.gf-directory-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #172a4d;
    text-decoration: none;
}
.gf-directory-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #1769ff;
    background: #edf5ff;
}
.gf-directory-title strong,
.gf-directory-title small {
    display: block;
}
.gf-directory-title strong {
    font-size: 13px;
    font-weight: 800;
}
.gf-directory-title small {
    margin-top: 2px;
    color: #8a96a8;
    font-size: 10px;
}
.gf-directory-toggle {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 1px solid #e0e7f0;
    border-radius: 7px;
    background: #fff;
    color: #69788f;
}
.gf-directory-toggle i {
    transition: transform .18s ease;
}
.gf-directory-card.is-open .gf-directory-toggle i {
    transform: rotate(180deg);
}
.gf-directory-subcategories {
    padding: 0 11px 10px 61px;
    border-top: 1px solid #edf1f6;
}
.gf-directory-subcategories[hidden] {
    display: none;
}
.gf-directory-subcategories a {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 5px;
    color: #66748b;
    font-size: 11px;
    text-decoration: none;
    border-bottom: 1px solid #f2f4f7;
}
.gf-directory-subcategories a:last-child {
    border-bottom: 0;
}
.gf-directory-subcategories a:hover {
    color: #1769ff;
}
.gf-directory-subcategories small {
    color: #9aa5b5;
}
@media (max-width: 767.98px) {
    .gf-category-directory-head {
        align-items: flex-start;
        padding-bottom: 12px;
    }
    .gf-category-directory-head h2 {
        font-size: 21px;
    }
    .gf-category-directory-head p {
        font-size: 11px;
    }
    .gf-directory-grid {
        grid-template-columns: 1fr;
        gap: 7px;
    }
    .gf-directory-main {
        min-height: 58px;
    }
    .gf-directory-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
    .gf-directory-subcategories {
        padding-left: 55px;
    }
}


/* Final mobile viewport guard for the homepage hero/illustration. */
@media (max-width: 767.98px) {
    .gf-hero,
    .gf-hero-grid,
    .gf-hero-copy,
    .gf-hero-art,
    .gf-home-content,
    .gf-home-content .section {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .gf-hero-grid {
        overflow: hidden;
    }
    .gf-hero-art {
        overflow: hidden;
        transform: none !important;
        margin-inline: 0 !important;
        min-height: 250px !important;
    }
    .gf-hero-art .gf-laptop {
        width: 74% !important;
        max-width: 310px;
        transform: translateX(-5%) !important;
    }
    .gf-hero-art .gf-phone {
        right: 2% !important;
    }
    .gf-hero-art .gf-glow-one {
        width: 270px !important;
        height: 270px !important;
    }
    .gf-hero-art .gf-glow-two {
        width: 170px !important;
        height: 170px !important;
    }
    .gf-hero-copy {
        overflow-wrap: anywhere;
    }
    .gf-home-content .swiper,
    .gf-home-content .swiper-wrapper,
    .gf-home-content .swiper-slide {
        max-width: 100%;
        min-width: 0;
    }
}
