/* Sơn Bê Tông Arena 2.0 — tệp này sinh từ Theme-src/css/*.css bằng build_assets.py; ĐỪNG sửa tay. */

/* ==========================================================================
   Sơn Bê Tông Arena — theme 2.0 (không Elementor)
   00 · Biến, reset, kiểu chữ, khung
   ========================================================================== */

:root {
	--primary: #2c2b7d;
	--secondary: #36383a;
	--text: #282743;
	--accent: #f69220;
	--white: #fff;
	--bg: #f7f7f7;
	--tint: #f1f8ff;
	--danger: #f64a20;
	--muted: #777;
	--line: #e6e6ef;
	--radius: 16px;
	--wrap: 1240px;
	--header-h: 95px;
	--font: "Be Vietnam Pro", sans-serif;
	--font-menu: "Roboto", sans-serif;
	--shadow-card: 0 0 10px rgba(0, 0, 0, .13);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--font); font-weight: 600; line-height: 1.2; color: var(--primary); }
p { margin: 0 0 .9em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover, a:focus-visible { color: var(--accent); }
img, svg, video { max-width: 100%; }
img { height: auto; border: 0; vertical-align: middle; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; margin: 0; padding: 12px 18px;
	clip: auto; background: var(--white); color: var(--primary); font-weight: 600; border-radius: 6px; box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

[hidden] { display: none !important; }
.sb-main { display: block; }
.sb-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 10px; }
.sb-section { padding: 60px 20px; }
.sb-section--tint { background: var(--tint); }
.sb-center { text-align: center; }

/* Tiêu đề khối: chữ giữa + vạch cam */
.sb-title { margin: 0; padding: 10px 0; font-size: 32px; line-height: 32px; text-align: center; color: var(--primary); }
.sb-title::after { content: ""; display: block; width: 158.6px; height: 3px; margin: 15px auto 15px; background: var(--accent); }

/* Tiêu đề trên nền ảnh: gạch cam bên trái */
.sb-bar-title {
	display: block; margin: 0; padding: 0 0 0 8px; font-size: 32px; line-height: 32px; font-weight: 600; color: var(--white);
	border-left: 4px solid var(--accent); border-radius: 4px;
}

/* Nút */
.sb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 12px 24px; border: 0; border-radius: 3px; background: var(--accent); color: var(--primary);
	font-size: 15px; font-weight: 500; line-height: 15px; text-align: center; cursor: pointer; transition: background-color .2s, color .2s;
}
.sb-btn:hover, .sb-btn:focus-visible { background: var(--primary); color: var(--white); }
.sb-btn__icon { width: 1em; height: 1em; fill: currentColor; }
.sb-btn--block { display: flex; width: 100%; }
.sb-btn--dark { background: var(--text); color: var(--white); }
.sb-btn--dark:hover, .sb-btn--dark:focus-visible { background: var(--primary); color: var(--white); }

/* Icon nội tuyến */
.sb-icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: middle; }

/* Ảnh nền xoay vòng (JS bật .is-on) */
.sb-bgshow { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.sb-bgshow__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease, transform 0s 1s; }
.sb-bgshow__img.is-on { opacity: 1; transition: opacity 1s ease, transform 20s linear; }
/* Ken Burns: out = bắt đầu phóng to rồi thu về; in = ngược lại */
.sb-bgshow--out .sb-bgshow__img { transform: scale(1.3); }
.sb-bgshow--out .sb-bgshow__img.is-on { transform: scale(1); }
.sb-bgshow--in .sb-bgshow__img.is-on { transform: scale(1.3); }
@media (prefers-reduced-motion: reduce) { .sb-bgshow--out .sb-bgshow__img, .sb-bgshow--out .sb-bgshow__img.is-on, .sb-bgshow--in .sb-bgshow__img.is-on { transform: none; } }

/* ==========================================================================
   10 · Header, menu, footer
   ========================================================================== */

/* ---- Header cố định ---- */
.sb-header {
	position: fixed; top: 0; left: 0; z-index: 999; width: 100%;
	background: rgba(255, 255, 255, .65);
	-webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
	border-bottom: 1px solid rgba(255, 255, 255, .58);
	border-radius: 0 0 16px 16px;
	box-shadow: 0 0 10px rgba(197, 197, 197, .5);
	transition: transform .4s ease, background-color .4s ease;
}
.sb-header.is-hidden { transform: translateY(-100%); }
.sb-header.is-visible { transform: translateY(0); background: #ffffffcc; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.admin-bar .sb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sb-header { top: 46px; } }

.sb-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	width: 100%; max-width: var(--wrap); min-height: var(--header-h); margin-inline: auto; padding: 10px;
}
.sb-logo { display: block; flex: none; line-height: 0; }
.sb-logo__img { display: block; width: 166px; height: auto; transition: opacity .4s; }
.sb-logo:hover .sb-logo__img { opacity: .91; }

/* ---- Menu chính (desktop) ---- */
.sb-nav { flex: 0 1 auto; }
.sb-nav__list { display: flex; flex-wrap: wrap; justify-content: flex-end; margin: 0; padding: 0; list-style: none; }
.sb-nav__list li { position: relative; margin: 0; }
.sb-nav__list a {
	display: flex; align-items: center; padding: 13px 7px;
	font-family: var(--font-menu); font-size: 16px; font-weight: 600; line-height: 20px; color: var(--primary);
}
.sb-nav__list a:hover, .sb-nav__list a:focus-visible { color: var(--text); }
.sb-nav__list .current-menu-item > a,
.sb-nav__list .current-menu-ancestor > a,
.sb-nav__list .current_page_item > a { color: var(--accent); }
.sb-nav__list .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 5; min-width: 220px; margin: 0; padding: 6px 0; list-style: none;
	background: var(--primary); border-radius: 12px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.sb-nav__list li:hover > .sub-menu, .sb-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sb-nav__list .sub-menu a { padding: 10px 16px; font-family: var(--font); font-weight: 500; color: var(--white); }
