/**
 * ====================================================================
 * CYBERPUNK TECH DESIGN SYSTEM - E-COMMERCE CLIENT
 * ====================================================================
 * GACE E-COMMERCE DESIGN SYSTEM - LIGHT TECH (SÁNG CÔNG NGHỆ)
 * Màu chủ đạo & Điểm nhấn: #ff7a1a (Cam Neon E-Commerce)
 * Nền chính: #f8fafc (Xám trắng Slate thanh lịch, chống lóa)
 * Nền card / panel: #ffffff (Trắng tinh khiết)
 * Viền Titan: #e2e8f0 / #cbd5e1 (Xám bạc titan nhẹ)
 * Chữ & Tiêu đề: #0f172a / #334155 (Tương phản cao, sắc nét)
 * ====================================================================
 */

:root {
    --cyber-bg-main: #f8fafc;
    /* Nền chính xám trắng Slate */
    --cyber-bg-surface: #ffffff;
    /* Nền card, header, panel trắng tinh */
    --cyber-titan-border: #e2e8f0;
    /* Viền xám bạc titan nhẹ */
    --cyber-titan-hover: #cbd5e1;
    /* Viền xám khi hover */
    --cyber-titan-bg-subtle: #f1f5f9;
    /* Nền phụ subtle (pill, search, badge) */

    --cyber-orange: #ff7a1a;
    /* Cam Neon chủ đạo & điểm nhấn 10% */
    --cyber-orange-hover: #ea580c;
    --cyber-orange-glow: rgba(255, 122, 26, 0.22);
    --cyber-orange-glow-sm: 0 2px 10px rgba(255, 122, 26, 0.25);
    --cyber-orange-glow-lg: 0 8px 24px rgba(255, 122, 26, 0.35);

    --cyber-text-title: #0f172a;
    /* Đen than tiêu đề cực nét */
    --cyber-text-body: #334155;
    /* Xám than đậm nội dung */
    --cyber-text-muted: #64748b;
    /* Xám mô tả phụ */
    --cyber-text-dark: #94a3b8;
    /* Xám nhạt đường kẻ, giá cũ */

    --cyber-font-heading: 'Montserrat', 'Be Vietnam Pro', sans-serif;
    --cyber-font-body: 'Be Vietnam Pro', sans-serif;
    --cyber-card-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    --cyber-card-shadow-hover: 0 12px 30px rgba(15, 23, 42, 0.1);
}

/* Base Body Styles */
body.cyberpunk-theme {
    background-color: var(--cyber-bg-main) !important;
    color: var(--cyber-text-body) !important;
    font-family: var(--cyber-font-body) !important;
    line-height: 1.6;
    background-image:
        radial-gradient(circle at 15% 15%, rgba(255, 122, 26, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(226, 232, 240, 0.6) 0%, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Tiêu đề áp dụng Montserrat tiếng Việt chuẩn không lỗi */
h1,
h2,
h3,
h4,
h5,
h6,
.cyber-brand-title,
.cyber-heading-title,
.cyber-cat-heading,
.cyber-cat-subheading,
.cyber-cat-title,
.cyber-megamenu-title {
    font-family: var(--cyber-font-heading) !important;
}

/* ========================================================
   CYBER-CONTAINER: CHUẨN ĐỒNG BỘ TOÀN BỘ HỆ THỐNG E-COMMERCE
   Gióng thẳng hàng mép trái và mép phải Header, Content, Footer
   ======================================================== */
.cyber-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 576px) {
    .cyber-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (min-width: 768px) {
    .cyber-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .cyber-container {
        max-width: 1320px;
    }
}

@media (min-width: 1400px) {
    .cyber-container {
        max-width: 1380px;
    }
}

/* ========================================================
   1. TOP NOTIFICATION BAR (ANNOUNCEMENT & HOTLINE)
   ======================================================== */
.cyber-topbar {
    background: #f1f5f9;
    border-bottom: 1px solid var(--cyber-titan-border);
    padding: 7px 0;
    font-size: 0.82rem;
    color: var(--cyber-text-muted);
}

.cyber-topbar a {
    color: var(--cyber-text-body);
    text-decoration: none;
    transition: color 0.15s;
}

.cyber-topbar a:hover {
    color: var(--cyber-orange);
}

.cyber-hotline-badge {
    color: var(--cyber-orange) !important;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ========================================================
   2. HEADER LIGHT TECH
   ======================================================== */
.cyber-header {
    background-color: var(--cyber-bg-surface);
    border-bottom: 1px solid var(--cyber-titan-border);
    position: sticky;
    top: 0;
    z-index: 1040;
    padding: 12px 0;
    box-shadow: 0 2px 15px rgba(15, 23, 42, 0.05);
    padding-bottom: 0;
}

/* Logo phong cách Cyberpunk Tech */
.cyber-logo-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s;
}

.cyber-logo-link:hover {
    transform: scale(1.02);
}

.cyber-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 8px rgba(255, 122, 26, 0.35));
}

.cyber-brand-title {
    font-family: var(--cyber-font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--cyber-text-title);
    line-height: 1.1;
}

.cyber-brand-title .highlight-orange {
    color: var(--cyber-orange);
}

.cyber-brand-divider {
    color: var(--cyber-titan-hover);
    margin: 0 10px;
    font-size: 1.3rem;
}

.cyber-brand-sub {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cyber-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Thanh tìm kiếm Pill Search Xám Bạc Titan */
.cyber-search-pill {
    background-color: var(--cyber-titan-bg-subtle);
    border: 1px solid var(--cyber-titan-border);
    border-radius: 9999px;
    height: 44px;
    padding: 2px 6px 2px 16px;
    transition: all 0.25s ease;
    position: relative;
}

.cyber-search-pill:focus-within {
    border-color: var(--cyber-orange);
    box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.15);
    background-color: #ffffff;
}

/* Nút Chọn danh mục trong Pill Search - XÓA HOÀN TOÀN VẠCH XANH FOCUS VÀ BORDER */
.cyber-search-pill .btn-cat-select,
.cyber-search-pill .btn-cat-select:focus,
.cyber-search-pill .btn-cat-select:active,
.cyber-search-pill .btn-cat-select:focus-visible,
.cyber-search-pill .btn-cat-select.show,
.cyber-search-pill .dropdown.show .btn-cat-select {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    color: var(--cyber-text-body) !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0 6px 0 0;
    line-height: 1;
}

/* Ẩn hoàn toàn mũi tên ::after mặc định của Bootstrap dropdown-toggle */
.cyber-search-pill .btn-cat-select::after,
.cyber-search-pill .btn-cat-select.dropdown-toggle::after {
    display: none !important;
}

/* Dropdown Menu Danh mục của thanh tìm kiếm */
.cyber-search-pill .dropdown-menu {
    margin-top: 10px !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12) !important;
    padding: 8px !important;
    min-width: 230px !important;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1060 !important;
    background: #ffffff !important;
    animation: cyberFadeDown 0.2s ease-out;
}

