/* =========================================================
   TPH GLOBAL — DESIGN SYSTEM WEBSITE (bản mẫu giai đoạn 2, 16/11/2026)
   Màu + phông lấy từ bộ nhận diện TPH Global (tph-brand.css 1.0).
   Khi lên Laravel: file này thành resources/css/site.css.
   ========================================================= */

/* ---------- 1. TOKEN ---------- */
:root {
  --brand: #026939;        /* Xanh TPH */
  --brand-deep: #013D22;   /* Xanh rừng */
  --brand-hover: #015A31;
  --accent: #F6941E;       /* Cam TPH — chỉ nhấn ≤10%, không làm chữ trên nền sáng */
  --accent-ink: #9A5300;   /* Cam đất — chữ cam trên nền sáng */
  --cream: #FBF8F1;        /* Kem */
  --tint: #E7F2EC;         /* Lá non */
  --mist: #CFE3D7;         /* Sương — chữ phụ trên nền tối */
  --white: #FFFFFF;
  --ink: #14231B;          /* Mực */
  --muted: #56645B;        /* Rêu */
  --line: #DCE5DF;
  --line-strong: #B9C9BF;

  /* Một font duy nhất cho toàn website (anh Sinh yêu cầu 16/11/2026): Times New Roman */
  --font: "Times New Roman", Times, "Liberation Serif", "Nimbus Roman", serif;
  --font-accent: var(--font);

  /* Thang cỡ chữ (Times New Roman): phân cấp bằng cỡ, độ đậm, khoảng cách */
  --fs-h1: clamp(2.25rem, 1.7rem + 2.2vw, 3.25rem);   /* tiêu đề chính 36–52 px */
  --fs-h2: clamp(1.75rem, 1.45rem + 1.2vw, 2.375rem); /* tiêu đề mục 28–38 px */
  --fs-h3: 1.375rem;                                  /* tiêu đề phụ, tiêu đề thẻ 22 px */
  --fs-lead: 1.1875rem;                               /* đoạn mở đầu 19 px */
  --fs-body: 1.125rem;                                /* nội dung 18 px */
  --fs-ui: 1.0625rem;                                 /* menu, nút, ô nhập 17 px */
  --fs-small: .9375rem;                               /* chú thích, nhãn nhỏ 15 px */
  --fs-1: var(--fs-body); --fs-2: var(--fs-h2);

  --wrap: 1240px;
  --gutter: 24px;
  --section: clamp(64px, 5vw + 32px, 128px);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(20,35,27,.06), 0 8px 24px rgba(20,35,27,.06);
  --shadow-lift: 0 2px 4px rgba(20,35,27,.08), 0 16px 40px rgba(20,35,27,.10);
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 76px;
}
@media (max-width: 640px) { :root { --gutter: 16px; --header-h: 64px; } }

