/* ══════════════════════════════════════════════
   PRODUCTS PAGE — Multi-Category Design
   Bột Mì · Màng PE · Pallet Gỗ · Bao Bì Jumbo
   ══════════════════════════════════════════════ */

:root {
    --bg: #f8fafc;
    --surface: #fff;
    --surface-2: #f1f5f9;
    --border: rgba(15, 23, 42, .08);
    --text-1: #0f172a;
    --text-2: #475569;
    --text-3: #94a3b8;
    --accent-cyan: #0ea5e9;
    --accent-orange: #ea580c;
    --accent-amber: #f59e0b;
    --red: #dc2626;
    --green: #16a34a;
    --font-title: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, .1), 0 2px 6px rgba(15, 23, 42, .06);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, .12), 0 4px 16px rgba(15, 23, 42, .06);
    --r: 12px;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ── BOOTSTRAP OVERRIDES ── */
/* Prevent Bootstrap from interfering with custom dropdown menus */
.nav-item .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.nav-item:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Override Bootstrap's row margins for footer */
.footer-grid.row {
    --bs-gutter-x: 56px;
    margin: 0;
    margin-bottom: 64px;
}

/* Prevent Bootstrap's a color from overriding custom links */
a {
    color: inherit;
    text-decoration: none;
}

/* Ensure Bootstrap list-unstyled works with nav-menu */
.nav-menu.list-unstyled {
    padding-left: 0;
    margin-bottom: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-1);
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

/* ── HEADER ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.header-container {
    width: 100%;
    padding: 16px 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
}

.logo {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.logo span {
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
    transition: all 0.3s ease;
}

.site-header.scrolled .logo span {
    -webkit-text-fill-color: var(--text-1);
    color: var(--text-1);
}

.logo::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: var(--font-title);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
    transition: color .3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent-cyan);
    transition: width .3s;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

.site-header.scrolled .nav-link {
    color: var(--text-2);
}

.site-header.scrolled .nav-link:hover {
    color: var(--text-1);
}

.nav-item {
    position: relative;
    padding: 10px 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 24px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.site-header.scrolled .dropdown-menu {
    background: rgba(255, 255, 255, 0.97);
    border-color: var(--border);
    box-shadow: var(--shadow-md);
}

.site-header.scrolled .dropdown-item {
    color: var(--text-2);
}

.site-header.scrolled .dropdown-item:hover {
    background: var(--surface-2);
    color: var(--text-1);
}

.nav-cta {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s;
}

.nav-cta:hover {
    background: #fff;
    color: #0f172a;
    border-color: #fff;
}

.site-header.scrolled .nav-cta {
    background: var(--text-1);
    border-color: var(--text-1);
    color: #fff;
}

.site-header.scrolled .nav-cta:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 8px 16px;
    gap: 8px;
    transition: all .3s;
}

.search-bar:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.search-bar svg {
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
    transition: color 0.3s;
}

.search-bar:focus-within svg {
    color: #fff;
}

.search-bar input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    width: 120px;
    outline: none;
    transition: width 0.3s var(--ease);
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-bar input:focus {
    width: 180px;
}

.site-header.scrolled .search-bar {
    background: rgba(15, 23, 42, 0.05);
    border-color: var(--border);
}

.site-header.scrolled .search-bar:focus-within {
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.site-header.scrolled .search-bar svg {
    color: var(--text-2);
}

/* NAV ICONS */
.nav-icon-link {
    position: relative;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.nav-icon-link:hover {
    color: #fff;
}

.icon-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--accent-rose, #f43f5e);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
}

.site-header.scrolled .nav-icon-link {
    color: var(--text-2);
}

.site-header.scrolled .nav-icon-link:hover {
    color: var(--text-1);
}

/* ICON DROPDOWNS */
.icon-dropdown-menu {
    right: -10px;
    left: auto;
    width: 320px;
    padding: 0;
    cursor: default;
    overflow: hidden;
}