@keyframes cyberFadeDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

.cyber-search-pill .dropdown-menu .dropdown-item {
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    transition: all 0.18s ease !important;
    display: flex;
    align-items: center;
}

.cyber-search-pill .dropdown-menu .dropdown-item:hover,
.cyber-search-pill .dropdown-menu .dropdown-item.active {
    background-color: #fff7ed !important;
    color: var(--cyber-orange) !important;
    font-weight: 600 !important;
    transform: translateX(3px);
}

.cyber-search-divider {
    width: 1px;
    height: 20px;
    background-color: var(--cyber-titan-hover);
    margin: 0 8px;
}

.cyber-search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--cyber-text-title);
    font-size: 0.875rem;
    padding: 0 8px;
}

.cyber-search-input::placeholder {
    color: var(--cyber-text-dark);
}

.cyber-search-submit {
    background: transparent;
    border: none;
    color: var(--cyber-orange);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background-color 0.2s;
    font-size: 15px;
}

.cyber-search-submit:hover {
    background-color: rgba(255, 122, 26, 0.12);
    transform: scale(1.1);
    color: var(--cyber-orange);
}

/* User & Giỏ hàng */
.cyber-action-btn {
    color: var(--cyber-text-body);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s;
    cursor: pointer;
}

.cyber-action-btn:hover {
    color: var(--cyber-orange);
}

.cyber-action-divider {
    color: var(--cyber-titan-hover);
    margin: 0 14px;
    font-size: 15px;
}

.cyber-cart-wrapper {
    position: relative;
    width: 42px;
    height: 42px;
    background: var(--cyber-titan-bg-subtle);
    border: 1px solid var(--cyber-titan-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyber-text-body);
    transition: all 0.2s ease;
}

.cyber-cart-wrapper:hover {
    border-color: var(--cyber-orange);
    box-shadow: 0 2px 10px rgba(255, 122, 26, 0.25);
    color: var(--cyber-orange);
    transform: scale(1.05);
}

