/* =========================================================
   Điện Nước Vạn Tứ — Giao diện v2 (2026)
   Tham khảo chuẩn trình bày của các nhà phân phối vật tư lớn
   (Toolstation, Zoro, RS Online, City Plumbing, Screwfix):
   nền trung tính, viền mảnh, bo góc nhỏ, 1 màu thương hiệu + 1 màu hành động.
   ========================================================= */

:root {
	--navy-900: #061f4a;
	--navy-800: #0a2d66;
	--navy: #0b3d91;
	--navy-600: #1652b8;
	--navy-100: #d8e4f7;
	--navy-50: #edf3fc;
	--green: #15803d;
	--green-700: #116a32;
	--green-50: #e9f7ee;
	--red: #d7261e;
	--red-700: #b51d16;
	--red-50: #fdeeed;
	--zalo: #0068ff;
	--zalo-50: #e6f0ff;

	--text: #1f2937;
	--text-2: #374151;
	--muted: #6b7280;
	--border: #e3e7ed;
	--border-2: #cdd4de;
	--bg: #f2f4f7;

	--r-sm: 4px;
	--r: 8px;
	--shadow: 0 6px 18px -8px rgba(15, 23, 42, .18);
	--shadow-lg: 0 18px 40px -16px rgba(6, 31, 74, .35);

	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Barlow Condensed", "Be Vietnam Pro", system-ui, sans-serif;
	--container: 1280px;
	--sticky-top: 140px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--sticky-top); }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video { max-width: 100%; }
img { height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.3; }
ul, ol { padding-left: 0; }
:focus-visible { outline: 3px solid rgba(22, 82, 184, .45); outline-offset: 2px; }
::selection { background: var(--navy-100); }

.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block; vertical-align: -.2em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.text-accent { color: var(--navy); font-weight: 700; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* Ẩn nút Zalo cũ trong phần cài đặt và huy hiệu reCAPTCHA (đã có ghi chú dưới form) */
#linkzalo, .fcta-zalo-mess, .fcta-zalo-vi-tri-nut { display: none !important; }
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-note { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.recaptcha-note a { color: var(--navy); text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 1.5px solid transparent; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap; background: var(--navy); color: #fff; transition: background-color .15s, border-color .15s, color .15s; }
.btn .ico { width: 18px; height: 18px; }
.btn--primary { background: var(--navy); }
.btn--primary:hover { background: var(--navy-800); }
.btn--action { background: var(--green); }
.btn--action:hover { background: var(--green-700); }
.btn--call { background: var(--red); }
.btn--call:hover { background: var(--red-700); }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy-50); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--navy-50); }
.btn--ghost-dark { background: transparent; color: var(--muted); }
.btn--ghost-dark:hover { color: var(--text); background: var(--bg); }
.btn--zalo { background: var(--zalo); }
.btn--zalo:hover { background: #0057d6; }
.btn--lg { height: 50px; padding: 0 24px; font-size: 15.5px; }
.btn--sm { height: 34px; padding: 0 12px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn.is-loading, .pcard__btn.is-loading { opacity: .65; pointer-events: none; }

.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text-2); transition: background-color .15s, color .15s; }
.icon-btn:hover { background: var(--navy-50); color: var(--navy); }
.icon-btn .ico { width: 22px; height: 22px; }

.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; font-size: 14px; white-space: nowrap; }
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-more .ico { width: 16px; height: 16px; }

.badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 2px 7px; border-radius: var(--r-sm); font-size: 12px; font-weight: 700; line-height: 1.5; }
.badge--sale { background: var(--red); color: #fff; }
.badge--lg { top: 14px; left: 14px; font-size: 14px; padding: 4px 9px; }

.meta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.meta .ico { width: 14px; height: 14px; }

.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-600); }
.kicker .ico { width: 15px; height: 15px; }
.kicker--light { color: #fff; opacity: .92; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .75); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 34px; }
.topbar__note { display: flex; align-items: center; gap: 7px; margin: 0; min-width: 0; }
.topbar__note span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__note .ico { width: 14px; height: 14px; opacity: .8; }
.topbar__links { display: flex; align-items: center; flex-shrink: 0; }
.topbar__links a { padding: 0 12px; line-height: 1; border-left: 1px solid rgba(255, 255, 255, .18); }
.topbar__links a:first-child { border-left: 0; }
.topbar__links a:hover, .topbar__links a.is-active { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; }
.header.is-stuck { box-shadow: 0 6px 16px -10px rgba(15, 23, 42, .35); }
.header__main { border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 80px; }
.header__burger { display: none; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { height: 50px; width: auto; }
.brand__logo { height: 28px; width: auto; }

.search { flex: 1; max-width: 700px; display: flex; height: 46px; border: 2px solid var(--navy); border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.search:focus-within { box-shadow: 0 0 0 3px var(--navy-100); }
.search__select { max-width: 150px; padding: 0 30px 0 12px; border: 0; border-right: 1px solid var(--border); background: #f7f9fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; -webkit-appearance: none; appearance: none; font-size: 13.5px; color: var(--text-2); cursor: pointer; text-overflow: ellipsis; }
.search__select:focus, .search__input:focus { outline: 0; }
.search__input { flex: 1; min-width: 0; border: 0; padding: 0 14px; font-size: 15px; background: transparent; }
.search__input::placeholder { color: #8a94a3; }
.search__btn { display: grid; place-items: center; width: 56px; border: 0; background: var(--navy); color: #fff; transition: background-color .15s; }
.search__btn:hover { background: var(--navy-800); }
.search__btn .ico { width: 21px; height: 21px; }

.header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hact { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-sm); color: var(--text); transition: background-color .15s; }
.hact:hover { background: var(--navy-50); }
.hact > .ico, .hact__icon > .ico { width: 26px; height: 26px; color: var(--navy); }
.hact > span:not(.hact__icon) { display: flex; flex-direction: column; line-height: 1.2; }
.hact small { font-size: 12px; color: var(--muted); }
.hact strong { font-size: 14.5px; font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.hact--phone > .ico { color: var(--red); }
.hact--phone strong { color: var(--red); font-size: 16px; }
.hact__icon { position: relative; display: block; }
.hact__icon em { position: absolute; top: -7px; right: -9px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.hact--cart.bump .hact__icon { animation: bump .45s ease; }

/* ---------- Thanh danh mục ---------- */
.catnav { background: var(--navy); color: #fff; }
.catnav__inner { position: relative; display: flex; align-items: stretch; height: 48px; }
.catnav__list { flex: 1; display: flex; list-style: none; margin: 0; padding: 0; min-width: 0; }
.catnav__item { flex: 1 1 auto; display: flex; }
.catnav__link { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 10px; font-size: 13.5px; font-weight: 600; line-height: 1.2; color: rgba(255, 255, 255, .92); position: relative; transition: background-color .15s; }
.catnav__link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; background: #fff; transform: scaleX(0); transition: transform .15s; }
.catnav__item:hover .catnav__link, .catnav__link.is-active { background: rgba(255, 255, 255, .1); color: #fff; }
.catnav__link.is-active::after, .catnav__item:hover .catnav__link::after { transform: scaleX(1); }

.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 45; background: #fff; color: var(--text); border-top: 3px solid var(--navy-900); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .12s, visibility .12s; }
.catnav__item.has-mega:hover > .mega, .catnav__item.has-mega:focus-within > .mega { opacity: 1; visibility: visible; transition-delay: .12s; }
.mega__inner { display: grid; grid-template-columns: 1fr 240px; gap: 32px; padding-top: 22px; padding-bottom: 24px; }
.mega__title { margin: 0 0 10px; font-family: var(--font-display); font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--navy-900); }
.mega__cols ul { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 24px; }
.mega__cols li { break-inside: avoid; }
.mega__cols a { display: flex; align-items: center; gap: 6px; padding: 7px 0; font-size: 14px; color: var(--text-2); border-bottom: 1px solid #f0f2f5; }
.mega__cols a .ico { width: 14px; height: 14px; color: var(--muted); }
.mega__cols a:hover { color: var(--navy); }
.mega__feature { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: var(--r); text-align: center; }
.mega__feature img { width: 160px; height: 160px; object-fit: contain; }
.mega__feature span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--navy); }
.mega__feature:hover { border-color: var(--navy); }

.catmenu { flex-shrink: 0; }
.catmenu__toggle { display: flex; align-items: center; gap: 10px; height: 100%; padding: 0 18px; border: 0; background: var(--navy-900); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }
.catmenu__toggle .ico { width: 20px; height: 20px; }
.catmenu__panel { position: absolute; top: 100%; left: 16px; right: 16px; z-index: 46; display: grid; grid-template-columns: 280px 1fr; min-height: 380px; background: #fff; color: var(--text); border-top: 3px solid var(--navy-900); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .12s, visibility .12s; }
@media (min-width: 768px) { .catmenu__panel { left: 24px; right: 24px; } }
.catmenu.is-open .catmenu__panel { opacity: 1; visibility: visible; }
.catmenu__list { list-style: none; margin: 0; padding: 8px 0; background: #f7f9fc; border-right: 1px solid var(--border); }
.catmenu__item a { display: flex; align-items: center; gap: 12px; padding: 9px 16px; font-weight: 600; font-size: 14px; }
.catmenu__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--border); color: var(--navy); flex-shrink: 0; }
.catmenu__icon .ico { width: 17px; height: 17px; }
.catmenu__arrow { margin-left: auto; width: 15px; height: 15px; color: var(--muted); }
.catmenu__item.is-active a { background: #fff; color: var(--navy); box-shadow: inset 3px 0 0 var(--navy); }
.catmenu__content { padding: 22px 26px; }
.catmenu__pane { display: none; }
.catmenu__pane.is-active { display: block; }
.catmenu__pane-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.catmenu__pane-head h3 { margin: 0; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; color: var(--navy-900); }
.catmenu__pane-head a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; font-size: 13.5px; }
.catmenu__pane-head .ico { width: 15px; height: 15px; }
.catmenu__subs { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 24px; }
.catmenu__subs a { display: flex; align-items: center; gap: 6px; padding: 7px 0; font-size: 14px; color: var(--text-2); border-bottom: 1px solid #f0f2f5; }
.catmenu__subs .ico { width: 14px; height: 14px; color: var(--muted); }
.catmenu__subs a:hover { color: var(--navy); }

/* ---------- Dải lợi ích ---------- */
.benefits { background: #fff; border-bottom: 1px solid var(--border); }
.benefits__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.benefits__item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.benefits__item > .ico { width: 26px; height: 26px; color: var(--navy); }
.benefits__item span { display: flex; flex-direction: column; line-height: 1.25; }
.benefits__item strong { font-size: 13.5px; color: var(--navy-900); }
.benefits__item small { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------- Menu di động ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, .55); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 86vw); background: #fff; display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 10px 12px 16px; border-bottom: 1px solid var(--border); }
.drawer__head img { height: 22px; width: auto; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 0 16px; }
.drawer__menu, .drawer__cats, .drawer__subs { list-style: none; margin: 0; padding: 0; }
.drawer__label { margin: 14px 16px 4px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.drawer__cat { display: flex; align-items: center; padding-right: 6px; border-bottom: 1px solid #f0f2f5; }
.drawer__cat a { flex: 1; display: flex; align-items: center; gap: 12px; padding: 11px 16px; font-size: 14.5px; font-weight: 600; }
.drawer__cat a .ico { width: 20px; height: 20px; color: var(--navy); }
.drawer__cat .icon-btn .ico { transition: transform .2s; }
.drawer__cat .icon-btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.drawer__subs { padding: 4px 0 8px 48px; background: #f7f9fc; }
.drawer__subs a { display: block; padding: 7px 16px 7px 0; font-size: 14px; color: var(--text-2); }
.drawer__menu a { display: block; padding: 10px 16px; font-size: 14.5px; font-weight: 500; }
.drawer__menu a.is-active { color: var(--navy); font-weight: 700; box-shadow: inset 3px 0 0 var(--navy); background: var(--navy-50); }
.drawer__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); display: grid; gap: 8px; }
body.no-scroll { overflow: hidden; }

/* ---------- Trang chủ: hero ---------- */
.home-hero { padding: 20px 0 8px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; }
.hero-main { position: relative; display: flex; align-items: center; min-height: 440px; border-radius: var(--r); overflow: hidden; background: var(--navy-900); color: #fff; }
.hero-main__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 31, 74, .95) 0%, rgba(6, 31, 74, .84) 44%, rgba(6, 31, 74, .2) 100%); }
.hero-main__content { position: relative; z-index: 1; max-width: 580px; padding: 40px 44px; }
.hero-main__title { margin: 14px 0 12px; font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1.02; text-transform: uppercase; }
.hero-main__desc { margin: 0; font-size: 15.5px; line-height: 1.65; color: rgba(255, 255, 255, .86); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-main__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-side { display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.hero-tile { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--border); }
.hero-tile--brands { padding: 16px 16px 12px; transition: border-color .15s; }
.hero-tile--brands:hover { border-color: var(--navy); }
.hero-tile__head { display: flex; flex-direction: column; margin-bottom: 10px; }
.hero-tile__head strong { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; color: var(--navy-900); line-height: 1.15; }
.hero-tile--brands img { display: block; width: 100%; }
.hero-tile--photo { min-height: 190px; border: 0; background: var(--navy-900); }
.hero-tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hero-tile--photo:hover img { transform: scale(1.04); }
.hero-tile__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 18px 20px; color: #fff; background: linear-gradient(180deg, rgba(6, 31, 74, 0) 15%, rgba(6, 31, 74, .92) 100%); }
.hero-tile__overlay strong { font-family: var(--font-display); font-size: 24px; line-height: 1.1; text-transform: uppercase; }
.hero-tile__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }
.hero-tile__more .ico { width: 15px; height: 15px; }

/* ---------- Sections ---------- */
.section { padding-top: 44px; padding-bottom: 44px; }
.section--tight-top { padding-top: 12px; }
.section--tight { padding-top: 28px; padding-bottom: 52px; }
.section--white, .section--alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section__head--line { position: relative; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.section__head--line::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 2px; background: var(--navy); }
.section__head-main { display: flex; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; min-width: 0; }
.section__title { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; line-height: 1.1; text-transform: uppercase; color: var(--navy-900); }
.section__kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; color: var(--navy-600); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.section__kicker .ico { width: 14px; height: 14px; }
.tabs-chips { display: flex; flex-wrap: wrap; gap: 4px 0; }
.tabs-chips a { padding: 2px 12px; font-size: 13.5px; color: var(--muted); border-left: 1px solid var(--border-2); line-height: 1.2; }
.tabs-chips a:first-child { border-left: 0; padding-left: 0; }
.tabs-chips a:hover { color: var(--navy); }

/* Danh mục dạng thẻ */
.cat-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat-card { display: flex; flex-direction: column; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--r); transition: border-color .15s, box-shadow .15s; }
.cat-card:hover { border-color: var(--navy-100); box-shadow: var(--shadow); }
.cat-card__top { display: flex; align-items: center; gap: 14px; }
.cat-card__img { display: grid; place-items: center; width: 84px; height: 84px; flex-shrink: 0; border-radius: var(--r-sm); background: #fff; border: 1px solid #f0f2f5; color: var(--navy); overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: contain; }
.cat-card__img .ico { width: 36px; height: 36px; }
.cat-card__text { display: flex; flex-direction: column; min-width: 0; }
.cat-card__text strong { font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--navy-900); }
.cat-card__top:hover strong { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.cat-card__text small { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.cat-card__subs { list-style: none; margin: 14px 0 10px; padding: 10px 0 0; border-top: 1px solid #f0f2f5; }
.cat-card__subs a { display: block; padding: 3px 0; font-size: 13.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-card__subs a:hover { color: var(--navy); text-decoration: underline; }
.cat-card__all { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.cat-card__all .ico { width: 15px; height: 15px; }

/* ---------- Lưới & thẻ sản phẩm ---------- */
.product-grid { display: grid; gap: 14px; }
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.pcard { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.pcard:hover { border-color: var(--navy-100); box-shadow: var(--shadow); }
.pcard__media { position: relative; display: block; aspect-ratio: 1 / 1; padding: 10px; background: #fff; }
.pcard__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pcard__body { flex: 1; display: flex; flex-direction: column; padding: 4px 14px 14px; }
.pcard__brand { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__title { margin: 2px 0 4px; font-size: 14px; font-weight: 600; line-height: 1.42; min-height: 2.84em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title a { color: var(--text); }
.pcard__title a:hover { color: var(--navy-600); text-decoration: underline; text-underline-offset: 2px; }
.pcard__code { font-size: 12px; color: var(--muted); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__price { display: flex; flex-direction: column; margin: 8px 0 12px; line-height: 1.25; }
.pcard__now { font-size: 18px; font-weight: 800; color: var(--navy); }
.pcard__now--quote { font-size: 15.5px; }
.pcard__old { font-size: 12.5px; color: var(--muted); }
.pcard__note { margin-top: 2px; font-size: 12px; color: var(--muted); }
.pcard__btn { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 40px; padding: 0 10px; border: 0; border-radius: var(--r-sm); background: var(--green); color: #fff; font-weight: 600; font-size: 14px; transition: background-color .15s; }
.pcard__btn:hover { background: var(--green-700); }
.pcard__btn .ico { width: 18px; height: 18px; }

/* ---------- Dịch vụ cho đại lý ---------- */
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 32px; background: #fff; border: 1px solid var(--border); border-radius: var(--r); }
.service__media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 440px; }
.service__img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); }
.service__img--a { grid-row: 1 / 3; }
.service__title { margin: 8px 0 10px; font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.05; text-transform: uppercase; color: var(--navy-900); }
.service__lead { margin: 0 0 18px; color: var(--text-2); font-size: 15.5px; }
.service__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.service__list li { display: flex; gap: 12px; }
.service__list strong { font-size: 15.5px; color: var(--navy-900); }
.service__list a:hover strong { color: var(--navy); text-decoration: underline; }
.service__list p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.service__icon { display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--green-50); color: var(--green); margin-top: 1px; }
.service__icon .ico { width: 15px; height: 15px; }
.service__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Thương hiệu ---------- */
.brand-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.brand-wall__item { display: grid; place-items: center; height: 88px; padding: 10px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); transition: border-color .15s, box-shadow .15s; }
.brand-wall__item img { max-height: 60px; width: auto; object-fit: contain; }
.brand-wall__item:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.brand-wall__item--more { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--navy); background: var(--navy-50); border-color: var(--navy-100); }
.brand-wall__item--more .ico { width: 15px; height: 15px; }

/* ---------- Tin tức ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ncard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.ncard:hover { border-color: var(--navy-100); box-shadow: var(--shadow); }
.ncard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9eef6; }
.ncard__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ncard:hover .ncard__media img { transform: scale(1.04); }
.ncard__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.ncard__title { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__title a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.ncard__desc { margin: 0 0 4px; color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard .link-more { margin-top: auto; font-size: 13.5px; }

/* ---------- Thanh hỗ trợ & footer ---------- */
.helpbar { background: #fff; border-top: 1px solid var(--border); }
.helpbar__inner { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 20px; align-items: center; padding-top: 26px; padding-bottom: 26px; }
.helpbar__intro h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 26px; text-transform: uppercase; color: var(--navy-900); line-height: 1.1; }
.helpbar__intro p { margin: 0; font-size: 14px; color: var(--muted); }
.helpbar__item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r); min-width: 0; transition: border-color .15s; }
.helpbar__item:hover { border-color: var(--navy); }
.helpbar__item > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.helpbar__item small { font-size: 12px; color: var(--muted); }
.helpbar__item strong { font-size: 15px; color: var(--navy-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.helpbar__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; background: var(--navy-50); color: var(--navy); }
.helpbar__icon .ico { width: 21px; height: 21px; }
.helpbar__icon--call { background: var(--red-50); color: var(--red); }
.helpbar__icon--zalo { background: var(--zalo-50); color: var(--zalo); }
.helpbar__icon--zalo .ico { width: 25px; height: 25px; }

.footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 48px; padding-bottom: 36px; }
.footer__logo { display: inline-block; padding: 8px 12px; background: #fff; border-radius: var(--r-sm); margin-bottom: 16px; }
.footer__logo img { display: block; height: 24px; width: auto; }
.footer__brand { margin: 0 0 10px; color: #fff; font-size: 14.5px; font-weight: 700; line-height: 1.45; text-transform: uppercase; letter-spacing: .02em; }
.footer__content p { margin: 0 0 4px; }
.footer__content, .footer__content * { font-size: 13.5px !important; font-family: inherit !important; color: inherit !important; }
.footer__content a:hover { color: #fff !important; }
.footer__title { margin: 0 0 14px; color: #fff; font-family: var(--font-display); font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li + li { margin-top: 8px; }
.footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ico { width: 17px; height: 17px; margin-top: 2px; color: #fff; opacity: .8; }
.footer__contact a:hover { color: #fff; }
.footer__map { margin-top: 16px; height: 160px; border-radius: var(--r-sm); overflow: hidden; background: rgba(255, 255, 255, .06); }
.footer__map iframe { display: block; width: 100% !important; height: 100% !important; border: 0; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .15s; }
.footer__social a:hover { background: var(--navy-600); }
.footer__social .ico { width: 17px; height: 17px; }
.footer__badge { display: inline-block; margin-top: 16px; }
.footer__badge img { max-height: 56px; width: auto; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.footer__bottom p { margin: 0; }
.footer__stats { display: flex; gap: 18px; }
.footer__stats strong { color: #fff; font-weight: 600; }

/* ---------- Nút nổi ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab__chat { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px 0 14px; border-radius: 999px; background: var(--zalo); color: #fff; font-weight: 700; font-size: 14.5px; box-shadow: 0 10px 24px -10px rgba(0, 104, 255, .7); transition: background-color .15s; }
.fab__chat:hover { background: #0057d6; }
.fab__chat .ico { width: 28px; height: 28px; }
.fab__top { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--border); border-radius: var(--r-sm); background: #fff; color: var(--navy); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.fab__top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab__top .ico { width: 20px; height: 20px; }
.mbar { display: none; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 12px 14px 12px 16px; border-radius: var(--r); background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); font-size: 14.5px; opacity: 0; visibility: hidden; transform: translate(-50%, 16px); transition: opacity .25s, transform .25s, visibility .25s; }
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .ico { width: 20px; height: 20px; color: #4ade80; }
.toast a { margin-left: 4px; padding: 6px 12px; border-radius: var(--r-sm); background: var(--green); font-weight: 600; font-size: 13.5px; white-space: nowrap; }

/* ---------- Tiêu đề trang & breadcrumb ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--border); padding: 0 0 22px; }
.page-head__title { margin: 4px 0 0; font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.1; text-transform: uppercase; color: var(--navy-900); }
.page-head__sub { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 14px 0 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.breadcrumb li + li::before { content: "›"; color: var(--border-2); font-size: 15px; line-height: 1; }
.breadcrumb a { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb .ico { width: 14px; height: 14px; }
.breadcrumb li[aria-current] { color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50ch; }

/* ---------- Bố cục có cột bên ---------- */
.layout-sidebar { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 24px; padding-bottom: 52px; }
.layout-sidebar--right { grid-template-columns: minmax(0, 1fr) 310px; }
.section--tight.layout-sidebar { padding-top: 28px; }
.sidebar { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.layout-main { min-width: 0; }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 24px; }
.card__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 18px; font-weight: 700; color: var(--navy-900); }
.card__title .ico { color: var(--navy); width: 20px; height: 20px; }
.card__title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.card__title-row .card__title { margin: 0; }

.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 16px; }
.side-card__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); font-size: 14.5px; font-weight: 700; color: var(--navy-900); text-transform: uppercase; letter-spacing: .03em; }
.side-card__title .ico { color: var(--navy); width: 18px; height: 18px; }
.side-cats, .side-cats__subs, .side-links, .side-posts, .side-info { list-style: none; margin: 0; padding: 0; }
.side-cats > li + li { border-top: 1px solid #f0f2f5; }
.side-cats__link { display: flex; align-items: center; gap: 10px; padding: 9px 4px; }
.side-cats__link:hover { color: var(--navy); }
.side-cats__link.is-active, .side-cats li.is-open > .side-cats__link { color: var(--navy); font-weight: 700; }
.side-cats__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-sm); background: var(--navy-50); color: var(--navy); flex-shrink: 0; }
.side-cats__icon .ico { width: 16px; height: 16px; }
.side-cats__name { flex: 1; font-size: 14px; line-height: 1.35; }
.side-cats__count { font-size: 12px; color: var(--muted); }
.side-cats__subs { margin: 0 0 8px 44px; }
.side-cats__subs a { display: block; padding: 5px 0; font-size: 13.5px; color: var(--text-2); }
.side-cats__subs a:hover { color: var(--navy); text-decoration: underline; }
.side-cats__subs a.is-active { color: var(--navy); font-weight: 700; }
.side-links a { display: flex; align-items: center; gap: 8px; padding: 8px 4px; font-size: 14px; color: var(--text-2); border-bottom: 1px solid #f0f2f5; }
.side-links li:last-child a { border-bottom: 0; }
.side-links a .ico { width: 15px; height: 15px; color: var(--muted); }
.side-links a:hover, .side-links a.is-active { color: var(--navy); }
.side-links a.is-active { font-weight: 700; }
.side-posts li + li { border-top: 1px solid #f0f2f5; }
.side-posts a { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; padding: 10px 0; }
.side-posts img { display: block; width: 84px; height: 58px; border-radius: var(--r-sm); object-fit: cover; }
.side-posts strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.side-posts a:hover strong { color: var(--navy); }
.side-posts small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.side-info { margin-bottom: 14px; }
.side-info li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.side-info li + li { margin-top: 10px; }
.side-info .ico { color: var(--navy); margin-top: 3px; }

.contact-box { padding: 20px; border-radius: var(--r); color: #fff; background: var(--navy-900); }
.contact-box__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .12); margin-bottom: 12px; }
.contact-box__icon .ico { width: 24px; height: 24px; }
.contact-box h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.contact-box p { margin: 0 0 16px; font-size: 13.5px; color: rgba(255, 255, 255, .78); line-height: 1.55; }
.contact-box .btn + .btn { margin-top: 8px; }

/* Danh sách sản phẩm */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 13.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chips.list-chips { display: none; }
.subtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; margin-bottom: 16px; }
.subtile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--r); text-align: center; transition: border-color .15s; }
.subtile:hover { border-color: var(--navy); }
.subtile.is-active { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--navy-50); }
.subtile__img { display: grid; place-items: center; width: 72px; height: 72px; color: var(--navy); }
.subtile__img img { width: 100%; height: 100%; object-fit: contain; }
.subtile__img .ico { width: 30px; height: 30px; }
.subtile__name { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; padding: 10px 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--r); }
.list-toolbar p { margin: 0; font-size: 14px; color: var(--muted); }
.list-toolbar strong { color: var(--text); }
.list-toolbar__quote { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.list-toolbar__quote:hover { text-decoration: underline; }

.empty { text-align: center; padding: 44px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--r); }
.empty__icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--navy-50); color: var(--navy); margin-bottom: 14px; }
.empty__icon .ico { width: 30px; height: 30px; }
.empty h2 { margin: 0 0 8px; font-size: 19px; }
.empty p { margin: 0 auto 20px; color: var(--muted); max-width: 460px; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.paging { margin-top: 28px; display: flex; justify-content: center; }
.paging:empty { display: none; }
.pagination { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: 14px; }
.pagination a[href]:hover { border-color: var(--navy); color: var(--navy); }
.pagination a.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .dot { display: grid; place-items: center; min-width: 24px; color: var(--muted); }

/* ---------- Chi tiết sản phẩm ---------- */
.pdp-head { background: #fff; border-bottom: 1px solid var(--border); padding-bottom: 18px; }
.pdp-head__title { margin: 4px 0 6px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.3; color: var(--navy-900); }
.pdp-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin: 0; font-size: 13.5px; color: var(--muted); }
.pdp-head__meta span { display: inline-flex; align-items: center; gap: 6px; }
.pdp-head__meta strong { color: var(--text); }
.pdp-head__meta .ico { width: 15px; height: 15px; }
.pdp { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: 28px; padding-top: 24px; align-items: start; }
.gallery__main { position: relative; display: grid; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.gallery__slide { grid-area: 1 / 1; display: block; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; cursor: zoom-in; }
.gallery__slide.is-active { opacity: 1; visibility: visible; }
.gallery__slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery__zoom { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--border); color: var(--text-2); pointer-events: none; }
.gallery__zoom .ico { width: 18px; height: 18px; }
.gallery__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 1px solid var(--border); border-radius: var(--r-sm); background: #fff; color: var(--text); opacity: 0; transition: opacity .15s; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__main:hover .gallery__nav { opacity: 1; }
.gallery__nav:hover { color: var(--navy); border-color: var(--navy); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumb { flex: 0 0 80px; height: 80px; padding: 4px; border: 1px solid var(--border); border-radius: var(--r-sm); background: #fff; }
.gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }

.buybox { padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--r); }
.buybox__price { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.buybox__now { font-size: 32px; font-weight: 800; line-height: 1.15; color: var(--navy); }
.buybox__now--quote { font-size: 26px; }
.buybox__old { font-size: 14px; color: var(--muted); }
.buybox__old em { font-style: normal; margin-left: 6px; padding: 1px 6px; border-radius: var(--r-sm); background: var(--red); color: #fff; font-weight: 700; font-size: 12.5px; }
.buybox__note { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.buybox__desc { margin-top: 14px; }
.buybox__promo { margin-top: 14px; padding: 12px 14px; border: 1px dashed var(--navy-100); border-radius: var(--r-sm); background: var(--navy-50); }
.buybox__promo > strong { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); margin-bottom: 4px; }
.buybox__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0 12px; }
.buybox__label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.buybox__actions { display: grid; gap: 10px; }
.buybox__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.buybox__contact a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--border); border-radius: var(--r-sm); min-width: 0; transition: border-color .15s; }
.buybox__contact a:hover { border-color: var(--navy); }
.buybox__contact a > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.buybox__contact small { font-size: 11.5px; color: var(--muted); }
.buybox__contact strong { font-size: 14.5px; color: var(--navy-900); white-space: nowrap; }
.buybox__cicon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; }
.buybox__cicon .ico { width: 18px; height: 18px; }
.buybox__cicon--call { background: var(--red-50); color: var(--red); }
.buybox__cicon--zalo { background: var(--zalo-50); color: var(--zalo); }
.buybox__cicon--zalo .ico { width: 22px; height: 22px; }
.assure { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.assure li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--r); font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.assure .ico { width: 24px; height: 24px; color: var(--green); }
.assure strong { display: block; font-size: 13.5px; color: var(--text); }
.assure a { color: var(--navy); }

.qty { display: inline-flex; align-items: stretch; height: 44px; border: 1px solid var(--border-2); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.qty button { width: 40px; padding: 0; border: 0; background: #f7f9fc; color: var(--text-2); display: grid; place-items: center; transition: background-color .15s, color .15s; }
.qty button:hover { background: var(--navy-50); color: var(--navy); }
.qty button .ico { width: 16px; height: 16px; }
.qty input { width: 58px; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-weight: 700; font-size: 15px; -moz-appearance: textfield; appearance: textfield; }
.qty input:focus { outline: 0; background: var(--navy-50); }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 36px; }
.qty--sm button { width: 32px; }
.qty--sm input { width: 44px; font-size: 14px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.share a, .share button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--border); border-radius: var(--r-sm); background: #fff; color: var(--text-2); transition: border-color .15s, color .15s; }
.share a:hover, .share button:hover { border-color: var(--navy); color: var(--navy); }
.share .ico { width: 16px; height: 16px; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.tags > .ico { color: var(--muted); }
.tags a { padding: 3px 10px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--border); font-size: 12.5px; color: var(--text-2); }
.tags a:hover { border-color: var(--navy); color: var(--navy); }

.pdp-more { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; padding-top: 24px; padding-bottom: 12px; }
.acc { background: #fff; border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 12px; }
.acc summary { display: flex; align-items: center; gap: 10px; padding: 16px 20px; font-size: 16px; font-weight: 700; color: var(--navy-900); cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary > .ico:first-child { color: var(--navy); width: 19px; height: 19px; }
.acc__caret { margin-left: auto; transition: transform .2s; color: var(--muted); }
.acc[open] .acc__caret { transform: rotate(180deg); }
.acc__body { padding: 0 20px 20px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; border: 1px solid var(--border); }
.specs th, .specs td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 32%; background: #f7f9fc; font-weight: 600; color: var(--text-2); }
.specs a { color: var(--navy); }
.specs a:hover { text-decoration: underline; }

[data-collapse].is-collapsed { max-height: 720px; overflow: hidden; position: relative; }
[data-collapse].is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.collapse-btn { display: flex; margin: 16px auto 0; }

.lightbox { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; background: rgba(2, 6, 23, .88); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 100%); max-height: calc(100vh - 48px); width: auto; border-radius: var(--r); background: #fff; }
.lightbox__close { position: absolute; top: 16px; right: 16px; color: #fff; background: rgba(255, 255, 255, .12); }
.lightbox__close:hover { background: rgba(255, 255, 255, .24); color: #fff; }

/* ---------- Nội dung soạn thảo ---------- */
.prose { font-size: 16px; line-height: 1.8; color: var(--text-2); overflow-wrap: break-word; }
.prose * { font-family: inherit !important; max-width: 100%; }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1em; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5 { color: var(--navy-900); font-weight: 700; line-height: 1.4; margin: 1.5em 0 .6em; }
.prose h1 { font-size: 1.6em; }
.prose h2 { font-size: 1.4em; }
.prose h3 { font-size: 1.2em; }
.prose h4 { font-size: 1.08em; }
.prose a { color: var(--navy-600); text-decoration: underline; text-underline-offset: 2px; }
.prose img { height: auto !important; border-radius: var(--r-sm); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose table { display: block; overflow-x: auto; width: 100% !important; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .94em; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 12px; vertical-align: top; }
.prose th { background: #f7f9fc; color: var(--text); }
.prose blockquote { margin: 1.2em 0; padding: 14px 20px; border-left: 4px solid var(--navy); background: var(--navy-50); }
.prose iframe { width: 100%; border: 0; border-radius: var(--r-sm); }
.prose iframe[src*="youtube"] { height: auto; aspect-ratio: 16 / 9; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.prose strong, .prose b { color: var(--text); }
.prose [style*="font-size:12px"], .prose [style*="font-size: 12px"], .prose [style*="font-size:13px"], .prose [style*="font-size: 13px"], .prose [style*="font-size:14px"], .prose [style*="font-size: 14px"], .prose [style*="font-size:15px"], .prose [style*="font-size: 15px"], .prose font[size="2"], .prose font[size="3"] { font-size: inherit !important; }
.prose--sm { font-size: 14.5px; line-height: 1.7; }
.prose--sm p { margin-bottom: .6em; }

/* ---------- Bài viết ---------- */
.article { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 32px 36px; }
.article__title { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.3; color: var(--navy-900); }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0 24px; padding-bottom: 18px; border-bottom: 1px solid var(--border); font-size: 13.5px; color: var(--muted); }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta .ico { width: 15px; height: 15px; }
.article__lead { margin: 0 0 24px; padding: 16px 20px; border-left: 4px solid var(--navy); background: var(--navy-50); font-size: 16.5px; font-weight: 500; line-height: 1.7; color: var(--text); }
.article__section { scroll-margin-top: var(--sticky-top); }
.article__foot { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); }
.article__foot .share { margin-top: 0; }
.toc { margin: 28px 0; padding: 18px 22px; border: 1px solid var(--border); border-radius: var(--r); background: #f7f9fc; }
.toc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.toc__head strong { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--navy-900); }
.toc__head .ico { color: var(--navy); }
.toc__toggle { padding: 4px 12px; border: 1px solid var(--border-2); border-radius: var(--r-sm); background: #fff; font-size: 13px; font-weight: 600; color: var(--text-2); }
.toc__list { margin: 14px 0 0; padding-left: 22px; }
.toc__list li { margin: 6px 0; }
.toc__list a { color: var(--navy); font-weight: 500; }
.toc__list a:hover { text-decoration: underline; }
.toc__list ol { margin: 6px 0 0; padding-left: 20px; }
.toc__list ol a { font-weight: 400; color: var(--text-2); }
.toc.is-closed .toc__list { display: none; }

/* ---------- Catalogue ---------- */
.cata-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cata { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.cata:hover { border-color: var(--navy-100); box-shadow: var(--shadow); }
.cata__media { position: relative; display: block; aspect-ratio: 7 / 5; overflow: hidden; background: #e9eef6; }
.cata__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cata__ext { position: absolute; top: 10px; right: 10px; padding: 2px 8px; border-radius: var(--r-sm); background: var(--navy-900); color: #fff; font-size: 11.5px; font-weight: 700; }
.cata__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 16px 16px; }
.cata__title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cata .btn { margin-top: auto; }

/* ---------- Liên hệ & biểu mẫu ---------- */
.contact__quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.quick-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--r); min-width: 0; transition: border-color .15s; }
a.quick-card:hover { border-color: var(--navy); }
.quick-card small { display: block; font-size: 12px; color: var(--muted); }
.quick-card strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; color: var(--navy-900); }
.quick-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; background: var(--navy-50); color: var(--navy); }
.quick-card__icon .ico { width: 20px; height: 20px; }
.quick-card__icon--accent { background: var(--red-50); color: var(--red); }
.quick-card__icon--zalo { background: var(--zalo-50); color: var(--zalo); }
.quick-card__icon--zalo .ico { width: 24px; height: 24px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: start; }
.map { margin-top: 20px; padding: 0; overflow: hidden; }
.map iframe { display: block; width: 100% !important; height: 420px !important; border: 0; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.req { color: var(--red); }
.input { display: block; width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--border-2); border-radius: var(--r-sm); background: #fff; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.input::placeholder { color: #9aa4b2; }
.input:hover { border-color: #b4bfcd; }
.input:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-100); }
textarea.input { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
select.input { -webkit-appearance: none; appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }
.was-validated .input:invalid { border-color: var(--red); }
.was-validated .input:invalid:focus { box-shadow: 0 0 0 3px var(--red-50); }
.captcha { display: flex; align-items: center; gap: 10px; }
.captcha .input { max-width: 180px; }
.captcha__img { height: 46px; width: auto; border-radius: var(--r-sm); border: 1px solid var(--border); background: #fff; }
.file-input { position: relative; display: flex !important; align-items: center; gap: 10px; height: 50px; margin: 0 !important; padding: 0 16px; border: 1px dashed var(--border-2); border-radius: var(--r-sm); color: var(--muted); font-weight: 500 !important; cursor: pointer; transition: border-color .15s, color .15s, background-color .15s; }
.file-input:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-50); }
.file-input input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.checklist .ico { color: var(--green); margin-top: 3px; }
.checklist a { color: var(--navy); }
.checklist a:hover { text-decoration: underline; }

/* ---------- Giỏ hàng & thanh toán ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.cart__items { padding-top: 8px; padding-bottom: 20px; }
.cart-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto 120px 40px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-row__img { display: block; border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.cart-row__img img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.cart-row__name { font-weight: 600; font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-row__name:hover { color: var(--navy); text-decoration: underline; }
.cart-row__price { margin-top: 4px; font-size: 14px; color: var(--muted); }
.cart-row__total { text-align: right; font-weight: 700; }
.cart-row__remove:hover { background: var(--red-50); color: var(--red); }
.cart-row.is-removing { opacity: .4; pointer-events: none; transition: opacity .2s; }
.cart__back { margin-top: 18px; }
.cart__summary { position: sticky; top: var(--sticky-top); }
.cart__summary .btn + .btn { margin-top: 10px; }
.summary { margin: 0 0 16px; }
.summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14.5px; color: var(--text-2); }
.summary dd { margin: 0; font-weight: 600; color: var(--text); text-align: right; }
.summary__total { margin-top: 6px; padding-top: 14px !important; border-top: 1px solid var(--border); font-size: 16px !important; font-weight: 700; color: var(--text) !important; }
.summary__total dd { font-size: 22px; font-weight: 800; color: var(--navy); }
.note { display: flex; gap: 8px; margin: 0 0 16px; padding: 10px 12px; border-radius: var(--r-sm); background: #fff8e6; color: #8a5a00; font-size: 13px; line-height: 1.5; }
.note .ico { margin-top: 2px; }

.steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; align-items: center; }
.steps li { display: flex; align-items: center; gap: 10px; flex: 1; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.steps li:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin: 0 14px; background: var(--border); }
.steps li:last-child { flex: 0 0 auto; }
.steps span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border-2); background: #fff; font-size: 13.5px; flex-shrink: 0; }
.steps .ico { width: 15px; height: 15px; }
.steps .is-done { color: var(--green); }
.steps .is-done span { background: var(--green); border-color: var(--green); color: #fff; }
.steps .is-done::after { background: var(--green) !important; }
.steps .is-active { color: var(--text); }
.steps .is-active span { background: var(--navy); border-color: var(--navy); color: #fff; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 20px; align-items: start; }
.checkout__main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pay-options { display: grid; gap: 12px; }
.pay-option { position: relative; display: block; cursor: pointer; }
.pay-option input { position: absolute; opacity: 0; }
.pay-option__box { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 14px 48px; border: 1px solid var(--border-2); border-radius: var(--r-sm); transition: border-color .15s, background-color .15s; }
.pay-option__box::before { content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border-2); background: #fff; transition: border .15s; }
.pay-option input:checked + .pay-option__box { border-color: var(--navy); background: var(--navy-50); box-shadow: inset 0 0 0 1px var(--navy); }
.pay-option input:checked + .pay-option__box::before { border: 6px solid var(--navy); }
.pay-option input:focus-visible + .pay-option__box { box-shadow: 0 0 0 3px var(--navy-100); }
.pay-option__desc { display: none; color: var(--muted); }
.pay-option input:checked + .pay-option__box .pay-option__desc { display: block; }
.order-items { list-style: none; margin: 0 0 12px; padding: 0; max-height: 360px; overflow-y: auto; }
.order-items li { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.order-items__img { position: relative; display: block; }
.order-items__img img { display: block; width: 60px; height: 60px; object-fit: contain; border: 1px solid var(--border); border-radius: var(--r-sm); background: #fff; }
.order-items__img em { position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--navy-900); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.order-items__name { font-size: 13.5px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.order-items__price { font-size: 14px; font-weight: 600; white-space: nowrap; }
.checkout__aside .cart__summary .muted { margin: 12px 0 0; }
.checkout__aside a:not(.link-more):not(.btn) { color: var(--navy); }

/* ---------- Hiệu ứng ---------- */
@keyframes bump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1279px) {
	.header__inner { gap: 20px; }
	.hact { padding: 8px; }
	.hact--quote { display: none; }
	.catnav__link { font-size: 13px; padding: 0 8px; }
	.catmenu__toggle span { display: none; }
	.product-grid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.product-grid--5 > :nth-child(n+5) { display: none; }
	.benefits__item:nth-child(5) { display: none; }
	.brand-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cata-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.news-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.news-grid--4 > :nth-child(4) { display: none; }
	.footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
	.footer__grid > :last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.4fr; gap: 0 32px; }
	.footer__grid > :last-child .footer__title { grid-column: 1 / -1; }
	.footer__grid > :last-child .footer__map { margin-top: 0; }
	.helpbar__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.helpbar__intro { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
	:root { --sticky-top: 124px; }
	.topbar, .catnav { display: none; }
	.header__inner { flex-wrap: wrap; height: auto; gap: 0 4px; padding-top: 8px; padding-bottom: 10px; }
	.header__burger { display: inline-grid; margin-left: -8px; }
	.brand { gap: 8px; min-width: 0; flex: 1; }
	.brand__mark { height: 36px; }
	.brand__logo { height: 21px; }
	.header__actions { gap: 0; }
	.hact { padding: 6px 8px; }
	.hact > span:not(.hact__icon) { display: none; }
	.hact--phone > .ico { width: 24px; height: 24px; }
	.search { order: 3; flex: 1 0 100%; max-width: none; height: 44px; margin-top: 8px; }
	.search__select { display: none; }
	.benefits__inner { overflow-x: auto; scrollbar-width: none; gap: 24px; justify-content: flex-start; }
	.benefits__inner::-webkit-scrollbar { display: none; }
	.benefits__item { flex-shrink: 0; }
	.benefits__item:nth-child(5) { display: flex; }

	.hero-grid { grid-template-columns: minmax(0, 1fr); }
	.hero-main { min-height: 380px; }
	.hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
	.hero-tile--photo { min-height: 220px; }
	.cat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-grid--4, .product-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.product-grid--5 > :nth-child(n+4) { display: none; }
	.service { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 20px; }
	.service__media { height: 320px; }
	.brand-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.news-grid, .news-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.news-grid--4 > :nth-child(4) { display: flex; }

	.layout-sidebar, .layout-sidebar--right { grid-template-columns: minmax(0, 1fr); }
	.layout-sidebar > .sidebar:first-child { order: 2; }
	.side-card--cats { display: none; }
	.chips.list-chips { display: flex; }
	.pdp { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.gallery__nav { opacity: 1; }
	.pdp-more { grid-template-columns: minmax(0, 1fr); }
	.cart, .checkout { grid-template-columns: minmax(0, 1fr); }
	.cart__summary { position: static; }
	.contact__quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact__grid { grid-template-columns: minmax(0, 1fr); }
	.cata-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.footer__about { grid-column: 1 / -1; }

	.fab { display: none; }
	.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: calc(60px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 18px -14px rgba(15, 23, 42, .4); }
	.mbar > a, .mbar > button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 60px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600; }
	.mbar .ico { width: 22px; height: 22px; }
	.mbar .is-active { color: var(--navy); }
	.mbar__call { color: var(--red) !important; }
	.mbar__call-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-top: -24px; border-radius: 50%; background: var(--red); color: #fff; border: 4px solid #fff; box-shadow: 0 6px 14px -6px rgba(215, 38, 30, .6); }
	.mbar__call-icon .ico { width: 22px; height: 22px; }
	.mbar__count { position: absolute; top: 6px; left: 50%; margin-left: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
	body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
	.toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (max-width: 767px) {
	body { font-size: 14.5px; }
	.section { padding-top: 32px; padding-bottom: 32px; }
	.section--tight-top { padding-top: 4px; }
	.section--tight { padding-top: 18px; padding-bottom: 36px; }
	.section__head { margin-bottom: 14px; }
	.section__head--line { display: block; }
	.section__head--line .link-more { position: absolute; right: 0; top: 2px; }
	.section__head-main { flex-direction: column; align-items: flex-start; gap: 8px; padding-right: 110px; }
	.tabs-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: calc(100vw - 32px); margin-right: -110px; }
	.tabs-chips::-webkit-scrollbar { display: none; }
	.tabs-chips a { white-space: nowrap; }
	.layout-sidebar { padding-top: 14px; padding-bottom: 36px; gap: 18px; }

	.home-hero { padding-top: 12px; }
	.hero-main { min-height: 0; }
	.hero-main::after { background: linear-gradient(180deg, rgba(6, 31, 74, .74) 0%, rgba(6, 31, 74, .95) 100%); }
	.hero-main__content { padding: 26px 20px; }
	.hero-main__actions .btn { flex: 1 1 auto; }
	.hero-side { grid-template-columns: minmax(0, 1fr); }
	.hero-tile--photo { min-height: 180px; }
	.cat-cards { gap: 10px; }
	.cat-card { padding: 12px; }
	.cat-card__top { flex-direction: column; align-items: flex-start; gap: 10px; }
	.cat-card__img { width: 100%; height: 96px; }
	.cat-card__text strong { font-size: 14.5px; }
	.cat-card__subs { display: none; }
	.cat-card__all { margin-top: 8px; }
	.product-grid { gap: 10px; }
	.product-grid--4, .product-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-grid--5 > :nth-child(n+4) { display: flex; }
	.product-grid--5 > :nth-child(n+5) { display: none; }
	.pcard__media { padding: 6px; }
	.pcard__body { padding: 2px 10px 10px; }
	.pcard__title { font-size: 13.5px; }
	.pcard__now { font-size: 16px; }
	.pcard__now--quote { font-size: 14px; }
	.pcard__note { display: none; }
	.pcard__price { margin: 6px 0 10px; }
	.pcard__btn { height: 38px; font-size: 13px; gap: 6px; }
	.service__media { height: 240px; }
	.brand-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.brand-wall__item { height: 72px; }
	.news-grid, .news-grid--4 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.helpbar__inner { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 20px; padding-bottom: 20px; }
	.footer__grid { grid-template-columns: minmax(0, 1fr); padding-top: 36px; gap: 26px; }
	.footer__grid > :last-child { display: block; }
	.footer__grid > :last-child .footer__map { margin-top: 16px; }
	.footer__bottom-inner { flex-direction: column; align-items: flex-start; }

	.page-head { padding-bottom: 16px; }
	.page-head__sub { font-size: 13.5px; }
	.breadcrumb li[aria-current] { max-width: 24ch; }
	.subtiles { display: flex; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
	.subtiles::-webkit-scrollbar { display: none; }
	.subtile { flex: 0 0 112px; }
	.list-toolbar__quote { display: none; }

	.card { padding: 18px; }
	.article { padding: 20px 18px; }
	.prose { font-size: 15.5px; }
	.pdp-head__title { font-size: 21px; }
	.gallery__main { aspect-ratio: 1 / 1; }
	.buybox { padding: 16px; }
	.buybox__now { font-size: 26px; }
	.buybox__now--quote { font-size: 22px; }
	.buybox__contact { grid-template-columns: minmax(0, 1fr); }
	.assure li { padding: 10px 6px; font-size: 12px; }
	.assure strong { font-size: 12.5px; }
	.acc summary { padding: 14px 16px; font-size: 15px; }
	.acc__body { padding: 0 16px 16px; }
	.specs th { width: 40%; }
	.form-grid { grid-template-columns: minmax(0, 1fr); }
	.form__actions .btn--action { flex: 1 1 auto; }
	.contact__quick { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.map iframe { height: 300px !important; }
	.cata-grid { gap: 10px; }
	.cata__body { padding: 12px; }
	.cata__title { font-size: 14px; }
	.cata .btn { width: 100%; }

	.cart-row { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img info del" "img qty total"; gap: 8px 12px; }
	.cart-row__img { grid-area: img; align-self: start; }
	.cart-row__info { grid-area: info; }
	.cart-row .qty { grid-area: qty; justify-self: start; }
	.cart-row__total { grid-area: total; justify-self: end; align-self: center; white-space: nowrap; }
	.cart-row__remove { grid-area: del; align-self: start; justify-self: end; }
	.steps li { font-size: 12.5px; gap: 6px; }
	.steps li:not(:last-child)::after { margin: 0 8px; }
	.steps span { width: 28px; height: 28px; font-size: 13px; }
}

@media (max-width: 420px) {
	.brand__mark { display: none; }
	.brand__logo { height: 19px; }
	.steps li:not(.is-active) { font-size: 0; gap: 0; }
}

@media print {
	.topbar, .header, .benefits, .fab, .mbar, .helpbar, .footer, .sidebar, .share { display: none !important; }
	body { background: #fff; padding: 0; }
}
