/**
 * Taaycoon Brand — Logo & Color System
 * Navy #0B1634 · Gold #FFCC00
 */

:root {
    --brand-navy: #0B1634;
    --brand-navy-light: #152248;
    --brand-gold: #FFCC00;
    --brand-gold-dark: #E6B800;
    --brand-gold-light: #FFD633;
    --brand-white: #FFFFFF;
}

/* ---- Logo Sizes ---- */
.brand-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-logo-link:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo-suffix {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94A3B8;
    white-space: nowrap;
}

.brand-logo {
    display: block;
    object-fit: contain;
    object-position: left center;
}

/* Navbar — marketplace header */
.brand-logo--navbar {
    height: 44px;
    width: auto;
    max-width: 180px;
}

/* Auth pages — login / register */
.brand-logo--auth {
    height: 80px;
    width: auto;
    max-width: 220px;
    margin: 0 auto;
}

.brand-logo--auth-sm {
    height: 52px;
    width: auto;
    max-width: 160px;
}

/* Dashboard sidebars (dark bg — logo blends naturally) */
.brand-logo--sidebar {
    height: 40px;
    width: auto;
    max-width: 160px;
}

/* Footer */
.brand-logo--footer {
    height: 42px;
    width: auto;
    max-width: 180px;
    margin-bottom: 0;
}

/* Hero / landing */
.brand-logo--hero {
    height: 100px;
    width: auto;
    max-width: 280px;
}

/* Admin auth glass panel */
.brand-logo--auth-brand {
    height: 90px;
    width: auto;
    max-width: 240px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
}

/* Center auth logos */
.brand-logo-link--auth,
.brand-logo-link--auth-sm,
.brand-logo-link--auth-brand {
    justify-content: center;
    width: 100%;
}

.brand-logo-link--navbar .brand-logo {
    border-radius: 6px;
}

/* Top bar brand navy */
.top-bar {
    background-color: var(--brand-navy) !important;
}

/* Independence Day waving flag (top bar) — flag only */
.top-bar-left {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: nowrap;
    min-width: 0;
}

.ind-flag {
    position: relative;
    width: 36px;
    height: 24px;
    flex-shrink: 0;
    transform-origin: left center;
}

.ind-flag--top {
    display: inline-block;
}

.ind-flag-pole {
    position: absolute;
    left: 0;
    top: -2px;
    bottom: -2px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, #E5E7EB, #9CA3AF);
    z-index: 2;
}

.ind-flag-cloth {
    position: absolute;
    left: 2px;
    top: 0;
    width: 32px;
    height: 24px;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    border-radius: 0 3px 3px 0;
    overflow: hidden;
    transform-origin: left center;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
    animation: ind-flag-wave 1.35s ease-in-out infinite;
}

.ind-stripe {
    display: block;
    width: 100%;
    height: 100%;
}

.ind-stripe--saffron {
    background: #FF9933;
}

.ind-stripe--white {
    background: #fff;
    position: relative;
}

.ind-stripe--green {
    background: #138808;
}

.ind-chakra {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    border: 1.2px solid #000080;
    box-shadow:
        0 0 0 0.5px #000080 inset,
        0 -2.4px 0 -1.5px #000080,
        0 2.4px 0 -1.5px #000080,
        2.4px 0 0 -1.5px #000080,
        -2.4px 0 0 -1.5px #000080;
    animation: ind-chakra-spin 4s linear infinite;
}

@keyframes ind-flag-wave {
    0%, 100% {
        transform: perspective(120px) rotateY(-12deg) skewY(-1.5deg) scaleX(0.96);
    }
    50% {
        transform: perspective(120px) rotateY(10deg) skewY(1.5deg) scaleX(1.02);
    }
}

@keyframes ind-chakra-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .ind-flag-cloth,
    .ind-chakra {
        animation: none;
    }
}

/* —— Homepage promo popup (admin image + link) —— */
html.home-promo-open,
body.home-promo-open,
html.ind-offer-open,
body.ind-offer-open {
    overflow: hidden;
}

.home-promo-popup {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.home-promo-popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.home-promo-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 45% at 50% 35%, rgba(255, 204, 0, 0.16), transparent 55%),
        rgba(5, 10, 28, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-promo-shell {
    position: relative;
    width: min(460px, 100%);
    z-index: 1;
    transform: translateY(22px) scale(0.96);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-promo-popup.is-open .home-promo-shell {
    transform: translateY(0) scale(1);
}

.home-promo-close {
    position: absolute;
    top: -0.55rem;
    right: -0.35rem;
    z-index: 6;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 0;
    background: #fff;
    color: #0B1634;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.15s ease, background 0.15s ease;
}

.home-promo-close:hover,
.home-promo-close:focus {
    background: #FFCC00;
    outline: none;
    transform: scale(1.05);
}

.home-promo-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #0B1634;
    border: 1px solid rgba(255, 204, 0, 0.35);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 40px rgba(255, 204, 0, 0.1);
}

.home-promo-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 4;
}

