/* ============================================
   TECH JHULI INSPIRED THEME — Infinity Nexora
   ============================================ */

:root {
    --tj-blue: #0077ff;
    --tj-blue-dark: #0056d2;
    --tj-blue-light: #e8f1ff;
    --tj-blue-glow: #00aeef;
    --tj-blue-gradient: linear-gradient(135deg, #003366 0%, #0077ff 45%, #00aeef 100%);
    --tj-dark: #0a0e18;
    --tj-dark-elevated: #111827;
    --tj-dark-border: rgba(0, 119, 255, 0.22);
    --tj-text: #1a1a2e;
    --tj-text-muted: #6b7280;
    --tj-border: #e5e7eb;
    --tj-bg: #f0f3f8;
    --tj-radius: 12px;
    --tj-radius-lg: 16px;
    --tj-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --tj-shadow-md: 0 4px 24px rgba(0, 86, 210, 0.12);
}

/* ── Top Announcement Bar ── */
.tj-topbar {
    background: var(--tj-blue);
    color: #fff;
    font-size: 13px;
    padding: 9px 0;
    border-bottom: none;
}
.tj-topbar a { color: #fff; }
.tj-topbar a:hover { color: rgba(255,255,255,0.85); }
.tj-topbar-welcome { font-weight: 500; }
.tj-topbar-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}
.tj-topbar-contact span,
.tj-topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

/* ── Main Header ── */
.tj-header {
    background: #fff;
    padding: 14px 0;
    border-bottom: 1px solid var(--tj-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 10px rgba(15, 23, 42, 0.06);
}
.tj-header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}
.tj-logo { flex-shrink: 0; }

/* Brand lockup — logo + name */
.iz-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: inherit;
    line-height: 1.1;
}
.iz-brand-lockup:hover { text-decoration: none !important; opacity: 0.92; }
.iz-brand-lockup__logo {
    width: auto;
    max-height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}
.iz-brand-lockup--header .iz-brand-lockup__logo {
    max-height: 62px;
    filter: drop-shadow(0 2px 8px rgba(0, 86, 210, 0.15));
}
.iz-brand-lockup__name {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.iz-brand-lockup--header .iz-brand-lockup__name {
    font-size: 1.25rem;
}
.iz-brand-lockup--footer .iz-brand-lockup__name {
    color: #fff;
}
.iz-brand-lockup--footer .iz-brand-lockup__logo {
    max-height: 88px;
    filter: drop-shadow(0 4px 16px rgba(0, 119, 255, 0.4));
}
.iz-brand-lockup--admin-sidebar .iz-brand-lockup__name {
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}
.iz-brand-lockup--admin-sidebar .iz-brand-lockup__logo {
    max-height: 44px;
}
.iz-brand-lockup--admin-header .iz-brand-lockup__name {
    color: #fff;
    font-size: 0.9rem;
}
.iz-brand-lockup--admin-header .iz-brand-lockup__logo {
    max-height: 40px;
}
.iz-brand-lockup--login {
    flex-direction: column;
    gap: 8px;
    text-align: center;
}
.iz-brand-lockup--login .iz-brand-lockup__logo { max-height: 96px; }
.iz-brand-lockup--login .iz-brand-lockup__name {
    font-size: 1.05rem;
    color: #0D2B55;
}
.iz-brand-lockup--compact .iz-brand-lockup__logo { max-height: 36px; }
.iz-brand-lockup--compact .iz-brand-lockup__name {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tj-blue, #006ECC);
}

@media (max-width: 575px) {
    .iz-brand-lockup--header .iz-brand-lockup__name {
        font-size: 1rem;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .iz-brand-lockup--header .iz-brand-lockup__logo {
        max-height: 48px;
    }
}

.tj-search {
    flex: 1;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}
.tj-search input {
    width: 100%;
    padding: 11px 52px 11px 20px;
    border: 1.5px solid var(--tj-border);
    border-radius: 50px;
    font-size: 14px;
    background: #f8fafc;
    color: var(--tj-text);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.tj-search input::placeholder {
    color: #94a3b8;
}
.tj-search input:focus {
    outline: none;
    border-color: var(--tj-blue);
    box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.12);
    background: #fff;
}
.tj-search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: var(--tj-blue);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}
.tj-search button:hover { background: var(--tj-blue-dark); }
.tj-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.tj-btn-offers {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: var(--tj-blue);
    color: #fff !important;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.tj-btn-offers:hover {
    background: var(--tj-blue-dark);
    color: #fff !important;
    transform: translateY(-1px);
}
.tj-header-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--tj-border);
    border-radius: 50%;
    color: var(--tj-text);
    font-size: 17px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.tj-header-icon:hover {
    border-color: var(--tj-blue);
    color: var(--tj-blue);
    background: var(--tj-blue-light);
}
.tj-header-icon .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: var(--tj-blue);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ── Navigation Bar ── */
.tj-navbar {
    background: #fff;
    border-bottom: 1px solid var(--tj-border);
    padding: 0;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.tj-navbar-inner {
    display: flex;
    align-items: stretch;
    min-height: 48px;
}
.tj-categories-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    background: var(--tj-blue-gradient);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    height: 100%;
    min-height: 48px;
}
.tj-categories-btn:hover { background: var(--tj-blue-dark); color: #fff !important; }
.tj-categories-btn .fa-chevron-down { font-size: 11px; margin-left: 4px; }
.tj-nav-links {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 8px;
    overflow-x: auto;
}
.tj-nav-links a {
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--tj-text);
    white-space: nowrap;
    position: relative;
    transition: color 0.2s;
}
.tj-nav-links a:hover,
.tj-nav-links a.active {
    color: var(--tj-blue);
}
.tj-nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--tj-blue);
    border-radius: 3px 3px 0 0;
}
.tj-nav-social {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    margin-left: auto;
    flex-shrink: 0;
}
.tj-nav-social a {
    color: var(--tj-text-muted);
    font-size: 15px;
    transition: color 0.2s;
}
.tj-nav-social a:hover { color: var(--tj-blue); }

