html { overflow-x: hidden; }
/* ═══════════════════════════════════════════════════════════
   SHARED.CSS — Bao Bì Tân Long
   Dùng chung cho tất cả trang: import bằng <link rel="stylesheet" href="shared.css">
   GHI CHÚ: KHÔNG định nghĩa màu chủ đạo ở đây — tất cả màu theme lấy từ themes.css
═══════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* ── KHÔNG đặt --blue-* hay --primary-* ở đây — đã có trong themes.css ── */

    /* ── Màu trung tính (không đổi theo theme) ── */
    --orange:      #f97316;
    --red:         #e53e3e;
    --white:       #ffffff;
    --off-white:   #f7f9fc;
    --gray-50:     #f8fafc;
    --gray-100:    #f0f4f8;
    --gray-200:    #dde4f0;
    --gray-400:    #8fa0b8;
    --gray-500:    #4a5e80;
    --gray-700:    #1e3557;
    --gray-900:    #0f1e36;

    /* ── Typography ── */
    --font:        'Be Vietnam Pro', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-head:   'Be Vietnam Pro', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-body:   'Be Vietnam Pro', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    /* ── Border radius ── */
    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   14px;
    --radius-xl:   20px;

    /* ── Shadows (dùng giá trị tĩnh, không dùng rgb-primary ở đây) ── */
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
    --shadow-md:   0 6px 20px rgba(0,0,0,0.10);
    --shadow-lg:   0 12px 36px rgba(0,0,0,0.14);
    --transition:  all 0.25s ease;
}

body { font-family: var(--font); color: var(--gray-900); background: var(--white); line-height: 1.65; overflow-x: hidden; }

/* ══════════════════════════ TOP BAR ══════════════════════════ */
.top-bar { background: var(--blue-dark); color: rgba(255,255,255,0.85); font-size: 0.78rem; padding: 0.45rem 0; }
.top-bar-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 2rem; }
.top-bar-item { display: flex; align-items: center; gap: 0.4rem; }
.top-bar-right { display: flex; align-items: center; gap: 1.5rem; }
.hotline-pill { background: var(--yellow); color: var(--gray-900); padding: 0.22rem 1rem; border-radius: 20px; font-weight: 700; font-size: 0.78rem; text-decoration: none; transition: filter 0.2s; }
.hotline-pill:hover { filter: brightness(1.08); }

/* ══════════════════════════ HEADER ══════════════════════════ */
.site-header { background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 900; }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0.7rem 2rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.logo { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; }
.logo-mark { height: 64px; width: auto; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--transition); background: none; border-radius: 0; box-shadow: none; }
.logo-mark:hover { opacity: 0.9; }
.logo-mark svg { width: 56px; height: 56px; }
.logo-mark img { height: 64px; width: auto; object-fit: contain; display: block; }
.logo-text strong { display: block; font-size: 1.3rem; font-weight: 800; color: var(--blue-dark); text-transform: uppercase; line-height: 1.2; letter-spacing: -0.5px; }
.logo-text span { font-size: 0.67rem; color: var(--blue); font-weight: 600; }
.search-wrap { position: relative; max-width: 540px; width: 100%; margin: 0 auto; }
.search-wrap input { width: 100%; padding: 0.7rem 3.2rem 0.7rem 1.2rem; border: 2px solid var(--gray-200); border-radius: 40px; font-size: 0.88rem; color: var(--gray-900); background: var(--gray-100); outline: none; transition: var(--transition); font-family: var(--font); }
.search-wrap input:focus { border-color: var(--blue); background: white; box-shadow: 0 0 0 3px rgba(var(--rgb-primary),0.1); }
.search-wrap input::placeholder { color: var(--gray-400); }
.search-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: var(--blue); border: none; border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; }
.search-btn:hover { background: var(--blue-dark); }
.search-btn svg { width: 14px; height: 14px; color: white; }
.header-actions { display: flex; align-items: center; gap: 0.85rem; }
.quote-btn { background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark)); color: white; padding: 0.62rem 1.3rem; border-radius: 40px; font-size: 0.8rem; font-weight: 700; text-decoration: none; text-transform: uppercase; transition: var(--transition); white-space: nowrap; box-shadow: 0 4px 12px rgba(var(--rgb-primary),0.25); }
.quote-btn:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(var(--rgb-primary),0.35); }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.4rem; }
.mobile-menu-btn span { width: 24px; height: 2.5px; background: var(--blue-dark); border-radius: 2px; display: block; }

