/* =========================================================
   NAVECARE+ — Hướng B "Silver Orbit"
   Bảng màu & font theo Website Creative Brief
   ========================================================= */
:root {
  --teal: #006A70;        /* Deep Teal — nút, link, điểm nhấn */
  --teal-dark: #0D292B;   /* Dark Teal — tiêu đề mạnh, hero, footer */
  --silver: #C0C0C0;      /* Metallic Silver — viền, chi tiết */
  --white: #F5F7F6;       /* Soft White — nền chính */
  --text: #263536;        /* Chữ thân bài */
  --muted: #5D6B6A;
  --line: #E3E8E6;
  --women: #8FB8A8;       /* màu nhãn dòng nữ (tạm) */
  --men: #1F3A5C;         /* màu nhãn dòng nam (tạm) */
  --radius: 10px;
  --max: 1200px;
  --head: 'Manrope', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--head); color: var(--teal-dark); margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section--white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; color: var(--teal); text-transform: uppercase; }
.h2 { font-size: clamp(30px, 3.2vw, 40px); font-weight: 600; line-height: 1.15; }
.lead { font-size: 18px; line-height: 1.65; }
.link-arrow { font-weight: 600; font-size: 15px; text-decoration: none; }
.link-arrow::after { content: ' →'; }
.placeholder { color: #8A6D1F; background: #FBF4E2; border-radius: 4px; padding: 0 4px; font-size: 0.95em; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--body); transition: background .2s, color .2s, border-color .2s; }
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }
.btn--light { background: var(--white); color: var(--teal-dark); }
.btn--light:hover { background: #fff; color: var(--teal); }
.btn--ghost-light { border-color: rgba(192,192,192,.6); color: var(--white); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }
.btn--outline { border-color: var(--teal-dark); color: var(--teal-dark); }
.btn--outline:hover { background: var(--teal-dark); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.site-header--dark { background: rgba(245,247,246,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.site-header.is-solid { box-shadow: 0 6px 24px rgba(13,41,43,.06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.site-header .logo img { height: 24px; width: auto; }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; position: relative; padding: 6px 0; }
.nav a:hover { color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal); }
.nav a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--teal); }
.header-right { display: flex; align-items: center; gap: 20px; }
.lang { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--teal); text-decoration: none; }
.lang span { color: #9AA6A5; }
.menu-btn { display: none; background: none; border: 1px solid #CBD3D1; color: var(--teal-dark); width: 44px; height: 44px; border-radius: 8px; cursor: pointer; align-items: center; justify-content: center; }

/* ---------- Hero tối ---------- */
.dark { background: radial-gradient(ellipse at 70% 40%, #134246 0%, #0D292B 62%); color: #E6ECEB; overflow: hidden; }
.dark h1, .dark h2 { color: #fff; }
.hero { }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 112px; }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__visual { flex: 1 1 460px; min-width: 0; height: 600px; position: relative; display: flex; align-items: center; justify-content: center; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; border: 1px solid rgba(192,192,192,.45); border-radius: 999px; padding: 8px 16px; font-size: 12px; font-weight: 600; letter-spacing: .16em; color: #D8DEDD; }
.pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg,#fff,#9EA7A8); }
.hero h1 { font-weight: 300; font-size: clamp(38px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.025em; }
.silver-text { font-weight: 600; background: linear-gradient(90deg,#fff,#AEB7B8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: 18px; color: #B9C6C5; max-width: 460px; }

/* Hero trang con (thấp hơn) */
.page-hero { }
.page-hero__inner { padding-top: 72px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; position: relative; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 300; line-height: 1.08; max-width: 720px; }
.page-hero p { color: #B9C6C5; max-width: 520px; font-size: 17px; margin-top: 20px; }
.page-hero .orbit-mini { position: absolute; right: -60px; top: -40px; width: 420px; height: 420px; opacity: .7; pointer-events: none; }
.breadcrumb { font-size: 13px; color: #8FA2A2; margin-bottom: 20px; }
.breadcrumb a { color: #B9C6C5; text-decoration: none; }

/* ---------- Quỹ đạo (chữ ký hướng B) ---------- */
.orbit { position: absolute; width: 600px; max-width: 100%; height: 600px; }
.orbit .ring { transform-origin: 300px 300px; }
@media (prefers-reduced-motion: no-preference) {
  .orbit .ring--a { animation: spin 60s linear infinite; }
  .orbit .ring--b { animation: spin 90s linear infinite reverse; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Chai giả lập (thay bằng ảnh thật) ---------- */
.bottle { position: relative; display: flex; flex-direction: column; align-items: center; --w: 90px; --h: 196px; --label: var(--teal); }
.bottle__cap { width: calc(var(--w) * .34); height: calc(var(--w) * .1); background: #CDD3D2; border-radius: 4px 4px 0 0; }
.bottle__neck { width: calc(var(--w) * .2); height: calc(var(--w) * .33); background: linear-gradient(90deg,#AEB6B7,#F2F4F3,#AEB6B7); }
.bottle__body { width: var(--w); height: var(--h); border-radius: calc(var(--w) * .2); background: linear-gradient(90deg,#DCE3E1,#fff 45%,#D2D9D8); display: flex; align-items: flex-end; padding-bottom: calc(var(--h) * .11); box-shadow: 0 20px 40px rgba(13,41,43,.12); }
.bottle__label { width: 100%; height: 49%; background: var(--label); }
.bottle--spray .bottle__cap { width: calc(var(--w) * .16); height: calc(var(--w) * .28); border-radius: 3px 3px 0 0; background: #AEB6B7; }
.bottle--spray .bottle__neck { height: calc(var(--w) * .12); }
.bottle--xl { --w: 150px; --h: 330px; }
.bottle--xl .bottle__body { box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.bottle--lg { --w: 130px; --h: 286px; }
.ph-note { font-size: 12px; color: #8FA2A2; letter-spacing: .04em; margin-top: 20px; text-align: center; }

/* ---------- Giới thiệu thương hiệu ---------- */
.intro { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.intro img { height: 22px; width: auto; }
.statement { max-width: 820px; font-family: var(--head); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.45; font-weight: 500; color: var(--teal-dark); }

/* ---------- SilverBiome ---------- */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.orbit-diagram { position: relative; height: 460px; }
.orbit-diagram svg { width: 100%; height: 100%; }
.orbit-diagram .lbl { position: absolute; font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--teal-dark); background: #fff; padding: 0 8px; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.feature-list { display: flex; flex-direction: column; }
.feature { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); margin-top: 8px; flex-shrink: 0; }
.feature .dot--dark { background: var(--teal-dark); }
.feature h3 { font-size: 18px; font-weight: 600; }
.feature p { margin-top: 4px; }

/* ---------- Thẻ sản phẩm ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product-card { text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 18px; }
.product-card__media { height: 340px; border-radius: 12px; background: radial-gradient(circle at 50% 42%, #fff 0%, #E9EEED 70%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product-card__media::before { content: ''; position: absolute; width: 230px; height: 230px; border-radius: 50%; border: 1px solid var(--silver); opacity: .6; transition: transform .5s; }
.product-card:hover .product-card__media::before { transform: scale(1.08); }
.product-card .line { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--teal); }
.product-card .name { font-family: var(--head); font-size: 19px; font-weight: 600; color: var(--teal-dark); display: block; }
.product-card .size { font-size: 14px; color: var(--muted); }
.product-card.is-hidden { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #CBD3D1; background: #fff; color: var(--text); font: 500 14px var(--body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }

/* ---------- Dải teal ---------- */
.band { background: var(--teal); color: #E9F2F2; }
.band__grid { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.band h2 { color: #fff; font-size: 32px; font-weight: 600; line-height: 1.2; }
.band a { color: #fff; }
.band .col { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid rgba(255,255,255,.35); padding-top: 20px; }
.band .col h3 { color: #fff; font-size: 18px; font-weight: 600; }

/* ---------- Trang Công nghệ ---------- */
.component { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding: 96px 0; border-top: 1px solid var(--line); }
.component:nth-child(even) { flex-direction: row-reverse; }
.component > * { flex: 1 1 420px; min-width: 0; }
.component__num { font-family: var(--head); font-size: 14px; font-weight: 600; color: #8A9594; }
.component__visual { height: 340px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.component__visual svg { width: 240px; height: 240px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 8px; }
.fact { background: var(--white); border-radius: 8px; padding: 16px; font-size: 14px; }
.fact b { display: block; font-family: var(--head); color: var(--teal-dark); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.notice { border: 1px dashed #C9B26B; background: #FFFBF0; border-radius: 8px; padding: 16px 20px; font-size: 14px; color: #6B5A22; }

/* ---------- Chi tiết sản phẩm ---------- */
.pdp { display: flex; flex-wrap: wrap; gap: 64px; padding: 64px 0 96px; }
.pdp__gallery { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pdp__main { height: 560px; border-radius: 12px; background: radial-gradient(circle at 50% 42%, #fff 0%, #E9EEED 72%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.pdp__main::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 1px solid var(--silver); opacity: .6; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pdp__thumbs div { height: 96px; border-radius: 8px; background: #E9EEED; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); text-align: center; padding: 4px; }
.pdp__info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pdp__info h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; line-height: 1.12; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; border: 1px solid #CBD3D1; border-radius: 999px; padding: 6px 12px; color: var(--teal-dark); }
.buy { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.buy .btn { width: 100%; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--head); font-weight: 600; color: var(--teal-dark); display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--teal); }
.acc details[open] summary::after { content: '–'; }
.acc .acc__body { padding: 0 0 22px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec td:first-child { color: var(--muted); width: 40%; }

/* ---------- Về chúng tôi ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--silver); }
.values > div { padding: 36px 32px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.values .num { font-family: var(--head); font-weight: 600; color: #8A9594; font-size: 14px; }
.values h3 { font-size: 22px; font-weight: 600; }
.company { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.company div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.company b { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }

/* ---------- Liên hệ ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 64px; }
.contact-grid > * { flex: 1 1 420px; min-width: 0; }
.channel { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); min-height: 44px; }
.channel:hover { border-color: var(--teal); }
.channel b { font-family: var(--head); color: var(--teal-dark); font-size: 18px; display: block; }
.channel span { font-size: 14px; color: var(--muted); }
.channels { display: flex; flex-direction: column; gap: 12px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--teal-dark); }
.field input, .field select, .field textarea { font: 16px var(--body); color: var(--text); padding: 12px 14px; border: 1px solid #CBD3D1; border-radius: 8px; background: #fff; min-height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,106,112,.15); }
.form-msg { font-size: 14px; color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { background: #fff; color: var(--text); font-size: 14px; border-top: 1px solid var(--line); }
.site-footer__top { padding: 72px 0 48px; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.site-footer__brand { flex: 1 1 300px; display: flex; flex-direction: column; gap: 18px; max-width: 380px; }
.site-footer__brand img { height: 24px; width: auto; align-self: flex-start; }
.site-footer h4 { color: var(--teal-dark); font-size: 14px; font-weight: 600; margin: 0 0 14px; font-family: var(--body); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.site-footer__bottom { border-top: 1px solid var(--line); padding: 24px 0 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; padding: 8px 24px 24px; display: none; border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(13,41,43,.08); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-header.menu-open { background: var(--white); }
  .hero__visual { height: 440px; }
  .orbit { width: 440px; height: 440px; }
  .bottle--xl { --w: 112px; --h: 248px; }
  .section { padding: 64px 0; }
  .hero__inner { padding-top: 32px; padding-bottom: 64px; }
  .component { padding: 56px 0; gap: 32px; }
  .orbit-diagram { height: 340px; }
  .pdp { gap: 32px; padding: 32px 0 64px; }
  .pdp__main { height: 400px; }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .page-hero .orbit-mini { width: 260px; height: 260px; right: -80px; top: -20px; }
  .band__grid { padding-top: 64px; padding-bottom: 64px; }
}

.band .placeholder, .dark .placeholder { background: rgba(255,255,255,.12); color: #F3E3B5; }

/* =========================================================
   v2 — cập nhật theo file góp ý (04/11)
   ========================================================= */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 12px 16px; }
.skip:focus { left: 16px; top: 16px; }

/* Thanh thông báo trên cùng (bật/tắt trong content/site.json) */
.announce { background: var(--teal-dark); color: #E6ECEB; text-align: center; font-size: 13px; font-weight: 500; letter-spacing: .04em; padding: 9px 16px; }
.announce a { color: #fff; text-decoration: none; }
.announce .placeholder { background: rgba(255,255,255,.12); color: #F3E3B5; }

/* Header trắng */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.nav { gap: 28px; }

/* Footer tối + logo trắng */
.site-footer { background: var(--teal-dark); color: #C9D3D2; border-top: 0; }
.site-footer h4 { color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.site-footer a { color: #C9D3D2; }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.site-footer__brand { max-width: none; }
.site-footer__brand img { height: 26px; width: auto; }
.site-footer .co { font-size: 13px; line-height: 1.8; color: #AFC0BF; }
.site-footer .co b { color: #fff; font-weight: 600; letter-spacing: .02em; }
.site-footer__bottom { border-top: 1px solid rgba(192,192,192,.22); color: #93A3A2; }
.site-footer .placeholder { background: rgba(255,255,255,.1); color: #F3E3B5; }

/* Dải đen nhỏ chứa breadcrumb */
.crumb-band .breadcrumb { margin: 0; padding: 22px 0; }

/* Giấy chứng nhận */
.certs { background: var(--teal); color: #fff; }
.certs__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
.certs h2 { color: #fff; font-size: clamp(28px, 3vw, 38px); font-weight: 600; line-height: 1.15; max-width: 220px; }
.certs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; flex: 1 1 560px; max-width: 760px; }
.cert { display: flex; align-items: center; justify-content: center; }
.cert img { width: 112px; height: 112px; object-fit: contain; }
.cert__ph { width: 112px; height: 112px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--head); font-weight: 700; font-size: 13px; padding: 12px; line-height: 1.3; }
.cert__ph .placeholder { background: transparent; color: #F3E3B5; padding: 0; font-weight: 500; }

/* Tin tức */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.news-card { text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 12px; }
.news-card__media { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #E9EEED; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); background: linear-gradient(135deg, #E9EEED, #F5F7F6); }
.news-card__meta { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--teal); }
.news-card h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
.news-card p { font-size: 15px; color: var(--muted); }

/* Ô tìm kiếm sản phẩm */
.search { position: relative; max-width: 560px; margin-bottom: 20px; }
.search .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 52px; padding: 0 16px 0 48px; border: 1px solid #CBD3D1; border-radius: 999px; font: 16px var(--body); color: var(--text); background: #fff; }
.search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,106,112,.15); }
.no-result { display: none; padding: 40px 0; color: var(--muted); }
.no-result.is-show { display: block; }

/* Chi tiết sản phẩm: dải ảnh nhỏ trượt */
.pdp__main img { max-height: 90%; max-width: 90%; object-fit: contain; position: relative; }
.thumbs { position: relative; display: flex; align-items: center; gap: 8px; }
.thumbs__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; scroll-behavior: smooth; }
.thumbs__track::-webkit-scrollbar { display: none; }
.thumb { scroll-snap-align: start; height: 96px; border-radius: 8px; border: 1px solid var(--line); background: #E9EEED; cursor: pointer; padding: 4px; font: 500 11px var(--body); color: var(--muted); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.thumb.is-active { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.thumbs__nav { flex: 0 0 36px; height: 36px; border-radius: 50%; border: 1px solid #CBD3D1; background: #fff; color: var(--teal-dark); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.thumbs__nav[hidden] { display: none; }

/* Huy hiệu Không sulfate / alcohol / paraben */
.free-row { display: flex; flex-wrap: wrap; gap: 28px; padding: 4px 0; }
.free { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 92px; text-align: center; }
.free__ring { position: relative; width: 56px; height: 56px; color: var(--teal); display: flex; align-items: center; justify-content: center; }
.free__ring svg { position: absolute; inset: 4px; width: 48px; height: 48px; }
.free__ring b { font-family: var(--head); font-size: 10px; letter-spacing: .06em; color: var(--teal-dark); background: var(--white); padding: 0 2px; position: relative; }
.free__label { font-size: 12px; font-weight: 500; color: var(--teal-dark); line-height: 1.3; }
.buy { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* Mô tả sản phẩm (thu gọn + Xem thêm) */
.desc { position: relative; max-height: 420px; overflow: hidden; transition: max-height .4s; }
.desc.is-open { max-height: none; }
.desc__body { display: flex; flex-direction: column; gap: 24px; max-width: 900px; }
.desc__body img { width: 100%; border-radius: 10px; }
.desc__ph { height: 900px; border-radius: 10px; border: 1px dashed #C9D2D0; background: repeating-linear-gradient(180deg, #F5F7F6 0 120px, #EEF2F1 120px 240px); display: flex; align-items: flex-start; justify-content: center; padding-top: 48px; font-size: 14px; color: var(--muted); }
.desc__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); pointer-events: none; }
.desc.is-open .desc__fade { display: none; }
.desc__more { margin-top: 24px; }

/* Cam kết giao hàng */
.commits { border-bottom: 1px solid var(--line); background: #fff; }
.commits__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 56px; text-align: center; }
.commit { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.commit .ic { color: var(--teal); }
.commit h3 { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.commit p { font-size: 14px; color: var(--muted); max-width: 300px; }

/* Liên hệ */
.contact-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 56px; }
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); min-height: 44px; }
a.info:hover { border-color: var(--teal); }
.info .ic { color: var(--teal); flex-shrink: 0; }
.info b { display: block; font-family: var(--head); color: var(--teal-dark); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.info span { font-size: 15px; }
.addr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.addr__head { display: flex; gap: 14px; padding: 18px 22px; align-items: flex-start; }
.addr__head .ic { color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.addr__head b { display: block; font-family: var(--head); color: var(--teal-dark); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.map { display: block; width: 100%; height: 220px; border: 0; }
.map--ph { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #EEF2F1 0 12px, #F5F7F6 12px 24px); color: var(--muted); font-size: 13px; }
.partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }

/* Bài viết / chính sách */
.article { max-width: 820px; padding-top: 56px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 20px; }
.article h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; line-height: 1.2; }
.article__cover { aspect-ratio: 16 / 9; border-radius: 12px; background: #E9EEED; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; overflow: hidden; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__body { display: flex; flex-direction: column; gap: 18px; }

/* Khối dẫn link (Về chúng tôi) */
.cta-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding: 56px; border-radius: 16px; position: relative; overflow: hidden; }
.cta-card .orbit-mini { position: absolute; right: -80px; top: -90px; width: 380px; height: 380px; opacity: .6; pointer-events: none; }
.cta-card > * { position: relative; }
.cta-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.cta-strip h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; }

@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 24px 24px; display: none; border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(13,41,43,.08); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-header { position: sticky; }
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .certs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .cert__ph, .cert img { width: 96px; height: 96px; }
  .partner { grid-template-columns: 1fr; gap: 32px; }
  .contact-cols { grid-template-columns: 1fr; gap: 40px; }
  .cta-card { padding: 32px 24px; }
  .thumb { height: 72px; }
  .free-row { gap: 12px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .news-card h3 { font-size: 15px; }
  .news-card p { display: none; }
}

/* =========================================================
   v3 — cập nhật theo góp ý V2 (04/11 chiều)
   ========================================================= */
.intro img { height: 29px; }                       /* logo to lên 30% */
.certs h2 { white-space: nowrap; max-width: none; } /* "Giấy chứng nhận" 1 dòng */
.product-card .price { display: block; margin-top: 6px; font-family: var(--head); font-weight: 600; color: var(--teal-dark); font-size: 15px; }

/* Hero trang chủ: 2 sản phẩm đứng trước quỹ đạo */
.duo { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 0; }
.duo__item { position: relative; }
.duo__item--back { margin-right: -28px; transform: translateY(-12px); z-index: 1; }
.duo__item:not(.duo__item--back) { z-index: 2; }
.duo img { max-height: 460px; width: auto; }

/* Logo SilverBiome + ánh sáng lướt nhẹ */
.sb-logo { position: relative; display: inline-block; line-height: 0; }
.sb-logo img { width: 100%; height: auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.18)); }
.sb-logo__sheen { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.85) 50%, transparent 65%);
  background-size: 300% 100%; background-position: 150% 0;
  -webkit-mask: url(img/silverbiome.png) center / contain no-repeat; mask: url(img/silverbiome.png) center / contain no-repeat;
  mix-blend-mode: screen; }
@media (prefers-reduced-motion: no-preference) {
  .sb-logo__sheen { animation: sheen 5s ease-in-out infinite; }
  .sb-logo--hero { animation: hover 7s ease-in-out infinite; }
}
@keyframes sheen { 0%, 25% { background-position: 150% 0; } 75%, 100% { background-position: -50% 0; } }
@keyframes hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.sb-logo--hero { position: absolute; right: 4%; top: 50%; width: 220px; margin-top: -90px; }
.sb-logo--hero img { filter: drop-shadow(0 0 40px rgba(192,192,192,.25)) drop-shadow(0 18px 30px rgba(0,0,0,.4)); }
.orbit-diagram__core { position: absolute; left: 50%; top: 50%; width: 132px; transform: translate(-50%, -50%); }
.orbit-diagram__core .sb-logo { width: 100%; }

/* Logo NAVECARE+ lớn trên hero trang Về */
.hero-brand { position: relative; width: min(420px, 38vw); height: auto; opacity: .95; align-self: center; }

/* Hình động 3 thành phần */
.vis-box { overflow: hidden; }
.vis-box--pro { background: radial-gradient(circle at 50% 45%, #F4F8F6 0%, #E7EFEB 100%); }
.vis-box--pre { background: radial-gradient(circle at 50% 45%, #F6F8F7 0%, #E8EDEB 100%); }
.vis-box--ag { background: radial-gradient(circle at 50% 45%, #18393C 0%, #0D292B 75%); border-color: #0D292B; }
.vis { width: 100%; height: 100%; max-width: 360px; }
.vis g.float, .vis g.drift, .vis .orbit-dot, .vis .pulse, .vis .twinkle { transform-box: fill-box; transform-origin: center; }
.vis .orbit-dot { transform-box: view-box; transform-origin: 160px 160px; }
@media (prefers-reduced-motion: no-preference) {
  .vis g.float { animation: float ease-in-out infinite alternate; }
  .vis g.drift { animation: drift linear infinite; }
  .vis .orbit-dot { animation: spin linear infinite; }
  .vis .twinkle { animation: twinkle 2.6s ease-in-out infinite; }
  .vis .pulse { animation: pulse 6s ease-in-out infinite; }
}
@keyframes float { 0% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(8px, -12px) rotate(12deg); } 100% { transform: translate(-6px, 8px) rotate(-8deg); } }
@keyframes drift { 0% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(10px, -14px) rotate(180deg); } 100% { transform: translate(0, 0) rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* Giá + dung tích */
.variant { display: flex; flex-direction: column; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.variant__price { display: flex; align-items: baseline; gap: 16px; }
.variant__price b { font-family: var(--head); font-size: 28px; font-weight: 700; color: var(--teal-dark); }
.variant__label { font-size: 13px; color: var(--muted); width: 72px; flex-shrink: 0; }
.variant__sizes { display: flex; align-items: center; gap: 16px; }
.size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn { min-width: 76px; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid #CBD3D1; background: #fff; font: 600 14px var(--body); color: var(--teal-dark); cursor: pointer; }
.size-btn[aria-pressed="true"] { border-color: var(--teal); background: var(--teal); color: #fff; }

/* Bảng Zalo khi bấm Liên hệ */
.zalo-pop { border: 1px solid var(--teal); border-radius: 12px; padding: 20px; background: #fff; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 12px 32px rgba(13,41,43,.08); }
.zalo-pop[hidden] { display: none; }
.zalo-pop p { font-size: 14px; color: var(--muted); }
.zalo-pop__num { font-family: var(--head); font-size: 26px; color: var(--teal-dark); letter-spacing: .02em; }

/* Bảng chủ sở hữu thương hiệu */
.owner { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.owner__kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.owner h3 { font-size: 22px; font-weight: 700; letter-spacing: .01em; }
.owner dl { display: grid; grid-template-columns: 120px 1fr; gap: 12px 16px; margin: 12px 0 0; font-size: 15px; }
.owner dt { color: var(--muted); }
.owner dd { margin: 0; color: var(--teal-dark); font-weight: 500; }
.owner a { color: var(--teal); text-decoration: none; }

@media (max-width: 900px) {
  .sb-logo--hero { width: 130px; right: 0; top: 24px; margin-top: 0; opacity: .9; }
  .hero-brand { width: 260px; }
  .duo img { max-height: 340px; }
  .duo .bottle--xl { --w: 110px; --h: 240px; }
  .duo .bottle--lg { --w: 92px; --h: 202px; }
}
@media (max-width: 700px) {
  .owner { padding: 22px; }
  .owner dl { grid-template-columns: 1fr; gap: 2px; }
  .owner dd { margin-bottom: 10px; }
  .orbit-diagram__core { width: 104px; }
}
.page-hero__inner { align-items: center; }
.page-hero__inner > div[style] { flex: 1 1 460px; min-width: 0; }
.hero-brand { flex: 0 1 400px; width: 100%; max-width: 400px; }
@media (max-width: 900px) { .hero-brand { max-width: 240px; } }

/* =========================================================
   v4 — cập nhật theo góp ý V3 (04/11 tối)
   ========================================================= */
html { scroll-behavior: auto; }   /* chuyển trang luôn mở ở đầu trang, không trượt */

/* Logo SilverBiome ở tâm các vòng quỹ đạo (hero trang Công nghệ + Sản phẩm) */
.page-visual { position: relative; flex: 0 1 420px; height: 380px; display: flex; align-items: center; justify-content: center; }
.page-visual .orbit { position: absolute; inset: 0; width: 100%; height: 100%; }
.sb-logo--center { position: relative; width: 44%; max-width: 190px; z-index: 1; }
.sb-logo--center img { filter: drop-shadow(0 0 36px rgba(192,192,192,.28)) drop-shadow(0 16px 28px rgba(0,0,0,.4)); }
@media (prefers-reduced-motion: no-preference) { .sb-logo--center { animation: hover 7s ease-in-out infinite; } }

/* Sơ đồ trang chủ: logo lớn ở tâm, 3 phân tử chạy quanh */
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.orbit-diagram { --r: 170px; }
.orbit-diagram__core { width: 200px; }
.node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; --a: 0deg;
  transform: rotate(calc(var(--start) + var(--a) - 90deg)) translateX(var(--r)) rotate(calc(-1 * (var(--start) + var(--a) - 90deg))); }
.node__dot { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 6px rgba(0,106,112,.12), 0 0 18px rgba(0,106,112,.35); }
.node--ag .node__dot { background: radial-gradient(circle at 35% 35%, #fff, #B9C0C1 55%, #7E898A); box-shadow: 0 0 0 6px rgba(192,192,192,.22), 0 0 18px rgba(126,137,138,.45); }
.node__lbl { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); white-space: nowrap; font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--teal-dark); background: rgba(255,255,255,.9); padding: 2px 8px; border-radius: 999px; }
.orbit-diagram svg .dash-spin { transform-origin: 230px 230px; }
@media (prefers-reduced-motion: no-preference) {
  .node { animation: orbitA 36s linear infinite; }
  .node__dot { animation: glow 3.2s ease-in-out infinite; }
  .orbit-diagram svg .dash-spin { animation: spin 80s linear infinite reverse; }
}
@keyframes orbitA { to { --a: 360deg; } }
@keyframes glow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

/* Giấy chứng nhận: slider chạy vòng, rê chuột vào thì dừng */
.certs__inner { flex-wrap: nowrap; }
.certs__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.certs__track { list-style: none; margin: 0; padding: 8px 0; display: flex; gap: 48px; width: max-content; }
.certs__track .cert { flex: 0 0 auto; }
@media (prefers-reduced-motion: no-preference) {
  .certs__track { animation: marquee 28s linear infinite; }
  .certs__viewport:hover .certs__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-25%); } }   /* danh sách nhân 4 -> trượt 1/4 là liền mạch */

/* Trang Về: hero chỉ có "VỀ THƯƠNG HIỆU" + logo */
.brand-hero__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding-top: 88px; padding-bottom: 96px; text-align: center; }
.brand-hero__inner .pill { align-self: center; }
.brand-hero__logo { margin: 0; line-height: 0; }
.brand-hero__logo img { width: min(560px, 80vw); height: auto; }

/* "Cửa hàng chính hãng" trên 1 dòng */
.band--shop h2 { white-space: nowrap; }
@media (min-width: 901px) { .band--shop .band__grid { grid-template-columns: max-content repeat(3, minmax(0, 1fr)); } }

@media (max-width: 900px) {
  .page-visual { flex: 1 1 100%; height: 300px; max-width: 360px; margin: 0 auto; }
  .page-hero__inner { justify-content: center; }
  .orbit-diagram { --r: 125px; }
  .orbit-diagram__core { width: 150px; }
  .certs__inner { flex-wrap: wrap; gap: 24px; }
  .certs__viewport { flex: 1 1 100%; }
}