.icon-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.icon-dropdown-header {
    padding: 16px 20px;
    border-bottom: none;
}

.site-header.scrolled .icon-dropdown-header {
    border-bottom: none;
}

.icon-dropdown-header h4 {
    font-family: var(--font-title);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.site-header.scrolled .icon-dropdown-header h4 {
    color: var(--text-1);
}

.icon-dropdown-body {
    max-height: 300px;
    overflow-y: auto;
}

.icon-dropdown-menu .dropdown-item {
    padding: 14px 20px;
    border-bottom: none;
}

.site-header.scrolled .icon-dropdown-menu .dropdown-item {
    border-bottom: none;
}

.site-header.scrolled .search-bar:focus-within svg {
    color: var(--accent-cyan);
}

.site-header.scrolled .search-bar input {
    color: var(--text-1);
}

.site-header.scrolled .search-bar input::placeholder {
    color: var(--text-3);
}

/* HAMBURGER */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.hamburger-menu span {
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.75);
    transition: all .3s;
    display: block;
}

.site-header.scrolled .hamburger-menu span {
    background: rgba(15, 23, 42, 0.75);
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 60%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    display: none;
    flex-direction: column;
    padding: 80px 16px 40px;
    gap: 12px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    max-width: 100%;
    animation: slideIn 0.3s var(--ease);
}

.mobile-menu.active {
    display: flex;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu .nav-link {
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    word-break: break-word;
    color: rgba(255, 255, 255, 0.75);
}

.mobile-menu .nav-item {
    padding: 0;
    width: 100%;
}

.mobile-menu .dropdown-menu {
    position: static;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s var(--ease);
    padding: 0;
    margin-top: 0;
}

.mobile-menu .nav-item.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
    padding: 8px 0;
}

.mobile-menu .dropdown-item {
    padding: 8px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    word-break: break-word;
    color: rgba(255, 255, 255, 0.8);
}

.mobile-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.mobile-menu .nav-cta {
    margin-top: 8px;
    width: 100%;
    padding: 10px;
    text-align: center;
    font-size: 12px;
}

.mobile-menu .search-bar {
    width: 100%;
    margin-bottom: 8px;
}

.mobile-menu .search-bar input {
    width: 100%;
    font-size: 12px;
}

/* ── HERO ── */
.products-hero {
    padding: 80px 40px 52px;
    background: #ffffff url('../img/products_main_banner.png') center/cover no-repeat;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(rgba(14, 165, 233, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 165, 233, .08) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, .12) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(234, 88, 12, .1) 0%, transparent 70%);
    bottom: -100px;
    left: -80px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 280px;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--text-2);
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-breadcrumb a {
    color: var(--text-2);
    text-decoration: none;
    transition: color .3s;
}

.hero-breadcrumb a:hover {
    color: var(--accent-cyan);
}

.hero-breadcrumb .sep {
    color: var(--text-3);
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 14px;
}

.hero-label::before {
    content: '';
    width: 20px;
    height: 1.5px;
    background: var(--accent-cyan);
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.03em;
    color: #fff;
    margin-bottom: 14px;
}

.hero-title span {
    background: linear-gradient(90deg, var(--accent-cyan), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 15px;
    line-height: 1.65;
    color: #fff;
    max-width: 420px;
    margin-bottom: 28px;
}

.hero-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 14px;
    font-family: var(--font-title);
    font-size: 11px;
    color: var(--text-2);
    letter-spacing: .04em;
}

.hero-stats {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    width: fit-content;
    box-shadow: var(--shadow-sm);
}

.hero-stat {
    padding: 14px 22px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-right: 1px solid var(--border);
}

.hero-stat:last-child {
    border-right: none;
}

.hero-stat-num {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-1);
    letter-spacing: -.02em;
}

