/* Premium CSS for Dell Laptop & Accessories Shop */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --dell-blue: #C53637;
    --dell-blue-dark: #9B2527;
    --dell-blue-light: #FFF4F2;
    --dark-primary: #22100F;
    --dark-secondary: #321A18;
    --text-primary: #22100F;
    --text-muted: #6A4D4A;
    --light-bg: #FFE2DE;
    --white: #ffffff;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --box-shadow-premium: 0 12px 34px rgba(0, 0, 0, 0.06);
    --box-shadow-hover: 0 20px 40px rgba(197, 54, 55, 0.12);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--light-bg);
    margin-bottom: 0px;
    overflow-x: hidden;
}

/* Header & Navigation */
.navbar-premium {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.navbar-brand-premium {
    font-weight: 800;
    color: var(--dark-primary) !important;
    letter-spacing: -0.5px;
    font-size: 1.5rem;
}

.navbar-brand-premium span {
    color: var(--dell-blue);
}

.nav-link-premium {
    font-weight: 500;
    color: var(--text-primary) !important;
    padding: 8px 16px !important;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.nav-link-premium:hover,
.nav-link-premium.active {
    color: var(--dell-blue) !important;
    background-color: var(--dell-blue-light);
}

.search-box {
    position: relative;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 20px;
    padding-right: 40px;
    height: 44px;
    transition: var(--transition-smooth);
    background-color: var(--white);
}

.search-box:focus {
    border-color: var(--dell-blue);
    box-shadow: 0 0 0 4px rgba(197, 54, 55, 0.15);
    outline: none;
}

/* Hero Grid Section (Tritienlaptop style layout) */
.hero-grid-section {
    position: relative;
    z-index: 10;
}

/* Left Vertical Brand Menu */
.vertical-brand-menu {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    height: 410px;
}

.vertical-brand-menu .menu-header {
    background: #0f172a !important;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    text-transform: uppercase;
}

.vertical-brand-menu .menu-list {
    margin: 0;
    padding: 6px 0;
}

.vertical-brand-menu .menu-item-link {
    display: flex;
    align-items: center;
    padding: 10.5px 18px;
    color: #334155;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
}

.vertical-brand-menu .menu-item-link:last-child {
    border-bottom: none;
}

.vertical-brand-menu .menu-item-link:hover {
    background: #f8fafc;
    color: #e2231a;
    padding-left: 22px;
}

.vertical-brand-menu .menu-icon {
    width: 28px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
}

.vertical-brand-menu .menu-text {
    flex-grow: 1;
}

/* Middle Carousel Wrapper */
.hero-carousel-wrapper {
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.hero-carousel-wrapper .hero-bg-slide {
    width: 100% !important; /* Overrides the marquee width */
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    opacity: 1;
    filter: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Right Stack Promo Cards */
.promo-banner-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 172px; /* Matches 360px total height with gap */
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    cursor: pointer;
}

.promo-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}

.promo-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 20px;
    z-index: 5;
    color: #ffffff;
}

.promo-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.promo-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.promo-card-desc {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 6px;
    font-weight: 500;
}

.promo-price-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffd43b;
}