/* Categories Mega Dropdown */
.tj-categories-wrap { position: relative; z-index: 1100; }
.tj-categories-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    max-height: 70vh;
    overflow: visible;
    background: #fff;
    border: 1px solid var(--tj-border);
    border-radius: 0 0 var(--tj-radius) var(--tj-radius);
    box-shadow: var(--tj-shadow-md);
    z-index: 1100;
}
.tj-categories-wrap.open .tj-categories-dropdown { display: block; }

@media (min-width: 992px) {
    .tj-categories-wrap:hover .tj-categories-dropdown,
    .tj-categories-wrap.open .tj-categories-dropdown {
        display: block;
    }
    .tj-categories-wrap:hover,
    .tj-categories-wrap.open {
        z-index: 1200;
    }
    /* Hover bridge: keep :hover when moving from button to panel */
    .tj-categories-dropdown::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: -10px;
        height: 10px;
    }
    .tj-cat-backdrop.show {
        display: none !important;
    }
    body.tj-cat-menu-open {
        overflow: auto !important;
    }
}
.tj-categories-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 18px;
    font-size: 13px;
    color: var(--tj-text);
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s, color 0.15s;
}
.tj-categories-dropdown a:hover {
    background: var(--tj-blue-light);
    color: var(--tj-blue);
}
.tj-categories-dropdown a .fa-chevron-right {
    font-size: 10px;
    color: #ccc;
}

/* Category + subcategory hover panels */
.tj-cat-dropdown-all,
.tj-cat-all {
    display: flex;
    align-items: center;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tj-text);
    border-bottom: 1px solid #f3f4f6;
}
.tj-cat-all { padding: 9px 0; border-bottom: 1px solid #f3f4f6; }
.tj-cat-dropdown-all:hover,
.tj-cat-all:hover,
.tj-cat-all.active { color: var(--tj-blue); }

.tj-cat-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1990;
}
.tj-cat-backdrop.show { display: block; }
body.tj-cat-menu-open { overflow: hidden; }

.tj-cat-branch { position: relative; }
.tj-cat-branch__row {
    display: flex;
    align-items: stretch;
    gap: 0;
}
.tj-cat-toggle {
    flex: 0 0 36px;
    border: none;
    background: #f8fafc;
    color: var(--tj-blue);
    border-bottom: 1px solid #f3f4f6;
    display: none;
}
.tj-cat-branch__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--tj-text);
    transition: color 0.15s, background 0.15s;
}
.tj-cat-branch--sidebar .tj-cat-branch__link {
    flex: 1;
    padding: 9px 0;
    font-size: 13px;
    border-bottom: 1px solid #f3f4f6;
}
.tj-cat-branch--header .tj-cat-branch__link {
    padding: 11px 18px;
    font-size: 13px;
    border-bottom: 1px solid #f3f4f6;
    flex: 1;
}
@media (min-width: 992px) {
    .tj-cat-toggle--drawer { display: none !important; }
    .tj-categories-dropdown__body,
    .tj-categories-dropdown__foot { display: block; padding: 0; background: transparent; border: none; }
    .tj-categories-dropdown__foot { display: none !important; }
}
.tj-cat-branch__link:hover,
.tj-cat-branch__link.active,
.tj-cat-branch.is-active > .tj-cat-branch__link {
    color: var(--tj-blue);
}
.tj-cat-branch__link.active,
.tj-cat-branch.is-active > .tj-cat-branch__link {
    font-weight: 600;
}
.tj-cat-branch--header .tj-cat-branch__link:hover {
    background: var(--tj-blue-light);
}
.tj-cat-branch__chev {
    font-size: 10px;
    color: #cbd5e1;
    transition: transform 0.15s, color 0.15s;
}
.tj-cat-branch.has-children:hover > .tj-cat-branch__link .tj-cat-branch__chev,
.tj-cat-branch.is-active > .tj-cat-branch__link .tj-cat-branch__chev {
    color: var(--tj-blue);
    transform: translateX(2px);
}

.tj-cat-subpanel {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 268px;
    max-width: 320px;
    background: #fff;
    border: 1px solid var(--tj-border);
    border-radius: var(--tj-radius);
    box-shadow: var(--tj-shadow-md);
    z-index: 3000;
    padding: 8px 0;
}
.tj-cat-branch--sidebar .tj-cat-subpanel {
    margin-left: 0;
}
.tj-cat-branch.has-children.is-hover > .tj-cat-subpanel,
.tj-cat-branch.has-children:focus-within > .tj-cat-subpanel {
    display: block;
}
.tj-cat-sub-row { position: relative; }
.tj-cat-sub-row.is-hover { z-index: 3010; }
.tj-cat-branch.is-hover { z-index: 3005; }
.tj-cat-sub-row.has-children.is-hover > .tj-cat-subpanel--nested {
    display: block;
}
.tj-cat-subpanel--nested {
    left: 100%;
    top: 0;
    min-width: 248px;
}