.hero-stat-lbl {
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-3);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    min-width: 320px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.hero-img-wrapper {
    position: absolute;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: floatVisual 6s ease-in-out infinite;
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-img-wrapper:hover img {
    transform: scale(1.1);
}

.hero-visual .img-1 {
    width: 240px;
    height: 300px;
    top: 10px;
    left: 0;
    z-index: 3;
    animation-delay: 0s;
}

.hero-visual .img-2 {
    width: 200px;
    height: 240px;
    top: 40px;
    right: 40px;
    z-index: 2;
    animation-delay: -2s;
}

.hero-visual .img-3 {
    width: 180px;
    height: 200px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation-delay: -4s;
}

@keyframes floatVisual {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* NAV ICONS */
.nav-icon-link {
    position: relative;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.nav-icon-link:hover {
    color: #fff;
}

.icon-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--accent-rose, #f43f5e);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
}

/* ICON DROPDOWNS */
.icon-dropdown-menu {
    right: -10px;
    left: auto;
    width: 320px;
    padding: 0;
    cursor: default;
    overflow: hidden;
}

.icon-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.icon-dropdown-header {
    padding: 16px 20px;
    border-bottom: none;
}

.site-header.scrolled .icon-dropdown-header {
    border-bottom: none;
}

.icon-dropdown-header h4 {
    font-family: var(--font-title);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.site-header.scrolled .icon-dropdown-header h4 {
    color: var(--text-1);
}

.icon-dropdown-body {
    max-height: 300px;
    overflow-y: auto;
}

.icon-dropdown-menu .dropdown-item {
    padding: 14px 20px;
    border-bottom: none;
}

.site-header.scrolled .icon-dropdown-menu .dropdown-item {
    border-bottom: none;
}

.notif-text {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.4;
}

.notif-time {
    font-size: 11px;
    color: #ffffff;
}

.site-header.scrolled .notif-time {
    color: var(--text-2);
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: none;
}

.site-header.scrolled .cart-item {
    border-bottom: none;
}

.cart-item-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.05);
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-title {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

.site-header.scrolled .cart-item-title {
    color: var(--text-1);
}

.cart-item-price {
    font-size: 12px;
    color: #ffffff;
}

.site-header.scrolled .cart-item-price {
    color: var(--text-2);
}

.icon-dropdown-footer {
    padding: 16px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.site-header.scrolled .icon-dropdown-footer {
    background: rgba(15, 23, 42, 0.02);
}

.icon-dropdown-footer a {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

.icon-dropdown-footer a:hover {
    opacity: 0.8;
}

.site-header.scrolled .icon-dropdown-footer a {
    color: var(--text-1);
}

.site-header.scrolled .icon-dropdown-footer a.nav-cta {
    color: #fff;
}

.hero-visual-badge {
    position: absolute;
    bottom: 28px;
    right: 20px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    animation: floatVisual 5s ease-in-out infinite;
    animation-delay: -1s;
}

.badge-icon {
    font-size: 24px;
}

/* ── CATEGORY NAV STRIP ── */
.category-nav-strip {
    position: sticky;
    top: 75px;
    z-index: 90;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.category-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 100px;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.3s var(--ease);
}

.category-nav-item:hover {
    background: var(--surface-2);
    border-color: var(--border);
}

.category-nav-item.active {
    background: var(--text-1);
    color: #fff;
    border-color: var(--text-1);
}

.cat-nav-icon {
    font-size: 16px;
}

.cat-nav-count {
    background: rgba(15, 23, 42, 0.06);
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-3);
}

.category-nav-item.active .cat-nav-count {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

/* ── PRODUCT CATEGORY SECTION ── */
.product-category-section {
    padding: 80px 40px 40px;
    max-width: 1320px;
    margin: 0 auto;
}

.cat-section-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s var(--ease);
}

.cat-section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.cat-section-badge {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    flex-shrink: 0;
    background: var(--cat-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.cat-badge-icon {
    font-size: 22px;
}

.cat-badge-num {
    font-family: var(--font-title);
    font-size: 9px;
    font-weight: 700;
    color: var(--cat-color);
    letter-spacing: 0.1em;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 1.5px;
    background: var(--accent-cyan);
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--text-1);
    margin-bottom: 12px;
}

.section-sub {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-2);
    max-width: 540px;
}

/* ── CATEGORY FEATURE BANNER ── */
.cat-feature-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
    height: 340px;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s var(--ease);
}

.cat-feature-banner.visible {
    opacity: 1;
    transform: translateY(0);
}

.cat-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.cat-feature-banner:hover .cat-banner-img {
    transform: scale(1.05);
}

.cat-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.85) 40%, rgba(255, 255, 255, 0.2) 100%);
    z-index: 1;
}

