/* css/pallet-detail.css */

/* ── TOKENS ── */
:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-2: #f1f5f9;
    --border: rgba(15, 23, 42, .08);
    --border-light: rgba(15, 23, 42, 0.08);
    --text-1: #0f172a;
    --text-2: #475569;
    --text-3: #94a3b8;
    --accent-cyan: #10b981;
    --accent-orange: #ea580c;
    --accent-amber: #f59e0b;
    --red: #dc2626;
    --green: #16a34a;
    --font-title: 'Inter', sans-serif;
    --font-body: 'Inter', 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);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── BASE RESETS & OVERRIDES ── */
* {
    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;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

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

.float-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 300;
    background: var(--accent-cyan);
    color: #fff;
    padding: 11px 22px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(14px);
    transition: all 0.4s var(--ease);
}

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

.float-cta:hover {
    background: #0284c7;
    box-shadow: 0 8px 28px rgba(14, 165, 233, 0.45);
}

.float-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* ── BOOTSTRAP OVERRIDES ── */
.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);
}

.nav-menu.list-unstyled {
    padding-left: 0;
    margin-bottom: 0;
}

/* ── HEADER ── */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

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

.header-container {
    width: 100%;
    max-width: 1376px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px 48px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 48px;
}

.logo {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.logo span {
    color: #fff;
    transition: all 0.3s ease;
}

.logo:hover {
    opacity: 0.85;
    transform: translateX(2px);
}

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

.nav-link {
    font-family: var(--font-title);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
    transition: var(--transition-smooth);
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.nav-item:hover>.dropdown-menu {
    display: block;
    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;
}

.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: var(--transition-smooth);
}

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

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

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    padding: 8px 16px;
    gap: 8px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.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(16, 185, 129, 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 cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.nav-icon-link {
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

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

.icon-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #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-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: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .icon-dropdown-header {
    border-bottom-color: var(--border-light);
}

.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: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled .icon-dropdown-menu .dropdown-item {
    border-bottom-color: var(--border-light);
}

.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);
}

.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);
}

/* HAMBURGER MENU */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 0;
    position: relative;
    z-index: 100;
}

.hamburger-menu span {
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    transition: var(--transition-smooth);
    display: block;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(7.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);
}

.hamburger-menu.active span {
    background: rgba(15, 23, 42, 0.75) !important;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 60%;
    height: 100vh;
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    display: none;
    flex-direction: column;
    padding: 80px 16px 40px;
    gap: 12px;
    overflow-y: auto;
    overflow-x: hidden;
    animation: slideIn 0.3s var(--ease) forwards;
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.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(0, 0, 0, 0.06);
    display: block;
    word-break: break-word;
    color: var(--text-2);
}

.mobile-menu .nav-link:hover {
    color: var(--text-1);
}

.mobile-menu .dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-1);
}

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

.mobile-menu .dropdown-menu {
    position: static;
    background: rgba(0, 0, 0, 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(0, 0, 0, 0.04);
    font-size: 12px;
    word-break: break-word;
    color: var(--text-2);
}

.mobile-menu .header-actions {
    gap: 0;
    margin-left: 0;
    margin-top: 12px;
    flex-direction: column;
}

.mobile-menu .search-bar {
    width: 100%;
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu .search-bar input {
    width: 100%;
    font-size: 12px;
    color: var(--text-1);
}

.mobile-menu .search-bar input::placeholder {
    color: var(--text-3);
}

.mobile-menu .search-bar svg {
    color: var(--text-2);
}

/* HEADER SCROLLED LIGHT STATE */
.site-header.scrolled {
    position: fixed;
    background: #ffffff;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.site-header.scrolled .logo {
    color: var(--text-1);
    text-shadow: none;
}

.site-header.scrolled .logo span {
    color: inherit;
}

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

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

.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);
}

.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);
}

.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(16, 185, 129, 0.4);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

.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);
}

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

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

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

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

/* ── 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(16, 185, 129, 0.5);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 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: #059669;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 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;
}

/* ── SUPPORT WIDGET ── */
.support-widget {
    position: fixed;
    bottom: 90px;
    right: 28px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.4s ease;
}

.support-widget.widget-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) scale(0.95) !important;
    pointer-events: none !important;
}