@media (min-width: 992px) {
    /* Overlap + invisible bridge so the cursor can reach flyouts without closing */
    .tj-cat-subpanel,
    .tj-cat-subpanel--nested {
        margin-left: -14px;
        padding-left: 14px;
    }
    .tj-cat-subpanel::before,
    .tj-cat-subpanel--nested::before {
        content: '';
        position: absolute;
        top: -8px;
        bottom: -8px;
        left: -18px;
        width: 22px;
        background: transparent;
    }
    .tj-cat-branch.has-children.is-hover > .tj-cat-subpanel {
        display: block;
    }
    .tj-cat-sub-row.has-children.is-hover > .tj-cat-subpanel--nested {
        display: block;
    }
}
.tj-cat-sub-chev {
    font-size: 9px;
    margin-left: auto;
    color: #cbd5e1;
}
.tj-cat-nav-thumb {
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #e8ecf2;
    background: #fff;
}
.tj-cat-nav-thumb--main,
.tj-cat-nav-thumb--sub {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}
.tj-cat-nav-thumb--leaf {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}
.tj-cat-nav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tj-cat-nav-thumb__label {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}
.tj-cat-subpanel__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--tj-text);
    transition: background 0.15s, color 0.15s;
}
.tj-cat-subpanel__link .tj-cat-sub-chev {
    margin-left: auto;
    flex-shrink: 0;
}
.tj-cat-subpanel__link--leaf {
    font-size: 12px;
    padding: 7px 14px;
}
.tj-cat-subpanel__title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #94a3b8;
    padding: 6px 16px 8px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 4px;
}
.tj-cat-subpanel__all {
    display: block;
    padding: 9px 16px;
    font-size: 13px;
    color: var(--tj-text);
    transition: background 0.15s, color 0.15s;
}
.tj-cat-subpanel__link:hover,
.tj-cat-subpanel__link.active {
    background: var(--tj-blue-light);
    color: var(--tj-blue);
}
.tj-cat-subpanel__link.active {
    font-weight: 600;
}
.tj-cat-subpanel__all {
    margin-top: 4px;
    border-top: 1px solid #f1f5f9;
    font-weight: 600;
    color: var(--tj-blue);
}
.tj-cat-subpanel__all:hover { background: #f8fafc; }

@media (max-width: 991px) {
    /* Fullscreen drawer must sit above .tj-cat-backdrop (z-index 1990) or touches go to the dim layer */
    .tj-categories-wrap.open {
        z-index: 2100;
    }
    .tj-cat-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        min-height: 48px;
        background: #f8fafc;
        border-bottom: 1px solid #eef2f7;
        color: var(--tj-blue);
        font-size: 12px;
    }
    .tj-cat-toggle--drawer { border-right: 1px solid #eef2f7; }
    .tj-cat-branch.is-open > .tj-cat-branch__row .tj-cat-toggle i {
        transform: rotate(180deg);
    }
    .tj-categories-dropdown {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        min-width: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        z-index: 2000 !important;
        padding: 0 !important;
        overflow: hidden !important;
        display: none;
        flex-direction: column;
        background: #fff !important;
        -webkit-overflow-scrolling: touch;
    }
    .tj-categories-wrap.open .tj-categories-dropdown {
        display: flex !important;
    }
    .tj-categories-dropdown__head {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 16px 18px;
        background: linear-gradient(135deg, #0056d2 0%, #003d99 100%);
        color: #fff;
        flex-shrink: 0;
        box-shadow: 0 4px 16px rgba(0, 61, 153, 0.25);
    }
    .tj-categories-dropdown__head strong {
        font-size: 16px;
        display: block;
    }
    .tj-categories-dropdown__sub {
        font-size: 11px;
        opacity: 0.85;
        margin-top: 2px;
        font-weight: 500;
    }
    .tj-categories-close {
        border: none;
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
        font-size: 22px;
        line-height: 1;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        flex-shrink: 0;
    }
    .tj-categories-dropdown__head-text {
        flex: 1;
        min-width: 0;
    }
    .tj-categories-drill-back {
        border: none;
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        flex-shrink: 0;
        font-size: 16px;
    }
    .tj-categories-dropdown__body {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 8px 0 16px;
        background: #fff;
        position: relative;
    }
    /* Mobile drawer: inline accordion (category → sub → sub-sub) */
    .tj-cat-branch--header .tj-cat-branch__row {
        align-items: stretch;
    }
    .tj-cat-sub-row {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }
    .tj-cat-sub-row > .tj-cat-subpanel--nested {
        flex: 0 0 calc(100% - 36px);
    }
    .tj-cat-sub-row .tj-cat-subpanel__link {
        flex: 1;
        width: 100%;
        min-width: 0;
        border: none;
        border-bottom: 1px solid #f1f5f9 !important;
        background: transparent;
        text-align: left;
        font: inherit;
        color: var(--tj-text);
        cursor: pointer;
    }
    /* Desktop :focus-within flyout must not keep a collapsed mobile panel open */
    .tj-cat-branch--header.has-children:not(.is-open) > .tj-cat-subpanel,
    .tj-cat-branch--header .tj-cat-sub-row.has-children:not(.is-open) > .tj-cat-subpanel--nested {
        display: none !important;
    }
    .tj-cat-branch--header.has-children.is-open > .tj-cat-subpanel,
    .tj-cat-branch--header .tj-cat-sub-row.has-children.is-open > .tj-cat-subpanel--nested {
        display: block !important;
        animation: tjCatAccIn .18s ease-out;
    }
    @keyframes tjCatAccIn {
        from { opacity: 0; transform: translateY(-4px); }
        to { opacity: 1; transform: none; }
    }
    .tj-cat-drill-chev {
        transition: transform .2s ease;
    }
    .tj-cat-branch--header.is-open > .tj-cat-branch__row .tj-cat-drill-chev,
    .tj-cat-sub-row.is-open > .tj-cat-drill-hit .tj-cat-drill-chev {
        transform: rotate(180deg);
    }
    .tj-cat-branch--header .tj-cat-sub-row.is-open > .tj-cat-drill-hit {
        color: var(--tj-blue);
        font-weight: 600;
        background: #f1f6fe;
    }
    .tj-cat-viewall {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 4px 8px 6px;
        padding: 10px 12px;
        border-radius: 8px;
        background: var(--tj-blue-light);
        border: 1px solid #c7ddfc;
        color: var(--tj-blue);
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }
    .tj-cat-viewall:active,
    .tj-cat-viewall:hover {
        background: #dbe9fd;
        color: var(--tj-blue);
    }
    .tj-cat-viewall__arrow {
        margin-left: auto;
        font-size: 12px;
    }
    .tj-cat-viewall--sub {
        padding: 8px 12px;
        font-size: 12px;
        background: #fff;
    }
    .tj-cat-drill-chev {
        margin-left: auto;
        font-size: 11px;
        color: #94a3b8;
    }
    .tj-cat-branch--header.has-children .tj-cat-branch__link .tj-cat-drill-chev {
        color: var(--tj-blue);
    }
    .tj-categories-dropdown__foot {
        display: none !important;
    }
    .tj-cat-dropdown-all {
        margin: 0 12px 8px;
        padding: 12px 14px !important;
        border-radius: 10px;
        background: var(--tj-blue-light);
        border: 1px solid #c7ddfc !important;
        font-weight: 700 !important;
        color: var(--tj-blue) !important;
    }
    .tj-cat-branch--header .tj-cat-branch__link,
    .tj-cat-branch--header button.tj-cat-drill-hit {
        flex: 1;
        width: 100%;
        min-height: 52px;
        padding: 12px 16px !important;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 86, 210, 0.12);
        background: #fff;
        border: none;
        border-bottom: 1px solid #f1f5f9 !important;
        gap: 12px;
        text-align: left;
        font: inherit;
        color: var(--tj-text);
        display: flex;
        align-items: center;
    }
    /* Desktop-only hover links must stay hidden in the mobile drawer */
    .tj-categories-dropdown .d-lg-flex.d-none {
        display: none !important;
    }
    .tj-cat-drill-hit .tj-cat-drill-chev {
        margin-left: auto;
        color: var(--tj-blue);
        font-size: 12px;
    }
    .tj-cat-branch--header.is-open > .tj-cat-branch__row .tj-cat-branch__link {
        background: #f8fbff;
        color: var(--tj-blue);
        font-weight: 600;
    }
    .tj-cat-nav-thumb--main {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    .tj-cat-subpanel,
    .tj-cat-subpanel--nested {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--tj-blue-light);
        margin: 0 12px 8px 24px;
        padding: 6px 0 4px;
        min-width: 0;
        max-width: none;
        background: #fafbfd;
        border-radius: 0 8px 8px 0;
    }
    .tj-cat-subpanel__title {
        display: none;
    }
    .tj-cat-subpanel::before,
    .tj-cat-subpanel--nested::before {
        display: none;
    }
    .tj-cat-branch.has-children.is-open > .tj-cat-subpanel,
    .tj-cat-sub-row.has-children.is-open > .tj-cat-subpanel--nested { display: block; }
    .tj-cat-branch--sidebar .tj-cat-branch__link { cursor: pointer; }
    .tj-cat-subpanel__link,
    .tj-cat-subpanel__link--leaf {
        border-radius: 8px;
        margin: 2px 8px;
    }
    .tj-cat-subpanel__all {
        margin: 6px 8px 4px;
        border-radius: 8px;
        font-size: 12px;
    }
    .tj-categories-btn {
        border-radius: 0;
        justify-content: center;
        padding: 0 14px;
    }
    .tj-categories-btn__label {
        flex: 1;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .tj-mobile-toggle {
        width: 48px;
        min-height: 48px;
        border-left: 1px solid var(--tj-border);
        border-radius: 0;
        flex-shrink: 0;
    }
}

/* ── Mobile category drawer: card look ── */
@media (max-width: 991px) {
    .tj-categories-wrap.open .tj-categories-dropdown {
        animation: tjDrawerIn .24s ease-out;
    }
    @keyframes tjDrawerIn {
        from { opacity: 0; transform: translateY(12px); }
        to { opacity: 1; transform: none; }
    }
    .tj-categories-dropdown .tj-categories-dropdown__head {
        padding: 18px 16px 20px;
        border-radius: 0 0 20px 20px;
        background: linear-gradient(135deg, #0a63e8 0%, #003d99 100%);
        position: relative;
        z-index: 1;
    }
    .tj-categories-dropdown .tj-categories-dropdown__head strong {
        font-size: 18px;
        letter-spacing: -0.2px;
    }
    .tj-categories-dropdown .tj-categories-close {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.18);
        transition: background .15s;
    }
    .tj-categories-dropdown .tj-categories-close:active {
        background: rgba(255, 255, 255, 0.3);
    }
    .tj-categories-dropdown .tj-categories-dropdown__body {
        background: #f3f6fb;
        padding: 14px 12px 28px;
        margin-top: -10px;
        padding-top: 22px;
    }

    /* All Products banner */
    .tj-categories-dropdown .tj-cat-dropdown-all {
        gap: 12px;
        margin: 0 0 12px;
        padding: 12px 14px !important;
        border-radius: 14px;
        border: none !important;
        background: linear-gradient(135deg, #e8f1ff 0%, #f5f9ff 100%);
        box-shadow: inset 0 0 0 1px #cfe0fb;
        color: var(--tj-blue) !important;
        font-size: 14px;
    }
    .tj-cat-dropdown-all__icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: var(--tj-blue);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        flex-shrink: 0;
    }
    .tj-cat-dropdown-all__arrow {
        margin-left: auto;
        font-size: 13px;
    }

    /* Main category cards */
    .tj-categories-dropdown .tj-cat-branch--header {
        background: #fff;
        border: 1px solid #e6edf6;
        border-radius: 14px;
        margin-bottom: 8px;
        overflow: hidden;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
        transition: border-color .2s, box-shadow .2s;
    }
    .tj-categories-dropdown .tj-cat-branch--header.is-open {
        border-color: #bcd4f8;
        box-shadow: 0 8px 22px rgba(0, 86, 210, 0.10);
    }
    .tj-categories-dropdown .tj-cat-branch--header .tj-cat-branch__link,
    .tj-categories-dropdown .tj-cat-branch--header button.tj-cat-drill-hit {
        min-height: 62px;
        padding: 10px 12px !important;
        border-bottom: none !important;
        background: transparent;
        font-size: 14.5px;
        font-weight: 600;
        color: #1e293b;
    }
    .tj-categories-dropdown .tj-cat-branch--header.is-open > .tj-cat-branch__row .tj-cat-branch__link {
        background: linear-gradient(180deg, #f2f7ff 0%, #fff 100%);
        color: var(--tj-blue);
    }
    .tj-categories-dropdown .tj-cat-nav-thumb--main {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        border-color: #edf1f7;
        background: #f8fafc;
    }
    .tj-categories-dropdown .tj-cat-nav-thumb__label {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .tj-cat-drill-meta {
        font-size: 11.5px;
        font-weight: 500;
        color: #94a3b8;
        line-height: 1.2;
    }

    /* Round chevron button */
    .tj-categories-dropdown .tj-cat-drill-hit .tj-cat-drill-chev {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #f1f5f9;
        color: #64748b;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        flex-shrink: 0;
        transition: transform .2s ease, background .2s, color .2s;
    }
    .tj-categories-dropdown .tj-cat-branch--header.is-open > .tj-cat-branch__row .tj-cat-drill-chev {
        background: var(--tj-blue);
        color: #fff;
    }

    /* Subcategory panel inside the card */
    .tj-categories-dropdown .tj-cat-branch--header > .tj-cat-subpanel {
        margin: 0 !important;
        border: none;
        border-top: 1px dashed #e2e8f0;
        border-radius: 0;
        background: #fff;
        padding: 10px 10px 12px;
    }
    .tj-categories-dropdown .tj-cat-viewall {
        margin: 0 0 6px;
        border-radius: 10px;
        color: var(--tj-blue) !important;
    }
    .tj-categories-dropdown .tj-cat-sub-row .tj-cat-subpanel__link {
        margin: 0 0 2px;
        padding: 8px 8px;
        min-height: 50px;
        border-radius: 10px;
        border-bottom: none !important;
        font-size: 13.5px;
        font-weight: 500;
    }
    .tj-categories-dropdown .tj-cat-sub-row:not(:last-of-type) .tj-cat-subpanel__link {
        box-shadow: 0 1px 0 #f1f5f9;
    }
    .tj-categories-dropdown .tj-cat-nav-thumb--sub {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: #f8fafc;
    }
    .tj-categories-dropdown .tj-cat-sub-row.is-open > .tj-cat-drill-hit {
        background: #eef4ff;
        box-shadow: none;
    }
    .tj-categories-dropdown .tj-cat-sub-row.is-open > .tj-cat-drill-hit .tj-cat-drill-chev {
        background: var(--tj-blue);
        color: #fff;
    }
    .tj-categories-dropdown .tj-cat-sub-row .tj-cat-drill-hit .tj-cat-drill-chev {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }

    /* Sub-subcategories: 2-column tile grid */
    .tj-categories-dropdown .tj-cat-branch--header .tj-cat-sub-row.has-children.is-open > .tj-cat-subpanel--nested {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        flex: 0 0 100%;
        margin: 4px 0 8px !important;
        padding: 8px;
        border: none;
        border-radius: 12px;
        background: #f5f8fd;
    }
    .tj-categories-dropdown .tj-cat-subpanel--nested .tj-cat-viewall--sub {
        grid-column: 1 / -1;
        margin: 0;
        background: #fff;
    }
    .tj-categories-dropdown .tj-cat-subpanel--nested .tj-cat-subpanel__link--leaf {
        margin: 0 !important;
        padding: 8px !important;
        min-height: 0;
        gap: 8px;
        background: #fff;
        border: 1px solid #e6edf6;
        border-radius: 10px;
        font-size: 12.5px;
        font-weight: 500;
        box-shadow: none;
    }
    .tj-categories-dropdown .tj-cat-subpanel--nested .tj-cat-subpanel__link--leaf:active {
        border-color: var(--tj-blue);
        background: var(--tj-blue-light);
    }
    .tj-categories-dropdown .tj-cat-nav-thumb--leaf {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }
    .tj-categories-dropdown .tj-cat-subpanel--nested .tj-cat-nav-thumb__label {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

/* Mobile menu toggle */
.tj-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--tj-text);
    padding: 8px;
    cursor: pointer;
}

/* ── Hero Slider ── */
.tj-hero-wrap {
    padding: 20px 0;
    background: var(--tj-bg);
}
.tj-hero-slider {
    border-radius: var(--tj-radius-lg);
    overflow: hidden;
    box-shadow: var(--tj-shadow-md);
}
.tj-hero-slider .carousel-item {
    height: 420px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.tj-hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.tj-hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    padding: 60px 50px;
    color: #fff;
}
.tj-hero-content h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}
.tj-hero-content p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 24px;
}
.tj-hero-content .subtitle {
    display: inline-block;
    background: var(--tj-blue);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.tj-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #fff;
    color: var(--tj-blue) !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.tj-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    color: var(--tj-blue) !important;
}
.tj-hero-slider .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
}
.tj-hero-slider .carousel-indicators li.active {
    background: var(--tj-blue);
    width: 28px;
    border-radius: 5px;
}
.tj-hero-slider .carousel-control-prev,
.tj-hero-slider .carousel-control-next {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}
.tj-hero-slider:hover .carousel-control-prev,
.tj-hero-slider:hover .carousel-control-next { opacity: 1; }
.tj-hero-slider .carousel-control-prev { left: 16px; }
.tj-hero-slider .carousel-control-next { right: 16px; }
.tj-hero-slider .carousel-control-prev-icon,
.tj-hero-slider .carousel-control-next-icon {
    filter: invert(1) brightness(0.3);
    width: 16px;
    height: 16px;
}

/* ── Top Trending Spotlight ── */
.tj-spotlight {
    background: var(--tj-bg);
    padding: 0 0 30px;
}
.tj-spotlight-inner {
    display: flex;
    border-radius: var(--tj-radius-lg);
    overflow: hidden;
    box-shadow: var(--tj-shadow-md);
    min-height: 340px;
}
.tj-spotlight-left {
    flex: 0 0 280px;
    background: var(--tj-blue-gradient);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
.tj-spotlight-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.85;
    margin-bottom: 10px;
}
.tj-spotlight-left h2 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #fff;
}
.tj-spotlight-left p {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 24px;
    line-height: 1.6;
}
.tj-spotlight-right {
    flex: 1;
    background: #fff;
    padding: 24px 20px;
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    gap: 16px;
}
.tj-spotlight-card {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px;
}
.tj-spotlight-card .tj-product-card,
.tj-spotlight-card .product-card {
    height: 100%;
}