/* ══════════════════════════ NAV ══════════════════════════ */
.main-nav { background: linear-gradient(90deg, var(--blue-deep), var(--blue-dark)); border-bottom: 3px solid var(--yellow); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: flex; }
.nav-list { list-style: none; display: flex; }
.nav-item { position: relative; }
.nav-link { display: block; padding: 0.85rem 1.2rem; color: rgba(255,255,255,0.88); text-decoration: none; font-size: 0.88rem; font-weight: 600; white-space: nowrap; transition: var(--transition); }
.nav-link:hover { background: rgba(255,255,255,0.1); color: white; }
.nav-link.active { background: rgba(255,255,255,0.15); color: var(--yellow); border-bottom: 3px solid var(--yellow); margin-bottom: -3px; }
/* Mega menu */
.mega-menu { position: absolute; top: 100%; left: 0; background: white; box-shadow: 0 20px 50px rgba(0,0,0,0.14); min-width: min(680px, 95vw); padding: 2rem; display: none; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; z-index: 1001; border-top: 3px solid var(--blue); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.nav-item:hover .mega-menu { display: grid; }
.mega-col h4 { font-size: 0.72rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--blue-light); }
.mega-col ul { list-style: none; }
.mega-col li { margin-bottom: 0.35rem; }
.mega-col a { color: var(--gray-500); text-decoration: none; font-size: 0.85rem; display: flex; align-items: center; gap: 0.4rem; transition: all 0.15s; padding: 0.1rem 0; }
.mega-col a::before { content: '▸'; color: var(--blue); font-size: 0.65rem; }
.mega-col a:hover { color: var(--blue); padding-left: 4px; }

/* ══════════════════════════ PAGE HERO ══════════════════════════ */
.page-hero { background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 55%, var(--blue) 100%); padding: 3.5rem 2rem; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 32px); }
.page-hero::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,0.04); }
.page-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.77rem; color: rgba(255,255,255,0.55); margin-bottom: 0.75rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: rgba(255,255,255,0.9); }
.page-hero h1 { font-size: 2.2rem; font-weight: 900; color: white; text-transform: uppercase; line-height: 1.15; }
.page-hero h1 em { color: var(--yellow); font-style: normal; }