.cyber-cart-count {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: var(--cyber-orange);
    color: #ffffff;
    font-weight: 800;
    font-size: 10px;
    min-width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* ========================================================
   3. HERO BANNER & SLIDER
   ======================================================== */
.cyber-hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
    border: 1.5px solid var(--cyber-titan-border);
    border-radius: 16px;
    position: relative;
    min-height: 400px;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cyber-hero-banner:hover {
    border-color: var(--cyber-orange);
    box-shadow: 0 12px 28px rgba(255, 122, 26, 0.35);
    transform: translateY(-4px);
}

.cyber-hero-sub-banner {
    border: 1.5px solid var(--cyber-titan-border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    min-height: 192px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    background-size: cover;
    background-position: center top; /* Căn mép trên: Tiêu đề, slogan và logo ở đỉnh ảnh không bị cắt xén */
    background-repeat: no-repeat;
}

.cyber-hero-sub-banner:hover {
    border-color: var(--cyber-orange);
    box-shadow: 0 12px 28px rgba(255, 122, 26, 0.35);
    transform: translateY(-4px);
}

/* LINK BANNER HIỂN THỊ ẢNH NGUYÊN BẢN (KHÔNG BỊ CẮT XÉN CẢ PC & MOBILE) */
.cyber-hero-banner-link {
    background-color: var(--cyber-bg-surface);
    border: 1.5px solid var(--cyber-titan-border);
    border-radius: 16px;
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
}

.cyber-hero-banner-link:hover {
    border-color: var(--cyber-orange);
    box-shadow: 0 12px 28px rgba(255, 122, 26, 0.35);
    transform: translateY(-4px);
}

.cyber-hero-banner-link img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cyber-hero-banner-link:hover img {
    transform: scale(1.04) translateY(-3px);
}

@media (max-width: 768px) {
    .cyber-hero-banner {
        min-height: 200px;
    }
    .cyber-hero-sub-banner {
        min-height: 140px;
    }
}

/* ========================================================
   CÂN BẰNG CHIỀU CAO TUYỆT ĐỐI GIỮA BANNER CHÍNH VÀ 2 BANNER PHỤ
   ======================================================== */
@media (min-width: 992px) {
    .cyber-hero-row {
        display: grid !important;
        grid-template-columns: 2fr 1fr !important;
        gap: 1rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-items: start !important;
    }

    .cyber-hero-main-col {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .cyber-hero-main-col .cyber-hero-banner-link {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .cyber-hero-main-col .cyber-hero-banner-link img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        border-radius: 16px !important;
    }

    .cyber-hero-sub-col {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        box-sizing: border-box !important;
    }

    .cyber-sub-banner-box {
        width: 100% !important;
        flex: 1 1 0px !important;
        min-height: 0 !important;
        display: flex !important;
        overflow: hidden !important;
        border-radius: 16px !important;
    }

    .cyber-sub-banner-box .cyber-hero-banner-link,
    .cyber-sub-banner-box .cyber-hero-sub-banner {
        height: 100% !important;
        width: 100% !important;
        min-height: 0 !important;
        display: block !important;
        overflow: hidden !important;
        border-radius: 16px !important;
    }

    .cyber-sub-banner-box .cyber-hero-banner-link img {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        object-fit: cover !important;
        display: block !important;
        border-radius: 16px !important;
    }
}

@media (max-width: 991px) {
    .cyber-hero-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .cyber-hero-main-col,
    .cyber-hero-sub-col {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .cyber-hero-sub-col {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .cyber-sub-banner-box {
        width: 100% !important;
        height: auto !important;
    }

    .cyber-sub-banner-box .cyber-hero-banner-link,
    .cyber-sub-banner-box .cyber-hero-sub-banner {
        height: auto !important;
        min-height: 0 !important;
    }

    .cyber-sub-banner-box .cyber-hero-banner-link img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        flex: none !important;
    }
}

.cyber-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--cyber-orange);
    box-shadow: var(--cyber-orange-glow-sm);
}

.cyber-banner-badge {
    background: rgba(255, 122, 26, 0.15);
    border: 1px solid var(--cyber-orange);
    color: var(--cyber-orange);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

/* NÚT MUA NGAY (10% CAM NEON) */
.btn-cyber-primary {
    background-color: var(--cyber-orange);
    color: #ffffff !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(255, 122, 26, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cyber-primary:hover {
    background-color: var(--cyber-orange-hover);
    box-shadow: 0 6px 20px rgba(255, 122, 26, 0.5);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-cyber-outline {
    background: transparent;
    border: 1.5px solid var(--cyber-titan-border);
    color: var(--cyber-text-body) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    padding: 11px 24px;
    transition: all 0.2s ease;
}

.btn-cyber-outline:hover {
    border-color: var(--cyber-orange);
    color: var(--cyber-orange) !important;
    box-shadow: 0 2px 10px rgba(255, 122, 26, 0.15);
    transform: translateY(-2px);
}

/* Nút Outline Viền Sáng Tương Phản Cao Dành Cho Hero Banner Nền Tối */
.btn-cyber-outline-white {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
    color: #ffffff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cyber-outline-white:hover {
    background: var(--cyber-orange) !important;
    border-color: var(--cyber-orange) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(255, 122, 26, 0.5);
    transform: translateY(-2px);
}

/* Text phụ đề trên Hero Banner luôn sáng và có bóng nhẹ để đọc cực rõ */
.cyber-banner-subtitle {
    color: #f1f5f9 !important;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* ========================================================
   4. PRODUCT CARD LIGHT TECH
   ======================================================== */
.cyber-product-card {
    background-color: var(--cyber-bg-surface);
    border: 1px solid var(--cyber-titan-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--cyber-card-shadow);
}

.cyber-product-card:hover {
    border-color: var(--cyber-orange);
    transform: translateY(-4px);
    box-shadow: var(--cyber-card-shadow-hover), 0 0 15px rgba(255, 122, 26, 0.12);
}

.cyber-card-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* Vuông 1:1 */
    background: #ffffff;
    overflow: hidden;
}

.cyber-card-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.35s ease;
}

.cyber-product-card:hover .cyber-card-thumb {
    transform: scale(1.06);
}

/* Định dạng wrapper ảnh cho trang Shop & Chi tiết sản phẩm */
.cyber-product-img-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 12px;
    overflow: hidden;
    border-bottom: 1px solid var(--cyber-titan-border);
}

.cyber-product-img {
    max-width: 100%;
    max-height: 196px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-product-card:hover .cyber-product-img {
    transform: scale(1.06);
}

/* Badge Giảm Giá Cam Neon (hỗ trợ cả 2 tên class) */
.cyber-discount-badge,
.cyber-badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--cyber-orange);
    color: #ffffff;
    font-weight: 800;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(255, 122, 26, 0.35);
    z-index: 5;
}

.cyber-brand-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--cyber-text-body);
    border: 1px solid var(--cyber-titan-border);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.cyber-card-body,