/* Watermark label overlay for branding */
.slide-watermark {
    position: absolute;
    bottom: 24px;
    right: 32px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    z-index: 10;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Ảnh minh họa Laptop */
.hero-showcase-img {
    max-height: 240px;
    /* Thu nhỏ ảnh laptop 240px cho gọn gàng */
    object-fit: contain;
    mix-blend-mode: screen;
    /* Triệt tiêu hoàn toàn nền đen, hòa trộn vào màu xanh gradient */
    filter: drop-shadow(0 20px 35px rgba(197, 54, 55, 0.25));
    animation: floatLaptop 4s ease-in-out infinite alternate;
    /* Hiệu ứng lơ lửng */
}

@keyframes floatLaptop {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* Căn chỉnh responsive trên mobile */
@media (max-width: 991.98px) {
    .hero-carousel-wrapper {
        height: 300px !important;
    }
    .slide-watermark {
        bottom: 16px;
        right: 20px;
        font-size: 0.78rem;
        padding: 5px 14px;
    }
}

@media (max-width: 575.98px) {
    .hero-carousel-wrapper {
        height: 200px !important;
    }
    .slide-watermark {
        bottom: 12px;
        right: 15px;
        font-size: 0.7rem;
        padding: 4px 12px;
        letter-spacing: 1px;
    }
}

.hero-title {
    font-size: 2.5rem;
    /* Cỡ chữ tiêu đề chính nhỏ gọn */
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.hero-subtitle {
    font-size: 1.05rem;
    /* Mô tả phụ nhỏ gọn */
    font-weight: 300;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

/* Category Grid & Cards */
.category-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--box-shadow-premium);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(197, 54, 55, 0.2);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--dell-blue);
    margin-bottom: 20px;
}

/* Product Card Grid */
.product-grid-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.product-img-wrapper {
    position: relative;
    padding-top: 68%;
    background-color: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-img-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.product-grid-card:hover .product-img-wrapper img {
    transform: translate(-50%, -50%) scale(1.08);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--dell-blue);
    color: var(--white);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 50px;
    z-index: 10;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.product-title:hover {
    color: var(--dell-blue);
}

.product-spec-badge {
    background: #f1f5f9;
    color: var(--text-muted);
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 6px;
    margin-right: 6px;
    margin-bottom: 6px;
    display: inline-block;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dell-blue);
    margin-top: auto;
    padding-top: 15px;
}

/* Detail Page Elements */
.detail-gallery-main {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-gallery-main img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.thumb-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: var(--border-radius-md);
    background-color: var(--white);
    cursor: pointer;
    overflow: hidden;
    padding: 5px;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb-item.active {
    border-color: var(--dell-blue);
}

/* Config Selector styling */
.config-selector-label {
    font-weight: 600;
    margin-bottom: 15px;
}

.config-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .config-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.config-btn {
    border: 1px solid rgba(197, 54, 55, 0.08) !important;
    background-color: #fafbfc !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.015) !important;
}

.config-btn:hover {
    border-color: rgba(197, 54, 55, 0.35) !important;
    background-color: #fff9f8 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(197, 54, 55, 0.08) !important;
}

.config-btn.active {
    border-color: #C53637 !important;
    background: linear-gradient(135deg, #fff5f5 0%, #ffebeb 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 0 4px rgba(197, 54, 55, 0.18), 0 8px 25px rgba(197, 54, 55, 0.1) !important;
}

.config-btn.active::after {
    content: '✓' !important;
    color: #ffffff !important;
    background-color: #C53637 !important;
    font-weight: 900 !important;
    font-size: 0.75rem !important;
    width: 18px !important;
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    box-shadow: 0 2px 5px rgba(197, 54, 55, 0.3) !important;
}

.config-btn .text-primary {
    color: #4b5563 !important;
    transition: color 0.3s ease;
}

.config-btn.active .text-primary,
.config-btn:hover .text-primary {
    color: #C53637 !important;
}

/* Premium Buttons */
.btn-premium-primary {
    background-color: var(--dell-blue);
    color: var(--white);
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 30px;
    border: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-premium-primary:hover {
    background-color: var(--dell-blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 54, 55, 0.3);
}

.btn-premium-zalo {
    background-color: #0068ff;
    color: var(--white);
    font-weight: 700;
    border-radius: 50px;
    padding: 15px 35px;
    font-size: 1.1rem;
    border: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.btn-premium-zalo:hover {
    background-color: #0056d6;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 104, 255, 0.35);
}

.btn-premium-outline {
    background-color: transparent;
    color: var(--dell-blue);
    border: 2px solid var(--dell-blue);
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 28px;
    transition: var(--transition-smooth);
}

.btn-premium-outline:hover {
    background-color: var(--dell-blue);
    color: var(--white);
}

/* Spec sheet */
.spec-table th {
    background-color: #FFE2DE;
    width: 30%;
    font-weight: 600;
}

/* Footer Section */
.footer-premium {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 80px 0 30px 0;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-premium h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: block;
    margin-bottom: 12px;
}

.footer-link:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-circle:hover {
    background-color: var(--dell-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-map-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Admin Styles Redesign - Premium Theme */
.admin-login-card {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-sidebar {
    background: linear-gradient(180deg, #111827 0%, #22100F 100%);
    min-height: 100vh;
    padding: 30px 15px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
    padding: 12px 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
    white-space: nowrap;
    font-size: 0.9rem;
}

.admin-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    padding-left: 24px;
}

.admin-nav-link.active {
    background: linear-gradient(90deg, rgba(197, 54, 55, 0.15) 0%, rgba(197, 54, 55, 0.03) 100%);
    color: #E64343;
    border-left: 3px solid #E64343;
    font-weight: 600;
}

.admin-content-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--box-shadow-premium);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.admin-stat-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--box-shadow-premium);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.admin-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
}

.admin-stat-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 5rem;
    opacity: 0.05;
    color: var(--dell-blue);
    transform: rotate(-15deg);
}

/* Custom Table in Admin */
.admin-table {
    width: 100%;
}

.admin-table th {
    font-weight: 600;
    color: #4b5563;
    background-color: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
    padding: 10px 12px;
    font-size: 0.85rem;
}

.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    font-size: 0.85rem;
}

.admin-table tbody tr {
    transition: var(--transition-smooth);
}

.admin-table tbody tr:hover {
    background-color: rgba(197, 54, 55, 0.01);
}

/* Action button circle designs */
.btn-action-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--white);
    text-decoration: none;
}

.btn-action-circle-edit {
    color: var(--dell-blue);
}

.btn-action-circle-edit:hover {
    background-color: var(--dell-blue);
    color: var(--white) !important;
    box-shadow: 0 4px 10px rgba(197, 54, 55, 0.25);
}

.btn-action-circle-delete {
    color: #ef4444;
}

.btn-action-circle-delete:hover {
    background-color: #ef4444;
    color: var(--white) !important;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25);
}

.btn-action-circle-view {
    color: #10b981;
}