/* ══════════════════════════ UTILITIES ══════════════════════════ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 2rem; }
.section-alt { padding: 5rem 2rem; background: var(--off-white); }
.section-dark { padding: 5rem 2rem; background: var(--blue-deep); }
.section-label { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.7rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.6rem; }
.section-label::before { content: ''; width: 26px; height: 3px; background: var(--blue); display: block; border-radius: 2px; }
.section-label.center { display: flex; justify-content: center; }
.section-label.center::before, .section-label.center::after { content: ''; width: 26px; height: 3px; background: var(--blue); display: block; border-radius: 2px; }
.section-title { font-size: 2rem; font-weight: 900; color: var(--blue-dark); text-transform: uppercase; line-height: 1.15; margin-bottom: 1rem; }
.section-title em { color: var(--blue); font-style: normal; }
.section-title.white { color: white; }
.section-title.white em { color: var(--yellow); }
.section-title.center { text-align: center; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark)); color: white; padding: 0.82rem 1.75rem; border-radius: 40px; font-size: 0.84rem; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.3px; transition: var(--transition); box-shadow: 0 4px 14px rgba(var(--rgb-primary),0.25); }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(var(--rgb-primary),0.35); }
.btn-outline { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: var(--blue); padding: 0.78rem 1.65rem; border-radius: 40px; border: 2px solid var(--blue); font-size: 0.84rem; font-weight: 700; text-decoration: none; text-transform: uppercase; transition: var(--transition); }
.btn-outline:hover { background: var(--blue); color: white; }
.btn-yellow { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--yellow); color: var(--gray-900); padding: 0.82rem 1.75rem; border-radius: 40px; font-size: 0.84rem; font-weight: 800; text-decoration: none; text-transform: uppercase; transition: var(--transition); box-shadow: 0 4px 14px rgba(245,197,24,0.35); }
.btn-yellow:hover { filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(245,197,24,0.45); }

/* ── Nút báo giá mobile ── */
.btn-green { display: inline-block; background: var(--blue); color: #fff; padding: 0.6rem 1.4rem; border-radius: 6px; font-weight: 700; font-size: 0.85rem; text-decoration: none; transition: background 0.2s; }
.btn-green:hover { background: var(--blue-dark); color: #fff; }

/* ══════════════════════════ FOOTER ══════════════════════════ */
footer { background: var(--primary-navy); color: white; padding: 4rem 2rem 0; border-top: 3px solid var(--blue); }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.1fr; gap: 3.5rem; padding-bottom: 3rem; }
.footer-col h4 { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--blue-mid); margin-bottom: 1.25rem; padding-bottom: 0.6rem; border-bottom: 2px solid rgba(var(--rgb-primary),0.25); }
.footer-col p { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.85; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.875rem; display: block; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--yellow); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.65rem; margin-bottom: 0.85rem; }
.footer-contact-item .ci { flex-shrink: 0; margin-top: 0.1rem; font-size: 0.9rem; }
.footer-contact-item span { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.65; }
.footer-contact-item a { color: var(--yellow); font-weight: 600; display: inline; }
.footer-contact-item a:hover { color: white; padding-left: 0; }
.social-row { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.social-btn { width: 38px; height: 38px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.75rem; font-weight: 700; transition: var(--transition); }
.social-btn:hover { background: var(--blue); border-color: var(--blue); color: white; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); max-width: 1280px; margin: 0 auto; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 0.77rem; }