.cat-banner-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    width: 100%;
}

.cat-banner-chips {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.cat-chip {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-family: var(--font-title);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--surface);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: var(--shadow-sm);
}

.cat-banner-title {
    font-family: var(--font-title);
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    color: var(--text-1);
    line-height: 1.15;
    margin-bottom: 10px;
}

.cat-banner-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-2);
    max-width: 480px;
    margin-bottom: 20px;
}

.cat-banner-stats {
    display: flex;
    gap: 24px;
}

.cat-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cat-stat-val {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-1);
}

.cat-stat-lbl {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
}

/* ── PRODUCTS GRID ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s var(--ease);
}

.products-grid.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── PRODUCT CARD ── */
.product-card {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.15);
}

.p-card-top {
    position: relative;
    padding: 20px 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.p-card-visual {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease);
}

.product-card:hover .p-card-visual {
    transform: scale(1.02);
}

.p-card-icon {
    font-size: 48px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.p-badge {
    position: absolute;
    top: 28px;
    left: 28px;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: var(--font-title);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.p-badge-new {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.p-badge-hot {
    background: rgba(234, 88, 12, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(234, 88, 12, 0.15);
}

.p-discount {
    position: absolute;
    top: 28px;
    right: 28px;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 700;
    background: rgba(220, 38, 38, 0.08);
    color: var(--red);
}

.p-wishlist {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-3);
    transition: all 0.3s;
    opacity: 0;
    transform: scale(0.8);
}

.product-card:hover .p-wishlist {
    opacity: 1;
    transform: scale(1);
}

.p-wishlist:hover {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.p-wishlist.active {
    color: #ef4444;
}

.p-discount+.p-wishlist {
    top: auto;
    bottom: 8px;
    right: 28px;
}

.p-card-body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.p-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.p-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: var(--surface-2);
    color: var(--text-3);
    border: 1px solid var(--border);
}

.p-card-name {
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 6px;
    line-height: 1.3;
}

.p-card-desc {
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-2);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.p-stars {
    color: #f59e0b;
    font-size: 12px;
}

.p-rating-num {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-1);
}

.p-reviews {
    font-size: 11px;
    color: var(--text-3);
}

.p-card-weight {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-3);
    margin-bottom: 14px;
}

.p-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.p-price-group {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.p-price {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-1);
}

.p-orig-price {
    font-size: 12px;
    color: var(--text-3);
    text-decoration: line-through;
}

.p-btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--text-1);
    color: #fff;
    border: none;
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.p-btn-buy:hover {
    background: var(--accent-cyan);
    transform: translateY(-1px);
}

