/* ==========================================================================
   SD'bike - Main Stylesheet
   Font: MJ-Euro (hero) + VerdanaPrimer (body) | Màu chính: #00f0ff (cyan), #0a0e14 (nền), #f0f6fc (chữ)
   ========================================================================== */

/* ======== CUSTOM FONTS ======== */
@font-face {
    font-family: 'MJ-Euro';
    src: url('../fonts/MJ-EurostileExtendedBlack.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VerdanaPrimer';
    src: url('../fonts/VerdanaPrimer.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Fix CLS (Layout Shift) cho các icon tải muộn từ unpkg */
i[class^="ph"],
i[class*=" ph"] {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
}

/* ======== INTRO SPLASH SCREEN ======== */
#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    overflow: hidden;
}

/* Khối .header chính được đặt bên dưới — không để ở đây tránh trùng */

/* Hai nửa panel trượt từ hai phía */
.splash-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #0d1117;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: transform 0.9s cubic-bezier(0.77, 0, 0.18, 1);
}

.splash-panel-left {
    left: 0;
    justify-content: flex-end;
    transform: translateX(-100%);
}

.splash-panel-right {
    right: 0;
    justify-content: flex-start;
    transform: translateX(100%);
}

/* Logo bên trong mỗi panel – chỉ hiện nửa tương ứng */
.splash-logo-half {
    width: 220px;
    height: 220px;
    object-fit: cover;
    flex-shrink: 0;
}

.splash-panel-left .splash-logo-half {
    object-position: left center;
    clip-path: inset(0 50% 0 0);
    /* clip nửa phải */
    transform: translateX(110px);
    /* đẩy sát mép panel */
}

.splash-panel-right .splash-logo-half {
    object-position: right center;
    clip-path: inset(0 0 0 50%);
    /* clip nửa trái */
    transform: translateX(-110px);
}

/* Trạng thái khi panel đã trượt vào */
.splash-panel-left.in {
    transform: translateX(0);
}

.splash-panel-right.in {
    transform: translateX(0);
}

/* Hào quang sáng tại điểm ghép */
.splash-glow {
    position: absolute;
    width: 4px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    background: linear-gradient(to bottom, transparent, #ff6b00, #fff, #ff6b00, transparent);
    filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.splash-glow.show {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
}

/* Logo đầy đủ ở trung tâm sau khi ghép */
.splash-logo-full {
    position: absolute;
    width: 220px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(255, 107, 0, 0.6));
}

.splash-logo-full.show {
    opacity: 1;
    transform: scale(1);
}

/* Fade out toàn màn hình */
#splash-screen.fade-out {
    animation: splashFadeOut 0.7s ease forwards;
}

@keyframes splashFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        pointer-events: none;
    }
}

/* Tagline */
.splash-tagline {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.6s ease 0.2s;
    white-space: nowrap;
}

.splash-tagline.show {
    opacity: 1;
}

/* Thanh loading phía dưới */
.splash-bar {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.splash-bar.show {
    opacity: 1;
}

.splash-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #ff6b00, #ffaa44);
    border-radius: 2px;
    transition: width 1s ease;
}

.splash-bar-fill.go {
    width: 100%;
}


*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --red: #00f0ff;
    --red-hover: #00d0e0;
    --text: #f0f6fc;
    --text-muted: #8b949e;
    --bg: #0a0e14;
    --white: #151b26;
    --border: #2a3441;
    --radius: 8px;
    --cyan: #00f0ff;
    --blue: #0d6efd;
    --pink: #ff003c;
    --neon-cyan: 0 0 10px rgba(0, 240, 255, 0.5);
    --neon-pink: 0 0 10px rgba(255, 0, 60, 0.5);
    --theme-transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ======== LIGHT MODE THEME ======== */
body.light-mode {
    --bg: #f0f4f8;
    --white: #ffffff;
    --text: #1a1e2e;
    --text-muted: #5a6375;
    --border: #d1d9e0;
    --cyan: #0097a7;
    --red: #0097a7;
    --red-hover: #00838f;
    --neon-cyan: 0 0 10px rgba(0, 151, 167, 0.25);
    --neon-pink: 0 0 10px rgba(200, 0, 40, 0.25);
}

body.light-mode .header {
    background: #ffffff;
}

body.light-mode .header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 200, 220, 0.10);
}

/* Fix navbar text color in light mode */
body.light-mode .navbar-nav .nav-link {
    color: var(--text) !important;
}

body.light-mode .navbar-nav .nav-link:hover,
body.light-mode .navbar-nav .nav-link.active {
    color: var(--cyan) !important;
}

