/* =========================================================================
   APLUBE – main.css
   Màu lấy từ Cài đặt APLUBE (biến --ap-*) in vào <head>.
   Khung: desktop 1440, tablet ≤ 1024, mobile ≤ 768 / 390.
   ========================================================================= */

:root {
	--ap-primary: #F9A600;
	--ap-accent: #F58220;
	--ap-yellow: #FFC21A;
	--ap-navy: #000793;
	--ap-navy-2: #123A97;
	--ap-deep: #00034F;
	--ap-topbar: #00045C;
	--ap-dark: #0B1033;
	--ap-grey: #EEF0F3;
	--ap-text-2: #3F4357;
	--ap-text-3: #5B5F73;
	--ap-muted: #8A8F98;
	--ap-line: #E8ECF2;
	--ap-soft: #F1F3F8;
	--ap-zalo: #0068FF;
	--ap-on-dark: #D9DCF6;
	--ap-on-dark-2: #C9CCF0;
	--ap-radius: 12px;
	--ap-gutter: 64px;
	--ap-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--g-sun: linear-gradient(118deg, var(--ap-yellow) 0%, var(--ap-primary) 38%, var(--ap-accent) 100%);
	--g-sun-x: linear-gradient(90deg, var(--ap-yellow), var(--ap-primary), var(--ap-accent));
	--g-navy: linear-gradient(125deg, var(--ap-deep) 0%, var(--ap-navy) 48%, var(--ap-navy-2) 100%);
}