/* ── CTA SECTION ── */
.cta-section {
    padding: 100px 40px;
    text-align: center;
    background: linear-gradient(135deg, #07090e 0%, #0c1522 100%);
    position: relative;
    overflow: hidden;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.cta-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, .12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.cta-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(234, 88, 12, .08) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s var(--ease);
}

.cta-inner.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-section .section-label {
    justify-content: center;
    color: var(--accent-cyan);
}

.cta-section .section-title {
    color: #fff;
}

.cta-section .section-sub {
    color: rgba(255, 255, 255, 0.55);
    max-width: 100%;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    background: var(--accent-cyan);
    color: #fff;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.3s var(--ease);
}

.btn-primary:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s var(--ease);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* ── FOOTER ── */
.site-footer {
    background: #07090e;
    padding: 64px 48px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 14px;
}

.footer-about {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.4);
    max-width: 280px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.social-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.3s;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-col-title {
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-link:hover {
    color: rgba(255, 255, 255, 0.5);
}

/* ── SUPPORT WIDGET ── */
.support-widget {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: auto;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.support-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--ease);
}

.support-widget.open .support-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.support-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-1);
    transition: all 0.3s;
}

.support-item:hover {
    transform: translateX(-4px);
    box-shadow: var(--shadow-lg);
}

.support-icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.bg-zalo {
    background: #0068ff;
}

.bg-fb {
    background: #1877f2;
}

.bg-chat {
    background: var(--accent-cyan);
}

.bg-phone {
    background: var(--green);
}

.support-toggle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--text-1);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.3);
    transition: all 0.3s var(--ease);
}

.support-toggle:hover {
    transform: scale(1.05);
    background: var(--accent-cyan);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.support-toggle svg {
    transition: transform 0.3s;
}

.support-widget.open .support-toggle svg {
    transform: rotate(45deg);
}

@keyframes pulseBtn {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
    }

    50% {
        box-shadow: 0 6px 30px rgba(14, 165, 233, 0.5);
    }
}

/* ── CHAT BOX ── */
.chat-box {
    position: fixed;
    bottom: 90px;
    left: 24px;
    right: auto;
    z-index: 1001;
    width: 360px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s var(--ease);
}

.chat-box.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background: linear-gradient(135deg, #0c1522, #1e293b);
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.chat-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color .3s;
}

.chat-close:hover {
    color: #fff;
}

.chat-body {
    padding: 16px;
    height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-msg.bot {
    align-items: flex-start;
}

.chat-msg.user {
    align-items: flex-end;
}

.msg-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 85%;
}

.chat-msg.bot .msg-bubble {
    background: var(--surface-2);
    color: var(--text-1);
    border-bottom-left-radius: 4px;
}

.chat-msg.user .msg-bubble {
    background: var(--accent-cyan);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.msg-time {
    font-size: 10px;
    color: var(--text-3);
    padding: 0 4px;
}

.chat-input-area {
    display: flex;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    gap: 8px;
}

.chat-input-area input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-1);
    outline: none;
    transition: border-color 0.3s;
}

.chat-input-area input:focus {
    border-color: var(--accent-cyan);
}

.chat-send {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-cyan);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.chat-send:hover {
    background: #0284c7;
}

/* ── AUTH MODAL ── */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
}

.auth-modal.open {
    opacity: 1;
    visibility: visible;
}

.auth-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.auth-modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s var(--ease);
    margin: 20px;
}

.auth-modal.open .auth-modal-content {
    transform: scale(1) translateY(0);
}

.auth-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.auth-tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.auth-tab {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.auth-tab.active {
    color: #fff;
}

.auth-tab::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.auth-tab.active::after {
    transform: scaleX(1);
}

.auth-form-container {
    display: none;
    animation: fadeIn 0.4s var(--ease);
}

.auth-form-container.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-title {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.auth-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.auth-input-group {
    margin-bottom: 16px;
}

.auth-input-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.auth-input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.auth-input-group input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.auth-forgot {
    font-size: 12px;
    color: var(--accent-cyan);
    text-decoration: none;
}

.auth-submit {
    width: 100%;
    background: var(--accent-cyan);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-submit:hover {
    background: #0284c7;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-family: var(--font-title);
    text-transform: uppercase;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-separator:not(:empty)::before {
    margin-right: .5em;
}

.auth-separator:not(:empty)::after {
    margin-left: .5em;
}

.auth-social-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.3s;
}

.password-toggle:hover {
    color: #fff;
}

/* ── CATEGORY SHOWCASE ── */
.category-showcase {
    padding: 40px 40px 0;
    max-width: 1320px;
    margin: 0 auto;
}

.showcase-header {
    text-align: center;
    margin-bottom: 40px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.showcase-card {
    position: relative;
    border-radius: 20px;
    height: 400px;
    text-decoration: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    background-size: cover;
    background-position: center;
}

.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.sc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 50%, rgba(15, 23, 42, 0) 100%);
    z-index: 1;
    transition: opacity 0.4s var(--ease);
}

.showcase-card:hover .sc-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.2) 100%);
}