/* Override legacy style.css conflicts on TJ cards */
.product-card.tj-style::before,
.product-card.tj-style:hover::before {
    display: none !important;
    content: none !important;
}
.product-card.tj-style .product-card-cta {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}
.product-card.tj-style .product-card-link {
    cursor: pointer;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.product-card.tj-style .product-info {
    flex: 1;
    min-height: 0;
}

/* ── Service Features ── */
.tj-features {
    padding: 30px 0;
    background: var(--tj-bg);
}
.tj-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.tj-feature-card {
    background: #fff;
    border: 1px solid var(--tj-border);
    border-radius: var(--tj-radius);
    padding: 22px 20px;
    text-align: center;
    transition: box-shadow 0.25s, transform 0.25s;
}
.tj-feature-card:hover {
    box-shadow: var(--tj-shadow-md);
    transform: translateY(-3px);
}
.tj-feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--tj-blue);
    border-radius: 50%;
    color: var(--tj-blue);
    font-size: 20px;
}
.tj-feature-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--tj-blue);
    margin-bottom: 6px;
}
.tj-feature-card p {
    font-size: 12px;
    color: var(--tj-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ── Section Container with Pill Title ── */
.tj-section {
    padding: 40px 0;
    background: var(--tj-bg);
}
.tj-section-box {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: var(--tj-radius-lg);
    padding: 36px 28px 28px;
    position: relative;
    margin-top: 20px;
    box-shadow: var(--tj-shadow);
}
.tj-section-pill {
    display: inline-block;
    background: var(--tj-blue);
    color: #fff;
    padding: 8px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* ── Category Grid ── */
.tj-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-top: 10px;
}
.tj-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 10px;
    border: 1px solid #dbeafe;
    border-radius: var(--tj-radius);
    background: #fff;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.tj-cat-card:hover {
    border-color: var(--tj-blue);
    box-shadow: var(--tj-shadow-md);
    transform: translateY(-3px);
}
.tj-cat-card img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 10px;
}
.tj-cat-card span {
    font-size: 12px;
    font-weight: 600;
    color: var(--tj-text);
    line-height: 1.35;
}