.cyber-product-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cyber-product-cat {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

.cyber-card-title,
.cyber-product-title {
    font-family: var(--cyber-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cyber-text-title);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.cyber-card-title a,
.cyber-product-title a {
    color: #0f172a !important; /* Đen than Titanium sắc nét sang trọng */
    text-decoration: none !important;
    font-weight: 700;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cyber-card-title a:hover,
.cyber-product-title a:hover {
    color: var(--cyber-orange) !important; /* Cam Neon nổi bật khi rê chuột */
    text-decoration: none !important;
}

/* Badge Mã SKU sản phẩm */
.cyber-sku-badge {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 11px;
    font-weight: 600;
    color: #475569 !important;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    display: inline-block;
    letter-spacing: 0.3px;
}

.cyber-product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--cyber-orange);
    letter-spacing: 0.3px;
}

.cyber-product-old-price {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 6px;
}

/* Giá tiền Cam Neon nổi bật */
.cyber-price-box {
    margin-top: auto;
    margin-bottom: 12px;
}

.cyber-sale-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--cyber-orange);
    letter-spacing: 0.3px;
}

.cyber-original-price {
    font-size: 0.85rem;
    color: var(--cyber-text-dark);
    text-decoration: line-through;
    margin-left: 6px;
}

/* Nút MUA NGAY card - Đen Titan Nam Tính & Nổi Bật */
.btn-cyber-card-buy {
    width: 100%;
    background: #0f172a;
    border: 1px solid #0f172a;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-cyber-card-buy i {
    color: var(--cyber-orange);
    transition: color 0.2s ease;
}

.btn-cyber-card-buy:hover {
    background: var(--cyber-orange);
    border-color: var(--cyber-orange);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(255, 122, 26, 0.35);
}

.btn-cyber-card-buy:hover i {
    color: #ffffff;
}