.btn-action-circle-view:hover {
    background-color: #10b981;
    color: var(--white) !important;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

/* Dynamic Configuration Editor in Admin */
.config-item-form {
    background-color: #f8fafc;
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn-remove-config {
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Sửa lỗi màu chữ thương hiệu trên nền tối (footer & sidebar admin) */
.footer-premium .navbar-brand-premium,
.admin-sidebar .navbar-brand-premium {
    color: var(--white) !important;
}

/* Cột nút liên hệ nổi thẳng đứng bên phải màn hình */
.floating-contact-bar {
    position: fixed;
    right: 20px;
    bottom: 50px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: none;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Nút Facebook Messenger */
.floating-btn-messenger {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 50%, #9000ff 100%);
    color: #ffffff !important;
    font-size: 2rem;
}

.floating-btn-messenger:hover {
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.5);
}

/* Nút Zalo */
.floating-btn-zalo {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
}

.floating-btn-zalo:hover {
    box-shadow: 0 4px 15px rgba(0, 104, 255, 0.3);
}

.zalo-icon-inner {
    background-color: #0068ff;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.72rem;
    padding: 5px 8px;
    border-radius: 12px 12px 0 12px;
    font-family: 'Outfit', 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    box-shadow: 0 2px 5px rgba(0, 104, 255, 0.2);
}

/* Nút Gọi Điện Hotline */
.floating-btn-phone {
    background-color: #ffffff;
    color: #ef4444 !important;
    /* Icon điện thoại đỏ rực */
    font-size: 1.8rem;
    border: 1px solid #e2e8f0;
    animation: phone-shake-float 2.5s infinite;
}

.floating-btn-phone:hover {
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Nút Bản Đồ */
.floating-btn-map {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 100%);
    color: #ffffff !important;
    font-size: 1.6rem;
}

.floating-btn-map:hover {
    box-shadow: 0 4px 15px rgba(52, 168, 83, 0.4);
}

/* Nút cuộn lên đầu trang */
.floating-btn-top {
    width: 50px;
    height: 50px;
    background-color: var(--dell-blue);
    color: #ffffff !important;
    font-size: 1.3rem;
    align-self: center;
    /* Căn giữa cột nhỏ hơn */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(197, 54, 55, 0.3);
    display: flex !important;
    /* Luôn ép kiểu flex để căn giữa chevron */
    align-items: center;
    justify-content: center;
}

.floating-btn-top.visible {
    opacity: 1;
    visibility: visible;
}

.floating-btn-top:hover {
    background-color: var(--dell-blue-dark);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 18px rgba(197, 54, 55, 0.45);
}

/* Hiệu ứng rung lắc nhẹ thực tế cho nút Hotline nổi */
@keyframes phone-shake-float {

    0%,
    80%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    82% {
        transform: rotate(15deg) scale(1.05);
    }

    84% {
        transform: rotate(-15deg) scale(1.05);
    }

    86% {
        transform: rotate(15deg) scale(1.05);
    }

    88% {
        transform: rotate(-15deg) scale(1.05);
    }

    90% {
        transform: rotate(15deg) scale(1.05);
    }

    92% {
        transform: rotate(-15deg) scale(1.05);
    }
}

/* Các biểu tượng liên hệ hình tròn đồng bộ ở chân trang (Footer) */
.footer-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: none;
}

.footer-contact-icon:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.footer-contact-icon-messenger {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 50%, #9000ff 100%);
    color: #ffffff !important;
    font-size: 1.5rem;
}

.footer-contact-icon-messenger:hover {
    box-shadow: 0 4px 12px rgba(0, 114, 255, 0.4);
}

.footer-contact-icon-zalo {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
}

.footer-contact-icon-zalo:hover {
    box-shadow: 0 4px 12px rgba(0, 104, 255, 0.25);
}

.zalo-icon-inner-small {
    background-color: #0068ff;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.6rem;
    padding: 4px 6px;
    border-radius: 9px 9px 0 9px;
    font-family: 'Outfit', 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.footer-contact-icon-phone {
    background-color: #ffffff;
    color: #ef4444 !important;
    font-size: 1.4rem;
    border: 1px solid #e2e8f0;
    animation: phone-shake-float 2.5s infinite;
}

.footer-contact-icon-phone:hover {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

/* Cấu trúc Layout Sidebar đóng/mở mượt mà cho Admin */
.admin-sidebar {
    width: 240px;
    flex: 0 0 240px;
    max-width: 240px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.admin-main {
    flex: 1;
    min-width: 0;
    /* KHẮC PHỤC LỖI FLEX BOX TRÀN MÀN HÌNH: Khống chế không cho main nở rộng vượt quá diện tích trống */
    width: calc(100% - 240px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Khi menu thu gọn, cho phép main rộng 100% */
.admin-main.expanded {
    width: 100% !important;
    max-width: 100% !important;
}

/* Ẩn trên máy tính (Desktop Collapsed) */
@media (min-width: 768px) {
    .admin-sidebar.collapsed {
        margin-left: -240px;
        opacity: 0;
        pointer-events: none;
    }
}

/* Drawer trên thiết bị di động (Mobile Responsive Drawer) */
@media (max-width: 767.98px) {
    .admin-sidebar {
        position: fixed;
        left: -240px;
        top: 0;
        bottom: 0;
        z-index: 1060;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.25);
    }

    /* Khi được kích hoạt trên mobile thì trượt ra */
    .admin-sidebar.active-mobile {
        left: 0;
    }
}

/* Nút Xem Danh Mục Cao Cấp Glassmorphic */
.btn-premium-outline-light {
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth) !important;
}

.btn-premium-outline-light:hover {
    background-color: var(--white) !important;
    color: var(--dark-primary) !important;
    border-color: var(--white) !important;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Marquee Trượt Phụ Kiện Vô Tận (Accessories Marquee Slider) */
.accessories-marquee {
    width: 100%;
    overflow: hidden;
    padding: 10px 0 25px 0;
    position: relative;
}

/* Dải chạy chứa thẻ card */
.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    /* Chiều rộng tự động co giãn theo số thẻ con */
    animation: marqueeScroll 35s linear infinite;
}

/* Di chuột vào thì dừng hiệu ứng trượt */
.accessories-marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-280px * 6 - 24px * 6));
        /* Trượt chính xác 1 nửa hàng (6 thẻ) để tạo vòng lặp vô tận */
    }
}

/* Thẻ Card Phụ Kiện */
.accessory-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    width: 280px;
    flex-shrink: 0;
    box-shadow: var(--box-shadow-premium);
    border: 1px solid rgba(0, 0, 0, 0.02);
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.accessory-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(197, 54, 55, 0.15);
}