/* Category hierarchy showcase (main → sub → sub-sub with images) */
.tj-cat-showcase { margin-top: 12px; }
.tj-cat-showcase__block {
    background: #fff;
    border: 1px solid var(--tj-border);
    border-radius: var(--tj-radius-lg);
    padding: 20px 20px 16px;
    margin-bottom: 20px;
    box-shadow: var(--tj-shadow);
}
.tj-cat-showcase__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--tj-blue-light);
}
.tj-cat-showcase__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}
.tj-cat-showcase__title a { color: var(--tj-text); }
.tj-cat-showcase__title a:hover { color: var(--tj-blue); }
.tj-cat-showcase__view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--tj-blue);
    white-space: nowrap;
}
.tj-cat-showcase__subs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.tj-cat-showcase__sub {
    border: 1px solid #eef2f7;
    border-radius: var(--tj-radius);
    padding: 12px;
    background: #fafbfd;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.tj-cat-showcase__sub:hover {
    border-color: #c7ddfc;
    box-shadow: 0 6px 20px rgba(0, 86, 210, 0.08);
}
.tj-cat-showcase__sub-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}
.tj-cat-showcase__img-wrap {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8ecf2;
}
.tj-cat-showcase__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tj-cat-showcase__sub-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--tj-text);
}
.tj-cat-showcase__leaves {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}
.tj-cat-showcase__leaf {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 4px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--tj-text-muted);
    transition: border-color 0.2s, color 0.2s;
}
.tj-cat-showcase__leaf:hover {
    border-color: var(--tj-blue);
    color: var(--tj-blue);
}
.tj-cat-showcase__leaf-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #eee;
}
.tj-cat-showcase__leaf-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tj-cat-grid--showcase {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

/* ── Filter Tabs ── */
.tj-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 20px 0 24px;
}
.tj-filter-tab {
    padding: 7px 16px;
    border: 1.5px solid var(--tj-border);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    color: var(--tj-text);
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.tj-filter-tab:hover,
.tj-filter-tab.active {
    background: var(--tj-blue);
    border-color: var(--tj-blue);
    color: #fff;
}

/* ── Product Grid ── */
.tj-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.tj-products-grid-5 {
    grid-template-columns: repeat(3, 1fr);
}

/* ── Product Card (Tech Jhuli Style) ── */
.tj-product-card,
.product-card.tj-style {
    background: #fff;
    border: 1px solid var(--tj-border);
    border-radius: var(--tj-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.25s, transform 0.25s;
    position: relative;
}
.tj-product-card:hover,
.product-card.tj-style:hover {
    box-shadow: var(--tj-shadow-md);
    transform: translateY(-4px);
}
.tj-product-card .tj-pc-image,
.product-card.tj-style .product-image {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f3f5f8;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #eef1f5;
}
.tj-product-card .tj-pc-image img,
.product-card.tj-style .product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.35s ease;
    display: block;
}
.tj-product-card:hover .tj-pc-image img,
.product-card.tj-style:hover .product-image img {
    transform: scale(1.06);
}
.tj-pc-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 42px;
    height: 42px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    z-index: 3;
    line-height: 1.1;
    text-align: center;
}
.tj-pc-body,
.product-card.tj-style .product-info {
    padding: 12px 14px 8px;
    flex: 1;
    text-align: center;
}
.tj-pc-title,
.product-card.tj-style .product-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--tj-text);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}
.tj-pc-price,
.product-card.tj-style .product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 2.75rem;
}
.tj-pc-price .original,
.product-card.tj-style .original-price {
    font-size: 13px;
    color: var(--tj-text-muted);
    text-decoration: line-through;
}
.tj-pc-price .current,
.product-card.tj-style .current-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--tj-blue);
}
.tj-pc-footer,
.product-card.tj-style .product-card-cta {
    padding: 0 12px 12px;
    margin-top: auto;
}
.tj-pc-actions,
.product-card.tj-style .tj-pc-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
    width: 100%;
}
.tj-btn-cart,
.tj-btn-order,
.product-card.tj-style .pc-add-cart,
.product-card.tj-style .pc-order-now {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 36px;
    padding: 8px 5px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}