.support-widget:not(.widget-hidden) {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

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

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

.support-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f1f5f9;
    color: var(--text-1);
    padding: 8px 16px 8px 8px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.support-item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

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

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

.bg-phone {
    background: #10b981;
}

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

.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(16, 185, 129, 0.4);
}

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

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

/* ── LIVE CHAT BOX ── */
.chat-box {
    position: fixed;
    bottom: 156px;
    right: 28px;
    width: 320px;
    background: #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 400;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s var(--ease);
    border: 1px solid var(--border);
}

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

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

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

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

.chat-body {
    height: 320px;
    padding: 20px;
    background: #e2e8f0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

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

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

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

.chat-msg.bot .msg-bubble {
    background: #f1f5f9;
    color: var(--text-1);
    border: 1px solid var(--border);
    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);
    margin-top: 4px;
    align-self: flex-end;
}

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

.chat-input-area {
    display: flex;
    padding: 14px 16px;
    background: #f1f5f9;
    border-top: 1px solid var(--border);
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    border: none;
    background: #e2e8f0;
    padding: 10px 14px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-1);
    outline: none;
}

.chat-input-area input::placeholder {
    color: var(--text-3);
}

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

.chat-send:hover {
    background: #059669;
}

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

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

/* ── GENERAL RESPONSIVE LAYOUT Breakpoints (Header & navigation) ── */
@media (max-width: 1024px) {
    .header-actions .nav-link:not(:first-child) {
        display: none;
    }

    .header-actions .nav-cta {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu {
        padding: 70px 12px 40px;
        gap: 8px;
    }

    .mobile-menu .nav-link {
        font-size: 13px;
        padding: 9px 0;
    }
}

@media (max-width: 900px) {
    .header-container {
        padding: 18px 24px;
    }
}

@media (max-width: 768px) {
    .header-actions .search-bar {
        display: flex;
        padding: 4px 8px;
        gap: 6px;
    }

    .header-actions .search-bar input {
        width: 160px;
        font-size: 12px;
        padding: 0;
    }

    .header-actions .search-bar:focus-within input {
        width: 160px;
    }

    .header-actions .nav-link:not(:first-child) {
        display: none;
    }

    .header-actions .nav-cta {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

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

    .logo {
        font-size: 18px;
    }

    .nav-menu {
        display: none;
    }
}

/* ── ARTICLE PAGE CUSTOM STYLING ── */
.article-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 24px;
}

.article-content h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #0f172a;
    margin-top: 40px;
    margin-bottom: 16px;
}

.article-card-img {
    transition: transform 0.5s ease;
}

.article-card-img:hover {
    transform: scale(1.03);
}

/* ── PRODUCT TABS SECTION ── */
.product-tabs-section {
    background: #fff;
    padding: 40px 0 80px;
    border-bottom: 1px solid var(--border);
    border-radius: 24px;
    margin-bottom: 48px;
}

.product-tabs-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.tabs-header {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: none;
    border: none;
    padding: 16px 0;
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-3);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

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

.tab-btn.active {
    color: var(--accent-cyan);
}

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

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
    text-align: justify;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-family: var(--font-title);
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-1);
}

.tab-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-2);
    margin-bottom: 16px;
}

.tab-content ul {
    list-style: none;
    padding: 0;
}

.tab-content li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-2);
}

.tab-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
}

.specs-table th,
.specs-table td {
    padding: 16px;
    border: 1px solid var(--border);
    text-align: left;
    font-size: 15px;
}

.specs-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--text-1);
}