/* Lưới 5 sản phẩm / 1 hàng theo yêu cầu */
.cyber-products-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1399.98px) {
    .cyber-products-grid-5 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .cyber-products-grid-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 575.98px) {
    .cyber-products-grid-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* Ảnh nhỏ lại 1 chút cho cân đối và tinh tế khi xếp 5 cột */
.cyber-products-grid-5 .cyber-card-thumb-wrap {
    padding-top: 92%;
}

.cyber-products-grid-5 .cyber-card-thumb {
    padding: 8px;
}

.cyber-products-grid-5 .cyber-card-body {
    padding: 10px 12px 12px 12px;
}

.cyber-products-grid-5 .cyber-card-title {
    font-size: 0.88rem;
    min-height: 38px;
    margin-bottom: 6px;
}

.cyber-products-grid-5 .cyber-sale-price {
    font-size: 1.1rem;
}

/* Nút giỏ hàng nhanh trên card */
.btn-cyber-card-cart {
    width: 38px;
    height: 38px;
    background: #ffffff;
    border: 1px solid var(--cyber-titan-border);
    color: var(--cyber-orange);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.btn-cyber-card-cart:hover {
    background: var(--cyber-orange);
    border-color: var(--cyber-orange);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 122, 26, 0.35);
}

.cyber-view-badge {
    font-size: 11px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* ========================================================
   5. SPECIFICATIONS TITAN GRID
   ======================================================== */
.cyber-spec-box {
    background: #f8fafc;
    border: 1px solid var(--cyber-titan-border);
    border-radius: 8px;
    padding: 12px;
    font-size: 0.85rem;
}

.cyber-spec-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed var(--cyber-titan-border);
}

.cyber-spec-item:last-child {
    border-bottom: none;
}

.cyber-spec-label {
    color: var(--cyber-text-muted);
}

.cyber-spec-val {
    color: var(--cyber-text-title);
    font-weight: 700;
}

/* ========================================================
   6. FOOTER SLATE DARK TECH (ĐIỂM TỰA THỊ GIÁC CAO CẤP)
   ======================================================== */
.cyber-footer {
    background-color: #0b0f17;
    border-top: 1px solid #1e293b;
    color: #e2e8f0;
    padding: 55px 0 25px;
    margin-top: 60px;
    font-size: 0.92rem;
}

.cyber-footer .text-muted {
    color: #cbd5e1 !important;
}

.cyber-footer p {
    color: #cbd5e1;
    font-size: 0.88rem;
}

.cyber-footer h6 {
    color: #ffffff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.cyber-footer h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2.5px;
    background: var(--cyber-orange);
    box-shadow: var(--cyber-orange-glow-sm);
}

.cyber-footer a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cyber-footer a:hover {
    color: var(--cyber-orange) !important;
    text-shadow: 0 0 10px rgba(255, 122, 26, 0.4);
    transform: translateX(2px);
    display: inline-block;
}

.cyber-footer-item {
    color: #f1f5f9 !important;
    font-size: 0.88rem;
}

.cyber-footer-service-text {
    color: #f8fafc !important;
    font-size: 0.88rem;
    font-weight: 500;
}

.cyber-footer-copy {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* ========================================================
   7. NAVBAR & MEGAMENU LIGHT TECH (MỤC 1 YÊU CẦU)
   ======================================================== */
.cyber-nav-bar {
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid var(--cyber-titan-border);
    position: relative;
    z-index: 1020; /* Giảm z-index xuống 1020 để không che khuất dropdown menu của User và Search */
}

/* Dropdown menu của Header luôn có z-index cao nhất để nổi lên trên Navbar */
.cyber-header .dropdown-menu {
    z-index: 1060 !important;
}

.cyber-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: -12px;
    /* Kéo mép icon Trang chủ ra ngoài để gióng thẳng hàng 100% với Logo */
}

.cyber-nav-item {
    position: relative;
}

.cyber-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 12px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--cyber-text-body);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cyber-nav-link:hover,
.cyber-nav-link.active {
    color: var(--cyber-orange) !important;
    background-color: rgba(255, 122, 26, 0.08);
}

.cyber-megamenu-parent:hover .cyber-arrow-indicator {
    transform: rotate(180deg);
}

.cyber-arrow-indicator {
    transition: transform 0.25s ease;
}

/* Dropdown MegaMenu */
.cyber-megamenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 780px;
    max-width: 95vw;
    background-color: #ffffff;
    border: 1px solid var(--cyber-titan-border);
    border-radius: 14px;
    padding: 16px 18px;
    z-index: 1050;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    animation: megamenuFadeIn 0.22s ease-out;
}

.cyber-megamenu-parent:hover .cyber-megamenu {
    display: block;
}

@keyframes megamenuFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.cyber-megamenu-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--cyber-text-title);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #f1f5f9;
}

.cyber-megamenu-item {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    font-size: 0.85rem;
    color: var(--cyber-text-body);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.18s ease;
}

.cyber-megamenu-item:hover {
    color: var(--cyber-orange);
    background-color: #f8fafc;
    transform: translateX(4px);
}

.cyber-brand-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cyber-text-body);
    background-color: #f8fafc;
    border: 1px solid var(--cyber-titan-border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cyber-brand-chip:hover {
    color: var(--cyber-orange);
    border-color: var(--cyber-orange);
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 122, 26, 0.15);
}

.cyber-megamenu-banner {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
}

/* ========================================================
   8. SECTION DANH MỤC TRANG CHỦ (CHỌN THEO LOẠI)
   ======================================================== */
.cyber-cat-subheading {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--cyber-orange);
    text-transform: uppercase;
    margin-bottom: 3px;
    font-family: var(--cyber-font-heading);
}

.cyber-cat-heading {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #0f172a;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.15;
    font-family: var(--cyber-font-heading);
}

.cyber-btn-all-products {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0f172a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 10px 24px;
    clip-path: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px);
    border: 1px solid rgba(255, 122, 26, 0.4);
    transition: all 0.25s ease;
}

.cyber-btn-all-products:hover {
    background-color: #1e293b;
    color: var(--cyber-orange);
    border-color: var(--cyber-orange);
    box-shadow: 0 0 16px rgba(255, 122, 26, 0.45);
    transform: translateY(-2px);
}

.cyber-cat-card-wrapper {
    position: relative;
    height: 275px;
    background: #1e293b;
    clip-path: polygon(32px 0%, 100% 0%, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0% 100%, 0% 32px);
    padding: 1.5px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    display: block;
}