body.light-mode .logo-name {
    color: var(--cyan) !important;
}

body.light-mode .logo-sub {
    color: var(--text-muted) !important;
}

/* Ensure sticky works by preventing overflow-x from breaking it */
html, body {
    overflow-x: clip;
}

body.light-mode .cat-tag {
    border-color: rgba(0, 151, 167, 0.5);
}

body.light-mode .product-features li {
    color: var(--text-muted);
}

body.light-mode .search-box {
    background: #e8edf3;
    border-color: #c5cdd6;
}

body.light-mode .search-box input {
    color: var(--text);
}

body.light-mode .search-suggestions {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

body.light-mode .product-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

body.light-mode .product-img-wrapper {
    background: #e8edf3;
}

body.light-mode .cart-sidebar {
    background: #f8fafc;
}

body.light-mode .dropdown-menu {
    background: #ffffff;
    border-color: var(--border);
}

body.light-mode .dropdown-item {
    color: var(--text);
}

body.light-mode .dropdown-item:hover {
    background: #f0f4f8;
}

/* ======== THEME TOGGLE BUTTON ======== */
#theme-toggle {
    background: none;
    border: 1.5px solid var(--border);
    color: var(--text);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1), color 0.2s;
    position: relative;
    overflow: hidden;
}

#theme-toggle:hover {
    background: var(--bg);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: rotate(22deg) scale(1.1);
}

#theme-toggle:active {
    transform: scale(0.92);
}



body {
    font-family: 'VerdanaPrimer', Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ======== CONTAINER ======== */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======== HEADER ======== */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    will-change: transform;
}

/* Khi cuộn: header trở nên mờ trong suốt và nổi lên */
.header.scrolled {
    background: rgba(21, 27, 38, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 240, 255, 0.08);
    border-bottom-color: rgba(0, 240, 255, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.logo-accent {
    color: var(--red);
}

/* Search box with dropdown */
.search-wrapper {
    flex: 1;
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 10px 18px;
    transition: border-color 0.15s;
}

.search-box:focus-within {
    border-color: var(--red);
    background: var(--bg);
}

.search-box i {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    font-size: 0.95rem;
    width: 100%;
    font-family: inherit;
}

/* Search suggestions dropdown */
.search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 200;
    overflow: hidden;
    display: none;
}

.search-suggestions.open {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.1s;
    border-bottom: 1px solid #f5f5f5;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #fff5f5;
}

.suggestion-item i {
    color: var(--red);
    font-size: 1rem;
    flex-shrink: 0;
}

.suggestion-item mark {
    background: none;
    color: var(--red);
    font-weight: 700;
}

/* Giá hiển thị trong suggestion item */
.suggestion-price {
    margin-left: auto;
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.suggestion-no-result {
    padding: 14px 16px;
    color: var(--text-muted);
    font-size: 0.88rem;
    text-align: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-ghost {
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    transition: background 0.15s;
}

.btn-ghost:hover {
    background: var(--bg);
}

.cart-btn {
    background: var(--red);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
}

.cart-btn:hover {
    background: var(--red-hover);
}

.cart-count {
    background: white;
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 50px;
}

/* ======== CATEGORY NAV ======== */
.category-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.category-nav .container {
    display: flex;
    gap: 0;
    overflow-x: auto;
}

.category-nav a {
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all 0.15s;
}

.category-nav a:hover,
.category-nav a.active {
    color: var(--red);
    border-bottom-color: var(--red);
}

/* ======== HERO BANNER ======== */
.hero-banner {
    color: white;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--red);
    min-height: 420px;
    /* Đặt chiều cao tĩnh để chống giật layout khi load Font chữ */
    display: flex;
    align-items: center;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.8);
    /* Overlay mờ ảo để chữ nổi lên */
}

/* Lớp màu đỏ mờ để overlay thêm (cũ đã có background-color) */
.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-text {
    max-width: 550px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.hero-text h1 {
    font-family: 'MJ-Euro', Arial, Helvetica, sans-serif;
    font-size: 2.8rem;
    font-weight: normal;
    margin-bottom: 12px;
    line-height: 1.25;
}

.hero-highlight {
    color: #ffd44d;
}

.hero-text p {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 28px;
}

/* Hero dual CTA */
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.btn-hero-outline {
    display: inline-block;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 12px 26px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: white;
}

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 4px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffd44d;
    line-height: 1;
}

.hero-stat span {
    font-size: 0.78rem;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
}

/* ======== BUTTONS ======== */
.btn-primary {
    display: inline-block;
    background: var(--red);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

.btn-primary:hover {
    background: var(--red-hover);
}

.btn-primary.w-full {
    width: 100%;
    text-align: center;
}

/* ======== MAIN CONTENT ======== */
.main-content {
    padding: 40px 0;
    /* min-height đảm bảo footer không dịch chuyển khi sản phẩm load xong (CLS fix) */
    min-height: 100svh;
}

/* ======== LOADING STATE ======== */
/* Giữ chiều cao tương đương nội dung thật → footer ở yên vị trí */
.loading-state {
    text-align: center;
    padding: 80px 0;
    color: var(--text-muted);
    min-height: 60vh;
}

.loading-state i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ======== CATEGORY SECTION ======== */
.category-block {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--red);
}

.section-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.section-header a {
    font-size: 0.85rem;
    color: var(--red);
    font-weight: 500;
}

/* ======== PRODUCTS GRID ======== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* ======== PRODUCT CARD ======== */
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--red);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Wrapper giữ chỗ cố định bằng aspect-ratio → trình duyệt biết chiều cao trước khi ảnh load
   → không có layout shift (CLS fix) */