/* ── RESPONSIVE OVERRIDES FOR ARTICLE LAYOUT & TABS (Mobile <= 768px) ── */
@media (max-width: 768px) {
    main.max-w-4xl {
        padding-top: 96px !important;
        padding-bottom: 32px !important;
    }

    main.max-w-4xl nav,
    main.max-w-4xl header span.inline-block {
        margin-bottom: 12px !important;
    }

    main.max-w-4xl h1 {
        font-size: 24px !important;
        line-height: 1.35 !important;
        margin-bottom: 16px !important;
    }

    main.max-w-4xl header div.text-slate-500 {
        flex-wrap: wrap;
        gap: 8px !important;
        font-size: 12px !important;
    }

    main .max-h-\[480px\] {
        max-height: 240px !important;
        margin-bottom: 24px !important;
        border-radius: 16px !important;
    }

    .article-content {
        padding: 20px 16px !important;
        border-radius: 20px !important;
        margin-bottom: 32px !important;
        text-align: justify !important;
    }

    .article-content p {
        font-size: 14px !important;
        text-align: justify !important;
        line-height: 1.65 !important;
        margin-bottom: 16px !important;
    }

    .article-content p.text-lg {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
        padding-left: 12px !important;
    }

    .article-content h2 {
        font-size: 18px !important;
        margin-top: 28px !important;
        margin-bottom: 12px !important;
    }

    .article-content .my-8 {
        margin-top: 16px !important;
        margin-bottom: 16px !important;
    }

    .article-content img {
        max-height: 200px !important;
    }

    .product-tabs-section {
        padding: 24px 0 48px;
        border-radius: 16px;
        margin-bottom: 32px;
    }

    .product-tabs-section .container {
        padding: 0 16px;
    }

    .tabs-header {
        gap: 20px;
        margin-bottom: 24px;
    }

    .tab-btn {
        font-size: 14px;
        padding: 10px 0;
    }

    .tab-content h3 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .tab-content p {
        font-size: 13.5px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .tab-content li {
        font-size: 13.5px;
        padding-left: 20px;
        margin-bottom: 8px;
    }

    .specs-table th,
    .specs-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .specs-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    main .bg-gradient-to-br {
        padding: 28px 20px !important;
        border-radius: 20px !important;
    }

    main .bg-gradient-to-br h3 {
        font-size: 19px !important;
        margin-bottom: 10px !important;
    }

    main .bg-gradient-to-br p {
        font-size: 13px !important;
        margin-bottom: 18px !important;
    }

    main .bg-gradient-to-br a {
        padding: 10px 20px !important;
        font-size: 13.5px !important;
        border-radius: 10px !important;
        width: 100%;
        justify-content: center;
    }
}

/* ── FOOTER STYLES ── */
.footer-grid.row {
    --bs-gutter-x: 56px;
    margin: 0;
    margin-bottom: 64px;
}

.site-footer {
    background: var(--text-1);
    padding: 80px 56px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 64px;
}

.footer-logo {
    font-family: var(--font-title);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    margin-bottom: 18px;
}

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

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 26px;
    max-width: 280px;
}

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

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

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

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

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

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

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

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

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-title);
}

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

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

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

/* Responsive Footer Styles */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

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

    .site-footer {
        padding: 60px 24px 32px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
    }
    .footer-grid > div {
        min-height: 180px;
    }

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

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }
    .footer-grid > div {
        min-height: 160px;
    }

    .footer-logo {
        font-size: 14px;
    }

    .footer-about {
        font-size: 10px;
        max-width: 100%;
    }

    .footer-link {
        font-size: 10px;
        white-space: normal !important;
    }

    .footer-col-title {
        font-size: 11px;
    }

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

    .footer-bottom-links {
        gap: 12px;
    }

    .footer-bottom-link {
        font-size: 11px;
    }

    .footer-link,
    .footer-bottom-link,
    .footer-col-title {
        white-space: normal !important;
        font-size: 11px;
    }

    .footer-links {
        gap: 6px;
    }

    .footer-bottom-links {
        gap: 10px;
    }
}

/* ── DETAIL HERO & PROMO SLIDER ── */
.detail-hero {
    padding: 130px 40px 60px;
    background: #ffffff url('../img/pallet_hero.png') center/cover no-repeat;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.detail-hero .hero-mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, .15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, .15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 40%, rgba(15, 23, 42, 0.1) 100%);
    background-size: 48px 48px, 48px 48px, 100% 100%;
}

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

.detail-hero .hero-orb-amber-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, .1) 0%, transparent 70%);
    top: -200px;
    right: -150px;
}

.detail-hero .hero-orb-amber-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, .08) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
}

.detail-hero .hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.detail-hero .hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color .3s;
}

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

.detail-hero .hero-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.4);
}

.detail-hero .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;
}

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

.detail-hero .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;
}

.detail-hero .hero-title span {
    background: linear-gradient(90deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detail-hero .hero-desc {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95);
    max-width: 420px;
    margin-bottom: 28px;
}

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

.detail-hero .hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 6px 14px;
    font-family: var(--font-title);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: .04em;
}

.detail-hero .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);
}

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

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

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

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

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

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

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

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