.home-promo-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #FF9933, #FFCC00, #138808);
    box-shadow: 0 0 12px rgba(255, 204, 0, 0.5);
}

.home-promo-media {
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, #101B3A, #0B1634);
}

.home-promo-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(68vh, 640px);
    object-fit: contain;
}

.home-promo-media-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.08) 50%, transparent 65%);
    opacity: 0.55;
}

.home-promo-footer {
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem 1rem 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%),
        #0B1634;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-promo-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 800;
    color: #0B1634;
    background: linear-gradient(135deg, #FFCC00, #E6B800);
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-promo-cta:hover {
    color: #0B1634;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(255, 204, 0, 0.36);
}

.home-promo-timer {
    margin: 0;
    text-align: center;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.58);
}

.home-promo-timer strong {
    color: #FFCC00;
    font-weight: 800;
}

@media (max-width: 480px) {
    .home-promo-shell {
        width: min(100%, 100%);
        padding: 0 0.15rem;
    }

    .home-promo-close {
        top: -0.35rem;
        right: 0.15rem;
        width: 38px;
        height: 38px;
    }

    .home-promo-card {
        border-radius: 18px;
    }

    .home-promo-media img {
        max-height: min(62vh, 520px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-promo-popup,
    .home-promo-shell {
        transition: none;
    }
}

/* Navbar accent */
.navbar-custom .navbar-brand,
.navbar .brand-logo-link--navbar {
    padding: 0;
}

/* Auth card logo block */
.auth-logo-block {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-logo-block .brand-logo--auth {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Override primary with brand gold on key CTAs */
.btn-brand-gold {
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-dark));
    border: none;
    color: var(--brand-navy);
    font-weight: 600;
}

.btn-brand-gold:hover {
    background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
    color: var(--brand-navy);
}

.hero-section {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-light) 50%, #1a3a6b 100%) !important;
}

.site-footer {
    background-color: #F8FAFC !important;
}

/* —— Header row + mobile offcanvas (slide from right) —— */
.site-nav-toggler:focus {
    box-shadow: none;
}

.site-navbar-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
}

.site-nav-toggler {
    padding: 0.35rem 0.45rem;
}

.site-mobile-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.site-mobile-login {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    border: 1.5px solid #E2E8F0;
    background: #fff;
    color: #0B1634;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.site-mobile-login i {
    font-size: 0.85rem;
    color: #92680A;
}

.site-mobile-login:hover,
.site-mobile-login:focus {
    border-color: #0B1634;
    color: #0B1634;
    background: #FFFBEB;
}

.site-mobile-post-req {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1.5px solid #FDE68A;
    background: linear-gradient(135deg, #FFCC00, #E6B800);
    color: #0B1634;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(255, 204, 0, 0.28);
}

.site-mobile-post-req i {
    font-size: 0.85rem;
}

.site-mobile-post-req:hover,
.site-mobile-post-req:focus {
    background: linear-gradient(135deg, #FFD633, #FFCC00);
    color: #0B1634;
    outline: none;
}

.site-mobile-search-toggle {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1.5px solid #E2E8F0;
    background: #fff;
    color: #0B1634;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.site-mobile-search-toggle i {
    font-size: 0.9rem;
}

.site-mobile-search-toggle:hover,
.site-mobile-search-toggle:focus {
    border-color: #FDE68A;
    background: #FFFBEB;
    color: #0B1634;
    outline: none;
}

.site-mobile-search-toggle.is-open {
    border-color: #FDE68A;
    background: linear-gradient(135deg, #FFCC00, #E6B800);
    color: #0B1634;
    box-shadow: 0 3px 10px rgba(255, 204, 0, 0.28);
}

.site-mobile-search {
    display: none;
    background: #F4F7FB;
    border-bottom: 1px solid #E2E8F0;
    padding: 0.7rem 0.85rem 0.9rem;
}

.site-mobile-search.is-open {
    display: block;
}

.site-mobile-search-inner {
    max-width: 520px;
    margin: 0 auto;
}

.site-mobile-search-form,
.site-mobile-search .site-mobile-search-form.home-pro-search {
    margin: 0 !important;
    width: 100%;
    max-width: none;
    display: grid !important;
    gap: 0.85rem !important;
    row-gap: 0.85rem !important;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 1rem !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    flex-direction: unset !important;
    flex-wrap: unset !important;
    align-items: stretch !important;
}

.site-mobile-search .site-offcanvas-search-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0B1634;
    margin: 0 0 0.15rem;
}

.site-mobile-search .site-offcanvas-search-label i {
    color: #B45309;
}

.site-mobile-search .home-pro-search-input {
    width: 100%;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    background: #F8FAFC !important;
    padding: 0.8rem 0.95rem !important;
    font-size: 0.9rem;
    margin: 0;
}

.site-mobile-search .home-pro-cat-filter {
    width: 100%;
    min-width: 0;
    border-right: 0 !important;
    border-top: 0 !important;
    order: 0 !important;
    margin: 0;
}

.site-mobile-search .home-pro-cat-trigger {
    border-radius: 12px !important;
    width: 100%;
    background: #fff !important;
    border: 1px solid #E2E8F0 !important;
    min-height: 46px;
    font-weight: 700;
}

.site-mobile-search .home-pro-search-btn {
    width: 100%;
    justify-content: center;
    margin: 0.15rem 0 0 !important;
    border-radius: 999px;
    min-height: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #FFCC00, #E6B800);
    color: #0B1634;
    border: 0;
    box-shadow: 0 8px 18px rgba(255, 204, 0, 0.28);
}

.site-navbar .site-nav-link--post-req {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.site-navbar .site-nav-link--post-req .site-nav-icon {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.35), rgba(255, 204, 0, 0.15));
    color: #92680A;
}

.site-post-req-dialog {
    max-width: 420px;
    margin: 1rem auto;
}

.site-post-req-content {
    background: transparent;
    box-shadow: none;
    position: relative;
}

.site-post-req-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 2;
    filter: invert(1);
    opacity: 0.85;
}