.product-img-wrapper {
    aspect-ratio: 4 / 3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg);
    /* màu nền placeholder trong khi ảnh chưa load */
    border-radius: 6px;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
    /* pointer-events:none: click luôn hit vào .product-card, không vào img con
       → trình duyệt không ghi nhận interaction riêng trên img → giảm INP */
    pointer-events: none;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

/* Tương tự cho các phần tử text bên trong card — không cần nhận click */
.product-name,
.product-price,
.product-old-price,
.discount-badge {
    pointer-events: none;
}

.product-name {
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text);
    height: 2.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--red);
}

.product-old-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 6px;
}


/* ======== CART SIDEBAR ======== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: absolute;
    right: -420px;
    top: 0;
    width: 400px;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.cart-overlay.active .cart-sidebar {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-header button {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-muted);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fafafa;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cart-item-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--red);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 6px;
    padding: 0;
    display: block;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.cart-total strong {
    font-size: 1.3rem;
    color: var(--red);
}

.empty-cart {
    text-align: center;
    padding: 60px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ======== MODAL ======== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    width: 100%;
    max-width: 420px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-card.wide {
    max-width: 760px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.modal-close:hover {
    background: #e0e0e0;
}

.modal-card h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    outline: none;
    font-family: inherit;
    transition: border-color 0.15s;
}

.form-group input:focus {
    border-color: var(--red);
}

.auth-toggle {
    margin-top: 16px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.auth-toggle a {
    color: var(--red);
    font-weight: 600;
}

.auth-subtitle {
    color: #888;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* ======== PRODUCT DETAIL MODAL ======== */
.modal-product-grid {
    display: flex;
    gap: 30px;
}

.modal-product-img {
    flex: 1;
    text-align: center;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px;
}

.modal-product-img img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.modal-product-info {
    flex: 1;
}

.modal-product-info h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.modal-product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 8px;
}

.modal-product-sold {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.modal-product-features {
    list-style: none;
    margin-bottom: 24px;
}

.modal-product-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.modal-product-features li i {
    color: #22c55e;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-secondary {
    background: none;
    border: 2px solid var(--red);
    color: var(--red);
    padding: 12px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}

.btn-secondary:hover {
    background: var(--red);
    color: white;
}

/* ======== CHAT WIDGET ======== */
.floating-help-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--red);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 400;
    transition: transform 0.15s;
}

.floating-help-btn:hover {
    transform: scale(1.08);
}

.chat-widget {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 340px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: 0.25s;
    z-index: 400;
}

.chat-widget.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background: var(--red);
    color: white;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
}

.chat-body {
    height: 280px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--bg);
}

.chat-footer {
    display: flex;
    padding: 10px 14px;
    background: var(--white);
    border-top: none;
}

.chat-footer-inner {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 2px 4px 2px 16px;
    background: var(--white);
    transition: border-color 0.2s;
}

.chat-footer-inner:focus-within {
    border-color: var(--red);
}

.chat-input {
    flex: 1;
    padding: 8px 0;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    background: transparent;
    color: var(--text);
}

.chat-send {
    background: transparent;
    color: var(--red);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    margin-left: auto;
}

.chat-send:hover {
    background: rgba(204, 0, 0, 0.1);
}