.sc-content {
    position: relative;
    z-index: 2;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sc-title {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.2;
}

.sc-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.sc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px;
}

.sc-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.sc-count strong {
    color: #ffffff;
    font-weight: 700;
}

.sc-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    transition: transform 0.3s, background 0.3s;
}

.showcase-card:hover .sc-arrow {
    transform: translateX(4px);
    background: var(--accent-cyan);
}

/* ── SUB FILTERS ── */
.cat-sub-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.sub-filter {
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.3s;
}

.sub-filter:hover {
    background: var(--surface-2);
    border-color: rgba(14, 165, 233, 0.3);
    color: var(--text-1);
}

.sub-filter.active {
    background: var(--text-1);
    color: #fff;
    border-color: var(--text-1);
}

/* ── PAGINATION ── */
.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 16px;
}

.pag-info {
    font-size: 14px;
    color: var(--text-2);
}

.pag-info strong {
    color: var(--text-1);
}

.pag-buttons {
    display: flex;
    gap: 8px;
}

.pag-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.pag-btn:hover:not(:disabled) {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.pag-btn.active {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: #fff;
}

.pag-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--surface-2);
}

/* ── REVEAL ANIMATION ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media(max-width:1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-feature-banner {
        height: 280px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:768px) {

    .header-actions .search-bar,
    .header-actions .nav-link,
    .header-actions .nav-cta {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .header-container {
        gap: 20px;
        padding: 16px;
    }

    .logo {
        font-size: 16px;
    }

    .nav-menu {
        display: none;
    }

    .products-hero {
        padding: 70px 20px 40px;
    }

    .hero-inner {
        gap: 32px;
    }

    .hero-visual {
        min-width: 100%;
        height: 320px;
    }

    .hero-visual .img-1 {
        width: 180px;
        height: 220px;
    }

    .hero-visual .img-2 {
        width: 150px;
        height: 180px;
    }

    .hero-visual .img-3 {
        width: 140px;
        height: 160px;
    }

    .category-showcase {
        padding: 40px 20px 0;
    }

    .showcase-grid {
        gap: 14px;
    }

    .category-nav-strip {
        top: 52px;
    }

    .category-nav-inner {
        padding: 10px 16px;
        gap: 6px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .category-nav-item {
        padding: 8px 16px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .product-category-section {
        padding: 60px 20px 30px;
    }

    .cat-section-header {
        flex-direction: column;
        gap: 16px;
    }

    .cat-feature-banner {
        height: 240px;
    }

    .cat-banner-content {
        padding: 24px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .site-footer {
        padding: 40px 20px 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .chat-box {
        width: calc(100% - 32px);
        left: 16px;
        right: auto;
    }
}

@media(max-width:640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:480px) {

    .icon-dropdown-menu {
        width: 280px;
        right: -60px;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .hero-stat {
        padding: 10px 16px;
    }

    .hero-stat-num {
        font-size: 16px;
    }

    .hero-chips {
        gap: 6px;
    }

    .hero-chip {
        font-size: 10px;
        padding: 4px 10px;
    }

    .cat-banner-stats {
        gap: 16px;
        flex-wrap: wrap;
    }

    .cat-feature-banner {
        height: 200px;
    }

    .cat-banner-title {
        font-size: 20px;
    }
}