.site-post-req-close:hover {
    opacity: 1;
}

.site-post-req-card {
    margin: 0 !important;
    height: auto !important;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

.site-post-req-card .home-pro-req-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

@media (max-width: 575.98px) {
    .site-post-req-dialog {
        max-width: calc(100% - 1.25rem);
        margin: 0.75rem auto;
    }

    .site-post-req-card {
        padding: 1.25rem 1.1rem 1.1rem;
        border-radius: 16px;
    }
}

/* —— Top bar: mobile matches desktop sell CTA —— */
@media (max-width: 991.98px) {
    .top-bar {
        padding: 0.4rem 0;
    }

    .top-bar-inner {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.45rem 0.65rem;
        text-align: left;
    }

    .top-bar-left,
    .top-bar-right {
        justify-self: unset !important;
        flex: 0 0 auto;
    }

    .top-bar-left {
        order: 1;
        gap: 0.5rem;
        max-width: none;
        flex: 1 1 auto;
        min-width: 0;
    }

    .ind-flag--top {
        width: 30px;
        height: 20px;
    }

    .ind-flag--top .ind-flag-cloth {
        width: 26px;
        height: 20px;
    }

    .ind-flag--top .ind-chakra {
        width: 5.5px;
        height: 5.5px;
        margin: -2.75px 0 0 -2.75px;
    }

    @media (max-width: 420px) {
        .top-bar-contact span {
            font-size: 0.7rem;
        }

        .top-bar-contact span strong {
            font-size: 0.7rem;
        }

        .ind-flag--top {
            width: 28px;
            height: 18px;
        }

        .ind-flag--top .ind-flag-cloth {
            width: 24px;
            height: 18px;
        }
    }

    .top-bar-right {
        order: 2;
        margin-left: auto;
    }

    .top-bar-offer {
        order: 3;
        flex: 1 1 100%;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        padding: 0.28rem 0.7rem;
        gap: 0.4rem;
    }

    .top-bar-contact {
        font-size: 0.75rem;
        gap: 0.35rem;
    }

    .top-bar-sell-btn {
        display: inline-flex !important;
        align-items: center;
        gap: 0.3rem;
        padding: 0.28rem 0.55rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    /* Keep "Sell with Us" visible (pro-ui hides it on small screens) */
    .top-bar-sell-btn span:not(.top-bar-sell-badge) {
        display: inline !important;
    }

    .top-bar-sell-badge {
        display: inline-flex !important;
        align-items: center;
        font-size: 0.58rem;
        padding: 0.12rem 0.38rem;
        background: rgba(11, 22, 52, 0.18);
        color: #fff;
        line-height: 1.1;
    }

    .top-bar-countdown .cd-seg {
        min-width: 1.2rem;
    }

    .top-bar-countdown .cd-seg b {
        font-size: 0.75rem;
    }
}

@media (max-width: 400px) {
    .top-bar-inner {
        justify-content: center;
    }

    .top-bar-left,
    .top-bar-right {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .top-bar-right {
        order: 3;
    }

    .top-bar-offer {
        order: 2;
    }
}

@media (min-width: 992px) {
    .site-navbar .site-header-search {
        display: flex !important;
        align-items: center;
        min-width: 0;
    }

    /* Desktop: drawer never visible as page chrome */
    .site-offcanvas {
        visibility: hidden !important;
        transform: translateX(100%) !important;
        pointer-events: none !important;
    }

    .offcanvas-backdrop {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .site-navbar-inner {
        flex-wrap: nowrap;
    }

    /* Never show desktop header search on mobile */
    .site-navbar .site-header-search {
        display: none !important;
    }

    .site-offcanvas.offcanvas {
        --bs-offcanvas-width: min(90vw, 380px);
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        z-index: 1050;
        border-left: 0;
        background: #F4F7FB;
        box-shadow: -18px 0 50px rgba(11, 22, 52, 0.18);
    }

    .site-offcanvas-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.75rem;
        width: 100%;
        padding: 0.9rem 1rem;
        border-bottom: 0;
        background: linear-gradient(135deg, #0B1634 0%, #152248 55%, #1E3A6E 100%);
        flex-shrink: 0;
    }

    .site-offcanvas-brand {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        min-width: 0;
        flex: 1 1 auto;
        max-width: calc(100% - 52px);
    }

    .site-offcanvas-brand .brand-logo,
    .site-offcanvas-brand a {
        max-width: 112px;
        flex-shrink: 0;
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
    }

    .site-offcanvas-heading {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
        min-width: 0;
        flex: 1 1 auto;
    }

    .site-offcanvas-title {
        font-size: 0.72rem;
        font-weight: 800;
        color: #FFCC00;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        line-height: 1.1;
    }

    .site-offcanvas-heading small {
        font-size: 0.68rem;
        color: rgba(255, 255, 255, 0.72);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .site-offcanvas-close {
        width: 38px;
        height: 38px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.14);
        color: #fff;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 38px;
        margin-left: auto !important;
        order: 3;
        padding: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .site-offcanvas-close i {
        font-size: 1rem;
        line-height: 1;
    }

    .site-offcanvas-close:hover,
    .site-offcanvas-close:focus {
        background: rgba(255, 255, 255, 0.24);
        color: #fff;
        outline: none;
        border-color: rgba(255, 204, 0, 0.45);
    }

    .site-offcanvas-body {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        background:
            radial-gradient(ellipse 80% 40% at 100% 0%, rgba(255, 204, 0, 0.08), transparent 55%),
            #F4F7FB;
        flex: 1 1 auto;
        min-height: 0;
    }

    .site-offcanvas-search-label {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.68rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #64748B;
        margin-bottom: 0.15rem;
    }

    .site-offcanvas-search-label i {
        color: #B45309;
    }

    .site-offcanvas .site-header-search,
    .site-offcanvas .site-offcanvas-search {
        margin: 0 !important;
        width: 100%;
        max-width: none;
        display: grid !important;
        gap: 0.55rem;
        background: #fff;
        border: 1px solid #E2E8F0;
        border-radius: 18px;
        padding: 0.9rem;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    }

    .site-offcanvas .site-header-search .home-pro-search-input,
    .site-offcanvas .site-offcanvas-search .home-pro-search-input {
        width: 100%;
        border: 1px solid #E2E8F0;
        border-radius: 12px;
        background: #F8FAFC;
        padding: 0.75rem 0.9rem;
        font-size: 0.9rem;
    }

    .site-offcanvas .site-header-search .home-pro-cat-filter {
        width: 100%;
        min-width: 0;
        border-right: 0;
        order: 0;
    }

    .site-offcanvas .site-header-search .home-pro-cat-trigger {
        border-radius: 12px;
        width: 100%;
        background: #fff;
        border: 1px solid #E2E8F0;
        min-height: 44px;
        font-weight: 700;
    }

    .site-offcanvas .site-header-search .home-pro-search-btn {
        width: 100%;
        justify-content: center;
        margin: 0;
        border-radius: 12px;
        min-height: 46px;
        font-weight: 800;
        background: linear-gradient(135deg, #FFCC00, #E6B800);
        color: #0B1634;
        border: 0;
        box-shadow: 0 8px 18px rgba(255, 204, 0, 0.28);
    }

    .site-offcanvas-section {
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
    }

    .site-offcanvas-section-label {
        font-size: 0.68rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #94A3B8;
        padding-left: 0.15rem;
    }

    .site-offcanvas .site-nav-menu {
        width: 100%;
        margin: 0 !important;
        gap: 0.45rem;
        padding: 0;
    }

    .site-offcanvas .site-nav-menu .nav-item {
        width: 100%;
    }

    .site-offcanvas .site-nav-link {
        display: flex !important;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
        padding: 0.8rem 0.85rem !important;
        border-radius: 14px;
        background: #fff;
        border: 1px solid #E2E8F0;
        color: #0F172A !important;
        font-weight: 650;
        font-size: 0.92rem;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
        transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

    .site-offcanvas .site-nav-link:hover,
    .site-offcanvas .site-nav-link:focus {
        background: #FFFBEB;
        border-color: #FDE68A;
        color: #0F172A !important;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    }

    .site-offcanvas .site-nav-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #FEF3C7;
        color: #B45309;
        flex-shrink: 0;
        font-size: 0.95rem;
    }

    .site-offcanvas .site-nav-icon--leads {
        background: #FFEDD5;
        color: #C2410C;
    }

    .site-offcanvas .site-nav-icon--deal {
        background: #FEF3C7;
        color: #0B1634;
    }

    .site-offcanvas .site-nav-icon--cart {
        background: #CCFBF1;
        color: #0F766E;
    }

    .site-offcanvas .site-nav-icon--msg {
        background: #DBEAFE;
        color: #1D4ED8;
    }

    .site-offcanvas .site-nav-copy {
        display: flex;
        flex-direction: column;
        gap: 0.08rem;
        min-width: 0;
        flex: 1 1 auto;
        text-align: left;
    }

    .site-offcanvas .site-nav-copy strong {
        font-size: 0.9rem;
        font-weight: 800;
        color: #0B1634;
        line-height: 1.2;
    }

    .site-offcanvas .site-nav-copy small {
        font-size: 0.68rem;
        color: #64748B;
        font-weight: 500;
        line-height: 1.25;
    }

    .site-offcanvas .site-nav-chevron {
        margin-left: auto;
        color: #CBD5E1;
        font-size: 0.72rem;
        flex-shrink: 0;
    }

    .site-offcanvas .site-nav-badge {
        margin-left: 0;
        background: linear-gradient(135deg, #EF4444, #DC2626);
        color: #fff;
        font-size: 0.58rem;
        font-weight: 800;
        border-radius: 999px;
        padding: 0.18rem 0.45rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
    }

    .site-offcanvas .site-nav-cart-count {
        margin-left: 0;
        min-width: 22px;
        height: 22px;
        border-radius: 999px;
        background: #0F766E;
        color: #fff;
        font-size: 0.68rem;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 0.35rem;
    }

    .site-offcanvas-section-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .site-offcanvas-section-link {
        font-size: 0.72rem;
        font-weight: 800;
        color: #1D4ED8;
        text-decoration: none;
        white-space: nowrap;
    }

    .site-offcanvas-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
    }

    .site-offcanvas-action {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
        text-align: left;
        padding: 0.85rem 0.8rem;
        border-radius: 14px;
        border: 1px solid #E2E8F0;
        background: #fff;
        text-decoration: none;
        color: inherit;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
        min-height: 96px;
        cursor: pointer;
        transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

    .site-offcanvas-action:hover,
    .site-offcanvas-action:focus {
        transform: translateY(-1px);
        border-color: #FDE68A;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
        outline: none;
        color: inherit;
    }

    .site-offcanvas-action-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0.25rem;
        font-size: 0.85rem;
    }

    .site-offcanvas-action strong {
        font-size: 0.78rem;
        font-weight: 800;
        color: #0B1634;
        line-height: 1.2;
    }

    .site-offcanvas-action small {
        font-size: 0.65rem;
        color: #64748B;
        line-height: 1.3;
    }

    .site-offcanvas-action--req .site-offcanvas-action-icon {
        background: #DBEAFE;
        color: #1D4ED8;
    }

    .site-offcanvas-action--sell .site-offcanvas-action-icon {
        background: #FEF3C7;
        color: #B45309;
    }

    .site-offcanvas-action--deal .site-offcanvas-action-icon {
        background: #FEE2E2;
        color: #DC2626;
    }

    .site-offcanvas-action--leads .site-offcanvas-action-icon {
        background: #FFEDD5;
        color: #C2410C;
    }

    .site-offcanvas-promo {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        padding: 0.95rem 1rem;
        border-radius: 16px;
        text-decoration: none;
        color: #fff;
        background:
            linear-gradient(135deg, rgba(11, 22, 52, 0.92), rgba(30, 58, 110, 0.95)),
            #0B1634;
        border: 1px solid rgba(255, 204, 0, 0.28);
        box-shadow: 0 12px 28px rgba(11, 22, 52, 0.18);
    }

    .site-offcanvas-promo-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        align-self: flex-start;
        font-size: 0.62rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #0B1634;
        background: #FFCC00;
        border-radius: 999px;
        padding: 0.2rem 0.55rem;
    }

    .site-offcanvas-promo strong {
        font-size: 0.88rem;
        font-weight: 800;
        line-height: 1.35;
        color: #fff;
    }

    .site-offcanvas-promo-cta {
        font-size: 0.72rem;
        font-weight: 700;
        color: #FFCC00;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

    .site-offcanvas-cats {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    .site-offcanvas-cat {
        display: inline-flex;
        align-items: center;
        max-width: 100%;
        padding: 0.45rem 0.7rem;
        border-radius: 999px;
        background: #fff;
        border: 1px solid #E2E8F0;
        color: #334155;
        font-size: 0.72rem;
        font-weight: 700;
        text-decoration: none;
        line-height: 1.2;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    }

    .site-offcanvas-cat:hover,
    .site-offcanvas-cat:focus {
        background: #FFFBEB;
        border-color: #FDE68A;
        color: #0B1634;
    }

    .site-offcanvas .site-mobile-account {
        margin-top: 0;
        background: #fff;
        border: 1px solid #E2E8F0;
        border-radius: 16px;
        padding: 0.95rem;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
        list-style: none;
    }

    .site-offcanvas .site-mobile-account-head {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.85rem;
    }

    .site-offcanvas .site-mobile-account-avatar {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
        color: #3730A3;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.45rem;
    }

    .site-offcanvas .site-mobile-account-head strong {
        display: block;
        font-size: 0.95rem;
        color: #0F172A;
    }

    .site-offcanvas .site-mobile-account-head small {
        display: block;
        color: #64748B;
        font-size: 0.72rem;
    }

    .site-offcanvas .site-mobile-account-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.45rem;
        padding-top: 0;
    }

    .site-offcanvas .site-mobile-account-actions a {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        padding: 0.65rem 0.75rem;
        border-radius: 12px;
        text-decoration: none;
        color: #334155;
        font-weight: 700;
        font-size: 0.86rem;
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
    }

    .site-offcanvas .site-mobile-account-actions a.is-logout {
        color: #B91C1C;
        background: #FEF2F2;
        border-color: #FECACA;
    }

    .site-offcanvas-join {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        border-radius: 16px;
        background: #fff;
        border: 1px solid #E2E8F0;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
        margin-top: 0.15rem;
    }

    .site-offcanvas-join-copy strong {
        display: block;
        font-size: 0.92rem;
        font-weight: 800;
        color: #0B1634;
        margin-bottom: 0.2rem;
    }

    .site-offcanvas-join-copy p {
        margin: 0;
        font-size: 0.75rem;
        color: #64748B;
        line-height: 1.4;
    }

    .site-offcanvas-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
        margin-top: 0;
        padding-top: 0;
    }

    .site-offcanvas-cta a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        min-height: 46px;
        border-radius: 12px;
        text-decoration: none;
        font-size: 0.82rem;
        font-weight: 800;
        padding: 0.65rem 0.7rem;
    }

    .site-offcanvas-cta-login {
        background: #fff;
        color: #0B1634;
        border: 1.5px solid #E2E8F0;
    }

    .site-offcanvas-cta-sell {
        background: linear-gradient(135deg, #FFCC00, #E6B800);
        color: #0B1634;
        border: 0;
        box-shadow: 0 8px 18px rgba(255, 204, 0, 0.28);
    }

    .site-offcanvas-join-buyer {
        text-align: center;
        font-size: 0.74rem;
        color: #64748B;
        text-decoration: none;
        font-weight: 600;
    }

    .site-offcanvas-join-buyer span {
        color: #1D4ED8;
        font-weight: 800;
    }

    .site-offcanvas-support {
        display: grid;
        grid-template-columns: 1.4fr 0.8fr;
        gap: 0.5rem;
        margin-top: 0.25rem;
    }

    .site-offcanvas-support-call,
    .site-offcanvas-support-mail {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        padding: 0.75rem 0.8rem;
        border-radius: 14px;
        background: #fff;
        border: 1px solid #E2E8F0;
        text-decoration: none;
        color: #0F172A;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    }

    .site-offcanvas-support-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #ECFDF5;
        color: #047857;
        flex-shrink: 0;
    }

    .site-offcanvas-support-call strong {
        display: block;
        font-size: 0.78rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .site-offcanvas-support-call small {
        display: block;
        font-size: 0.68rem;
        color: #047857;
        font-weight: 700;
    }

    .site-offcanvas-support-mail {
        justify-content: center;
        font-size: 0.78rem;
        font-weight: 800;
        color: #1D4ED8;
    }

    .site-offcanvas-trust {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem 0.7rem;
        justify-content: space-between;
        padding: 0.7rem 0.15rem 0.35rem;
        border-top: 1px dashed #D8E0EC;
        margin-top: 0.15rem;
    }

    .site-offcanvas-trust span {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        font-size: 0.65rem;
        font-weight: 700;
        color: #64748B;
    }

    .site-offcanvas-trust i {
        color: #0B1634;
        font-size: 0.7rem;
    }
}

/* —— Grow section: mobile layout —— */
@media (max-width: 767.98px) {
    .home-grow {
        padding: 2.75rem 0 2.6rem;
    }

    .home-grow-hero {
        max-width: 100%;
        padding: 0 0.15rem;
    }

    .home-grow-title {
        font-size: clamp(1.55rem, 7vw, 1.9rem);
        margin-bottom: 0.7rem;
    }

    .home-grow-subtitle {
        font-size: 0.875rem;
        line-height: 1.55;
        margin: 0 auto 1.2rem;
        max-width: 34rem;
    }

    .home-grow-actions {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 0.65rem;
        margin-bottom: 1.25rem;
    }

    .home-grow-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 0.9rem 1rem;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    .home-grow-btn span {
        flex: 1 1 auto;
        text-align: left;
    }

    .home-grow-btn-arrow {
        margin-left: auto;
    }

    .home-grow-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
        width: 100%;
        align-items: stretch;
    }

    .home-grow-stat-divider {
        display: none !important;
    }

    .home-grow-stat {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
        padding: 0.7rem 0.65rem;
        margin: 0;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
        font-size: 0.72rem;
        line-height: 1.35;
        color: rgba(255, 255, 255, 0.88);
    }

    .home-grow-stat-icon {
        width: 30px;
        height: 30px;
        font-size: 0.72rem;
        background: rgba(255, 204, 0, 0.18);
    }

    .home-grow-stat-text {
        display: flex;
        flex-direction: column;
        gap: 0.08rem;
        min-width: 0;
    }

    .home-grow-stat-text strong {
        display: block;
        margin-right: 0;
        font-size: 0.82rem;
        line-height: 1.2;
    }
}

/* —— Why Choose stats: mobile 2x2 —— */
@media (max-width: 767.98px) {
    .home-why-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
        padding: 0.85rem !important;
        align-items: stretch;
    }

    .home-why-stat-divider {
        display: none !important;
    }

    .home-why-stat {
        flex: none !important;
        width: 100%;
        justify-content: flex-start !important;
        align-items: flex-start;
        gap: 0.55rem;
        padding: 0.75rem 0.7rem !important;
        border-radius: 12px;
        background: #F8FAFC;
        border: 1px solid #EEF2F7;
        min-width: 0;
    }

    .home-why-stat-icon {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        font-size: 0.8rem;
    }

    .home-why-stat-text {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
        min-width: 0;
        font-size: 0.72rem;
        line-height: 1.3;
        text-align: left;
    }

    .home-why-stat-text strong {
        display: block;
        margin-right: 0;
        font-size: 0.9rem;
        line-height: 1.15;
    }

    .home-why-stat-text > span {
        display: block;
        color: #64748B;
        white-space: normal;
    }
}

/* —— Why Choose cards: strong mobile highlight —— */
@media (max-width: 767.98px) {
    .home-why {
        padding: 2.75rem 0 3rem !important;
        background:
            radial-gradient(ellipse 90% 50% at 50% 0%, rgba(255, 204, 0, 0.14), transparent 55%),
            linear-gradient(180deg, #EEF2FF 0%, #F8FAFC 42%, #FFFFFF 100%) !important;
    }

    .home-why-head {
        margin-bottom: 1.5rem !important;
        padding: 0 0.25rem;
    }

    .home-why-head h2 {
        font-size: clamp(1.45rem, 6.5vw, 1.85rem) !important;
    }

    .home-why-cards {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.9rem !important;
        margin-bottom: 1.25rem !important;
    }

    .home-why-card {
        position: relative;
        overflow: hidden;
        padding: 1.35rem 1.15rem 1.2rem !important;
        border-radius: 18px !important;
        border: 1px solid rgba(15, 23, 42, 0.08) !important;
        background: #fff !important;
        box-shadow:
            0 10px 28px rgba(15, 23, 42, 0.1),
            0 2px 6px rgba(15, 23, 42, 0.04) !important;
        text-align: left !important;
        align-items: flex-start !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 0.15rem 0.9rem;
    }

    .home-why-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        border-radius: 18px 0 0 18px;
    }

    .home-why-card--orange::before { background: linear-gradient(180deg, #FB923C, #EA580C); }
    .home-why-card--green::before { background: linear-gradient(180deg, #4ADE80, #16A34A); }
    .home-why-card--blue::before { background: linear-gradient(180deg, #60A5FA, #2563EB); }
    .home-why-card--gold::before { background: linear-gradient(180deg, #FBBF24, #D97706); }

    .home-why-card-icon {
        width: 52px !important;
        height: 52px !important;
        font-size: 1.2rem !important;
        margin: 0 !important;
        flex-shrink: 0;
        box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
    }

    .home-why-card h3 {
        flex: 1 1 calc(100% - 70px);
        margin: 0.15rem 0 0.35rem !important;
        font-size: 1.02rem !important;
        align-self: center;
    }

    .home-why-card p {
        flex: 1 1 100%;
        margin: 0.15rem 0 0.2rem !important;
        font-size: 0.84rem !important;
        line-height: 1.5 !important;
        padding-left: 0.1rem;
    }

    .home-why-card-sub {
        flex: 1 1 100%;
        margin: 0 0 0.65rem !important;
        font-size: 0.78rem !important;
        color: #64748B !important;
        padding-left: 0.1rem;
    }

    .home-why-card-accent {
        display: none !important;
    }

    .home-why-card-link {
        flex: 1 1 100%;
        justify-content: center;
        margin-top: 0.35rem !important;
        padding: 0.55rem 0.85rem !important;
        border-radius: 999px !important;
        background: #0B1634 !important;
        color: #fff !important;
        font-size: 0.78rem !important;
        gap: 0.4rem !important;
    }

    .home-why-card--orange .home-why-card-link { background: #EA580C !important; }
    .home-why-card--green .home-why-card-link { background: #16A34A !important; }
    .home-why-card--blue .home-why-card-link { background: #2563EB !important; }
    .home-why-card--gold .home-why-card-link { background: #D97706 !important; color: #fff !important; }

    .home-why-card-link:hover,
    .home-why-card-link:focus {
        color: #fff !important;
        filter: brightness(1.06);
    }

    .home-why-stats {
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08) !important;
        border-color: rgba(15, 23, 42, 0.08) !important;
    }
}

/* —— How trust strip: fix icons + mobile 2x2 —— */
.home-how-trust-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.home-how-trust-icon i {
    display: block;
    line-height: 1;
    font-size: 1rem;
}

@media (max-width: 767.98px) {
    .home-how-trust {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
        padding: 0.85rem;
        overflow: visible;
        flex-direction: unset;
    }

    .home-how-trust-divider {
        display: none !important;
    }

    .home-how-trust-item {
        flex: none !important;
        width: 100%;
        min-width: 0;
        align-items: flex-start;
        gap: 0.55rem;
        padding: 0.75rem 0.7rem !important;
        border-radius: 12px;
        background: #F8FAFC;
        border: 1px solid #EEF2F7;
    }

    .home-how-trust-icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 9px;
        flex-shrink: 0;
    }

    .home-how-trust-item > div {
        min-width: 0;
    }

    .home-how-trust-item strong {
        font-size: 0.8rem;
        margin-bottom: 0.1rem;
    }

    .home-how-trust-item > div span {
        font-size: 0.68rem;
        line-height: 1.35;
        white-space: normal;
    }
}

/* —— Home pro stats (categories card): mobile 2x2 —— */
@media (max-width: 767.98px) {
    .home-pro-stats {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.55rem !important;
        margin: 0 !important;
        padding: 0.75rem !important;
        background: #F8FAFC;
        border-top: 1px solid #EEF2F7;
    }

    .home-pro-stat {
        border-right: none !important;
        border-bottom: none !important;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.7rem 0.65rem !important;
        border-radius: 12px;
        background: #fff;
        border: 1px solid #E2E8F0 !important;
        min-width: 0;
    }

    .home-pro-stat-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        border-radius: 8px;
    }

    .home-pro-stat > div {
        min-width: 0;
    }

    .home-pro-stat strong {
        font-size: 0.84rem;
        white-space: normal;
    }

    .home-pro-stat span:not(.home-pro-stat-icon) {
        white-space: normal !important;
        font-size: 0.68rem;
        line-height: 1.3;
    }
}

/* —— Explore Top Categories: mobile 3x3 IndiaMART-style structure —— */
@media (max-width: 767.98px) {
    .home-pro-categories {
        padding: 1rem 0 0 !important;
        border-radius: 16px !important;
        overflow: hidden;
    }

    .home-pro-categories-head {
        padding: 0 1rem 0.75rem !important;
        margin-bottom: 0 !important;
        gap: 0.5rem;
    }

    .home-pro-categories-head h2 {
        font-size: 1rem !important;
    }

    .home-pro-categories-head .home-pro-view-all {
        display: none !important;
    }

    .home-pro-cat-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border-top: 1px solid #E8EEF5;
    }

    .home-pro-cat-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center !important;
        gap: 0.45rem !important;
        min-height: 112px !important;
        padding: 0.85rem 0.45rem 0.75rem !important;
        border: 0 !important;
        border-radius: 0 !important;
        border-right: 1px solid #E8EEF5 !important;
        border-bottom: 1px solid #E8EEF5 !important;
        background: #fff !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .home-pro-cat-card:nth-child(3n) {
        border-right: 0 !important;
    }

    .home-pro-cat-card:hover {
        background: #F8FAFC !important;
        border-color: #E8EEF5 !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .home-pro-cat-popular {
        top: 0.3rem !important;
        right: 0.3rem !important;
        font-size: 0.45rem !important;
        padding: 0.1rem 0.3rem !important;
    }

    .home-pro-cat-icon {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        font-size: 1.05rem !important;
        margin: 0 auto;
    }

    .home-pro-cat-icon--view-all {
        background: #EEF2FF !important;
        color: #1D4ED8 !important;
        letter-spacing: 0.08em;
    }

    .home-pro-cat-body {
        padding: 0 !important;
        width: 100%;
    }

    .home-pro-cat-body strong {
        font-size: 0.68rem !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-pro-cat-body small {
        display: none !important;
    }

    .home-pro-cat-card--view-all .home-pro-cat-body strong {
        color: #1D4ED8 !important;
    }
}

/* —— Top bar layout —— */
.top-bar-inner:has(.top-bar-offer) {
    grid-template-columns: 1fr auto 1fr;
}

.top-bar-inner:not(:has(.top-bar-offer)) {
    grid-template-columns: 1fr auto;
}

@media (max-width: 991.98px) {
    .top-bar-inner:not(:has(.top-bar-offer)),
    .top-bar-inner:has(.top-bar-offer) {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
}
@media (max-width: 767.98px) {
    .footer-help-item--subscribe .footer-subscribe,
    .footer-subscribe {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: none !important;
        gap: 0.65rem !important;
    }

    .footer-subscribe input[type="email"],
    .footer-subscribe input {
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
        height: 48px !important;
        min-height: 48px !important;
        border-radius: 12px !important;
        padding: 0 1rem !important;
        font-size: 0.9rem !important;
        box-sizing: border-box !important;
    }

    .footer-subscribe button {
        width: 100% !important;
        height: 48px !important;
        border-radius: 12px !important;
    }
}