.cyber-cat-card-wrapper:hover {
    background: linear-gradient(135deg, #ff7a1a 0%, #ea580c 100%);
    box-shadow: 0 12px 28px rgba(255, 122, 26, 0.35);
    transform: translateY(-4px);
}

.cyber-cat-card-inner {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 35%, #1e1e24 0%, #0d0e12 100%);
    clip-path: polygon(31px 0%, 100% 0%, 100% calc(100% - 31px), calc(100% - 31px) 100%, 0% 100%, 0% 31px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 20px 18px 20px;
}

.cyber-cat-img-box {
    width: 100%;
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.cyber-cat-img-box img {
    max-height: 172px;
    max-width: 95%;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.75));
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cyber-cat-card-wrapper:hover .cyber-cat-img-box img {
    transform: scale(1.06) translateY(-4px);
}

.cyber-cat-fallback-icon {
    font-size: 64px;
    color: rgba(255, 122, 26, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.cyber-cat-info {
    position: relative;
    z-index: 2;
    text-align: left;
}

.cyber-cat-title {
    font-size: 21px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    font-family: var(--cyber-font-heading);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.cyber-cat-count {
    font-size: 12px;
    font-weight: 800;
    color: var(--cyber-orange);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .cyber-cat-heading {
        font-size: 24px;
    }

    .cyber-cat-card-wrapper {
        height: 245px;
    }

    .cyber-cat-img-box {
        height: 145px;
    }

    .cyber-cat-img-box img {
        max-height: 142px;
        max-width: 95%;
    }

    .cyber-cat-title {
        font-size: 18px;
    }
}

/* ========================================================
   9. MODAL AUTH CYBERPUNK LIGHT TECH
   ======================================================== */
.ec-auth-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.ec-auth-badge {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.5px;
}

.ec-auth-close-btn {
    opacity: 0.7;
    transition: all 0.2s ease;
}

.ec-auth-close-btn:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.ec-auth-nav {
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
    gap: 4px;
}

.ec-auth-nav .nav-link {
    border-radius: 8px;
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

.ec-auth-nav .nav-link.active {
    background: #ffffff;
    color: #ff7a1a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border-bottom: 2px solid #ff7a1a;
}

.ec-form-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
    display: block;
}

.ec-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.ec-input-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 14px;
    z-index: 2;
    pointer-events: none;
}

.ec-form-control {
    width: 100%;
    padding: 9px 38px 9px 36px;
    font-size: 13.5px;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
}

.ec-form-control:focus {
    background-color: #ffffff;
    border-color: #ff7a1a;
    box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.15);
}

.ec-toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 14px;
    z-index: 2;
}

.ec-toggle-password:hover {
    color: #0f172a;
}

.btn-cyber-orange {
    background-color: #ff7a1a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(255, 122, 26, 0.35);
    transition: all 0.25s ease;
}

.btn-cyber-orange:hover {
    background-color: #ea580c;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 122, 26, 0.45);
}

.btn-cyber-orange:disabled {
    background-color: #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
}

/* ========================================================
   PAGINATION CYBERPUNK LIGHT TECH
   ======================================================== */
.pagination {
    gap: 6px;
    align-items: center;
}

.pagination .page-item .page-link {
    color: #1e293b;
    border: 1px solid var(--cyber-titan-border);
    padding: 8px 16px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px !important;
    background-color: #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pagination .page-item .page-link:hover {
    color: var(--cyber-orange);
    border-color: var(--cyber-orange);
    background-color: #fff7ed;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background-color: var(--cyber-orange) !important;
    border-color: var(--cyber-orange) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(255, 122, 26, 0.35);
}

/* ========================================================
   PRICE FILTER INPUT
   ======================================================== */
.price-format-input {
    font-weight: 600;
    color: #1e293b;
    border: 1px solid var(--cyber-titan-border);
    border-radius: 6px;
    padding: 6px 10px;
    background: #ffffff;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.price-format-input:focus {
    border-color: var(--cyber-orange);
    box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.15);
    outline: none;
}

/* ========================================================
   SLIDE-OUT CART DRAWER (OFFCANVAS TRƯỢT PHẢI)
   Thiết kế thoáng đãng, rộng rãi (480px), không sát viền
   ======================================================== */
.ec-cart-drawer {
    width: 480px !important;
    max-width: 100vw !important;
    box-shadow: -12px 0 45px rgba(0, 0, 0, 0.18) !important;
    z-index: 1055 !important;
}

.ec-cart-drawer-header-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 122, 26, 0.12);
    color: var(--cyber-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.ec-drawer-close-btn {
    opacity: 0.55;
    transition: all 0.25s ease;
    font-size: 13px;
}

.ec-drawer-close-btn:hover {
    opacity: 1;
    transform: rotate(90deg) scale(1.15);
}

/* Banner Freeship Tách Rời Thành Card Bo Góc Tinh Tế */
.ec-drawer-freeship-card {
    margin: 14px 18px 6px 18px;
    padding: 12px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
}

/* Card Sản Phẩm Trong Drawer Thoáng Đãng */
.ec-drawer-card {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    transition: all 0.25s ease;
}

.ec-drawer-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.ec-drawer-thumb {
    width: 78px;
    height: 78px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    padding: 3px;
    flex-shrink: 0;
}

.ec-drawer-item-title {
    color: #0f172a !important;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.ec-drawer-item-title:hover {
    color: var(--cyber-orange) !important;
}

/* Khối Chọn Biến Thể Trong Drawer */
.ec-drawer-variant-box {
    margin: 8px 0;
}

.ec-drawer-variant-box .input-group-text {
    border-color: #e2e8f0;
    font-size: 11.5px;
    background: #f8fafc;
    color: #64748b;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.ec-drawer-variant-select {
    font-size: 11.5px !important;
    border-color: #e2e8f0 !important;
    color: #1e293b;
    font-weight: 600;
    background-color: #f8fafc;
    cursor: pointer;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    transition: all 0.2s ease;
}

.ec-drawer-variant-select:focus {
    border-color: var(--cyber-orange) !important;
    box-shadow: 0 0 0 2px rgba(255, 122, 26, 0.15);
    background-color: #ffffff;
}

/* Cụm Tăng Giảm Số Lượng Pill Bo Tròn */
.ec-drawer-qty-pill {
    background: #f1f5f9;
    border: 1px solid #cbd5e1 !important;
    padding: 2px 4px;
    border-radius: 30px;
}

.btn-drawer-qty {
    width: 24px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    border: none;
    background: transparent;
    font-size: 11px;
    border-radius: 50%;
    transition: all 0.15s ease;
}

.btn-drawer-qty:hover {
    color: #ffffff;
    background: var(--cyber-orange);
}

.ec-drawer-qty-num {
    min-width: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

/* Nút Xóa Thùng Rác */
.ec-drawer-remove-btn {
    font-size: 14px;
    color: #94a3b8 !important;
    transition: all 0.2s ease;
}

.ec-drawer-remove-btn:hover {
    color: #ef4444 !important;
    transform: scale(1.2);
}

/* Empty State */
.ec-drawer-empty-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #fff7ed;
    color: var(--cyber-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

/* Box Cam Kết Dịch Vụ */
.ec-drawer-trust-card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px;
    background: #ffffff;
    padding: 12px 16px;
    margin: 0 18px 14px 18px;
}

.ec-drawer-policy-content {
    font-size: 11.5px;
    color: #475569;
    line-height: 1.55;
}

.ec-drawer-policy-content p {
    margin-bottom: 5px;
}

.ec-drawer-policy-content p:last-child {
    margin-bottom: 0;
}

.ec-drawer-policy-content ul,
.ec-drawer-policy-content ol {
    margin: 0;
    padding-left: 18px;
}

.ec-drawer-policy-content li {
    margin-bottom: 3px;
}

.ec-drawer-policy-content li:last-child {
    margin-bottom: 0;
}

.ec-drawer-policy-content a {
    color: var(--cyber-orange);
    text-decoration: underline;
}

.ec-drawer-policy-content strong,
.ec-drawer-policy-content b {
    color: #0f172a;
}

/* Footer Nút Bấm & Tóm Tắt Thanh Toán */
.ec-cart-drawer-footer {
    padding: 18px 20px !important;
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.07) !important;
}

#btnDrawerCheckout {
    background: linear-gradient(135deg, #ff7a1a 0%, #ea580c 100%) !important;
    border: none;
    border-radius: 10px;
    padding-top: 11px;
    padding-bottom: 11px;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(255, 122, 26, 0.38) !important;
    transition: all 0.2s ease;
}

#btnDrawerCheckout:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 122, 26, 0.5) !important;
}