.tj-btn-cart i,
.tj-btn-order i,
.product-card.tj-style .pc-add-cart i,
.product-card.tj-style .pc-order-now i {
    flex-shrink: 0;
    font-size: 11px;
}
.tj-btn-cart span,
.tj-btn-order span,
.product-card.tj-style .pc-add-cart span,
.product-card.tj-style .pc-order-now span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.tj-btn-cart,
.product-card.tj-style .pc-add-cart {
    background: #fff;
    color: var(--tj-blue) !important;
    border: 1.5px solid var(--tj-blue);
}
.tj-btn-cart:hover,
.product-card.tj-style .pc-add-cart:hover {
    background: var(--tj-blue-light);
    border-color: var(--tj-blue-dark);
    transform: translateY(-1px);
}
.tj-btn-order,
.product-card.tj-style .pc-order-now {
    background: var(--tj-blue);
    color: #fff !important;
    border: 1.5px solid var(--tj-blue);
    box-shadow: 0 3px 12px rgba(0, 86, 210, 0.28);
}
.tj-btn-order:hover,
.product-card.tj-style .pc-order-now:hover {
    background: var(--tj-blue-dark);
    border-color: var(--tj-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(0, 86, 210, 0.38);
}
.product-card.tj-style .product-image-overlay { display: none; }
.product-card.tj-style .product-category { display: none; }
.product-card.tj-style .pc-color-dots { display: none; }
.product-card.tj-style .product-discount-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 42px;
    height: 42px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    padding: 0;
    margin: 0;
    z-index: 4;
    pointer-events: none;
}
.product-card.tj-style .product-badge { display: none; }