/* ---------- Nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--ap-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--ap-dark);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--ap-navy); text-decoration: none; }
a:hover { color: var(--ap-navy-2); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ap-primary); outline-offset: 2px; }
.screen-reader-text, .hp-field {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ap-navy); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; color: #fff; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; display: inline-block; vertical-align: middle; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--ap-gutter); }
.wrap--narrow { max-width: 860px; }
.wrap--mid { max-width: 1120px; }
.site-main { display: block; min-height: 40vh; }
.sec { padding-top: 80px; padding-bottom: 0; }
.sec:last-child { padding-bottom: 80px; }
.site-main > .sec:last-child, .site-main > section:last-child:not(.sec--sun):not(.brand-band):not(.infra) { padding-bottom: 80px; }

/* ---------- Kiểu chữ dùng chung ---------- */
.h-xl { font-weight: 900; text-transform: uppercase; letter-spacing: -.5px; line-height: 1.02; font-size: clamp(34px, 4.2vw, 56px); }
.h2 { font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.7vw, 38px); line-height: 1.12; letter-spacing: -.3px; color: var(--ap-navy); }
.h2--light { color: #fff; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; }
.eyebrow--sun { color: var(--ap-yellow); }
.eyebrow--accent { color: var(--ap-accent); }
.slash { display: inline-block; width: 44px; height: 6px; background: linear-gradient(90deg, var(--ap-primary), var(--ap-accent)); transform: skewX(-30deg); }
.txt-sun { background: linear-gradient(95deg, var(--ap-yellow), var(--ap-primary) 40%, var(--ap-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl-box { display: inline-block; padding: 0 .12em; border: 2px solid var(--ap-yellow); color: var(--ap-primary); line-height: 1.05; }

.g-sun { background: var(--g-sun); }
.g-sun-soft { background: linear-gradient(135deg, #FFF8E6 0%, #FFEBD0 100%); }
.g-navy { background: var(--g-navy); }
.stripes { position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.16) 0 2px, transparent 2px 26px); }
.stripes-navy { position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(115deg, rgba(0,7,147,.08) 0 2px, transparent 2px 26px); }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; position: relative; }
.sec-head__t { display: flex; flex-direction: column; gap: 14px; }
.sec-head__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; white-space: nowrap; }
.sec-head__lead { max-width: 460px; margin: 0; color: var(--ap-text-3); line-height: 1.7; }

/* ---------- Nút ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 54px; padding: 0 30px; border-radius: 6px; border: 0; cursor: pointer;
	font-weight: 800; font-size: 15px; letter-spacing: .2px; line-height: 1; white-space: nowrap;
	transition: filter .15s, transform .15s, background .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { height: 46px; padding: 0 20px; font-size: 14px; }
.btn--xs { height: 34px; padding: 0 12px; font-size: 13px; }
.btn--icon { width: 44px; height: 44px; padding: 0; box-shadow: none !important; }
.btn-sun { background: linear-gradient(110deg, var(--ap-yellow) 0%, var(--ap-primary) 45%, var(--ap-accent) 100%); color: var(--ap-navy); box-shadow: 0 10px 24px rgba(245,130,32,.3); }
.btn-sun:hover { color: var(--ap-navy); filter: brightness(1.05); }
.btn-navy { background: linear-gradient(110deg, var(--ap-navy), var(--ap-navy-2)); color: #fff; }
.btn-navy:hover { color: #fff; filter: brightness(1.12); }
.btn-line { background: #fff; color: var(--ap-navy); border: 1.5px solid var(--ap-navy); }
.btn-line:hover { color: var(--ap-navy); background: #F5F6FF; }
.btn-zalo { background: var(--ap-zalo); color: #fff; }
.btn-zalo:hover { color: #fff; filter: brightness(1.1); }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ap-dark); border-radius: 8px; position: relative; }
.icon-btn:hover { background: var(--ap-soft); color: var(--ap-navy); }

.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.chip--grey { background: var(--ap-soft); color: var(--ap-text-2); font-weight: 600; }
.chip--navy { background: #E8E9FA; color: var(--ap-navy); }
.chip--sun { background: linear-gradient(110deg, var(--ap-primary), var(--ap-accent)); color: var(--ap-navy); font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid #D5D8E6; background: #fff; color: var(--ap-dark); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.pill span { color: var(--ap-muted); font-weight: 600; }
.pill:hover { border-color: var(--ap-navy); color: var(--ap-navy); }
.pill.is-active { background: var(--ap-navy); border-color: var(--ap-navy); color: #fff; }
.pill.is-active span { color: var(--ap-on-dark-2); }

input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], input[type=password], input[type=url], select, textarea {
	height: 50px; border: 1px solid #D5D8E6; border-radius: 6px; padding: 0 14px; background: #fff; color: var(--ap-dark); font-size: 15px; width: 100%;
}
textarea { height: auto; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ap-primary); outline-offset: 0; border-color: var(--ap-primary); }
.form-notice { margin: 10px 0 0; font-size: 14px; font-weight: 700; }
.form-notice.is-ok { color: #0E7A3A; }
.form-notice.is-err { color: #B42318; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ap-topbar); color: var(--ap-on-dark-2); font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; align-items: stretch; height: 44px; }
.topbar__left { display: flex; align-items: stretch; }
.topbar__group { display: flex; align-items: center; padding: 0 22px; font-weight: 800; letter-spacing: .3px; background: linear-gradient(110deg, var(--ap-yellow), var(--ap-primary) 50%, var(--ap-accent)); color: var(--ap-navy); }
.topbar__group:hover { color: var(--ap-navy); filter: brightness(1.05); }
.topbar__right { display: flex; align-items: center; gap: 28px; }
.topbar__right a { color: var(--ap-on-dark-2); }
.topbar__right a:hover { color: #fff; }
.topbar__hotline { display: inline-flex; align-items: center; gap: 8px; }
.topbar__hotline .ico { color: var(--ap-yellow); }
.topbar__hotline strong { color: #fff; }
.lang-switch { font-weight: 700; color: #fff; white-space: nowrap; }
.lang-switch span { color: #6A6FB0; font-weight: 500; }
.lang-switch--gt a, .lang-switch--gt select { color: #fff; }
.lang-switch--gt select { height: 28px; padding: 0 6px; background: transparent; border-color: rgba(255,255,255,.3); font-size: 13px; }
.lang-switch--gt select option { color: var(--ap-dark); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--ap-line); transition: box-shadow .2s; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0,7,147,.08); }
.site-header__in { display: flex; align-items: center; gap: 36px; height: 90px; }
.site-header__burger { display: none; }
.brand { display: flex; flex-direction: column; gap: 3px; flex-shrink: 0; }
.site-header .brand__logo { height: 30px; width: auto; max-width: none; }
.brand__by { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; color: var(--ap-muted); text-transform: uppercase; }
.nav { flex-grow: 1; align-self: stretch; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; height: 100%; align-items: stretch; }
.nav__list > li { display: flex; align-items: center; position: static; }
.nav__list > li > a { display: inline-flex; align-items: center; gap: 4px; height: 100%; color: var(--ap-dark); font-weight: 700; font-size: 14px; white-space: nowrap; border-bottom: 3px solid transparent; padding-top: 3px; }
.nav__list > li > a:hover, .nav__list > li.current-menu-item > a, .nav__list > li.current-menu-ancestor > a, .nav__list > li.is-open > a { color: var(--ap-navy); border-bottom-color: var(--ap-primary); }
.nav__list > li.menu-item-has-children:not(.has-mega) { position: relative; }
.nav__list .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: -10px; min-width: 240px; background: #fff; border: 1px solid var(--ap-line); border-top: 3px solid var(--ap-primary); border-radius: 0 0 10px 10px; box-shadow: 0 20px 40px rgba(0,7,147,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 10; }
.nav__list .sub-menu a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ap-dark); font-weight: 600; font-size: 14px; }
.nav__list .sub-menu a:hover { background: var(--ap-soft); color: var(--ap-navy); }
.nav__list > li:hover > .sub-menu, .nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-header__actions { display: flex; gap: 6px; align-items: center; }
.cart-link .cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--ap-accent); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cart-count[hidden] { display: none; }
.site-header__actions .btn-sun { margin-left: 6px; }

.header-search { border-top: 1px solid var(--ap-line); background: #fff; padding: 16px 0; }
.header-search__form { display: flex; align-items: center; gap: 12px; }
.header-search__form .ico { color: var(--ap-muted); }
.header-search__form input { flex: 1; border: 0; font-size: 17px; height: 48px; }
.header-search__form input:focus { outline: none; }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--ap-line); box-shadow: 0 30px 60px rgba(0,7,147,.14); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; z-index: 40; }
.has-mega:hover > .mega, .has-mega.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__in { display: grid; grid-template-columns: 1fr 260px; gap: 28px; padding-top: 28px; padding-bottom: 32px; }
.mega__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; }
.mega__cat { display: block; font-size: 16px; font-weight: 900; text-transform: uppercase; color: var(--ap-navy); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 3px solid var(--ap-primary); letter-spacing: .2px; }
.mega__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mega__item { display: flex; gap: 10px; align-items: center; padding: 6px; border-radius: 8px; color: var(--ap-dark); }
.mega__item:hover { background: var(--ap-soft); }
.mega__thumb { width: 38px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.mega__thumb img { max-height: 44px; width: auto; mix-blend-mode: multiply; }
.mega__txt { display: flex; flex-direction: column; min-width: 0; }
.mega__txt b { font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--ap-navy); }
.mega__txt small { font-size: 11.5px; color: var(--ap-text-3); }
.mega__promo { position: relative; overflow: hidden; border-radius: 14px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; color: var(--ap-navy); min-height: 360px; }
.mega__promo .eyebrow { color: var(--ap-navy); font-size: 11px; }
.mega__promo-img { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); max-height: 170px; width: auto; }
.mega__promo-t { font-size: 22px; font-weight: 900; text-transform: uppercase; line-height: 1.1; position: relative; }
.mega__promo .btn { position: relative; align-self: flex-start; }
.mega__all { font-weight: 800; font-size: 13px; color: var(--ap-navy); position: relative; }

/* Drawer mobile */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(6,9,30,.5); opacity: 0; transition: opacity .25s; }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); background: #fff; transform: translateX(-100%); transition: transform .25s; display: flex; flex-direction: column; overflow-y: auto; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--ap-line); }
.drawer .drawer__logo { height: 26px; width: auto; max-width: none; }
.drawer__list, .drawer__list .sub-menu { list-style: none; margin: 0; padding: 0; }
.drawer__list a { display: block; padding: 15px 16px; border-bottom: 1px solid var(--ap-line); font-weight: 800; color: var(--ap-dark); text-transform: uppercase; font-size: 14px; }
.drawer__list .sub-menu { display: none; background: var(--ap-soft); }
.drawer__list .is-open > .sub-menu { display: block; }
.drawer__list .sub-menu a { text-transform: none; font-weight: 600; padding-left: 28px; }
.drawer__foot { padding: 16px; display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.drawer__foot .lang-switch { color: var(--ap-navy); text-align: center; }
.drawer__foot .lang-switch span { color: var(--ap-muted); }

/* ---------- Slider / hero ---------- */
.hero-slot { position: relative; height: 620px; overflow: hidden; background: #06091E; }
.hero-slot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(0deg, rgba(6,9,30,.6), rgba(6,9,30,0)); pointer-events: none; }
.slider-slot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slider-slot__sc { position: absolute; inset: 0; }
.slider-slot__sc > * { height: 100% !important; }
.slider-slot__cap { position: absolute; z-index: 2; left: var(--ap-gutter); bottom: 40px; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .3px; }
.slider-slot__cap span { width: 28px; height: 2px; background: var(--ap-primary); }

/* ---------- Trang chủ: 2 cổng ---------- */
.gateway { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 56px; }
.gw { position: relative; overflow: hidden; min-height: 400px; border-radius: 14px; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.gw--retail { color: var(--ap-navy); background: linear-gradient(160deg, rgba(255,194,26,.95) 0%, rgba(249,166,0,.9) 42%, rgba(245,130,32,.55) 100%), var(--gw-img) center/cover no-repeat; box-shadow: 0 24px 50px rgba(245,130,32,.3); }
.gw--corp { color: #fff; background: linear-gradient(160deg, rgba(0,3,79,.95) 0%, rgba(0,7,147,.86) 45%, rgba(18,58,151,.45) 100%), var(--gw-img) center/cover no-repeat; box-shadow: 0 24px 50px rgba(0,7,147,.3); }
.gw:hover { color: inherit; transform: translateY(-2px); }
.gw--retail:hover { color: var(--ap-navy); }
.gw--corp:hover { color: #fff; }
.gw { transition: transform .2s; }
.gw__slash { position: absolute; right: -40px; top: 0; bottom: 0; width: 140px; background: linear-gradient(180deg, var(--ap-primary), var(--ap-accent)); transform: skewX(-22deg); opacity: .9; }
.gw__txt { position: relative; display: flex; flex-direction: column; gap: 6px; }
.gw__t1, .gw__t2 { font-size: 34px; font-weight: 900; text-transform: uppercase; line-height: 1.05; }
.gw__t1 { letter-spacing: 1px; }
.gw__p { margin-top: 8px; font-size: 15px; line-height: 1.6; max-width: 420px; }
.gw--retail .gw__p { color: #1C1F4A; }
.gw--corp .gw__p { color: var(--ap-on-dark); }
.gw__chips { position: relative; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gw__chip { height: 42px; padding: 0 16px; border-radius: 21px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.gw--retail .gw__chip { background: rgba(255,255,255,.85); }
.gw--corp .gw__chip { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); }
.gw__go { margin-left: auto; height: 42px; padding: 0 18px; border-radius: 21px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.gw--retail .gw__go { background: var(--ap-navy); color: #fff; }
.gw--corp .gw__go { background: var(--g-sun); color: var(--ap-navy); }

/* ---------- Thanh tra cứu ---------- */
.finder-bar { position: relative; overflow: hidden; margin-top: 40px; border-radius: 14px; display: flex; align-items: center; gap: 44px; padding: 40px 44px; color: #fff; }
.finder-bar .stripes { opacity: .5; }
.finder-bar__edge { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(180deg, var(--ap-yellow), var(--ap-accent)); }
.finder-bar__t { position: relative; width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; }
.finder-bar__h { font-size: 28px; font-weight: 900; text-transform: uppercase; line-height: 1.1; }
.finder-bar__form { position: relative; flex-grow: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; }
.finder-bar__form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ap-on-dark-2); }
.finder-bar__form select { height: 54px; border: 0; }
.js-finder.is-loading { cursor: progress; }
.js-finder select:disabled { opacity: .6; }

/* ---------- Lưới danh mục ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.cat-grid > .cat-card { grid-column: span 2; }
/* 4 hoặc 5 danh mục: hàng cuối chia đều cho đẹp */
.cat-grid > .cat-card:nth-child(4):nth-last-child(2), .cat-grid > .cat-card:nth-child(5):last-child { grid-column: span 3; }
.cat-grid > .cat-card:nth-child(4):last-child { grid-column: span 6; }
.cat-card { position: relative; overflow: hidden; display: flex; align-items: stretch; min-height: 230px; border-radius: 12px; border: 1px solid var(--ap-line); background: linear-gradient(160deg, #F4F6FB 0%, #FFFFFF 70%); color: var(--ap-dark); transition: box-shadow .2s, transform .2s; }
.cat-card:hover { color: var(--ap-dark); box-shadow: 0 16px 36px rgba(0,7,147,.1); transform: translateY(-2px); }
.cat-card__bar { position: absolute; left: 0; bottom: 0; width: 180px; height: 6px; background: linear-gradient(90deg, var(--ap-primary), var(--ap-accent)); }
.cat-card__txt { flex-grow: 1; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.cat-card__name { font-size: 23px; font-weight: 900; text-transform: uppercase; color: var(--ap-navy); line-height: 1.1; }
.cat-card__desc { font-size: 14px; color: var(--ap-text-3); }
.cat-card__count { margin-top: auto; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ap-accent); }
.cat-card__img { width: 190px; flex-shrink: 0; position: relative; display: flex; align-items: center; justify-content: center; }
.cat-card__glow { position: absolute; right: -30px; top: 30px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(249,166,0,.32) 0%, rgba(249,166,0,0) 70%); }
.cat-card__img img { position: relative; max-height: 180px; max-width: 170px; width: auto; object-fit: contain; mix-blend-mode: multiply; }

/* ---------- Sản phẩm nổi bật ---------- */
.sec--sun { position: relative; overflow: hidden; background: linear-gradient(135deg, #FFF8E6 0%, #FFEBD0 100%); padding-bottom: 80px; margin-top: 80px; }
.sec--sun > .wrap { position: relative; }
.featured-sec.sec { padding-top: 72px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs .btn-line { border-width: 1px; }

/* ---------- Thẻ sản phẩm (WooCommerce loop) ---------- */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
ul.products::before, ul.products::after { display: none !important; }
ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard { background: #fff; border-radius: 10px; border: 1px solid var(--ap-line); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 18px rgba(0,7,147,.06); transition: box-shadow .2s, transform .2s; margin: 0 !important; width: auto !important; float: none !important; }
.pcard:hover { box-shadow: 0 16px 36px rgba(0,7,147,.12); transform: translateY(-2px); }
.pcard__img { position: relative; height: 240px; display: flex; align-items: center; justify-content: center; background: #fff; flex-shrink: 0; }
.pcard__img img { max-height: 204px; max-width: 86%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.pcard__tag { position: absolute; top: 14px; left: 14px; z-index: 1; }
.pcard__corner { position: absolute; right: 0; top: 0; width: 46px; height: 46px; background: linear-gradient(135deg, transparent 50%, rgba(249,166,0,.9) 50%); transform: rotate(90deg); }
.pcard__noimg { width: 70%; height: 82%; border: 2px dashed #D5D8E6; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--ap-muted); text-align: center; font-size: 12px; }
.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 9px; flex-grow: 1; }
.pcard__cat { font-size: 12px; font-weight: 700; color: var(--ap-accent); text-transform: uppercase; letter-spacing: 1px; }
.pcard__title { font-size: 16px; font-weight: 800; line-height: 1.3; }
.pcard__title a { color: var(--ap-navy); }
.pcard__spec { font-size: 13px; color: var(--ap-text-3); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.pcard__price, .pcard__price .price { font-size: 18px; font-weight: 800; color: var(--ap-navy); }
.pcard__price del { font-size: 13px; color: var(--ap-muted); font-weight: 600; margin-right: 4px; }
.pcard__price ins { text-decoration: none; }
.price-contact { font-weight: 800; color: var(--ap-accent); }
.pcard .added_to_cart { display: none; }
.pcard .add_to_cart_button.loading { opacity: .6; }
.pcard .add_to_cart_button.added::after { content: "✓"; position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: #0E7A3A; color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.pcard .btn--icon { position: relative; }

/* ---------- Khối bảo chứng ---------- */
.brand-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(95deg, rgba(0,3,79,.97) 0%, rgba(0,7,147,.9) 46%, rgba(18,58,151,.35) 100%), var(--brand-img) center/cover no-repeat; }
.brand-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--g-sun-x); }
.brand-band__in { display: flex; align-items: center; gap: 72px; min-height: 560px; padding-top: 72px; padding-bottom: 72px; }
.brand-band__txt { width: 560px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.brand-band__txt .h2 { font-size: clamp(28px, 2.8vw, 40px); }
.brand-band__txt p { font-size: 17px; line-height: 1.7; color: var(--ap-on-dark); margin: 0; }
.stat-grid { flex-grow: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 640px; margin-left: auto; }
.stat-card { padding: 26px 28px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); display: flex; flex-direction: column; gap: 6px; }
.stat-card__n { font-size: 36px; font-weight: 900; line-height: 1; white-space: nowrap; }
.stat-card__n--xl { font-size: 46px; }
.stat-card__l { font-size: 14px; color: var(--ap-on-dark); }

/* ---------- Kênh bán trên trang chủ ---------- */
.channels-home { display: flex; gap: 56px; }
.channels-home__txt { width: 380px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.channels-home__txt p { font-size: 16px; line-height: 1.7; color: var(--ap-text-2); margin: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; font-weight: 600; color: var(--ap-navy); }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks .ico { color: var(--ap-accent); }
.channels-home__grid { flex-grow: 1; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; align-content: start; }
.photo-card { position: relative; overflow: hidden; height: 380px; border-radius: 12px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,4,92,.88) 100%); }
.photo-card:hover { color: #fff; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card__t, .photo-card__p { position: relative; z-index: 1; }
.photo-card__t { font-size: 22px; font-weight: 900; text-transform: uppercase; line-height: 1.15; }
.photo-card__p { font-size: 14px; color: #E1E3FA; margin-top: 6px; }

/* ---------- Tin tức ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card { display: flex; flex-direction: column; gap: 14px; }
.news-card__img { display: block; height: 240px; border-radius: 12px; overflow: hidden; background: var(--ap-soft); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__cat { font-size: 12px; font-weight: 800; color: var(--ap-accent); text-transform: uppercase; letter-spacing: 1.2px; }
.news-card__t { font-size: 19px; font-weight: 800; line-height: 1.35; }
.news-card__t a { color: var(--ap-navy); }
.news-card__d { font-size: 13px; color: var(--ap-muted); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; }
.foot-cta { position: relative; overflow: hidden; }
.foot-cta__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; min-height: 170px; padding-top: 28px; padding-bottom: 28px; }
.foot-cta__slogan { display: flex; flex-direction: column; gap: 8px; color: var(--ap-navy); }
.slogan { margin: 0; font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--ap-navy); letter-spacing: -.5px; line-height: 1.05; }
.foot-cta__form { display: flex; flex-direction: column; gap: 10px; }
.foot-cta__form label { font-weight: 800; color: var(--ap-navy); font-size: 15px; }
.foot-cta__row { display: flex; gap: 10px; }
.foot-cta__row input { width: 340px; height: 54px; border: 0; }
.foot-main { position: relative; overflow: hidden; color: var(--ap-on-dark-2); padding: 52px 0 24px; }
.foot-main__glow { position: absolute; right: -80px; top: -40px; width: 420px; height: 520px; background: linear-gradient(160deg, rgba(249,166,0,.18), rgba(249,166,0,0) 60%); transform: skewX(-24deg); }
.foot-main .wrap { position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.6fr; gap: 48px; }
.foot-col--brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; font-size: 14px; line-height: 1.65; }
.foot-col--brand p { margin: 0; }
.site-footer .foot-logo { height: 34px; width: auto; max-width: none; }
.foot-logo--ap { opacity: .9; }
.foot-col__t { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; margin-bottom: 14px; font-size: 14px; font-weight: 800; color: var(--ap-yellow); text-transform: uppercase; letter-spacing: 1px; cursor: default; }
.foot-links, .foot-info { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.foot-info { gap: 10px; line-height: 1.5; }
.foot-main a { color: var(--ap-on-dark-2); }
.foot-main a:hover { color: var(--ap-yellow); }
.foot-social { display: flex; gap: 14px; font-weight: 700; }
.foot-bottom { margin-top: 30px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12.5px; }
.foot-bct img { height: 44px; width: auto; }

/* Nút liên hệ nổi + thanh đáy mobile */
.float-contact { position: fixed; right: 18px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-contact__btn { width: 52px; height: 52px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; box-shadow: 0 10px 24px rgba(0,7,147,.25); font-size: 10px; font-weight: 800; line-height: 1; gap: 2px; }
.float-contact__btn:hover { color: #fff; transform: scale(1.05); }
.float-contact__btn--zalo { background: var(--ap-zalo); }
.float-contact__btn--call { background: linear-gradient(135deg, var(--ap-yellow), var(--ap-accent)); color: var(--ap-navy); }
.float-contact__btn--call:hover { color: var(--ap-navy); }
.float-contact__btn--call { animation: ap-pulse 2.4s infinite; }
@keyframes ap-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,130,32,.5); } 50% { box-shadow: 0 0 0 10px rgba(245,130,32,0); } }
@media (prefers-reduced-motion: reduce) { .float-contact__btn--call { animation: none; } html { scroll-behavior: auto; } }
.bottom-nav { display: none; }

/* ---------- Banner trang (shop, tra cứu, điểm bán, trang thường) ---------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero__in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.page-hero__lead { font-size: 15px; line-height: 1.6; max-width: 640px; }
.page-hero__lead p { margin: 0; }
.page-hero--shop { color: var(--ap-navy); background: linear-gradient(90deg, rgba(255,194,26,.97) 0%, rgba(249,166,0,.9) 45%, rgba(245,130,32,.25) 100%), var(--hero-img) center/cover no-repeat; }
.page-hero--shop .page-hero__in { padding-top: 64px; padding-bottom: 64px; }
.page-hero--shop .eyebrow { color: var(--ap-navy); }
.page-hero--shop .crumbs, .page-hero--shop .crumbs a { color: var(--ap-navy); }
.page-hero--dark { color: #fff; background: linear-gradient(95deg, rgba(0,3,79,.96) 0%, rgba(0,7,147,.85) 50%, rgba(18,58,151,.3) 100%), var(--hero-img) center/cover no-repeat; }
.page-hero--dark .page-hero__in { padding-top: 72px; padding-bottom: 150px; }
.page-hero--dark .page-hero__lead { color: var(--ap-on-dark); }
.page-hero__slash { position: absolute; right: 18%; top: -20px; bottom: -20px; width: 120px; background: linear-gradient(180deg, var(--ap-primary), var(--ap-accent)); transform: skewX(-22deg); opacity: .9; }
.page-hero--light { background: linear-gradient(135deg, #FFF8E6 0%, #FFEBD0 100%); }
.page-hero--light .page-hero__in { padding-top: 56px; padding-bottom: 48px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ap-text-3); font-weight: 600; }
.crumbs a { color: var(--ap-text-3); }
.crumbs__sep { opacity: .6; }

/* ---------- Shop ---------- */
.shop-tools { padding-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.cat-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--ap-line); }
.filters__group { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filters__sort { display: flex; align-items: center; gap: 10px; }
.filters__label { font-size: 13px; color: var(--ap-text-3); }
.filters__sort select { height: 42px; width: auto; min-width: 180px; font-size: 14px; }
.filters__sort form { margin: 0; }
.filters__clear { font-size: 13px; font-weight: 700; color: var(--ap-accent); }
.dropdown { position: relative; }
.dropdown > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 1px solid #D5D8E6; border-radius: 6px; background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown.is-set > summary { border-color: var(--ap-navy); color: var(--ap-navy); }
.dropdown[open] > summary .ico { transform: rotate(180deg); }
.dropdown__menu { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 230px; max-height: 340px; overflow-y: auto; background: #fff; border: 1px solid var(--ap-line); border-radius: 10px; box-shadow: 0 20px 40px rgba(0,7,147,.12); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.dropdown__menu .btn { margin-top: 8px; }
.ck { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 6px; font-size: 14px; cursor: pointer; }
.ck:hover { background: var(--ap-soft); }
.ck input { width: 18px; height: 18px; accent-color: var(--ap-navy); }
.shop-grid { padding-top: 32px; padding-bottom: 80px; }
.woocommerce-pagination, .pager .nav-links { display: flex; justify-content: center; margin-top: 40px; }
.woocommerce-pagination ul.page-numbers, .pager .nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; border: 0; }
.woocommerce-pagination li { border: 0 !important; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 6px; border: 1px solid #D5D8E6; font-weight: 700; color: var(--ap-dark); }
.page-numbers.current { background: var(--ap-navy); border-color: var(--ap-navy); color: #fff; }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews { list-style: none; margin: 0 0 24px; padding: 16px 20px; border-radius: 10px; background: var(--ap-soft); border-left: 4px solid var(--ap-navy); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-weight: 600; }
.woocommerce-message { border-left-color: #0E7A3A; background: #EAF7EF; }
.woocommerce-error { border-left-color: #B42318; background: #FDECEA; }
.woocommerce-message .button, .woocommerce-info .button { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 6px; background: var(--ap-navy); color: #fff; font-weight: 800; font-size: 14px; order: 2; }
.coming { padding-bottom: 80px; }
.coming__box { position: relative; overflow: hidden; border-radius: 14px; padding: 40px 44px; display: flex; gap: 48px; align-items: center; color: #fff; }
.coming__t { position: relative; flex-shrink: 0; width: 300px; display: flex; flex-direction: column; gap: 8px; }
.coming__h { font-size: 26px; font-weight: 900; text-transform: uppercase; line-height: 1.1; }
.coming__list { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.coming__list li { height: 38px; padding: 0 14px; border-radius: 19px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); display: flex; align-items: center; font-size: 13px; font-weight: 600; }

/* ---------- Chi tiết sản phẩm ---------- */
.single-product-wrap > .wrap:first-child { padding-top: 24px; }
.sp-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 20px; align-items: start; }
.sp-gallery { position: relative; }
.single-product-wrap .sp-gallery .woocommerce-product-gallery, .single-product-wrap .sp-summary { width: 100% !important; float: none !important; margin: 0 !important; }
.sp-gallery__badge { position: absolute; z-index: 5; top: 16px; left: 16px; }
.sp-gallery .woocommerce-product-gallery { position: relative; margin: 0; opacity: 1 !important; }
.sp-gallery .woocommerce-product-gallery__wrapper { margin: 0; border: 1px solid var(--ap-line); border-radius: 14px; overflow: hidden; background: #fff; border-bottom: 6px solid var(--ap-primary); }
.sp-gallery .woocommerce-product-gallery__image img { width: 100%; height: 520px; object-fit: contain; mix-blend-mode: multiply; padding: 24px; }
.sp-gallery .flex-control-thumbs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sp-gallery .flex-control-thumbs li { border: 1px solid var(--ap-line); border-radius: 10px; overflow: hidden; cursor: pointer; background: #fff; }
.sp-gallery .flex-control-thumbs img { height: 86px; width: 100%; object-fit: contain; opacity: .7; padding: 6px; }
.sp-gallery .flex-control-thumbs img.flex-active, .sp-gallery .flex-control-thumbs li:hover img { opacity: 1; }
.sp-gallery .flex-control-thumbs li:has(img.flex-active) { border: 2px solid var(--ap-accent); }
.sp-gallery .woocommerce-product-gallery__trigger { position: absolute; top: 16px; right: 16px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.1); display: flex; align-items: center; justify-content: center; font-size: 0; }
.sp-gallery .woocommerce-product-gallery__trigger::before { content: "⤢"; font-size: 18px; color: var(--ap-navy); }
.sp-video { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 8px; background: var(--g-navy); color: #fff; font-weight: 800; font-size: 14px; }
.sp-video:hover { color: #fff; }
.sp-summary { display: flex; flex-direction: column; gap: 14px; }
.sp-summary .product_title { font-size: clamp(26px, 2.6vw, 36px); font-weight: 900; text-transform: uppercase; color: var(--ap-navy); line-height: 1.1; }
.single-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--ap-text-3); }
.stock-ok { color: #0E7A3A; font-weight: 700; }
.stock-out { color: #B42318; font-weight: 700; }
.sp-summary > .price { margin: 0; padding: 6px 14px; border: 2px solid var(--ap-primary); border-radius: 6px; background: linear-gradient(90deg, rgba(255,194,26,.18), rgba(255,194,26,0)); font-size: 30px; font-weight: 900; color: var(--ap-accent); align-self: stretch; }
.sp-summary > .price del { font-size: 18px; color: var(--ap-muted); }
.sp-summary > .price ins { text-decoration: none; }
.sp-summary .woocommerce-product-details__short-description { font-size: 15px; line-height: 1.7; color: var(--ap-text-2); }
.sp-summary form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 4px 0; }
.sp-summary form.cart .variations { width: 100%; border: 0; margin: 0; }
.sp-summary form.cart .variations th { text-align: left; font-size: 13px; font-weight: 800; padding: 0 0 8px; display: block; }
.sp-summary form.cart .variations td { display: block; padding: 0; }
.sp-summary form.cart .variations select { max-width: 320px; }
.sp-summary .single_variation_wrap { width: 100%; }
.sp-summary .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 12px; }
.sp-summary .reset_variations { font-size: 13px; margin-left: 10px; }
.quantity { display: inline-flex; align-items: center; height: 54px; border: 1px solid #D5D8E6; border-radius: 6px; overflow: hidden; background: #fff; }
.quantity .qty { width: 56px; height: 52px; border: 0; text-align: center; padding: 0; font-weight: 700; -moz-appearance: textfield; }
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 44px; height: 52px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--ap-navy); }
.qty-btn:hover { background: var(--ap-soft); }
.single_add_to_cart_button { flex: 1; min-width: 180px; height: 54px; border: 0; border-radius: 6px; background: linear-gradient(110deg, var(--ap-navy), var(--ap-navy-2)); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; }
.single_add_to_cart_button:hover { filter: brightness(1.12); }
.single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.buy-now { flex: 1; min-width: 150px; }
.contact-buy { display: flex; gap: 12px; flex-wrap: wrap; }
.support-box { margin-top: 6px; padding: 18px; border-radius: 12px; background: linear-gradient(135deg, #FFF8E6 0%, #FFEBD0 100%); border: 1px solid #FFE1A8; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.support-box__qr { display: flex; gap: 14px; align-items: center; }
.support-box__qr img { width: 96px; height: 96px; border-radius: 6px; background: #fff; padding: 4px; }
.support-box__qr b { display: block; color: var(--ap-navy); font-size: 15px; font-weight: 800; }
.support-box__qr span { font-size: 12.5px; color: var(--ap-text-3); display: block; max-width: 220px; }
.support-box__actions { display: flex; flex-direction: column; gap: 8px; min-width: 210px; }
.support-box__btn { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 8px; font-size: 13px; }
.support-box__btn small { display: block; font-size: 11px; font-weight: 600; opacity: .85; }
.support-box__btn b { display: block; font-weight: 800; }
.support-box__btn--call { background: var(--g-sun); color: var(--ap-navy); }
.support-box__btn--call:hover { color: var(--ap-navy); filter: brightness(1.05); }
.support-box__btn--zalo { background: var(--ap-zalo); color: #fff; min-height: 46px; }
.support-box__btn--zalo:hover { color: #fff; filter: brightness(1.1); }
.sp-highlights { list-style: none; margin: 48px 0 0; padding: 26px 30px; border-radius: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; color: var(--ap-navy); position: relative; overflow: hidden; }
.sp-highlights li { display: flex; gap: 14px; align-items: center; position: relative; }
.sp-highlights__ic { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sp-highlights b { display: block; font-size: 15px; font-weight: 900; text-transform: uppercase; }
.sp-highlights small { display: block; font-size: 12.5px; color: #1C1F4A; }
.sp-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-top: 48px; padding-bottom: 72px; align-items: start; }
.wc-tabs { list-style: none; margin: 0 0 24px; padding: 0; display: flex; gap: 28px; border-bottom: 1px solid var(--ap-line); overflow-x: auto; }
.wc-tabs li a { display: block; padding: 12px 0; font-weight: 700; color: var(--ap-text-3); white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.wc-tabs li.active a { color: var(--ap-navy); border-bottom-color: var(--ap-primary); }
.woocommerce-Tabs-panel > h2:first-child { display: none; }
.spec-table { width: 100%; border-collapse: collapse; border-top: 3px solid var(--ap-navy); font-size: 14px; }
.spec-table th, .spec-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--ap-line); }
.spec-table th { font-weight: 500; color: var(--ap-text-3); width: 50%; }
.spec-table td { font-weight: 700; }
.spec-table tr:nth-child(even) { background: #F7F8FB; }
.side-title { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.docs { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.docs a { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--ap-line); border-radius: 10px; color: var(--ap-navy); font-weight: 700; font-size: 14px; }
.docs a:hover { border-color: var(--ap-primary); }
.docs__ic { width: 36px; height: 36px; border-radius: 6px; background: var(--g-sun); color: var(--ap-navy); font-size: 10px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.docs__t { flex: 1; }
.finder-cta { position: relative; overflow: hidden; border-radius: 14px; padding: 24px; color: #fff; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.finder-cta h3 { font-size: 19px; font-weight: 900; position: relative; }
.finder-cta p { font-size: 13.5px; color: var(--ap-on-dark); position: relative; margin: 0; }
.finder-cta a:not(.btn) { color: var(--ap-yellow); }
.finder-cta .btn { position: relative; }
.related-wrap { padding: 72px 0 80px; position: relative; }
.related-wrap .related > h2 { font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 34px); color: var(--ap-navy); margin-bottom: 32px; position: relative; padding-top: 20px; }
.related-wrap .related > h2::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 6px; background: linear-gradient(90deg, var(--ap-primary), var(--ap-accent)); transform: skewX(-30deg); }
#reviews .comment-form-rating .stars a { color: var(--ap-primary); }
#reviews .commentlist { list-style: none; padding: 0; }
#reviews .comment-form { display: grid; gap: 12px; }

/* ---------- Trang Anh Phát Petro ---------- */
.about-hero { position: relative; height: 760px; background: #fff; }
.about-hero__media { position: absolute; left: 0; right: 0; top: 0; height: 700px; overflow: hidden; background: #06091E; }
.about-hero__media::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 200px; z-index: 1; background: linear-gradient(180deg, rgba(6,9,30,.55), rgba(6,9,30,0)); pointer-events: none; }
.about-hero .slider-slot__img { object-position: center 100%; }
.about-hero .slider-slot__cap { top: 44px; bottom: auto; }
.about-hero__stats-wrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
.stats-bar { position: relative; min-height: 120px; background: #fff; border-radius: 14px 14px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; box-shadow: 0 -10px 40px rgba(0,0,40,.25); }
.stats-bar::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; border-radius: 14px 14px 0 0; background: var(--g-sun-x); }
.stats-bar__item { padding: 22px 30px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--ap-line); }
.stats-bar__item:last-child { border-right: 0; }
.stats-bar__n { font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; color: var(--ap-navy); line-height: 1.1; white-space: nowrap; }
.stats-bar__l { font-size: 13px; color: var(--ap-text-3); }
.about-intro { display: flex; gap: 64px; padding-top: 90px; }
.about-intro__txt { width: 540px; flex-shrink: 0; display: flex; flex-direction: column; gap: 22px; }
.about-intro__txt p { font-size: 16px; line-height: 1.75; color: var(--ap-text-2); margin: 0; }
.about-intro__img { position: relative; border-radius: 12px; overflow: hidden; height: 300px; }
.about-intro__img img { width: 100%; height: 100%; object-fit: cover; }
.tag-sun { position: absolute; left: 20px; bottom: 20px; padding: 10px 16px; border-radius: 6px; background: var(--g-sun); color: var(--ap-navy); font-weight: 800; font-size: 13px; }
.about-intro__cards { flex-grow: 1; display: flex; flex-direction: column; gap: 20px; }
.vm-card { border-radius: 12px; background: #fff; border: 1px solid var(--ap-line); overflow: hidden; box-shadow: 0 10px 30px rgba(0,7,147,.06); }
.vm-card__bar { display: block; height: 6px; }
.vm-card h3 { padding: 28px 28px 0; font-size: 20px; font-weight: 900; text-transform: uppercase; color: var(--ap-navy); }
.vm-card p { padding: 12px 28px 28px; margin: 0; font-size: 15px; line-height: 1.7; color: var(--ap-text-2); }
.values { position: relative; overflow: hidden; border-radius: 12px; padding: 28px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.values .stripes { opacity: .5; }
.values h3 { position: relative; font-size: 18px; font-weight: 900; text-transform: uppercase; }
.values ul { position: relative; list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.values li { width: 66px; height: 66px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ap-navy); font-size: 17px; font-weight: 900; }
.sec--grey { background: var(--ap-grey); padding-bottom: 90px; margin-top: 90px; padding-top: 90px; }
.field-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.field-card { position: relative; overflow: hidden; height: 300px; border-radius: 12px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; color: #fff; background: var(--g-navy); }
.field-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.field-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,3,79,.15) 0%, rgba(0,3,79,.9) 100%); }
a.field-card:hover { color: #fff; }
a.field-card:hover img { transform: scale(1.04); }
.field-card__t, .field-card__p { position: relative; z-index: 1; }
.field-card__t { font-size: 21px; font-weight: 900; text-transform: uppercase; line-height: 1.15; }
.field-card__p { font-size: 14px; line-height: 1.55; color: var(--ap-on-dark); }
.growth { display: flex; gap: 56px; align-items: flex-start; padding-top: 90px; }
.growth__txt { width: 400px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.growth__txt p { font-size: 16px; line-height: 1.7; color: var(--ap-text-2); margin: 0; }
.legend { display: flex; gap: 22px; font-size: 13px; color: var(--ap-text-3); }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 16px; height: 16px; border-radius: 3px; display: inline-block; }
.legend__done { background: linear-gradient(180deg, var(--ap-yellow), var(--ap-accent)); }
.legend__plan { border: 2px solid var(--ap-accent); background: repeating-linear-gradient(45deg, var(--ap-primary) 0 3px, #FFF1D6 3px 8px); }
.growth__extra { display: flex; gap: 14px; margin-top: 8px; }
.growth__extra > div { flex: 1; border-radius: 10px; padding: 18px; }
.growth__extra b { display: block; white-space: nowrap; font-size: clamp(20px, 1.8vw, 26px); font-weight: 900; color: var(--ap-navy); }
.growth__extra span { font-size: 13px; color: var(--ap-text-3); }
.growth__chart { flex-grow: 1; margin: 0; border-radius: 14px; border: 1px solid var(--ap-line); padding: 28px 28px 16px; min-width: 0; }
.growth__chart figcaption { font-size: 16px; font-weight: 800; color: var(--ap-navy); margin-bottom: 16px; }
.bars { list-style: none; margin: 0; padding: 0; height: 360px; display: flex; align-items: flex-end; gap: 14px; border-bottom: 1px solid #C9CDE0; position: relative; }
.bars__item { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; position: relative; padding-bottom: 0; }
.bars__v { font-size: 13px; font-weight: 800; color: var(--ap-navy); white-space: nowrap; }
.bars__bar { width: 100%; max-width: 64px; height: calc(var(--h) * .82); min-height: 4px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--ap-yellow), var(--ap-accent)); }
.bars__item.is-plan .bars__bar { background: repeating-linear-gradient(45deg, var(--ap-primary) 0 3px, #FFF1D6 3px 8px); border: 2px solid var(--ap-accent); border-bottom: 0; }
.bars__y { position: absolute; bottom: -28px; font-size: 13px; font-weight: 600; color: var(--ap-text-3); white-space: nowrap; }
.growth__chart .bars { margin-bottom: 34px; }
.infra { position: relative; overflow: hidden; color: #fff; margin-top: 90px; background: linear-gradient(95deg, rgba(0,3,79,.97) 0%, rgba(0,7,147,.92) 55%, rgba(18,58,151,.6) 100%), var(--infra-img) center/cover no-repeat; }
.infra::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--g-sun-x); }
.infra__in { display: flex; gap: 64px; padding-top: 90px; padding-bottom: 90px; }
.infra__txt { width: 600px; flex-shrink: 0; display: flex; flex-direction: column; gap: 22px; }
.depots { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.depots li { display: flex; flex-direction: column; gap: 8px; }
.depots__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; }
.depots__row b { font-weight: 800; color: var(--ap-yellow); white-space: nowrap; }
.depots__track { height: 10px; border-radius: 5px; background: rgba(255,255,255,.12); overflow: hidden; }
.depots__track span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--ap-yellow), var(--ap-accent)); }
.infra__stats { flex-grow: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-content: start; margin-top: 70px; }
.infra__stats .stat-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); padding: 24px; }
.infra__note { grid-column: 1 / -1; font-size: 13px; color: #A9ADD8; margin: 0; }
.projects { margin-top: 0; padding-top: 90px; }
.project-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.project-card { position: relative; overflow: hidden; background: #fff; border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 30px rgba(245,130,32,.12); }
.project-card__n { position: absolute; right: 18px; top: 6px; font-size: 64px; font-weight: 900; color: rgba(249,166,0,.18); line-height: 1; }
.project-card h3 { position: relative; font-size: 18px; font-weight: 900; color: var(--ap-navy); text-transform: uppercase; line-height: 1.2; max-width: 85%; }
.project-card p { position: relative; font-size: 14px; line-height: 1.6; color: var(--ap-text-2); margin: 0; }
.partners { padding-top: 60px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 26px; }
.partner-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.partner-grid li { height: 96px; border-radius: 10px; border: 1px solid var(--ap-line); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; color: var(--ap-navy); text-align: center; padding: 0 12px; }
.partner-grid img { max-height: 56px; width: auto; }
.about-content { padding-bottom: 0; }

/* ---------- Tra cứu dầu ---------- */
.finder-card { position: relative; z-index: 2; margin-top: -90px; background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 24px 60px rgba(0,7,147,.16); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 16px; align-items: end; }
.finder-card label { display: flex; flex-direction: column; gap: 8px; }
.finder-card__step { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: var(--g-sun); color: var(--ap-navy); font-size: 12px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; }
.finder-card label { position: relative; }
.finder-card__lb { padding-left: 32px; font-size: 13px; font-weight: 700; line-height: 24px; }
.finder-card .btn { height: 50px; }
.finder-card__empty { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--ap-text-3); }
.finder-result { margin-top: 56px; display: flex; flex-direction: column; gap: 18px; }
.finder-result__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.finder-result__k { font-size: 13px; color: var(--ap-text-3); }
.finder-result__h { font-size: clamp(20px, 2vw, 26px); font-weight: 900; color: var(--ap-navy); }
.finder-result__acts { display: flex; gap: 10px; flex-wrap: wrap; }
.rec { display: grid; grid-template-columns: 200px 150px minmax(0, 1fr) 240px; align-items: center; gap: 24px; border: 1px solid var(--ap-line); border-radius: 12px; overflow: hidden; background: #fff; }
.rec--main { border: 2px solid var(--ap-primary); box-shadow: 0 16px 36px rgba(245,130,32,.14); }
.rec__side { align-self: stretch; padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 8px; background: linear-gradient(135deg, #FFF8E6 0%, #FFEBD0 100%); }
.rec--main .rec__side { background: var(--g-sun); }
.rec__side b { font-size: 20px; font-weight: 900; text-transform: uppercase; color: var(--ap-navy); }
.rec__side span { font-size: 13px; color: #1C1F4A; }
.rec__img img { max-height: 130px; width: auto; margin: 10px auto; mix-blend-mode: multiply; }
.rec__body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.rec__body h3 { font-size: 19px; font-weight: 900; text-transform: uppercase; }
.rec__body h3 a { color: var(--ap-navy); }
.rec__spec { font-size: 13px; color: var(--ap-text-3); }
.rec__buy { padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.rec__price { font-size: 20px; font-weight: 900; color: var(--ap-navy); }
.finder-result__note { margin: 0; padding: 14px 18px; border-radius: 10px; background: var(--ap-soft); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--ap-text-2); }
.finder-result__note .ico { color: var(--ap-navy); }
.finder-result__note a { margin-left: auto; font-weight: 800; }
.callback { position: relative; overflow: hidden; margin: 56px 0 80px; border-radius: 14px; padding: 40px 44px; display: flex; align-items: center; gap: 48px; color: var(--ap-navy); }
.callback__t { position: relative; width: 300px; flex-shrink: 0; }
.callback__t h2 { font-size: 26px; font-weight: 900; text-transform: uppercase; line-height: 1.1; }
.callback__t p { margin: 8px 0 0; font-size: 14px; }
.callback__form { position: relative; flex-grow: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 14px; align-items: end; }
.callback__form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 700; }
.callback__form input { border: 0; }
.callback__form .form-notice { grid-column: 1 / -1; color: var(--ap-navy); }

/* ---------- Điểm bán ---------- */
.channel-cards { position: relative; z-index: 2; margin-top: -90px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.channel-card { text-align: left; cursor: pointer; border: 1px solid var(--ap-line); background: #fff; border-radius: 12px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; box-shadow: 0 16px 40px rgba(0,7,147,.1); transition: transform .2s; }
.channel-card:hover { transform: translateY(-2px); }
.channel-card.is-hot { background: var(--g-sun); border-color: transparent; }
.channel-card__ic { width: 48px; height: 48px; border-radius: 50%; background: #FFF3DA; color: var(--ap-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.channel-card.is-hot .channel-card__ic { background: #fff; }
.channel-card__k { display: block; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--ap-accent); }
.channel-card.is-hot .channel-card__k { color: var(--ap-navy); }
.channel-card__t { display: block; margin: 4px 0 6px; font-size: 19px; font-weight: 900; text-transform: uppercase; color: var(--ap-navy); line-height: 1.15; }
.channel-card__p { display: block; font-size: 13.5px; color: var(--ap-text-2); }
.stores { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 24px; margin-top: 32px; align-items: start; }
.stores__list-col { display: flex; flex-direction: column; gap: 12px; }
.stores__search { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border: 1px solid #D5D8E6; border-radius: 23px; background: #fff; color: var(--ap-muted); }
.stores__search input { border: 0; height: 44px; padding: 0; }
.stores__search input:focus { outline: none; }
.stores__filters { display: flex; gap: 8px; flex-wrap: wrap; }
.stores__filters .pill { height: 36px; font-size: 13px; padding: 0 14px; }
.stores__locate { height: 40px; border: 0; border-radius: 6px; background: var(--g-sun); color: var(--ap-navy); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.stores__locate.is-loading { opacity: .6; cursor: progress; }
.store-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-height: 720px; overflow-y: auto; padding-right: 4px; }
.store { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--ap-line); border-radius: 10px; background: #fff; cursor: pointer; }
.store:hover { border-color: #C9CCF0; }
.store.is-active { border: 2px solid var(--ap-primary); background: #FFFBF1; }
.store[hidden] { display: none; }
.store__n { width: 28px; height: 28px; border-radius: 50%; background: #E8E9FA; color: var(--ap-navy); font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.store.is-active .store__n { background: var(--g-sun); }
.store__body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.store__name { color: var(--ap-navy); font-size: 15px; font-weight: 800; }
.store__addr { font-size: 13px; color: var(--ap-text-3); }
.store__chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.store__chips .chip { height: 22px; font-size: 11px; padding: 0 8px; }
.chip--type { background: #FFF3DA; color: #9A4A00; }
.chip--nha-phan-phoi { background: #E8E9FA; color: var(--ap-navy); }
.chip--dai-ly { background: #E6F4EC; color: #0E6B33; }
.store__dist { font-size: 12px; font-weight: 800; color: var(--ap-accent); align-self: center; }
.store__go { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #D5D8E6; display: flex; align-items: center; justify-content: center; color: var(--ap-navy); }
.store__go:hover { background: var(--ap-navy); color: #fff; }
.store-list__empty { padding: 20px; border: 1px dashed #D5D8E6; border-radius: 10px; color: var(--ap-text-3); font-size: 14px; }
.stores__map-col { position: sticky; top: 110px; }
.stores__map { height: 780px; border-radius: 14px; overflow: hidden; background: #E8ECF5; border: 1px solid var(--ap-line); }
.map-pin { background: none; border: 0; }
.map-pin span { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ap-navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.map-pin span { color: #fff; font-size: 12px; font-weight: 900; font-family: var(--ap-font); }
.map-pin--cua-hang-xang-dau span { background: var(--ap-accent); }
.map-pin--dai-ly span { background: #0E7A3A; }
.leaflet-container { font-family: var(--ap-font); }
.leaflet-popup-content { margin: 14px 16px; }
.map-pop { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
.map-pop b { color: var(--ap-navy); font-size: 14px; }
.map-pop span { font-size: 12px; color: var(--ap-text-3); }
.map-pop__acts { display: flex; gap: 6px; margin-top: 4px; }
.map-pop__acts .btn-navy { color: #fff; }
.dealer { position: relative; overflow: hidden; margin: 56px 0 80px; border-radius: 14px; padding: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; color: #fff; background: linear-gradient(95deg, rgba(0,3,79,.97) 0%, rgba(0,7,147,.9) 55%, rgba(18,58,151,.55) 100%), var(--dealer-img) center/cover no-repeat; }
.dealer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--g-sun-x); }
.dealer__txt { display: flex; flex-direction: column; gap: 14px; }
.dealer__txt p { color: var(--ap-on-dark); margin: 0; }
.dealer__form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.dealer__form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ap-on-dark-2); }
.dealer__form input, .dealer__form textarea { border: 0; }
.dealer__full { grid-column: 1 / 3; }
.dealer__form .btn { align-self: end; height: 50px; }
.dealer__form .form-notice { grid-column: 1 / -1; color: var(--ap-yellow); }

/* ---------- Bài viết, trang thường ---------- */
.prose { font-size: 16px; line-height: 1.8; color: var(--ap-text-2); }
.prose h2, .prose h3, .prose h4 { color: var(--ap-navy); margin: 1.6em 0 .6em; font-weight: 800; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 10px; height: auto; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin: 1.5em 0; padding: 16px 24px; border-left: 4px solid var(--ap-primary); background: #FFF8E6; color: var(--ap-dark); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--ap-line); padding: 10px 12px; text-align: left; }
.prose .alignwide { max-width: none; }
.page-body { padding-bottom: 80px; }
.child-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 40px; }
.child-page { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px; border: 1px solid var(--ap-line); border-radius: 12px; font-weight: 800; text-transform: uppercase; color: var(--ap-navy); border-bottom: 4px solid var(--ap-primary); }
.child-page:hover { box-shadow: 0 16px 36px rgba(0,7,147,.1); }
.post-single__head { padding-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.post-single__t { font-size: clamp(28px, 3vw, 40px); font-weight: 900; color: var(--ap-navy); line-height: 1.15; }
.post-single__head time { font-size: 14px; color: var(--ap-muted); }
.post-single__img { margin: 32px auto; }
.post-single__img img { border-radius: 14px; width: 100%; }
.post-single .prose { padding-bottom: 40px; }
.cat-pills--left { margin-top: 10px; }
.empty-state { padding: 40px 0 80px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.search-form { display: flex; gap: 10px; max-width: 520px; width: 100%; }
.notfound { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding-bottom: 100px; }
.notfound__code { font-size: 120px; font-weight: 900; line-height: 1; }
.notfound__acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.notfound .search-form { margin: 0 auto; }
.wc-page { padding-bottom: 80px; }
.wc-main { display: block; }

/* WooCommerce: giỏ, thanh toán, tài khoản (block + shortcode) */
.wc-page .wc-block-components-button:not(.is-link), .wc-page .wc-block-cart__submit-button, .wc-page .button, .wc-page button.button, .wc-page input.button {
	background: linear-gradient(110deg, var(--ap-navy), var(--ap-navy-2)) !important; color: #fff !important; border: 0 !important; border-radius: 6px !important; font-weight: 800 !important; min-height: 50px; padding: 0 22px; cursor: pointer;
}
.wc-page .wc-block-components-checkout-place-order-button { background: linear-gradient(110deg, var(--ap-yellow) 0%, var(--ap-primary) 45%, var(--ap-accent) 100%) !important; color: var(--ap-navy) !important; }
.wc-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: var(--ap-accent); font-weight: 900; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--ap-line); border-radius: 12px; overflow: hidden; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 14px 18px; border-bottom: 1px solid var(--ap-line); font-weight: 700; color: var(--ap-dark); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--ap-soft); color: var(--ap-navy); border-left: 4px solid var(--ap-primary); }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 520px; }
.woocommerce form .form-row { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.woocommerce form .form-row label { font-weight: 700; font-size: 14px; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid var(--ap-line); border-radius: 10px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 14px; border-bottom: 1px solid var(--ap-line); text-align: left; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1280px) {
	:root { --ap-gutter: 40px; }
	.site-header__in { gap: 24px; }
	.nav__list { gap: 18px; }
	.brand-band__in { gap: 48px; }
	.brand-band__txt { width: 460px; }
	.stores { grid-template-columns: 360px minmax(0, 1fr); }
	.rec { grid-template-columns: 170px 130px minmax(0, 1fr) 210px; }
	.infra__txt { width: 500px; }
	.about-intro__txt { width: 460px; }
}

@media (max-width: 1100px) {
	.nav, .site-header__actions .btn-sun { display: none; }
	.site-header__burger { display: inline-flex; }
	.site-header__in { height: 72px; justify-content: space-between; }
	.site-header__actions { margin-left: auto; }
	.topbar__right .topbar__link { display: none; }
	.mega { display: none; }
}

@media (max-width: 1024px) {
	:root { --ap-gutter: 32px; }
	.sec { padding-top: 64px; }
	.gateway { grid-template-columns: 1fr; }
	.finder-bar { flex-direction: column; align-items: stretch; gap: 20px; }
	.finder-bar__t { width: auto; }
	.finder-bar__form { grid-template-columns: 1fr 1fr; }
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-grid > .cat-card { grid-column: auto !important; }
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.brand-band__in { flex-direction: column; align-items: stretch; }
	.brand-band__txt { width: auto; }
	.stat-grid { max-width: none; margin: 0; }
	.channels-home { flex-direction: column; gap: 32px; }
	.channels-home__txt { width: auto; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.foot-cta__in { flex-direction: column; align-items: flex-start; gap: 20px; }
	.sp-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.sp-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sp-detail { grid-template-columns: 1fr; }
	.about-hero { height: auto; }
	.about-hero__media { position: relative; height: 520px; }
	.about-hero__stats-wrap { position: relative; margin-top: -60px; }
	.stats-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.stats-bar__item:nth-child(3) { border-right: 0; }
	.stats-bar__item:nth-child(n+4) { border-top: 1px solid var(--ap-line); }
	.about-intro, .growth, .infra__in { flex-direction: column; gap: 32px; }
	.about-intro__txt, .growth__txt, .infra__txt { width: auto; }
	.infra__stats { margin-top: 0; }
	.field-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.finder-card { grid-template-columns: 1fr 1fr; }
	.finder-card .btn { grid-column: 1 / -1; }
	.rec { grid-template-columns: 140px minmax(0, 1fr); }
	.rec__side { grid-column: 1 / -1; }
	.rec__buy { grid-column: 1 / -1; padding: 0 24px 24px; flex-direction: row; align-items: center; justify-content: space-between; }
	.callback { flex-direction: column; align-items: stretch; gap: 20px; }
	.callback__t { width: auto; }
	.callback__form { grid-template-columns: 1fr 1fr; }
	.channel-cards { grid-template-columns: 1fr; margin-top: -70px; }
	.stores { grid-template-columns: 1fr; }
	.stores__map-col { position: relative; top: 0; order: -1; }
	.stores__map { height: 420px; }
	.store-list { max-height: none; }
	.dealer { grid-template-columns: 1fr; }
	.coming__box { flex-direction: column; align-items: flex-start; gap: 20px; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	:root { --ap-gutter: 16px; }
	body { font-size: 14.5px; padding-bottom: 64px; }
	.topbar__in { height: 36px; }
	.topbar__group { padding: 0 12px; font-size: 12px; }
	.topbar__hotline span { display: none; }
	.topbar__right { gap: 14px; }
	.hide-sm { display: none !important; }
	.site-header__in { height: 60px; }
	.brand { position: absolute; left: 50%; transform: translateX(-50%); align-items: center; }
	.site-header .brand__logo { height: 24px; }
	.brand__by { font-size: 8px; }
	.admin-bar .site-header { top: 0; }
	.hero-slot { height: 260px; }
	.slider-slot__cap { left: 16px; bottom: 16px; font-size: 12px; }
	.gateway { padding-top: 24px; gap: 16px; }
	.gw { min-height: 0; padding: 24px; }
	.gw__t1, .gw__t2 { font-size: 24px; }
	.gw__go { margin-left: 0; }
	.finder-bar { margin-top: 24px; padding: 24px; }
	.finder-bar__form { grid-template-columns: 1fr; }
	.finder-bar__h { font-size: 22px; }
	.sec { padding-top: 48px; }
	.sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; gap: 14px; }
	.cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.cat-card { flex-direction: column; min-height: 0; }
	.cat-card__txt { padding: 16px 16px 0; }
	.cat-card__name { font-size: 16px; }
	.cat-card__desc { display: none; }
	.cat-card__img { width: auto; height: 120px; }
	.cat-card__img img { max-height: 110px; }
	.cat-card__count { margin-top: 8px; font-size: 13px; white-space: nowrap; }
	.cat-card__txt { padding-bottom: 4px; }
	.cat-card__bar { width: 90px; }
	.cat-card { display: grid; }
	.sec--sun { margin-top: 48px; padding-bottom: 48px; }
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.featured-sec ul.products { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	.featured-sec .pcard { min-width: 72%; scroll-snap-align: start; }
	.pcard__img { height: 170px; }
	.pcard__img img { max-height: 150px; }
	.pcard__body { padding: 12px; gap: 6px; }
	.pcard__title { font-size: 14px; }
	.pcard__cat { font-size: 10.5px; }
	.pcard__price, .pcard__price .price { font-size: 15px; }
	.pcard__corner { width: 30px; height: 30px; }
	.brand-band__in { padding-top: 48px; padding-bottom: 56px; min-height: 0; }
	.stat-card { padding: 16px; }
	.stat-card__n { font-size: 22px; white-space: normal; }
	.stat-card__n--xl { font-size: 34px; }
	.channels-home__grid { grid-template-columns: 1fr; }
	.photo-card { height: 220px; }
	.news-grid { grid-template-columns: 1fr; }
	.news-card__img { height: 200px; }
	.foot-cta__row { flex-direction: column; }
	.foot-cta__row input { width: 100%; }
	.foot-grid { grid-template-columns: 1fr; gap: 0; }
	.foot-col--brand { margin-bottom: 20px; }
	.foot-acc { border-top: 1px solid rgba(255,255,255,.14); }
	.foot-col__t { cursor: pointer; margin: 0; padding: 16px 0; display: flex; justify-content: space-between; }
	.foot-col__t::after { content: "+"; font-size: 18px; color: #fff; }
	.foot-acc.is-open .foot-col__t::after { content: "–"; }
	.foot-col__body { display: none; padding-bottom: 16px; }
	.foot-acc.is-open .foot-col__body { display: block; }
	.foot-bottom { flex-direction: column; align-items: flex-start; }
	.float-contact { bottom: 80px; right: 12px; }
	.float-contact__btn { width: 46px; height: 46px; }
	.bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: 64px; background: #fff; border-top: 1px solid var(--ap-line); box-shadow: 0 -6px 20px rgba(0,7,147,.08); padding-bottom: env(safe-area-inset-bottom); }
	.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10.5px; font-weight: 700; color: var(--ap-text-3); }
	.bottom-nav a:hover, .bottom-nav a:focus { color: var(--ap-navy); }
	.page-hero--shop .page-hero__in { padding-top: 32px; padding-bottom: 32px; }
	.page-hero--dark .page-hero__in { padding-top: 40px; padding-bottom: 110px; }
	.page-hero__slash { display: none; }
	.cat-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
	.filters { flex-direction: column; align-items: stretch; }
	.filters__group { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
	.dropdown__menu { position: fixed; left: 16px; right: 16px; top: auto; bottom: 80px; max-height: 60vh; }
	.shop-grid { padding-bottom: 48px; }
	.sp-gallery .woocommerce-product-gallery__image img { height: 340px; }
	.sp-highlights { grid-template-columns: 1fr; padding: 20px; }
	.support-box { flex-direction: column; align-items: stretch; }
	.related-wrap { padding: 48px 0; }
	.about-hero__media { height: 340px; }
	.about-hero .slider-slot__cap { top: 16px; }
	.stats-bar { grid-template-columns: 1fr 1fr; border-radius: 12px; margin: 0; }
	.stats-bar__item { padding: 16px; border-right: 0; border-top: 1px solid var(--ap-line); }
	.stats-bar__item:nth-child(-n+2) { border-top: 0; }
	.stats-bar__item:last-child { grid-column: 1 / -1; }
	.about-intro { padding-top: 48px; }
	.values { flex-direction: column; align-items: flex-start; }
	.values li { width: 54px; height: 54px; font-size: 14px; }
	.field-grid, .project-grid { grid-template-columns: 1fr; }
	.field-card { height: 220px; }
	.sec--grey { margin-top: 48px; padding: 48px 0; }
	.bars { height: 240px; gap: 6px; }
	.bars__v { font-size: 10px; transform: rotate(-30deg); transform-origin: bottom center; }
	.bars__y { font-size: 10px; }
	.growth__chart { padding: 16px 12px 8px; }
	.infra { margin-top: 48px; }
	.infra__in { padding-top: 48px; padding-bottom: 48px; }
	.partner-grid { grid-template-columns: 1fr 1fr; }
	.finder-card { grid-template-columns: 1fr; margin-top: -70px; padding: 20px; }
	.rec { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; }
	.rec__img img { max-height: 100px; }
	.rec__body { padding-right: 12px; }
	.rec__body h3 { font-size: 15px; }
	.rec__buy { flex-direction: column; align-items: stretch; padding: 0 16px 16px; }
	.callback { padding: 24px; margin: 40px 0 48px; }
	.callback__form { grid-template-columns: 1fr; }
	.dealer { padding: 24px; margin: 40px 0 48px; }
	.dealer__form { grid-template-columns: 1fr; }
	.dealer__full { grid-column: auto; }
	.notfound__code { font-size: 80px; }
}

@media (max-width: 420px) {
	.cat-grid { grid-template-columns: 1fr 1fr; }
	.gw__chip { height: 36px; font-size: 12.5px; padding: 0 12px; }
}

@media print {
	.topbar, .site-header, .site-footer, .float-contact, .bottom-nav { display: none !important; }
}

/* Quy cách dạng nút */
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { min-width: 84px; height: 44px; padding: 0 14px; border-radius: 6px; border: 1px solid #D5D8E6; background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ap-dark); }
.swatch:hover { border-color: var(--ap-navy); }
.swatch.is-active { border: 2px solid var(--ap-accent); background: #FFF8E6; color: var(--ap-navy); }
.sp-summary .reset_variations { display: none !important; }

/* Bình luận */
.comments { padding: 40px 0 60px; border-top: 1px solid var(--ap-line); }
.comments__t, .comment-reply-title { font-size: 20px; font-weight: 800; color: var(--ap-navy); margin-bottom: 16px; }
.comment-list { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.comment-list .children { list-style: none; padding-left: 24px; margin-top: 16px; }
.comment-body { padding: 16px; border: 1px solid var(--ap-line); border-radius: 10px; }
.comment-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; margin-bottom: 8px; }
.comment-meta img { border-radius: 50%; }
.comment-form { display: grid; gap: 12px; }
.comment-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }

/* =========================================================================
   HIỆU ỨNG CHUYỂN ĐỘNG (v1.1)
   Chỉ dùng transform/opacity cho mượt. Tắt toàn bộ khi người dùng bật
   "giảm chuyển động" trong hệ điều hành.
   ========================================================================= */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }

/* ---- Hiện dần khi cuộn tới (JS gắn class .rv, thêm .is-in khi vào màn hình) ---- */
.anim .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--rv-delay, 0s); }
.anim .rv--left { transform: translateX(-36px); }
.anim .rv--right { transform: translateX(36px); }
.anim .rv--zoom { transform: scale(.94); }
.anim .rv.is-in { opacity: 1; transform: none; }

/* Vạch chéo tiêu đề kéo dài khi hiện */
.anim .sec-head .slash, .anim .slash.rv { width: 0; transition: width .7s var(--ease-out) .15s; }
.anim .is-in .slash, .anim .slash.is-in { width: 44px; }

/* Thanh biểu đồ doanh thu mọc lên, thanh kho chạy ngang */
.anim .bars__bar { transform: scaleY(0); transform-origin: bottom; transition: transform 1.1s var(--ease-out); transition-delay: var(--bar-delay, 0s); }
.anim .bars.is-in .bars__bar { transform: scaleY(1); }
.anim .bars__v { opacity: 0; transition: opacity .4s ease; transition-delay: calc(var(--bar-delay, 0s) + .7s); }
.anim .bars.is-in .bars__v { opacity: 1; }
.anim .depots__track span { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out); transition-delay: var(--bar-delay, 0s); }
.anim .depots.is-in .depots__track span { transform: scaleX(1); }

/* ---- Nút: ánh sáng lướt, nhấc nhẹ, mũi tên nhích ---- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease-out), box-shadow .25s ease, filter .2s, background .2s, color .2s; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%); transform: skewX(-20deg); transition: left .6s var(--ease-out); }
.btn-navy::after { background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.25) 50%, transparent 100%); }
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn-sun:hover { box-shadow: 0 14px 30px rgba(245,130,32,.42); }
.btn-navy:hover { box-shadow: 0 12px 26px rgba(0,7,147,.3); }
.btn-line:hover { box-shadow: 0 8px 20px rgba(0,7,147,.12); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn .ico, .sec-head__more .ico, .gw__go .ico, .cat-card__count .ico, .mega__all, .docs a > .ico:last-child { transition: transform .3s var(--ease-out); }
.btn:hover .ico[class*="ico"]:last-child:not(:first-child), .sec-head__more:hover .ico, .gw:hover .gw__go .ico, .cat-card:hover .cat-card__count .ico, .docs a:hover > .ico:last-child { transform: translateX(5px); }
.btn--icon:hover .ico { transform: scale(1.12) rotate(-6deg); }
.single_add_to_cart_button, .buy-now { transition: transform .25s var(--ease-out), box-shadow .25s, filter .2s; }
.single_add_to_cart_button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,7,147,.3); }
.pill, .swatch, .dropdown > summary, .chip { transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease-out); }
.pill:hover, .swatch:hover { transform: translateY(-2px); }
.icon-btn { transition: background .2s, color .2s, transform .2s var(--ease-out); }
.icon-btn:hover { transform: translateY(-1px); }
.cart-count.bump { animation: ap-bump .5s var(--ease-spring); }
@keyframes ap-bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

/* Topbar: dải vàng có ánh lướt định kỳ */
.topbar__group { position: relative; overflow: hidden; }
.topbar__group::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.6), transparent); transform: skewX(-20deg); animation: ap-sheen 5s ease-in-out infinite 2s; }
@keyframes ap-sheen { 0%, 70% { left: -60%; } 100% { left: 140%; } }

/* Menu: gạch chân chạy từ giữa ra */
.nav__list > li > a { position: relative; border-bottom-color: transparent !important; }
.nav__list > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--ap-primary), var(--ap-accent)); transform: scaleX(0); transition: transform .3s var(--ease-out); }
.nav__list > li > a:hover::after, .nav__list > li.current-menu-item > a::after, .nav__list > li.current-menu-ancestor > a::after, .nav__list > li.is-open > a::after, .nav__list > li:hover > a::after { transform: scaleX(1); }
.nav__list > li > a .ico { transition: transform .25s; }
.nav__list > li:hover > a .ico { transform: rotate(180deg); }
/* Mega menu: cột hiện lần lượt */
.mega__col, .mega__promo { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .45s var(--ease-out); }
.has-mega:hover .mega__col, .has-mega.is-open .mega__col, .has-mega:hover .mega__promo, .has-mega.is-open .mega__promo { opacity: 1; transform: none; }
.mega__col:nth-child(2) { transition-delay: .04s; } .mega__col:nth-child(3) { transition-delay: .08s; } .mega__col:nth-child(4) { transition-delay: .12s; } .mega__col:nth-child(5) { transition-delay: .16s; } .mega__promo { transition-delay: .2s; }
.mega__item { transition: background .2s, transform .25s var(--ease-out); }
.mega__item:hover { transform: translateX(4px); }
.mega__thumb img { transition: transform .3s var(--ease-spring); }
.mega__item:hover .mega__thumb img { transform: scale(1.15) rotate(-4deg); }
.mega__promo-img { animation: ap-float 4s ease-in-out infinite; }

/* ---- Ảnh slider dự phòng: zoom chậm kiểu điện ảnh ---- */
.slider-slot__img { animation: ap-kenburns 18s ease-out both; }
@keyframes ap-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.slider-slot__cap { animation: ap-in-left .9s var(--ease-out) .5s both; }
.slider-slot__cap span { animation: ap-grow-x .7s var(--ease-out) .9s both; transform-origin: left; }
@keyframes ap-in-left { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes ap-grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---- Hai cổng trang chủ ---- */
.gw { transition: transform .45s var(--ease-out), box-shadow .45s; }
.gw:hover { transform: translateY(-6px); }
.gw--retail:hover { box-shadow: 0 34px 60px rgba(245,130,32,.4); }
.gw--corp:hover { box-shadow: 0 34px 60px rgba(0,7,147,.4); }
.gw .stripes, .foot-cta .stripes, .finder-bar .stripes, .coming__box .stripes, .callback .stripes, .finder-cta .stripes, .values .stripes { background-size: 258.2px 100%; animation: ap-stripes 12s linear infinite; }
/* 258.2px = 9 chu kỳ sọc theo phương ngang (26px / sin 115°), lặp liền mạch */
@keyframes ap-stripes { from { background-position: 0 0; } to { background-position: 258.2px 0; } }
.gw__slash { transition: transform .6s var(--ease-out); }
.gw--corp:hover .gw__slash { transform: skewX(-22deg) translateX(-24px); }
.gw__chip { transition: transform .25s var(--ease-out), background .2s; }
.gw:hover .gw__chip { transform: translateY(-2px); }
.gw:hover .gw__chip:nth-child(2) { transition-delay: .04s; } .gw:hover .gw__chip:nth-child(3) { transition-delay: .08s; }
.gw__go { transition: transform .3s var(--ease-out), box-shadow .3s; }
.gw:hover .gw__go { transform: scale(1.05); box-shadow: 0 8px 20px rgba(0,0,0,.18); }

/* Thanh tra cứu: mép vàng nhấp nháy nhẹ */
.finder-bar__edge { animation: ap-edge 3s ease-in-out infinite; }
@keyframes ap-edge { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* ---- Thẻ danh mục ---- */
.cat-card { transition: box-shadow .4s, transform .4s var(--ease-out), border-color .3s; }
.cat-card:hover { transform: translateY(-6px); border-color: #FFD27A; box-shadow: 0 22px 44px rgba(0,7,147,.12); }
.cat-card__bar { transition: width .5s var(--ease-out); }
.cat-card:hover .cat-card__bar { width: 100%; }
.cat-card__img img { transition: transform .5s var(--ease-spring); }
.cat-card:hover .cat-card__img img { transform: translateY(-8px) rotate(-5deg) scale(1.06); }
.cat-card__glow { transition: transform .6s var(--ease-out), opacity .4s; }
.cat-card:hover .cat-card__glow { transform: scale(1.35); opacity: 1; }

/* ---- Thẻ sản phẩm ---- */
.pcard { transition: box-shadow .35s, transform .35s var(--ease-out), border-color .3s; }
.pcard:hover { transform: translateY(-6px); border-color: #FFD27A; box-shadow: 0 22px 44px rgba(0,7,147,.14); }
.pcard__img img { transition: transform .5s var(--ease-spring); }
.pcard:hover .pcard__img img { transform: scale(1.07) translateY(-4px); }
.pcard__corner { transition: width .35s var(--ease-out), height .35s var(--ease-out); }
.pcard:hover .pcard__corner { width: 64px; height: 64px; }
.pcard__title a { background: linear-gradient(var(--ap-primary), var(--ap-primary)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease-out); }
.pcard:hover .pcard__title a { background-size: 100% 2px; }
.pcard__tag { animation: ap-tag 2.6s ease-in-out infinite; }
@keyframes ap-tag { 0%, 100% { transform: none; } 50% { transform: translateY(-2px); } }

/* Tab sản phẩm nổi bật: panel trượt vào */
[role=tabpanel]:not([hidden]) { animation: ap-fade-up .5s var(--ease-out); }
@keyframes ap-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Số liệu ---- */
.stat-card { transition: transform .35s var(--ease-out), background .3s, border-color .3s; }
.stat-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.12); border-color: rgba(255,194,26,.5); }
.stats-bar__item { transition: background .3s; }
.stats-bar__item:hover { background: #FFF8E6; }
.stats-bar::before { background-size: 200% 100%; animation: ap-flow 6s linear infinite; }
.brand-band::after, .infra::before, .dealer::before { background-size: 200% 100%; animation: ap-flow 6s linear infinite; }
@keyframes ap-flow { from { background-position: 0 0; } to { background-position: 200% 0; } }

/* ---- Thẻ ảnh (kênh bán, lĩnh vực, tin tức) ---- */
.photo-card, .field-card, .news-card__img { transition: transform .4s var(--ease-out), box-shadow .4s; }
.photo-card:hover, .field-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(0,7,147,.22); }
.photo-card img, .field-card img, .news-card__img img { transition: transform .8s var(--ease-out); }
.photo-card:hover img, a.field-card:hover img, .field-card:hover img { transform: scale(1.08); }
.photo-card__t, .field-card__t { transition: transform .4s var(--ease-out); }
.photo-card:hover .photo-card__t, .field-card:hover .field-card__t { transform: translateY(-4px); }
.photo-card::before, .field-card::before { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 0; z-index: 2; background: var(--g-sun-x); transition: width .5s var(--ease-out); }
.photo-card:hover::before, .field-card:hover::before { width: 100%; }
.news-card:hover .news-card__img { box-shadow: 0 18px 36px rgba(0,7,147,.14); transform: translateY(-4px); }
.news-card__t a { background: linear-gradient(var(--ap-primary), var(--ap-primary)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease-out); }
.news-card:hover .news-card__t a { background-size: 100% 2px; }

/* ---- Trang Anh Phát Petro ---- */
.vm-card { transition: transform .35s var(--ease-out), box-shadow .35s; }
.vm-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,7,147,.1); }
.vm-card__bar { transform-origin: left; transition: transform .5s var(--ease-out); }
.values li { transition: transform .35s var(--ease-spring), box-shadow .3s; }
.values li:hover { transform: translateY(-6px) scale(1.08); box-shadow: 0 10px 22px rgba(0,0,0,.25); }
.anim .values.is-in li { animation: ap-pop .6s var(--ease-spring) both; }
.anim .values.is-in li:nth-child(2) { animation-delay: .08s; } .anim .values.is-in li:nth-child(3) { animation-delay: .16s; } .anim .values.is-in li:nth-child(4) { animation-delay: .24s; } .anim .values.is-in li:nth-child(5) { animation-delay: .32s; }
@keyframes ap-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.project-card { transition: transform .35s var(--ease-out), box-shadow .35s; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(245,130,32,.22); }
.project-card__n { transition: transform .5s var(--ease-out), color .3s; }
.project-card:hover .project-card__n { transform: translateY(6px) scale(1.15); color: rgba(249,166,0,.32); }
.partner-grid li { transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s; }
.partner-grid li:hover { transform: translateY(-4px); border-color: var(--ap-primary); box-shadow: 0 12px 26px rgba(0,7,147,.08); }
.about-intro__img img { transition: transform .8s var(--ease-out); }
.about-intro__img:hover img { transform: scale(1.05); }

/* ---- Trang sản phẩm, tra cứu, điểm bán ---- */
.sp-highlights__ic { transition: transform .4s var(--ease-spring); }
.sp-highlights li:hover .sp-highlights__ic { transform: rotate(-10deg) scale(1.12); }
.docs a, .store, .rec, .channel-card, .child-page { transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s, background .3s; }
.docs a:hover, .child-page:hover { transform: translateX(4px); }
.store:hover { transform: translateX(4px); box-shadow: 0 10px 24px rgba(0,7,147,.08); }
.rec:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,7,147,.1); }
.channel-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0,7,147,.14); }
.channel-card__ic { transition: transform .4s var(--ease-spring); }
.channel-card:hover .channel-card__ic { transform: scale(1.12) rotate(-8deg); }
.map-pin span { transition: transform .25s var(--ease-spring); }
.map-pin:hover span { transform: rotate(-45deg) scale(1.2); }
.support-box__btn { transition: transform .25s var(--ease-out), filter .2s, box-shadow .25s; }
.support-box__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.12); }
.support-box__qr img { transition: transform .35s var(--ease-spring); }
.support-box__qr:hover img { transform: scale(1.06); }
.sp-gallery .woocommerce-product-gallery__image img { transition: transform .6s var(--ease-out); }
.sp-gallery:hover .woocommerce-product-gallery__image img { transform: scale(1.03); }
.wc-tabs li a { position: relative; transition: color .2s; }

/* Nút liên hệ nổi: Zalo rung nhẹ định kỳ */
.float-contact__btn { transition: transform .25s var(--ease-spring); }
.float-contact__btn--zalo { animation: ap-wiggle 5s ease-in-out infinite 3s; }
@keyframes ap-wiggle { 0%, 88%, 100% { transform: rotate(0); } 90% { transform: rotate(-12deg); } 93% { transform: rotate(10deg); } 96% { transform: rotate(-6deg); } }
@keyframes ap-float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -8px); } }

/* Footer */
.foot-links a { display: inline-block; transition: color .2s, transform .25s var(--ease-out); }
.foot-links a:hover { transform: translateX(4px); }
.foot-cta__row input { transition: box-shadow .25s; }
.foot-cta__row input:focus { box-shadow: 0 0 0 4px rgba(0,7,147,.18); }

/* Header thu gọn khi cuộn (desktop) */
@media (min-width: 1101px) {
	.site-header__in { transition: height .3s var(--ease-out); }
	.site-header.is-scrolled .site-header__in { height: 72px; }
	.site-header .brand__logo { transition: height .3s var(--ease-out); }
	.site-header.is-scrolled .brand__logo { height: 26px; }
}

/* Thiết bị cảm ứng: bỏ hiệu ứng hover nâng thẻ (tránh "dính" hover) */
@media (hover: none) {
	.pcard:hover, .cat-card:hover, .gw:hover, .photo-card:hover, .field-card:hover, .project-card:hover, .btn:hover { transform: none; }
}

/* Tôn trọng cài đặt giảm chuyển động */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.anim .rv { opacity: 1; transform: none; }
	.anim .bars__bar, .anim .depots__track span { transform: none; }
	.anim .bars__v { opacity: 1; }
}

/* Dấu ✓ khi đã thêm vào giỏ (ghi đè ánh lướt của nút) */
.pcard .add_to_cart_button.added::after { left: auto; top: 3px; right: 3px; width: 16px; height: 16px; transform: none; z-index: 2; background: #0E7A3A; transition: none; }
/* Tránh thanh cuộn ngang khi khối đang trượt vào */
.site-main, .site-footer { overflow-x: clip; }

/* v1.2 – Ô "Dung tích khác" trên trang chi tiết */
.size-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 16px 0 4px; }
.size-switch__label { font-size: 13px; font-weight: 700; color: var(--ap-text-2); }
.size-switch__list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-switch__item { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1.5px solid var(--ap-line); border-radius: 6px; font-size: 14px; font-weight: 700; color: var(--ap-navy); background: #fff; text-decoration: none; transition: border-color .2s, background .2s, transform .2s var(--ease-out); }
a.size-switch__item:hover { border-color: var(--ap-navy); transform: translateY(-1px); }
.size-switch__item.is-current { border-color: var(--ap-navy); background: var(--ap-navy); color: #fff; }
.support-box__qr .support-box__ic { flex: 0 0 auto; display: grid; max-width: none; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ap-navy); box-shadow: 0 4px 12px rgba(16, 24, 112, .08); }
.sp-gallery { min-width: 0; }

/* v1.4 – Menu WordPress nhiều cấp (thay mega menu) */
.nav__list .sub-menu li { position: relative; }
.nav__list .sub-menu a { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nav__list .sub-menu a .ico { transform: rotate(-90deg); opacity: .6; flex: 0 0 auto; }
.nav__list .sub-menu .sub-menu { top: -11px; left: 100%; margin-left: 6px; border-radius: 10px; border-top-width: 1px; border-left: 3px solid var(--ap-primary); }
.nav__list .sub-menu li:hover > .sub-menu, .nav__list .sub-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu .current-menu-item > a { color: var(--ap-navy); background: var(--ap-soft); }
.drawer__list .sub-menu .sub-menu a { padding-left: 44px; }

/* v1.4 – Footer bằng widget */
.foot-grid--widgets .foot-col { min-width: 0; }
.foot-widget + .foot-widget { margin-top: 28px; }
.foot-widget .foot-col--brand { margin: 0; }
.foot-widget p:last-child { margin-bottom: 0; }
.foot-widget .textwidget, .foot-widget .wp-block-group { font-size: 14px; line-height: 1.65; }
.foot-widget a { color: inherit; }
@media (max-width: 768px) {
	.foot-col__body--open { display: block !important; padding-bottom: 16px; }
	.foot-widget.widget_aplube_brand { border-top: 0; }
	.foot-widget + .foot-widget { margin-top: 0; }
}

/* ---------- 1.4.1: Trang Liên hệ (page-templates/contact.php) ---------- */
.contact-page { padding-bottom: 80px; }
.contact-cards { list-style: none; margin: -90px 0 0; padding: 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px; }
.contact-card { background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 24px 60px rgba(0,7,147,.14); display: flex; flex-direction: column; gap: 6px; min-width: 0; border-top: 4px solid var(--ap-primary); }
.contact-card__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #FFF4DB; color: var(--ap-accent); margin-bottom: 6px; }
.contact-card__lb { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ap-muted); }
.contact-card__v { font-size: 17px; line-height: 1.4; color: var(--ap-navy); font-weight: 800; overflow-wrap: anywhere; }
.contact-card__go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ap-accent); }
.contact-card__go:hover { color: var(--ap-navy); }
.contact-main { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info .eyebrow { color: var(--ap-accent); }
.contact-dl { margin: 6px 0 0; display: flex; flex-direction: column; border-top: 1px solid var(--ap-line); }
.contact-dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ap-line); }
.contact-dl dt { font-size: 13px; font-weight: 800; color: var(--ap-muted); text-transform: uppercase; letter-spacing: .5px; }
.contact-dl dd { margin: 0; color: var(--ap-text-2); font-weight: 600; overflow-wrap: anywhere; }
.contact-dl a { color: var(--ap-navy); }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.contact-link { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 12px; background: var(--ap-soft); color: var(--ap-navy); transition: background .2s, transform .2s; }
.contact-link:hover { background: #FFF4DB; color: var(--ap-navy); transform: translateY(-2px); }
.contact-link svg { flex: none; color: var(--ap-accent); margin-top: 2px; }
.contact-link span { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--ap-text-3); }
.contact-link strong { font-size: 15px; color: var(--ap-navy); }
.contact-form { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 32px; border-radius: 14px; background: var(--g-navy); color: #fff; }
.contact-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--g-sun-x); }
.contact-form__t { grid-column: 1 / -1; margin: 0; font-size: 24px; font-weight: 800; text-transform: uppercase; }
.contact-form__sub { grid-column: 1 / -1; margin: -8px 0 4px; font-size: 13px; color: var(--ap-on-dark-2); }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ap-on-dark-2); min-width: 0; }
.contact-form input, .contact-form select, .contact-form textarea { border: 0; width: 100%; color: var(--ap-dark); background-color: #fff; }
.contact-form__full { grid-column: 1 / -1; }
.contact-form .btn { justify-content: center; gap: 8px; }
.contact-form .form-notice { margin: 0; }
.contact-form .form-notice.is-ok, .contact-form .form-notice.is-err { color: var(--ap-yellow); }
.contact-content { margin-top: 56px; max-width: 860px; }
.contact-map { margin-top: 56px; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,7,147,.1); background: var(--ap-soft); }
.contact-map iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 1024px) {
	.contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact-main { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
	.contact-page { padding-bottom: 56px; }
	.contact-cards { margin-top: -70px; gap: 12px; }
	.contact-cards { grid-template-columns: 1fr; gap: 10px; }
	.contact-card { padding: 14px 16px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center; }
	.contact-card__ic { grid-row: 1 / 3; width: 42px; height: 42px; margin: 0; }
	.contact-card__lb { grid-column: 2; font-size: 11px; }
	.contact-card__v { grid-column: 2; font-size: 15px; }
	.contact-card__go { grid-column: 3; grid-row: 1 / 3; margin: 0; padding: 0; font-size: 0; width: 38px; height: 38px; border-radius: 50%; background: #FFF4DB; justify-content: center; }
	.contact-form { grid-template-columns: 1fr; padding: 24px 20px; }
	.contact-links { grid-template-columns: 1fr; }
	.contact-dl > div { grid-template-columns: 1fr; gap: 2px; }
	.contact-map iframe { height: 320px; }
}