#btnDrawerViewCart {
    border-radius: 10px;
    border-color: #cbd5e1;
    color: #475569;
    background: #ffffff;
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

#btnDrawerViewCart:hover {
    border-color: var(--cyber-orange);
    color: var(--cyber-orange);
    background: #fff7ed;
}

/* ==========================================================================
   LIVE SEARCH RESULTS DROPDOWN (CYBERPUNK AUTOCOMPLETE)
   ========================================================================== */
.cyber-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.15) !important;
    z-index: 1080;
    overflow: hidden;
    animation: fadeInDown 0.2s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cyber-search-dropdown-header {
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cyber-search-dropdown-body {
    max-height: 380px;
    overflow-y: auto;
    padding: 6px 0;
}

/* Từng sản phẩm trong dropdown kết quả */
.cyber-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none !important;
    color: #1e293b;
    transition: background 0.15s ease, transform 0.15s ease;
    border-bottom: 1px solid #f8fafc;
}

.cyber-search-item:last-child {
    border-bottom: none;
}

.cyber-search-item:hover,
.cyber-search-item.active {
    background: #fff7ed;
    color: var(--cyber-orange);
}

.cyber-search-item-thumb {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 2px;
    object-fit: contain;
}

.cyber-search-item-info {
    flex-grow: 1;
    min-width: 0;
}