/* Shop page grid — equal-height cards, no overflow */
.tj-shop-grid > [class*="col-"] {
    display: flex;
    margin-bottom: 16px;
}
.tj-shop-grid .product-card.tj-style {
    width: 100%;
    cursor: default;
}
.tj-shop-grid .product-card.tj-style {
    position: relative;
    z-index: 1;
}
.tj-shop-grid .product-card.tj-style:hover {
    transform: translateY(-3px);
    box-shadow: var(--tj-shadow-md);
    z-index: 2;
}

/* Spotlight compact cards */
.tj-spotlight-card .product-title {
    font-size: 12px;
    min-height: 2.6em;
}
.tj-spotlight-card .current-price {
    font-size: 14px !important;
}
.tj-spotlight-card .original-price {
    font-size: 11px !important;
}
.tj-spotlight-card .tj-pc-actions {
    gap: 5px;
}
.tj-spotlight-card .pc-add-cart,
.tj-spotlight-card .pc-order-now {
    min-height: 34px;
    font-size: 10px;
    padding: 7px 4px;
}

/* ── New Arrivals Section ── */
.tj-new-arrivals {
    padding: 40px 0;
    background: #fff;
}
.tj-section-header {
    text-align: center;
    margin-bottom: 28px;
}
.tj-section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--tj-text);
    position: relative;
    display: inline-block;
}
.tj-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--tj-blue);
    border-radius: 2px;
}
.tj-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 2px solid var(--tj-blue);
    color: var(--tj-blue) !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}
.tj-btn-outline:hover {
    background: var(--tj-blue);
    color: #fff !important;
}

/* ── Shop Page ── */
.tj-shop-page {
    padding: 24px 0 50px;
    background: var(--tj-bg);
}
.tj-shop-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.tj-shop-sidebar {
    flex: 0 0 260px;
    position: sticky;
    top: 120px;
    z-index: 40;
}
.tj-shop-main { flex: 1; min-width: 0; position: relative; z-index: 1; }
.tj-filter-box--categories {
    overflow: visible;
    position: relative;
    z-index: 50;
}
.tj-cat-branch.is-hover,
.tj-cat-branch.is-active { z-index: 60; }
.tj-breadcrumb {
    font-size: 13px;
    color: var(--tj-text-muted);
    margin-bottom: 16px;
}
.tj-breadcrumb a { color: var(--tj-blue); }
.tj-filter-box {
    background: #fff;
    border: 1px solid var(--tj-border);
    border-radius: var(--tj-radius);
    padding: 18px;
    margin-bottom: 16px;
}
.tj-filter-box h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--tj-blue);
}
.tj-cat-list { position: relative; }
.tj-shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    background: #fff;
    padding: 16px 20px;
    border-radius: var(--tj-radius);
    border: 1px solid var(--tj-border);
}
.tj-shop-header h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}
.tj-shop-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.tj-per-page {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}
.tj-per-page a {
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--tj-text-muted);
    font-weight: 500;
}
.tj-per-page a.active,
.tj-per-page a:hover {
    background: var(--tj-blue-light);
    color: var(--tj-blue);
}
.tj-sort-select {
    padding: 7px 12px;
    border: 1px solid var(--tj-border);
    border-radius: 8px;
    font-size: 13px;
    background: #fff;
}