.accessory-img-container {
    height: 170px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.accessory-img-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.accessory-card:hover .accessory-img-container img {
    transform: scale(1.06);
}

.accessory-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.accessory-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
    height: 2.8rem;
    display: -webkit-box;
    --webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.accessory-rating {
    font-size: 0.8rem;
    color: #f59e0b;
    margin-bottom: 15px;
}

.accessory-price-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accessory-price-btn .price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dell-blue);
}

/* 3D Laptop Animation */
.laptop-3d-container {
    perspective: 1200px;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Wrapper to center the 3D laptop vertically and hold the stationary floor shadow */
.laptop-3d-wrapper {
    position: relative;
    transform: translateY(60px);
    /* Offset visual height to center screen and base */
    transform-style: preserve-3d;
    width: 280px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.laptop-3d {
    width: 280px;
    height: 180px;
    position: absolute;
    transform-style: preserve-3d;
    transform: rotateX(-15deg) rotateY(0deg);
    animation: rotateLaptop3D 15s linear infinite;
}

@keyframes rotateLaptop3D {
    0% {
        transform: rotateX(-15deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(-15deg) rotateY(360deg);
    }
}

/* Base (Keyboard Section) */
.laptop-3d-base {
    position: absolute;
    width: 280px;
    height: 180px;
    background: #d1d5db;
    border: 4px solid #9ca3af;
    border-radius: 4px 4px 12px 12px;
    transform: rotateX(90deg);
    transform-origin: top center;
    top: 90px;
    /* Aligned with hinge at middle height of container */
    left: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
}

/* Bevel edge for keyboard base to give depth */
.laptop-3d-base::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 8px;
    background: #9ca3af;
    transform: rotateX(-90deg);
    transform-origin: bottom center;
    bottom: -8px;
    left: -4px;
    border-radius: 0 0 4px 4px;
}

/* Keyboard keys */
.laptop-3d-keyboard {
    width: 240px;
    height: 100px;
    margin: 15px auto 5px auto;
    background: #1f2937;
    border-radius: 6px;
    border: 1px solid #374151;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-wrap: wrap;
    padding: 6px;
    gap: 3px;
}

/* Mimic keys */
.laptop-3d-keyboard::before {
    content: '';
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, transparent, transparent 8px, #2a2e38 8px, #2a2e38 10px),
        repeating-linear-gradient(90deg, transparent, transparent 15px, #2a2e38 15px, #2a2e38 17px);
    opacity: 0.85;
}

/* Trackpad */
.laptop-3d-trackpad {
    width: 70px;
    height: 35px;
    background: #374151;
    margin: 5px auto 0 auto;
    border-radius: 4px;
    border: 1px solid #4b5563;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Screen (Lid Section) */
.laptop-3d-screen {
    position: absolute;
    width: 280px;
    height: 180px;
    background: #111827;
    border: 8px solid #d1d5db;
    border-radius: 12px 12px 0 0;
    transform-origin: bottom center;
    transform: rotateX(-20deg);
    /* tilted slightly backwards from hinge */
    bottom: 90px;
    /* Bottom edge of screen aligned at the hinge line */
    left: 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

/* Glowing screen panel */
.laptop-3d-screen-glow {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 6px;
    opacity: 0.98;
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.75);
    animation: screenPulse 4s ease-in-out infinite alternate;
}

@keyframes screenPulse {
    0% {
        filter: brightness(0.9);
    }

    100% {
        filter: brightness(1.2);
    }
}

/* Content on screen */
.laptop-3d-screen-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    transform: translateZ(5px);
    /* push out slightly to avoid Z-fighting */
}

/* Radial light reflection on the screen */
.laptop-3d-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 50%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Shadow underneath the laptop (stationary, on the wrapper) */
.laptop-3d-floor-shadow {
    position: absolute;
    width: 320px;
    height: 180px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 75%);
    top: 90px;
    /* aligns with base hinge height */
    left: calc(50% - 160px);
    pointer-events: none;
    transform: rotateX(90deg) translateZ(-5px);
    /* lies flat, slightly below base */
}

/* Modern flat specifications table */
.spec-table th {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    width: 35%;
    font-weight: 600;
    color: #4b5563;
    padding: 12px 16px !important;
}

.spec-table td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #1f2937;
    padding: 12px 16px !important;
}

.spec-table tbody tr:nth-of-type(even) {
    background-color: rgba(197, 54, 55, 0.02) !important;
}

/* Mobile Responsive Grid Custom Overrides */
@media (max-width: 575.98px) {
    .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .row.g-4 {
        --bs-gutter-x: 8px !important;
        --bs-gutter-y: 8px !important;
    }

    .product-info {
        padding: 10px 8px 12px 8px !important;
    }

    .product-title {
        font-size: 0.88rem !important;
        line-height: 1.3 !important;
        height: 2.3rem !important;
        margin-bottom: 6px !important;
        display: -webkit-box;
        --webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-spec-badge {
        font-size: 0.62rem !important;
        padding: 3px 5px !important;
        margin-bottom: 2px !important;
        margin-right: 2px !important;
    }

    .product-price {
        font-size: 0.95rem !important;
        padding-top: 4px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
    }

    .product-price span.fs-5 {
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        color: #C53637 !important;
    }

    .product-price span.small.ms-1 {
        font-size: 0.72rem !important;
    }

    .product-price span.badge.bg-danger {
        font-size: 0.65rem !important;
        padding: 1px 3px !important;
    }

    .product-badge {
        top: 8px !important;
        left: 8px !important;
        font-size: 0.65rem !important;
        padding: 3px 8px !important;
    }

    .detail-gallery-main {
        height: 250px !important;
    }

    /* Brand logo scaling */
    .navbar-brand-premium {
        font-size: 1.05rem !important;
    }

    .navbar-brand-premium img {
        height: 35px !important;
    }

    /* Spec table padding adjustments */
    .spec-table th,
    .spec-table td {
        padding: 8px 10px !important;
        font-size: 0.8rem !important;
    }

    /* Enforce single-line text for buttons on mobile */
    .btn-premium-zalo {
        padding: 12px 15px !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        letter-spacing: 0.2px !important;
    }

    .btn-premium,
    .btn-premium-outline {
        white-space: nowrap !important;
        font-size: 0.82rem !important;
        padding: 8px 16px !important;
    }
}

/* Floating contact buttons scaling on mobile */
@media (max-width: 767.98px) {
    .floating-contact-bar {
        right: 10px !important;
        bottom: 25px !important;
        gap: 8px !important;
    }

    .floating-btn {
        width: 44px !important;
        height: 44px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12) !important;
    }

    .floating-btn-messenger {
        font-size: 1.4rem !important;
    }

    .zalo-icon-inner {
        font-size: 0.55rem !important;
        padding: 3px 5px !important;
        border-radius: 8px 8px 0 8px !important;
    }

    .floating-btn-phone {
        font-size: 1.3rem !important;
    }

    .floating-btn-map {
        font-size: 1.2rem !important;
    }

    .floating-btn-top {
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
    }
}

/* Responsive section headers on homepage */
@media (max-width: 575.98px) {
    .section-header-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .section-header-flex>div:last-child {
        width: 100% !important;
    }

    .section-header-flex .btn {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
    }
}

/* Custom absolute positioning for product discount tags (Shopee style) */
.product-price span.badge.bg-danger {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 10 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    padding: 4px 8px !important;
    background-color: #C53637 !important;
    /* Premium Red */
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(197, 54, 55, 0.25) !important;
}

@media (max-width: 575.98px) {
    .product-price span.badge.bg-danger {
        top: 8px !important;
        right: 8px !important;
        font-size: 0.62rem !important;
        padding: 2px 5px !important;
    }
}

/* Premium Commitment Panels with continuous animated gradient progress bar */
.commitment-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(197, 54, 55, 0.08);
    /* light brand red border */
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.commitment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(197, 54, 55, 0.12);
    border-color: rgba(197, 54, 55, 0.25);
}