.cyber-search-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.cyber-search-item:hover .cyber-search-item-title,
.cyber-search-item.active .cyber-search-item-title {
    color: var(--cyber-orange);
}

.cyber-search-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
}

.cyber-search-item-cat {
    font-size: 10.5px;
    color: #64748b;
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 4px;
}

.cyber-search-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--cyber-orange);
}

.cyber-search-item-oldprice {
    font-size: 11px;
    color: #94a3b8;
    text-decoration: line-through;
}

.cyber-search-item-badge {
    font-size: 10px;
    font-weight: 700;
    color: #ef4444;
    background: #fee2e2;
    padding: 1px 5px;
    border-radius: 4px;
}

/* Nút xem thêm dưới footer dropdown */
.cyber-search-dropdown-footer {
    padding: 10px 16px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.cyber-search-view-all {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--cyber-orange);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.cyber-search-view-all:hover {
    color: #ea580c;
    gap: 10px;
}

/* Trạng thái trống hoặc loading */
.cyber-search-state-box {
    padding: 24px 16px;
    text-align: center;
}

.cyber-search-state-box i {
    font-size: 1.8rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

.cyber-search-state-text {
    font-size: 12.5px;
    color: #64748b;
}

.cyber-search-highlight {
    color: var(--cyber-orange);
    font-weight: 700;
}

/* ========================================================
   VARIANT BUTTONS - NÚT CHỌN BIẾN THỂ / PHÂN LOẠI SẢN PHẨM
   ======================================================== */
.variant-btn {
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #1e293b !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    position: relative;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.variant-btn:hover {
    border-color: var(--cyber-orange) !important;
    color: var(--cyber-orange) !important;
    background-color: #fffaf5 !important;
}

/* Trạng thái được chọn (Active) - Viền cam nổi bật, nền cam nhạt sang trọng, chữ cam đậm cực kỳ rõ nét */
.variant-btn.active {
    border-color: #ea580c !important;
    background-color: #fff7ed !important;
    color: #ea580c !important;
    font-weight: 700 !important;
    box-shadow: 0 0 0 1px #ea580c, 0 3px 10px rgba(234, 88, 12, 0.18) !important;
}

.variant-btn.active small {
    color: #c2410c !important;
    font-weight: 800 !important;
}

/* ========================================================
   PRODUCT GALLERY: SWIPER SLIDER & FANCYBOX ZOOM LIGHTBOX
   ======================================================== */
.product-gallery-wrapper {
    position: relative;
    user-select: none;
}

.product-main-slider {
    border: 1px solid var(--cyber-titan-border);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.product-main-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    height: 420px;
    background: #ffffff;
    padding: 16px;
    box-sizing: border-box;
}

.product-main-slider .main-slide-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    text-decoration: none;
}

.product-main-slider .main-slide-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-main-slider .main-slide-link:hover .main-slide-img {
    transform: scale(1.03);
}

/* Nút điều hướng prev/next Swiper phong cách Cyberpunk */
.cyber-swiper-btn {
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid var(--cyber-titan-border) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    color: var(--cyber-orange) !important;
    transition: all 0.2s ease !important;
    backdrop-filter: blur(4px);
}

.cyber-swiper-btn::after {
    font-size: 15px !important;
    font-weight: 800 !important;
}

.cyber-swiper-btn:hover {
    background: var(--cyber-orange) !important;
    color: #ffffff !important;
    border-color: var(--cyber-orange) !important;
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.4) !important;
    transform: scale(1.08);
}

/* Badge gợi ý phóng to */
.zoom-hint-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.zoom-hint-badge span {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Thumbs Slider hàng dưới */
.product-thumbs-slider {
    margin-top: 12px;
    padding: 2px 2px 6px 2px;
}

.product-thumb-item {
    width: 68px !important;
    height: 68px !important;
    border-radius: 8px;
    border: 1.5px solid var(--cyber-titan-border);
    background: #ffffff;
    padding: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.65;
    box-sizing: border-box;
}

.product-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.product-thumb-item:hover {
    opacity: 0.95;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* Thumbnail được chọn (Active) */
.product-thumb-item.swiper-slide-thumb-active,
.product-thumb-item.thumb-active {
    opacity: 1 !important;
    border-color: var(--cyber-orange) !important;
    box-shadow: 0 0 0 2px var(--cyber-orange), 0 3px 8px rgba(255, 107, 0, 0.25) !important;
    transform: translateY(-2px);
}

.cyber-swiper-btn.swiper-button-lock {
    display: none !important;
}

/* Tùy chỉnh Fancybox 5 Cyberpunk Lightbox */
.fancybox__container {
    --fancybox-bg: rgba(10, 15, 28, 0.92);
    --fancybox-color: #f8fafc;
    --fancybox-accent-color: var(--cyber-orange);
    z-index: 99999 !important;
}

.fancybox__toolbar {
    --fancybox-color: #ffffff;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fancybox__button:hover {
    color: var(--cyber-orange) !important;
}