/* ── Footer ── */
.tj-footer {
    background: linear-gradient(180deg, #060a12 0%, #0a0e18 100%);
    color: rgba(255,255,255,0.75);
    padding: 50px 0 0;
    border-top: 1px solid var(--tj-dark-border);
}
.tj-footer h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}
.tj-footer-about p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.tj-footer-links li {
    margin-bottom: 10px;
}
.tj-footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}
.tj-footer-links a:hover { color: #fff; }
.tj-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
}
.tj-footer-contact i {
    color: var(--tj-blue);
    margin-top: 3px;
    width: 16px;
}
.tj-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.tj-footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    transition: background 0.2s;
}
.tj-footer-social a:hover { background: var(--tj-blue); }
.tj-footer-bottom {
    margin-top: 40px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 13px;
}
.tj-payment-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.tj-payment-badges span {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* ── Chat Widget ── */
.tj-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}
.tj-chat-widget a {
    width: 56px;
    height: 56px;
    background: var(--tj-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 20px rgba(0,86,210,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.tj-chat-widget a:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(0,86,210,0.5);
    color: #fff;
}

/* ── Mobile Search ── */
.tj-mobile-search {
    display: none;
    padding: 10px 15px;
    background: #fff;
    border-bottom: 1px solid var(--tj-border);
}
.tj-mobile-search.open { display: block; }

/* ── Responsive ── */
@media (max-width: 1199px) {
    .tj-cat-grid { grid-template-columns: repeat(4, 1fr); }
    .tj-products-grid { grid-template-columns: repeat(3, 1fr); }
    .tj-products-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
    .tj-shop-sidebar { order: 1; }
    .tj-shop-main { order: 2; }
}
@media (max-width: 991px) {
    .tj-spotlight-inner { flex-direction: column; }
    .tj-spotlight-left { flex: none; padding: 30px 24px; }
    .tj-features-grid { grid-template-columns: repeat(2, 1fr); }
    .tj-shop-layout { flex-direction: column; }
    .tj-shop-main { order: 1; }
    .tj-shop-sidebar { order: 2; flex: none; width: 100%; position: static; }
    .tj-breadcrumb--shop { font-size: 12px; margin-bottom: 10px; }
    .tj-shop-header { flex-direction: column; align-items: flex-start; }
    .tj-shop-controls { width: 100%; justify-content: space-between; }
    .tj-nav-links { display: none; }
    .tj-nav-social { display: none; }
    .tj-mobile-toggle { display: block; }
    .tj-navbar-inner.mobile-open .tj-nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid var(--tj-border);
        box-shadow: var(--tj-shadow-md);
        z-index: 1050;
        padding: 8px 0;
    }
    .tj-navbar-inner.mobile-open .tj-nav-links a {
        padding: 12px 20px;
        border-bottom: 1px solid #f3f4f6;
    }
    .tj-navbar-inner { position: relative; flex-wrap: wrap; }
    .tj-categories-wrap { flex: 1; }
}
@media (max-width: 767px) {
    .tj-topbar-contact { justify-content: center; gap: 12px; }
    .tj-topbar-welcome { text-align: center; }
    .tj-header-inner { flex-wrap: wrap; }
    .tj-search { order: 3; max-width: 100%; width: 100%; }
    .tj-hero-slider .carousel-item { height: 280px; }
    .tj-hero-content { padding: 30px 24px; }
    .tj-hero-content h1 { font-size: 24px; }
    .tj-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .tj-products-grid,
    .tj-products-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .tj-features-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tj-spotlight-card { flex: 0 0 240px; min-width: 240px; max-width: 240px; }
    .tj-btn-offers span.label { display: none; }
    .tj-section-box { padding: 28px 14px 18px; }
}
@media (max-width: 480px) {
    .tj-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Professional Polish ── */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tj-cat-card {
    padding: 14px 12px 16px;
    min-height: 148px;
    text-decoration: none !important;
    color: inherit !important;
}
.tj-cat-card .tj-cat-img-wrap {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    background: linear-gradient(145deg, #f8fafc 0%, #eef4ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #e8f0fe;
    transition: transform 0.25s, border-color 0.25s;
}
.tj-cat-card:hover .tj-cat-img-wrap {
    transform: scale(1.04);
    border-color: var(--tj-blue);
}
.tj-cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 0;
}

/* TJ cards: force uniform image tile over legacy style.css (.product-image 4/5 + contain) */
.product-card.tj-style .product-image,
.tj-product-card .tj-pc-image {
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
}
.product-card.tj-style .product-image img,
.tj-product-card .tj-pc-image img {
    object-fit: cover !important;
    object-position: center center !important;
    filter: none;
}

.tj-hero-slider .carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0,30,80,0.72) 0%, rgba(0,50,120,0.35) 45%, rgba(0,0,0,0.08) 100%);
    z-index: 1;
}
.tj-hero-content { z-index: 2; }

.tj-spotlight-right {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--tj-blue) transparent;
}
.tj-spotlight-right::-webkit-scrollbar { height: 6px; }
.tj-spotlight-right::-webkit-scrollbar-thumb {
    background: var(--tj-blue);
    border-radius: 10px;
}

.tj-section-box {
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
    box-shadow: 0 4px 32px rgba(0, 86, 210, 0.07);
}
.tj-section-pill {
    box-shadow: 0 4px 16px rgba(0, 86, 210, 0.35);
    letter-spacing: 0.3px;
}

.tj-brands {
    padding: 36px 0;
    background: #fff;
    border-top: 1px solid var(--tj-border);
    border-bottom: 1px solid var(--tj-border);
}
.tj-brands-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.tj-brands-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--tj-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.tj-brand-item {
    font-size: 20px;
    font-weight: 800;
    color: #cbd5e1;
    letter-spacing: 2px;
    transition: color 0.2s;
}
.tj-brand-item:hover { color: var(--tj-blue); }

.tj-promo-banner {
    margin: 0 0 30px;
    border-radius: var(--tj-radius-lg);
    overflow: hidden;
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tj-promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,86,210,0.88) 0%, rgba(0,120,255,0.65) 100%);
}
.tj-promo-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
}
.tj-promo-content h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}
.tj-promo-content p {
    margin-bottom: 16px;
    opacity: 0.9;
    font-size: 14px;
}

.tj-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
    padding: 10px 0;
}

@media (max-width: 575px) {
    .tj-btn-cart span,
    .tj-btn-order span,
    .product-card.tj-style .pc-add-cart span,
    .product-card.tj-style .pc-order-now span {
        font-size: 10px;
    }
    .tj-pc-actions,
    .product-card.tj-style .tj-pc-actions {
        gap: 6px;
    }
}
