/* ==========================================================================
   Hoa Văn Xây Dựng Nga Long — UI redesign
   Design tokens lấy từ catalogue: đỏ thương hiệu + xám than + nền đá ấm
   ========================================================================== */
:root {
  --red: #c1202e;
  --red-700: #9e1824;
  --red-900: #6e0f18;
  --red-50: #fbeeee;
  --ink: #1d1b19;
  --ink-2: #3a3632;
  --muted: #6f6a63;
  --stone: #f5f2ec;
  --stone-2: #ebe6dd;
  --line: #e2dcd2;
  --white: #fff;
  --gold: #b08d57;
  --success: #1f7a4d;

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(29, 27, 25, .06), 0 2px 8px rgba(29, 27, 25, .05);
  --shadow: 0 10px 30px -12px rgba(29, 27, 25, .22);
  --container: 1240px;
  --gutter: 16px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--white); color: var(--ink-2); font: 400 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.22; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
h3 { font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sr-only { position: absolute; 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: 8px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 8px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 24px; } }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--ink); color: #d9d4cc; }
.section--dark h2, .section--dark h3 { color: #fff; }
.grid { display: grid; gap: 24px; }
.stack > * + * { margin-top: 16px; }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head__text { max-width: 720px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__text { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section--dark .eyebrow { color: #ef6a73; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--red); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--bg); border-radius: var(--radius); background: var(--bg); color: var(--fg); font: 700 15px/1 var(--font-head); letter-spacing: .01em; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { --bg: var(--red-700); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--dark { --bg: var(--ink); }
.btn--dark:hover { --bg: #000; }
.btn--ghost { background: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); --fg: #fff; border-color: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --bg: var(--stone); --fg: var(--ink); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.5); --fg: #fff; }
.btn--outline-light:hover { background: #fff; --fg: var(--ink); border-color: #fff; }
.btn--zalo { --bg: #0068ff; }
.btn--zalo:hover { --bg: #0052cc; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--font-head); color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #c9c3ba; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__list { display: flex; gap: 22px; list-style: none; }
.topbar__list li { display: flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; color: #ef6a73; }
.topbar a:hover { color: #fff; }
@media (max-width: 860px) { .topbar__list li:nth-child(n+2) { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
@media (max-width: 560px) { .brand img { height: 38px; } }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: var(--radius); font: 600 15px/1 var(--font-head); color: var(--ink); white-space: nowrap; }
.nav__link svg { width: 12px; height: 12px; transition: transform .2s; }
.nav__link[aria-current="page"] { color: var(--red); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -17px; height: 3px; background: var(--red); border-radius: 3px 3px 0 0; }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }

.mega { position: absolute; top: calc(100% + 16px); left: 50%; transform: translate(-50%, 8px); width: min(880px, 92vw); padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .2s; display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 24px; }
.mega::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.mega ul { list-style: none; display: grid; gap: 4px; }
.mega a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--ink-2); }
.mega a:hover { color: var(--red); }
.mega__promo { background: var(--stone); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.mega__promo img { border-radius: 4px; aspect-ratio: 16/10; object-fit: cover; background: #fff; }
.mega__promo strong { font: 700 15px/1.3 var(--font-head); color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { display: flex; align-items: center; gap: 10px; line-height: 1.2; }
.header-phone__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.header-phone__icon svg { width: 20px; height: 20px; }
.header-phone small { display: block; font-size: 12px; color: var(--muted); }
.header-phone strong { font: 800 17px/1.2 var(--font-head); color: var(--ink); letter-spacing: .01em; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle { display: none; }

@media (max-width: 1500px) {
  .header-phone { display: none; }
}
@media (max-width: 980px) {
  .nav-toggle { display: grid; }
  /* backdrop-filter biến header thành khung chứa của phần tử fixed: menu và lớp phủ bị co bằng chiều cao header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  /* Ẩn hẳn khi đóng: menu nằm ngoài mép phải sẽ làm trang bị tràn ngang trên điện thoại */
  .nav { display: none; position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: #fff; z-index: 200; padding: 20px; overflow-y: auto; box-shadow: var(--shadow); }
  .nav.is-open { display: block; animation: navIn .28s ease-out; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
  .nav__link[aria-current="page"]::after { display: none; }
  .mega { position: static; transform: none; opacity: 1; visibility: visible; width: auto; box-shadow: none; border: 0; padding: 8px 0 8px 12px; grid-template-columns: 1fr; gap: 12px; display: none; }
  .nav__item.is-open .mega { display: grid; }
  .nav__item:hover .mega, .nav__item:focus-within .mega { transform: none; } /* chạm trên mobile kích hoạt :hover của menu desktop */
  .mega__promo { display: none; }
  .nav__close { display: flex !important; }
  .header-cta .btn { display: none; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 150; opacity: 0; visibility: hidden; transition: .3s; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}
.nav__close { display: none; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.nav__close img { height: 34px; width: auto; }

/* ---------- Search overlay ---------- */
.search-panel { border-top: 1px solid var(--line); background: #fff; display: none; }
.search-panel.is-open { display: block; }
.search-form { display: flex; gap: 8px; padding-block: 14px; }
.search-form input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--stone); }
.search-form input:focus { outline: none; border-color: var(--red); background: #fff; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-block: 16px; font-size: 14px; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--stone); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; min-height: clamp(520px, 72vh, 680px); }
.hero__content { position: relative; z-index: 2; padding-block: 56px; }
.hero__lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); max-width: 560px; margin-bottom: 28px; }
.hero h1 span { color: var(--red); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__bullets { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 28px; list-style: none; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.hero__bullets li { display: flex; align-items: center; gap: 8px; }
.hero__bullets svg { width: 18px; height: 18px; color: var(--red); flex: none; }
.hero__media { position: absolute; inset: 0 0 0 52%; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero__media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(90deg, var(--stone) 0, rgba(245,242,236,0) 14%); z-index: 1; pointer-events: none; }
.hero__chevron { position: absolute; left: calc(52% - 22px); top: 0; bottom: 0; width: 64px; z-index: 1; background: var(--red); clip-path: polygon(30% 0, 52% 0, 22% 50%, 52% 100%, 30% 100%, 0 50%); }
.hero__badge { position: absolute; right: 24px; bottom: 28px; z-index: 3; background: #fff; border-radius: var(--radius-lg); padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; }
.hero__badge strong { display: block; font: 800 28px/1 var(--font-head); color: var(--red); }
.hero__badge span { font-size: 13px; color: var(--muted); line-height: 1.3; display: block; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { position: relative; inset: auto; clip-path: none; height: 300px; margin-inline: calc(var(--gutter) * -1); order: -1; }
  .hero__media::before, .hero__chevron { display: none; }
  .hero__content { padding-block: 32px 48px; }
  .hero__badge { right: var(--gutter); bottom: 16px; padding: 12px 14px; }
}
@media (max-width: 480px) { .hero__bullets { grid-template-columns: 1fr; } }

/* ---------- Stats bar ---------- */
.stats { background: var(--ink); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font: 800 clamp(28px, 3vw, 38px)/1 var(--font-head); color: #fff; margin-bottom: 6px; }
.stat strong em { color: #ef6a73; font-style: normal; }
.stat span { font-size: 14px; color: #b8b1a7; }
@media (max-width: 760px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 12px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; color: inherit; }
.cat-card__img { aspect-ratio: 4/3; background: var(--stone); overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-card__img img { transform: scale(1.05); }
.cat-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cat-card__body h3 { margin: 0; }
.cat-card__body p { font-size: 14px; color: var(--muted); margin: 0; }
.cat-card__count { margin-top: auto; padding-top: 12px; font: 600 13px/1 var(--font-head); color: var(--red); display: flex; align-items: center; gap: 6px; }
.cat-card__count svg { width: 14px; height: 14px; }
.cat-card--feature { grid-column: span 2; grid-row: span 2; }
.cat-card--feature .cat-card__img { aspect-ratio: auto; flex: 1; min-height: 260px; position: relative; }
.cat-card--feature .cat-card__img img { position: absolute; inset: 0; }
.cat-card--feature .cat-card__body { flex: 0 0 auto; }
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } .cat-card--feature { grid-column: span 2; grid-row: auto; } .cat-card--feature .cat-card__img { min-height: 300px; } }
@media (max-width: 680px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .cat-card--feature { grid-column: span 2; } .cat-card__body { padding: 12px 14px 14px; } .cat-card__body p { display: none; } }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; } }
.product { position: relative; display: flex; flex-direction: column; }
.product__media { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); margin-bottom: 14px; }
/* Ảnh sản phẩm của xưởng chủ yếu nền trắng, nên dùng contain để không cắt mất chi tiết hoa văn */
.product__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .5s; }
.product:hover .product__media img { transform: scale(1.06); }
.product__tag { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font: 700 11px/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; }
.product__tag--dark { background: var(--ink); }
.product__quick { position: absolute; inset: auto 12px 12px; display: flex; gap: 8px; opacity: 0; transform: translateY(8px); transition: .25s; }
.product:hover .product__quick, .product:focus-within .product__quick { opacity: 1; transform: none; }
.product__quick .btn { flex: 1; min-height: 40px; font-size: 13px; padding: 0 10px; }
@media (hover: none) { .product__quick { display: none; } }
.product__cat { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.product__title { font: 700 16px/1.35 var(--font-head); color: var(--ink); margin: 0 0 6px; }
.product__title a::after { content: ""; position: absolute; inset: 0; }
.product__quick { z-index: 2; }
.product__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; margin-top: auto; }
.product__size { color: var(--muted); }
.product__price { font: 700 14px/1 var(--font-head); color: var(--red); white-space: nowrap; }

/* ---------- Tabs / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 14px/1 var(--font-head); color: var(--ink-2); transition: .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-selected="true"], .chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { font-weight: 500; opacity: .65; }
.scroll-x { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.scroll-x::-webkit-scrollbar { display: none; }
.scroll-x .chips { flex-wrap: nowrap; }

/* ---------- Catalogue band ---------- */
.catalog-band { position: relative; background: var(--red); color: #fff; overflow: hidden; }
.catalog-band::before { content: ""; position: absolute; right: -6%; top: -40%; width: 520px; height: 180%; background: rgba(0,0,0,.12); transform: skewX(-24deg); }
.catalog-band .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.catalog-band h2 { color: #fff; }
.catalog-band p { color: #fbdcdf; }
.catalog-band .eyebrow { color: #fff; }
.catalog-band__pages { position: relative; height: 340px; }
.catalog-band__pages img { position: absolute; width: 62%; border-radius: 6px; box-shadow: 0 24px 48px -16px rgba(0,0,0,.5); background: #fff; }
.catalog-band__pages img:nth-child(1) { left: 0; top: 40px; transform: rotate(-6deg); }
.catalog-band__pages img:nth-child(2) { left: 20%; top: 0; z-index: 2; }
.catalog-band__pages img:nth-child(3) { right: 0; top: 54px; transform: rotate(6deg); }
.catalog-band__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin: 20px 0 28px; font-size: 15px; }
.catalog-band__list li { display: flex; gap: 8px; align-items: center; }
.catalog-band__list svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 900px) { .catalog-band .container { grid-template-columns: 1fr; } .catalog-band__pages { height: 240px; } }

/* ---------- Features / commitments ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.feature__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--red-50); color: var(--red); margin-bottom: 18px; }
.feature__icon svg { width: 26px; height: 26px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 1024px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } .feature { padding: 20px; display: grid; grid-template-columns: 52px 1fr; gap: 0 16px; } .feature__icon { margin: 0; grid-row: span 2; } }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1.1; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.collage img:first-child { grid-row: span 2; }
.check-list { list-style: none; display: grid; gap: 12px; margin: 20px 0 28px; }
.check-list li { display: flex; gap: 12px; }
.check-list svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 1px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font: 800 40px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px #5a544d; }
.step::after { content: ""; position: absolute; top: 20px; left: 72px; right: -12px; height: 1px; background: rgba(255,255,255,.14); }
.step:last-child::after { display: none; }
.step p { font-size: 15px; color: #b8b1a7; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Gallery / projects ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery a { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--stone); }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 36px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; font: 600 14px/1.3 var(--font-head); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { padding: 28px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.quote__stars { display: flex; gap: 2px; color: #e3a008; }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--stone-2); display: grid; place-items: center; font: 700 16px/1 var(--font-head); color: var(--ink); }
.quote__who strong { display: block; font: 700 15px/1.2 var(--font-head); color: var(--ink); }
.quote__who span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { position: relative; display: flex; flex-direction: column; }
.post-card__img { aspect-ratio: 16/10; border-radius: var(--radius-lg); overflow: hidden; background: var(--stone); margin-bottom: 16px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__meta { display: flex; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.post-card__meta a { color: var(--red); font-weight: 600; position: relative; z-index: 2; }
.post-card h3 { font-size: 18px; margin-bottom: 8px; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { font-size: 15px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card--wide { grid-column: span 3; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.post-card--wide .post-card__img { margin: 0; }
.post-card--wide h3 { font-size: clamp(20px, 2.2vw, 28px); }
@media (max-width: 900px) { .post-card--wide { grid-column: span 2; grid-template-columns: 1fr; gap: 0; } .post-card--wide .post-card__img { margin-bottom: 16px; } }
@media (max-width: 600px) { .post-card--wide { grid-column: auto; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 700 16.5px/1.4 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq .faq__a { padding: 0 24px 20px; color: var(--ink-2); }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- CTA / form ---------- */
.cta { display: grid; grid-template-columns: 1fr 1.05fr; background: var(--ink); border-radius: 20px; overflow: hidden; color: #cfc9c0; }
.cta__info { padding: clamp(28px, 5vw, 56px); }
.cta__info h2 { color: #fff; }
.cta__contacts { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.cta__contacts li { display: flex; gap: 14px; align-items: flex-start; }
.cta__contacts .ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #ef6a73; flex: none; }
.cta__contacts svg { width: 20px; height: 20px; }
.cta__contacts small { display: block; font-size: 13px; color: #8f887f; }
.cta__contacts strong, .cta__contacts a { color: #fff; font-weight: 600; }
.cta__form { background: #fff; padding: clamp(28px, 5vw, 48px); color: var(--ink-2); }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font: 600 14px/1.3 var(--font-head); color: var(--ink); margin-bottom: 6px; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--stone); font-size: 15px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.form__note { font-size: 13px; color: var(--muted); margin: 0; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #151311; color: #a9a299; font-size: 15px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 64px 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 46px; height: 46px; }
.footer-brand strong { display: block; color: #fff; font: 800 18px/1.15 var(--font-head); letter-spacing: .02em; }
.footer-brand small { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #8f887f; }
.site-footer h2 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; color: #ef6a73; flex: none; margin-top: 3px; }
.footer-contact strong { color: #fff; font-weight: 600; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; }
.socials a:hover { background: var(--red); }
.socials svg { width: 18px; height: 18px; }
.footer-map { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: #2a2724; }
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4); }
.footer-tags { border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px; font-size: 13.5px; }
.footer-tags .container { display: flex; flex-wrap: wrap; gap: 8px 6px; align-items: center; }
.footer-tags strong { color: #fff; margin-right: 8px; }
.footer-tags a { padding: 4px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 20px; font-size: 13.5px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom nav { display: flex; gap: 20px; }
@media (max-width: 1024px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-main { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 32px; } }

/* ---------- Floating contact ---------- */
.float-contact { position: fixed; right: 18px; bottom: 22px; z-index: 90; display: grid; gap: 10px; }
.float-contact a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); transition: transform .2s; }
.float-contact a:hover { transform: scale(1.08); color: #fff; }
.float-contact svg { width: 26px; height: 26px; }
.float-contact .fc-call { background: var(--red); animation: pulse 2.2s infinite; }
.float-contact .fc-zalo { background: #0068ff; font: 800 13px/1 var(--font-head); }
.float-contact .fc-msg { background: #0084ff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(193,32,46,.5); } 70% { box-shadow: 0 0 0 16px rgba(193,32,46,0); } 100% { box-shadow: 0 0 0 0 rgba(193,32,46,0); } }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .float-contact { display: none; }
  .mobile-bar { position: fixed; inset: auto 0 0; z-index: 90; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px -10px rgba(0,0,0,.2); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px; font: 600 11.5px/1 var(--font-head); color: var(--ink-2); }
  .mobile-bar svg { width: 22px; height: 22px; }
  .mobile-bar .is-primary { background: var(--red); color: #fff; }
  body { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Page header ---------- */
.page-hero { background: var(--stone); border-bottom: 1px solid var(--line); }
.page-hero .container { padding-block: 8px 40px; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 12px; }
.page-hero p { max-width: 760px; color: var(--muted); margin: 0; }
.page-hero--dark { background: var(--ink); border: 0; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark p, .page-hero--dark .breadcrumb { color: #b8b1a7; }
.page-hero--dark .breadcrumb [aria-current] { color: #fff; }

/* ---------- Category page ---------- */
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 28px; }
.sidebar h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.side-nav { list-style: none; display: grid; gap: 2px; }
.side-nav a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: var(--radius); font-size: 15px; }
.side-nav a:hover { background: var(--stone); color: var(--ink); }
.side-nav a[aria-current] { background: var(--red-50); color: var(--red); font-weight: 600; }
.side-nav small { color: var(--muted); }
.side-nav ul { list-style: none; padding-left: 14px; border-left: 1px solid var(--line); margin: 4px 0 6px 12px; }
.side-box { padding: 22px; border-radius: var(--radius-lg); background: var(--ink); color: #cfc9c0; }
.side-box h2 { color: #fff; }
.side-box p { font-size: 14.5px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.toolbar p { margin: 0; color: var(--muted); font-size: 14.5px; }
.toolbar select { min-height: 42px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231d1b19' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.filter-btn { display: none; }
@media (max-width: 980px) {
  .shop { grid-template-columns: 1fr; }
  .sidebar { display: none; position: fixed; inset: 0 auto 0 0; width: min(340px, 86vw); background: #fff; z-index: 200; padding: 20px; overflow-y: auto; }
  .sidebar.is-open { display: grid; animation: sideIn .28s ease-out; }
  .filter-btn { display: inline-flex; }
}
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); font: 600 15px/1 var(--font-head); }
.pagination [aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a:hover { border-color: var(--ink); color: var(--ink); }
.seo-content { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.prose { max-width: 780px; font-size: 17px; line-height: 1.75; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 1.6em; }
.prose h3 { font-size: 20px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: var(--radius-lg); width: 100%; }
.prose figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--red); font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.4em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--stone); font-family: var(--font-head); }
.read-more { position: relative; max-height: 280px; overflow: hidden; }
.read-more::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, #fff); }
.read-more.is-open { max-height: none; }
.read-more.is-open::after { display: none; }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp-gallery__main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--stone); margin-bottom: 12px; cursor: zoom-in; }
.pdp-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pdp-gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--stone); }
.pdp-gallery__thumbs button[aria-current="true"] { border-color: var(--red); }
.pdp-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .pdp-gallery { position: static; } }
.pdp-info h1 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.pdp-rating { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; padding: 18px 20px; background: var(--stone); border-radius: var(--radius-lg); margin-bottom: 24px; }
.pdp-price strong { font: 800 26px/1 var(--font-head); color: var(--red); }
.pdp-price span { font-size: 14px; color: var(--muted); }
.specs { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 15px; }
.specs th, .specs td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs th { width: 38%; font-weight: 500; color: var(--muted); }
.specs td { color: var(--ink); font-weight: 600; }
.option-group { margin-bottom: 22px; }
.option-group > span { display: block; font: 600 14px/1 var(--font-head); color: var(--ink); margin-bottom: 10px; }
.pdp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.pdp-actions .btn:first-child { grid-column: 1 / -1; min-height: 56px; font-size: 16px; }
.pdp-assure { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); font-size: 14px; }
.pdp-assure li { display: flex; gap: 10px; align-items: flex-start; }
.pdp-assure svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.pdp-assure strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 14px; }
@media (max-width: 480px) { .pdp-assure { grid-template-columns: 1fr; } }
.tabs { margin-top: clamp(48px, 7vw, 80px); }
.tabs__list { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; overflow-x: auto; scrollbar-width: none; }
.tabs__list button { padding: 0 0 14px; border: 0; background: none; font: 700 16px/1 var(--font-head); color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs__list button[aria-selected="true"] { color: var(--ink); border-color: var(--red); }
.tabs__panel[hidden] { display: none; }

/* ---------- Catalogue page ---------- */
.cata-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.cata-toc { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding-right: 8px; }
.cata-toc ol { list-style: none; counter-reset: toc; display: grid; gap: 2px; }
.cata-toc a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: var(--radius); font-size: 14.5px; }
.cata-toc a:hover { background: var(--stone); color: var(--ink); }
.cata-toc a.is-active { background: var(--red-50); color: var(--red); font-weight: 600; }
.cata-toc a small { color: var(--muted); }
.cata-section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.cata-section__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.cata-section__head h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 0; }
.cata-pages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cata-pages a { display: block; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: box-shadow .2s; cursor: zoom-in; }
.cata-pages a:hover { box-shadow: var(--shadow); }
.cata-pages a:only-child { grid-column: span 2; }
@media (max-width: 980px) { .cata-layout { grid-template-columns: 1fr; } .cata-toc { position: static; max-height: none; } .cata-toc ol { display: flex; overflow-x: auto; gap: 6px; } .cata-toc a { white-space: nowrap; border: 1px solid var(--line); } .cata-toc a small { display: none; } }
@media (max-width: 600px) { .cata-pages { grid-template-columns: 1fr; } .cata-pages a:only-child { grid-column: auto; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(15,13,12,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: min(1400px, 100%); width: auto; border-radius: 6px; background: #fff; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-caption { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #d9d4cc; font-size: 14px; }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
@media (max-width: 1024px) { .article-layout { grid-template-columns: 1fr; } }
.article-head { max-width: 860px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; color: var(--muted); margin: 16px 0 28px; }
.article-meta .author { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.article-meta .author span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font: 700 14px/1 var(--font-head); }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; aspect-ratio: 16/8; background: var(--stone); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.toc { padding: 20px 24px; background: var(--stone); border-radius: var(--radius-lg); margin: 0 0 32px; font-size: 15.5px; }
.toc strong { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 10px; }
.toc ol { padding-left: 1.2em; display: grid; gap: 6px; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--red); }
.share { display: flex; align-items: center; gap: 10px; padding-block: 24px; margin-top: 40px; border-top: 1px solid var(--line); font: 600 14px/1 var(--font-head); color: var(--ink); }
.share a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.share a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.share svg { width: 16px; height: 16px; }
.author-box { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius-lg); background: var(--stone); }
.author-box__avatar { width: 64px; height: 64px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.author-box__avatar img { width: 40px; height: 40px; }
.author-box strong { font-family: var(--font-head); color: var(--ink); }
.author-box p { margin: 6px 0 0; font-size: 15px; }
.aside-block + .aside-block { margin-top: 32px; }
.aside-block h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.mini-posts { list-style: none; display: grid; gap: 16px; }
.mini-posts a { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; font: 600 14.5px/1.4 var(--font-head); color: var(--ink); }
.mini-posts img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; width: 84px; height: 84px; }
.mini-posts a:hover { color: var(--red); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.contact-card .feature__icon { margin-bottom: 16px; }
.contact-card p { margin: 0; }
.contact-card a { font-weight: 600; color: var(--ink); }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/7; background: var(--stone); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .map-embed { aspect-ratio: 4/3; } }

/* ---------- Timeline / values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.values > div { background: #fff; padding: 32px 28px; }
.values strong { display: block; font: 800 44px/1 var(--font-head); color: var(--red); margin-bottom: 10px; }
.values p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.center-actions { display: flex; justify-content: center; margin-top: 40px; }
.badge-note { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--red-50); color: var(--red); font: 600 13px/1 var(--font-head); }

/* ---------- Liên hệ trực tiếp: Gọi điện + Zalo (thay cho form) ---------- */
.cta__actions { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.contact-big { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1.5px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.contact-big:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: inherit; }
.contact-big small { display: block; font-size: 14px; color: var(--muted); }
.contact-big strong { display: block; font: 800 clamp(22px, 2.6vw, 28px)/1.15 var(--font-head); color: var(--ink); letter-spacing: .01em; }
.contact-big__ic { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.contact-big__ic svg { width: 26px; height: 26px; }
.contact-big__ic--zalo { background: #0068ff; color: #fff; font: 800 14px/1 var(--font-head); }
.contact-big--call { background: var(--red); border-color: var(--red); }
.contact-big--call small { color: #fbdcdf; }
.contact-big--call strong { color: #fff; }
.contact-big--call .contact-big__ic { background: rgba(255,255,255,.18); color: #fff; animation: pulse 2.2s infinite; }
.contact-big--call:hover { border-color: var(--red-700); background: var(--red-700); }
.contact-big--zalo { border-color: #0068ff; }
.contact-big--zalo strong { color: #0068ff; }
.mobile-bar .is-zalo { background: #0068ff; color: #fff; }

/* ---------- Fixes: grid con không được giãn theo nội dung cuộn ngang ---------- */
.shop > *, .cata-layout > *, .article-layout > *, .pdp > *, .split > * { min-width: 0; }
.chip { white-space: nowrap; }
@media (max-width: 980px) { .cata-layout, .shop { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .pdp { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .topbar__list { display: none; } .topbar .container { justify-content: center; } }

/* ==========================================================================
   v2 – Ảnh thật nhà xưởng làm trọng tâm
   ========================================================================== */

/* ---------- Hero toàn màn hình với ảnh xưởng ---------- */
.hero-x { position: relative; min-height: clamp(560px, 86vh, 820px); display: flex; align-items: flex-end; color: #fff; background: #111; overflow: hidden; isolation: isolate; }
.hero-x__slides { position: absolute; inset: 0; z-index: -2; }
.hero-x__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroFade 24s infinite; filter: saturate(.9) contrast(1.05); }
.hero-x__slides img:first-child { opacity: 1; }
.hero-x__slides img:nth-child(2) { animation-delay: 6s; }
.hero-x__slides img:nth-child(3) { animation-delay: 12s; }
.hero-x__slides img:nth-child(4) { animation-delay: 18s; }
@keyframes heroFade { 0% { opacity: 0; transform: scale(1.06); } 4% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
.hero-x::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,12,11,.92) 0%, rgba(14,12,11,.7) 40%, rgba(14,12,11,.12) 78%), linear-gradient(0deg, rgba(14,12,11,.88) 0%, rgba(14,12,11,0) 45%); }
.hero-x .container { position: relative; padding-block: 120px 40px; width: 100%; }
.hero-x__content { max-width: 760px; }
.hero-x .eyebrow { color: #fff; }
.hero-x .eyebrow::before { background: var(--red); }
.hero-x h1 { color: #fff; font-size: clamp(34px, 5vw, 64px); line-height: 1.08; margin-bottom: 20px; }
.hero-x h1 em { font-style: normal; color: #ff5b66; }
.hero-x__lead { font-size: clamp(16px, 1.4vw, 19px); color: #e4ded6; max-width: 580px; margin-bottom: 30px; }
.hero-x__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-x__actions .btn { min-height: 56px; padding: 0 26px; font-size: 16px; }
.hero-x__real { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 13.5px; color: #cfc8bf; }
.hero-x__real::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
.hero-x__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-x__thumbs a { display: flex; align-items: center; gap: 12px; color: #fff; font: 600 14px/1.3 var(--font-head); }
.hero-x__thumbs a:hover { color: #fff; }
.hero-x__thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 2px solid rgba(255,255,255,.2); flex: none; }
.hero-x__thumbs small { display: block; font: 400 12.5px/1.3 var(--font-body); color: #b8b1a7; }
@media (max-width: 900px) { .hero-x__thumbs { grid-template-columns: 1fr 1fr; } .hero-x .container { padding-top: 96px; } }
@media (max-width: 520px) { .hero-x__thumbs { display: none; } .hero-x__actions .btn { flex: 1 1 100%; } }

/* ---------- Bento nhà xưởng ---------- */
.factory { background: #141210; color: #cfc8bf; }
.factory h2, .factory h3 { color: #fff; }
.factory .eyebrow { color: #ff5b66; }
.factory .section-head p { color: #a8a097; }
.factory .link-arrow { color: #fff; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 14px; }
.bento__item { position: relative; overflow: hidden; border-radius: 16px; background: #23201d; display: block; }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s; filter: saturate(.92); }
.bento__item:hover img { transform: scale(1.06); filter: saturate(1.05); }
.bento__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.78)); pointer-events: none; }
.bento__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; }
.bento__cap strong { display: block; font: 700 clamp(15px, 1.4vw, 19px)/1.25 var(--font-head); }
.bento__cap span { font-size: 13.5px; color: #d7d0c6; }
.bento__tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); color: #fff; font: 600 11.5px/1 var(--font-head); letter-spacing: .04em; }
.b-a { grid-column: span 7; grid-row: span 4; }
.b-b { grid-column: span 5; grid-row: span 2; }
.b-c { grid-column: span 5; grid-row: span 2; }
.b-d { grid-column: span 4; grid-row: span 3; }
.b-e { grid-column: span 4; grid-row: span 3; }
.b-f { grid-column: span 4; grid-row: span 3; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .b-a { grid-column: span 2; grid-row: span 2; }
  .b-b, .b-c, .b-d, .b-e, .b-f { grid-column: span 1; grid-row: span 1; }
  .bento__cap span { display: none; }
}
.factory-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 40px; background: rgba(255,255,255,.1); border-radius: 16px; overflow: hidden; }
.factory-facts > div { background: #1b1916; padding: 24px; display: flex; gap: 14px; align-items: flex-start; }
.factory-facts svg { width: 26px; height: 26px; color: #ff5b66; flex: none; }
.factory-facts strong { display: block; color: #fff; font: 700 16px/1.3 var(--font-head); margin-bottom: 4px; }
.factory-facts span { font-size: 14px; color: #a8a097; }
@media (max-width: 900px) { .factory-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .factory-facts { grid-template-columns: 1fr; } }
.factory-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 28px 32px; border-radius: 16px; background: linear-gradient(110deg, var(--red-700), var(--red)); }
.factory-cta h3 { margin: 0 0 4px; font-size: clamp(20px, 2vw, 24px); }
.factory-cta p { margin: 0; color: #fbdcdf; }
.factory-cta .btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Dải ảnh xuất hàng (cuộn ngang) ---------- */
.ship__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.ship__track > a { position: relative; flex: 0 0 auto; width: clamp(200px, 21vw, 270px); aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; scroll-snap-align: start; background: var(--stone); }
.ship__track > a img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ship__track > a:hover img { transform: scale(1.05); }
.ship__intro { flex: 0 0 auto; width: clamp(260px, 28vw, 360px); display: flex; flex-direction: column; justify-content: center; padding-right: 12px; }
.ship__intro h2 { font-size: clamp(24px, 2.6vw, 32px); }
.ship__intro p { color: var(--muted); }

/* ---------- Cửa hàng 885 Trần Huy Liệu ---------- */
.storefront { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 20px; overflow: hidden; background: var(--stone); }
.storefront__img { position: relative; min-height: 380px; }
.storefront__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.storefront__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.storefront__body .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 900px) { .storefront { grid-template-columns: 1fr; } .storefront__img { min-height: 260px; } }

/* ---------- Trang nhà xưởng ---------- */
.page-hero-x { position: relative; min-height: 480px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; background: #111; }
.page-hero-x > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero-x::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,12,11,.94), rgba(14,12,11,.3) 75%); }
.page-hero-x .container { padding-block: 40px 48px; width: 100%; }
.page-hero-x h1 { color: #fff; font-size: clamp(30px, 4.4vw, 54px); margin-bottom: 12px; }
.page-hero-x p { color: #e4ded6; max-width: 720px; margin: 0 0 24px; font-size: 17px; }
.page-hero-x .breadcrumb, .page-hero-x .breadcrumb a { color: #cfc8bf; }
.page-hero-x .breadcrumb [aria-current] { color: #fff; }
.masonry { columns: 3 280px; column-gap: 14px; }
.masonry a { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; position: relative; background: var(--stone); }
.masonry img { width: 100%; transition: transform .6s; }
.masonry a:hover img { transform: scale(1.04); }
.masonry figure { margin: 0; }
.masonry figcaption { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font: 600 14px/1.3 var(--font-head); }
.zone-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.zone-nav .chips { padding-block: 12px; }
.zone { scroll-margin-top: calc(var(--header-h) + 70px); }

/* ---------- Lightbox zoom ---------- */
.lightbox img { cursor: zoom-in; }
.lightbox.is-zoomed { display: block; overflow: auto; padding: 0; }
.lightbox.is-zoomed img { max-width: none; max-height: none; width: auto; cursor: grab; border-radius: 0; }
.lightbox.is-zoomed img:active { cursor: grabbing; }
.lightbox.is-zoomed button { position: fixed; }
.lightbox.is-zoomed .lb-caption { position: fixed; }
.view-only { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); color: #e4ded6; font-size: 13.5px; }
.view-only svg { width: 16px; height: 16px; color: #ff5b66; }

@media (max-width: 900px) {
  .hero-x::before { background: linear-gradient(0deg, rgba(14,12,11,.95) 0%, rgba(14,12,11,.78) 60%, rgba(14,12,11,.55) 100%); }
  .b-f { grid-column: span 2; }
}

@keyframes navIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes sideIn { from { transform: translateX(-100%); } to { transform: none; } }
html, body { overflow-x: clip; }

/* ==========================================================================
   v3 – Polish: tiêu đề có chân, thẻ ảnh phủ chữ, họa tiết, khối liên hệ nền ảnh
   ========================================================================== */
:root { --font-display: "Playfair Display", Georgia, "Times New Roman", serif; --radius: 8px; }

h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.012em; line-height: 1.16; }
h1 em, h2 em { font-style: italic; }
.hero-x h1 { font-size: clamp(36px, 5.4vw, 70px); line-height: 1.04; }
.hero-x h1 em { font-weight: 600; }
.page-hero h1, .page-hero-x h1 { line-height: 1.1; }

/* Họa tiết dưới tiêu đề căn giữa */
.section-head--center .section-head__text::after {
  content: ""; display: block; width: 120px; height: 14px; margin: 18px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M0 7h48M72 7h48' stroke='%23c1202e' stroke-width='1.5'/%3E%3Cpath d='M60 1l6 6-6 6-6-6z' fill='%23c1202e'/%3E%3Ccircle cx='50' cy='7' r='1.8' fill='%23c1202e'/%3E%3Ccircle cx='70' cy='7' r='1.8' fill='%23c1202e'/%3E%3C/svg%3E") center/contain no-repeat;
}
.factory .section-head--center .section-head__text::after, .section--dark .section-head--center .section-head__text::after { filter: brightness(1.4); }

/* Nút: bo mềm hơn, nút chính có bóng */
.btn { border-radius: 10px; }
.btn:not(.btn--ghost):not(.btn--outline-light):not(.btn--light) { box-shadow: 0 8px 20px -10px rgba(0,0,0,.45); }
.btn--zalo { box-shadow: 0 8px 20px -10px rgba(0,104,255,.7) !important; }

/* Header: bóng nhẹ khi cuộn */
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(0,0,0,.35); }

/* Dải số liệu: số dùng font có chân */
.stat strong { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; }
.stat span { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }

/* ---------- Thẻ danh mục: chữ phủ trên ảnh ---------- */
.cat-card { border: 0; border-radius: 18px; background: #1d1b19; isolation: isolate; min-height: 260px; }
.cat-card__img { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.82)); transition: opacity .3s; }
.cat-card__body { margin-top: auto; padding: 22px; color: #fff; flex: 0 0 auto; }
.cat-card__body h3 { color: #fff; font-size: clamp(17px, 1.5vw, 21px); }
.cat-card__body p { color: #e3ddd4; }
.cat-card__count { color: #fff; padding-top: 10px; opacity: .9; }
.cat-card__count svg { transition: transform .2s; }
.cat-card:hover .cat-card__count svg { transform: translateX(4px); }
.cat-card--feature { min-height: 540px; }
.cat-card--feature .cat-card__img { position: absolute; inset: 0; min-height: 0; }
.cat-card--feature .cat-card__body h3 { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 34px); }
@media (max-width: 1024px) { .cat-card--feature { min-height: 360px; } }
@media (max-width: 680px) {
  .cat-card { min-height: 200px; border-radius: 14px; }
  .cat-card--feature { min-height: 280px; }
  .cat-card__body { padding: 14px; }
  .cat-card__body h3 { font-size: 15.5px; }
}

/* ---------- Thẻ sản phẩm ---------- */
.product__media { border-radius: 16px; transition: box-shadow .3s, border-color .3s; }
.product:hover .product__media { box-shadow: 0 18px 40px -22px rgba(0,0,0,.35); border-color: transparent; }
.product__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Đơn hàng thực tế ---------- */
.orders { display: grid; grid-template-columns: 1.05fr repeat(3, 1fr); gap: 20px; align-items: stretch; }
.order { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.order:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.order__img { aspect-ratio: 4/5; overflow: hidden; background: var(--stone); }
.order__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.order:hover .order__img img { transform: scale(1.05); }
.order__body { padding: 16px 18px 18px; }
.order__place { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.order__place svg { width: 14px; height: 14px; }
.order h3 { font-size: 16px; margin: 0 0 6px; }
.order time { font-size: 13.5px; color: var(--muted); }
.order--video { background: #111; border: 0; }
.order--video video { width: 100%; height: 100%; object-fit: cover; display: block; background: #111; }
.order--video .order__badge { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: rgba(193,32,46,.92); color: #fff; font: 700 12px/1 var(--font-head); pointer-events: none; }
.order--video .order__badge svg { width: 12px; height: 12px; }
@media (max-width: 1024px) { .orders { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .orders { grid-template-columns: 1fr 1fr; gap: 12px; }
  .order--video { grid-column: span 2; aspect-ratio: 9/14; }
  .order__body { padding: 12px; }
  .order h3 { font-size: 14px; }
}

/* ---------- Khối liên hệ có nền ảnh xưởng ---------- */
.cta { border-radius: 24px; box-shadow: 0 30px 60px -36px rgba(0,0,0,.5); }
.cta__info { position: relative; isolation: isolate; background: #141210; }
.cta__info::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/xuong/bat-phuong-800.jpg") center/cover; }
.cta__info::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(20,18,16,.94) 30%, rgba(110,15,24,.82)); }
.cta__form { background: #fff; }

/* ---------- Hero: chi tiết ---------- */
.hero-x__content .eyebrow { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.hero-x__content .eyebrow::before { width: 8px; height: 8px; border-radius: 50%; }
.hero-x__thumbs a { padding: 8px; border-radius: 14px; transition: background .2s; }
.hero-x__thumbs a:hover { background: rgba(255,255,255,.08); }
.hero-x__scroll { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.45); border-radius: 12px; }
.hero-x__scroll::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 900px) { .hero-x__scroll { display: none; } }

/* ---------- Catalogue band: tinh chỉnh ---------- */
.catalog-band { background: radial-gradient(120% 140% at 0% 0%, #d42a38 0%, var(--red) 40%, var(--red-900) 100%); }
.catalog-band h2 { font-size: clamp(28px, 3.4vw, 44px); }

/* ---------- Câu hỏi thường gặp ---------- */
.faq details { transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: transparent; box-shadow: 0 16px 40px -28px rgba(0,0,0,.4); }

/* ---------- Footer ---------- */
.site-footer { background: #12100e; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--red-900), var(--red), var(--red-900)); }

/* ---------- Mobile tinh chỉnh ---------- */
@media (max-width: 680px) {
  .section { padding-block: 56px; }
  .section-head { margin-bottom: 24px; }
  h2 { font-size: clamp(26px, 7vw, 32px); }
  .hero-x { min-height: 0; }
  .hero-x .container { padding-block: 72px 32px; }
  .hero-x h1 { font-size: clamp(34px, 10vw, 44px); }
  .hero-x__lead { font-size: 15.5px; }
  .hero-x__content .eyebrow { font-size: 10.5px; letter-spacing: .1em; }
  .stat strong { font-size: 26px; }
  .factory-cta { padding: 22px; }
  .factory-cta .btns, .factory-cta .btns .btn { width: 100%; }
  .catalog-band__list { grid-template-columns: 1fr; }
  .storefront__body .btns .btn, .hero__actions .btn { flex: 1 1 100%; }
  .contact-big { padding: 14px 16px; gap: 14px; }
  .contact-big__ic { width: 46px; height: 46px; }
  .cta { border-radius: 18px; }
  .page-hero-x { min-height: 400px; }
  .page-hero-x p { font-size: 15.5px; }
  .gallery { grid-auto-rows: 140px; }
  .pagination a, .pagination span { min-width: 40px; height: 40px; }
  .toolbar p { order: 3; width: 100%; }
  .footer-tags { display: none; }
  .footer-bottom nav { flex-wrap: wrap; gap: 8px 16px; }
}

/* Thẻ danh mục nhỏ: chỉ hiện tên + số mẫu, mô tả dành cho thẻ lớn */
.cat-card:not(.cat-card--feature) .cat-card__body p { display: none; }
.stat span { white-space: nowrap; }
@media (max-width: 760px) { .stat span { white-space: normal; } }

/* Xuất hàng: chữ tách khỏi dải cuộn (tránh bị scroll-snap che mất) */
.ship { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 28px; align-items: center; }
.ship__intro { width: auto; padding: 0; }
@media (max-width: 760px) {
  .ship { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ship__track { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .ship__track > a { width: 62vw; }
}

/* Catalogue: tiêu đề nhóm dài không bị bóp */
.cata-section__head h2 { flex: 1 1 auto; min-width: 0; }
.cata-section__head .btn { flex: none; }
/* Trang sản phẩm: 2 nút liên hệ full chiều ngang trên mobile */
@media (max-width: 560px) {
  .pdp-actions { grid-template-columns: 1fr; }
  .pdp-price { flex-wrap: wrap; gap: 4px 12px; padding: 14px 16px; }
  .pdp-price strong { font-size: 21px; }
  .cata-section__head h2 { font-size: 22px; }
}

/* Tiêu đề nhỏ dạng nhãn (sidebar, footer) giữ font không chân */
.site-footer h2, .sidebar h2, .aside-block h2, .side-box h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; line-height: 1.4; }

/* Khối thêm dưới bài được làm mới (SEO mục 6.3) */
.post-extra { margin-top: 48px; }
.post-extra h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 18px; }
.post-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.post-photos figure { margin: 0; }
.post-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.post-photos figcaption { margin-top: 6px; font: 600 13.5px/1.3 var(--font-head); color: var(--ink-2); }
@media (max-width: 680px) { .post-photos { grid-template-columns: 1fr 1fr; } }