.commitment-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(197, 54, 55, 0.06);
    color: #C53637;
    /* brand red */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
    transition: all 0.5s ease;
}

.commitment-card:hover .commitment-icon-wrapper {
    background: #C53637;
    color: #ffffff;
    transform: rotateY(360deg);
}

.commitment-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.commitment-desc {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 16px;
    text-align: center;
    flex-grow: 1;
    line-height: 1.4;
}

/* Animated color progress bar */
.commitment-progressbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.progressbar-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #C53637, #ff6b6b, #4dabf7, #37b24d, #fcc419, #C53637);
    background-size: 200% 100%;
    animation: running-gradient-bar 3s linear infinite;
}

@keyframes running-gradient-bar {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* Premium colorful Admin forms, inputs and button animations */
.admin-content-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(197, 54, 55, 0.08); /* light branding red outline */
    position: relative;
    overflow: hidden;
}

/* Beautiful color strip at top of content cards */
.admin-content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #C53637, #E64343, #4582ec, #10b981);
}

/* Glowing text inputs, textareas and selects */
.form-control, .form-select {
    border-radius: 12px !important;
    border: 1px solid rgba(197, 54, 55, 0.18) !important;
    padding: 10px 16px !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    background-color: #fafbfc !important;
    color: #1f2937 !important;
    font-size: 0.9rem !important;
}

.form-control:focus, .form-select:focus {
    background-color: #ffffff !important;
    border-color: #C53637 !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(197, 54, 55, 0.18) !important;
}

/* Vertical divider line for config specs on large screens */
@media (min-width: 992px) {
    .border-end-lg {
        border-right: 1px solid rgba(197, 54, 55, 0.1) !important;
    }
}

/* Dynamic Configuration form blocks - Colorful panels */
.config-item-form {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
    border: 1px solid rgba(197, 54, 55, 0.12) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    position: relative;
    transition: all 0.3s ease !important;
}

.config-item-form:hover {
    border-color: rgba(197, 54, 55, 0.3) !important;
    box-shadow: 0 6px 20px rgba(197, 54, 55, 0.05) !important;
}

/* Premium dynamic buttons with hover animations */
.btn-admin-submit {
    background: linear-gradient(135deg, #C53637 0%, #E64343 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 15px rgba(197, 54, 55, 0.3) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn-admin-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 54, 55, 0.45) !important;
    filter: brightness(1.05);
}

.btn-admin-submit:active {
    transform: translateY(0);
}

/* Admin cancel/reset button - Blue gradient */
.btn-admin-cancel {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}

.btn-admin-cancel:hover {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 65, 81, 0.3) !important;
}

/* Config add button - Vibrant green gradient */
.btn-admin-add-config {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
}

.btn-admin-add-config:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35) !important;
}

/* Stat card colorful accent lines */
.admin-stat-card {
    border-top: 4px solid var(--dell-blue) !important;
}
.admin-stat-card:nth-child(2) {
    border-top: 4px solid #10b981 !important;
}
.admin-stat-card:nth-child(3) {
    border-top: 4px solid #f59e0b !important;
}
.admin-stat-card:nth-child(4) {
    border-top: 4px solid #ec4899 !important;
}

/* Premium Nav Tabs Styling for Product Details */
.nav-tabs-premium {
    border-bottom: 2px solid rgba(197, 54, 55, 0.08) !important;
    gap: 10px;
}