.detail-hero .img-main {
    width: 320px;
    height: 380px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    border: 3px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.15);
}

@keyframes floatVisual {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, calc(-50% - 15px));
    }
}

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

.detail-hero .badge-amber {
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
}

@keyframes floatVisualBadge {

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

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

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

/* ── PROMO SLIDER ── */
.promo-slider-container {
    width: 100%;
    background: linear-gradient(90deg, #059669, #10b981);
    color: #fff;
    padding: 12px 0;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.promo-track {
    display: inline-flex;
    gap: 50px;
    padding-right: 50px;
    animation: scroll-promo 25s linear infinite;
}

.promo-track:hover {
    animation-play-state: paused;
}

.promo-slide {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@keyframes scroll-promo {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── MEDIA QUERIES RESPONSIVENESS FOR DETAIL HERO ── */
@media (max-width: 991px) {
    .detail-hero {
        padding: 100px 24px 40px;
    }

    .detail-hero .hero-visual .img-main {
        width: 240px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .detail-hero .hero-breadcrumb {
        flex-wrap: wrap;
        gap: 6px;
        font-size: 10px;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .detail-hero {
        padding: 90px 20px 30px;
    }

    .detail-hero .hero-title {
        font-size: 28px;
    }

    .detail-hero .hero-desc {
        font-size: 13px;
    }

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

    .detail-hero .hero-visual .img-main {
        width: 200px;
        height: 240px;
    }

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

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

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

    .detail-hero .hero-stat-lbl {
        font-size: 9px;
    }
}

@media (max-width: 576px) {
    .detail-hero {
        padding: 80px 16px 30px;
    }

    .detail-hero .hero-title {
        font-size: 20px;
    }

    .detail-hero .hero-desc {
        font-size: 11px;
    }

    .detail-hero .hero-visual .img-main {
        width: 160px;
        height: 200px;
    }

    .detail-hero .hero-visual-badge {
        bottom: -10px;
        right: 10px;
        padding: 8px 14px;
    }

    .detail-hero .badge-icon {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .detail-hero {
        padding: 80px 12px 30px;
        min-height: 380px;
    }

    .detail-hero .hero-title {
        font-size: 18px !important;
    }

    .detail-hero .hero-desc {
        font-size: 11px;
        max-width: 100%;
    }

    .detail-hero .hero-chips {
        gap: 4px;
    }

    .detail-hero .hero-chip {
        font-size: 8px;
        padding: 3px 8px;
    }

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

.mobile-menu .nav-link.active {
    color: var(--accent-cyan) !important;
    font-weight: 600;
}

/* ── RESPONSIVE FLOATING CTA & SUPPORT WIDGET ── */
@media (max-width: 640px) {
    .float-cta {
        bottom: 20px;
        right: 20px;
        left: auto;
        font-size: 11px;
        padding: 9px 16px;
    }

    .support-widget {
        bottom: 74px;
        right: 20px;
    }

    .chat-box {
        bottom: 140px;
        right: 20px;
    }
}

@media (max-width: 375px) {
    .float-cta {
        bottom: 16px;
        right: 16px;
        font-size: 10px;
        padding: 6px 12px;
    }

    .support-widget {
        bottom: 76px;
        right: 8px;
    }

    .chat-box {
        bottom: 120px;
        right: 8px;
        width: 290px;
    }
}

/* ── RESPONSIVE HEADER ── */
@media (max-width: 640px) {
    .header-container {
        padding: 14px 12px;
        gap: 10px;
    }

    .logo {
        font-size: 13px;
        letter-spacing: 0.1em;
    }
}

@media (max-width: 500px) {
    .header-container {
        padding: 10px;
        gap: 8px;
    }

    .logo {
        font-size: 12px;
        letter-spacing: 0;
    }

    .header-actions .search-bar {
        padding: 2px 4px;
        gap: 2px;
    }

    .header-actions .search-bar input {
        width: 90px;
        font-size: 11px;
    }

    .header-actions .search-bar:focus-within input {
        width: 90px;
    }
}

@media (max-width: 375px) {
    .header-container {
        padding: 6px 8px;
        gap: 4px;
    }

    .logo {
        font-size: 11px;
        letter-spacing: 0;
    }

    .logo img {
        height: 28px !important;
        width: 28px !important;
    }
}