.sb-nav__list .sub-menu a:hover { color: var(--accent); }

/* ---- Nút menu di động ---- */
.sb-menu-toggle {
	display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: 100px; background: var(--primary); color: var(--white); font-size: 28px; line-height: 1;
}
.sb-menu-toggle:hover, .sb-menu-toggle:focus-visible { color: var(--accent); }
.sb-menu-toggle__close { display: none; }
.sb-menu-toggle[aria-expanded="true"] .sb-menu-toggle__open { display: none; }
.sb-menu-toggle[aria-expanded="true"] .sb-menu-toggle__close { display: inline-block; }

/* ---- Footer ---- */
.sb-footer { color: #cad2da; background: #051024; }
.sb-footer__stripe {
	height: 8px;
	background: linear-gradient(90deg, #00ff44 0%, #f1e021 11%, #ffa200 23%, #ff4d00 37%, #f00 51%, #fa0588 64%, #c0f 77%, #414cc4 90%, #00aeff 100%);
	background-size: 200% 100%; animation: sb-stripe 5s ease infinite;
}
@keyframes sb-stripe { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }

.sb-footer__main { padding: 50px 20px; }
.sb-footer__grid { display: flex; flex-wrap: wrap; max-width: var(--wrap); margin-inline: auto; }
.sb-footer__col { flex: 0 0 25%; max-width: 25%; padding: 10px; }
.sb-footer__logo { display: block; width: 194px; margin: 0 0 30px; line-height: 0; }
.sb-footer__logo-img { width: 194px; height: auto; }
.sb-footer__title { margin: 0 0 16px; font-size: 18px; line-height: 18px; font-weight: 600; color: var(--accent); }
.sb-footer__title--sm { font-family: var(--font-menu); font-size: 16px; line-height: 16px; }
.sb-footer__menu { margin: 0; padding: 0; list-style: none; }
.sb-footer__menu a { display: block; padding: 7px 0; font-size: 16px; font-weight: 500; line-height: 20px; color: #f4f3ff; }
.sb-footer__menu a:hover, .sb-footer__menu .current-menu-item > a { color: var(--accent); }

.sb-contact-list { margin: 0; padding: 0; list-style: none; }
.sb-contact-list li { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 0 0 7px; font-size: 14px; font-weight: 400; line-height: 1.5; color: #cad2da; }
.sb-contact-list li:last-child { padding-bottom: 0; }
.sb-contact-list li + li { margin-top: 0; }
.sb-contact-list__icon { width: 14px; height: 14px; margin-top: 4px; color: var(--accent); }
.sb-contact-list strong { font-weight: 700; }

.sb-social { display: flex; gap: 9px; }
.sb-social__btn { display: inline-flex; align-items: center; justify-content: center; width: 44.8px; height: 44.8px; padding: 6.4px; border-radius: 10%; line-height: 0; color: var(--white); }
.sb-social__btn--facebook { background: #3b5998; }
.sb-social__btn--zalo { background: #4592da; }
.sb-social__btn svg, .sb-social__btn img { width: 32px; height: 32px; }
.sb-social__btn:hover { opacity: .85; color: var(--white); }

.sb-footer__copy { padding: 16px; text-align: center; background: #000; }
.sb-footer__copy p { margin: 0; font-size: 14px; font-weight: 400; line-height: 14px; color: #f1f1ff; }

/* ---- Trang con: chừa chỗ dưới header cố định ---- */
.sb-spacer { height: var(--header-h); }

/* ==========================================================================
   20 · Slider (JS: assets/js/main.js — [data-sb-slider])
   ========================================================================== */

.sb-slider { position: relative; }
.sb-slider__viewport { overflow: hidden; }
.sb-slider__track { display: flex; transition: transform .6s cubic-bezier(.22, .61, .36, 1); will-change: transform; touch-action: pan-y; }
.sb-slider__slide { flex: 0 0 100%; min-width: 0; }
.sb-slider.is-dragging .sb-slider__track { transition: none; cursor: grabbing; }

.sb-slider__dots { display: flex; justify-content: center; align-items: center; margin-top: 10px; line-height: 0; }
.sb-slider__dot { width: 6px; height: 6px; margin: 0 6px; padding: 0; border: 0; border-radius: 50%; background: #000; opacity: .2; transition: opacity .2s; }
.sb-slider__dot.is-active { opacity: 1; }
.sb-slider__dot:hover { opacity: .6; }

.sb-slider__nav {
	position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 25px; height: 25px; margin-top: -12px; padding: 0;
	border: 0; background: none; color: rgba(237, 237, 237, .9); font-size: 25px; line-height: 1; cursor: pointer;
}
.sb-slider__nav--prev { left: 10px; }
.sb-slider__nav--next { right: 10px; }
.sb-slider__nav:hover, .sb-slider__nav:focus-visible { color: #fff; }

@media (prefers-reduced-motion: reduce) {
	.sb-slider__track, .sb-bgshow__img, .sb-header { transition: none; }
	.sb-footer__stripe { animation: none; }
	html { scroll-behavior: auto; }
}

/* ==========================================================================
   30 · Trang chủ
   ========================================================================== */

/* ---- Banner ---- */
.sb-hero { position: relative; height: 620px; background: #fff; }
.sb-hero .sb-slider__viewport, .sb-hero .sb-slider__track, .sb-hero__slide { height: 100%; }
.sb-hero__slide { position: relative; overflow: hidden; }
.sb-hero__link { display: block; height: 100%; }
.sb-hero__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sb-hero .sb-slider__dots { position: absolute; left: 0; right: 0; bottom: 5px; z-index: 3; margin: 0; height: 24px; }

/* ---- Thẻ kính mờ có biểu tượng ---- */
.sb-glass {
	display: flex; flex-direction: column; justify-content: center; gap: 16px; flex: none; width: 250px; min-height: 124px; padding: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, .28); border-top: 1px solid rgba(255, 255, 255, .28); border-radius: 16px;
	background: rgba(0, 0, 0, .24); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: var(--white);
	transition: background-color .3s, border-color .3s;
}
.sb-glass:hover { color: var(--white); border-color: rgba(255, 255, 255, .58); }
.sb-glass--xanh:hover { background: rgba(0, 39, 192, .4); }
.sb-glass--cam:hover { background: rgba(209, 96, 0, .4); }
.sb-glass--do:hover { background: rgba(255, 0, 0, .4); }
.sb-glass--blue:hover { background: rgba(0, 57, 247, .4); }
.sb-glass__icon { display: block; width: 50px; height: 50px; object-fit: contain; }
.sb-glass__label { display: block; font-size: 18px; font-weight: 600; line-height: 1; color: var(--white); }

/* ---- Giới thiệu ---- */
.sb-intro { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 666px; padding: 40px 20px; overflow: hidden; background: #1c2c42; }
.sb-intro__shade { position: absolute; inset: 0; z-index: 1; opacity: .73; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 99%); }
.sb-intro__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: var(--wrap); margin-inline: auto; color: var(--white); }
.sb-intro__head { display: flex; flex-direction: column; gap: 16px; padding: 10px; }
.sb-intro__text { color: var(--white); }
.sb-intro__text p { margin: 0 0 14.4px; }
.sb-intro__cards { display: flex; flex-wrap: wrap; gap: 16px; padding: 10px; }

/* ---- Dải "Sản phẩm" ---- */
.sb-band { display: flex; min-height: 719px; }
.sb-band__left, .sb-band__right { position: relative; display: flex; background-color: #0052b1; background-image: var(--sb-bg, none); background-size: cover; }
.sb-band__left { flex: 0 0 33.333%; align-items: center; justify-content: center; padding: 10px; background-position: center right; }
.sb-band__left::before { content: ""; position: absolute; inset: 0; background: #0052b1; opacity: .69; }
.sb-band__left > * { position: relative; }
.sb-band__right { flex: 1 1 66.667%; align-items: flex-end; justify-content: flex-start; padding: 0 20px 40px; background-position: bottom center; }
.sb-band__right::before { content: ""; position: absolute; inset: 0; opacity: .75; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%); }
.sb-band__cards { position: relative; display: flex; flex-wrap: wrap; gap: 16px; }

/* ---- Lưới danh mục ---- */
.sb-cats { background: var(--white); }
.sb-cats > .sb-wrap { max-width: var(--wrap); }
.sb-cats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; padding: 10px 0; }
.sb-tile {
	position: relative; display: flex; align-items: flex-end; min-height: 340px; padding: 24px; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .28);
	border-radius: 16px; background: #555; color: var(--white);
}
.sb-tile::after { content: ""; position: absolute; inset: 0; opacity: .6; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%); transition: opacity .3s; }
.sb-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sb-tile__name { position: relative; z-index: 1; font-size: 24px; font-weight: 600; line-height: 1; color: var(--white); }
.sb-tile:hover { color: var(--white); }
.sb-tile:hover .sb-tile__img { transform: scale(1.04); }

/* ---- Dự án nổi bật ---- */
.sb-projects .sb-slider { margin: 46px -10px 0; }
.sb-projects .sb-slider__slide { padding: 10px; }
.sb-card-da {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; height: 280px; padding: 16px 16px 10px; overflow: hidden;
	border-radius: 15px; background: #444; color: var(--white);
}
.sb-card-da__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-card-da::after { content: ""; position: absolute; inset: 0; opacity: .74; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%); transition: opacity .3s; }
.sb-card-da:hover { color: var(--white); }
.sb-card-da:hover::after { opacity: .6; }
.sb-card-da__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.sb-card-da__title { font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--white); }
.sb-card-da__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; font-weight: 400; line-height: 20px; color: var(--white); }
.sb-projects .sb-center { margin: 36px 0 0; }

/* ---- Tin tức ---- */
.sb-news__grid { margin-top: -10px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 0 0 10px; margin-bottom: 30px; align-items: start; }
.sb-news__side { display: grid; gap: 35px; }

/* Thẻ bài tin tức */
.sb-post { display: flex; overflow: hidden; }
.sb-post--lon { flex-direction: column; }
.sb-post--ngang { flex-direction: row; }
.sb-post__thumb { position: relative; display: block; flex: none; overflow: hidden; border-radius: 16px; background: #eee; }
.sb-post--lon .sb-post__thumb { width: 100%; aspect-ratio: 595 / 392.69; margin-bottom: 16px; }
.sb-post--ngang .sb-post__thumb { width: 35%; aspect-ratio: 208.25 / 168.78; margin-right: 16px; }
.sb-post__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-post__text { flex: 1; min-width: 0; }
.sb-post__title { margin: 0; font-size: 18px; line-height: 1.2; font-weight: 600; color: var(--secondary); }
.sb-post__title a { color: var(--secondary); }
.sb-post__title a:hover { color: var(--accent); }
.sb-post__meta { margin: 0 0 13px; font-size: 12px; line-height: 1.3; color: #adadad; }
.sb-post__excerpt { margin: 0 0 10px; font-size: 14px; line-height: 21px; color: var(--muted); }
.sb-post__more { font-size: 12px; font-weight: 500; line-height: 18px; color: var(--accent); }
.sb-post__more:hover { color: var(--primary); }

/* ==========================================================================
   40 · Trang trong: thanh tiêu đề, thẻ, lưu trữ, bài viết, liên hệ, form
   ========================================================================== */

body.sb-bg-grey { background: var(--bg); }

/* ---- Thanh tiêu đề (có ảnh nền xoay vòng) ---- */
.sb-pagehead {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 246px; margin: 0 0 32px; padding: 0 25px; overflow: hidden; border-radius: 16px; background: #3a3a7a;
}
.sb-pagehead__inner { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 0 0 25px; }
.sb-pagehead__title {
	margin: 0 0 16px; font-size: 50px; font-weight: 800; line-height: 50px; text-transform: uppercase; color: var(--white);
}
.sb-pagehead .sb-bc { color: var(--white); }
.sb-pagehead .sb-bc a { color: var(--accent); font-weight: 600; }
.sb-pagehead .sb-bc a:hover { color: var(--white); }

/* ---- Breadcrumb ---- */
.sb-bc { font-size: 16px; font-weight: 400; line-height: 24px; color: #686b6d; }
.sb-bc a { color: var(--accent); font-weight: 600; }
.sb-bc a:hover { color: var(--primary); }
.sb-bc__sep { margin: 0 5px; color: #c5c5c5; }
.sb-pagehead .sb-bc__sep { color: var(--white); }

.sb-crumbbar { padding: 108px 0 15px; background: var(--white); box-shadow: 0 0 10px rgba(0, 0, 0, .12); }
.sb-crumbbar .sb-wrap { padding-inline: 0; }
.sb-crumbbar { padding-inline: 20px; }

/* ---- Khối nội dung chung ---- */
.sb-section--flush { padding: 10px 10px; }
.sb-section--flush > .sb-wrap { padding-inline: 0; }
.sb-section--white { background: var(--white); }
.sb-box { background: var(--white); border-radius: 8px; }
.sb-box--content { padding: 24px; }
.sb-box--center { padding: 40px 24px; text-align: center; }
.sb-box__title, .sb-side-title {
	margin: 0 0 8px; padding: 4px 0 4px 6px; font-size: 20px; line-height: 20px; font-weight: 600; color: var(--text);
	border-left: 3px solid var(--accent);
}
.sb-box__title { margin-bottom: 16px; }
.sb-empty { margin: 0; padding: 24px; text-align: center; color: var(--muted); }
.sb-hr { height: 1px; margin: 16px 0; border: 0; background: #dbdbdb; }

/* Nội dung soạn trong trình soạn thảo */
.sb-entry { font-size: 16px; line-height: 24px; color: var(--text); }
.sb-entry > * + * { margin-top: 16px; }
.sb-entry img { border-radius: 8px; }
.sb-entry p { margin: 0 0 14.4px; }
.sb-entry h2 { margin: 8px 0 16px; font-size: 32px; line-height: 1.2; color: var(--primary); }
.sb-entry h3 { margin: 8px 0 16px; font-size: 24px; line-height: 1.25; color: var(--primary); }
.sb-entry h4 { margin: 8px 0 12px; font-size: 20px; line-height: 1.3; color: var(--primary); }
.sb-entry ul, .sb-entry ol { margin: 0 0 14.4px; padding-left: 24px; }
.sb-entry li { margin: 0 0 4px; }
.sb-entry a { color: var(--accent); text-decoration: underline; }
.sb-entry blockquote { margin: 0 40px 14.4px; padding: 0; border: 0; background: none; color: inherit; }
.sb-entry figure { margin: 0 0 16px; }
.sb-entry figcaption, .sb-entry .wp-caption-text { margin-top: 6px; font-size: 14px; line-height: 22.4px; font-style: italic; color: #333; }
.sb-entry table { width: 100%; border-collapse: collapse; }
.sb-entry th, .sb-entry td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
.sb-entry .alignleft { float: left; margin: 0 16px 8px 0; }
.sb-entry .alignright { float: right; margin: 0 0 8px 16px; }
.sb-entry .aligncenter { display: block; margin-inline: auto; }
.sb-entry::after { content: ""; display: block; clear: both; }
.sb-entry iframe, .sb-entry video { max-width: 100%; }

/* ---- Bố cục 2 cột (nội dung + cột bên) ---- */
.sb-section--post, .sb-section--cat { padding: 0 20px 30px; }
.sb-layout { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0 10px; }
.sb-layout__main { flex: 0 0 calc(78% - 8px); min-width: 0; }
.sb-layout__side { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.sb-layout--post .sb-article { flex: 0 0 calc(69.1% - 8px); min-width: 0; }
.sb-layout--post .sb-layout__side { flex: 1 1 0; }
.sb-layout--shop { padding-top: 10px; }
.sb-layout--shop .sb-layout__main { order: 2; flex: 1 1 0; }
.sb-layout--shop .sb-layout__side { order: 1; flex: 0 0 269px; }

.sb-side-box { padding: 16px; }
.sb-side-box .sb-side-title { margin-bottom: 16px; }
.sb-mini-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 22px; }
.sb-mini { display: flex; gap: 8px; align-items: flex-start; }
.sb-mini__thumb { position: relative; display: block; flex: 0 0 29%; aspect-ratio: 68.8 / 53; overflow: hidden; border-radius: 8px; background: #eee; }
.sb-mini__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-mini__text { min-width: 0; }
.sb-mini__title { display: block; font-size: 14px; font-weight: 600; line-height: 16.8px; color: var(--secondary); }
.sb-mini__title:hover { color: var(--accent); }
.sb-mini__date { display: block; margin-top: 0; font-size: 12px; line-height: 15.6px; color: #adadad; }

/* ---- Lưới bài viết (tin tức, tìm kiếm, tác giả) ---- */
.sb-ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 16px; }
.sb-gcard { display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; background: var(--white); box-shadow: 0 0 10px rgba(0, 0, 0, .15); }
.sb-gcard__thumb { position: relative; display: block; aspect-ratio: 307.56 / 202.98; overflow: hidden; background: #eee; }
.sb-gcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-gcard__text { flex: 1; padding: 0 16px; }
.sb-gcard__title { margin: 16px 0 8px; font-size: 21px; font-weight: 600; line-height: 25.2px; color: var(--secondary); }
.sb-gcard__title a { color: var(--secondary); }
.sb-gcard__title a:hover { color: var(--accent); }
.sb-gcard__excerpt { margin: 0 0 8px; font-size: 14px; line-height: 21px; color: var(--muted); }
.sb-gcard__more { display: inline-block; margin: 0 0 20px; font-size: 12px; font-weight: 500; line-height: 18px; text-transform: uppercase; color: var(--accent); }
.sb-gcard__more:hover { color: var(--primary); }
.sb-gcard__date { display: block; padding: 10px 16px; border-top: 1px solid #ececec; font-size: 12px; line-height: 15.6px; color: #adadad; }

/* Lưới dự án 2 cột */
.sb-dgrid { display: grid; grid-template-columns: repeat(2, 1fr); }
.sb-dgrid__item { padding: 10px; }

/* Phân trang số */
.sb-pager { display: flex; justify-content: center; gap: 5px; margin-top: 16px; font-size: 14px; line-height: 20px; }
.sb-pager .page-numbers { display: inline-block; min-width: 20px; padding: 0 4px; text-align: center; color: var(--primary); }
.sb-pager .current { font-weight: 700; color: var(--text); }
.sb-pager a.page-numbers:hover { color: var(--accent); }

/* ---- Tiêu đề + chia sẻ ở trang bài viết / danh mục sản phẩm ---- */
.sb-posthead { padding: 20px 0 0; }
.sb-posthead__title { margin: 0; font-size: 40px; line-height: 40px; font-weight: 600; color: var(--primary); }
.sb-posthead__title--cat { padding: 20px 0 0; }
.sb-posthead__meta { display: flex; align-items: center; gap: 0; margin: 16px 0 16px; font-size: 14px; line-height: 21px; color: #949494; }
.sb-posthead__icon { width: 14px; height: 14px; margin-right: 5px; color: #949494; }
.sb-posthead .sb-layout { padding-top: 30px; }

.sb-share { display: flex; flex-wrap: wrap; gap: 16px; }
.sb-share__btn { display: inline-flex; align-items: center; justify-content: center; width: 33.75px; height: 33.75px; border-radius: 50%; color: var(--white); }
.sb-share__btn .sb-icon { width: 16.9px; height: 16.9px; }
.sb-share__btn:hover { color: var(--white); opacity: .85; }
.sb-share__btn--facebook { background: #3b5998; }
.sb-share__btn--telegram { background: #2ca5e0; }
.sb-share__btn--whatsapp { background: #25d366; }
.sb-share__btn--x-twitter { background: #000; }
.sb-share__btn--envelope { background: #ea4335; }

/* Bài viết */
.sb-article { padding: 16px; }
.sb-article__thumb { margin: 0 0 16px; }
.sb-article__img { width: 100%; height: auto; border-radius: 8px; }
.sb-postnav { display: flex; margin-top: 24px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.sb-postnav > div { flex: 1; min-width: 0; padding: 16px 8px; }
.sb-postnav__next { border-left: 1px solid var(--line); text-align: right; }
.sb-postnav a { display: flex; align-items: center; gap: 8px; color: var(--secondary); }
.sb-postnav__next a { justify-content: flex-end; }
.sb-postnav a:hover { color: var(--accent); }
.sb-postnav a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-postnav__arrow { width: 12px; height: 12px; color: #ababab; flex: none; }

/* ---- Trang Liên hệ ---- */
.sb-contact { display: flex; gap: 0; padding: 0 0 10px; }
.sb-contact__col { flex: 1 1 0; min-width: 0; padding: 10px; display: flex; flex-direction: column; gap: 16px; }
.sb-contact__img { width: 100%; max-width: 600px; height: auto; border-radius: 8px; }
.sb-contact__col .sb-side-title { margin-bottom: 0; }
.sb-contact__col .sb-contact-list li { font-size: 14px; font-weight: 400; color: var(--text); padding-bottom: 3.5px; gap: 8px; }
.sb-contact__col .sb-contact-list__icon { margin-top: 4px; }

/* ---- Form ---- */
.sb-form { display: flex; flex-direction: column; gap: 10px; max-width: 600px; }
.sb-form__radios { display: flex; gap: 12px; align-items: center; min-height: 24px; padding: 0 5px; }
.sb-form__radio { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 400; line-height: 16px; cursor: pointer; }
.sb-form__radio input { margin: 0; accent-color: var(--accent); }
.sb-form__input {
	display: block; width: 100%; min-height: 40px; padding: 8px 16px; border: 1px solid #69727d; border-radius: 3px; background: var(--white);
	font-size: 15px; font-weight: 400; line-height: 21px; color: var(--text);
}
.sb-form__input::placeholder { color: #7a7a8c; }
.sb-form__input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(44, 43, 125, .15); }
.sb-form__input--area { min-height: 75px; padding: 5px 14px; resize: vertical; }
.sb-form .sb-btn { min-height: 40px; color: var(--white); }
.sb-form .sb-btn:hover { background: var(--primary); }
.sb-form__msg { font-size: 14px; line-height: 20px; }
.sb-form__msg:empty { display: none; }
.sb-form__msg.is-success, form.is-success .sb-form__msg { color: #1a7f37; }
.sb-form__msg.is-error, form.is-error .sb-form__msg { color: #b3261e; }
form [aria-invalid="true"] { border-color: #b3261e; }
.sb-form__off { padding: 16px; border-radius: 8px; background: var(--bg); color: var(--secondary); }
.sb-btn--white { color: var(--white); }
.sb-btn--white:hover { color: var(--white); }
.sb-search { display: flex; gap: 8px; max-width: 480px; margin: 24px auto 0; }

/* ---- Khung ảnh (liên hệ / giới thiệu) ---- */
.sb-section--product { padding: 30px 20px 10px; }

/* ==========================================================================
   50 · Sản phẩm: thẻ, giá, lưới, trang chi tiết, thư viện ảnh, popup, carousel, Bảng màu
   ========================================================================== */

/* ---- Thẻ sản phẩm ---- */
.sb-card-sp { position: relative; display: flex; flex-direction: column; height: 100%; padding: 10px 12px 12px; overflow: hidden; border: 1px solid var(--white); border-radius: 8px; background: var(--white); transition: border-color .3s, box-shadow .3s; }
.sb-card-sp:hover { border-color: var(--primary); box-shadow: var(--shadow-card); }
.sb-card-sp__thumb { display: block; line-height: 0; }
.sb-card-sp__img { width: 98%; aspect-ratio: 1024 / 627; object-fit: cover; border-radius: 7px; }
.sb-card-sp__title { margin: 12px 0 8px; font-size: 16px; font-weight: 600; line-height: 16px; color: var(--text); }
.sb-card-sp__title a { color: var(--text); }
.sb-card-sp__title a:hover { color: var(--accent); }
.sb-badge {
	position: absolute; top: 5px; right: 5px; z-index: 2; min-width: 53px; padding: 4px 8px 8px; border-radius: 40px; background: var(--danger);
	font-size: 12px; font-weight: 800; line-height: 12px; text-align: center; color: var(--white);
}
.sb-price { display: flex; align-items: baseline; gap: 5px; margin-top: auto; }
.sb-price__old { font-size: 14px; font-weight: 600; font-style: oblique; text-decoration: line-through; color: #bebebe; }
.sb-price__now { font-size: 16px; font-weight: 600; color: var(--accent); }
.sb-price__contact { font-size: 16px; font-weight: 600; color: var(--accent); }

/* Lưới sản phẩm danh mục */
.sb-pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 30px; align-items: stretch; }

/* Cột trái trang sản phẩm */
.sb-catlist { margin: 0; padding: 0; list-style: none; border-top: 1px solid #e0e0e0; }
.sb-catlist li { margin: 0; border-bottom: 1px solid #e0e0e0; }
.sb-catlist__link { display: flex; align-items: center; min-height: 41px; padding: 8px 16px; font-size: 16px; font-weight: 600; color: var(--primary); }
.sb-catlist__link:hover { color: var(--accent); }
.sb-catlist__link.is-active { background: var(--primary); color: var(--white); }
.sb-side-products { display: flex; flex-direction: column; gap: 16px; }
.sb-side-products .sb-card-sp { border-color: #eee; }
.sb-layout--shop .sb-side-box { padding: 16px; }

/* ---- Carousel "Sản phẩm nổi bật / liên quan" ---- */
.sb-related .sb-box { padding: 24px; }
.sb-related .sb-slider { margin-top: 8px; padding-bottom: 8px; }
.sb-related .sb-slider__dots { margin-top: 16px; }
.sb-related .sb-slider__slide { padding: 0 0 4px; }
.sb-related .sb-card-sp { min-height: 347px; }
.sb-related .sb-slider__nav { top: 40%; color: #b5b5b5; font-size: 18px; width: 20px; }
.sb-related .sb-slider__nav--prev { left: 4px; }
.sb-related .sb-slider__nav--next { right: 4px; }
.sb-related .sb-slider__nav:hover { color: var(--primary); }
.sb-related .sb-slider { position: relative; }

/* ---- Trang chi tiết sản phẩm ---- */
.sb-pd { display: flex; gap: 16px; align-items: flex-start; }
.sb-pd__gallery { flex: 0 0 calc(40% - 8px); padding: 20px; }
.sb-pd__info { flex: 1 1 0; min-width: 0; padding: 20px; }
.sb-pd__title { margin: 0; font-size: 30px; line-height: 30px; font-weight: 600; color: var(--primary); }
.sb-pd__short { font-size: 14px; line-height: 21px; color: var(--text); }
.sb-pd__short ul { margin-bottom: 8px; }
.sb-pd__price { display: flex; align-items: baseline; gap: 5px; margin: 8px 0; }
.sb-pd__old { font-size: 16px; font-weight: 400; font-style: oblique; text-decoration: line-through; color: #bebebe; }
.sb-pd__now { font-size: 24px; font-weight: 800; color: #f63420; }
.sb-pd__save { margin: 0 0 16px; font-size: 14px; line-height: 21px; }
.sb-pd__save strong { font-size: 16px; font-weight: 600; color: #f67120; }
.sb-pd__save s { color: #949494; }
.sb-pd__hotline { margin: 0 0 8px; font-size: 14px; }
.sb-pd__hotline a { font-size: 16px; font-weight: 600; color: #f67120; }
.sb-pd__hint { margin: 0 0 10px; font-size: 14px; }
.sb-callback { display: flex; flex-wrap: wrap; gap: 10px; }
.sb-callback .sb-form__input { flex: 0 0 224.86px; max-width: 100%; }
.sb-callback .sb-btn { flex: 0 0 224.86px; min-height: 40px; max-width: 100%; }
.sb-callback .sb-form__msg { flex: 1 0 100%; }

/* Thư viện ảnh */
.sb-gallery__main { position: relative; line-height: 0; }
.sb-gallery__img { display: block; width: 100%; aspect-ratio: 449 / 275; object-fit: cover; border-radius: 8px; }
.sb-gallery__nav { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-top: -14px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; font-size: 16px; }
.sb-gallery__nav--prev { left: 8px; }
.sb-gallery__nav--next { right: 8px; }
.sb-gallery__nav:hover { background: rgba(0, 0, 0, .6); }
.sb-gallery__thumbs { display: flex; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; overflow-x: auto; }
.sb-gallery__thumbs li { flex: 0 0 calc((100% - 30px) / 4); margin: 0; }
.sb-gallery__thumb { display: block; width: 100%; padding: 0; border: 0; border-radius: 8px; background: none; line-height: 0; overflow: hidden; cursor: pointer; }
.sb-gallery__thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.sb-gallery__thumb { opacity: .85; transition: opacity .2s; }
.sb-gallery__thumb:hover, .sb-gallery__thumb.is-active { opacity: 1; }

/* ---- Popup đặt hàng ---- */
.sb-dialog { width: min(900px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 16px; background: var(--white); color: var(--text); overflow: hidden; }
.sb-dialog::backdrop { background: rgba(5, 16, 36, .65); }
.sb-dialog__panel { display: flex; flex-direction: column; max-height: calc(100vh - 24px); overflow: auto; padding-bottom: 20px; }
.sb-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 16px; background: var(--accent); }
.sb-dialog__heading { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.2; color: var(--white); }
.sb-dialog__close { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--white); font-size: 20px; }
.sb-dialog__close:hover { background: rgba(255, 255, 255, .2); }
.sb-dialog__body { display: flex; gap: 20px; padding: 20px 20px 0; }
.sb-dialog__product { flex: 0 0 38%; min-width: 0; }
.sb-dialog__form { flex: 1 1 0; min-width: 0; }
.sb-dialog__img { width: 100%; aspect-ratio: 449 / 275; object-fit: cover; border-radius: 8px; }
.sb-dialog__name { margin: 12px 0 4px; font-size: 24px; font-weight: 600; line-height: 1.2; color: var(--text); }
.sb-dialog__price { display: flex; align-items: baseline; gap: 5px; margin: 0; }
.sb-dialog__note { margin: 16px 20px 0; font-size: 16px; line-height: 24px; color: #777; }
.sb-dialog .sb-form { max-width: none; }

/* ---- Bảng màu ---- */
.sb-palette { padding: 0 0 20px; }
.sb-palette__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 4px; }
.sb-palette__tab {
	margin: 0; padding: 8px 21px; border: 1px solid #ccc; border-radius: 24px; background: #f1592a; font-size: 18px; font-weight: 300; line-height: 27px; color: #fff; cursor: pointer; transition: background-color .2s;
}
.sb-palette__tab:hover, .sb-palette__tab.is-active { background: #ef8564; }
.sb-palette__title { margin: 30px 0 0; padding: 40px 0 30px; font-size: 35px; font-weight: 500; line-height: 52.5px; text-align: center; text-transform: uppercase; color: #5598c5; }
.sb-palette__dots { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin: 0 auto 20px; padding: 5px; max-width: 730px; }
.sb-palette__dot { width: 46px; height: 46px; margin: 3px 7px; padding: 0; border: 0; border-radius: 50%; background: var(--c); cursor: pointer; transition: width .15s, height .15s, margin .15s; }
.sb-palette__dot:hover, .sb-palette__dot.is-active { width: 52px; height: 52px; margin: 0 4px; }
.sb-palette__swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12.4px; margin: 0; padding: 6px; list-style: none; }
.sb-swatch { position: relative; display: block; height: 180px; margin: 0; overflow: hidden; border-radius: 10px; background: var(--c); }
.sb-swatch__bar { position: absolute; left: 0; right: 0; bottom: 0; display: block; padding: 6px 10px; border-radius: 0 0 8px 8px; background: #f7f7f7; }
.sb-swatch__code, .sb-swatch__name { display: block; font-size: 14px; font-weight: 600; line-height: 18px; color: var(--text); }

/* ==========================================================================
   60 · Responsive: máy tính bảng (≤1024px) và điện thoại (≤767px)
   ========================================================================== */

/* ---------------------------------------------------------------- ≤1024 */
@media (max-width: 1024px) {
	:root { --header-h: 63px; }

	/* Header: logo nhỏ + nút menu tròn, menu xổ xuống */
	.sb-header__inner { position: relative; min-height: var(--header-h); }
	.sb-logo__img { width: 73px; }
	.sb-menu-toggle { display: inline-flex; width: 42px; height: 42px; font-size: 28px; }
	.sb-nav {
		position: absolute; top: 100%; left: 0; right: 0; z-index: 5; display: none; margin-top: 11px; overflow: hidden;
		background: var(--primary); border-radius: 16px;
	}
	.sb-nav.is-open { display: block; }
	.sb-nav__list { display: block; }
	.sb-nav__list a { padding: 11px 20px; font-family: var(--font); font-size: 17px; font-weight: 500; color: var(--white); }
	.sb-nav__list a:hover, .sb-nav__list a:focus-visible { color: var(--accent); }
	.sb-nav__list .current-menu-item > a,
	.sb-nav__list .current-menu-ancestor > a,
	.sb-nav__list .current_page_item > a { color: var(--accent); }
	.sb-nav__list .sub-menu { position: static; min-width: 0; padding: 0 0 0 16px; opacity: 1; visibility: visible; transform: none; background: transparent; border-radius: 0; }
	.sb-nav__list .sub-menu a { padding: 9px 20px; font-size: 15px; }

	/* Trang chủ: giữ bố cục desktop như trang cũ, chỉ thu banner theo bề ngang */
	.sb-hero { height: 36vw; }

	/* Trang trong */
	.sb-pagehead { min-height: 200px; }
	.sb-pagehead__title { font-size: 40px; line-height: 40px; }
	.sb-layout__main { flex: 1 1 0; }
	.sb-layout__side { flex: 0 0 28%; }
	.sb-layout--post .sb-article { flex: 1 1 0; }
	.sb-layout--shop .sb-layout__side { flex: 0 0 220px; }
	.sb-ggrid { grid-template-columns: repeat(2, 1fr); }
	.sb-pgrid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.sb-posthead__title { font-size: 32px; line-height: 34px; }
	.sb-pd__gallery { flex: 0 0 calc(40% - 8px); padding: 14px; }
	.sb-pd__info { padding: 14px; }
	.sb-palette__swatches { grid-template-columns: repeat(4, 1fr); }
}

/* ----------------------------------------------------------------- ≤767 */
@media (max-width: 767px) {
	:root { --header-h: 70px; }

	.sb-section { padding: 40px 20px; }
	.sb-header__inner { padding: 10px; }
	.sb-logo__img { width: 110px; }
	.sb-nav { margin-top: 16px; }
	.sb-menu-toggle { width: 39px; height: 39px; font-size: 26px; }
	.sb-nav__list a { padding: 15px 20px; font-size: 16px; }

	/* Trang chủ */
	.sb-hero { height: 131px; }
	.sb-band { flex-direction: column; min-height: 0; }
	.sb-band__left { flex: none; min-height: 190px; }
	.sb-band__right { flex: none; min-height: 530px; }
	.sb-title { font-size: 24px; line-height: 26.4px; }
	.sb-title::after { margin: 10px auto; }
	.sb-bar-title { font-size: 32px; }
	.sb-intro { padding: 40px 20px; }
	.sb-intro__cards { flex-direction: column; flex-wrap: nowrap; }
	.sb-glass { width: 100%; }
	.sb-band__right { padding: 0 20px 40px; }
	.sb-band__cards { width: 100%; }
	.sb-cats__grid { grid-template-columns: 1fr; }
	.sb-tile { min-height: 240px; }
	.sb-card-da { height: 300px; }
	.sb-news__grid { grid-template-columns: 1fr; gap: 20px; }
	.sb-news__side { gap: 24px; }
	.sb-post--ngang .sb-post__thumb { aspect-ratio: auto; min-height: 120px; }

	/* Trang trong */
	.sb-pagehead { min-height: 246px; margin-bottom: 40px; padding: 0 20px; }
	.sb-pagehead__inner { padding-bottom: 16px; }
	.sb-pagehead__title { margin-bottom: 16px; font-size: 44px; line-height: 44px; }
	.sb-pagehead .sb-bc, .sb-bc { font-size: 14px; line-height: 20px; }
	.sb-crumbbar { padding: 90px 16px 12px; }
	.sb-section--flush { padding: 10px; }
	.sb-section--post, .sb-section--cat, .sb-section--product { padding-inline: 10px; }
	.sb-box--content { padding: 16px; }
	.sb-entry h2 { font-size: 26px; }
	.sb-entry h3 { font-size: 21px; }
	.sb-entry .alignleft, .sb-entry .alignright { float: none; display: block; margin: 0 auto 12px; }
	.sb-layout { flex-wrap: wrap; }
	.sb-layout__main, .sb-layout--post .sb-article, .sb-layout__side, .sb-layout--shop .sb-layout__side { flex: 1 1 100%; }
	.sb-layout--shop .sb-layout__main { order: 2; }
	.sb-layout--shop .sb-layout__side { order: 1; }
	.sb-pd { flex-direction: column; align-items: stretch; }
	.sb-pd__gallery { flex: none; }
	.sb-contact { flex-direction: column; }
	.sb-ggrid { grid-template-columns: 1fr; }
	.sb-pgrid { grid-template-columns: 1fr; }
	.sb-dgrid { grid-template-columns: 1fr; }
	.sb-posthead__title { font-size: 40px; line-height: 40px; }
	.sb-pd__gallery, .sb-pd__info { padding: 14px; }
	.sb-pd__title { font-size: 24px; line-height: 26px; }
	.sb-callback .sb-form__input, .sb-callback .sb-btn { flex: 1 1 100%; }
	.sb-postnav { flex-direction: column; }
	.sb-postnav__next { border-left: 0; border-top: 1px solid var(--line); text-align: left; }
	.sb-postnav__next a { justify-content: flex-start; }
	.sb-palette__tabs { justify-content: flex-start; }
	.sb-palette__title { margin-top: 30px; padding: 40px 0 30px; font-size: 32px; line-height: 40px; }
	.sb-palette__swatches { grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 6px; }
	.sb-swatch { height: 154px; }
	.sb-swatch__bar { padding: 10px; }
	.sb-swatch__code, .sb-swatch__name { font-size: 11px; line-height: 16px; font-weight: 500; }

	/* Popup đặt hàng */
	.sb-dialog__body { flex-direction: column; gap: 16px; }
	.sb-dialog__product { flex: none; }
	.sb-dialog__name { font-size: 20px; }

	/* Footer */
	.sb-footer__main { padding: 40px 20px; }
	.sb-footer__col { flex: 0 0 100%; max-width: 100%; }
	.sb-footer__logo { margin-bottom: 20px; }
}