.nav-tabs-premium .nav-item {
    margin-bottom: -2px;
}

.nav-tabs-premium .nav-link {
    border: none !important;
    color: var(--text-muted) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    padding: 14px 24px !important;
    border-radius: 12px 12px 0 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    background: transparent !important;
}

.nav-tabs-premium .nav-link:hover {
    color: #C53637 !important;
    background-color: rgba(197, 54, 55, 0.03) !important;
}

.nav-tabs-premium .nav-link.active {
    color: #C53637 !important;
    background-color: transparent !important;
}

.nav-tabs-premium .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    right: 15%;
    height: 4px;
    background: linear-gradient(90deg, #C53637 0%, #E64343 100%) !important;
    border-radius: 4px !important;
}

/* Premium Spec Table styling */
.spec-table {
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    width: 100%;
}

.spec-table tr {
    background-color: transparent !important;
}

.spec-table th {
    background-color: #fafbfc !important;
    color: var(--text-muted) !important;
    font-weight: 700 !important;
    padding: 14px 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    border-right: none !important;
    border-radius: 12px 0 0 12px !important;
    width: 30%;
}

.spec-table td {
    background-color: #ffffff !important;
    color: var(--text-primary) !important;
    padding: 14px 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    border-left: none !important;
    border-radius: 0 12px 12px 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015) !important;
}

/* Custom shadow wrapper for page cards floating on light-bg */
.bg-white.p-4.p-md-5.rounded-4 {
    box-shadow: 0 15px 35px rgba(197, 54, 55, 0.03) !important;
}

/* Premium Navigation Dropdown Menu */
.navbar-premium .dropdown-menu {
    border: 1px solid rgba(197, 54, 55, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(197, 54, 55, 0.08) !important;
    padding: 10px !important;
    margin-top: 8px !important; /* reduced gap */
    background-color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    transform: translateY(10px);
    opacity: 0;
    display: block !important;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
}

/* Invisible bridge spanning the hover gap to prevent closing */
.navbar-premium .dropdown-menu::before {
    content: '' !important;
    position: absolute !important;
    top: -12px !important;
    left: 0 !important;
    right: 0 !important;
    height: 15px !important;
    background: transparent !important;
}

/* Show dropdown smoothly on hover */
.navbar-premium .nav-item.dropdown:hover .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Individual dropdown list items */
.navbar-premium .dropdown-item {
    border-radius: 10px !important;
    padding: 10px 18px !important;
    color: #4b5563 !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    transition: all 0.25s ease !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hover effect on dropdown item */
.navbar-premium .dropdown-item:hover {
    background-color: rgba(197, 54, 55, 0.04) !important;
    color: #C53637 !important;
    transform: translateX(4px);
}

/* Custom bullet icon before categories */
.navbar-premium .dropdown-item::before {
    content: '•';
    color: #C53637;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.navbar-premium .dropdown-item:hover::before {
    transform: scale(1.3);
}

/* Sidebar Category Link - No wrap, ellipsis */
.sidebar-category-link {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: all 0.3s ease !important;
    font-size: 0.88rem !important;
    padding: 12px 14px !important;
    font-weight: 600 !important;
}

.sidebar-category-link:hover {
    transform: translateX(4px) !important;
}

/* Premium custom select dropdown styling */
.premium-select-menu {
    border: 1px solid rgba(197, 54, 55, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(197, 54, 55, 0.08) !important;
    padding: 10px !important;
    margin-top: 5px !important;
    background-color: #ffffff !important;
}

.premium-select-item {
    border-radius: 10px !important;
    padding: 10px 18px !important;
    color: #4b5563 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.25s ease !important;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.premium-select-item:hover {
    background-color: rgba(197, 54, 55, 0.04) !important;
    color: #C53637 !important;
    transform: translateX(4px);
}

.premium-select-item::before {
    content: '•';
    color: #C53637;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.premium-select-item:hover::before {
    transform: scale(1.3);
}

/* Adjust toggle button arrow style */
.premium-select-toggle::after {
    color: #C53637 !important;
    transition: transform 0.3s ease;
}

.dropdown:hover .premium-select-toggle::after {
    transform: rotate(180deg);
}

/* Hero Banner Buttons Override */
.hero-carousel-wrapper .btn-premium-primary {
    background-color: #1e293b !important; /* Dark Slate */
    color: var(--white) !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
}
.hero-carousel-wrapper .btn-premium-primary:hover {
    background-color: #0f172a !important; /* Darker Slate */
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3) !important;
}

.hero-carousel-wrapper .btn-premium-outline-light {
    background-color: rgba(30, 41, 59, 0.4) !important; /* Slate Glass */
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.hero-carousel-wrapper .btn-premium-outline-light:hover {
    background-color: #1e293b !important; /* Slate Solid */
    color: var(--white) !important;
    border-color: #1e293b !important;
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.25) !important;
}

/* Dashboard Premium Select Styling */
.admin-main select,
.admin-main .form-select,
.config-discount-select,
.config-item-form select {
    border-radius: 12px !important;
    border: 1px solid rgba(197, 54, 55, 0.15) !important;
    padding: 8px 16px !important;
    background-color: #fafbfc !important;
    color: #4b5563 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.25s ease !important;
    outline: none !important;
    height: auto !important;
    cursor: pointer;
}

.admin-main select:focus,
.admin-main .form-select:focus,
.config-discount-select:focus,
.config-item-form select:focus {
    border-color: #C53637 !important;
    box-shadow: 0 4px 12px rgba(197, 54, 55, 0.1) !important;
    background-color: #ffffff !important;
}

.admin-main select option,
.admin-main .form-select option,
.config-discount-select option,
.config-item-form select option {
    padding: 10px 16px !important;
    font-weight: 500 !important;
    color: #4b5563 !important;
}

/* Brand Marquee styling */
.brand-marquee-section {
    background: transparent;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-marquee-wrapper {
    overflow: hidden;
    width: 100%;
}

.brand-marquee-track {
    display: flex;
    width: max-content;
    animation: brandScroll 25s linear infinite;
    gap: 5rem;
    align-items: center;
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #475569;
    font-weight: 800;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    user-select: none;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.025em;
}

.brand-item svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.02));
}