/* ---------- 2. NỀN TẢNG ---------- */
*, *::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; font-family: var(--font); font-size: var(--fs-body); line-height: 1.65; color: var(--ink); background: var(--white); font-weight: 400; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.12; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
em.accent, .accent-italic { font-family: var(--font-accent); font-style: italic; font-weight: 500; color: var(--brand); letter-spacing: 0; }
.on-dark em.accent { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand-deep); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3. BỐ CỤC ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section.tight { padding-block: calc(var(--section) * .6); }
.bg-cream { background: var(--cream); }
.bg-tint { background: var(--tint); }
.bg-deep { background: var(--brand-deep); color: #fff; }
.bg-deep h2, .bg-deep h3, .bg-deep h1 { color: #fff; }
.bg-deep p, .bg-deep .muted { color: var(--mist); }
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.wide-media { grid-template-columns: minmax(0,5fr) minmax(0,7fr); }
@media (max-width: 1024px) { .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 768px) { .g-2, .g-3, .split, .split.wide-media { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .g-4, .g-3 { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: 16px; }
.muted { color: var(--muted); }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Tiêu đề khối */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 6px; background: var(--accent); transform: skewX(-13deg); }
.bg-deep .eyebrow, .cta-band .eyebrow { color: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head > div { max-width: 680px; }
.section-head h2 { margin-bottom: .3em; }
.section-head p { margin: 0; color: var(--muted); font-size: var(--fs-lead); }
@media (max-width: 768px) { .section-head { flex-direction: column; align-items: start; } }

/* ---------- 4. NÚT ---------- */
.btn { --bg: var(--brand); --fg: #fff; --bd: var(--brand); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg); font: 600 var(--fs-ui)/1.2 var(--font); cursor: pointer; transition: background .15s var(--ease), color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease); white-space: nowrap; }
.btn:hover { --bg: var(--brand-hover); --bd: var(--brand-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(2,105,57,.22); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn .i { transition: transform .2s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-ghost { --bg: transparent; --fg: var(--brand); --bd: var(--line-strong); }
.btn-ghost:hover { --bg: var(--tint); --bd: var(--brand); --fg: var(--brand); box-shadow: none; }
.btn-light { --bg: #fff; --fg: var(--brand-deep); --bd: #fff; }
.btn-light:hover { --bg: var(--cream); --bd: var(--cream); }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.5); }
.btn-outline-light:hover { --bg: rgba(255,255,255,.1); --bd: #fff; box-shadow: none; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: var(--fs-ui); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); background: linear-gradient(currentColor,currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .25s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.bg-deep .link-arrow { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .btn-row .btn { flex: 1 1 100%; } }

/* ---------- 5. HEADER ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(20,35,27,.05); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand-logo img { height: 46px; width: auto; }
@media (max-width: 640px) { .brand-logo img { height: 38px; } }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 10px 14px; color: var(--ink); font-weight: 600; font-size: var(--fs-ui); border-radius: 8px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--brand); background: var(--tint); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; background: var(--accent); transform: skewX(-13deg); }
.header-cta { margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: #fff; padding: 24px var(--gutter) 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.mobile-menu.open { opacity: 1; transform: none; visibility: visible; }
.mobile-menu a.m-link { display: flex; justify-content: space-between; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font-size: var(--fs-lead); font-weight: 700; color: var(--ink); }
.mobile-menu .btn { margin-top: 28px; width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- 6. HERO ---------- */
.hero { position: relative; background: var(--cream); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(32px, 4vw, 64px); align-items: center; min-height: min(calc(100svh - var(--header-h)), 820px); padding-block: 56px; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; }
.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.3; box-shadow: var(--shadow-lift); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: 20px; bottom: 20px; display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.95); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); max-width: calc(100% - 40px); }
.hero-badge strong { display: block; font-size: var(--fs-ui); }
.hero-badge span { font-size: var(--fs-small); color: var(--muted); }
.hero-badge .dot { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-facts span { display: block; line-height: 1.4; }
.hero-facts b { display: block; font-size: var(--fs-h3); font-weight: 800; color: var(--brand-deep); line-height: 1.2; }
.hero-facts span { font-size: var(--fs-small); color: var(--muted); }
.slash { position: absolute; width: 180px; height: 22px; background: var(--accent); transform: skewX(-13deg); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-block: 40px 56px; }
  .hero-media { aspect-ratio: 4/3; }
}

/* Hero trang con */
.page-hero { background: var(--cream); padding-block: clamp(48px, 6vw, 96px) clamp(40px, 5vw, 72px); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero.has-media .wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.page-hero.has-media .media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/11; }
.page-hero.has-media .media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .page-hero.has-media .wrap { grid-template-columns: 1fr; } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-small); color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* Hiệu ứng vào trang — chỉ hero, chạy một lần */
@media (prefers-reduced-motion: no-preference) {
  .js [data-enter] > * { opacity: 0; transform: translateY(14px); }
  .js [data-enter].in > * { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js [data-enter].in > *:nth-child(2) { transition-delay: .08s; }
  .js [data-enter].in > *:nth-child(3) { transition-delay: .16s; }
  .js [data-enter].in > *:nth-child(4) { transition-delay: .24s; }
  .js [data-enter].in > *:nth-child(5) { transition-delay: .32s; }
  .js .hero-media[data-settle] img { transform: scale(1.05); }
  .js .hero-media[data-settle].in img { transform: scale(1); transition: transform 1.2s var(--ease); }
}

/* ---------- 7. THẺ ---------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
a.card, .card.linked { color: inherit; }
a.card:hover, .card.linked:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: transparent; }
.card .media { overflow: hidden; background: var(--cream); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
a.card:hover .media img, .card.linked:hover .media img { transform: scale(1.03); }
.card .body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .body h3 { margin: 0; }
.card .body p { margin: 0; color: var(--muted); font-size: var(--fs-ui); }
.card .foot { margin-top: auto; padding-top: 12px; }
.ratio-1 { aspect-ratio: 1/1; } .ratio-43 { aspect-ratio: 4/3; } .ratio-169 { aspect-ratio: 16/9; } .ratio-34 { aspect-ratio: 3/4; }

/* Thẻ lĩnh vực / giá trị */
.feature { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; }
.feature .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 20px; }
.feature .ico .i { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: var(--fs-ui); }
.bg-deep .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.bg-deep .feature .ico { background: rgba(246,148,30,.14); color: var(--accent); }
.bg-deep .feature p { color: var(--mist); }
.num { font-family: var(--font-accent); font-style: italic; font-size: var(--fs-lead); color: var(--accent-ink); }
.bg-deep .num { color: var(--accent); }

/* Thẻ thương hiệu lớn */
.brand-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); color: inherit; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.brand-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.brand-card .media { aspect-ratio: 4/3.4; overflow: hidden; position: relative; }
.brand-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.brand-card:hover .media img { transform: scale(1.03); }
.brand-card .logo-chip { position: absolute; left: 16px; top: 16px; background: #fff; border-radius: 12px; padding: 8px 12px; box-shadow: var(--shadow); height: 56px; display: flex; align-items: center; }
.brand-card .logo-chip img { height: 40px; width: auto; }
.brand-card .logo-chip .txt { font-weight: 800; color: var(--brand-deep); }
.brand-card .body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.brand-card .body p { color: var(--muted); margin: 0; }
.brand-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* Thẻ sản phẩm */
.product-card .media { aspect-ratio: 1/1; background: #fff; border-bottom: 1px solid var(--line); }
.product-card .media img { object-fit: contain; padding: 6%; }
.product-card .brand-name { font-size: var(--fs-small); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.product-card h3 { font-size: var(--fs-lead); line-height: 1.35; }
.product-card .spec { font-size: var(--fs-small); color: var(--muted); }
.product-card .foot { display: flex; gap: 8px; align-items: center; justify-content: space-between; }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--brand-deep); font-size: var(--fs-small); font-weight: 600; }
.tag.soon { background: #FDEBD3; color: var(--accent-ink); }
.bg-deep .tag { background: rgba(255,255,255,.1); color: #fff; }

/* Thẻ bài viết */
.post-card .media { aspect-ratio: 16/10; }
.post-card .meta { font-size: var(--fs-small); color: var(--muted); display: flex; gap: 12px; }
.post-card h3 { font-size: var(--fs-lead); line-height: 1.4; }

/* ---------- 8. KHỐI ĐẶC THÙ ---------- */
/* Ảnh lớn có khung */
.photo { border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; aspect-ratio: 1.15/1; }
.photo-stack .photo:first-child { grid-row: span 2; }

/* Danh sách có dấu tích */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li .i { color: var(--brand); margin-top: 3px; }
.bg-deep .checks li .i { color: var(--accent); }

/* Dải số liệu */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.stats div { padding-left: 20px; border-left: 3px solid var(--accent); }
.stats b { display: block; font-size: var(--fs-h2); font-weight: 800; line-height: 1.1; color: var(--brand-deep); }
.stats span { color: var(--muted); font-size: var(--fs-ui); }
.bg-deep .stats b { color: #fff; }
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Quy trình theo bước */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.steps li { list-style: none; position: relative; padding-top: 56px; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; top: 0; left: 0; font: italic 500 var(--fs-h3) var(--font-accent); color: var(--accent-ink); }
.steps li::after { content: ""; position: absolute; top: 18px; left: 52px; right: -12px; height: 1px; background: var(--line-strong); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: var(--fs-lead); margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: var(--fs-ui); margin: 0; }
.steps { padding: 0; margin: 0; }
.bg-deep .steps li::before { color: var(--accent); }
.bg-deep .steps li::after { background: rgba(255,255,255,.2); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Dòng thời gian */
.timeline { position: relative; padding: 0; margin: 0; list-style: none; display: grid; gap: 32px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); }
.timeline li { position: relative; padding-left: 40px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline .when { font-weight: 800; color: var(--brand); }
.timeline h3 { font-size: var(--fs-lead); margin: 2px 0 4px; }
.timeline p { margin: 0; color: var(--muted); }

/* Dải CTA */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--brand-deep); color: #fff; padding: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: var(--mist); margin: 0; }
.cta-band .slash { right: -30px; top: 28px; }
.cta-band .slash + .slash { top: 60px; right: 40px; width: 120px; background: var(--brand); }
.cta-options { display: grid; gap: 12px; }
.cta-options a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; font-weight: 600; transition: background .15s, border-color .15s; }
.cta-options a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.cta-options a small { display: block; color: var(--mist); font-weight: 400; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* Ô "PLACEHOLDER" — nội dung chờ anh Sinh bổ sung */
.ph { position: relative; display: block; border: 1.5px dashed #C9A15C; background: repeating-linear-gradient(-45deg, #FFF8EC, #FFF8EC 10px, #FFF3DE 10px, #FFF3DE 20px); color: var(--accent-ink); border-radius: var(--radius); padding: 16px 18px; font-size: var(--fs-small); line-height: 1.5; }
.ph::before { content: "PLACEHOLDER"; display: block; font-weight: 800; font-size: var(--fs-small); letter-spacing: .14em; margin-bottom: 4px; }
.ph.fill { display: grid; place-content: center; text-align: center; min-height: 100%; }
.ph-inline { border-bottom: 1.5px dashed #C9A15C; background: #FFF3DE; color: var(--accent-ink); padding: 0 4px; border-radius: 3px; }
.bg-deep .ph { color: var(--accent-ink); }

/* ---------- 9. FORM ---------- */
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: var(--fs-ui); }
.field label .req { color: #B42318; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 var(--fs-ui) var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: 10px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(2,105,57,.12); }
.field .hint { font-size: var(--fs-small); color: var(--muted); }
.field.error input, .field.error textarea { border-color: #B42318; }
.field .err { font-size: var(--fs-small); color: #B42318; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-weight: 600; font-size: var(--fs-ui); transition: all .15s; }
.segmented input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }

/* ---------- 10. SẢN PHẨM: BỘ LỌC ---------- */
.catalog { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 28px; }
.filters h3 { font-size: var(--fs-small); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.filters .opt { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; font-weight: 500; }
.filters .opt input { width: 18px; height: 18px; accent-color: var(--brand); }
.filters .opt .count { margin-left: auto; color: var(--muted); font-size: var(--fs-small); }
.catalog-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search input { width: 100%; min-height: 48px; padding: 12px 16px 12px 44px; border: 1.5px solid var(--line-strong); border-radius: 999px; font: 400 var(--fs-ui) var(--font); }
.search .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-toggle { display: none; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0 0; z-index: 60; background: #fff; border-radius: 20px 20px 0 0; padding: 24px var(--gutter) 32px; max-height: 80vh; overflow-y: auto; box-shadow: 0 -10px 40px rgba(0,0,0,.15); transform: translateY(105%); transition: transform .25s var(--ease); }
  .filters.open { transform: none; }
  .filter-toggle { display: inline-flex; }
}
.empty-state { padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* Chi tiết sản phẩm */
.pdp { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.gallery-main { aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumbs button { aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--line); background: #fff; padding: 0; cursor: pointer; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(2,105,57,.15); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.variant-list { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-ui); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 500; padding-right: 16px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.tabs button { padding: 14px 18px; border: 0; background: none; font: 600 var(--fs-ui) var(--font); color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; min-height: 48px; }
.tabs button[aria-selected="true"] { color: var(--brand); border-color: var(--brand); }
.tab-panel[hidden] { display: none; }
.doc-link { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); transition: border-color .15s, background .15s; }
.doc-link:hover { border-color: var(--brand); background: var(--tint); }
.doc-link .i { color: var(--brand); width: 24px; height: 24px; }
.buy-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* Video */
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video .play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--brand); border: 0; display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.video .play:hover { transform: scale(1.06); }
.video .play .i { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 4px; }

/* Tin tức */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips button { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font: 600 var(--fs-ui) var(--font); cursor: pointer; transition: all .15s; }
.chips a:hover, .chips button:hover { border-color: var(--brand); color: var(--brand); }
.chips [aria-pressed="true"], .chips [aria-current="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.feature-post { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 40px; align-items: center; color: inherit; }
.feature-post .media { aspect-ratio: 16/10; border-radius: var(--radius-lg); overflow: hidden; }
.feature-post .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.feature-post:hover .media img { transform: scale(1.02); }
@media (max-width: 860px) { .feature-post { grid-template-columns: 1fr; } }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.pagination a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Liên hệ */
.contact-list { display: grid; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-item b { display: block; }
.contact-item span, .contact-item a { color: var(--muted); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--tint); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 11. FOOTER ---------- */
.site-footer { background: var(--brand-deep); color: var(--mist); padding-top: 72px; font-size: var(--fs-ui); }
.site-footer a { color: var(--mist); transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-grid h3 { color: #fff; font-size: var(--fs-small); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 20px; }
.footer-brand p { margin-bottom: 8px; }
.footer-reg { font-size: var(--fs-small); line-height: 1.6; }
.footer-bct img { height: 48px; width: auto; display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: var(--fs-small); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Nút liên hệ nổi — gọn, không che nội dung */
.float-contact { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: grid; gap: 10px; }
.float-contact a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(1,61,34,.3); transition: transform .15s var(--ease); }
.float-contact a:hover { transform: translateY(-2px); }
.float-contact a.zalo { background: #fff; color: var(--brand); border: 1px solid var(--line); font-weight: 800; font-size: var(--fs-small); }

/* Thanh ghi chú bản mẫu */
.mock-bar { background: #14231B; color: #CFE3D7; font-size: var(--fs-small); text-align: center; padding: 8px 16px; }
.mock-bar a { color: #fff; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }
@media print { .site-header, .float-contact, .mock-bar, .site-footer { display: none; } }

/* ---------- 12. TRANG THƯƠNG HIỆU (chuyển từ bản mẫu) ---------- */
.brand-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.brand-row.flip .brand-media { order: 2; }
.brand-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1; }
.brand-media img { width: 100%; height: 100%; object-fit: cover; }
.brand-logo-lg { height: 72px; width: auto; margin-bottom: 24px; }
.brand-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 28px; }
.brand-meta div { padding: 16px; background: var(--cream); border-radius: 12px; }
.bg-cream .brand-meta div { background: #fff; }
.brand-meta b { display: block; font-size: var(--fs-small); color: var(--muted); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 860px) { .brand-row { grid-template-columns: 1fr; } .brand-row.flip .brand-media { order: 0; } }
@media (max-width: 480px) { .brand-meta { grid-template-columns: 1fr; } }
.brand-hero { background: #F3F7F2; }
.brand-hero .logo { height: 96px; width: auto; margin-bottom: 20px; }
/* Thư viện ảnh thương hiệu: xếp so le theo cột, ảnh giữ nguyên tỉ lệ (ảnh chụp dọc người mẫu không bị cắt) */
.gallery-grid { columns: 3; column-gap: 16px; }
.gallery-grid .photo { break-inside: avoid; margin: 0 0 16px; }
.gallery-grid .photo img { height: auto; display: block; }
@media (max-width: 768px) { .gallery-grid { columns: 2; column-gap: 12px; } .gallery-grid .photo { margin-bottom: 12px; } }
.video .play[disabled] { opacity: .6; cursor: not-allowed; }

/* Bài viết, chính sách */
.prose { max-width: 72ch; font-size: var(--fs-body); }
.prose h2 { font-size: var(--fs-h3); margin-top: 1.6em; }
.prose img { border-radius: var(--radius); }
.alert { padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.alert-ok { background: var(--tint); color: var(--brand-deep); border: 1px solid #BFD9C8; }
.alert-err { background: #FEECEB; color: #8A1C12; border: 1px solid #F4C7C3; }
@media (min-width: 901px) { .filter-mobile-head { display: none !important; } }
.filter-submit[hidden] { display: none; }
.brand-logo { display: inline-flex; align-items: center; min-height: 48px; }
.partner-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; align-items: center; }
.partner-logos a, .partner-logos span { display: grid; place-items: center; height: 88px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.partner-logos img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.partner-logos a:hover img { filter: none; opacity: 1; }
/* Tiêu đề chân trang, bộ lọc (h2 cho đúng thứ tự tiêu đề, giữ cỡ chữ nhỏ) */
.footer-grid .footer-title { color: #fff; font-size: var(--fs-small); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.filters .filter-title { font-size: var(--fs-small); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

/* ---------- Trang thương hiệu: câu chuyện, giá trị, lời nhận xét, kênh bán (16/11/2026) ---------- */
.section-sm { padding: 40px 0; }
.brand-buy { margin-top: 18px; color: var(--muted, #5b6b5e); font-size: var(--fs-ui); }
.brand-buy a { margin-left: 10px; font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.story-photo { aspect-ratio: 4/3; }
.quote-split { align-items: center; }
.quote-photo { aspect-ratio: 3/4; max-width: 380px; }
.brand-quote { margin: 0; }
.brand-quote blockquote { margin: 0; }
.brand-quote blockquote p { font-family: var(--font-accent); font-style: italic; font-size: var(--fs-h2); line-height: 1.3; margin: 0; }
.brand-quote blockquote p::before { content: "\201C"; color: var(--accent); margin-right: .1em; }
.brand-quote blockquote p::after { content: "\201D"; color: var(--accent); margin-left: .05em; }
.brand-quote figcaption { margin-top: 20px; font-weight: 600; letter-spacing: .02em; }
.brand-quote figcaption::before { content: "— "; }
.video video { width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }
.brand-social { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.brand-social .eyebrow { margin: 0; }
@media (max-width: 900px) { .quote-photo { max-width: 260px; } }
.footer-shops { display: block; margin-top: 2px; font-size: var(--fs-small); opacity: .8; }
.footer-shops a + a { margin-left: 10px; }
.press-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.press-card b { font-size: var(--fs-body); line-height: 1.4; }
.press-meta { font-size: var(--fs-small); color: var(--muted, #5b6b5e); }
.press-kind { margin-top: auto; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.press-kind .i { width: 16px; height: 16px; }
.press-thumb { position: relative; display: block; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #000; margin-bottom: 4px; }
.press-thumb img { width: 100%; height: 100%; object-fit: cover; }
.press-thumb .play-dot { position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; }
.press-thumb .play-dot .i { width: 20px; height: 20px; fill: currentColor; stroke: none; margin-left: 3px; }

/* ---------- Typography: một font Times New Roman cho mọi thành phần (16/11/2026) ---------- */
button, input, select, textarea, optgroup, code, kbd, pre, samp { font-family: var(--font); }
button, input, select, textarea { font-size: var(--fs-ui); }
small { font-size: var(--fs-small); }

/* ---------- Câu hỏi thường gặp, liên kết danh mục (18/11/2026) ---------- */
.faq-wrap { max-width: 880px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; font-weight: 700; font-size: var(--fs-body); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 4px; }
.faq details p { margin: 0 0 20px; color: var(--muted); }
.cat-nav { margin-top: 24px; }
.spec-table a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* Liên kết nhanh (chuyển từ chân trang lên, 19/11/2026) */
.pre-footer { background: var(--cream); border-top: 1px solid rgba(2,105,57,.12); padding: 40px 0; font-size: var(--fs-ui); }
.pre-footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.pre-footer-title { font-size: var(--fs-small); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.pre-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pre-footer ul ul, .pre-footer-grid > div:first-child ul { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pre-footer a { color: var(--ink); }
.pre-footer a:hover { color: var(--brand); }
.pre-footer .footer-shops a { color: var(--brand); }
/* Chân trang y hệt web cũ (đã đăng ký Bộ Công Thương) */
.old-footer { background: var(--brand-deep); color: #fff; padding: 36px 0 28px; }
.old-footer a { color: #fff; }
.old-footer a:hover { text-decoration: underline; color: #fff; }
.old-footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.old-footer-title { color: #fff; font-size: var(--fs-ui); font-weight: 700; margin: 0 0 12px; }
.old-footer-grid p { margin: 0 0 8px; font-size: var(--fs-small); line-height: 1.5; }
.old-footer-grid div > .old-footer-title + p + .old-footer-title { margin-top: 18px; }
.old-footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: var(--fs-small); }
.old-footer-tiktok { display: inline-block; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 4px 14px; }
@media (max-width: 900px) { .old-footer-grid { grid-template-columns: 1fr 1fr; } .pre-footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .old-footer-grid { grid-template-columns: 1fr; } }

/* Giá + giỏ hàng (19/11/2026) */
.product-card .price { display: block; margin-top: 4px; font-weight: 700; color: var(--brand); font-size: var(--fs-ui); }
.pdp-price { margin: 12px 0 0; font-size: var(--fs-h3); font-weight: 700; color: var(--brand); }
.buy-box { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 24px; }
.buy-box .qty { display: grid; gap: 6px; font-size: var(--fs-small); color: var(--muted); }
.buy-box .qty input, .qty-input { width: 84px; min-height: 48px; padding: 8px 12px; border: 1.5px solid var(--line-strong); border-radius: 12px; font: inherit; font-size: var(--fs-ui); background: #fff; }
.header-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); margin-left: auto; }
.header-cart .i { width: 26px; height: 26px; }
.header-cart:hover { background: var(--tint); color: var(--brand); }
.cart-badge { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; line-height: 20px; text-align: center; }
.site-header .nav + .header-cart { margin-left: 0; }
@media (max-width: 1080px) { .site-header .nav + .header-cart { margin-left: auto; } .site-header .header-cart ~ .menu-toggle { margin-left: 0; } .site-header .wrap { gap: 12px; } }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-table { width: 100%; border-collapse: collapse; font-size: var(--fs-ui); }
.cart-table th { text-align: left; font-size: var(--fs-small); color: var(--muted); font-weight: 600; padding: 0 8px 12px 0; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 16px 8px 16px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.cart-item img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: var(--cream); }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: var(--fs-small); }
.link-btn:hover { color: #8A1C12; }
@media (max-width: 640px) {
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .cart-table td { border: 0; padding: 4px 0; }
  .cart-table td[data-label]:not([data-label="Sản phẩm"])::before { content: attr(data-label) ": "; color: var(--muted); font-size: var(--fs-small); }
}
.cart-summary { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg, 20px); padding: 24px; display: grid; gap: 16px; }
.cart-summary h2 { font-size: var(--fs-h3); margin: 0; }
.cart-summary dl { margin: 0; display: grid; gap: 10px; }
.cart-summary dl div { display: flex; justify-content: space-between; gap: 12px; }
.cart-summary dt { color: var(--muted); }
.cart-summary dd { margin: 0; text-align: right; }
.cart-mini { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.cart-mini li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.small-note { font-size: var(--fs-small); color: var(--muted); margin: 0; }
.small-note a, .pay-options a, .field .radio a { color: var(--brand); text-decoration: underline; }
.pay-options { border: 0; padding: 0; margin: 0; }
.pay-options legend { font-weight: 600; margin-bottom: 8px; }
.radio { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.radio input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); flex: none; }

/* Ảnh không bị cắt (site.js gắn lớp .img-fit khi ảnh lệch tỉ lệ khung quá nhiều):
   hiện trọn ảnh, phần trống lót bằng chính ảnh đó làm mờ. */
.img-fit { position: relative; overflow: hidden; isolation: isolate; }
.img-fit::before { content: ""; position: absolute; inset: -24px; z-index: 0; background: var(--fit-bg) center / cover no-repeat; filter: blur(22px) saturate(1.05); opacity: .6; }
.img-fit > img { position: relative; z-index: 1; object-fit: contain !important; }