.chat-message {
    max-width: 82%;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.chat-message.user {
    background: var(--red);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-message.typing {
    align-self: flex-start;
    background: transparent;
    border: none;
    padding: 8px 12px;
    display: flex;
    align-items: center;
}

.chat-message.typing .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--cyan);
    border-radius: 50%;
    margin: 0 3px;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.chat-message.typing .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.chat-message.typing .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-message.bot {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

/* ======== TOP INFO BAR ======== */
.top-bar {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    padding: 7px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-left i {
    color: var(--red);
}

.top-bar-sep {
    color: rgba(255, 255, 255, 0.25);
}

.top-bar-right {
    color: #ffd44d;
    font-weight: 500;
}

/* ======== TRUST BADGES STRIP ======== */
.trust-strip {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 3px solid var(--red);
    padding: 18px 0;
}

.trust-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: center;
}

.trust-item i {
    font-size: 2rem;
    color: var(--red);
    flex-shrink: 0;
}

.trust-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-item strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.trust-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
}


/* ======== FOOTER ======== */
.footer {
    background: #141414;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
    margin-top: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col .footer-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
    display: block;
}

.footer-desc {
    font-size: 0.84rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 0.84rem;
}

.footer-contact i {
    color: var(--red);
    margin-right: 4px;
}

.footer-contact strong {
    color: white;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.15s;
}

.footer-social a:hover {
    background: var(--red);
    border-color: var(--red);
    color: white;
}

/* Footer columns */
.footer-col h5 {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: white;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.15s;
}

.footer-col ul li a:hover {
    color: var(--red);
}

/* Payment tags inside footer */
.footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.fpay-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

.fpay-tag i {
    color: var(--red);
}

/* Cert badges */
.footer-cert {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 8px 12px;
}

.cert-badge i {
    color: #22c55e;
    font-size: 1rem;
}

/* Copyright bar */
.footer-copy {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-copy .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy strong {
    color: rgba(255, 255, 255, 0.6);
}

/* ======== TOAST NOTIFICATION ======== */
.toast-container {
    position: fixed;
    top: 110px;
    right: 20px;
    z-index: 2147483647 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--white);
    color: var(--text);
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #22c55e;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    font-size: 0.95rem;
    font-weight: 500;
    pointer-events: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: #22c55e;
    width: 0;
}

.toast.show .toast-progress {
    animation: toastProgress 2s linear forwards;
}

@keyframes toastProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* ======== RESPONSIVE ======== */
@media (max-width: 1000px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .trust-strip-inner {
        flex-wrap: wrap;
        gap: 16px;
    }

    .trust-item {
        flex: calc(50% - 8px);
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .header-nav {
        display: none;
    }

    .top-bar-left>span:last-of-type,
    .top-bar-sep {
        display: none;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 14px;
    }

    .trust-item {
        flex: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-copy .container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .modal-product-grid {
        flex-direction: column;
    }
}

/* ======== DARK MODE (CYBERBIKE) ======== */
@keyframes heroKenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

@keyframes dropDownCyber {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ======== CYBERBIKE GAMING EDITION STYLES ======== */
.header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    position: absolute;
    width: 100%;
}

.logo {
    transition: all 0.2s;
}

.logo:hover {
    transform: scale(1.02);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.cyber-contact-btn {
    padding: 8px 16px;
}

/* Hero */
.hero-banner {
    position: relative;
    padding: 120px 0 80px 0;
    background: none;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    filter: brightness(0.6) contrast(1.1) saturate(1.2);
}

.hero-slide.active {
    opacity: 1;
}

/* Ken Burns subtle zoom on active slide */

.hero-slide.active {
    animation: heroKenBurns 6s ease-in-out forwards;
}

/* Slide indicator dots */
.hero-slide-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}

.hero-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slide-dot.active {
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
    transform: scale(1.2);
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 14, 20, 0.9) 0%, rgba(10, 14, 20, 0.6) 50%, rgba(10, 14, 20, 0.8) 100%);
    z-index: 1;
}

.hero-banner-text {
    text-align: left;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--cyan);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    font-family: Arial, Helvetica, sans-serif;
}

.cyan-text {
    color: var(--cyan);
}

.purple-text {
    color: #b522ff;
    text-shadow: 0 0 20px rgba(181, 34, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 40px;
}

.bold {
    font-weight: 700;
}

.header-actions-row {
    margin-bottom: 0;
}

.btn-cyan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--cyan);
    color: #000;
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.btn-cyan:hover {
    background: #00d0e0;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.8);
    transform: translateY(-2px);
}

.btn-hero-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--cyan);
    border: 1px solid var(--cyan);
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-hero-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Category Block Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.section-header h2 span {
    color: var(--blue);
    /* or cyan based on mockup */
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Category Grid for Top (Danh Mục Xe Đạp) */
.cat-top-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.cat-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: 0.3s;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cat-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.cat-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: 0;
    transition: 0.3s;
}