/* ══════════════════════════ FLOATERS ══════════════════════════ */
.floaters { position: fixed; right: 18px; bottom: 80px; display: flex; flex-direction: column; gap: 10px; z-index: 999; align-items: flex-end; }
.floater { border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; color: white; font-weight: 700; box-shadow: 0 4px 16px rgba(0,0,0,0.25); transition: var(--transition); position: relative; }
.floater-label { position: absolute; right: calc(100% + 10px); color: white; padding: 0.35rem 0.85rem; border-radius: 6px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; opacity: 0; visibility: hidden; transition: var(--transition); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.floater:hover .floater-label { opacity: 1; visibility: visible; }
.floater:hover { transform: scale(1.08); }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.55); opacity: 0; } }
.floater-pulse::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2.5px solid currentColor; opacity: 0; animation: pulse-ring 2s ease-out infinite; }
.floater-pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: pulse-ring 2s ease-out infinite 0.65s; }
.f-zalo { background: #0068ff; width: 50px; height: 50px; font-size: 0.75rem; }
.f-zalo .floater-label { background: #004fcc; }
.f-mess { background: #0084ff; width: 46px; height: 46px; font-size: 1rem; }
.f-mess .floater-label { background: #0060cc; }
.f-phone { background: var(--blue); width: 60px; height: 60px; font-size: 1.2rem; box-shadow: 0 6px 20px rgba(var(--rgb-primary),0.45); }
.f-phone .floater-label { background: var(--blue-deep); color: var(--yellow); font-weight: 700; border: 1px solid rgba(245,197,24,0.35); }
@keyframes ring { 0%,80%,100% { transform: scale(1); } 20% { transform: scale(1.12); } 40% { transform: scale(0.97); } }
.f-phone { animation: ring 3.5s ease-in-out infinite; }
.f-phone:hover { animation: none; transform: scale(1.08); }

/* ══════════════════════════ MOBILE NAV DRAWER ══════════════════════════ */
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1100; backdrop-filter: blur(2px); }
.mobile-nav-overlay.open { display: block; }
.mobile-nav-drawer { position: fixed; top: 0; left: -320px; bottom: 0; width: 300px; background: white; z-index: 1200; transition: left 0.32s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; box-shadow: 8px 0 32px rgba(0,0,0,0.18); overflow-y: auto; }
.mobile-nav-drawer.open { left: 0; }
.mobile-nav-head { background: linear-gradient(135deg, var(--blue-deep), var(--blue-dark)); padding: 1.2rem 1.25rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 3px solid var(--yellow); }
.mobile-nav-head .logo-text strong { color: white; font-size: 1rem; }
.mobile-nav-head .logo-text span { color: rgba(255,255,255,0.6); }
.mobile-nav-close { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.12); border: none; cursor: pointer; color: white; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.mobile-nav-close:hover { background: rgba(255,255,255,0.22); }
.mobile-nav-links { padding: 1rem 0; flex: 1; }
.mobile-nav-links a { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1.5rem; color: var(--gray-700); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; border-bottom: 1px solid var(--gray-100); transition: all 0.15s; }
.mobile-nav-links a:hover { background: var(--blue-light); color: var(--blue); padding-left: 1.85rem; }
.mobile-nav-links a.active-link { color: var(--blue); background: var(--blue-light); }
.mobile-nav-sub { background: var(--gray-100); }
.mobile-nav-sub a { padding-left: 2.25rem; font-size: 0.85rem; font-weight: 500; color: var(--gray-500); border-bottom: 1px solid var(--gray-200); }
.mobile-nav-sub a::before { content: '▸ '; color: var(--blue); font-size: 0.7rem; }
.mobile-nav-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--gray-200); background: var(--off-white); }
.mobile-nav-footer .hotline-pill { display: block; text-align: center; padding: 0.7rem; font-size: 0.95rem; margin-bottom: 0.6rem; }
.mobile-nav-toggle-btn { cursor: pointer; }
.mobile-submenu-icon { font-size: 0.7rem; color: var(--gray-400); transition: transform 0.2s; }
.mobile-nav-links .has-sub.open .mobile-submenu-icon { transform: rotate(90deg); }

/* ══════════════════════════ RESPONSIVE ══════════════════════════ */
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 768px) {
    .top-bar-left { display: none; }
    .mobile-menu-btn { display: flex; }
    .main-nav { display: none; }
    .header-inner { grid-template-columns: auto 1fr auto; }
    .search-wrap { display: none; }
    .quote-btn { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .page-hero h1 { font-size: 1.7rem; }
}
@media (max-width: 480px) {
    .header-inner { padding: 0.6rem 1rem; gap: 0.75rem; }
    .logo-mark { height: 40px; width: auto; }
    .logo-mark svg { width: 38px; height: 38px; }
    .logo-mark img { height: 40px; width: auto; }
    .logo-text strong { font-size: 0.95rem; }
    .logo-text span { display: none; }
    .search-wrap input { font-size: 0.82rem; padding: 0.6rem 2.8rem 0.6rem 1rem; }
    .top-bar-inner { padding: 0 1rem; }
    .page-hero { padding: 2.5rem 1rem; }
    .page-hero h1 { font-size: 1.45rem; }
    footer { padding: 3rem 1rem 0; }
    .floaters { right: 10px; bottom: 60px; gap: 8px; }
    .f-phone { width: 52px; height: 52px; font-size: 1.1rem; }
    .f-zalo { width: 44px; height: 44px; }
    .f-mess { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
    .logo-text strong { font-size: 1rem; }
    .logo-text span { font-size: 0.65rem; }
    .top-bar { display: none; }
    .header-inner { padding: 0.6rem 1rem; gap: 1rem; }
    .search-wrap { display: none; }
    .header-actions .quote-btn { display: none; }
    .nav-link { font-size: 0.82rem; padding: 0.65rem 0.7rem; }
    .footer-grid { padding: 2.5rem 1.25rem 0; }
    .footer-bottom { padding: 1rem 1.25rem; font-size: 0.75rem; }
    .social-btn { width: 38px; height: 38px; }
    .floater { width: 50px; height: 50px; }
}
/* Chống select text nội dung */
.article-body {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}