/* VOLT (dienmay4) — trang chủ y hệt mockup, cỡ đo theo mockup x1.87 (09-28) */
@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap");
:root { --vt-blue: #1E63F0; --vt-navy: #16233F; --vt-ink: #14213D; --vt-muted: #6B7485; --vt-red: #E53935; --vt-bg: #F3F6FB; }
body, p, li, a, input, button, h1, h2, h3, .nav > li > a { font-family: "Be Vietnam Pro", sans-serif; }
#top-bar { background: var(--vt-navy) !important; min-height: 40px; } #top-bar, #top-bar a, #top-bar span { color: #fff !important; font-size: 14px !important; }
.vt-tb { display: inline-flex; gap: 8px; align-items: center; } .vt-tb img { width: 16px; height: 16px; }
#header .header-main { background: #fff !important; }
#header #logo { width: 250px !important; }
#header #logo a { display: flex; align-items: center; gap: 8px; font-size: 50px; font-weight: 800; color: var(--vt-navy) !important; line-height: 1; letter-spacing: .02em; }
#header #logo a::before { content: ""; width: 42px; height: 58px; flex: 0 0 42px; background: url(icons/logo.png) center/contain no-repeat; }
#header .header-search-form { width: 520px; } #header .searchform .search-field { height: 48px !important; border: 1.5px solid var(--vt-blue) !important; border-radius: 6px 0 0 6px !important; box-shadow: none !important; font-size: 15px !important; }
#header .searchform .button.icon { height: 48px !important; width: 60px; background: var(--vt-blue) !important; border-radius: 0 6px 6px 0 !important; }
.vt-hd { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 500; color: var(--vt-ink) !important; } .vt-hd img { width: 26px; height: 26px; }
#header .account-item a, #header .cart-item a { color: var(--vt-ink) !important; font-size: 15px !important; text-transform: none !important; font-weight: 500 !important; } #header .account-item i, #header .cart-item i { font-size: 24px !important; }
#header .header-bottom { background: #fff !important; border-top: 1px solid #E8ECF3; }
#header .header-bottom .header-inner { display: flex; align-items: center; } #header .header-bottom .flex-center { flex: 1; display: flex; align-items: center; }
#header .header-bottom .flex-center::before { content: "☰   Danh mục sản phẩm"; background: var(--vt-blue); color: #fff; font-weight: 600; font-size: 16px; padding: 0 24px; height: 50px; line-height: 50px; min-width: 272px; box-sizing: border-box; border-radius: 6px 6px 0 0; margin-right: 26px; white-space: pre; }
#header .header-bottom .nav { justify-content: flex-start !important; } #header .header-bottom .nav > li > a { font-size: 15.5px !important; font-weight: 500 !important; color: var(--vt-ink) !important; text-transform: none !important; letter-spacing: 0 !important; }
#header .header-bottom .nav > li { margin: 0 22px !important; } #header .header-bottom .nav > li:last-child > a { color: var(--vt-red) !important; font-weight: 600 !important; }
.vt-top .col, .vt-sec .col { padding-bottom: 14px !important; }
.vt-side { background: #fff; border-radius: 8px; box-shadow: 0 4px 14px rgba(20,33,61,.06); padding: 6px 16px; height: 460px; } .vt-side ul { list-style: none; margin: 0 !important; padding: 0; } .vt-side li { margin: 0 !important; border-bottom: 1px solid #EEF1F6; } .vt-side li:last-child { border: 0; }
.vt-side a { display: flex; align-items: center; gap: 12px; padding: 12px 2px; font-size: 15.5px; color: var(--vt-ink) !important; } .vt-side a::after { content: "›"; margin-left: auto; color: var(--vt-muted); } .vt-side img { width: 24px; height: 24px; } .vt-hot a { color: var(--vt-red) !important; font-weight: 600; } .vt-hot a::after { display: none; }
.vt-hero { position: relative; height: 460px; border-radius: 8px; overflow: hidden; background-size: cover; background-position: center; padding: 48px 44px 0; }
.vt-kicker { color: #fff !important; font-size: 14px !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px !important; }
.vt-hero-title { color: #fff !important; font-size: 56px !important; font-weight: 800 !important; line-height: 1.1 !important; margin: 0 0 12px !important; } .vt-hero-lead { color: rgba(255,255,255,.9) !important; font-size: 18px !important; margin: 0 0 12px !important; }
.vt-hero-off { color: #fff !important; font-size: 30px !important; font-weight: 700; margin: 0 0 20px !important; } .vt-hero-off b { color: #58A6FF; font-size: 52px; }
.vt-btn { display: inline-flex; gap: 10px; align-items: center; background: var(--vt-blue); color: #fff !important; font-weight: 600; font-size: 16px; padding: 0 26px; min-height: 50px; border-radius: 6px; }
.vt-hero-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(10,20,45,.7); } .vt-hero-tabs span { display: flex; flex-direction: column; padding: 12px 24px; color: rgba(255,255,255,.7); font-size: 13px; }
.vt-hero-tabs b { color: #fff; font-size: 15px; font-weight: 600; } .vt-hero-tabs .on { box-shadow: inset 0 3px 0 var(--vt-blue); }
.vt-tile { display: flex; flex-direction: column; justify-content: center; height: 240px; padding: 0 30px; border-radius: 8px; background-size: cover; background-position: center; text-decoration: none !important; }
.vt-tile b { font-size: 22px; font-weight: 700; color: var(--vt-ink); } .vt-tile span { font-size: 22px; font-weight: 600; } .vt-tile i { font-style: normal; font-size: 58px; font-weight: 800; line-height: 1.05; } .vt-tile em { font-style: normal; font-size: 15px; color: var(--vt-ink); margin-top: 14px; }
.vt-tile-1 span, .vt-tile-1 i { color: #1E63F0; } .vt-tile-2 span, .vt-tile-2 i { color: #6D3FD6; } .vt-tile-3 span, .vt-tile-3 i { color: var(--vt-red); }
.vt-box { background: #fff; border-radius: 8px; box-shadow: 0 4px 14px rgba(20,33,61,.05); padding: 18px 22px 22px; margin-bottom: 20px; }
.vt-head { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; } .vt-head > p, .vt-head > div > p { margin: 0 !important; }
.vt-h2 { display: flex; align-items: center; gap: 12px; color: var(--vt-ink) !important; font-size: 26px !important; font-weight: 800 !important; margin: 0 !important; } .vt-h2 img { width: 30px; height: 30px; }
.vt-sub { color: var(--vt-muted) !important; font-size: 14.5px !important; margin: 2px 0 0 42px !important; }
.vt-chips { display: flex; gap: 8px; margin: 0 0 0 auto !important; } .vt-chips span { border: 1px solid #DDE3EC; border-radius: 99px; padding: 6px 18px; font-size: 14px; color: var(--vt-ink); } .vt-chips .on { background: var(--vt-blue); border-color: var(--vt-blue); color: #fff; }
.vt-more { color: var(--vt-blue) !important; font-weight: 600; font-size: 15px; white-space: nowrap; } .vt-head .vt-chips + .vt-more { margin-left: 18px; } .vt-head > div + .vt-more { margin-left: auto; }
.vt-grid { display: grid; gap: 14px; } .vt-cols-5 { grid-template-columns: repeat(5, 1fr); }
.vt-card { border: 1px solid #EBEFF5; border-radius: 8px; overflow: hidden; } .vt-img { display: block; position: relative; aspect-ratio: 1 / .78; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #fff; }
.vt-badge { position: absolute; left: 10px; top: 10px; background: var(--vt-red); color: #fff; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 99px; } .vt-heart { position: absolute; right: 10px; top: 10px; width: 22px !important; height: 22px !important; }
.vt-body { padding: 10px 14px 14px; display: flex; flex-direction: column; } .vt-cat { font-size: 11.5px; text-transform: uppercase; color: var(--vt-muted); letter-spacing: .04em; }
.vt-name { font-size: 15.5px; font-weight: 600; color: var(--vt-ink) !important; margin: 2px 0 4px; } .vt-name::after { content: "★★★★☆ 4.8"; display: block; color: #F5A623; font-size: 12.5px; font-weight: 400; margin-top: 2px; }
.vt-price { color: var(--vt-blue); font-size: 19px; font-weight: 800; order: 5; } .vt-old { order: 6; font-size: 13px; color: #9AA3B2; text-decoration: line-through; } .vt-add { display: none !important; }
.vt-blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .vt-blog a { border: 1px solid #EBEFF5; border-radius: 8px; overflow: hidden; text-decoration: none !important; display: flex; flex-direction: column; }
.vt-blog span { height: 160px; background-size: cover; background-position: center; position: relative; } .vt-blog em { position: absolute; left: 12px; bottom: 12px; background: #E3ECFF; color: var(--vt-blue); font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 4px; }
.vt-blog b { font-size: 17px; color: var(--vt-ink); padding: 12px 16px 4px; } .vt-blog i { font-style: normal; font-size: 14px; color: var(--vt-muted); padding: 0 16px 16px; }
.vt-strip { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 150px; border-radius: 8px; background-size: cover; background-position: center; text-decoration: none !important; position: relative; margin-bottom: 20px; }
.vt-strip b { color: #fff; font-size: 30px; font-weight: 800; } .vt-strip span { color: #fff; font-size: 20px; } .vt-strip i { font-style: normal; color: #7FD3FF; font-size: 36px; font-weight: 800; } .vt-strip em { position: absolute; right: 100px; top: 50%; transform: translateY(-50%); background: #fff; color: var(--vt-ink); font-style: normal; font-weight: 600; padding: 10px 22px; border-radius: 6px; }
.vt-usp { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 8px; padding: 18px 0; } .vt-usp p { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 0 !important; border-right: 1px solid #EBEFF5; } .vt-usp p:last-child { border: 0; }
.vt-usp img { width: 46px; height: 46px; } .vt-usp span { display: flex; flex-direction: column; font-size: 13px; color: var(--vt-muted); } .vt-usp b { color: var(--vt-ink); font-size: 16px; }
.vt-footer p, .vt-footer li, .vt-footer a, .vt-footer span { color: rgba(255,255,255,.85) !important; font-size: 14.5px !important; }
.vt-footer p.vt-ft-logo { display: flex; gap: 8px; align-items: center; margin: 0 0 10px !important; } .vt-ft-logo img { width: 50px; height: 50px; } .vt-footer p.vt-ft-logo span { font-size: 44px !important; font-weight: 800; color: #fff !important; }
.vt-ft-soc { display: flex; gap: 10px; } .vt-ft-soc a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.vt-footer h3.vt-ft-title { color: #fff !important; font-size: 17px !important; font-weight: 700 !important; margin: 0 0 14px !important; }
.vt-ft-ul, .vt-ft-list { list-style: none; margin: 0; padding: 0; } .vt-ft-ul li { margin: 0 0 9px !important; } .vt-ft-list li { display: flex; gap: 10px; margin: 0 0 10px !important; } .vt-ft-list img { width: 18px; height: 18px; margin-top: 3px; }
.vt-ft-bar { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; margin-top: 8px; } .vt-ft-bar a { margin-left: 26px; }
.absolute-footer { display: none !important; }
@media (max-width: 849px) {
  .vt-hero { height: 400px; padding: 30px 24px 0; } .vt-hero-title { font-size: 36px !important; } .vt-side { height: auto; }
  .vt-cols-5 { grid-template-columns: 1fr 1fr; } .vt-blog, .vt-usp { grid-template-columns: 1fr; } .vt-head { flex-wrap: wrap; } .vt-chips { margin: 0 !important; flex-wrap: wrap; } .vt-strip em { display: none; }
  .vt-usp p { justify-content: flex-start; padding: 8px 16px; border: 0; }
}
/* r2 */
.vt-heart { display: none !important; } .vt-img::after { content: "♡"; position: absolute; right: 12px; top: 6px; font-size: 22px; color: #8A93A5; }
.vt-hero { padding-top: 40px; } .vt-hero-off { margin-bottom: 14px !important; } .vt-hero .vt-btn { margin-bottom: 80px; }
.vt-chips { flex-wrap: nowrap; } .vt-chips span { white-space: nowrap; }
.vt-tile { padding: 0 26px; }
#header .searchform-wrapper select, #header .search_categories { display: none !important; }
#header .cart-item .cart-icon, #header .cart-item .button { background: none !important; border: 0 !important; }
#header .cart-item .cart-icon strong { border-color: var(--vt-ink) !important; color: var(--vt-ink) !important; }
/* r3 09-29 (so trang trong): header phải 1 hàng theo mockup — Tra cứu đơn hàng | Tài khoản | Giỏ hàng (icon + chữ) */
#header .header-main ul.nav-right { flex-wrap: nowrap !important; } #header .header-main ul.nav-right > li { margin: 0 8px !important; }
#header .header-main ul.nav-right > li.header-divider { display: none !important; }
#header .account-item > a { font-size: 0 !important; display: inline-flex !important; align-items: center; gap: 8px; }
#header .account-item > a::before { content: ""; width: 24px; height: 24px; background: url(icons/user.png) center/contain no-repeat; }
#header .account-item > a::after { content: "Tài khoản"; font-size: 14px; font-weight: 600; color: var(--vt-ink); }
#header .account-item > a i, #header .account-item > a span { display: none !important; }
#header .cart-item .header-cart-title { font-size: 14px !important; font-weight: 600 !important; text-transform: none !important; }
#header .search_categories { display: none !important; }
.vt-ft-soc a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: inline-flex !important; align-items: center; justify-content: center; font-size: 14px; margin-right: 8px; }
#header .account-item > a::after { white-space: nowrap; } #header .account-item, #header .header-main ul.nav-right > li { white-space: nowrap; } #header .header-main ul.nav-right > li { margin: 0 12px !important; }
#header .vt-hd { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }
#header .account-item > a { min-width: 112px; } #header .account-item > a::after { display: inline-block; }
#header .flex-col.flex-right { flex: 0 0 auto !important; }
/* Flatsome dùng ::before của .nav-top-link làm gạch chân (position absolute) -> icon đặt bằng nền của thẻ a */
#header .account-item > a::before { content: none !important; display: none !important; }
#header .account-item > a { background: url(icons/user.png) left center / 24px no-repeat; padding-left: 32px !important; }
#header .header-main ul.nav-right > li.html_top_right_text + li::before, #header .nav-divided > li + li::before { display: none !important; }
#header .account-item > a::after { position: static !important; left: auto !important; width: auto !important; height: auto !important; background: none !important; }
/* fix1005: ô quảng cáo — ảnh 695x560 không cắt chủ thể (cao vừa khung, neo phải, nền cùng màu mép ảnh) */
.vt-tile { background-size: auto 100% !important; background-position: right center !important; background-repeat: no-repeat !important; }
.vt-tile-1 { background-color: #DAEFFC; } .vt-tile-2 { background-color: #E2DCF2; } .vt-tile-3 { background-color: #F5E7DB; }
@media (max-width: 849px) {
  /* hero mobile: ảnh trên (dải 220px), chữ dưới nền tối; dải 3 tab không đè chữ (LESSONS 112) */
  .vt-hero { height: auto !important; padding: 236px 22px 0 !important; background-color: #0B1B44 !important; background-size: auto 220px !important; background-position: 72% 0 !important; background-repeat: no-repeat !important; }
  .vt-hero .vt-btn { margin-bottom: 22px !important; }
  .vt-hero-tabs { position: static !important; margin: 0 -22px; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .vt-hero-tabs span { padding: 10px 10px !important; font-size: 12px; } .vt-hero-tabs b { font-size: 13px !important; }
  .vt-hero-off { font-size: 22px !important; } .vt-hero-off b { font-size: 36px !important; }
  .vt-chips { flex-wrap: wrap !important; }
  .vt-tile { height: 200px !important; padding: 0 20px !important; } .vt-tile i { font-size: 46px !important; }
}
/* fix1005 mid-fix: header 900–1299 tràn phải 1206px (ô tìm 520px + 3 link chữ) và menu dưới rớt dòng */
@media (min-width: 850px) and (max-width: 1299px) {
  #header .header-search-form { width: auto !important; flex: 1 1 auto; min-width: 0; max-width: 420px; }
  #header .vt-hd { font-size: 0 !important; gap: 0 !important; } #header .vt-hd img { width: 26px !important; height: 26px !important; }
  #header .header-main .flex-right .header-nav-main > li { margin: 0 6px !important; }
  #header .header-bottom-nav > li > a { font-size: 14px !important; } #header .header-bottom-nav > li { margin: 0 8px !important; }
}
@media (min-width: 850px) and (max-width: 1099px) { #header .header-bottom-nav > li:nth-child(n+2):not(:last-child) { display: none !important; } #header .header-bottom-nav { flex-wrap: nowrap !important; } #header .header-account-title, #header .header-cart-title { display: none !important; } }
@media (max-width: 1299px) { .vt-ft-list li { white-space: normal !important; overflow-wrap: anywhere; min-width: 0; } }  /* fix1005: email chân trang tràn 900 */