.cat-card:hover .cat-bg {
    filter: brightness(0.7) scale(1.05);
}

.cat-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    background: linear-gradient(to top, rgba(10, 14, 20, 1), transparent);
}

.cat-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.cat-subtitle {
    color: var(--cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.cat-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
}

.cat-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cat-btn {
    background: var(--blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

/* Product Card */
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.2s;
}

.product-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.1);
    transform: translateY(-4px);
}

.product-img-wrapper {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    background: #000;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* or cover */
    filter: brightness(0.85);
    transition: 0.3s;
}

.product-card:hover .product-img-wrapper img {
    filter: brightness(1) scale(1.05);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.badge-seller {
    background: #f59e0b;
    color: #000;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-hot {
    background: var(--pink);
    color: #fff;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
}

.btn-heart {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: 0.2s;
}

.btn-heart:hover {
    color: var(--cyan);
    border-color: var(--cyan);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cat-tag {
    font-size: 0.7rem;
    color: var(--cyan);
    border: 1px solid rgba(0, 240, 255, 0.4);
    padding: 2px 8px;
    border-radius: 4px;
}

.product-rating {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-rating i {
    color: #f59e0b;
}

.product-rating span {
    color: #fff;
    font-weight: 700;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-price-row {
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--cyan);
}

.product-price-old {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-features {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}

.product-features li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features li::before {
    content: "✓";
    color: var(--cyan);
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-details {
    flex: 1;
    background: var(--blue);
    color: white;
    font-weight: 700;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-details:hover {
    background: #0b5ed7;
}

.btn-add-cart {
    background: #10b981;
    color: white;
    border: none;
    width: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1.1rem;
}

.btn-add-cart:hover {
    background: #059669;
}

/* Footer */
.footer {
    background: #0a0e14;
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
    margin-top: 60px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.2s;
}

.footer-legal a:hover {
    color: var(--cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.fpay-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 14px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.fpay-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cyan);
}

.fpay-tag i {
    color: var(--cyan);
    font-size: 1.6rem;
}

.blend-logo {
    filter: grayscale(1) invert(1) brightness(2);
    mix-blend-mode: screen;
}

/* Search Dropdown & Suggestions */
.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s all;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.suggestion-item:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.2);
    transform: translateX(4px);
}

.suggestion-item i {
    color: var(--cyan);
    font-size: 1.25rem;
}

.search-suggestions.open {
    display: flex;
}

.suggestion-price {
    margin-left: auto;
    color: var(--cyan);
    font-weight: 700;
}

.suggestion-no-result {
    padding: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
}

#searchInput:focus {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.search-wrapper-dropdown {
    animation: dropDownCyber 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: top right;
}

/* ======== RESPONSIVE STYLES ======== */
@media (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .cat-top-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Fix header height and dropdown styling on mobile */
    .header-inner {
        height: auto;
        min-height: 80px;
    }

    .navbar-collapse {
        background: rgba(10, 14, 20, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 12px;
        border: 1px solid rgba(0, 240, 255, 0.2);
        box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
        position: absolute;
        top: 100%;
        left: 10px;
        right: 10px;
        z-index: 1050;
    }

    body.light-mode .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-color: rgba(0, 151, 167, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px !important;
        margin-left: 0 !important;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 0;
    }

    .header-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-banner {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .trust-strip-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .trust-item {
        width: 45%;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }

    .cat-top-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-hero-outline {
        width: 100%;
        text-align: center;
    }

    .modal-card {
        width: 95% !important;
        margin: 20px auto;
    }

    .trust-item {
        width: 100%;
    }
}

/* ----------------------------------------------
 * Generated by Animista
 * ---------------------------------------------- */

/* Hiệu ứng Scale-down (Entrance) */
.scale-down-entrance {
    -webkit-animation: scale-down-entrance 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: scale-down-entrance 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes scale-down-entrance {
    0% {
        -webkit-transform: scale(1.15);
        transform: scale(1.15);
        opacity: 0;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scale-down-entrance {
    0% {
        -webkit-transform: scale(1.15);
        transform: scale(1.15);
        opacity: 0;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

/* ==========================================================================
   EXTRACTED FROM INLINE STYLES – Moved to stylesheet for clean HTML
   ========================================================================== */

/* ── HEADER INNER ── */
.header-inner {
    justify-content: space-between;
}

/* ── HERO CAROUSEL ABSOLUTE FILL ── */
.carousel-absolute {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ── HERO OVERLAY Z-INDEX ── */
.hero-overlay-z2 {
    z-index: 2;
}

.hero-inner-z3 {
    z-index: 3;
}

/* ── CAROUSEL INDICATORS BOTTOM ── */
.carousel-indicators-bottom {
    margin-bottom: 30px;
    z-index: 5;
}

/* ── CAROUSEL IMG COVER ── */
.img-cover {
    object-fit: cover;
}

/* ── LOGO ── */
a.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 2.2rem;
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.logo-text-wrap {
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--cyan);
    font-family: Arial, Helvetica, sans-serif;
}

.logo-sub {
    font-size: 0.55rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    font-weight: 700;
}

/* ── HEADER NAV ── */
.header-nav {
    display: flex;
    gap: 30px;
}

.header-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    text-decoration: none;
}

.header-nav a.active {
    color: var(--cyan);
    font-weight: 600;
}

/* ── HEADER ACTIONS ── */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* ── LANG TOGGLE BUTTON ── */
.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: bold;
    border-radius: 8px;
    padding: 4px 8px;
}

.lang-btn i {
    font-size: 1.2rem;
}

.lang-icon {
    font-size: 0.9rem;
}

/* ── SEARCH WRAPPER ── */
.search-wrapper {
    position: relative;
}

/* ── SEARCH DROPDOWN ── */
.search-dropdown {
    display: none;
    position: absolute;
    top: 140%;
    right: -10px;
    background: rgba(10, 14, 20, 0.98);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 8px;
    width: 340px;
    padding: 12px;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.search-dropdown input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 12px 16px;
    border-radius: 6px;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    display: block;
    box-sizing: border-box;
}

.search-suggestions-list {
    margin-top: 10px;
    flex-direction: column;
    gap: 4px;
    max-height: 350px;
    overflow-y: auto;
}

/* ── FOOTER GRID ── */
.footer-grid {
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 20px;
}

/* ── LOGO CANVAS ── */
.logo-canvas {
    margin-bottom: 20px;
    display: block;
    object-fit: contain;
    cursor: pointer;
}

/* ── FOOTER DESC ── */
.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 400px;
}

/* ── FOOTER CONTACT ── */
.footer-contact-new {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.footer-contact-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-contact-icon {
    color: var(--cyan);
    font-size: 1.2rem;
}

.footer-contact-text {
    color: #fff;
}

/* ── FOOTER SOCIAL ── */
.footer-social {
    display: flex;
    gap: 16px;
}

/* ── FOOTER COL TITLES ── */
.footer-col-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col-title--border {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

/* ── FOOTER COL LIST ── */
.footer-col-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
}

/* ── FOOTER PAYMENTS ── */
.footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fpay-tag i {
    color: var(--cyan);
}

/* ── COPYRIGHT HIGHLIGHT ── */
.copyright-highlight {
    color: var(--cyan);
    font-weight: 700;
}

/* ── AUTH DIVIDER ── */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 15px 0;
}

.auth-divider-line {
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.auth-divider-text {
    padding: 0 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ── SOCIAL LOGIN ── */
.social-login {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.social-btn {
    flex: 1;
    justify-content: center;
}

.icon-facebook {
    color: #1877F2;
    font-size: 1.2rem;
}

.icon-google {
    color: #DB4437;
    font-size: 1.2rem;
}

/* ── INDEX PAGE: Hero z-index wrapper ── */
.hero-z {
    z-index: 1;
}

/* ── INDEX PAGE: Online status dot ── */
.status-dot {
    width: 35px;
    height: 35px;
    border: 4px solid #0a0e14;
}

/* ── INDEX PAGE: Hero title ── */
.hero-title-index {
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    letter-spacing: 2px;
}

/* ── INDEX PAGE: Hero subtitle ── */
.hero-subtitle-index {
    letter-spacing: 1px;
}

/* ── INDEX PAGE: Scroll down icon ── */
.scroll-down-icon {
    font-size: 3rem;
}

/* ── INDEX PAGE: Main section ── */
.main-section {
    z-index: 1;
    background: rgba(10, 14, 20, 0.75);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

/* ── INDEX PAGE: About card body ── */
.about-body {
    line-height: 1.8;
}

/* ── INDEX PAGE: Project desc ── */
.project-desc {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ── INDEX PAGE: Section border ── */
.border-faint {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ── INDEX PAGE: Contribution list ── */
.contrib-list {
    font-size: 1.1rem;
    line-height: 2;
}

/* ── INDEX PAGE: Footer ── */
.index-footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

/* ── INDEX PAGE: Copyright ── */
.index-copyright {
    font-size: 0.95rem;
}

/* ── DANH MUC PAGE: Page desc ── */
.page-desc {
    color: var(--text-muted);
}

/* ── HO TRO PAGE: Main section ── */
.hotro-main {
    min-height: 100vh;
    padding: 80px 0;
}

/* ── HO TRO PAGE: Hero carousel ── */
.hotro-carousel {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ── HO TRO PAGE: Hero overlay ── */
.hotro-overlay {
    background: rgba(10, 14, 20, 0.75);
    z-index: 2;
}

/* ── HO TRO PAGE: Hero inner ── */
.hotro-inner {
    justify-content: center;
    width: 100%;
    z-index: 3;
}

/* ── HO TRO PAGE: Support container wrapper ── */
.support-wrapper {
    margin: 0 auto;
    position: relative;
    z-index: 10;
    width: 100%;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.15);
}

/* ── HO TRO PAGE: Submit btn override ── */
.sup-submit-btn {
    padding: 14px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* ── CHI TIET PAGE: Inline info box ── */
.info-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
}

/* ── CHI TIET PAGE: Color label letter spacing ── */
.label-spaced {
    letter-spacing: 1px;
}

/* ── CHI TIET PAGE: Size label letter spacing ── */
.label-size {
    letter-spacing: 1px;
}

/* ── CHI TIET PAGE: Tabs border ── */
.tabs-border {
    border-bottom: 2px solid var(--border);
}

/* ── CHI TIET PAGE: Tab content font ── */
.tab-content-text {
    font-size: 1.05rem;
}

/* ── CHI TIET PAGE: Sidebar heading ── */
.sidebar-heading {
    border-bottom: 2px solid var(--border);
    padding-bottom: 15px;
}

/* ── CHI TIET PAGE: Contact banner btn ── */
.contact-banner-btn {
    background-color: var(--cyan);
    color: #000;
}

/* ── CHI TIET PAGE: Lower details delay ── */
.lower-details {
    animation-delay: 0.2s;
}

/* ── COLOR INNER SWATCHES ── */
.swatch-navy {
    background-color: #0b2545;
}

.swatch-gray {
    background-color: #3f4045;
}

.swatch-red {
    background-color: #c1121f;
}

/* ==========================================================================
   CSS TỪ <style> TRONG CÁC FILE HTML – Đã di chuyển vào đây
   ========================================================================== */

/* ── DANH MUC: Products grid override ── */
.products-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }
}

.page-header {
    padding: 40px 0 20px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    color: var(--cyan);
    font-family: 'Parker', sans-serif;
    letter-spacing: 2px;
}

/* ── CATEGORY FILTER PILLS ── */
.cat-filter-bar {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 28px 0 36px;
    flex-wrap: wrap;
}

.cat-filter-pill {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    outline: none;
    transition: transform 0.25s ease;
}

.cat-filter-pill:hover {
    transform: translateY(-4px);
}

.cat-filter-pill .pill-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2.5px solid rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: var(--cyan);
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
    overflow: hidden;
    position: relative;
}

.cat-filter-pill .pill-circle::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(0, 240, 255, 0.18) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.cat-filter-pill:hover .pill-circle,
.cat-filter-pill.active .pill-circle {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.12);
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.45),
        inset 0 0 18px rgba(0, 240, 255, 0.1);
}

.cat-filter-pill:hover .pill-circle::after,
.cat-filter-pill.active .pill-circle::after {
    opacity: 1;
}

.cat-filter-pill .pill-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s;
}

.cat-filter-pill:hover .pill-label,
.cat-filter-pill.active .pill-label {
    color: var(--cyan);
}

.cat-filter-pill.active .pill-circle {
    animation: pillPulse 2s infinite;
}

@keyframes pillPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 240, 255, 0.45), inset 0 0 18px rgba(0, 240, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 36px rgba(0, 240, 255, 0.7), inset 0 0 24px rgba(0, 240, 255, 0.18);
    }
}

.cat-filter-pill.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
}

.category-block {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.category-block.hidden-cat {
    display: none;
}

@media (max-width: 600px) {
    .cat-filter-bar {
        gap: 16px;
    }

    .cat-filter-pill .pill-circle {
        width: 76px;
        height: 76px;
        font-size: 1.9rem;
    }

    .cat-filter-pill .pill-label {
        font-size: 0.7rem;
    }
}

/* ── HO TRO: Support form ── */
.support-container {
    max-width: 600px;
    margin: 60px auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.05);
}

.support-title {
    font-size: 2rem;
    color: var(--cyan);
    margin-bottom: 10px;
    text-align: center;
}

.support-desc {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select option {
    background: var(--white);
    color: #fff;
}

/* ── CHI TIET SAN PHAM ── */
.product-detail-container {
    padding: 80px 0 80px;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.product-title,
.feature-text h3 {
    font-family: 'MJ-Euro', Arial, sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.main-image-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    margin-bottom: 16px;
}

.main-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumb-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb-item.active,
.thumb-item:hover {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.05);
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text);
    line-height: 1.3;
}

.product-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
}

.price-box {
    margin-bottom: 30px;
}

.price-current {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--cyan);
    margin-right: 15px;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.price-old {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border);
    padding: 3px;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.color-option .color-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.color-option.active,
.color-option:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.size-btn {
    width: 60px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-btn.active,
.size-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn-add-to-cart-lg {
    background: var(--cyan);
    color: #000;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 16px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-add-to-cart-lg:hover {
    background: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    color: #000;
}

.nav-tabs-custom .nav-link {
    color: var(--text-muted);
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    padding: 12px 20px;
    background: transparent;
    font-size: 1.1rem;
}

.nav-tabs-custom .nav-link.active,
.nav-tabs-custom .nav-link:hover {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}

.feature-img-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.feature-img-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}

.feature-text {
    padding: 40px;
}

.feature-text h3 {
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--text);
}

.related-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s;
    text-decoration: none;
}

.related-product-item:hover {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.05);
    transform: translateX(5px);
}