.brand-item:hover {
    color: #0f172a;
}

.brand-item:hover svg {
    transform: scale(1.18) rotate(2deg);
}

@keyframes brandScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%); /* Move through 1 copy of the 3 duplicates */
    }
}

/* Responsive adjustment for brand marquee on small devices */
@media (max-width: 768px) {
    .brand-marquee-section {
        padding: 15px 0;
    }
    .brand-marquee-track {
        gap: 3rem;
    }
    .brand-item {
        font-size: 1rem;
        gap: 8px;
    }
    .brand-item svg {
        transform: scale(0.85);
    }
    .brand-item:hover svg {
        transform: scale(0.95);
    }
}

/* Discount Products Section styling */
.discount-products-section {
    background: linear-gradient(to bottom, #E2231A 0%, #FFEBEB 100%) !important;
    border-radius: 28px;
    padding: 45px 25px;
    box-shadow: 0 12px 30px rgba(226, 35, 26, 0.08);
}

.discount-marquee-track {
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar on Firefox */
    -ms-overflow-style: none;  /* Hide scrollbar on IE/Edge */
    scroll-behavior: smooth;
    padding-top: 10px;
}

.discount-marquee-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar on Chrome/Safari/Opera */
}

/* Discount Card layout and hover animations */
.discount-product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 285px; /* Default desktop width */
    flex-shrink: 0; /* Prevent collapsing */
}

.discount-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

/* Discount Percentage Red Badge (top-left) */
.discount-badge-red {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #dc3545;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 9px;
    border-radius: 6px;
    z-index: 5;
    box-shadow: 0 3px 6px rgba(220, 53, 69, 0.2);
    letter-spacing: -0.01em;
}

/* LikeNew pill badge (top-right) */
.badge-likenew-starburst {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e2231a;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    z-index: 5;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 3px 6px rgba(226, 35, 26, 0.2);
    letter-spacing: -0.01em;
}

/* Custom Prev/Next button triggers (Desktop only) */
.carousel-control-prev-custom, .carousel-control-next-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    font-size: 0.95rem;
}

.carousel-control-prev-custom:hover, .carousel-control-next-custom:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.carousel-control-prev-custom {
    left: -22px;
}

.carousel-control-next-custom {
    right: -22px;
}

/* Responsive design adjustments for mobile */
@media (max-width: 991.98px) {
    .discount-products-section {
        padding: 30px 15px !important;
        border-radius: 20px;
    }
    
    .discount-product-card {
        width: 235px !important; /* Smaller card size on tablets and mobile */
    }
    
    .discount-product-card img {
        height: 130px !important;
    }

    .carousel-control-prev-custom, .carousel-control-next-custom {
        display: none !important; /* Hide navigation buttons on mobile; use native swipe touch scroll */
    }
}

