/*
 * CSS goc tu template Blogger HD4Pro (music.keybanquyen.vn v3.0.0),
 * giu nguyen de bo cuc WordPress giong het ban Blogger.
 * Class duoc giu nguyen: .main-header, .product-grid, .product-card, ...
 */
/* ==================== 1. STRONG BLOGGER RESET ==================== */
b\:widget-settings, b\:widget-setting { display: none !important; }
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; box-sizing: border-box; }
/* Neutralize Blogger Default Container Floats and Widths */
.main, .section, .widget, .Blog, .content-inner, .main-inner, .columns { margin: 0 !important; padding: 0 !important; float: none !important; width: 100% !important; max-width: 100% !important; box-shadow: none !important; border: none !important; background: transparent !important; }
/* ==================== 2. ROOT VARIABLES &amp; FALLBACKS ==================== */
:root { --primary: #c59b27; --primary-hover: #b38728; --primary-light: #fefbf3; --primary-border: #f3e5ab; --accent: #b91c1c; --accent-hover: #991b1b; --gold-gradient: linear-gradient(135deg, #dfb76c 0%, #c59b27 50%, #9e7820 100%); --dark-luxury: #11141e; --orange: #d97706; --flash-start: #b91c1c; --flash-end: #c59b27; --text-main: #181c24; --text-muted: #64748b; --bg-body: #f8f7f4; --bg-card: #ffffff; --border-color: #ede8df; --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --shadow-sm: 0 1px 4px rgba(0,0,0,0.04); --shadow-md: 0 4px 16px rgba(197,155,39,0.08); --shadow-hover: 0 12px 28px rgba(197,155,39,0.18); --container-max: 1600px; --font-main: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; --font-serif: 'Playfair Display', Georgia, serif; --font-luxury: 'Cinzel', 'Playfair Display', serif; }
html { scroll-behavior: smooth; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); background-color: #f1f5f9; background-color: var(--bg-body); color: #0f172a; color: var(--text-main); line-height: 1.6; font-size: 14px; font-weight: 400; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; padding-bottom: 60px; overflow-x: hidden; }
@media (min-width: 992px) {
body { padding-bottom: 0; }
}
a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
.container { width: 96%; max-width: 1600px; margin: 0 auto; padding: 0 16px; }
/* ==================== 3. TOPBAR ==================== */
.topbar { display: none !important; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item a:hover { color: #c59b27; }
.topbar-highlight { color: #c59b27; font-weight: 700; }
/* ==================== 4. MAIN HEADER ==================== */
.main-header { background: #ffffff; padding: 10px 0; box-shadow: 0 2px 12px rgba(26,86,219,0.08); position: sticky; top: 0; z-index: 500; border-bottom: 1px solid #e8edf5; }
.main-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { width: 42px; height: 42px; background: #c59b27; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #ffffff; font-weight: 900; font-size: 20px; box-shadow: 0 4px 10px rgba(197, 155, 39, 0.3); }
.logo-text .logo-title { font-size: 20px; font-weight: 800; line-height: 1.1; color: #1e293b; letter-spacing: -0.5px; }
.logo-text .logo-title span { color: #c59b27; }
.logo-text p { font-size: 10.5px; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
/* Search Box */
.header-search { flex: 1; max-width: 720px; position: relative; }
.search-form { display: flex; align-items: center; background: #f8fafc; border: 2px solid #c59b27; border-radius: 24px; overflow: hidden; transition: box-shadow 0.2s ease; }
.search-form:focus-within { box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.2); background: #ffffff; }
.search-cat { padding: 0 12px; height: 40px; border: none; background: transparent; border-right: 1px solid #e2e8f0; font-size: 12px; color: #64748b; outline: none; cursor: pointer; }
.search-input { flex: 1; height: 40px; padding: 0 14px; border: none; background: transparent; outline: none; font-size: 13px; color: #1e293b; min-width: 0; }
.search-btn { width: 48px; height: 40px; background: #c59b27; border: none; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: background 0.2s ease; }
.search-btn:hover { background: #b38728; }
/* Header Right Actions */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-btn { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px; border: 1px solid #e2e8f0; background: #ffffff; cursor: pointer; transition: all 0.2s ease; }
.header-btn:hover { border-color: #c59b27; background: #fefbf3; }
.header-btn-icon { width: 32px; height: 32px; border-radius: 50%; background: #fefbf3; color: #c59b27; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.header-btn-info { text-align: left; }
.header-btn-title { font-size: 10.5px; color: #64748b; line-height: 1.2; }
.header-btn-text { font-size: 12.5px; font-weight: 700; color: #1e293b; line-height: 1.2; }
/* Cleaned obsolete build-pc-btn CSS */
/* Cart Button */
.cart-trigger { position: relative; background: #c59b27; color: #ffffff; border: none; }
.cart-trigger:hover { background: #b38728; box-shadow: 0 4px 12px rgba(197, 155, 39, 0.35); }
.cart-trigger .header-btn-icon { background: rgba(255, 255, 255, 0.25); color: #ffffff; }
.cart-trigger .header-btn-title { color: rgba(255, 255, 255, 0.9); }
.cart-trigger .header-btn-text { color: #ffffff; }
.cart-badge { position: absolute; top: -5px; right: -5px; background: #ef4444; color: #ffffff; font-size: 11px; font-weight: 800; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #ffffff; }
/* ==================== 5. GREEN NAVBAR ==================== */
.main-nav { background: #11141e; border-bottom: 2px solid #c59b27; color: #ffffff; position: relative; z-index: 90; display: block; }
.main-nav .container { display: flex; align-items: center; }
.nav-cat-btn { width: 280px !important; height: 44px; background: #c59b27; color: #11141e; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px; cursor: pointer; flex-shrink: 0; border-top-left-radius: 6px; border-top-right-radius: 6px; }
.nav-cat-btn span { display: inline-flex; align-items: center; gap: 8px; }
.nav-menu { display: flex; align-items: center; flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; gap: 2px; scrollbar-width: none; -ms-overflow-style: none; }
.nav-menu::-webkit-scrollbar { display: none; }
.nav-item { flex-shrink: 0; }
.nav-item a { display: inline-flex; align-items: center; gap: 5px; height: 44px; padding: 0 10px; font-weight: 700; font-size: 12px; letter-spacing: 0.1px; color: #ffffff; white-space: nowrap; transition: all 0.2s ease; }
.nav-item a:hover { background: rgba(0, 0, 0, 0.12); }
.nav-item.hot a { color: #ffeb3b; }
/* ==================== 6. HERO SECTION ==================== */
.hero-section { padding: 14px 0; }
.hero-grid { display: block; width: 100%; }
.hero-main-area { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.hero-top-row { display: flex; gap: 16px; align-items: stretch; width: 100%; }
.hero-slider-wrap { flex: 1; min-width: 0; height: 440px; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.12); position: relative; }
.hero-right-promo { width: 360px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; height: 440px; }
.hero-sub-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
/* Left Vertical Category Sidebar */
.hero-sidebar { width: 340px !important; height: 420px; max-height: 420px; flex-shrink: 0; background: #ffffff; border-radius: 12px; box-shadow: 0 4px 16px rgba(15,23,42,0.06); position: relative; display: flex; flex-direction: column; overflow: visible; }
.cat-list { padding: 0; margin: 0; height: 420px; display: flex; flex-direction: column; list-style: none; }
.cat-item { position: static; flex: 1; display: flex; }
.cat-link { width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 12px; font-weight: 600; color: #11141e; border-bottom: 1px solid #f6f3eb; transition: all 0.2s ease; box-sizing: border-box; }
.cat-link:hover { background: #fefbf3; color: #c59b27; padding-left: 17px; }
.cat-item:first-child .cat-link { width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 12px; font-weight: 600; color: #11141e; border-bottom: 1px solid #f6f3eb; transition: all 0.2s ease; box-sizing: border-box; }
.cat-item:last-child .cat-link { width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 12px; font-weight: 600; color: #11141e; border-bottom: 1px solid #f6f3eb; transition: all 0.2s ease; box-sizing: border-box; }
.cat-item:last-child .cat-link { width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 12px; font-weight: 600; color: #11141e; border-bottom: 1px solid #f6f3eb; transition: all 0.2s ease; box-sizing: border-box; }
.cat-link:hover { background: #fefbf3; color: #c59b27; padding-left: 15px; }
.cat-link-left { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; white-space: nowrap; }
.cat-link-left span:last-child { overflow: visible; white-space: nowrap; font-size: 12px; }
.cat-badge-wrap { display: flex; align-items: center; gap: 4px; flex-shrink: 0; margin-left: 4px; }
.cat-icon { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; color: #64748b; flex-shrink: 0; }
.cat-link:hover .cat-icon { color: #c59b27; }
.cat-badge { font-size: 8.5px; font-weight: 700; padding: 2px 5px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.2px; flex-shrink: 0; line-height: 1.2; white-space: nowrap !important; }
.cat-badge.hot { background: #fee2e2; color: #ef4444; }
.cat-badge.sale { background: #fef3c7; color: #d97706; }
.cat-arrow { color: #cbd5e1; transition: transform 0.15s ease; }
.cat-link:hover .cat-arrow { color: #c59b27; transform: translateX(3px); }
/* Mega Menu (Flyout) */
.mega-menu { position: absolute; top: 0; left: 100%; width: 740px; height: 420px; min-height: 420px; background: #ffffff; box-shadow: 0 16px 45px rgba(0, 0, 0, 0.22); border-radius: 0 12px 12px 0; border-left: 3px solid #c59b27; padding: 22px; display: none; z-index: 1010; box-sizing: border-box; }
.cat-item:hover > .mega-menu { display: block !important; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mega-col-title { font-size: 12.5px; font-weight: 700; color: #c59b27; text-transform: uppercase; margin-bottom: 8px; padding-bottom: 5px; border-bottom: 1px solid #e2e8f0; }
.mega-list li { margin-bottom: 5px; }
.mega-list a { font-size: 12px; color: #334155; transition: color 0.15s ease; }
.mega-list a:hover { color: #c59b27; padding-left: 4px; }
/* Center Hero Slider */
.hero-main-area { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hero-top-row { display: flex; gap: 14px; align-items: stretch; }
.hero-slider-wrap { flex: 1; min-width: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); background: #0f172a; position: relative; height: 420px; }
.slider-container { width: 100%; height: 100%; position: relative; }
.slide-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s ease; background-size: cover; background-position: center; }
.slide-item.active { opacity: 1; visibility: visible; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%); display: flex; align-items: center; padding: 0 36px; }
.slide-content { max-width: 440px; color: #ffffff; }
.slide-tag { display: inline-block; background: #c59b27; color: #ffffff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 0.5px; }
.slide-title { font-size: 24px; font-weight: 800; line-height: 1.25; margin-bottom: 10px; color: #ffffff; }
.slide-desc { font-size: 13.5px; color: #cbd5e1; margin-bottom: 18px; line-height: 1.5; }
.slide-btn { display: inline-flex; align-items: center; gap: 8px; background: #c59b27; color: #ffffff; padding: 9px 22px; border-radius: 20px; font-weight: 700; font-size: 12.5px; text-transform: uppercase; box-shadow: 0 4px 12px rgba(197, 155, 39, 0.4); transition: transform 0.2s ease, background 0.2s ease; }
.slide-btn:hover { background: #b38728; transform: translateY(-2px); }
/* Slider Controls */
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(17, 20, 30, 0.85); color: #dfb76c; border: 1.5px solid rgba(197, 155, 39, 0.6); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 50 !important; transition: all 0.2s ease; font-size: 20px; pointer-events: auto !important; user-select: none; }
.slider-arrow:hover { background: #c59b27; color: #11141e; border-color: #c59b27; box-shadow: 0 4px 16px rgba(197, 155, 39, 0.5); transform: translateY(-50%) scale(1.08); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 50 !important; }
.slider-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: all 0.2s ease; }
.slider-dot.active { width: 24px; border-radius: 8px; background: #c59b27; }
/* Right Side Column (Promo Banners) */
.hero-right-promo { width: 260px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; height: 420px; }
.promo-card { flex: 1; border-radius: 6px; overflow: hidden; position: relative; box-shadow: 0 1px 3px rgba(0,0,0,0.06); background-size: cover; background-position: center; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.promo-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.promo-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; color: #ffffff; }
.promo-card-tag { display: inline-block; align-self: flex-start; background: #ef4444; color: #ffffff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 3px; margin-bottom: 5px; text-transform: uppercase; }
.promo-card-title { font-size: 13.5px; font-weight: 700; line-height: 1.3; margin-bottom: 3px; }
.promo-card-desc { font-size: 11.5px; color: #cbd5e1; }
/* Sub-Banners Row (Fills the blank area under slider &amp; promo perfectly) */
.hero-sub-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.sub-banner-card { position: relative; height: 80px; border-radius: 12px; display: flex; align-items: center; padding: 0 20px; gap: 14px; border-radius: 6px; overflow: hidden; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,0.06); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.sub-banner-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.sub-banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.88) 100%); z-index: 1; transition: background 0.25s ease; }
.sub-banner-card:hover .sub-banner-overlay { background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.94) 100%); }
.sub-banner-content { position: relative; z-index: 2; }
.sub-banner-tag { display: inline-block; font-size: 9.5px; font-weight: 800; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; margin-bottom: 5px; letter-spacing: 0.5px; }
.sub-banner-tag.cyan { background: #0284c7; color: #ffffff; }
.sub-banner-tag.orange { background: #ea580c; color: #ffffff; }
.sub-banner-tag.green { background: #c59b27; color: #ffffff; }
.sub-banner-title { font-size: 13.5px; font-weight: 800; color: #ffffff; line-height: 1.25; margin-bottom: 3px; text-transform: uppercase; }
.sub-banner-desc { font-size: 11px; color: #cbd5e1; line-height: 1.35; margin-bottom: 6px; }
.sub-banner-link { font-size: 11px; font-weight: 700; color: #ffeb3b; display: inline-flex; align-items: center; gap: 4px; }
/* ==================== 7. POLICY HIGHLIGHTS BAR ==================== */
.policy-bar { margin: 14px 0; }
.policy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: #ffffff; padding: 14px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.policy-item { display: flex; align-items: center; gap: 10px; }
.policy-icon { width: 40px; height: 40px; border-radius: 50%; background: #fefbf3; color: #c59b27; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.policy-info h4 { font-size: 12.5px; font-weight: 700; color: #1e293b; }
.policy-info p { font-size: 11.5px; color: #64748b; }
/* ==================== 8. FLASH SALE (4 PRODUCTS STANDARD) ==================== */
.flash-sale-section { margin: 20px 0; background: #ffffff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); border: 1px solid #fee2e2; }
.flash-header { background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%); color: #ffffff; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.flash-title-wrap { display: flex; align-items: center; gap: 8px; }
.flash-title-wrap h2 { font-size: 16px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; }
.flash-icon { animation: pulse 1.2s infinite; }
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.2); }
100% { transform: scale(1); }
}
.flash-countdown { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.countdown-box { background: #1e293b; color: #ffffff; font-size: 13.5px; font-weight: 800; padding: 3px 7px; border-radius: 4px; min-width: 30px; text-align: center; }
.countdown-colon { font-weight: 800; font-size: 15px; }
.flash-body { padding: 14px; }
.flash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flash-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px; position: relative; transition: all 0.25s ease; display: flex; flex-direction: column; }
.flash-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.1); border-color: #fca5a5; }
.flash-discount { position: absolute; top: 10px; left: 10px; background: #ef4444; color: #ffffff; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 4px; z-index: 2; }
.flash-thumb { width: 100%; aspect-ratio: 1/1; overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; background: #f8fafc; border-radius: 6px; }
.flash-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.flash-card:hover .flash-thumb img { transform: scale(1.06); }
.flash-card-title { font-size: 13px; font-weight: 600; color: #1e293b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 38px; margin-bottom: 6px; line-height: 1.45; }
.flash-card-title:hover { color: #c59b27; }
.flash-prices { margin-bottom: 10px; }
.price-current { font-size: 16px; font-weight: 800; color: #ef4444; }
.price-old { font-size: 12px; color: #64748b; text-decoration: line-through; margin-left: 5px; }
.flash-progress-wrap { margin-top: auto; }
.progress-bar { width: 100%; height: 15px; background: #fee2e2; border-radius: 8px; position: relative; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #ff416c, #ff4b2b); border-radius: 8px; }
.progress-text { position: absolute; inset: 0; font-size: 9.5px; font-weight: 700; color: #ffffff; display: flex; align-items: center; justify-content: center; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0,0,0,0.4); }
.flash-buy-btn { width: 100%; margin-top: 10px; padding: 8px 0; background: #ef4444; color: #ffffff; border: none; border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: background 0.2s ease; }
.flash-buy-btn:hover { background: #dc2626; }
/* ==================== 9. MID-PAGE TRIPLE BANNERS ==================== */
.mid-banners { margin: 18px 0; }
.mid-banners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mid-banner-item { border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.06); height: 130px; position: relative; background-size: cover; background-position: center; transition: transform 0.25s ease; }
.mid-banner-item:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); }
.mid-banner-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%); display: flex; flex-direction: column; justify-content: center; padding: 0 18px; color: #ffffff; }
.mid-banner-overlay h3 { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.mid-banner-overlay p { font-size: 11.5px; color: #cbd5e1; margin-bottom: 6px; }
.mid-banner-overlay span { font-size: 11px; font-weight: 700; color: #4ade80; text-transform: uppercase; }
/* ==================== 10. CATEGORY PRODUCT SECTIONS (4 PRODUCTS PER ROW) ==================== */
.cat-product-section { margin: 22px 0; background: #ffffff; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); border: 1px solid #e2e8f0; overflow: hidden; }
.cat-sec-header { background: #c59b27; color: #ffffff; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.cat-sec-title { display: flex; align-items: center; gap: 8px; }
.cat-sec-title h2 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.cat-sec-tabs { display: flex; align-items: center; gap: 6px; overflow-x: auto; }
.cat-tab-btn { padding: 4px 11px; border-radius: 14px; font-size: 12px; font-weight: 600; color: #ffffff; background: rgba(0, 0, 0, 0.15); border: none; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; }
.cat-tab-btn.active, .cat-tab-btn:hover { background: #ffffff; color: #c59b27; }
.cat-sec-more { font-size: 12px; font-weight: 700; color: #ffffff; display: inline-flex; align-items: center; gap: 4px; transition: transform 0.2s ease; }
.cat-sec-more:hover { transform: translateX(3px); color: #ffeb3b; }
/* Product Grid: EXACTLY 4 COLUMNS ON DESKTOP &amp; LAPTOP */
.cat-product-body { padding: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: stretch; }
@media (min-width: 1600px) {
.product-grid { grid-template-columns: repeat(6, 1fr) !important; gap: 20px !important; }
}
@media (max-width: 1399px) and (min-width: 1100px) {
.product-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; }
}
@media (max-width: 1099px) and (min-width: 768px) {
.product-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 14px !important; }
}
@media (max-width: 767px) {
.product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
}
.product-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; position: relative; transition: all 0.25s ease; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.09); border-color: #c59b27; }
/* Badges: -55% on Left, HD4PRO on Right (2 bên ảnh sản phẩm) */
.product-badges, .prod-badge-sale { position: absolute !important; top: 8px !important; left: 8px !important; right: 8px !important; display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; z-index: 4 !important; pointer-events: none !important; width: auto !important; }
.badge-discount, .prod-badge-sale { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important; color: #ffffff !important; font-size: 11px !important; font-weight: 800 !important; padding: 3px 8px !important; border-radius: 6px !important; box-shadow: 0 2px 8px rgba(239, 68, 68, 0.45) !important; letter-spacing: -0.2px !important; line-height: 1.2 !important; display: inline-flex !important; align-items: center !important; flex-shrink: 0 !important; }
.badge-brand { background: rgba(15, 23, 42, 0.88) !important; backdrop-filter: blur(6px) !important; -webkit-backdrop-filter: blur(6px) !important; color: #ffffff !important; font-size: 9.5px !important; font-weight: 800 !important; padding: 3px 8px !important; border-radius: 6px !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important; line-height: 1.2 !important; display: inline-flex !important; align-items: center !important; margin-left: auto !important; flex-shrink: 0 !important; }
/* UNIFORM 1:1 SQUARE IMAGE WRAPPER (Guarantees ALL images have identical size) */
/* UNIFORM 1:1 SQUARE IMAGE WRAPPER (Lấp đầy khung 100%, nét căng) */
.product-thumb, .prod-img-wrap { width: 100% !important; aspect-ratio: 1 / 1 !important; height: auto !important; overflow: hidden !important; display: flex !important; align-items: center !important; justify-content: center !important; margin-bottom: 12px !important; background: #f8fafc !important; border-radius: 12px !important; border: 1px solid #e2e8f0 !important; position: relative !important; flex-shrink: 0 !important; padding: 0 !important; }
.product-thumb img, .prod-img-wrap img { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: cover !important; object-position: center !important; display: block !important; padding: 0 !important; margin: 0 !important; image-rendering: -webkit-optimize-contrast !important; image-rendering: crisp-edges !important; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important; }
.product-card:hover .product-thumb img, .product-card:hover .prod-img-wrap img { transform: scale(1.06) !important; }
/* Product Info &amp; Alignment */
.prod-info { display: flex; flex-direction: column; flex: 1 1 auto; }
.product-title, .prod-title { font-size: 13px; font-weight: 700; color: #1e293b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; height: 38px; line-height: 1.45; margin-bottom: 6px; }
.product-title a, .prod-title a { color: #1e293b; text-decoration: none; transition: color 0.2s ease; }
.product-title:hover, .prod-title:hover, .product-title a:hover, .prod-title a:hover { color: #c59b27; }
.product-specs, .prod-specs-tag { font-size: 11px; color: #64748b; background: #f8fafc; border: 1px solid #e2e8f0; padding: 3px 8px; border-radius: 4px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: 24px; line-height: 16px; box-sizing: border-box; }
.product-rating { display: flex; align-items: center; gap: 3px; margin-bottom: 8px; font-size: 11px; color: #f59e0b; height: 16px; }
.product-price-box, .prod-price-row { margin-top: auto; margin-bottom: 10px; display: flex !important; align-items: baseline !important; justify-content: space-between !important; width: 100% !important; gap: 6px; flex-wrap: nowrap !important; min-height: 24px; }
.prod-price-now { font-size: 15.5px; font-weight: 800; color: #e11d48; white-space: nowrap !important; }
.prod-price-old { font-size: 12px; color: #94a3b8; text-decoration: line-through; margin-left: auto !important; text-align: right !important; white-space: nowrap !important; }
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin-top: 0; }
.btn-buy-now { background: #c59b27; color: #ffffff; border: none; border-radius: 6px; padding: 8px 0; font-size: 12px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: background 0.2s ease; text-align: center; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.btn-buy-now:hover { background: #b38728; color: #ffffff; }
.btn-quick-cart { width: 34px; height: 32px; background: #fefbf3; color: #c59b27; border: 1px solid rgba(197, 155, 39, 0.35); border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; font-size: 14px; }
.btn-quick-cart:hover { background: #c59b27; color: #ffffff; }
/* ==================== 11. TECH NEWS ==================== */
.tech-news-section { margin: 22px 0; background: #ffffff; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); border: 1px solid #e2e8f0; overflow: hidden; }
.news-header { background: #c59b27; color: #ffffff; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; }
.news-header h2 { font-size: 15px; font-weight: 800; text-transform: uppercase; }
.news-body { padding: 16px; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.news-card { display: flex; flex-direction: column; border: 1px solid #e2e8f0; border-radius: 6px; overflow: hidden; transition: all 0.2s ease; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); border-color: #c59b27; }
.news-thumb { width: 100%; height: 140px; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-content, .news-info { padding: 14px 16px 16px 16px !important; display: flex !important; flex-direction: column !important; flex: 1 !important; box-sizing: border-box !important; }
.news-info .news-meta { margin-bottom: 8px !important; }
.news-info .news-title { margin: 0 0 8px 0 !important; font-size: 14px !important; line-height: 1.45 !important; color: #0f172a !important; }
.news-info .news-title a { color: #0f172a !important; text-decoration: none !important; }
.news-info .news-title a:hover { color: #c59b27 !important; }
.news-info .news-desc { font-size: 12px !important; line-height: 1.55 !important; color: #64748b !important; margin: 0 !important; }
.news-meta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #64748b; margin-bottom: 5px; }
.news-tag { background: #fefbf3; color: #c59b27; font-weight: 700; padding: 1px 6px; border-radius: 3px; }
.news-title { font-size: 13px; font-weight: 700; line-height: 1.4; color: #1e293b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.news-title:hover { color: #c59b27; }
.news-desc { font-size: 11.5px; color: #64748b; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; margin-top: auto; }
.news-loading-notice, .news-empty-notice { grid-column: 1 / -1; padding: 42px 20px; text-align: center; background: #f8fafc; border-radius: 6px; border: 1px dashed #cbd5e1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.news-loading-spinner { width: 30px; height: 30px; border: 3px solid #e2e8f0; border-top-color: #c59b27; border-radius: 50%; animation: spinTechNews 0.8s linear infinite; margin-bottom: 6px; }
@keyframes spinTechNews {
to { transform: rotate(360deg); }
}
.news-empty-btn { display: inline-block; margin-top: 10px; padding: 8px 18px; background: #c59b27; color: #ffffff; font-size: 12.5px; font-weight: 700; border-radius: 4px; text-decoration: none; transition: background 0.2s ease; }
.news-empty-btn:hover { background: #b8860b; }
/* ==================== 12. SHOWROOMS &amp; BRANDS ==================== */
.showroom-section { margin: 22px 0; background: #ffffff; padding: 16px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); border: 1px solid #e2e8f0; }
.sec-heading-simple { font-size: 15px; font-weight: 800; color: #1e293b; text-transform: uppercase; margin-bottom: 14px; padding-left: 8px; border-left: 4px solid #c59b27; }
.showroom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.showroom-card { border: 1px solid #e2e8f0; border-radius: 6px; padding: 12px; background: #f8fafc; transition: all 0.2s ease; }
.showroom-card:hover { background: #ffffff; border-color: #c59b27; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.showroom-city { font-size: 12.5px; font-weight: 800; color: #c59b27; margin-bottom: 4px; }
.showroom-address { font-size: 12px; color: #1e293b; margin-bottom: 6px; line-height: 1.4; }
.showroom-hours, .showroom-phone { font-size: 11.5px; color: #64748b; margin-bottom: 3px; }
.showroom-phone span { color: #ef4444; font-weight: 700; }
/* Partner Brands */
.brands-section { margin: 22px 0; background: #ffffff; padding: 16px; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); border: 1px solid #e2e8f0; }
.brands-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brand-item { height: 48px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 800; letter-spacing: 0.5px; text-align: center; padding: 0 6px; font-family: var(--font-luxury), 'Times New Roman', Georgia, serif; box-shadow: 0 1px 3px rgba(0,0,0,0.04); transition: all 0.25s ease; user-select: none; }
.brand-item:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
/* 6 Classical & Luxury Colors (User Request 1) */
.brand-item-dg { color: #b8860b !important;
/* Gold Hoàng Gia */
background: #fefce8 !important; border: 1.5px solid #fef08a !important; }
.brand-item-tn { color: #991b1b !important;
/* Đỏ Rượu Vang Bordeaux */
background: #fef2f2 !important; border: 1.5px solid #fecaca !important; }
.brand-item-cc { color: #065f46 !important;
/* Xanh Ngọc Lục Bảo Cổ Điển */
background: #f0fdf4 !important; border: 1.5px solid #bbf7d0 !important; }
.brand-item-mofi { color: #1e40af !important;
/* Xanh Lam Hoàng Gia Sapphire */
background: #eff6ff !important; border: 1.5px solid #bfdbfe !important; }
.brand-item-bn { color: #c2410c !important;
/* Nâu Cam Đồng Cổ */
background: #fff7ed !important; border: 1.5px solid #fed7aa !important; }
.brand-item-sony { color: #6b21a8 !important;
/* Tím Mận Quý Tộc Imperial */
background: #faf5ff !important; border: 1.5px solid #e9d5ff !important; }
/* ==================== 13. FOOTER ==================== */
.footer { background: #1e293b; color: #94a3b8; padding-top: 30px; margin-top: 30px; }
.footer-newsletter { background: #0f172a; padding: 18px 0; margin-bottom: 24px; border-bottom: 1px solid #334155; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.newsletter-title h3 { font-size: 15px; font-weight: 700; color: #ffffff; }
.newsletter-title p { font-size: 11.5px; color: #94a3b8; }
.newsletter-form { display: flex; max-width: 400px; width: 100%; }
.newsletter-form input { flex: 1; height: 36px; padding: 0 12px; background: #1e293b; border: 1px solid #475569; border-right: none; border-radius: 4px 0 0 4px; color: #fff; outline: none; font-size: 12.5px; }
.newsletter-form button { height: 36px; padding: 0 16px; background: #c59b27; color: #ffffff; border: none; border-radius: 0 4px 4px 0; font-weight: 700; cursor: pointer; font-size: 11.5px; text-transform: uppercase; }
.footer-columns { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 24px; padding-bottom: 24px; }
.footer-col h4 { font-size: 13.5px; font-weight: 700; color: #ffffff; text-transform: uppercase; margin-bottom: 14px; position: relative; padding-bottom: 6px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: #c59b27; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul a { font-size: 12px; color: #94a3b8; transition: color 0.15s ease; }
.footer-col ul a:hover { color: #ffffff; padding-left: 3px; }
.footer-hotline { font-size: 17px; font-weight: 800; color: #ef4444; margin: 5px 0; }
.footer-bottom { background: #0f172a; padding: 14px 0; font-size: 11.5px; text-align: center; border-top: 1px solid #334155; }
/* ==================== HD4PRO THIN THREAD GRADIENT BORDER HEADINGS ==================== */
.hd4pro-color-strip { display: flex !important; align-items: center !important; gap: 9px !important; width: fit-content !important; max-width: 100% !important; box-sizing: border-box !important; color: #0f172a !important;
/* Chữ đậm màu tối rõ nét, không làm nền màu */
font-weight: 800 !important; font-size: 14.5px !important; letter-spacing: 0.3px !important; text-transform: uppercase !important; padding: 6px 18px !important; border-radius: 9999px !important;
/* Bo tròn góc mềm mại */
margin: 22px 0 12px 0 !important; border: 1.8px solid transparent !important;
/* Dải màu sợi chỉ nhỏ bao quanh */
background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(135deg, #0284c7, #2563eb, #7c3aed) border-box !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important; line-height: 1.4 !important; transition: transform 0.2s ease, box-shadow 0.2s ease !important; }
.hd4pro-color-strip .strip-icon { font-size: 16px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; }
.hd4pro-color-strip:hover { transform: translateY(-1px) !important; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09) !important; }
@media (max-width: 640px) {
.hd4pro-color-strip { font-size: 12.5px !important; padding: 5px 14px !important; margin: 16px 0 10px 0 !important; border-radius: 12px !important; gap: 7px !important; }
.hd4pro-color-strip .strip-icon { font-size: 14px !important; }
}
/* ==================== 14. FLOATING CONTACT WIDGETS ==================== */
.floating-widgets { position: fixed; bottom: 70px; right: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 999; }
.floating-btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ffffff; box-shadow: 0 4px 12px rgba(0,0,0,0.25); cursor: pointer; transition: transform 0.2s ease; }
.floating-btn:hover { transform: scale(1.1); }
.float-hotline { background: #ef4444; animation: phoneRing 1.5s infinite; }
@keyframes phoneRing {
0% { transform: rotate(0) scale(1); }
10% { transform: rotate(-15deg) scale(1.1); }
20% { transform: rotate(15deg) scale(1.1); }
30% { transform: rotate(-15deg) scale(1.1); }
40% { transform: rotate(0) scale(1); }
100% { transform: rotate(0) scale(1); }
}
.float-zalo { background: #0068ff; font-weight: 900; font-size: 11px; }
.float-top { background: #475569; display: none; }
.float-top.show { display: flex; }
/* ==================== 15. SHOPPING CART DRAWER ==================== */
.cart-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 100004 !important; opacity: 0; visibility: hidden; transition: all 0.3s ease; backdrop-filter: blur(2px); }
.cart-overlay.active { opacity: 1 !important; visibility: visible !important; display: block !important; }
.cart-drawer { position: fixed; top: 0; right: 0; width: 380px; max-width: 92vw; height: 100%; background: #ffffff; z-index: 100005 !important;
/* MUST be higher than floating-contact-container (9998) */
transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15); }
.cart-drawer.active { transform: translateX(0) !important; }
.cart-drawer-header { padding: 16px; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; background: #f8fafc; }
.cart-drawer-header h3 { font-size: 16px; font-weight: 800; color: #0f172a; margin: 0; }
.close-cart-btn { background: none; border: none; cursor: pointer; color: #64748b; font-size: 20px; display: flex; align-items: center; justify-content: center; padding: 4px; }
.close-cart-btn:hover { color: #0f172a; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-item { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.cart-item-img { width: 60px; height: 60px; border-radius: 8px; object-fit: contain; background: #f8fafc; border: 1px solid #e2e8f0; padding: 2px; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-size: 12.5px; font-weight: 600; color: #1e293b; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.cart-item-price { font-size: 13.5px; font-weight: 800; color: #e11d48; margin-bottom: 6px; }
.cart-item-qty { display: flex; align-items: center; gap: 6px; }
.qty-btn { width: 24px; height: 24px; border: 1px solid #cbd5e1; background: #ffffff; border-radius: 4px; cursor: pointer; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.qty-btn:hover { background: #f1f5f9; }
.qty-input { width: 32px; height: 24px; text-align: center; border: 1px solid #e2e8f0; border-radius: 4px; font-size: 12px; font-weight: 700; }
.remove-item-btn { background: none; border: none; color: #94a3b8; cursor: pointer; font-size: 14px; margin-left: auto; padding: 4px; transition: color 0.2s; }
.remove-item-btn:hover { color: #ef4444; }
.cart-drawer-footer { padding: 18px 18px 45px 18px;
/* Lifted up prominently above bottom elements */
border-top: 1.5px solid #e2e8f0; background: #f8fafc; box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05); position: relative; z-index: 2; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 800; color: #0f172a; margin-bottom: 12px; }
.cart-total-val { color: #e11d48; font-size: 18px; font-weight: 800; }
.checkout-btn { width: 100%; padding: 13px; background: linear-gradient(135deg, #dfb76c 0%, #c59b27 100%); color: #11141e; color: #ffffff; border: none; border-radius: 8px; font-size: 14px; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: all 0.2s ease; letter-spacing: 0.3px; box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3); }
.checkout-btn:hover { background: linear-gradient(135deg, #e5c158 0%, #b38728 100%); box-shadow: 0 6px 16px rgba(197, 155, 39, 0.45); }
@media (max-width: 768px) {
.cart-drawer-footer { padding-bottom: calc(95px + env(safe-area-inset-bottom, 0px)); }
}
/* ==================== 16. CHECKOUT MODAL ==================== */
.checkout-modal { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65); z-index: 1010; display: none; align-items: center; justify-content: center; padding: 14px; }
.checkout-modal.active { display: flex !important; }
.checkout-box { background: #ffffff; border-radius: 10px; max-width: 460px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.checkout-box-header { padding: 12px 16px; background: #c59b27; color: #ffffff; display: flex; align-items: center; justify-content: space-between; }
.checkout-box-header h3 { font-size: 15px; font-weight: 700; }
.checkout-form { padding: 16px; }
.form-group { margin-bottom: 10px; }
.form-group label { display: block; font-size: 11.5px; font-weight: 600; color: #1e293b; margin-bottom: 3px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 7px 10px; border: 1px solid #e2e8f0; border-radius: 4px; font-size: 12.5px; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: #c59b27; }
.btn-submit-order { width: 100%; padding: 11px; background: #ef4444; color: #ffffff; border: none; border-radius: 6px; font-size: 13.5px; font-weight: 800; text-transform: uppercase; cursor: pointer; margin-top: 8px; }
.btn-submit-order:hover { background: #dc2626; }
/* ==================== 17. QUICK VIEW MODAL ==================== */
.quick-view-modal { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65); z-index: 1010; display: none; align-items: center; justify-content: center; padding: 14px; }
.quick-view-modal.active { display: flex !important; }
.quick-view-box { background: #ffffff; border-radius: 10px; max-width: 620px; width: 100%; position: relative; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.qv-close-btn { position: absolute; top: 10px; right: 10px; background: #f1f5f9; border: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; }
.qv-content { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; padding: 18px; }
.qv-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; }
.qv-title { font-size: 15px; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }
.qv-price-box { margin-bottom: 10px; }
.qv-specs { font-size: 11.5px; background: #f8fafc; padding: 8px; border-radius: 6px; margin-bottom: 14px; line-height: 1.6; }
/* ==================== 18. TOAST NOTIFICATION ==================== */
.toast-msg { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(100px); background: #1e293b; color: #ffffff; padding: 9px 18px; border-radius: 30px; font-size: 12.5px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,0.2); z-index: 2000; transition: transform 0.3s ease; display: flex; align-items: center; gap: 8px; }
.toast-msg.show { transform: translateX(-50%) translateY(0); }
/* ==================== 19. MOBILE BOTTOM BAR ==================== */
.mobile-nav-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; height: 52px; background: #ffffff; border-top: 1px solid #e2e8f0; box-shadow: 0 -2px 10px rgba(0,0,0,0.06); z-index: 990; }
.mobile-nav-grid { display: grid; grid-template-columns: repeat(5, 1fr); height: 100%; }
.mob-nav-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 9.5px; color: #64748b; position: relative; }
.mob-nav-btn.active, .mob-nav-btn:hover { color: #c59b27; }
.mob-nav-badge { position: absolute; top: 5px; right: 22%; background: #ef4444; color: #ffffff; font-size: 9px; font-weight: 800; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
/* Single post */
.blogger-post-wrap { background: #ffffff; padding: 20px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); margin: 18px 0; }
.blogger-post-title { font-size: 22px; font-weight: 800; color: #1e293b; margin-bottom: 10px; }
.blogger-post-meta { display: flex; align-items: center; gap: 12px; font-size: 11.5px; color: #64748b; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid #e2e8f0; }
.blogger-post-body { font-size: 14.5px; line-height: 1.7; color: #334155; }
.blogger-post-body img { margin: 14px auto; border-radius: 6px; }
/* ==================== 20. ROBUST RESPONSIVE BREAKPOINTS (4 PRODUCTS GRID) ==================== */
/* Large Desktop &amp; Laptops (>= 1200px): EXACTLY 4 COLUMNS, CLEAN &amp; ROOMY */
@media (min-width: 1200px) {
.product-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; }
.flash-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; }
}
/* Standard Laptops &amp; Tablets Landscape (992px - 1199px): EXACTLY 4 COLUMNS */
@media (max-width: 1199px) and (min-width: 992px) {
.hero-right-promo { display: none; }
.hero-slider-wrap { height: 380px; }
.sub-banner-card { height: 170px; }
.hero-sub-banners { grid-template-columns: repeat(3, 1fr); gap: 12px; }
/* hero-sidebar preserved at 340px */
.nav-cat-btn { width: 230px; }
.product-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 14px !important; }
.flash-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 14px !important; }
}
/* Tablet Portrait (768px - 991px): 2 COLUMNS (2x2 GRID FOR 4 PRODUCTS) */
@media (max-width: 991px) and (min-width: 768px) {
.topbar { display: none !important; }
/* hero-sidebar preserved at 340px */
.nav-cat-btn { width: 210px; }
.hero-right-promo { display: none; }
.hero-slider-wrap { height: 340px; }
.sub-banner-card { height: 140px; }
.hero-sub-banners { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.policy-grid { grid-template-columns: repeat(2, 1fr); }
.footer-columns { grid-template-columns: repeat(2, 1fr); }
.brands-grid { grid-template-columns: repeat(4, 1fr); }
.mid-banners-grid { grid-template-columns: 1fr; }
.showroom-grid { grid-template-columns: 1fr; }
.news-grid { grid-template-columns: repeat(2, 1fr); }
.product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
.flash-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
}
/* Mobile Screens (< 768px): 2 COLUMNS BALANCED */
@media (max-width: 767px) {
/* Showroom: 1 dòng riêng cho mỗi chi nhánh, xếp dọc từ trên xuống */
.showroom-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
.showroom-card { width: 100% !important; box-sizing: border-box !important; }
.topbar { display: none !important; }
.header-actions .header-btn:not(.cart-trigger) { display: none; }
.main-header .container { flex-wrap: wrap; gap: 10px; }
.header-search { order: 3; max-width: 100%; width: 100%; }
.search-cat { display: none; }
.main-nav { display: block; }
.nav-cat-btn { width: 100%; border-radius: 4px; margin-bottom: 4px; }
.nav-menu { display: flex; overflow-x: auto; }
.hero-grid { display: block; width: 100%; }
.hero-main-area { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.hero-top-row { display: flex; gap: 16px; align-items: stretch; width: 100%; }
.hero-slider-wrap { flex: 1; min-width: 0; height: 440px; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.12); position: relative; }
.hero-right-promo { width: 360px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; height: 440px; }
.hero-sub-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.hero-top-row { flex-direction: column; }
.hero-right-promo { display: none; }
.hero-sub-banners { grid-template-columns: 1fr; gap: 10px; }
.sub-banner-card { height: 130px; }
.hero-sidebar { width: 100%; }
.mega-menu { display: none !important; }
.hero-slider-wrap { width: 100%; height: 240px; }
.slide-overlay { padding: 0 16px; }
.slide-title { font-size: 18px; }
.slide-desc { display: none; }
.flash-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
.product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
.news-grid { grid-template-columns: 1fr; }
.policy-grid { grid-template-columns: 1fr; }
.footer-columns { grid-template-columns: 1fr; }
.brands-grid { grid-template-columns: repeat(3, 1fr); }
.mobile-nav-bar { display: block; }
.qv-content { grid-template-columns: 1fr; }
.cat-sec-header { flex-direction: column; align-items: flex-start; }
.cat-sec-tabs { width: 100%; }
}
/* ==================== 21. DEDICATED NEWS PAGE LAYOUT (2/3 + 1/3) ==================== */
.news-page-container { padding-top: 18px; padding-bottom: 36px; }
.breadcrumb-nav { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #64748b; margin-bottom: 16px; }
.breadcrumb-nav a { color: #c59b27; text-decoration: none; font-weight: 600; }
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-nav span { color: #94a3b8; }
.breadcrumb-nav .current-crumb { color: #1e293b; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-page-layout { display: grid; grid-template-columns: 2fr 1fr;
/* 2/3 News, 1/3 Products Sidebar */
gap: 24px; align-items: flex-start; }
.news-page-main { min-width: 0; background: #ffffff; border-radius: 8px; padding: 22px; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.news-page-header { border-bottom: 2px solid #c59b27; padding-bottom: 12px; margin-bottom: 22px; }
.news-page-title { font-size: 20px; font-weight: 800; color: #1e293b; text-transform: uppercase; display: flex; align-items: center; gap: 10px; letter-spacing: -0.3px; }
.news-page-title .title-icon { color: #c59b27; display: flex; }
.news-page-subtitle { font-size: 13px; color: #64748b; margin-top: 4px; }
/* News List Items (Horizontal Card) */
.news-list-wrapper { display: flex; flex-direction: column; gap: 20px; }
.news-list-card { display: flex; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid #f1f5f9; transition: transform 0.2s ease; }
.news-list-card:last-child { border-bottom: none; padding-bottom: 0; }
.news-list-thumb { width: 250px; height: 160px; flex-shrink: 0; border-radius: 8px; overflow: hidden; position: relative; background: #f8fafc; }
.news-list-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.news-list-card:hover .news-list-thumb img { transform: scale(1.07); }
.news-list-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.news-list-meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #64748b; margin-bottom: 6px; }
.news-tag { background: #fefbf3; color: #c59b27; font-weight: 800; padding: 2px 7px; border-radius: 3px; font-size: 10px; }
.news-list-title { font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.news-list-title a { color: #1e293b; text-decoration: none; transition: color 0.2s ease; }
.news-list-title a:hover { color: #c59b27; }
.news-list-desc { font-size: 13px; color: #64748b; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.news-read-more { align-self: flex-start; margin-top: auto; font-size: 12.5px; font-weight: 700; color: #c59b27; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: transform 0.2s ease; }
.news-read-more:hover { transform: translateX(4px); color: #dfb76c; }
/* Cleaned legacy green blog-pager CSS (active pagination at line 6405) */
/* Right Sidebar: Products Sidebar (1/3 width) */
.news-page-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget { background: #ffffff; border-radius: 8px; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0,0,0,0.06); overflow: hidden; }
.sidebar-widget-header { background: #f8fafc; padding: 12px 16px; border-bottom: 2px solid #c59b27; display: flex; align-items: center; justify-content: space-between; }
.sidebar-widget-title { font-size: 13.5px; font-weight: 800; color: #1e293b; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.sidebar-widget-body { padding: 14px; }
/* Sidebar Product Item (Vertical compact) */
.sidebar-product-list { display: flex; flex-direction: column; gap: 12px; }
.sidebar-product-item { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; text-decoration: none; transition: background 0.15s ease; }
.sidebar-product-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-prod-thumb { width: 68px; height: 68px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #f8fafc; border: 1px solid #e2e8f0; }
.sidebar-prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.sidebar-product-item:hover .sidebar-prod-thumb img { transform: scale(1.08); }
.sidebar-prod-info { flex: 1; min-width: 0; }
.sidebar-prod-title { font-size: 12.5px; font-weight: 700; color: #1e293b; line-height: 1.35; margin-bottom: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-product-item:hover .sidebar-prod-title { color: #c59b27; }
.sidebar-prod-specs { font-size: 10.5px; color: #64748b; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-prod-price { display: flex; align-items: center; gap: 6px; }
.sidebar-price-now { font-size: 13.5px; font-weight: 800; color: #ef4444; }
.sidebar-price-old { font-size: 10.5px; color: #94a3b8; text-decoration: line-through; }
/* Sidebar Promo Banner */
.sidebar-promo-banner { display: block; border-radius: 8px; overflow: hidden; position: relative; height: 160px; background-size: cover; background-position: center; box-shadow: 0 1px 3px rgba(0,0,0,0.06); text-decoration: none; transition: transform 0.2s ease; }
.sidebar-promo-banner:hover { transform: translateY(-2px); }
.sidebar-promo-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.88) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; }
.sidebar-promo-tag { align-self: flex-start; background: #c59b27; color: #ffffff; font-size: 9.5px; font-weight: 800; padding: 2px 6px; border-radius: 3px; margin-bottom: 4px; text-transform: uppercase; }
.sidebar-promo-title { font-size: 13.5px; font-weight: 800; color: #ffffff; line-height: 1.3; margin-bottom: 2px; }
.sidebar-promo-desc { font-size: 11px; color: #cbd5e1; }
/* Sidebar Hotline Support */
.sidebar-support-box { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #ffffff; padding: 16px; border-radius: 8px; text-align: center; border: 1px solid rgba(197, 155, 39, 0.35); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
.sidebar-support-box h4 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.sidebar-support-box p { font-size: 11.5px; opacity: 0.9; margin-bottom: 10px; }
.sidebar-support-hotline { font-size: 18px; font-weight: 900; color: #ffeb3b; display: block; margin-bottom: 10px; letter-spacing: 0.5px; }
.sidebar-support-btns { display: flex; gap: 8px; justify-content: center; }
.sidebar-support-btn { padding: 6px 12px; border-radius: 4px; font-size: 11px; font-weight: 700; text-decoration: none; background: #ffffff; color: #c59b27; transition: all 0.2s ease; }
.sidebar-support-btn:hover { background: #f1f5f9; }
/* Floating Preview Switcher (for preview.html) */
.preview-mode-bar { background: #1e293b; color: #ffffff; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 9999; font-size: 13px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.preview-mode-tabs { display: flex; gap: 8px; }
.preview-mode-btn { background: rgba(255, 255, 255, 0.12); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.2); padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.2s ease; }
.preview-mode-btn.active, .preview-mode-btn:hover { background: #c59b27; border-color: #c59b27; color: #ffffff; }
/* Responsive for News Page Layout */
@media (max-width: 991px) {
.news-page-layout { grid-template-columns: 1fr; gap: 20px; }
.news-list-thumb { width: 200px; height: 135px; }
}
@media (max-width: 576px) {
.news-list-card { flex-direction: column; gap: 12px; }
.news-list-thumb { width: 100%; height: 180px; }
}
/* ============================================================
   22. SALES PROOF / SOCIAL PROOF POPUP NOTIFICATION (FEATURE 6)
   ============================================================ */
.sales-proof-toast { position: fixed; bottom: 24px; left: 24px; z-index: 9999; background: #ffffff; border-radius: 12px; border: 1px solid #e2e8f0; border-left: 4px solid #c59b27; box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.14), 0 4px 8px -2px rgba(0, 0, 0, 0.06); padding: 10px 14px; max-width: 360px; display: flex; align-items: center; gap: 12px; transform: translateY(40px) scale(0.95); opacity: 0; pointer-events: none; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease; }
.sales-proof-toast.show { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.sales-proof-thumb { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; border: 1px solid #edf2f7; flex-shrink: 0; }
.sales-proof-content { flex: 1; min-width: 0; }
.sales-proof-header { display: flex; align-items: center; gap: 6px; font-size: 11px; margin-bottom: 2px; }
.sales-proof-buyer { font-weight: 700; color: #1e293b; }
.sales-proof-city { color: #64748b; }
.sales-proof-badge { background: #fefbf3; color: #c59b27; font-weight: 700; font-size: 9.5px; padding: 1px 5px; border-radius: 4px; display: inline-flex; align-items: center; gap: 2px; }
.sales-proof-title { font-size: 12px; font-weight: 600; color: #0f172a; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 3px; }
.sales-proof-footer { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.sales-proof-time { color: #94a3b8; }
.sales-proof-price { color: #e11d48; font-weight: 700; }
.sales-proof-close { background: none; border: none; font-size: 18px; color: #94a3b8; cursor: pointer; padding: 0 4px; line-height: 1; align-self: flex-start; transition: color 0.2s; }
.sales-proof-close:hover { color: #ef4444; }
@media (max-width: 768px) {
.sales-proof-toast { bottom: 84px; left: 12px; right: 12px; max-width: calc(100% - 24px); }
}
/* ============================================================
   23. SINGLE PRODUCT DETAIL PAGE LAYOUT (FEATURE 7)
   ============================================================ */
.product-page-container { padding-top: 16px; padding-bottom: 40px; }
.product-detail-hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; background: #ffffff; border-radius: 14px; padding: 22px; border: 1px solid #e2e8f0; box-shadow: 0 2px 10px rgba(0,0,0,0.03); margin-bottom: 24px; align-items: flex-start; }
/* Gallery Left */
.product-gallery-box { display: flex; flex-direction: column; gap: 14px; }
.product-gallery-main { position: relative; width: 100%; aspect-ratio: 1/1; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-gallery-main:hover img { transform: scale(1.04); }
.product-gallery-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.pg-badge-discount { background: #e11d48; color: #ffffff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 4px; box-shadow: 0 2px 6px rgba(225, 29, 72, 0.4); }
.pg-badge-installment { background: #f59e0b; color: #ffffff; font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 4px; }
.pg-badge-brand { background: #0f172a; color: #ffffff; font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 4px; }
/* Gallery Thumbs */
.product-gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb-item { width: 72px; height: 72px; border-radius: 8px; border: 2px solid #e2e8f0; background: #f8fafc; overflow: hidden; cursor: pointer; flex-shrink: 0; transition: all 0.2s ease; }
.gallery-thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb-item:hover, .gallery-thumb-item.active { border-color: #c59b27; box-shadow: 0 0 0 2px rgba(197, 155, 39, 0.2); }
/* Guarantees list under gallery */
.product-commitments { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px; padding: 10px; margin-top: 6px; }
.commit-item { display: flex; align-items: flex-start; gap: 8px; font-size: 11.5px; }
.commit-icon { font-size: 16px; flex-shrink: 0; line-height: 1.2; }
.commit-text strong { display: block; color: #0f172a; font-size: 11.5px; font-weight: 700; }
.commit-text span { color: #64748b; font-size: 10.5px; }
/* Buy Info Right */
.product-buy-box { display: flex; flex-direction: column; gap: 14px; }
.product-detail-title { font-size: 21px; font-weight: 800; color: #0f172a; line-height: 1.35; margin: 0; }
.product-detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; color: #64748b; border-bottom: 1px solid #f1f5f9; padding-bottom: 10px; }
.product-stars { color: #f59e0b; font-weight: 700; }
.product-stock-tag { color: #c59b27; font-weight: 700; background: #fefbf3; padding: 2px 7px; border-radius: 4px; display: inline-flex; align-items: center; gap: 4px; }
/* Price Box */
.product-price-card { background: #f8fafc; border-radius: 10px; padding: 14px 18px; border: 1px solid #e2e8f0; display: flex; flex-direction: column; gap: 6px; }
.price-main-row { display: flex; align-items: baseline; gap: 12px; }
.price-current { font-size: 26px; font-weight: 900; color: #e11d48; }
.price-original { font-size: 15px; color: #94a3b8; text-decoration: line-through; }
.price-save-badge { background: #fee2e2; color: #b91c1c; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.price-installment-hint { font-size: 12px; color: #475569; }
.price-installment-hint strong { color: #c59b27; }
/* Gift Box */
.product-gift-card { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 12px 16px; position: relative; overflow: hidden; }
.gift-card-header { display: flex; align-items: center; gap: 8px; color: #b45309; font-weight: 800; font-size: 13px; margin-bottom: 8px; }
.gift-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.gift-list li { font-size: 12px; color: #451a03; display: flex; align-items: flex-start; gap: 6px; line-height: 1.4; }
.gift-num { background: #f59e0b; color: #ffffff; border-radius: 50%; width: 16px; height: 16px; font-size: 10px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
/* Variant Selector */
.product-variants { display: flex; flex-direction: column; gap: 10px; }
.variant-group-label { font-size: 12.5px; font-weight: 700; color: #1e293b; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-btn { background: #ffffff; border: 1.5px solid #cbd5e1; border-radius: 6px; padding: 6px 12px; font-size: 12px; color: #334155; cursor: pointer; transition: all 0.2s ease; }
.variant-btn.active, .variant-btn:hover { border-color: #c59b27; color: #c59b27; background: #fef9ee; font-weight: 700; }
/* Action Buttons */
.product-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-buy-instant { background: linear-gradient(135deg, #e11d48 0%, #b38728 100%); color: #ffffff; border: none; border-radius: 8px; padding: 12px 14px; text-align: center; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3); }
.btn-buy-instant:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(225, 29, 72, 0.4); }
.btn-buy-instant .btn-main-txt { display: block; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.3px; }
.btn-buy-instant .btn-sub-txt { display: block; font-size: 10.5px; opacity: 0.9; font-weight: 500; }
.btn-installment-instant { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); color: #ffffff; border: none; border-radius: 8px; padding: 12px 14px; text-align: center; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3); }
.btn-installment-instant:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4); }
.btn-installment-instant .btn-main-txt { display: block; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.3px; }
.btn-installment-instant .btn-sub-txt { display: block; font-size: 10.5px; opacity: 0.9; font-weight: 500; }
.product-secondary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-cart-add-sec { background: #ffffff; border: 1.5px solid #c59b27; color: #c59b27; border-radius: 8px; padding: 9px 12px; font-size: 12.5px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; transition: all 0.2s; }
.btn-cart-add-sec:hover { background: #fefbf3; }
.btn-zalo-chat-sec { background: #0068ff; border: none; color: #ffffff; border-radius: 8px; padding: 9px 12px; font-size: 12.5px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; transition: all 0.2s; }
.btn-zalo-chat-sec:hover { background: #0056d6; }
.product-hotline-note { font-size: 11.5px; color: #64748b; text-align: center; }
.product-hotline-note a { color: #e11d48; font-weight: 700; }
/* Tabs Section */
.product-tabs-wrapper { background: #ffffff; border-radius: 14px; border: 1px solid #e2e8f0; box-shadow: 0 2px 10px rgba(0,0,0,0.03); overflow: hidden; margin-bottom: 24px; }
.product-tab-nav { display: flex; border-bottom: 2px solid #f1f5f9; background: #f8fafc; overflow-x: auto; }
.product-tab-btn { padding: 14px 20px; font-size: 13.5px; font-weight: 700; color: #64748b; border: none; background: transparent; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: all 0.2s; }
.product-tab-btn.active, .product-tab-btn:hover { color: #c59b27; border-bottom-color: #c59b27; background: #ffffff; }
.product-tab-pane { display: none; padding: 24px; }
.product-tab-pane.active { display: block; }
/* Specs Table */
.specs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.specs-table tr:nth-child(odd) { background: #f8fafc; }
.specs-table th, .specs-table td { padding: 10px 14px; border: 1px solid #e2e8f0; text-align: left; }
.specs-table th { width: 25%; font-weight: 700; color: #334155; background: #f1f5f9; }
.specs-table td { color: #0f172a; }
/* Installment Modal */
.installment-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.65); backdrop-filter: blur(4px); z-index: 10000; align-items: center; justify-content: center; padding: 16px; }
.installment-modal.open { display: flex; }
.installment-dialog { background: #ffffff; border-radius: 16px; width: 100%; max-width: 580px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); overflow: hidden; animation: modalFadeIn 0.3s ease; }
.installment-header { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); color: #ffffff; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.installment-header h3 { font-size: 16px; font-weight: 800; margin: 0; }
.installment-close-btn { background: none; border: none; color: #ffffff; font-size: 22px; cursor: pointer; line-height: 1; }
.installment-body { padding: 20px; max-height: 75vh; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.inst-product-brief { display: flex; align-items: center; gap: 12px; background: #f8fafc; padding: 10px 14px; border-radius: 8px; border: 1px solid #e2e8f0; }
.inst-product-brief img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.inst-form-group label { display: block; font-size: 12.5px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.inst-select-row { display: flex; gap: 8px; flex-wrap: wrap; }
.inst-btn-choice { flex: 1; min-width: 80px; padding: 8px 10px; border: 1.5px solid #cbd5e1; border-radius: 6px; background: #ffffff; font-size: 12px; font-weight: 600; color: #334155; cursor: pointer; text-align: center; transition: all 0.2s; }
.inst-btn-choice.active { border-color: #0284c7; color: #0284c7; background: #f0f9ff; font-weight: 700; }
.inst-calc-result { background: #fef9ee; border: 1px solid rgba(197, 155, 39, 0.35); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.inst-res-row { display: flex; justify-content: space-between; font-size: 12.5px; color: #334155; }
.inst-res-row.highlight { font-size: 15px; font-weight: 800; color: #c59b27; border-top: 1px dashed #86efac; padding-top: 8px; }
.btn-inst-submit-zalo { background: #c59b27; color: #ffffff; border: none; border-radius: 8px; padding: 12px; font-size: 13.5px; font-weight: 800; cursor: pointer; text-align: center; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.2s; }
.btn-inst-submit-zalo:hover { background: #067e3d; }
/* Responsive for Product Detail */
@media (max-width: 991px) {
.product-detail-hero { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 576px) {
.product-action-grid, .product-secondary-actions { grid-template-columns: 1fr; }
.product-commitments { grid-template-columns: 1fr; }
.price-main-row { flex-wrap: wrap; gap: 6px; }
.price-current { font-size: 22px; }
}
/* ============================================================
   24. PRODUCT CATEGORY / LABEL ARCHIVE PAGE LAYOUT
   ============================================================ */
.category-page-container { padding-top: 16px; padding-bottom: 40px; }
.category-header-hero { background: linear-gradient(135deg, #067e3d 0%, #c59b27 50%, #e5c158 100%); border-radius: 14px; padding: 24px 28px; color: #ffffff; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(197, 155, 39, 0.2); display: flex; flex-direction: column; gap: 12px; }
.cat-hero-title-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.cat-hero-title { font-size: 24px; font-weight: 900; margin: 0; display: flex; align-items: center; gap: 10px; letter-spacing: 0.3px; }
.cat-hero-badge { background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.4); font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 20px; backdrop-filter: blur(4px); }
.cat-hero-desc { font-size: 13px; opacity: 0.95; margin: 0; line-height: 1.5; max-width: 800px; }
.cat-quick-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cat-chip { background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3); color: #ffffff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 16px; text-decoration: none; transition: all 0.2s ease; }
.cat-chip:hover, .cat-chip.active { background: #ffffff; color: #c59b27; font-weight: 700; border-color: #ffffff; transform: translateY(-1px); }
/* Filter &amp; Sort Bar */
.category-filter-bar { background: #ffffff; border-radius: 12px; border: 1px solid #e2e8f0; padding: 16px 20px; margin-bottom: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); display: flex; flex-direction: column; gap: 14px; }
.filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.filter-label { font-size: 12.5px; font-weight: 700; color: #1e293b; min-width: 100px; display: flex; align-items: center; gap: 6px; }
.filter-options { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.filter-btn { background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px 12px; font-size: 12px; font-weight: 500; color: #475569; cursor: pointer; transition: all 0.2s ease; }
.filter-btn:hover, .filter-btn.active { background: #fefbf3; border-color: #c59b27; color: #c59b27; font-weight: 700; }
.filter-sort-row { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f1f5f9; padding-top: 12px; flex-wrap: wrap; gap: 10px; }
.filter-count-info { font-size: 13px; color: #64748b; }
.filter-count-info strong { color: #c59b27; font-weight: 700; }
.filter-sort-group { display: flex; align-items: center; gap: 8px; }
.filter-sort-select { padding: 6px 12px; border: 1.5px solid #cbd5e1; border-radius: 6px; font-size: 12.5px; color: #1e293b; background: #ffffff; cursor: pointer; outline: none; transition: border-color 0.2s; }
.filter-sort-select:focus { border-color: #c59b27; }
/* SEO Footer Box for Category */
.category-seo-box { margin-top: 36px; background: #ffffff; border-radius: 12px; border: 1px solid #e2e8f0; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.03); }
.cat-seo-title { font-size: 17px; font-weight: 800; color: #0f172a; margin-bottom: 12px; border-left: 4px solid #c59b27; padding-left: 10px; }
.cat-seo-content { font-size: 13px; color: #475569; line-height: 1.7; }
.cat-seo-content h4 { font-size: 14.5px; color: #0f172a; margin: 14px 0 6px; font-weight: 700; }
.cat-seo-content ul { padding-left: 20px; margin: 8px 0; }
.cat-seo-content li { margin-bottom: 4px; }
@media (max-width: 768px) {
.cat-hero-title { font-size: 20px; }
.filter-label { min-width: 100%; margin-bottom: 2px; }
.filter-sort-row { flex-direction: column; align-items: flex-start; }
}
/* ============================================================
   25. LIVE SEARCH AUTOCOMPLETE (FEATURE 1)
   ============================================================ */
.header-search { position: relative; }
.live-search-dropdown { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #ffffff; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16); z-index: 9999; max-height: 480px; overflow-y: auto; display: none; animation: modalFadeIn 0.2s ease; }
.live-search-dropdown.open { display: block; }
.live-search-header { padding: 10px 14px; background: #f8fafc; border-bottom: 1px solid #edf2f7; font-size: 11.5px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.4px; display: flex; align-items: center; justify-content: space-between; }
.search-trending-chips { padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #f1f5f9; }
.search-trend-chip { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 16px; padding: 4px 10px; font-size: 11.5px; color: #334155; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.search-trend-chip:hover { background: #fefbf3; border-color: #c59b27; color: #c59b27; font-weight: 700; }
.live-search-results-list { padding: 6px 0; display: flex; flex-direction: column; }
.search-res-item { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-bottom: 1px solid #f8fafc; transition: background 0.15s; text-decoration: none; color: inherit; }
.search-res-item:hover { background: #fef9ee; }
.search-res-thumb { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; border: 1px solid #edf2f7; flex-shrink: 0; }
.search-res-info { flex: 1; min-width: 0; }
.search-res-title { font-size: 12.5px; font-weight: 600; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.search-res-specs { font-size: 10.5px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-res-price { font-size: 12.5px; font-weight: 800; color: #e11d48; }
.search-view-all-link { display: block; text-align: center; padding: 10px; background: #f8fafc; border-top: 1px solid #e2e8f0; font-size: 12px; font-weight: 700; color: #c59b27; text-decoration: none; transition: background 0.2s; }
.search-view-all-link:hover { background: #fefbf3; }
/* ============================================================
   26. UNIFIED FLOATING CONTACT BUTTON &amp; MODAL (FEATURE 2)
   ============================================================ */
.floating-contact-container { position: fixed; bottom: 24px; right: 24px; z-index: 9998; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.floating-contact-trigger { background: linear-gradient(135deg, #c59b27 0%, #067e3d 100%); color: #ffffff; border: none; border-radius: 50px; padding: 12px 18px; font-size: 13.5px; font-weight: 800; cursor: pointer; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(197, 155, 39, 0.4); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); position: relative; animation: pulseGreenGlow 2s infinite; }
@keyframes pulseGreenGlow {
0% { box-shadow: 0 0 0 0 rgba(197, 155, 39, 0.6); }
70% { box-shadow: 0 0 0 14px rgba(197, 155, 39, 0); }
100% { box-shadow: 0 0 0 0 rgba(197, 155, 39, 0); }
}
.floating-contact-trigger:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 28px rgba(197, 155, 39, 0.5); }
.floating-contact-icon { font-size: 18px; display: flex; align-items: center; }
.contact-popup-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); z-index: 10001; align-items: center; justify-content: center; padding: 16px; }
.contact-popup-modal.open { display: flex; }
.contact-popup-dialog { background: #ffffff; border-radius: 16px; width: 100%; max-width: 460px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2); overflow: hidden; animation: modalFadeIn 0.3s ease; }
.contact-popup-header { background: linear-gradient(135deg, #c59b27 0%, #067e3d 100%); color: #ffffff; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.contact-popup-header h3 { font-size: 16px; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 8px; }
.contact-popup-close { background: none; border: none; color: #ffffff; font-size: 22px; cursor: pointer; line-height: 1; }
.contact-popup-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.contact-section-title { font-size: 11.5px; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }
.contact-channel-card { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; text-decoration: none; transition: all 0.2s ease; }
.contact-channel-card:hover { background: #fef9ee; border-color: #c59b27; transform: translateX(3px); }
.contact-channel-left { display: flex; align-items: center; gap: 12px; }
.contact-channel-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.icon-phone { background: #fee2e2; color: #ef4444; }
.icon-zalo { background: #e0f2fe; color: #0284c7; font-weight: 900; font-size: 11px; }
.icon-fb { background: #dbeafe; color: #2563eb; }
.contact-channel-name { font-size: 13px; font-weight: 700; color: #0f172a; }
.contact-channel-desc { font-size: 11.5px; color: #64748b; }
.contact-channel-action { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: #ffffff; border: 1px solid #cbd5e1; color: #334155; white-space: nowrap; }
.contact-channel-card:hover .contact-channel-action { background: #c59b27; border-color: #c59b27; color: #ffffff; }
/* ============================================================
   28. SINGLE PRODUCT PAGE LAYOUT WITH RIGHT SIDEBAR (FEATURE 4 - BALANCED &amp; RESPONSIVE)
   ============================================================ */
.product-page-layout { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: flex-start; }
.product-page-main { min-width: 0; }
.product-page-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-widget { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.sidebar-widget-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1.5px solid #f1f5f9; }
.sidebar-widget-title { font-size: 13px; font-weight: 800; color: #0f172a; display: flex; align-items: center; gap: 6px; text-transform: uppercase; }
/* Sidebar Product Item (Dual class support for both template and feed loader) */
.sidebar-product-item, .sidebar-prod-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #f1f5f9; text-decoration: none; color: inherit; transition: all 0.2s ease; }
.sidebar-product-item:last-child, .sidebar-prod-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-product-item:hover, .sidebar-prod-item:hover { transform: translateX(3px); }
.sidebar-product-thumb, .sidebar-prod-thumb { width: 58px; height: 58px; border-radius: 8px; object-fit: contain; background: #f8fafc; border: 1px solid #e2e8f0; flex-shrink: 0; padding: 2px; }
.sidebar-product-info, .sidebar-prod-info { flex: 1; min-width: 0; }
.sidebar-product-title, .sidebar-prod-title { font-size: 12px; font-weight: 600; color: #1e293b; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; margin-bottom: 3px; }
.sidebar-product-item:hover .sidebar-product-title, .sidebar-prod-item:hover .sidebar-prod-title { color: #c59b27; }
.sidebar-product-price, .sidebar-prod-price { font-size: 13px; font-weight: 800; color: #e11d48; }
.sidebar-product-stars { font-size: 10.5px; color: #f59e0b; }
/* Sidebar News Item */
.sidebar-news-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #f1f5f9; text-decoration: none; color: inherit; transition: all 0.2s; }
.sidebar-news-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-news-item:hover { transform: translateX(3px); }
.sidebar-news-thumb { width: 68px; height: 50px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.sidebar-news-info { flex: 1; min-width: 0; }
.sidebar-news-title { font-size: 12px; font-weight: 600; color: #1e293b; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 3px; }
.sidebar-news-item:hover .sidebar-news-title { color: #c59b27; }
.sidebar-news-date { font-size: 10.5px; color: #94a3b8; }
@media (max-width: 1199px) {
.product-page-layout { grid-template-columns: 1fr 260px; gap: 18px; }
}
@media (max-width: 1024px) {
.product-page-layout { grid-template-columns: 1fr; gap: 20px; }
.product-page-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 640px) {
.product-page-sidebar { grid-template-columns: 1fr; }
}
/* ==================== 30. AUTOMATIC TABLE OF CONTENTS (TOC - REQUIREMENT 3) ==================== */
.post-toc-box { background: #f8fafc; border: 1.5px solid #e2e8f0; border-left: 4px solid #c59b27; border-radius: 10px; padding: 14px 18px; margin: 18px 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03); }
.toc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #e2e8f0; }
.toc-title { font-size: 13.5px; font-weight: 800; color: #0f172a; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.3px; }
.toc-toggle-btn { background: none; border: none; color: #c59b27; font-weight: 700; font-size: 12px; cursor: pointer; padding: 2px 6px; border-radius: 4px; }
.toc-toggle-btn:hover { background: #fef9ee; }
.toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.toc-item { font-size: 13px; line-height: 1.5; }
.toc-item a { color: #334155; text-decoration: none; transition: color 0.2s; display: inline-block; }
.toc-item a:hover { color: #c59b27; text-decoration: underline; font-weight: 600; }
.toc-level-1 { font-weight: 600; color: #0f172a; }
.toc-level-2 { padding-left: 18px; font-size: 12.5px; color: #475569; }
.toc-level-3 { padding-left: 32px; font-size: 12px; color: #64748b; }
.toc-level-4 { padding-left: 44px; font-size: 11.5px; color: #64748b; }
/* Specific styling for TOC placed directly below product hero */
.product-page-main > .post-toc-box { background: #ffffff; border: 1px solid #e2e8f0; border-left: 4px solid #c59b27; border-radius: 12px; padding: 16px 20px; margin: 0 0 24px 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); }
/* ==================== 31. MOBILE 1-PRODUCT CAROUSEL CONTROLS (REQUIREMENT 5) ==================== */
.mobile-grid-nav-wrap { display: none; align-items: center; justify-content: center; margin-top: 14px; padding: 6px 0; }
.mobile-grid-nav-bar { display: flex; align-items: center; gap: 16px; background: #ffffff; border: 1.5px solid #e2e8f0; border-radius: 30px; padding: 6px 16px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
.mobile-nav-arrow { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #cbd5e1; background: #f8fafc; color: #0f172a; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; line-height: 1; }
.mobile-nav-arrow:hover, .mobile-nav-arrow:active { background: #c59b27; color: #ffffff; border-color: #c59b27; }
.mobile-product-indicator { font-size: 13px; font-weight: 800; color: #0f172a; min-width: 45px; text-align: center; }
/* ==================== 32. CART DRAWER ELEVATION &amp; PREVENT COVERING ==================== */
.cart-drawer { z-index: 10025 !important; }
.cart-overlay { z-index: 10024 !important; }
.cart-drawer-footer { padding: 16px 20px 24px 20px !important; background: #ffffff !important; box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08) !important; position: relative !important; z-index: 10 !important; }
.cart-total-row { display: flex !important; justify-content: space-between !important; align-items: center !important; margin-bottom: 14px !important; padding-bottom: 10px !important; border-bottom: 1px dashed #cbd5e1 !important; }
body.cart-open .floating-contact-container, body.cart-open .mobile-bottom-nav, body.cat-drawer-open .floating-contact-container, body.cat-drawer-open .mobile-bottom-nav { display: none !important; opacity: 0 !important; pointer-events: none !important; }
@media (max-width: 767px) {
/* Header symmetry: Left: Category ☰, Center: Logo, Right: Cart (Requirement 4 &amp; 6) */
.header-mobile-cat-btn { display: flex !important; order: 1 !important; }
.header-logo { order: 2 !important; flex: 1 !important; display: flex !important; justify-content: center !important; }
.header-actions { order: 3 !important; display: flex !important; align-items: center !important; }
.header-actions .header-btn:not(.cart-trigger) { display: none !important; }
.header-search { order: 4 !important; width: 100% !important; margin-top: 8px !important; }
.main-header .container { display: flex !important; align-items: center !important; justify-content: space-between !important; flex-wrap: wrap !important; gap: 6px !important; }
/* Hide left-categories from normal page flow on mobile (Requirement 4) */
.hero-sidebar { display: none !important; }
/* Requirement 5: On mobile, product grids display 1 card at a time with < > controls */
.cat-product-section .product-grid, .flash-grid, .homepage-flash-grid, .category-page-container .product-grid, .product-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; padding: 0 !important; margin: 0 !important; }
.cat-product-section .product-card, .flash-sale-card, .flash-card, .product-card { width: 100% !important; max-width: 100% !important; display: flex !important; flex-direction: column !important; margin: 0 !important; box-sizing: border-box !important; }
.mobile-grid-nav-wrap { display: none !important; }
}
/* ==================== 33. COMPACT PRODUCT PRICE BOX (USER REQUEST) ==================== */
.product-detail-hero .product-price-box { background: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-radius: 12px !important; padding: 12px 16px !important; margin-bottom: 14px !important; display: flex !important; flex-direction: column !important; gap: 6px !important; }
.product-detail-hero .price-row { display: flex !important; align-items: center !important; gap: 10px !important; flex-wrap: wrap !important; }
.product-detail-hero .price-current { font-size: 24px !important; font-weight: 900 !important; color: #e11d48 !important; line-height: 1 !important; }
.product-detail-hero .price-original { font-size: 14px !important; color: #94a3b8 !important; text-decoration: line-through !important; line-height: 1 !important; }
.product-detail-hero .price-save-badge { background: #fee2e2 !important; color: #b91c1c !important; font-size: 11px !important; font-weight: 700 !important; padding: 3px 8px !important; border-radius: 6px !important; white-space: nowrap !important;
/* CRITICAL: Prevents breaking into 3 lines */
display: inline-flex !important; align-items: center !important; line-height: 1.2 !important; }
.product-detail-hero .price-installment-hint { font-size: 11.5px !important; color: #475569 !important; line-height: 1.4 !important; margin-top: 2px !important; }
.product-detail-hero .price-installment-hint strong { color: #c59b27 !important; font-weight: 700 !important; }
/* ==================== 34. MOBILE CAROUSEL CENTER ARROWS (USER REQUEST) ==================== */
.cat-product-body { position: relative !important; }
.mobile-nav-arrow-btn { display: none; position: absolute; top: 45%; transform: translateY(-50%); width: 36px; height: 36px; background: #ffffff; border: 2px solid #c59b27; border-radius: 50%; color: #c59b27; font-size: 22px; font-weight: 900; align-items: center; justify-content: center; cursor: pointer; z-index: 40; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22); transition: all 0.2s ease; line-height: 1; padding: 0; user-select: none; -webkit-tap-highlight-color: transparent; }
.mobile-nav-arrow-btn:active { background: #c59b27; color: #ffffff; transform: translateY(-50%) scale(0.9); }
.mobile-nav-arrow-prev { left: 2px; }
.mobile-nav-arrow-next { right: 2px; }
.mobile-carousel-counter-wrap { display: none; justify-content: center; align-items: center; gap: 8px; margin-top: 10px; margin-bottom: 6px; }
.mobile-carousel-counter { font-size: 12px; font-weight: 800; color: #8a6417; background: #fef9ee; border: 1px solid #ebd7a2; padding: 3px 14px; border-radius: 12px; }
@media (max-width: 767px) {
.cat-product-body { position: relative !important; }
.product-grid > .product-card.mobile-hidden { display: none !important; }
.product-grid > .product-card.mobile-active { display: flex !important; }
}
/* ==================== 35. DEDICATED CHECKOUT PAGE (/p/at-hang.html - REQUIREMENT 2) ==================== */
.checkout-page-container { padding-top: 20px; padding-bottom: 50px; }
.checkout-page-header { margin-bottom: 24px; border-bottom: 1.5px solid #e2e8f0; padding-bottom: 14px; }
.checkout-page-title { font-size: 22px; font-weight: 900; color: #0f172a; display: flex; align-items: center; gap: 10px; margin: 0 0 6px 0; }
.checkout-page-subtitle { font-size: 13.5px; color: #64748b; margin: 0; }
.checkout-page-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; align-items: flex-start; }
.checkout-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); margin-bottom: 20px; overflow: hidden; }
.checkout-card-header { padding: 14px 18px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; }
.checkout-card-header h3 { font-size: 14.5px; font-weight: 800; color: #0f172a; margin: 0; display: flex; align-items: center; gap: 8px; }
.checkout-continue-link { font-size: 12px; font-weight: 700; color: #c59b27; text-decoration: none; }
.checkout-continue-link:hover { text-decoration: underline; }
.checkout-prods-list { padding: 16px 18px; max-height: 380px; overflow-y: auto; }
.checkout-prod-item { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.checkout-prod-item:last-child { border-bottom: none; }
.checkout-prod-thumb { width: 58px; height: 58px; border-radius: 8px; object-fit: contain; background: #f8fafc; border: 1px solid #e2e8f0; padding: 2px; flex-shrink: 0; }
.checkout-prod-info { flex: 1; min-width: 0; }
.checkout-prod-title { font-size: 13px; font-weight: 700; color: #1e293b; line-height: 1.35; margin-bottom: 4px; }
.checkout-prod-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; }
.checkout-prod-price { color: #e11d48; font-weight: 800; }
.checkout-prod-qty { color: #64748b; background: #f1f5f9; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.checkout-summary-box { background: #f8fafc; border-top: 1px solid #e2e8f0; padding: 14px 18px; }
.checkout-summary-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #475569; margin-bottom: 8px; }
.checkout-summary-row.total-row { font-size: 16px; font-weight: 800; color: #0f172a; border-top: 1px dashed #cbd5e1; padding-top: 10px; margin-top: 10px; margin-bottom: 0; }
.checkout-total-price { color: #e11d48; font-size: 20px; font-weight: 900; }
/* 2 Bank QR Grid */
.qr-banks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 18px; }
.qr-bank-item { border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 12px; text-align: center; background: #ffffff; transition: all 0.2s; }
.qr-bank-item:hover { border-color: #c59b27; box-shadow: 0 4px 12px rgba(197, 155, 39, 0.1); }
.qr-bank-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 800; margin-bottom: 8px; }
.qr-bank-badge.vcb-badge { background: #fefbf3; color: #c59b27; border: 1px solid rgba(197, 155, 39, 0.35); }
.qr-bank-badge.mb-badge { background: #fefbf3; color: #2563eb; border: 1px solid #f3e5ab; }
.qr-bank-img-wrap { background: #ffffff; border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 10px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04); }
.qr-bank-img-wrap img, .nspc-qr-img-wrap img { width: 100% !important; max-width: 220px !important; height: auto !important; aspect-ratio: 1/1 !important; object-fit: contain !important; display: block !important; margin: 0 auto !important; image-rendering: -webkit-optimize-contrast; }
.qr-bank-info { text-align: left; font-size: 11.5px; color: #334155; display: flex; flex-direction: column; gap: 4px; }
.qr-info-row { display: flex; justify-content: space-between; }
.qr-info-row strong { color: #0f172a; }
.qr-memo-text { color: #e11d48 !important; }
.qr-note-box { padding: 10px 18px 14px 18px; font-size: 12px; color: #475569; background: #fffbeb; border-top: 1px solid #fef3c7; line-height: 1.5; }
/* Checkout Form Right */
.checkout-page-form { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.checkout-page-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.checkout-page-form label { font-size: 13px; font-weight: 700; color: #1e293b; }
.checkout-page-form .optional-tag { font-size: 11.5px; color: #64748b; font-weight: normal; }
.checkout-page-form input, .checkout-page-form textarea { width: 100%; padding: 10px 12px; border: 1.5px solid #cbd5e1; border-radius: 8px; font-size: 13px; font-family: inherit; transition: border-color 0.2s; box-sizing: border-box; }
.checkout-page-form input:focus, .checkout-page-form textarea:focus { outline: none; border-color: #c59b27; box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.12); }
.checkout-security-notice { font-size: 12px; color: #c59b27; background: #fef9ee; border: 1px solid rgba(197, 155, 39, 0.35); border-radius: 8px; padding: 8px 12px; display: flex; align-items: center; gap: 8px; line-height: 1.4; }
.btn-submit-order { width: 100%; background: linear-gradient(135deg, #c59b27 0%, #067e3d 100%); color: #ffffff; border: none; border-radius: 10px; padding: 14px 20px; font-size: 15px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 6px 18px rgba(197, 155, 39, 0.35); transition: all 0.2s ease; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-submit-order:hover { background: #067e3d; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(197, 155, 39, 0.45); }
/* ==================== 36. MOBILE RESPONSIVE TWEAKS (REQ 3, 4, 5) ==================== */
@media (max-width: 767px) {
/* REQUIREMENT 5: Mobile Header Layout
     1. Thương hiệu ở trên cùng
     2. 'Danh mục' ở dưới và bên trái
     3. 'Giỏ hàng' ở bên phải và ở dưới
     4. Thanh tìm kiếm ở hàng tiếp theo */
.main-header .container { display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: space-between !important; gap: 8px !important; padding-top: 8px !important; padding-bottom: 8px !important; }
.header-logo { order: 1 !important; width: 100% !important; display: flex !important; justify-content: center !important; margin-bottom: 4px !important; }
.header-logo a { justify-content: center !important; }
.header-mobile-cat-btn { display: flex !important; order: 2 !important; flex-shrink: 0 !important; }
.header-actions { order: 3 !important; display: flex !important; align-items: center !important; flex-shrink: 0 !important; }
.header-actions .cart-trigger { display: flex !important; align-items: center !important; }
.header-actions .header-btn:not(.cart-trigger) { display: none !important; }
.header-search { order: 4 !important; width: 100% !important; margin-top: 4px !important; }
/* Fix Floating Contact covering Mobile Bottom Bar */
.floating-contact-container { bottom: 74px !important;
/* LIFTED comfortably above 56px bottom nav bar */
right: 14px !important; z-index: 9995 !important; }
/* REQUIREMENT 4: Mobile Carousel Center Arrows */
.mobile-nav-arrow-btn { display: flex !important; }
.mobile-carousel-counter-wrap { display: flex !important; }
.mobile-grid-nav-wrap { display: none !important;
/* Replaced by center side arrows */
}
/* Checkout Page Mobile */
.checkout-page-layout { grid-template-columns: 1fr !important; gap: 16px !important; }
.qr-banks-grid { grid-template-columns: 1fr !important; }
}
/* ==================== CHECKOUT DEDUPLICATION &amp; CLEANUP ==================== */
.nspc-checkout-wrap ~ .nspc-checkout-wrap { display: none !important; }
.checkout-custom-body:empty, .checkout-extra-body { display: none !important; }
/* ==================== CHECKOUT QUANTITY CONTROLS &amp; HIDE COMPARE ==================== */
.checkout-qty-control { display: inline-flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 6px; overflow: hidden; background: #ffffff; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.checkout-qty-btn { width: 28px; height: 28px; border: none; background: #f8fafc; cursor: pointer; font-weight: 700; font-size: 14px; color: #334155; display: flex; align-items: center; justify-content: center; transition: all 0.15s ease; user-select: none; }
.checkout-qty-btn:hover { background: #e2e8f0; color: #0f172a; }
.checkout-qty-btn:active { background: #cbd5e1; }
.checkout-qty-input { width: 36px; height: 28px; border: none; border-left: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; text-align: center; font-weight: 700; font-size: 13px; color: #0f172a; outline: none; -moz-appearance: textfield; }
.checkout-qty-input::-webkit-outer-spin-button, .checkout-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.checkout-item-remove-btn { border: none; background: transparent; cursor: pointer; color: #94a3b8; font-size: 15px; padding: 4px 6px; border-radius: 4px; transition: all 0.15s ease; line-height: 1; }
.checkout-item-remove-btn:hover { color: #ef4444; background: #fee2e2; }
/* ==================== NAV CATEGORY DROPDOWN (DESKTOP) ==================== */
.nav-cat-wrapper { position: relative; display: flex; }
.nav-cat-dropdown { display: none; position: absolute; top: 100%; left: 0; width: 340px !important; min-width: 340px !important; background: #ffffff; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25); border-radius: 0 0 12px 12px; z-index: 1005; border: 1px solid #f3e5ab; border-top: none; }
.nav-cat-dropdown { display: none; position: absolute; top: 100%; left: 0; width: 340px !important; min-width: 340px !important; background: #ffffff; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25); border-radius: 0 0 12px 12px; z-index: 1005; border: 1px solid #f3e5ab; border-top: none; }
.nav-cat-dropdown .hero-sidebar { width: 100% !important; box-shadow: none !important; border: none !important; border-radius: 0 0 8px 8px !important; margin: 0 !important; }
@media (min-width: 768px) {
.nav-cat-wrapper:hover .nav-cat-dropdown, .nav-cat-wrapper.open .nav-cat-dropdown { display: block !important; animation: fadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
}
@keyframes fadeInDown {
from { opacity: 0; transform: translateY(-8px); }
to { opacity: 1; transform: translateY(0); }
}
/* ==================== MOBILE CATEGORY DRAWER &amp; ACCORDION ==================== */
/* Enhanced Mobile Category Drawer &amp; Accordion Submenus */
.mob-cat-item.active .mob-cat-body { display: block !important; animation: fadeInMobCat 0.25s ease-out; }
@keyframes fadeInMobCat {
from { opacity: 0; transform: translateY(-4px); }
to { opacity: 1; transform: translateY(0); }
}
.mob-cat-item.active .mob-cat-arrow svg { transform: rotate(180deg); transition: transform 0.25s ease; }
.mob-sub-item { display: flex !important; align-items: center !important; min-height: 38px !important; padding: 8px 12px !important; margin-bottom: 4px !important; border-radius: 6px !important; background: #ffffff !important; border: 1px solid #e2e8f0 !important; color: #334155 !important; text-decoration: none !important; font-size: 13px !important; font-weight: 500 !important; transition: all 0.15s ease !important; }
.mob-sub-item:hover, .mob-sub-item:active { background: #fefbf3 !important; color: #c59b27 !important; border-color: #f3e5ab !important; font-weight: 600 !important; }
.mob-cat-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(2px); z-index: 9998; opacity: 0; transition: opacity 0.25s ease; }
.mob-cat-overlay.active { display: block !important; opacity: 1; }
.mob-cat-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 86%; max-width: 360px; background: #ffffff; z-index: 9999; box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25); transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; }
.mob-cat-drawer.active { transform: translateX(0); }
.mob-cat-header-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #c59b27; color: #ffffff; }
.mob-cat-title-wrap { display: flex; align-items: center; gap: 10px; }
.mob-cat-title-icon { font-size: 22px; }
.mob-cat-title { font-size: 14px; font-weight: 700; letter-spacing: 0.3px; color: #ffffff; }
.mob-cat-subtitle { font-size: 11px; opacity: 0.9; color: #fefbf3; }
.mob-cat-close-btn { background: rgba(255, 255, 255, 0.2); border: none; color: #fff; font-size: 24px; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; }
.mob-cat-content { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mob-cat-item { border-bottom: 1px solid #f1f5f9; }
.mob-cat-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; cursor: pointer; background: #ffffff; text-decoration: none; color: #1e293b; font-size: 13.5px; font-weight: 600; transition: background 0.15s ease; }
.mob-cat-row:hover, .mob-cat-row:active { background: #f8fafc; }
.mob-cat-row-left { display: flex; align-items: center; gap: 10px; flex: 1; }
.mob-cat-icon { width: 20px; display: flex; align-items: center; justify-content: center; color: #c59b27; }
.mob-cat-arrow { color: #94a3b8; font-size: 13px; transition: transform 0.2s ease; }
.mob-cat-item.active .mob-cat-arrow { transform: rotate(180deg); color: #c59b27; }
.mob-cat-body { background: #f8fafc; padding: 10px 16px 14px 16px; border-top: 1px dashed #e2e8f0; }
.mob-sub-group { margin-bottom: 12px; }
.mob-sub-group-title { font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: #c59b27; margin-bottom: 6px; letter-spacing: 0.3px; }
.mob-sub-group-items { display: flex; flex-wrap: wrap; gap: 6px; }
.mob-sub-item { display: inline-block; background: #ffffff; border: 1px solid #e2e8f0; padding: 4px 10px; border-radius: 4px; font-size: 12px; color: #334155; text-decoration: none; font-weight: 500; transition: all 0.15s ease; }
.mob-sub-item:hover, .mob-sub-item:active { background: #c59b27; color: #ffffff; border-color: #c59b27; }
.mob-cat-viewall { display: block; margin-top: 10px; padding: 8px 12px; background: #fefbf3; color: #c59b27; text-decoration: none; font-size: 12px; font-weight: 700; border-radius: 4px; text-align: center; }
.mob-cat-footer { padding: 12px 16px; background: #ffffff; border-top: 1px solid #e2e8f0; display: flex; gap: 8px; }
.mob-cat-footer-btn { flex: 1; padding: 10px; text-align: center; border-radius: 6px; font-size: 12px; font-weight: 700; text-decoration: none; border: 1px solid #e2e8f0; color: #334155; }
.mob-cat-footer-btn-primary { background: #c59b27; color: #ffffff; border-color: #c59b27; }
/* ==================== CONTACT MODAL (2 ZALO, 2 PHONE, 1 FACEBOOK) ==================== */
.contact-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px); z-index: 10000; }
.contact-modal-overlay.active { display: block !important; }
.contact-modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 92%; max-width: 520px; background: #ffffff; border-radius: 12px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); z-index: 10001; overflow: hidden; animation: modalFadeIn 0.25s ease-out; }
.contact-modal.active { display: block !important; }
@keyframes modalFadeIn {
from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); }
to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.contact-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #ffffff; border-bottom: 2px solid #c59b27; }
.contact-modal-header h3 { margin: 0; font-size: 16px; font-weight: 800; color: #ffffff; letter-spacing: 0.3px; }
.contact-modal-header p { margin: 3px 0 0 0; font-size: 12px; opacity: 0.9; color: #fefbf3; }
.contact-modal-close { background: rgba(255, 255, 255, 0.2); border: none; color: #ffffff; font-size: 24px; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; }
.contact-modal-close:hover { background: rgba(255, 255, 255, 0.35); }
.contact-modal-body { padding: 16px 20px; max-height: 70vh; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.contact-channel-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 8px; text-decoration: none; color: #1e293b; background: #ffffff; transition: all 0.2s ease; }
.contact-channel-card:hover { border-color: #c59b27; box-shadow: 0 4px 12px rgba(197, 155, 39,0.12); transform: translateY(-1px); }
.channel-icon-wrap { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 18px; font-weight: 700; flex-shrink: 0; }
.channel-badge-txt { font-size: 14px; font-weight: 800; }
.channel-details { flex: 1; min-width: 0; }
.channel-title { font-size: 12px; font-weight: 700; color: #475569; }
.channel-val { font-size: 15px; font-weight: 800; color: #0f172a; letter-spacing: 0.3px; margin: 1px 0; }
.channel-desc { font-size: 11px; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.channel-action-btn { padding: 6px 12px; border-radius: 6px; font-size: 11.5px; font-weight: 700; flex-shrink: 0; text-align: center; }
.btn-zalo { background: #e6f0ff; color: #0068ff; }
.contact-channel-card:hover .btn-zalo { background: #0068ff; color: #ffffff; }
.btn-phone { background: #fefbf3; color: #c59b27; }
.contact-channel-card:hover .btn-phone { background: #c59b27; color: #ffffff; }
.btn-hotline { background: #fee2e2; color: #dc2626; }
.contact-channel-card:hover .btn-hotline { background: #dc2626; color: #ffffff; }
.btn-fb { background: #e8f0fe; color: #1877f2; }
.contact-channel-card:hover .btn-fb { background: #1877f2; color: #ffffff; }
.contact-modal-footer { padding: 10px 20px; background: #f8fafc; border-top: 1px solid #e2e8f0; text-align: center; font-size: 11.5px; color: #64748b; }
/* Permanently hide float-contact-main (User Request) */
.float-contact-main { display: none !important; }
/* ==================== FLOATING CONTACT BUTTON WITH SOFT SHAKE &amp; VIBRANT GLOW ==================== */
.float-contact-main { width: auto !important; height: 46px !important; border-radius: 24px !important; padding: 0 16px !important; background: linear-gradient(135deg, #b38728 0%, #e5c158 45%, #8a6417 100%) !important; color: #ffffff !important; font-size: 13.5px !important; font-weight: 700 !important; display: flex !important; align-items: center !important; gap: 7px !important; border: 1.5px solid rgba(255, 255, 255, 0.4) !important; cursor: pointer !important; box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45), 0 0 0 0 rgba(16, 185, 129, 0.3) !important; animation: contactSoftShake 3.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite, contactGlowPulse 2.5s ease-in-out infinite !important; transform-origin: center center !important; transition: transform 0.25s ease, box-shadow 0.25s ease !important; }
.float-contact-main:hover { animation: none !important; transform: scale(1.08) translateY(-2px) !important; box-shadow: 0 8px 25px rgba(16, 185, 129, 0.65), 0 0 0 4px rgba(16, 185, 129, 0.2) !important; }
.float-contact-icon { font-size: 17px !important; display: inline-block !important; animation: iconWiggle 3.5s ease infinite !important; }
@keyframes contactSoftShake {
0%, 100% { transform: scale(1) rotate(0deg); }
8% { transform: scale(1.04) rotate(-3.5deg); }
12% { transform: scale(1.05) rotate(3.5deg); }
16% { transform: scale(1.04) rotate(-2.5deg); }
20% { transform: scale(1.03) rotate(2deg); }
24% { transform: scale(1.01) rotate(-1deg); }
28% { transform: scale(1) rotate(0deg); }
}
@keyframes iconWiggle {
0%, 100% { transform: rotate(0deg); }
8%, 16% { transform: rotate(-10deg); }
12%, 20% { transform: rotate(10deg); }
28% { transform: rotate(0deg); }
}
@keyframes contactGlowPulse {
0%, 100% { box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45), 0 0 0 0 rgba(16, 185, 129, 0.4); }
50% { box-shadow: 0 6px 24px rgba(16, 185, 129, 0.65), 0 0 0 7px rgba(16, 185, 129, 0); }
}
/* Gallery Thumbs styling enhancement */
.product-gallery-thumbs { display: flex !important; gap: 10px !important; overflow-x: auto !important; padding: 8px 2px 8px 2px !important; scroll-behavior: smooth !important; -webkit-overflow-scrolling: touch !important; }
.product-gallery-thumbs::-webkit-scrollbar { height: 4px; }
.product-gallery-thumbs::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.gallery-thumb-item { width: 72px !important; height: 72px !important; border-radius: 8px !important; border: 2px solid #e2e8f0 !important; background: #f8fafc !important; overflow: hidden !important; cursor: pointer !important; flex-shrink: 0 !important; transition: all 0.2s ease !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.gallery-thumb-item img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform 0.2s ease !important; }
.gallery-thumb-item:hover img { transform: scale(1.08) !important; }
.gallery-thumb-item:hover, .gallery-thumb-item.active { border-color: #c59b27 !important; box-shadow: 0 0 0 2px rgba(197, 155, 39, 0.25) !important; }
/* ==================== NUMERIC PAGINATION (PHÂN TRANG SỐ 1, 2, 3...) ==================== */
.blog-pager { margin-top: 30px !important; padding-top: 22px !important; border-top: 1px solid #e2e8f0 !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; flex-wrap: wrap !important; }
.blog-pager-numbers { display: inline-flex !important; align-items: center !important; gap: 6px !important; }
.blog-pager-num, .blog-pager-current, .blog-pager-newer, .blog-pager-older { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-width: 38px !important; height: 38px !important; padding: 0 12px !important; border-radius: 8px !important; border: 1.5px solid #e2e8f0 !important; background: #ffffff !important; color: #334155 !important; font-size: 13.5px !important; font-weight: 700 !important; text-decoration: none !important; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important; cursor: pointer !important; }
.blog-pager-num:hover, .blog-pager-newer:hover, .blog-pager-older:hover { border-color: #c59b27 !important; color: #c59b27 !important; background: #fef9ee !important; transform: translateY(-2px) !important; box-shadow: 0 4px 10px rgba(197, 155, 39, 0.2) !important; }
.blog-pager-num.active, .blog-pager-current.active, .blog-pager-current { background: #c59b27 !important; border-color: #c59b27 !important; color: #ffffff !important; box-shadow: 0 3px 10px rgba(197, 155, 39, 0.35) !important; pointer-events: none !important; }
.blog-pager-newer, .blog-pager-older { padding: 0 16px !important; font-weight: 600 !important; background: #f8fafc !important; }
/* ==================== 33. STICKY MINI HEADER ON SCROLL ==================== */
.sticky-mini-header { display: none !important; pointer-events: none !important; visibility: hidden !important; position: fixed; top: 0; left: 0; right: 0; height: 52px; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid #c59b27; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); z-index: 9998; transform: translateY(-100%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; align-items: center; }
.sticky-mini-header.visible { transform: translateY(0); }
.sticky-mini-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.sticky-logo { font-size: 18px; font-weight: 900; color: #c59b27; text-decoration: none; letter-spacing: -0.5px; flex-shrink: 0; }
.sticky-search { flex: 1; max-width: 500px; position: relative; display: flex; align-items: center; }
.sticky-search input { width: 100%; height: 36px; padding: 0 38px 0 14px; border: 1.5px solid #cbd5e1; border-radius: 20px; font-size: 13px; outline: none; background: #f8fafc; transition: all 0.2s; }
.sticky-search input:focus { border-color: #c59b27; background: #ffffff; box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15); }
.sticky-search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #64748b; padding: 6px; display: flex; align-items: center; }
.sticky-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sticky-hotline { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #0f172a; text-decoration: none; padding: 6px 12px; background: #f1f5f9; border-radius: 20px; transition: all 0.2s; }
.sticky-hotline:hover { background: #e2e8f0; color: #c59b27; }
.sticky-cart-btn { position: relative; width: 38px; height: 38px; border-radius: 50%; background: #c59b27; color: #ffffff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; transition: transform 0.2s; }
.sticky-cart-btn:hover { transform: scale(1.08); }
.sticky-cart-btn .cart-badge { position: absolute; top: -4px; right: -4px; background: #ef4444; color: #ffffff; font-size: 10px; font-weight: 800; min-width: 18px; height: 18px; line-height: 18px; border-radius: 9px; text-align: center; padding: 0 4px; border: 1.5px solid #ffffff; }
/* ==================== 34. CATEGORY QUICK FILTER PILLS ==================== */
.category-filter-pills { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 4px 2px 14px 2px; margin-bottom: 16px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.category-filter-pills::-webkit-scrollbar { height: 4px; }
.category-filter-pills::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.filter-pill { flex-shrink: 0; padding: 7px 16px; border-radius: 20px; font-size: 12.5px; font-weight: 600; border: 1.5px solid #e2e8f0; background: #ffffff; color: #475569; cursor: pointer; transition: all 0.2s ease; }
.filter-pill:hover { border-color: #c59b27; color: #c59b27; background: #fef9ee; }
.filter-pill.active { background: #c59b27; border-color: #c59b27; color: #ffffff; box-shadow: 0 3px 10px rgba(197, 155, 39, 0.25); }
/* ==================== 35. MOBILE STICKY BUY BAR ==================== */
.mobile-sticky-buy-bar { display: none; }
@media (max-width: 768px) {
.mobile-sticky-buy-bar { position: fixed; bottom: 58px; left: 0; right: 0; background: #ffffff; padding: 8px 14px; box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.1); border-top: 1px solid #e2e8f0; z-index: 999; align-items: center; justify-content: space-between; gap: 10px; transform: translateY(150%); transition: transform 0.3s ease; }
.mobile-sticky-buy-bar.visible { display: flex; transform: translateY(0); }
.msb-info { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
#msb-thumb { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; border: 1px solid #e2e8f0; flex-shrink: 0; }
.msb-text { min-width: 0; }
.msb-title { font-size: 12px; font-weight: 700; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msb-price { font-size: 13.5px; font-weight: 800; color: #ef4444; }
.msb-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.msb-cart-btn { width: 38px; height: 38px; border-radius: 6px; background: #fef9ee; color: #c59b27; border: 1.5px solid #c59b27; display: flex; align-items: center; justify-content: center; font-size: 15px; cursor: pointer; }
.msb-buy-btn { padding: 0 14px; height: 38px; border-radius: 6px; background: linear-gradient(135deg, #e11d48 0%, #b38728 100%); color: #ffffff; font-size: 12.5px; font-weight: 800; border: none; cursor: pointer; box-shadow: 0 3px 8px rgba(225, 29, 72, 0.3); }
}
/* ==================== 36. PRODUCT COUPONS &amp; VOUCHERS BOX ==================== */
.product-coupons-box { background: #f8fafc; border: 1px dashed #c59b27; border-radius: 8px; padding: 10px 12px; margin-top: 4px; }
.pcb-header { font-size: 12px; font-weight: 700; color: #c59b27; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.pcb-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 640px) {
.pcb-list { grid-template-columns: 1fr; }
}
.pcb-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 6px 10px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pcb-code { font-size: 12px; font-weight: 800; color: #0f172a; background: #e2e8f0; padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px; }
.pcb-desc { font-size: 11px; color: #64748b; flex: 1; }
.pcb-copy-btn { background: #c59b27; color: #ffffff; border: none; border-radius: 4px; padding: 3px 8px; font-size: 10.5px; font-weight: 700; cursor: pointer; transition: opacity 0.2s; white-space: nowrap; }
.pcb-copy-btn:hover { opacity: 0.9; }
/* ==================== 37. SOCIAL PROOF LIVE ORDER TOAST ==================== */
.social-proof-toast { position: fixed; bottom: 24px; left: 20px; background: #ffffff; border-radius: 12px; padding: 10px 14px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); border: 1px solid #e2e8f0; z-index: 9995; display: flex; align-items: center; gap: 10px; max-width: 320px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.social-proof-toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.spt-thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; border: 1px solid #f1f5f9; }
.spt-content { flex: 1; font-size: 12px; line-height: 1.4; }
.spt-customer { font-weight: 700; color: #0f172a; }
.spt-product { color: #c59b27; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.spt-time { font-size: 10.5px; color: #94a3b8; display: flex; align-items: center; gap: 4px; }
.spt-close { background: none; border: none; cursor: pointer; color: #94a3b8; padding: 4px; font-size: 14px; line-height: 1; }
@media (max-width: 768px) {
.social-proof-toast { bottom: 70px; left: 10px; right: 10px; max-width: calc(100% - 20px); }
}
/* ==================== 38. ACTIVATION GUIDE TAB ==================== */
.guide-step-card { display: flex; gap: 14px; padding: 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 12px; }
.guide-step-num { width: 32px; height: 32px; border-radius: 50%; background: #c59b27; color: #ffffff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.guide-step-content h4 { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.guide-step-content p { font-size: 13px; color: #475569; line-height: 1.6; }
/* ==================== 39. CHECKOUT VOUCHER &amp; FAST DELIVERY ==================== */
.checkout-voucher-row { display: flex; gap: 8px; margin-bottom: 14px; }
.checkout-voucher-row input { flex: 1; height: 38px; padding: 0 12px; border: 1.5px solid #cbd5e1; border-radius: 6px; font-size: 13px; text-transform: uppercase; }
.checkout-voucher-row button { padding: 0 16px; height: 38px; background: #c59b27; color: #ffffff; border: none; border-radius: 6px; font-weight: 700; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.co-fast-delivery { display: flex; align-items: center; gap: 8px; background: #fef9ee; border: 1px dashed #c59b27; padding: 10px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: #0f172a; cursor: pointer; margin-bottom: 14px; }
/* ==================== PRODUCT VARIANT SELECTOR ==================== */
.product-variants-box { background: #f8fafc; border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; transition: all 0.25s ease; }
.variants-box-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.variants-box-title { font-size: 13.5px; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 6px; }
.variants-selected-badge { font-size: 12px; font-weight: 700; color: #2563eb; background: #fefbf3; border: 1px solid #f3e5ab; padding: 2px 10px; border-radius: 20px; }
.variants-chip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.variant-chip-item { background: #ffffff; border: 1.5px solid #cbd5e1; border-radius: 10px; padding: 10px 12px; cursor: pointer; position: relative; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; gap: 4px; user-select: none; }
.variant-chip-item:hover { border-color: #93c5fd; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08); }
.variant-chip-item.active { border-color: #2563eb !important; background: #f0f7ff !important; box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2), 0 4px 14px rgba(37, 99, 235, 0.12) !important; }
.variant-chip-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.variant-chip-name { font-size: 13px; font-weight: 700; color: #1e293b; line-height: 1.3; }
.variant-chip-item.active .variant-chip-name { color: #b38728; }
.variant-chip-check { width: 16px; height: 16px; border-radius: 50%; background: #2563eb; color: #ffffff; display: none; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; flex-shrink: 0; }
.variant-chip-item.active .variant-chip-check { display: flex; }
.variant-chip-price { font-size: 14px; font-weight: 800; color: #e11d48; }
.variant-chip-badge { position: absolute; top: -8px; right: 8px; background: #ef4444; color: #fff; font-size: 9px; font-weight: 800; padding: 1px 6px; border-radius: 8px; text-transform: uppercase; }
/* ==================== UNIQUE MAGAZINE-STYLE NEWS CARDS ==================== */
.unique-mag-card { position: relative !important; border-radius: 12px !important; border: 1px solid #e2e8f0 !important; background: #ffffff !important; overflow: hidden !important; display: flex !important; flex-direction: column !important; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important; }
.unique-mag-card:hover { transform: translateY(-5px) !important; box-shadow: 0 12px 28px rgba(215, 0, 24, 0.12) !important; border-color: #fca5a5 !important; }
.unique-mag-card .news-thumb { position: relative !important; height: 155px !important; overflow: hidden !important; }
.unique-mag-card .news-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform 0.4s ease !important; }
.unique-mag-card:hover .news-thumb img { transform: scale(1.08) !important; }
.news-float-badge { position: absolute !important; top: 10px !important; left: 10px !important; font-size: 10px !important; font-weight: 800 !important; padding: 3px 8px !important; border-radius: 6px !important; color: #ffffff !important; z-index: 2 !important; letter-spacing: 0.3px !important; box-shadow: 0 2px 6px rgba(0,0,0,0.3) !important; }
.badge-tag-guide { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important; }
.badge-tag-review { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important; }
.badge-tag-hot { background: linear-gradient(135deg, #c59b27 0%, #b91c1c 100%) !important; }
.badge-tag-tradein { background: linear-gradient(135deg, #059669 0%, #047857 100%) !important; }
.unique-mag-card .news-info { padding: 14px 16px !important; display: flex !important; flex-direction: column !important; flex: 1 !important; }
.unique-mag-card .news-meta { display: flex !important; align-items: center !important; gap: 8px !important; font-size: 11px !important; color: #64748b !important; margin-bottom: 8px !important; }
.unique-mag-card .news-title { margin: 0 0 8px 0 !important; font-size: 13.5px !important; font-weight: 700 !important; line-height: 1.45 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
.unique-mag-card .news-title a { color: #0f172a !important; text-decoration: none !important; transition: color 0.2s ease !important; }
.unique-mag-card:hover .news-title a { color: #c59b27 !important; }
.unique-mag-card .news-desc { font-size: 12px !important; color: #64748b !important; line-height: 1.5 !important; margin: 0 0 12px 0 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
.unique-mag-card .news-card-footer { margin-top: auto !important; display: flex !important; align-items: center !important; justify-content: space-between !important; padding-top: 8px !important; border-top: 1px dashed #f1f5f9 !important; font-size: 11.5px !important; }
.unique-mag-card .news-author { color: #475569 !important; font-weight: 600 !important; }
.unique-mag-card .news-read-more { color: #c59b27 !important; font-weight: 700 !important; display: flex !important; align-items: center !important; gap: 4px !important; transition: transform 0.2s ease !important; }
.unique-mag-card:hover .news-read-more { transform: translateX(3px) !important; }
/* Hero Slider Standalone Styles */
.hero-slider-wrap { position: relative !important; overflow: hidden !important; }
.slide-item { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; opacity: 0 !important; visibility: hidden !important; transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out !important; background-size: cover !important; background-position: center !important; z-index: 1 !important; }
.slide-item.active { opacity: 1 !important; visibility: visible !important; z-index: 2 !important; }
.slider-arrow { position: absolute !important; top: 50% !important; transform: translateY(-50%) !important; width: 44px !important; height: 44px !important; border-radius: 50% !important; background: rgba(17, 20, 30, 0.85) !important; color: #dfb76c !important; border: 1.5px solid rgba(197, 155, 39, 0.6) !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; z-index: 99 !important; transition: all 0.2s ease !important; font-size: 20px !important; pointer-events: auto !important; user-select: none !important; }
.slider-arrow:hover { background: #c59b27 !important; color: #11141e !important; border-color: #c59b27 !important; box-shadow: 0 4px 16px rgba(197, 155, 39, 0.6) !important; transform: translateY(-50%) scale(1.08) !important; }
.slider-prev { left: 16px !important; }
.slider-next { right: 16px !important; }
.slider-dots { position: absolute !important; bottom: 16px !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; gap: 8px !important; z-index: 99 !important; }
.slider-dot { width: 10px !important; height: 10px !important; border-radius: 50% !important; background: rgba(255, 255, 255, 0.45) !important; cursor: pointer !important; transition: all 0.25s ease !important; border: 1px solid rgba(0, 0, 0, 0.3) !important; }
.slider-dot.active { width: 28px !important; border-radius: 8px !important; background: #c59b27 !important; }
/* Hero Slider Text Bottom Center */
.slide-overlay { position: absolute !important; inset: 0 !important; display: flex !important; align-items: flex-end !important; justify-content: center !important; text-align: center !important; padding: 30px 24px 54px 24px !important; background: linear-gradient(180deg, rgba(17,20,30,0.12) 0%, rgba(17,20,30,0.58) 50%, rgba(17,20,30,0.94) 100%) !important; }
.slide-content { max-width: 760px !important; margin: 0 auto !important; text-align: center !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; }
.slide-tag { display: inline-block !important; margin-bottom: 8px !important; }
.slide-title { font-size: 26px !important; font-weight: 900 !important; line-height: 1.3 !important; text-align: center !important; margin: 0 auto 8px auto !important; color: #ffffff !important; letter-spacing: 0.5px !important; }
.slide-desc { font-size: 13.5px !important; line-height: 1.5 !important; text-align: center !important; max-width: 660px !important; margin: 0 auto 12px auto !important; color: #f1f5f9 !important; }
.slide-btn { margin: 4px auto 0 auto !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; }
@media (max-width: 768px) {
.slide-overlay { padding: 20px 16px 44px 16px !important; }
.slide-title { font-size: 18px !important; }
.slide-desc { display: none !important; }
}
/* ==================== HD4PRO MOBILE RESPONSIVE OPTIMIZATION ==================== */
@media (max-width: 768px) {
/* 1. Header va Navigation */
.header-actions .header-btn:not(.cart-trigger) { display: none !important; }
.main-nav { display: block !important; background: #11141e !important; }
.main-nav .container { padding: 0 10px !important; }
.nav-cat-btn { width: 100% !important; height: 38px !important; font-size: 12px !important; border-radius: 6px !important; }
.nav-menu { display: none !important; }
/* 2. Hero Slider on Mobile */
.hero-top-row { flex-direction: column !important; gap: 0 !important; }
.hero-slider-wrap { height: 220px !important; border-radius: 10px !important; margin-bottom: 10px !important; }
.hero-right-promo { display: none !important; }
.slide-overlay { padding: 12px 10px 28px 10px !important; background: linear-gradient(180deg, rgba(17,20,30,0.08) 0%, rgba(17,20,30,0.5) 45%, rgba(17,20,30,0.95) 100%) !important; justify-content: center !important; align-items: flex-end !important; text-align: center !important; }
.slide-tag { font-size: 9px !important; padding: 2px 7px !important; margin-bottom: 4px !important; }
.slide-title { font-size: 15px !important; line-height: 1.25 !important; margin-bottom: 4px !important; }
.slide-desc { display: none !important; }
.slide-btn { font-size: 10.5px !important; padding: 4px 12px !important; margin-top: 2px !important; }
.hero-sub-banners { display: none !important; }
/* 3. Product Cards in 2-Column Grid */
.cat-product-section { margin: 14px 0 !important; border-radius: 8px !important; }
.cat-sec-header { padding: 8px 12px !important; }
.cat-sec-title h2 { font-size: 13.5px !important; }
.cat-product-body { padding: 10px !important; }
.product-grid, .cat-product-section .product-grid, .flash-grid, .homepage-flash-grid, .category-page-container .product-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
.product-card, .flash-card { padding: 8px !important; border-radius: 8px !important; border: 1px solid #e2e8f0 !important; background: #ffffff !important; display: flex !important; flex-direction: column !important; justify-content: space-between !important; }
.product-thumb, .flash-card-thumb { aspect-ratio: 1/1 !important; width: 100% !important; height: auto !important; border-radius: 6px !important; overflow: hidden !important; margin-bottom: 6px !important; }
.product-thumb img, .flash-card-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.product-title, .flash-card-title, .card-title { font-size: 12px !important; line-height: 1.35 !important; height: 32px !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; margin-bottom: 4px !important; }
.product-specs { font-size: 10px !important; margin-bottom: 4px !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
.product-rating { font-size: 9.5px !important; margin-bottom: 4px !important; }
.product-price-box, .card-pricing { display: flex !important; align-items: baseline !important; justify-content: space-between !important; width: 100% !important; gap: 5px !important; flex-wrap: nowrap !important; margin-bottom: 6px !important; }
.prod-price-now, .price-current { font-size: 13.5px !important; font-weight: 800 !important; color: #e11d48 !important; white-space: nowrap !important; }
.prod-price-old, .price-original { font-size: 10.5px !important; margin-left: auto !important; text-align: right !important; white-space: nowrap !important; }
.product-actions { display: flex !important; gap: 4px !important; }
.btn-buy-now { flex: 1 !important; height: 30px !important; padding: 0 4px !important; font-size: 10.5px !important; font-weight: 700 !important; border-radius: 5px !important; }
.btn-quick-cart { width: 30px !important; height: 30px !important; font-size: 13px !important; border-radius: 5px !important; flex-shrink: 0 !important; }
/* 4. Single Product Detail Page on Mobile */
.product-page-layout { grid-template-columns: 1fr !important; gap: 16px !important; }
.product-detail-hero { grid-template-columns: 1fr !important; padding: 12px !important; gap: 14px !important; }
.product-gallery-main { aspect-ratio: 1/1 !important; width: 100% !important; }
.product-action-grid { grid-template-columns: 1fr !important; gap: 8px !important; }
.product-secondary-actions { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
.btn-cart-add-sec { font-size: 11.5px !important; padding: 9px 8px !important; }
.btn-zalo-chat-sec { font-size: 11.5px !important; padding: 9px 8px !important; }
.mobile-sticky-buy-bar { bottom: 56px !important; }
/* 5. News Section Grid on Mobile (Rectangular 16:9 Thumbnail, Title, Short Description Responsive) */
.news-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
.news-card, .unique-mag-card { display: flex !important; flex-direction: column !important; background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 12px !important; overflow: hidden !important; box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important; padding: 0 !important; margin: 0 !important; transition: transform 0.2s ease, box-shadow 0.2s ease !important; }
.news-thumb, .unique-mag-card .news-thumb { width: 100% !important; height: 185px !important; aspect-ratio: 16 / 9 !important; position: relative !important; overflow: hidden !important; flex-shrink: 0 !important; display: block !important; background: #f1f5f9 !important; }
.news-thumb img, .unique-mag-card .news-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.news-float-badge { position: absolute !important; top: 10px !important; left: 10px !important; font-size: 10px !important; font-weight: 800 !important; padding: 3px 8px !important; border-radius: 4px !important; z-index: 2 !important; }
.news-info { padding: 12px 14px 14px 14px !important; display: flex !important; flex-direction: column !important; flex: 1 !important; box-sizing: border-box !important; }
.news-meta { display: flex !important; align-items: center !important; gap: 8px !important; font-size: 11px !important; color: #64748b !important; margin-bottom: 6px !important; }
.news-title, .unique-mag-card .news-title { font-size: 14.5px !important; font-weight: 700 !important; line-height: 1.4 !important; margin: 0 0 6px 0 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
.news-title a { color: #0f172a !important; text-decoration: none !important; }
.news-desc, .unique-mag-card .news-desc { display: -webkit-box !important; -webkit-line-clamp: 3 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; font-size: 12.5px !important; line-height: 1.55 !important; color: #475569 !important; margin: 0 0 10px 0 !important; visibility: visible !important; opacity: 1 !important; }
.news-read-more, .news-more-btn { display: inline-flex !important; align-items: center !important; font-size: 12px !important; font-weight: 700 !important; color: #c59b27 !important; text-decoration: none !important; margin-top: auto !important; }
}
@media (max-width: 380px) {
.product-grid, .cat-product-section .product-grid, .flash-grid, .homepage-flash-grid, .category-page-container .product-grid { gap: 6px !important; }
}
/* ENFORCE EXACTLY 4 NEWS ARTICLES ON HOMEPAGE */
#tech-news-grid > *:nth-child(n+5), #tech-news-grid > article:nth-child(n+5), #tech-news-grid > .news-card:nth-child(n+5) { display: none !important; }
@media (max-width: 767px) {
/* ENFORCE 6 PRODUCTS PER SECTION ON MOBILE (USER REQUEST) */
#sec_shop_featured .product-grid > .product-card:nth-child(n+7), #sec_shop_newest .product-grid > .product-card:nth-child(n+7), #sec_shop_deals .product-grid > .product-card:nth-child(n+7), .cat-product-section .product-grid > .product-card:nth-child(n+7) { display: none !important; }
}
/* ENFORCE MAXIMUM 8 PRODUCTS PER SECTION ON HOMEPAGE */
#sec_shop_featured .product-grid > .product-card:nth-child(n+9), #sec_shop_newest .product-grid > .product-card:nth-child(n+9), #sec_shop_deals .product-grid > .product-card:nth-child(n+9) { display: none !important; }
/* ==================== HD4PRO USER REQUEST UPDATES (MOBILE RESPONSIVE) ==================== */
.nav-mobile-cart-btn { display: none !important; }
@media (max-width: 767px) {
/* 1. Exactly 6 Products Grid (2 per row x 3 rows) & Hide Arrow Buttons */
.cat-product-section .product-grid, .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
.cat-product-section .product-grid > .product-card:nth-child(n+7), #sec_shop_featured .product-grid > .product-card:nth-child(n+7), #sec_shop_newest .product-grid > .product-card:nth-child(n+7), #sec_shop_deals .product-grid > .product-card:nth-child(n+7) { display: none !important; }
.mobile-nav-arrow-btn, .mobile-nav-arrow-prev, .mobile-nav-arrow-next, .mobile-carousel-counter-wrap { display: none !important; }
/* 2. Mid Triple Banners: 3 full-width rows sequentially on Mobile */
.mid-banners { margin: 16px 0 !important; }
.mid-banners-grid { display: flex !important; flex-direction: column !important; gap: 12px !important; grid-template-columns: 1fr !important; }
.mid-banner-item { width: 100% !important; height: 125px !important; border-radius: 8px !important; display: block !important; box-sizing: border-box !important; }
.mid-banner-overlay { padding: 0 16px !important; border-radius: 8px !important; display: flex !important; flex-direction: column !important; justify-content: center !important; }
.mid-banner-overlay h3 { font-size: 14.5px !important; font-weight: 800 !important; margin-bottom: 2px !important; }
.mid-banner-overlay p { font-size: 11.5px !important; margin-bottom: 4px !important; }
.mid-banner-overlay span { font-size: 11px !important; font-weight: 700 !important; }
/* 3. Mobile Header & Navigation: Cart beside Danh Mục Sản Phẩm */
.header-actions { display: none !important; }
.main-nav { display: block !important; background: transparent !important; padding: 6px 0 0 0 !important; border: none !important; }
.main-nav > .container { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 8px !important; padding: 0 12px !important; }
.nav-cat-wrapper { flex: 1 1 auto !important; min-width: 0 !important; margin: 0 !important; }
.nav-cat-btn { width: 100% !important; height: 42px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 0 12px !important; font-size: clamp(10.5px, 2.8vw, 12px) !important; font-weight: 800 !important; border-radius: 8px !important; background: linear-gradient(135deg, #dfb76c 0%, #c59b27 100%) !important; color: #11141e !important; margin: 0 !important; box-sizing: border-box !important; white-space: nowrap !important; overflow: hidden !important; box-shadow: 0 2px 6px rgba(197, 155, 39, 0.25) !important; }
.nav-mobile-cart-btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; height: 42px !important; padding: 0 12px !important; background: #11141e !important; color: #dfb76c !important; border: 1.5px solid #c59b27 !important; border-radius: 8px !important; font-size: 11.5px !important; font-weight: 800 !important; cursor: pointer !important; position: relative !important; flex: 0 0 auto !important; white-space: nowrap !important; box-sizing: border-box !important; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important; -webkit-tap-highlight-color: transparent !important; }
.nav-mobile-cart-btn:active { transform: scale(0.96) !important; background: #1e2230 !important; }
.nav-mobile-cart-icon { display: flex !important; align-items: center !important; color: #dfb76c !important; }
.nav-mobile-cart-txt { font-size: 11.5px !important; font-weight: 800 !important; color: #dfb76c !important; }
.nav-mobile-cart-btn .cart-badge { position: static !important; background: #ef4444 !important; color: #ffffff !important; font-size: 10px !important; font-weight: 800 !important; border-radius: 12px !important; padding: 1px 6px !important; line-height: 1.4 !important; margin-left: 2px !important; display: inline-block !important; }
.nav-menu { width: 100% !important; display: flex !important; overflow-x: auto !important; white-space: nowrap !important; padding: 6px 0 !important; margin: 0 !important; -webkit-overflow-scrolling: touch !important; }
}
/* ==================== HD4PRO MOBILE ENHANCEMENTS (TURN 11) ==================== */
@media (max-width: 767px) {
/* 1. Breadcrumb: Trang chủ / Label on Line 1, Title on Line 2 (Products & News) */
.breadcrumb-nav { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 4px 6px !important; font-size: 12px !important; line-height: 1.5 !important; margin-bottom: 8px !important; }
.breadcrumb-nav > span[itemprop='itemListElement']:first-of-type, .breadcrumb-nav > .breadcrumb-sep:first-of-type, .breadcrumb-nav > span[itemprop='itemListElement']:nth-of-type(2) { display: inline-flex !important; align-items: center !important; white-space: nowrap !important; }
.breadcrumb-nav .breadcrumb-sep-title { display: none !important; }
/* In Product Post: Title crumb breaks to dedicated Line 2 below Trang chủ / Label */
.product-page-main .breadcrumb-nav .breadcrumb-title-wrap { width: 100% !important; flex: 0 0 100% !important; display: block !important; margin-top: 4px !important; }
.product-page-main .breadcrumb-nav .current-crumb { display: block !important; width: 100% !important; font-size: 16px !important; font-weight: 800 !important; color: #0f172a !important; line-height: 1.35 !important; white-space: normal !important; overflow: visible !important; text-overflow: unset !important; }
/* In News Post: Line 1 has Trang chủ / Tin tức, Line 2 is the main post title (H1) */
.news-page-container .breadcrumb-nav .breadcrumb-title-wrap { display: none !important; }
.news-page-container .blogger-post-title { font-size: 18px !important; font-weight: 800 !important; color: #0f172a !important; line-height: 1.35 !important; margin: 4px 0 8px 0 !important; display: block !important; width: 100% !important; }
/* 2. Tighten Spacing: Remove empty white gap below Danh mục SP & Giỏ hàng */
b\:widget-settings, b\:widget-setting { display: none !important; }
.main-nav { padding: 4px 0 0 0 !important; margin: 0 !important; }
.main-nav > .container { gap: 4px !important; padding: 0 10px !important; }
.nav-menu { padding: 2px 0 4px 0 !important; margin: 0 !important; }
.hero-section { padding-top: 4px !important; padding-bottom: 12px !important; margin-top: 0 !important; }
.hero-grid, .hero-main-area, .hero-top-row { margin-top: 0 !important; padding-top: 0 !important; }
.category-page-container, .product-page-container, .news-page-container, .blogger-post-wrap { padding-top: 8px !important; margin-top: 0 !important; }
.product-detail-hero { margin-top: 0 !important; }
/* 3. Date ("Đăng ngày") on Line 1, Author ("Tác giả") on Line 2 Below */
.blogger-post-meta { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 5px !important; font-size: 12px !important; line-height: 1.5 !important; margin-bottom: 14px !important; padding-bottom: 10px !important; border-bottom: 1px solid #e2e8f0 !important; }
.blogger-post-meta > span { display: block !important; width: 100% !important; }
.news-list-info { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 4px !important; }
.news-list-info > span:not(.news-tag):not(.news-list-tag) { display: block !important; width: 100% !important; }
}
/* ==================== HD4PRO NEWS TYPOGRAPHY & CUSTOM BOX (TURN 12) ==================== */
/* 1. Tiêu đề H1, H2 trong bài viết tin tức to hơn và đậm */
.news-page-container .blogger-post-title, .news-page-main .blogger-post-title { font-size: 26px !important; font-weight: 800 !important; color: #0f172a !important; line-height: 1.35 !important; margin-bottom: 14px !important; }
.news-page-main .blogger-post-body h1, .blogger-post-body h1 { font-size: 25px !important; font-weight: 800 !important; color: #0f172a !important; line-height: 1.35 !important; margin: 24px 0 12px 0 !important; padding-bottom: 6px !important; border-bottom: 1px solid #f1f5f9 !important; }
.news-page-main .blogger-post-body h2, .blogger-post-body h2 { font-size: 21px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; margin: 22px 0 10px 0 !important; padding-left: 10px !important; border-left: 3.5px solid #c59b27 !important; }
.news-page-main .blogger-post-body h3, .blogger-post-body h3 { font-size: 18px !important; font-weight: 700 !important; color: #334155 !important; line-height: 1.45 !important; margin: 18px 0 8px 0 !important; }
/* 2. Khung thông tin bo tròn 3 dòng độc lập ở cuối bài viết tin tức (User Request) */
.news-custom-box { background: #fbfbfa !important; border: 1.5px solid #e2e8f0 !important; border-radius: 14px !important; padding: 16px 20px !important; margin: 28px 0 12px 0 !important; display: flex !important; flex-direction: column !important; gap: 10px !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important; box-sizing: border-box !important; }
.news-custom-line { font-size: 15px !important; line-height: 1.55 !important; display: block !important; width: 100% !important; word-break: break-word !important; color: #1e293b !important;
/* Mặc định text màu đen */
}
.news-line-label { font-weight: 700 !important; margin-right: 6px !important; display: inline !important; }
.news-line-text { color: #1e293b !important;
/* Nội dung mặc định text màu đen */
font-weight: 400 !important; display: inline !important; }
/* Dòng 1: Màu đỏ */
.news-line-red { color: #dc2626 !important; font-weight: 700 !important; }
/* Dòng 2: Màu xanh */
.news-line-blue, .news-line-green { color: #0284c7 !important; font-weight: 700 !important; }
/* Dòng 3: Màu vàng đất */
.news-line-gold { color: #b45309 !important; font-weight: 700 !important; }
/* Thông báo mờ cuối trang nội dung (User Request) */
.content-disclaimer-notice { text-align: center !important; color: #94a3b8 !important;
/* Thông báo mờ tinh tế */
font-size: 13px !important; font-style: italic !important; margin: 14px 0 20px 0 !important; padding: 6px 12px !important; letter-spacing: 0.25px !important; }
.site-demo-disclaimer { color: #64748b !important; font-size: 12px !important; font-style: italic !important; margin: 5px 0 0 0 !important; letter-spacing: 0.25px !important; }
/* Header khối tin tức hiển thị tiêu đề và nút xem thêm responsive (User Request) */
.news-title-desktop { display: inline; }
.news-title-mobile { display: none; }
.news-view-desktop { display: inline; }
.news-view-mobile { display: none; }
@media (max-width: 767px) {
.news-page-container .blogger-post-title, .news-page-main .blogger-post-title { font-size: 21px !important; font-weight: 800 !important; margin: 6px 0 10px 0 !important; }
.news-page-main .blogger-post-body h1, .blogger-post-body h1 { font-size: 20px !important; font-weight: 800 !important; margin: 18px 0 10px 0 !important; }
.news-page-main .blogger-post-body h2, .blogger-post-body h2 { font-size: 18.5px !important; font-weight: 800 !important; margin: 16px 0 8px 0 !important; padding-left: 8px !important; }
.news-custom-box { padding: 14px 16px !important; margin: 20px 0 10px 0 !important; border-radius: 12px !important; gap: 8px !important; }
.news-custom-line { font-size: 14px !important; line-height: 1.5 !important; color: #1e293b !important; }
.content-disclaimer-notice { font-size: 12px !important; margin: 10px 0 16px 0 !important; }
/* Khối tin tức mobile: Tiêu đề "Kinh nghiệm HD" & nút "Xem thêm" trên 1 dòng */
.news-header { padding: 10px 12px !important; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; flex-wrap: nowrap !important; gap: 8px !important; }
.news-title-wrap { display: flex !important; align-items: center !important; gap: 6px !important; min-width: 0 !important; flex: 1 1 auto !important; }
.news-icon { font-size: 16px !important; flex-shrink: 0 !important; }
.news-section-title { font-size: 14px !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; letter-spacing: 0.2px !important; margin: 0 !important; }
.news-title-desktop { display: none !important; }
.news-title-mobile { display: inline !important; white-space: nowrap !important; }
.news-view-all { display: inline-flex !important; align-items: center !important; padding: 5px 12px !important; font-size: 11.5px !important; white-space: nowrap !important; flex-shrink: 0 !important; border-radius: 16px !important; }
.news-view-desktop { display: none !important; }
.news-view-mobile { display: inline !important; white-space: nowrap !important; }
}
/* ==================== 15. FLOATING FOOTER NOTICE & NUMBERED SIDEBAR ==================== */
.footer-floating-notice { position: fixed !important; bottom: 0 !important; left: 0 !important; right: 0 !important; z-index: 99999 !important; background: rgba(15, 23, 42, 0.96) !important; backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important; border-top: 1.5px solid #c59b27 !important; padding: 6px 18px !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.25) !important; color: #f8fafc !important; font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0.2px !important; line-height: 1.35 !important; }
/* Khoảng trống đệm an toàn dưới chân trang Desktop tránh bị đè (User Request 2) */
.footer-bottom { padding-bottom: 50px !important; }
.footer-floating-notice-icon { font-size: 16px !important; flex-shrink: 0 !important; }
.footer-floating-notice-text { text-align: center !important; }
.footer-floating-notice-text strong { color: #ef4444 !important; font-weight: 800 !important; letter-spacing: 0.5px !important; }
.footer-floating-notice-close { position: absolute !important; right: 14px !important; top: 50% !important; transform: translateY(-50%) !important; background: rgba(255, 255, 255, 0.12) !important; border: none !important; color: #cbd5e1 !important; width: 26px !important; height: 26px !important; border-radius: 50% !important; font-size: 13px !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; transition: all 0.2s ease !important; line-height: 1 !important; padding: 0 !important; }
.footer-floating-notice-close:hover { background: rgba(239, 68, 68, 0.3) !important; color: #ffffff !important; }
/* Sidebar Categories Numbered List (User Request 2) */
.sidebar-cat-numbered-list { list-style: none !important; padding: 0 !important; margin: 0 !important; display: flex !important; flex-direction: column !important; gap: 6px !important; }
.sidebar-cat-item { display: flex !important; align-items: center !important; padding: 7px 10px !important; background: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-radius: 8px !important; text-decoration: none !important; transition: all 0.2s ease !important; color: #1e293b !important; font-size: 13px !important; font-weight: 600 !important; }
.sidebar-cat-item:hover { background: #fefce8 !important; border-color: #c59b27 !important; color: #c59b27 !important; transform: translateX(3px) !important; }
.cat-number-badge { width: 22px !important; height: 22px !important; background: linear-gradient(135deg, #dfb76c 0%, #c59b27 100%) !important; color: #11141e !important; font-weight: 800 !important; font-size: 11px !important; border-radius: 6px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; margin-right: 10px !important; flex-shrink: 0 !important; }
.cat-name { flex: 1 1 auto !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
.cat-arrow-icon { color: #94a3b8 !important; font-size: 16px !important; font-weight: 700 !important; }
@media (max-width: 768px) {
.footer-bottom { padding-bottom: 65px !important; }
.footer-floating-notice { bottom: 54px !important; padding: 7px 34px 7px 12px !important; font-size: 12px !important; gap: 6px !important; }
.footer-floating-notice-icon { font-size: 14px !important; }
.footer-floating-notice-close { right: 8px !important; width: 22px !important; height: 22px !important; font-size: 11px !important; }
}
@media (max-width: 768px) {
/* Hide partner brands section completely on mobile */
.brands-section { display: none !important; }
}
@media (max-width: 767px) {
/* Responsive mobile 6 products grid (2 per row) */
.cat-product-body { padding: 8px !important; }
.cat-product-section .product-grid, .product-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
.cat-product-section .product-grid > .product-card:nth-child(n+7), #sec_shop_featured .product-grid > .product-card:nth-child(n+7), #sec_shop_newest .product-grid > .product-card:nth-child(n+7), #sec_shop_deals .product-grid > .product-card:nth-child(n+7) { display: none !important; }
.product-card { padding: 8px !important; border-radius: 8px !important; }
.product-thumb { border-radius: 6px !important; margin-bottom: 6px !important; }
.product-title { font-size: 12px !important; height: 32px !important; line-height: 1.35 !important; margin-bottom: 4px !important; }
.product-specs { font-size: 9.5px !important; padding: 2px 5px !important; }
.prod-price-now { font-size: 14px !important; }
.prod-price-old { font-size: 10.5px !important; }
.product-actions { gap: 4px !important; margin-top: auto !important; }
.btn-buy-now { font-size: 10.5px !important; padding: 6px 4px !important; letter-spacing: 0 !important; }
.btn-add-cart { width: 32px !important; height: 30px !important; font-size: 14px !important; }
}
/* ==================== FLOATING CONTACT BUTTON (1 ZALO, 1 PHONE, 1 MESSENGER - USER REQ 1) ==================== */
.floating-contact-wrapper { position: fixed !important; right: 24px !important; bottom: 80px !important; z-index: 99990 !important; display: flex !important; flex-direction: column !important; align-items: flex-end !important; user-select: none !important; }
/* Gentle Wobble and Pulse Animation (rung lac nhe va mem mai) */
@keyframes softWiggle {
0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
12% { transform: translateY(-3px) rotate(-3.5deg) scale(1.02); }
24% { transform: translateY(1px) rotate(3deg) scale(1.02); }
36% { transform: translateY(-2px) rotate(-2.5deg) scale(1.01); }
48% { transform: translateY(1px) rotate(2deg) scale(1.01); }
60% { transform: translateY(-1px) rotate(-1deg) scale(1); }
72% { transform: translateY(0) rotate(0deg) scale(1); }
}
@keyframes softGlowPulse {
0% { transform: scale(1); opacity: 0.85; }
50% { transform: scale(1.4); opacity: 0; }
100% { transform: scale(1.4); opacity: 0; }
}
.floating-contact-btn { display: flex !important; align-items: center !important; gap: 12px !important; min-width: 175px !important; padding: 10px 20px 10px 14px !important; background: linear-gradient(135deg, #1a2233 0%, #0f1422 100%) !important; border: 2px solid #dfb76c !important; border-radius: 50px !important; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(197, 155, 39, 0.4) !important; cursor: pointer !important; animation: softWiggle 3.5s ease-in-out infinite !important; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important; text-decoration: none !important; }
.floating-contact-btn:hover { animation-play-state: paused !important; transform: translateY(-3px) scale(1.04) !important; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 24px rgba(197, 155, 39, 0.65) !important; border-color: #ffd700 !important; }
.fcb-icon-wrap { position: relative !important; width: 40px !important; height: 40px !important; border-radius: 50% !important; background: linear-gradient(135deg, #dfb76c 0%, #c59b27 100%) !important; color: #11141e !important; display: flex !important; align-items: center !important; justify-content: center !important; flex-shrink: 0 !important; }
.fcb-pulse-ring { position: absolute !important; top: -4px !important; left: -4px !important; right: -4px !important; bottom: -4px !important; border-radius: 50% !important; border: 2px solid #dfb76c !important; animation: softGlowPulse 2s infinite !important; pointer-events: none !important; }
.fcb-info { display: flex !important; flex-direction: column !important; line-height: 1.2 !important; text-align: left !important; }
.fcb-sub { font-size: 10px !important; color: #dfb76c !important; font-weight: 800 !important; letter-spacing: 0.8px !important; text-transform: uppercase !important; }
.fcb-main { font-size: 14.5px !important; color: #ffffff !important; font-weight: 900 !important; letter-spacing: 0.3px !important; }
/* Quick Floating Contact Menu Popup */
.floating-contact-popup { display: none; position: absolute; bottom: calc(100% + 14px); right: 0; width: 290px; background: #ffffff; border-radius: 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0, 0, 0, 0.2); border: 1px solid rgba(223, 183, 108, 0.4); overflow: hidden; animation: fcbPopupFade 0.25s cubic-bezier(0.16, 1, 0.3, 1); z-index: 99995; }
.floating-contact-popup.active { display: block !important; }
@keyframes fcbPopupFade {
from { opacity: 0; transform: translateY(12px) scale(0.95); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.fcp-header { background: linear-gradient(135deg, #11141e 0%, #1e2538 100%); color: #ffffff; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid #dfb76c; }
.fcp-title { font-size: 13px; font-weight: 800; color: #dfb76c; display: flex; align-items: center; gap: 7px; letter-spacing: 0.3px; }
.fcp-close { background: rgba(255, 255, 255, 0.15); border: none; color: #ffffff; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; }
.fcp-close:hover { background: rgba(255, 255, 255, 0.3); }
.fcp-list { padding: 12px; display: flex; flex-direction: column; gap: 10px; background: #f8fafc; }
.fcp-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #ffffff; border-radius: 10px; border: 1px solid #e2e8f0; text-decoration: none; color: #1e293b; transition: all 0.2s ease; }
.fcp-item:hover { transform: translateX(-3px); border-color: #dfb76c; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.fcp-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 800; font-size: 15px; color: #ffffff; }
.fcp-icon-zalo { background: #0068ff; }
.fcp-icon-phone { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.fcp-icon-messenger { background: linear-gradient(135deg, #0084ff 0%, #00c6ff 100%); }
.fcp-details { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.fcp-name { font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; }
.fcp-value { font-size: 14px; font-weight: 800; color: #0f172a; }
.fcp-item:hover .fcp-value { color: #c59b27; }
.fcp-action { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 6px; background: #f1f5f9; color: #475569; flex-shrink: 0; }
.fcp-item:hover .fcp-action { background: #dfb76c; color: #11141e; }
@media (max-width: 768px) {
.floating-contact-wrapper { right: 16px !important; bottom: 85px !important; }
.floating-contact-btn { min-width: 155px !important; padding: 8px 16px 8px 12px !important; }
.fcb-icon-wrap { width: 34px !important; height: 34px !important; }
.fcb-main { font-size: 13.5px !important; }
.floating-contact-popup { width: 270px; right: 0; }
}
/* Ensure Contact Modal is top-most */
.contact-modal-overlay { z-index: 999998 !important; }
.contact-modal { z-index: 999999 !important; }
/* ==================== AMBIENT PARTICLES (USER REQ 2) ==================== */
#ambient-particles { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; pointer-events: none !important; z-index: 99 !important; }

/* ==================== NAVBAR SPECIAL ITEM COLORS (USER REQ 3) ==================== */
.nav-menu .nav-dvd-item > a, .nav-dvd-item > a {
  color: #ef4444 !important;
  font-weight: 800 !important;
}
.nav-menu .nav-dvd-item > a:hover, .nav-dvd-item > a:hover {
  color: #dc2626 !important;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.5) !important;
}
.nav-menu .nav-bluray-item > a, .nav-bluray-item > a {
  color: #0ea5e9 !important;
  font-weight: 800 !important;
}
.nav-menu .nav-bluray-item > a:hover, .nav-bluray-item > a:hover {
  color: #38bdf8 !important;
  text-shadow: 0 0 10px rgba(14, 165, 233, 0.5) !important;
}

/* ==================== SIDEBAR CATEGORIES ACCORDION SUBMENU (USER REQ 4) ==================== */
.sidebar-cat-has-sub {
  position: relative;
}
.sidebar-cat-parent {
  cursor: pointer !important;
}
.cat-expand-arrow {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s !important;
  font-size: 11px !important;
}
.sidebar-cat-has-sub.is-open .cat-expand-arrow {
  transform: rotate(180deg) !important;
  color: #c59b27 !important;
}
.sidebar-cat-has-sub.is-open .sidebar-cat-parent {
  background: #fdfaf3 !important;
  border-color: #dfb76c !important;
}
.sidebar-cat-sub-list {
  display: none;
  list-style: none !important;
  padding: 6px 0 8px 14px !important;
  margin: 4px 0 6px 14px !important;
  border-left: 2px solid #dfb76c !important;
  background: rgba(223, 183, 108, 0.05) !important;
  border-radius: 0 10px 10px 0 !important;
  animation: catSubFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.sidebar-cat-has-sub.is-open .sidebar-cat-sub-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
@keyframes catSubFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.sidebar-cat-sub-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 10px !important;
  text-decoration: none !important;
  color: #334155 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}
.sidebar-cat-sub-item:hover {
  background: #ffffff !important;
  color: #c59b27 !important;
  transform: translateX(3px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
.cat-sub-bullet {
  font-size: 9.5px !important;
  font-weight: 800 !important;
  color: #dfb76c !important;
  background: #f1f5f9 !important;
  padding: 1px 5px !important;
  border-radius: 4px !important;
  letter-spacing: 0.3px !important;
  flex-shrink: 0 !important;
}
.sidebar-cat-sub-item:hover .cat-sub-bullet {
  background: #dfb76c !important;
  color: #11141e !important;
}

/* Them: style tooltip trong Blog1 widget */
.post-body a.b-tooltip-container {
      position: relative;
      display: inline-block;
    }

    .post-body a.b-tooltip-container .b-tooltip {
      display: block !important;
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translate(-20%, 1px);
      visibility: hidden;
      opacity: 0;
      z-index: 1;
      transition: opacity 0.2s ease-in-out;
    }

    .post-body a.b-tooltip-container .b-tooltip iframe {
      width: 200px;
      height: 198px;
      max-width: none;
      border: none;
      border-radius: 20px;
      box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.2);
    }

    @media (hover: hover) {
      .post-body a.b-tooltip-container:hover .b-tooltip {
        visibility: visible;
        opacity: 1;
      }
    }