.related-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 5px;
}

.contact-banner-gradient {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(13, 110, 253, 0.2) 100%);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: var(--radius);
}

/* ── INDEX PAGE: <style> block ── */
.hide-before-scroll {
    opacity: 0 !important;
    visibility: hidden;
}

.intro-card-img {
    background: url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?q=80&w=2070') center/cover;
    height: 100%;
    min-height: 300px;
    position: relative;
}

.intro-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 14, 20, 0.1), rgba(10, 14, 20, 0.9));
}

@media (max-width: 767.98px) {
    .intro-card-img::after {
        background: linear-gradient(to bottom, rgba(10, 14, 20, 0.1), rgba(10, 14, 20, 0.9));
    }
}

.intro-card-body {
    padding: 40px;
    position: relative;
    z-index: 2;
}

.form-floating .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.form-floating .form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #00f0ff;
    box-shadow: 0 0 0 0.25rem rgba(0, 240, 255, 0.25);
    color: #fff;
}

.form-floating label {
    color: rgba(255, 255, 255, 0.6);
}

.form-floating .form-control:focus~label,
.form-floating .form-control:not(:placeholder-shown)~label {
    color: #00f0ff;
}

.btn-cyber {
    background: transparent;
    color: #00f0ff;
    border: 1px solid #00f0ff;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-cyber:hover {
    background: #00f0ff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.btn-glow {
    background: #00f0ff;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-glow:hover {
    background: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

.profile-avatar {
    width: 280px;
    height: 280px;
    min-width: 280px;
    min-height: 280px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 10%;
    border: 5px solid #00f0ff;
    padding: 6px;
    background: rgba(0, 240, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50% !important;
}

.profile-avatar:hover {
    transform: scale(1.05) rotate(5deg);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.2);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, 0.5);
}

.particles {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 0;
    pointer-events: none;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 150px 150px, rgba(0, 240, 255, 1) 100%, transparent),
        radial-gradient(1px 1px at 300px 100px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 500px 400px, rgba(0, 240, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 700px 250px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 900px 600px, rgba(0, 240, 255, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 100px 700px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 450px 850px, rgba(0, 240, 255, 0.9), transparent),
        radial-gradient(1px 1px at 850px 900px, rgba(255, 255, 255, 0.6), transparent);
    background-repeat: repeat;
    background-size: 1000px 1000px;
    animation: drift 60s linear infinite, twinkle 4s ease-in-out infinite;
}

.particles::after {
    background-image:
        radial-gradient(1.5px 1.5px at 200px 300px, rgba(0, 240, 255, 0.8), transparent),
        radial-gradient(2.5px 2.5px at 600px 150px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 800px 500px, rgba(0, 240, 255, 0.8), transparent),
        radial-gradient(2px 2px at 300px 800px, rgba(255, 255, 255, 0.7), transparent);
    background-size: 700px 700px;
    animation: drift 45s linear infinite reverse, twinkle 6s ease-in-out infinite 1s;
}

@keyframes drift {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.9;
    }

    50% {
        opacity: 0.2;
    }
}