/* Brand Sidebar CSS 3D Laptops */
.brand-sidebar-wrapper {
    background: #ffffff;
    border-radius: 12px;
    height: 360px;
    box-shadow: var(--box-shadow-premium);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.brand-sidebar-card {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: var(--transition-smooth);
}

.brand-sidebar-card:hover {
    background: #ffffff;
    border-color: rgba(197, 54, 55, 0.2);
    box-shadow: 0 4px 12px rgba(197, 54, 55, 0.08);
    transform: translateY(-2px);
}

/* 3D Container */
.laptop-3d-container {
    perspective: 400px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laptop-3d {
    width: 36px;
    height: 24px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-12deg) rotateY(0deg);
    animation: rotateLaptop 8s infinite linear;
}

/* Speed up spin on hover */
.brand-sidebar-card:hover .laptop-3d {
    animation-duration: 3s;
}

.laptop-lid {
    position: absolute;
    width: 36px;
    height: 22px;
    background: #64748b;
    border: 1px solid #94a3b8;
    border-radius: 2px 2px 0 0;
    transform-origin: bottom center;
    transform: rotateX(-25deg) translateZ(0px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.4);
}

.laptop-screen {
    width: 28px;
    height: 16px;
    background: #0f172a;
    border: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 5px;
    font-weight: bold;
    font-family: sans-serif;
    letter-spacing: 0.1px;
}

.laptop-base {
    position: absolute;
    width: 40px;
    height: 26px;
    background: #475569;
    border: 1px solid #64748b;
    border-radius: 0 0 2px 2px;
    top: 22px;
    left: -2px;
    transform-origin: top center;
    transform: rotateX(80deg);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Brand specific styling for screen display & colors */
.dell-theme .laptop-lid { background: #007db8; border-color: #38bdf8; }
.dell-theme .laptop-base { background: #0f2d4a; border-color: #007db8; }
.dell-theme .laptop-screen { background: #0c1e35; color: #38bdf8; text-shadow: 0 0 2px #38bdf8; }

.hp-theme .laptop-lid { background: #cbd5e1; border-color: #cbd5e1; }
.hp-theme .laptop-base { background: #94a3b8; border-color: #cbd5e1; }
.hp-theme .laptop-screen { background: #1e293b; color: #0096d6; text-shadow: 0 0 2px #0096d6; }

.lenovo-theme .laptop-lid { background: #1e1e1e; border-color: #4b5563; }
.lenovo-theme .laptop-base { background: #374151; border-color: #4b5563; }
.lenovo-theme .laptop-screen { background: #111827; color: #ef4444; text-shadow: 0 0 2px #ef4444; }

.apple-theme .laptop-lid { background: #a1a1aa; border-color: #d4d4d8; }
.apple-theme .laptop-base { background: #71717a; border-color: #a1a1aa; }
.apple-theme .laptop-screen { background: #18181b; color: #ffffff; text-shadow: 0 0 2px #ffffff; }

@keyframes rotateLaptop {
    0% {
        transform: rotateX(-12deg) rotateY(0deg);
    }
    100% {
        transform: rotateX(-12deg) rotateY(360deg);
    }
}

/* Hero Slide Content Styling */
.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    max-width: 440px;
    z-index: 10;
    padding: 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    text-align: left;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.bg-primary-gradient {
    background: linear-gradient(135deg, #007db8, #005a87);
}
.bg-success-gradient {
    background: linear-gradient(135deg, #10b981, #059669);
}
.bg-danger-gradient {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}
.bg-dark-gradient {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.slide-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.slide-description {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 20px;
}

.slide-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-slide-primary {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    background: #0f172a;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-slide-primary:hover {
    background: #c53637;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 54, 55, 0.25);
}

.slide-promo-tag {
    font-size: 0.8rem;
    font-weight: 700;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-30%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* Responsive banner details */
@media (max-width: 768px) {
    .hero-slide-content {
        max-width: 80%;
        left: 10%;
        padding: 16px;
    }
    .slide-title {
        font-size: 1.4rem;
    }
    .slide-description {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    .btn-slide-primary {
        padding: 6px 14px;
        font-size: 0.78rem;
    }
    }
}

/* ZALO GUIDE MODAL STYLE */
.zalo-guide-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10500;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.zalo-guide-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.zalo-guide-modal-container {
    position: relative;
    max-width: 520px;
    width: 90%;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 104, 255, 0.15);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.zalo-guide-modal-overlay.show .zalo-guide-modal-container {
    transform: scale(1) translateY(0);
}

.zalo-guide-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: none;
    background: transparent;
    font-size: 1.3rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.zalo-guide-modal-close:hover {
    color: #ef4444;
    background-color: #f1f5f9;
    transform: rotate(90deg);
}

.zalo-guide-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.zalo-icon-inner-modal {
    background-color: #0068ff;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 6px 14px;
    border-radius: 14px 14px 0 14px;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 104, 255, 0.25);
}

.zalo-guide-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #0f172a;
    font-size: 1.3rem;
    margin-top: 10px;
    margin-bottom: 4px;
}

.zalo-guide-subtitle {
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.zalo-guide-modal-body {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    padding-right: 4px;
}

/* Custom Scrollbar cho modal body */
.zalo-guide-modal-body::-webkit-scrollbar {
    width: 6px;
}
.zalo-guide-modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}
.zalo-guide-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.zalo-guide-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.zalo-step-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.zalo-step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.zalo-step-icon.step-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.zalo-step-icon.step-primary {
    background-color: rgba(0, 104, 255, 0.1);
    color: #0068ff;
}

.zalo-step-icon.step-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.zalo-step-content {
    flex-grow: 1;
}

.zalo-step-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: #1e293b;
    margin-bottom: 4px;
    font-family: 'Outfit', sans-serif;
}

.zalo-step-desc {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 0;
}

.zalo-product-preview-box {
    background-color: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 10px;
    margin-top: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.zalo-preview-text {
    font-size: 0.78rem;
    color: #334155;
    font-family: 'Inter', monospace;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0 0 8px 0;
    max-height: 100px;
    overflow-y: auto;
    border-radius: 8px;
    padding: 8px;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    line-height: 1.4;
}

.btn-copy-again {
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 50px !important;
    align-self: flex-end;
    transition: all 0.2s;
}

.zalo-instruction-list {
    padding-left: 16px;
    margin-top: 4px;
    font-size: 0.8rem;
    color: #475569;
}
.zalo-instruction-list li {
    margin-bottom: 3px;
}

.zalo-guide-modal-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
}

.dontShowZaloGuideAgain {
    cursor: pointer;
}

.btn-zalo-direct {
    background-color: #0068ff !important;
    color: #ffffff !important;
    border: none !important;
    transition: all 0.2s !important;
}

.btn-zalo-direct:hover {
    background-color: #0056d6 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 104, 255, 0.25);
}

.btn-close-modal {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    border: none !important;
    transition: all 0.2s !important;
}

.btn-close-modal:hover {
    background-color: #e2e8f0 !important;
    color: #1e293b !important;
}

body.modal-open-zalo {
    overflow: hidden !important;
}

@media (max-width: 575.98px) {
    .zalo-guide-modal-container {
        padding: 20px 16px;
        border-radius: 16px;
        width: 95%;
    }
    
    .zalo-guide-title {
        font-size: 1.15rem;
    }
    
    .zalo-step-item {
        gap: 10px;
    }
    
    .zalo-step-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .zalo-step-title {
        font-size: 0.88rem;
    }
    
    .zalo-step-desc {
        font-size: 0.78rem;
    }
    
    .zalo-preview-text {
        font-size: 0.72rem;
        max-height: 80px;
    }
    
    .zalo-instruction-list {
        font-size: 0.76rem;
    }
    
    .zalo-guide-modal-footer .btn {
        font-size: 0.85rem !important;
        padding: 10px 12px !important;
    }
}