/* fonts:start (tạo bởi scripts/fetch-fonts.js) */
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/be-vietnam-pro-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/be-vietnam-pro-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/be-vietnam-pro-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/be-vietnam-pro-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url(/fonts/cormorant-garamond-500i-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:600;font-display:swap;src:url(/fonts/cormorant-garamond-500i-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/cormorant-garamond-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/cormorant-garamond-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/cormorant-garamond-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/be-vietnam-pro-400-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/be-vietnam-pro-500-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/be-vietnam-pro-600-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/be-vietnam-pro-700-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url(/fonts/cormorant-garamond-500i-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/cormorant-garamond-500-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/cormorant-garamond-500-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/cormorant-garamond-500-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/be-vietnam-pro-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/be-vietnam-pro-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/be-vietnam-pro-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/be-vietnam-pro-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url(/fonts/cormorant-garamond-500i-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:600;font-display:swap;src:url(/fonts/cormorant-garamond-500i-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:600;font-display:swap;src:url(/fonts/cormorant-garamond-500i-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/cormorant-garamond-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/cormorant-garamond-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/cormorant-garamond-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* fonts:end */
/* ==========================================================================
   THỦY SẢN TÍM — Design System v2 "Amethyst & Champagne"
   Deep plum grounds, champagne-gold accents, pearl surfaces, serif display.
   ========================================================================== */

:root {
  --ink: #0b1b2b;
  --text: #1f2a37;
  --muted: #5f6b7a;
  --line: #e3e8ee;
  --line-strong: #d2dbe5;
  --bg: #fbfcfd;
  --bg-soft: #f5f7fa;
  --bg-tint: #eef4f9;

  --p-950: #04162a;
  --p-900: #072640;
  --p-800: #0b365c;
  --p-700: #0e4a7c;
  --p-600: #0f5f9e;
  --p-500: #1777bd;
  --p-400: #5aa3d6;
  --p-300: #a6cdea;
  --p-100: #e7f2fa;

  /* theme-aware roles (redefined for dark mode) */
  --surface: #fff;
  --surface-glass: rgba(255, 255, 255, .86);
  --fg-500: var(--p-500);
  --fg-600: var(--p-600);
  --fg-700: var(--p-700);
  --fg-800: var(--p-800);
  --fg-900: var(--p-900);
  --tint: var(--p-100);

  --gold: #d6b56f;
  --gold-300: #ecd49b;
  --gold-600: #8a6a2e;
  --gold-100: #f6ecd6;
  --gold-grad: linear-gradient(120deg, #f6e7bd 0%, #d8b46c 45%, #a47a36 100%);
  --font-display: 'Cormorant Garamond', 'Cormorant Fallback', 'Playfair Display', Georgia, serif;
  --danger: #e11d48;
  --warn: #d97706;
  --ok: #059669;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(7, 38, 64, .06), 0 2px 8px rgba(7, 38, 64, .04);
  --shadow: 0 10px 30px -12px rgba(11, 54, 92, .22), 0 4px 10px -6px rgba(11, 54, 92, .1);
  --shadow-lg: 0 30px 60px -20px rgba(11, 54, 92, .35);
  --ring: 0 0 0 4px rgba(23, 119, 189, .18);

  --font: 'Be Vietnam Pro', 'Be Vietnam Pro Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html[data-locale='zh'] { --font: 'Be Vietnam Pro', 'Be Vietnam Pro Fallback', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; --font-display: 'Cormorant Garamond', 'Cormorant Fallback', 'Noto Serif SC', 'Songti SC', serif; }

/* ---------- 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; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--ink); letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--p-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--p-600); color: #fff; }

/* Metric-matched local fallbacks: text keeps its size while web fonts swap in → no layout shift (CLS) */
@font-face { font-family: 'Be Vietnam Pro Fallback'; src: local('Arial'), local('Helvetica'), local('Liberation Sans'); size-adjust: 103%; ascent-override: 97%; descent-override: 25.7%; line-gap-override: 0%; }
@font-face { font-family: 'Cormorant Fallback'; src: local('Times New Roman'), local('Times'), local('Liberation Serif'); size-adjust: 92%; ascent-override: 100.4%; descent-override: 31.2%; line-gap-override: 0%; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--p-800); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.ico { flex: none; }
.rot-up { transform: rotate(-90deg); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 640px) { .container { padding-inline: 16px; } }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-600); }
.eyebrow::before { content: ''; width: 32px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow .ico { display: none; }
.eyebrow--light { color: var(--gold-300); }
.section__head:not(.section__head--split) .eyebrow::after { content: ''; width: 32px; height: 1px; background: currentColor; opacity: .7; }

/* Display serif for the editorial headlines */
.hero__title, .phero__title, .section__title, .pd__title, .cta__copy h2, .stat__num, .tl__y, .err__code, .order-hero h1, .form-card h2, .split__badge b, .testi blockquote, .science__lead { font-family: var(--font-display); }
.hero__title, .phero__title, .section__title, .pd__title, .cta__copy h2, .order-hero h1, .form-card h2 { font-weight: 600; letter-spacing: -.005em; line-height: 1.08; }
.testi blockquote { font-size: 20px; line-height: 1.5; font-style: italic; }
.science__lead { font-size: 21px !important; line-height: 1.5; }
html[data-locale='zh'] .testi blockquote { font-style: normal; font-size: 17px; }

/* Gold text utility */
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-locale='zh'] .eyebrow { letter-spacing: .06em; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 500; }
html[data-locale='zh'] em { font-family: inherit; font-style: normal; }

/* ---------- Buttons ---------- */
.btn { --bh: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--bh); padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s; border: 1.5px solid transparent; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { --bh: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { --bh: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: linear-gradient(135deg, var(--p-600), var(--p-800)); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 95, 158, .6); }
.btn--primary:hover { box-shadow: 0 12px 26px -8px rgba(15, 95, 158, .7); }
.btn--accent { background: linear-gradient(135deg, #ecd49b, var(--gold) 40%, #b38b47); color: #2b1d07; box-shadow: 0 10px 24px -10px rgba(214, 181, 111, .8); }
.btn--glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .14); }
.btn--outline { border-color: var(--line-strong); color: var(--fg-800); background: var(--surface); }
.btn--outline:hover { border-color: var(--p-500); color: var(--fg-600); box-shadow: var(--ring); }
.btn--ghost { color: var(--fg-700); background: var(--tint); }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--fg-600); }
.link-arrow .ico { transition: transform .2s var(--ease); }
a:hover > .link-arrow .ico, .link-arrow:hover .ico { transform: translateX(4px); }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 12px; color: var(--fg-800); transition: background .2s; position: relative; }
.icon-btn:hover { background: var(--tint); }

/* ---------- Pills & badges ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; background: var(--p-800); color: #fff; }
.pill--bestseller { background: linear-gradient(135deg, #f59e0b, #d97706); }
.pill--new { background: linear-gradient(135deg, var(--gold), var(--gold-600)); color: #2b1d07; }
.pill--premium { background: linear-gradient(135deg, var(--p-500), var(--p-800)); }
.pill--glass { background: rgba(255, 255, 255, .85); color: var(--fg-800); backdrop-filter: blur(6px); }
.sev { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.sev--high { background: #ffe4e6; color: #be123c; }
.sev--medium { background: #fef3c7; color: #b45309; }
.sev--low { background: #d1fae5; color: #047857; }

/* ==========================================================================
   Topbar & Header
   ========================================================================== */
.topbar { background: var(--p-950); color: #c6d5e6; font-size: 13px; position: relative; z-index: 60; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar__sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .15); }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; background: var(--surface); color: var(--text); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: .2s var(--ease); }
.lang.is-open .lang__menu { opacity: 1; transform: none; pointer-events: auto; }
.lang__menu a { display: flex; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--text) !important; font-size: 14px; }
.lang__menu a:hover, .lang__menu a.is-active { background: var(--tint); }
.lang__code { width: 26px; font-weight: 700; color: var(--fg-600); }

.header { position: sticky; top: 0; z-index: 50; background: var(--surface-glass); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(7, 38, 64, .4); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: .12em; color: var(--fg-900); line-height: 1; }
.brand__name b { font-weight: 600; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__tag { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__name b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; }
.brand--light .brand__tag { color: #9cb0c6; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; gap: 4px; }
.nav__link { position: relative; display: inline-flex; align-items: center; height: 42px; padding: 0 14px; font-weight: 500; font-size: 15px; color: var(--text); border-radius: 10px; transition: color .2s, background .2s; }
.nav__link:hover { color: var(--fg-600); background: var(--bg-tint); }
.nav__link.is-active { color: var(--fg-700); font-weight: 600; }
.nav__link.is-active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--p-500), var(--gold)); }
.header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.cart-btn__count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: linear-gradient(135deg, var(--p-500), var(--p-700)); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.cart-btn__count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.nav-toggle { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: inline-grid; }
}
@media (max-width: 1080px) { .hide-md { display: none !important; } }
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .brand__tag { display: none; }
  .brand__name { font-size: 17px; }
  :root { --header-h: 66px; }
}

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(18, 8, 42, .55); backdrop-filter: blur(6px); display: grid; align-items: start; padding: 12vh 16px 0; animation: fade .2s; }
.search-overlay__box { max-width: 680px; width: 100%; margin: 0 auto; display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 18px; padding: 10px 10px 10px 20px; box-shadow: var(--shadow-lg); color: var(--fg-700); }
.search-overlay__box input { flex: 1; border: 0; outline: 0; font-size: 18px; height: 48px; background: transparent; color: var(--text); }
@keyframes fade { from { opacity: 0; } }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 95; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(18, 8, 42, .5); animation: fade .25s; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 88vw); background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; animation: slideIn .3s var(--ease); }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a { padding: 14px 6px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
.drawer__nav a.is-active { color: var(--fg-600); font-weight: 600; }
.drawer__langs { display: flex; gap: 8px; margin: 8px 0; }
.drawer__langs a { flex: 1; text-align: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; }
.drawer__langs a.is-active { border-color: var(--p-500); color: var(--fg-600); background: var(--tint); font-weight: 600; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% 10%, #0e4a7c 0%, transparent 60%), radial-gradient(900px 600px at 0% 100%, rgba(164, 122, 54, .28) 0%, transparent 55%), linear-gradient(160deg, #072640 0%, #04162a 60%, #0d0620 100%); padding: 96px 0 150px; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero__orb--1 { width: 520px; height: 520px; right: -120px; top: -80px; background: #1777bd; animation: float 14s ease-in-out infinite; }
.hero__orb--2 { width: 420px; height: 420px; left: -140px; bottom: -60px; background: #8a6a2e; opacity: .35; animation: float 18s ease-in-out infinite reverse; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); }
.hero__molecules { position: absolute; right: 2%; top: 4%; width: 560px; opacity: .55; animation: float 20s ease-in-out infinite; }
.hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 200px; }
.wave--1 { fill: rgba(255, 255, 255, .04); animation: waveX 16s linear infinite; }
.wave--2 { fill: rgba(255, 255, 255, .06); animation: waveX 22s linear infinite reverse; }
.wave--3 { fill: var(--bg); }
@keyframes waveX { 50% { transform: translateX(-40px); } }
@keyframes float { 50% { transform: translate3d(0, -24px, 0); } }
.bubbles i { position: absolute; bottom: -20px; width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(199, 181, 227, .5); background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .5), transparent 60%); animation: rise 14s linear infinite; }
.bubbles i:nth-child(1) { left: 8%; animation-duration: 13s; }
.bubbles i:nth-child(2) { left: 18%; width: 6px; height: 6px; animation-delay: 3s; }
.bubbles i:nth-child(3) { left: 32%; width: 14px; height: 14px; animation-delay: 6s; animation-duration: 17s; }
.bubbles i:nth-child(4) { left: 48%; animation-delay: 1s; }
.bubbles i:nth-child(5) { left: 62%; width: 7px; height: 7px; animation-delay: 8s; }
.bubbles i:nth-child(6) { left: 74%; width: 12px; height: 12px; animation-delay: 4s; animation-duration: 19s; }
.bubbles i:nth-child(7) { left: 86%; animation-delay: 10s; }
.bubbles i:nth-child(8) { left: 94%; width: 5px; height: 5px; animation-delay: 2s; }
@keyframes rise { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(-110vh) translateX(30px); opacity: 0; } }

.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__copy { max-width: 620px; }
.hero__title { color: #fff; font-size: clamp(44px, 6.4vw, 86px); font-weight: 600; line-height: 1.07; letter-spacing: -.005em; margin: 22px 0 22px; }
.hero__title em { font-weight: 500; background: linear-gradient(110deg, #f6e7bd 0%, #d8b46c 50%, #f6e7bd 100%); background-size: 200% 100%; animation: goldShift 7s ease-in-out infinite; -webkit-background-clip: text; background-clip: text; color: transparent; padding: .08em .04em .08em 0; line-height: 1.25; }
html[data-locale='zh'] .hero__title { letter-spacing: 0; line-height: 1.2; }
.hero__lead { font-size: 18.5px; color: #cfdcec; max-width: 540px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__trust { display: flex; align-items: center; gap: 16px; margin-top: 40px; color: #c6d5e6; }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; border: 2px solid #072640; margin-left: -10px; background: linear-gradient(135deg, var(--p-400), var(--p-700)); }
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: linear-gradient(135deg, #ecd49b, #8a6a2e); color: #2b1d07; }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #fcd34d, #d97706); color: #3a2400; }
.avatars span:nth-child(4) { background: #fff; color: var(--p-800); }
.stars { display: inline-flex; align-items: center; gap: 2px; color: #fbbf24; }
.stars b { color: #fff; margin-left: 6px; }
.hero__trust small { font-size: 13.5px; }

.hero__visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: center; width: 100%; }
.hero__ring { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(155, 124, 201, .35), rgba(155, 124, 201, 0) 65%); border: 1px solid rgba(199, 181, 227, .18); }
.hero__ring::after { content: ''; position: absolute; inset: -9%; border-radius: 50%; border: 1px dashed rgba(236, 212, 155, .25); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__pack { position: absolute; border-radius: 28px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.hero__pack--1 { width: 66%; left: 17%; top: 6%; z-index: 3; animation: float 9s ease-in-out infinite; }
.hero__pack--2 { width: 44%; left: -4%; top: 40%; z-index: 2; animation: float 11s ease-in-out infinite 1s; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)) brightness(.92); }
.hero__pack--3 { width: 44%; right: -4%; top: 38%; z-index: 2; animation: float 12s ease-in-out infinite 2s; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)) brightness(.92); }
.glass-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.glass-card b { display: block; font-size: 17px; color: #fff; line-height: 1.2; }
.glass-card small { font-size: 12px; color: #cfdcec; }
.glass-card__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--p-500), var(--p-700)); color: #fff; }
.glass-card__icon--gold { background: linear-gradient(135deg, #ecd49b, #8a6a2e); color: #2b1d07; }
.glass-card__icon--gold { background: linear-gradient(135deg, #fde68a, #d6b26e); color: #3a2400; }
.glass-card--1 { left: 0; top: 8%; animation: float 8s ease-in-out infinite; }
.glass-card--2 { right: -2%; top: 14%; animation: float 10s ease-in-out infinite 1.5s; }
.glass-card--3 { left: 22%; bottom: 2%; animation: float 9s ease-in-out infinite .8s; }

@media (max-width: 980px) {
  .hero { padding: 64px 0 130px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; margin-top: 12px; }
  .hero__molecules { width: 380px; opacity: .3; }
}
@media (max-width: 560px) {
  .hero__lead { font-size: 16.5px; }
  .hero__ctas .btn { width: 100%; }
  .glass-card { padding: 8px 12px 8px 8px; }
  .glass-card b { font-size: 14px; }
  .glass-card__icon { width: 32px; height: 32px; }
  .glass-card--2 { right: 0; }
}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { position: relative; z-index: 2; margin-top: -80px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 30px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat__num { font-size: clamp(38px, 4.4vw, 58px); font-weight: 600; letter-spacing: -.005em; background: linear-gradient(135deg, var(--p-600), var(--p-900)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 104px 0; }
.section--tint { background: linear-gradient(180deg, var(--bg-soft), var(--bg-tint)); }
.section--tight { padding: 64px 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section__head--split { text-align: left; max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__head--split > div { max-width: 640px; }
.section__title { font-size: clamp(34px, 4.2vw, 54px); font-weight: 600; letter-spacing: -.005em; margin-top: 16px; }
.section__title--light { color: #fff; }
.section__lead { color: var(--muted); font-size: 17px; margin-top: 14px; }
@media (max-width: 720px) { .section { padding: 72px 0; } .section__head { margin-bottom: 36px; } }

/* Category cards */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; isolation: isolate; }
.cat::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px 200px at 100% 0%, rgba(23, 119, 189, .1), transparent 70%); opacity: 0; transition: opacity .35s; }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--p-300); }
.cat:hover::before { opacity: 1; }
.cat__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--tint), var(--surface)); color: var(--fg-600); border: 1px solid var(--p-100); margin-bottom: 6px; transition: background .35s, color .35s; }
.cat:hover .cat__icon { background: linear-gradient(135deg, var(--p-500), var(--p-800)); color: #fff; }
.cat__title { font-size: 20px; font-weight: 700; color: var(--ink); }
.cat__desc { color: var(--muted); font-size: 15px; flex: 1; }
.cat__foot { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-600); font-weight: 600; font-size: 14px; margin-top: 6px; }
.cat__foot .ico { transition: transform .25s var(--ease); }
.cat:hover .cat__foot .ico { transform: translateX(4px); }
@media (max-width: 960px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cats { grid-template-columns: 1fr; } }

/* Product cards */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
.pcard { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard__media { position: relative; display: block; aspect-ratio: 1 / 1; background: linear-gradient(180deg, var(--surface), var(--bg-tint)); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__media .pill { position: absolute; left: 14px; top: 14px; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.pcard__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.pcard__species { display: inline-flex; align-items: center; gap: 4px; color: var(--c, var(--p-600)); }
.pcard__title { font-size: 16.5px; font-weight: 700; line-height: 1.35; }
.pcard__title a:hover { color: var(--fg-600); }
.pcard__summary { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--line); }
.pcard__price small { color: var(--muted); font-size: 12.5px; }
.pcard__price strong { font-size: 17px; color: var(--fg-800); font-weight: 700; }
.pcard__add { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--fg-700); transition: .25s var(--ease); }
.pcard__add:hover { background: linear-gradient(135deg, var(--p-500), var(--p-800)); color: #fff; transform: rotate(90deg); }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .pgrid, .pgrid--3 { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 420px) {
  .pcard__body { padding: 14px; }
  .pcard__title { font-size: 14.5px; }
  .pcard__summary { display: none; }
  .pcard__price strong { font-size: 15px; }
  .pcard__meta span:first-child { display: none; }
}

/* Stages */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.stages::before { content: ''; position: absolute; left: 6%; right: 6%; top: 36px; height: 2px; background: linear-gradient(90deg, var(--p-300), var(--gold), var(--p-300)); opacity: .6; }
.stage { position: relative; padding: 0 8px; text-align: center; }
.stage__k { position: relative; display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--surface); border: 2px solid var(--p-300); color: var(--fg-700); font-weight: 700; font-size: 20px; box-shadow: 0 0 0 8px var(--surface), var(--shadow); margin-bottom: 20px; transition: .35s var(--ease); }
.stage:hover .stage__k { background: linear-gradient(135deg, var(--p-500), var(--p-800)); color: #fff; border-color: transparent; }
.stage__t { font-size: 19px; margin-bottom: 8px; }
.stage__d { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .stages { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stages::before { display: none; }
}
@media (max-width: 480px) { .stages { grid-template-columns: 1fr; } .stage { text-align: left; display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; } .stage__k { grid-row: span 2; margin: 0; } }

/* Science */
.science { position: relative; overflow: hidden; color: #fff; padding: 110px 0; background: radial-gradient(800px 500px at 10% 30%, rgba(23, 119, 189, .45), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(179, 139, 71, .3), transparent 60%), linear-gradient(160deg, #072640, #04162a); }
.science__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.science__visual { position: relative; max-width: 480px; width: 100%; justify-self: center; }
.petri__orbit { transform-origin: 260px 260px; animation: spin 50s linear infinite; }
.colonies circle { animation: pulse 6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.colonies circle:nth-child(2) { animation-delay: 1s; }
.colonies circle:nth-child(3) { animation-delay: 2s; }
@keyframes pulse { 50% { transform: scale(1.15); opacity: .8; } }
.science__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); font-weight: 600; font-size: 14px; }
.science__chip--1 { left: -4%; bottom: 14%; }
.science__chip--2 { right: 0; top: 10%; }
.science__lead { color: #cfdcec; font-size: 17px; margin: 18px 0 30px; }
.science__list { display: grid; gap: 20px; margin-bottom: 34px; }
.science__list li { display: flex; gap: 16px; padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background .3s; }
.science__list li:hover { background: rgba(255, 255, 255, .08); }
.science__list h3 { color: #fff; font-size: 17px; margin-bottom: 4px; }
.science__list p { color: #c6bde0; font-size: 15px; }
.science__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(236, 212, 155, .25), rgba(236, 212, 155, .05)); color: #ecd49b; border: 1px solid rgba(236, 212, 155, .3); }
@media (max-width: 920px) { .science__inner { grid-template-columns: 1fr; gap: 40px; } .science__visual { max-width: 360px; } }

/* Disease cards */
.dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dcard { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.dcard::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ok); }
.dcard--high::after { background: var(--danger); }
.dcard--medium::after { background: var(--warn); }
.dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dcard__top { display: flex; align-items: center; justify-content: space-between; }
.dcard__species { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; font-weight: 500; }
.dcard__title { font-size: 18px; }
.dcard__text { color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
@media (max-width: 960px) { .dgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dgrid { grid-template-columns: 1fr; } }

/* Testimonials */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { margin: 0; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; position: relative; box-shadow: var(--shadow-sm); }
.testi::before { content: '“'; position: absolute; right: 22px; top: 2px; font-family: var(--font-serif); font-size: 110px; line-height: 1; color: var(--tint); }
.testi blockquote { margin: 0; font-size: 16px; color: var(--text); flex: 1; position: relative; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi figcaption b { display: block; color: var(--ink); }
.testi figcaption small { color: var(--muted); font-size: 13px; }
.testi__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--p-400), var(--p-700)); flex: none; }
@media (max-width: 920px) { .testis { grid-template-columns: 1fr; } }

/* Blog cards */
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bcard { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.bcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bcard__media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #0e4a7c, #072640); }
.bcard__media--disease { background: linear-gradient(135deg, #8a6a2e, #3b2163 70%, #072640); }
.bcard__media--news { background: linear-gradient(135deg, #1777bd, #be185d 120%); }
.bcard__media::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(135deg, #000, transparent 80%); }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bcard:hover .bcard__media img, .bcard:hover .bcard__art { transform: scale(1.08); }
.bcard__art { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); transition: transform .6s var(--ease); }
.bcard__media .pill { position: absolute; left: 14px; top: 14px; }
.bcard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bcard__meta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.bcard__title { font-size: 19px; line-height: 1.35; }
.bcard__title a:hover { color: var(--fg-600); }
.bcard__excerpt { color: var(--muted); font-size: 15px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) { .bgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bgrid { grid-template-columns: 1fr; } }

/* CTA */
.cta { padding: 0 0 110px; }
.cta__box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px; border-radius: var(--radius-xl); color: #fff; background: radial-gradient(600px 300px at 0% 0%, rgba(155, 124, 201, .45), transparent 60%), radial-gradient(500px 300px at 100% 100%, rgba(214, 181, 111, .3), transparent 60%), linear-gradient(135deg, #0b365c, #072640); box-shadow: var(--shadow-lg); }
.cta__copy h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 600; }
.cta__copy p { color: #cfdcec; margin: 14px 0 24px; font-size: 17px; }
.cta__phone { display: inline-flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 700; color: #ecd49b; letter-spacing: .01em; }
.cta__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field--full { grid-column: 1 / -1; }
.cta__form .btn { grid-column: 1 / -1; margin-top: 6px; }
@media (max-width: 880px) { .cta__box { grid-template-columns: 1fr; padding: 36px 24px; } }
@media (max-width: 480px) { .cta__form { grid-template-columns: 1fr; } }

/* ==========================================================================
   Forms
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--surface); outline: none; transition: border-color .2s, box-shadow .2s; font-size: 15.5px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--p-500); box-shadow: var(--ring); }
.field--dark label { color: #e0ecf8; }
.field--dark input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.field--dark input::placeholder { color: #9cb0c6; }
.field--dark input:focus { border-color: #ecd49b; box-shadow: 0 0 0 4px rgba(236, 212, 155, .2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 15px; }
.alert--error { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.alert--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert--info { background: var(--bg-tint); color: var(--fg-800); border: 1px solid var(--p-100); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; overflow: hidden; color: #b8aed3; background: var(--p-950); padding: 84px 0 0; font-size: 15px; }
.footer__glow { position: absolute; width: 700px; height: 400px; left: 50%; top: -260px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(23, 119, 189, .45), transparent); pointer-events: none; }
.footer__top { position: relative; display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.4fr; gap: 48px; padding-bottom: 56px; }
.footer__about { margin: 20px 0 22px; max-width: 360px; }
.footer h3 { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ico { color: var(--p-400); margin-top: 3px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: .25s; }
.socials a:hover { background: var(--p-600); transform: translateY(-2px); }
.newsletter { display: flex; gap: 8px; margin-top: 22px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; padding: 0 14px; font-size: 14.5px; }
.newsletter input::placeholder { color: #8597ab; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; color: #8597ab; }
.footer__sample { color: #6f6690; }
@media (max-width: 980px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; gap: 36px; } .footer { padding-bottom: 72px; } }

/* FAB */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.fab__btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 12px 24px -8px rgba(7, 38, 64, .5); transition: transform .25s var(--ease); }
.fab__btn:hover { transform: scale(1.08); }
.fab__btn--zalo { background: #0068ff; font-weight: 700; font-size: 13px; }
.fab__btn--call { background: linear-gradient(135deg, var(--p-500), var(--p-800)); position: relative; }
.fab__btn--call::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--p-500); animation: ping 2s infinite; }
.fab__btn--top { width: 44px; height: 44px; background: var(--surface); color: var(--fg-700); border: 1px solid var(--line); }
@keyframes ping { 75%, 100% { transform: scale(1.6); opacity: 0; } }

/* Toast */
.toast { position: fixed; left: 50%; top: 92px; z-index: 120; transform: translate(-50%, -20px); display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--p-900); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .35s var(--ease); max-width: calc(100vw - 32px); font-size: 15px; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast--success { background: #065f46; }
.toast--error { background: #9f1239; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.phero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 96px; background: radial-gradient(800px 400px at 90% 0%, rgba(23, 119, 189, .55), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(179, 139, 71, .25), transparent 60%), linear-gradient(160deg, #072640, #04162a); isolation: isolate; }
.phero__bg { position: absolute; inset: 0; z-index: -1; }
.phero__waves { position: absolute; bottom: -1px; left: 0; width: 100%; height: 120px; }
.phero__waves path:last-child { fill: var(--bg); }
.phero__inner { position: relative; }
.phero__title { color: #fff; font-size: clamp(30px, 4.2vw, 50px); font-weight: 600; letter-spacing: -.005em; margin-top: 18px; max-width: 900px; }
.phero__lead { color: #cfdcec; font-size: 17.5px; margin-top: 14px; max-width: 720px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #9cb0c6; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #e0ecf8; }

/* ==========================================================================
   Products listing
   ========================================================================== */
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 26px; }
.filters h2, .filters h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.filters__list { display: flex; flex-direction: column; gap: 4px; }
.filters__list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 15px; color: var(--text); transition: background .2s; }
.filters__list a:hover { background: var(--bg-tint); }
.filters__list a.is-active { background: var(--tint); color: var(--fg-700); font-weight: 600; }
.filters__list .count { margin-left: auto; font-size: 12.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.filters__list .ico { color: var(--fg-500); }
.seg { display: flex; padding: 4px; background: var(--bg-tint); border-radius: 14px; gap: 4px; }
.seg a { flex: 1; text-align: center; padding: 9px 6px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.seg a.is-active { background: var(--surface); color: var(--fg-700); box-shadow: var(--shadow-sm); font-weight: 600; }
.help-card { padding: 22px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(300px 200px at 100% 0%, rgba(236, 212, 155, .3), transparent 60%), linear-gradient(135deg, var(--p-700), var(--p-900)); }
.help-card h4 { color: #fff; font-size: 17px; margin-bottom: 6px; }
.help-card p { color: #cfdcec; font-size: 14px; margin-bottom: 14px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.toolbar__count { color: var(--muted); font-size: 15px; }
.toolbar__count b { color: var(--ink); }
.toolbar form { display: flex; gap: 10px; flex-wrap: wrap; }
.toolbar input, .toolbar select { height: 44px; border-radius: 12px; border: 1.5px solid var(--line-strong); padding: 0 14px; background: var(--surface); font-size: 14.5px; outline: none; }
.toolbar input:focus, .toolbar select:focus { border-color: var(--p-500); box-shadow: var(--ring); }
.chips { display: none; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: none; }
.chips a { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; background: var(--surface); }
.chips a.is-active { background: var(--p-700); color: #fff; border-color: var(--p-700); }
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--muted); }
.empty .ico { margin: 0 auto 12px; color: var(--p-400); }
@media (max-width: 980px) {
  .shop { grid-template-columns: 1fr; }
  .filters { display: none; }
  .chips { display: flex; }
}

/* ==========================================================================
   Product detail
   ========================================================================== */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.pd__gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pd__main { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: linear-gradient(180deg, var(--surface), var(--bg-tint)); border: 1px solid var(--line); aspect-ratio: 1 / 1; }
.pd__main img { width: 100%; height: 100%; object-fit: cover; }
.pd__main .pill { position: absolute; left: 20px; top: 20px; }
.pd__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd__thumbs button { width: 78px; height: 78px; border-radius: 16px; overflow: hidden; border: 2px solid transparent; background: var(--bg-tint); }
.pd__thumbs button.is-active { border-color: var(--p-500); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd__cat { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-600); font-weight: 600; font-size: 14px; }
.pd__title { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -.005em; margin: 12px 0 14px; }
.pd__rating { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.pd__rating .stars b { color: var(--ink); }
.pd__rating > span { display: inline-flex; align-items: center; gap: 6px; }
.pd__summary { font-size: 17px; color: var(--text); margin: 20px 0 26px; padding: 18px 20px; border-left: 3px solid var(--p-500); background: var(--bg-soft); border-radius: 0 14px 14px 0; }
.pd__label { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; display: block; }
.variants { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.variant { position: relative; }
.variant input { position: absolute; opacity: 0; }
.variant span { display: flex; flex-direction: column; padding: 12px 18px; border-radius: 14px; border: 1.5px solid var(--line-strong); cursor: pointer; transition: .2s; min-width: 120px; }
.variant span b { font-size: 15px; color: var(--ink); }
.variant span small { color: var(--muted); font-size: 13.5px; }
.variant input:checked + span { border-color: var(--p-500); background: var(--tint); box-shadow: var(--ring); }
.variant input:checked + span small { color: var(--fg-700); font-weight: 600; }
.variant input:focus-visible + span { outline: 2px solid var(--p-500); outline-offset: 2px; }
.pd__price { font-size: 34px; font-weight: 700; color: var(--fg-800); letter-spacing: -.02em; margin-bottom: 22px; font-variant-numeric: tabular-nums; }
.pd__buy { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.qty { display: inline-flex; align-items: center; height: 54px; border-radius: 999px; border: 1.5px solid var(--line-strong); padding: 0 6px; background: var(--surface); }
.qty button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--fg-700); }
.qty button:hover { background: var(--tint); }
.qty input { width: 48px; text-align: center; border: 0; outline: 0; font-weight: 700; font-size: 16px; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm { height: 42px; }
.qty--sm button { width: 32px; height: 32px; }
.qty--sm input { width: 38px; font-size: 15px; }
.pd__buy .btn--primary { flex: 1; min-width: 180px; }
.pd__alt { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.pd__alt .btn { flex: 1; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.perks li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--text); }
.perks .ico { color: var(--gold-600); background: var(--gold-100); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }
.tabs { margin-top: 80px; }
.tabs__nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__nav button { position: relative; padding: 14px 20px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tabs__nav button[aria-selected='true'] { color: var(--fg-700); }
.tabs__nav button[aria-selected='true']::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--p-500), var(--gold)); }
.tabs__panel { padding: 32px 0; max-width: 860px; }
.prose { font-size: 16.5px; color: var(--text); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 24px; margin-top: 1.8em; }
.prose h3 { font-size: 19px; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 28px; margin: .45em 0; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--p-500), var(--gold)); transform: rotate(45deg); }
.prose ol { list-style: decimal; }
.prose ol li { margin: .45em 0; padding-left: 4px; }
.prose ol li::marker { color: var(--fg-600); font-weight: 700; }
.prose a { color: var(--fg-600); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; border-radius: 14px; background: var(--bg-tint); border-left: 4px solid var(--p-500); color: var(--fg-900); }
.prose code { background: var(--bg-tint); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose img { border-radius: var(--radius); }
.dosage-box { display: grid; gap: 12px; }
.dosage-box p { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); margin: 0 !important; }
.dosage-box p::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--p-500); box-shadow: 0 0 0 4px var(--p-100); }
.note { display: flex; gap: 10px; margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: #fffbeb; color: #92400e; border: 1px solid #fde68a; font-size: 14.5px; }
.note .ico { margin-top: 2px; }
.related-d { display: flex; flex-wrap: wrap; gap: 10px; }
.related-d a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14.5px; font-weight: 500; background: var(--surface); transition: .2s; }
.related-d a:hover { border-color: var(--p-500); color: var(--fg-600); }
@media (max-width: 960px) {
  .pd { grid-template-columns: 1fr; gap: 32px; }
  .pd__gallery { position: static; }
}
@media (max-width: 480px) { .perks { grid-template-columns: 1fr; } .pd__buy .btn--primary { min-width: 0; } .variant span { min-width: 0; } }

/* Mobile sticky buy bar */
.buybar { display: none; }
@media (max-width: 960px) {
  .buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(7, 38, 64, .4); transform: translateY(110%); transition: transform .3s var(--ease); }
  .buybar.is-visible { transform: none; }
  .buybar__price { font-weight: 700; color: var(--fg-800); font-size: 18px; }
  .buybar__price small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
  .buybar .btn { margin-left: auto; }
  .page-products .fab { bottom: 86px; }
}

/* ==========================================================================
   Diseases
   ========================================================================== */
.dfilter { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 30px; }
.dfilter__search { flex: 1; max-width: 480px; position: relative; }
.dfilter__search .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.dfilter__search input { width: 100%; height: 52px; border-radius: 999px; border: 1.5px solid var(--line-strong); padding: 0 20px 0 48px; outline: none; font-size: 15.5px; }
.dfilter__search input:focus { border-color: var(--p-500); box-shadow: var(--ring); }
.dfilter .seg { min-width: 300px; }
.dd { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.dd__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.dd__meta span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--bg-tint); font-size: 14px; font-weight: 500; }
.dd__block { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); margin-bottom: 18px; display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.dd__block h2 { font-size: 19px; margin-bottom: 8px; }
.dd__block p { color: var(--text); }
.dd__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tint); color: var(--fg-600); }
.dd__icon--red { background: #ffe4e6; color: #be123c; }
.dd__icon--gold { background: var(--gold-100); color: var(--gold-600); }
.dd__icon--amber { background: #fef3c7; color: #b45309; }
.dd__aside { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 18px; }
.mini-products { display: grid; gap: 12px; }
.mini-product { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: .25s; }
.mini-product:hover { border-color: var(--p-300); box-shadow: var(--shadow-sm); }
.mini-product img { width: 64px; height: 64px; border-radius: 12px; flex: none; }
.mini-product b { display: block; font-size: 14.5px; line-height: 1.35; color: var(--ink); }
.mini-product small { color: var(--fg-700); font-weight: 600; }
.card { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.card h3 { font-size: 17px; margin-bottom: 14px; }
@media (max-width: 960px) { .dd { grid-template-columns: 1fr; } .dd__aside { position: static; } }
@media (max-width: 520px) { .dd__block { grid-template-columns: 1fr; padding: 22px; } .dfilter .seg { min-width: 0; width: 100%; } }

/* ==========================================================================
   Blog
   ========================================================================== */
.topics { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.topics a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14.5px; font-weight: 500; background: var(--surface); }
.topics a.is-active { background: var(--p-700); border-color: var(--p-700); color: #fff; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-strong); font-weight: 600; }
.pager .is-active { background: var(--p-700); color: #fff; border-color: var(--p-700); }
.article { max-width: 780px; margin: 0 auto; }
.article__meta { display: flex; gap: 18px; flex-wrap: wrap; color: #c6d5e6; font-size: 14.5px; margin-top: 18px; }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__lead { font-size: 19px; color: var(--muted); margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article__share { display: flex; align-items: center; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.article__share a, .article__share button { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-tint); color: var(--fg-700); }
.article__cover { border-radius: var(--radius-xl); overflow: hidden; margin: -64px auto 40px; max-width: 960px; position: relative; z-index: 2; box-shadow: var(--shadow-lg); }

/* ==========================================================================
   About
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__art { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-xl); overflow: hidden; background: radial-gradient(400px 300px at 20% 20%, rgba(155, 124, 201, .6), transparent 60%), radial-gradient(400px 300px at 90% 90%, rgba(214, 181, 111, .45), transparent 60%), linear-gradient(135deg, #0b365c, #04162a); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.split__art svg { width: 70%; }
.split__badge { position: absolute; left: 24px; bottom: 24px; padding: 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow); }
.split__badge b { display: block; font-size: 30px; font-weight: 600; color: var(--fg-700); line-height: 1; }
.split__badge small { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.value__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, var(--p-500), var(--p-800)); color: #fff; }
.value h3 { font-size: 19px; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 15px; }
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--p-300), var(--gold)); transform: translateX(-50%); }
.tl { position: relative; width: 50%; padding: 0 44px 40px; }
.tl:nth-child(odd) { margin-left: 0; text-align: right; }
.tl:nth-child(even) { margin-left: 50%; }
.tl::before { content: ''; position: absolute; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 4px solid var(--p-500); box-shadow: 0 0 0 6px var(--tint); }
.tl:nth-child(odd)::before { right: -8px; }
.tl:nth-child(even)::before { left: -8px; }
.tl__y { font-size: 30px; font-weight: 600; background: linear-gradient(135deg, var(--p-500), var(--p-900)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl p { color: var(--text); margin-top: 4px; }
.certs { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cert { display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; color: var(--fg-900); box-shadow: var(--shadow-sm); }
.cert .ico { color: var(--fg-600); }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .values { grid-template-columns: 1fr; }
  .timeline::before { left: 8px; }
  .tl, .tl:nth-child(even) { width: 100%; margin-left: 0; text-align: left; padding: 0 0 32px 40px; }
  .tl:nth-child(odd)::before, .tl:nth-child(even)::before { left: 0; right: auto; }
}

/* ==========================================================================
   Contact / Quote
   ========================================================================== */
.contact { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.info-cards { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.info-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--fg-600); flex: none; }
.info-card small { color: var(--muted); font-size: 13px; display: block; }
.info-card b, .info-card a { color: var(--ink); font-weight: 600; }
.form-card { padding: 36px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 26px; margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 24px; }
.form-card .btn { margin-top: 8px; }
.kind-switch { display: flex; gap: 6px; padding: 5px; background: var(--bg-tint); border-radius: 14px; margin-bottom: 24px; }
.kind-switch a { flex: 1; text-align: center; padding: 10px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.kind-switch a.is-active { background: var(--surface); color: var(--fg-700); box-shadow: var(--shadow-sm); }
.map { margin-top: 40px; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-card { padding: 24px 18px; } }

/* ==========================================================================
   Cart / Checkout / Order
   ========================================================================== */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.cart__lines { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.cline { display: grid; grid-template-columns: 88px 1fr auto auto 40px; gap: 18px; align-items: center; padding: 18px 20px; }
.cline + .cline { border-top: 1px solid var(--line); }
.cline img { width: 88px; height: 88px; border-radius: 14px; background: var(--bg-tint); }
.cline__title { font-weight: 700; color: var(--ink); line-height: 1.35; }
.cline__title:hover { color: var(--fg-600); }
.cline__variant { color: var(--muted); font-size: 14px; }
.cline__amount { font-weight: 700; color: var(--fg-800); min-width: 110px; text-align: right; font-variant-numeric: tabular-nums; }
.cline__remove { color: var(--muted); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.cline__remove:hover { color: var(--danger); background: #fff1f2; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--bg-soft)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.summary h2 { font-size: 20px; margin-bottom: 18px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--text); font-variant-numeric: tabular-nums; }
.summary__row--total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-size: 20px; font-weight: 700; color: var(--fg-900); }
.summary__hint { font-size: 13.5px; color: var(--gold-600); background: var(--gold-100); padding: 10px 12px; border-radius: 12px; margin: 10px 0; }
.summary .btn { margin-top: 16px; }
.summary__items { display: grid; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); max-height: 320px; overflow-y: auto; }
.summary__item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.summary__item img { width: 52px; height: 52px; border-radius: 10px; }
.summary__item b { display: block; font-size: 14px; color: var(--ink); line-height: 1.3; }
.summary__item small { color: var(--muted); }
.pay-methods { display: grid; gap: 12px; }
.pay { position: relative; }
.pay input { position: absolute; opacity: 0; }
.pay span { display: grid; grid-template-columns: 46px 1fr 22px; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line-strong); cursor: pointer; transition: .2s; background: var(--surface); }
.pay span::after { content: ''; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); transition: .2s; }
.pay input:checked + span { border-color: var(--p-500); background: var(--bg-soft); box-shadow: var(--ring); }
.pay input:checked + span::after { border: 6px solid var(--p-600); }
.pay input:focus-visible + span { outline: 2px solid var(--p-500); outline-offset: 2px; }
.pay__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--fg-600); font-weight: 700; font-size: 12px; }
.pay__icon--momo { background: #a50064; color: #fff; }
.pay__icon--vnpay { background: #005baa; color: #fff; }
.pay b { display: block; color: var(--ink); font-size: 15.5px; }
.pay small { color: var(--muted); font-size: 13.5px; }
.checkout-section { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); margin-bottom: 20px; }
.checkout-section h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; margin-bottom: 22px; }
.checkout-section h2 span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--p-700); color: #fff; font-size: 15px; }
.order-hero { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.order-hero__icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; color: #fff; background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 0 0 12px #d1fae5; }
.order-hero__icon--warn { background: linear-gradient(135deg, #fbbf24, #d97706); box-shadow: 0 0 0 12px #fef3c7; }
.order-hero h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 10px; }
.order-hero p { color: var(--muted); }
.order-code { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 20px; border-radius: 999px; background: var(--tint); color: var(--fg-800); font-weight: 700; letter-spacing: .06em; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.qr-card { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); text-align: center; box-shadow: var(--shadow); }
.qr-card img { width: 260px; margin: 14px auto; border-radius: 14px; border: 1px solid var(--line); }
.kv { display: grid; gap: 10px; text-align: left; margin-top: 12px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--bg-soft); font-size: 14.5px; }
.kv span { color: var(--muted); }
.kv b { color: var(--ink); text-align: right; word-break: break-all; }
.copy-btn { margin-left: 6px; color: var(--fg-600); font-size: 12.5px; font-weight: 600; }
.status-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--bg-tint); color: var(--fg-700); }
.status-badge--paid, .status-badge--completed { background: #d1fae5; color: #047857; }
.status-badge--failed, .status-badge--cancelled { background: #ffe4e6; color: #be123c; }
.status-badge--shipping { background: #dbeafe; color: #1d4ed8; }
@media (max-width: 960px) {
  .cart { grid-template-columns: 1fr; }
  .summary { position: static; }
  .order-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cline { grid-template-columns: 72px 1fr 40px; gap: 12px; padding: 16px; }
  .cline img { width: 72px; height: 72px; }
  .cline .qty { grid-column: 2; justify-self: start; }
  .cline__amount { grid-column: 2; text-align: left; grid-row: 3; }
  .cline__remove { grid-column: 3; grid-row: 1; }
  .checkout-section { padding: 22px 18px; }
}

/* Error page */
.err { text-align: center; padding: 120px 0; }
.err__code { font-size: clamp(90px, 16vw, 180px); font-weight: 600; line-height: 1; letter-spacing: -.005em; background: linear-gradient(135deg, var(--p-400), var(--p-800)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err h1 { font-size: 30px; margin: 10px 0; }
.err p { color: var(--muted); margin-bottom: 28px; }

/* ==========================================================================
   v2 — Luxury motion & details
   ========================================================================== */
@keyframes goldShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes sheen { 0% { transform: translateX(-120%) skewX(-20deg); } 60%, 100% { transform: translateX(220%) skewX(-20deg); } }

.hero__title { line-height: 1.02; }
.hero__title em { font-style: italic; padding-right: .06em; }
html[data-locale='zh'] .hero__title { line-height: 1.18; }
.brand__tag { text-transform: uppercase; letter-spacing: .2em; font-size: 10px; margin-top: 6px; }
html[data-locale='zh'] .brand__tag { letter-spacing: .3em; font-size: 11px; }
.logo-mark { width: 46px; height: 46px; filter: drop-shadow(0 6px 14px rgba(7, 38, 64, .28)); transition: transform .6s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-12deg) scale(1.05); }

/* Champagne buttons with a travelling sheen */
.btn--accent { position: relative; overflow: hidden; background: var(--gold-grad); background-size: 160% 100%; color: #2b1d07; box-shadow: 0 12px 28px -12px rgba(164, 122, 54, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--accent::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent); animation: sheen 3.6s var(--ease) infinite; pointer-events: none; }
.btn--accent:hover { background-position: 100% 0; }
.btn--primary { background: linear-gradient(135deg, var(--p-600), var(--p-900)); box-shadow: 0 10px 24px -10px rgba(11, 54, 92, .7), inset 0 0 0 1px rgba(236, 212, 155, .18); }
.btn--primary:hover { box-shadow: 0 14px 30px -10px rgba(11, 54, 92, .8), inset 0 0 0 1px rgba(236, 212, 155, .55); }
.btn--glass { border-color: rgba(236, 212, 155, .35); }
.btn--glass:hover { border-color: rgba(236, 212, 155, .7); }

/* Scroll progress hairline */
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 70; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--gold-grad); pointer-events: none; }

/* Living aquarium canvas */
.aquarium { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .bubbles { display: none; }
.hero__molecules { opacity: .22; }
.cta__box { isolation: isolate; }
.cta__box .aquarium { z-index: -1; opacity: .9; border-radius: inherit; }

/* Marquee of brand promises */
.marquee { position: relative; overflow: hidden; padding-block: 34px; background: var(--p-950); color: var(--gold-300); border-block: 1px solid rgba(236, 212, 155, .18); }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--p-950), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--p-950), transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; flex: none; }
.marquee__item { font-family: var(--font-display); font-style: italic; font-size: clamp(24px, 3vw, 38px); white-space: nowrap; }
html[data-locale='zh'] .marquee__item { font-style: normal; }
.marquee__sep { width: 30px; height: 30px; flex: none; opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Stats on the luxury band */
.stats { margin-top: -80px; }
.stats__grid { border: 1px solid rgba(214, 181, 111, .35); box-shadow: 0 40px 80px -30px rgba(7, 38, 64, .45); }
.stat__num { background: linear-gradient(135deg, var(--p-700), var(--p-950)); -webkit-background-clip: text; background-clip: text; }
.stat__num::after { content: ''; display: block; width: 28px; height: 1px; margin: 12px auto 0; background: var(--gold); }
.stat__label { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }

/* Product cards: 3D tilt + gold sheen */
.pgrid { perspective: 1200px; }
.pcard { transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .35s var(--ease); will-change: transform; position: relative; }
.pcard:hover { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); box-shadow: 0 30px 60px -24px rgba(11, 54, 92, .45); }
.pcard::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(236, 212, 155, .28), transparent 45%); opacity: 0; transition: opacity .3s; }
.pcard:hover::after { opacity: 1; }
.pcard__media img { transition: transform .8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.08) translateY(-4px); }
.pcard__price strong { font-family: var(--font-display); font-size: 21px; font-weight: 700; }
.pcard__add:hover { background: var(--gold-grad); color: #2b1d07; }

/* Category cards: gold underline that draws in */
.cat::after { content: ''; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.cat:hover::after { transform: scaleX(1); }
.cat:hover .cat__icon { background: linear-gradient(135deg, var(--p-600), var(--p-900)); color: var(--gold-300); }
.cat__title { font-family: var(--font-display); font-size: 25px; font-weight: 600; }

/* Stage markers in gold */
.stage__k { font-family: var(--font-display); font-size: 26px; border-color: var(--gold); color: var(--fg-800); }
.stage:hover .stage__k { background: linear-gradient(135deg, var(--p-600), var(--p-900)); color: var(--gold-300); }
.stages::before { background: linear-gradient(90deg, transparent, var(--gold), var(--p-300), var(--gold), transparent); }

/* Testimonials & misc */
.testi::before { color: var(--gold-100); }
.stars { color: var(--gold); }
.section--tint { background: linear-gradient(180deg, var(--bg-soft), var(--bg-tint)); }

/* Richer reveal */
.reveal { filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.reveal.is-in { filter: none; }
@media (prefers-reduced-motion: reduce) { .reveal { filter: none; } .marquee__track { animation: none; } .btn--accent::after { display: none; } }
.hero__visual { transition: transform .9s var(--ease); }
.hero__copy { max-width: 700px; }
.hero__title { font-size: clamp(42px, 5.6vw, 80px); }
.brand__name { font-weight: 700; }
.hero__lead { text-shadow: 0 1px 14px rgba(19, 7, 38, .65); }
/* Keep the main menu on one line on mid-size screens */
.nav__link { white-space: nowrap; }
@media (max-width: 1320px) {
  .header__inner { gap: 18px; }
  .brand__tag { display: none; }
  .nav__link { padding: 0 10px; font-size: 14.5px; }
}

/* ==========================================================================
   Theme toggle
   ========================================================================== */
.theme-btn { overflow: hidden; }
.theme-btn > span { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .5s var(--ease), opacity .3s; }
.theme-btn__sun { transform: translateY(120%) rotate(-90deg); opacity: 0; color: var(--gold); }
html[data-theme='dark'] .theme-btn__moon { transform: translateY(-120%) rotate(90deg); opacity: 0; }
html[data-theme='dark'] .theme-btn__sun { transform: none; opacity: 1; }
/* smooth colour cross-fade only while switching, so normal hovers stay snappy */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .4s ease, border-color .4s ease, color .4s ease, fill .4s ease, box-shadow .4s ease !important; }

/* ==========================================================================
   Floating contact buttons (Messenger · Zalo · Call · Top)
   ========================================================================== */
.fab { right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); gap: 12px; will-change: transform; }
.fab__btn { position: relative; animation: fabIn .6s var(--ease) both; }
.fab__btn:nth-child(2) { animation-delay: .08s; }
.fab__btn:nth-child(3) { animation-delay: .16s; }
@keyframes fabIn { from { opacity: 0; transform: translateY(18px) scale(.7); } }
.fab__btn--messenger { background: linear-gradient(45deg, #0a7cff 0%, #a033ff 60%, #ff5c87 100%); box-shadow: 0 12px 24px -8px rgba(160, 51, 255, .55); }
.fab__btn--zalo { background: #0068ff; box-shadow: 0 12px 24px -8px rgba(0, 104, 255, .55); }
.fab__btn--messenger svg, .fab__btn--zalo svg { animation: fabNudge 6s ease-in-out infinite; }
.fab__btn--zalo svg { animation-delay: 3s; }
@keyframes fabNudge { 0%, 84%, 100% { transform: none; } 88% { transform: rotate(-12deg) scale(1.08); } 92% { transform: rotate(10deg) scale(1.08); } 96% { transform: rotate(-4deg); } }
.fab__btn--messenger::before, .fab__btn--zalo::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: ping 3s 1.5s infinite; }
.fab__btn--messenger::before { color: #a033ff; }
.fab__btn--zalo::before { color: #0068ff; animation-delay: 3s; }
/* label that slides out on hover (pointer devices) */
.fab__btn[data-tip]::after { content: attr(data-tip); position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); padding: 7px 12px; border-radius: 10px; background: var(--p-900); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
@media (hover: hover) { .fab__btn[data-tip]:hover::after { opacity: 1; transform: translate(0, -50%); } }
@media (max-width: 640px) { .fab { gap: 10px; } .fab__btn { width: 50px; height: 50px; } .fab__btn--top { width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .fab__btn, .fab__btn svg, .fab__btn::before { animation: none !important; } }

/* ==========================================================================
   Dark theme — "Midnight Ocean"
   ========================================================================== */
html[data-theme='dark'] {
  color-scheme: dark;
  --ink: #eef4fa;
  --text: #d3dde8;
  --muted: #97a8ba;
  --line: #1c2c3d;
  --line-strong: #2a3f55;
  --bg: #06111c;
  --bg-soft: #0a1724;
  --bg-tint: #0e1d2d;
  --surface: #0d1b2a;
  --surface-glass: rgba(6, 17, 28, .82);
  --fg-500: #6fb6e6;
  --fg-600: #86c3ec;
  --fg-700: #a2d1f0;
  --fg-800: #cbe4f6;
  --fg-900: #e8f3fb;
  --tint: #132a40;
  --gold-600: #d9b977;
  --gold-100: #3a2c17;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .25);
  --shadow: 0 14px 34px -14px rgba(0, 0, 0, .7), 0 4px 10px -6px rgba(0, 0, 0, .5);
  --shadow-lg: 0 30px 70px -24px rgba(0, 0, 0, .85);
  --ring: 0 0 0 4px rgba(111, 182, 230, .25);
}
html[data-theme='dark'] body { background: var(--bg); }
html[data-theme='dark'] ::selection { background: var(--gold); color: #0b1b2b; }
html[data-theme='dark'] :focus-visible { outline-color: var(--gold); }
html[data-theme='dark'] .header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9); }
html[data-theme='dark'] .logo-mark { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); }
html[data-theme='dark'] .stat__num,
html[data-theme='dark'] .tl__y { background: linear-gradient(135deg, #f6e7bd, #d8b46c 45%, #a6cdea); -webkit-background-clip: text; background-clip: text; }
html[data-theme='dark'] .stats__grid { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
html[data-theme='dark'] .section--tint { background: linear-gradient(180deg, var(--bg-soft), var(--bg-tint)); }
html[data-theme='dark'] .pcard__media,
html[data-theme='dark'] .pd__main { background: radial-gradient(circle at 50% 40%, #10304d, var(--surface) 72%); }
html[data-theme='dark'] .pcard:hover { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85); }
html[data-theme='dark'] .pill--glass { background: rgba(13, 27, 42, .82); color: var(--fg-800); }
html[data-theme='dark'] .split__badge { background: rgba(13, 27, 42, .92); }
html[data-theme='dark'] .buybar { background: rgba(6, 17, 28, .94); }
html[data-theme='dark'] .btn--primary { background: linear-gradient(135deg, var(--p-500), var(--p-800)); }
html[data-theme='dark'] .btn--outline:hover { border-color: var(--gold); color: var(--gold-300); }
html[data-theme='dark'] .chips a.is-active,
html[data-theme='dark'] .topics a.is-active,
html[data-theme='dark'] .pager .is-active { background: var(--p-500); border-color: var(--p-500); }
html[data-theme='dark'] .field input::placeholder,
html[data-theme='dark'] .field textarea::placeholder { color: #776d8c; }
html[data-theme='dark'] .prose blockquote { color: var(--fg-800); }
html[data-theme='dark'] .tl::before { background: var(--bg); }
html[data-theme='dark'] .fab__btn--top { background: var(--surface); color: var(--fg-700); border-color: var(--line-strong); }
html[data-theme='dark'] .fab__btn { box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .75); }
html[data-theme='dark'] .search-overlay,
html[data-theme='dark'] .drawer__backdrop { background: rgba(2, 8, 14, .7); }
html[data-theme='dark'] .toast { background: #10304d; }
/* status colours, re-tuned for dark grounds */
html[data-theme='dark'] .sev--high, html[data-theme='dark'] .dd__icon--red, html[data-theme='dark'] .status-badge--failed, html[data-theme='dark'] .status-badge--cancelled { background: rgba(244, 63, 94, .16); color: #fda4af; }
html[data-theme='dark'] .sev--medium, html[data-theme='dark'] .dd__icon--amber { background: rgba(245, 158, 11, .16); color: #fcd34d; }
html[data-theme='dark'] .sev--low, html[data-theme='dark'] .status-badge--paid, html[data-theme='dark'] .status-badge--completed { background: rgba(16, 185, 129, .16); color: #6ee7b7; }
html[data-theme='dark'] .status-badge--shipping { background: rgba(59, 130, 246, .18); color: #93c5fd; }
html[data-theme='dark'] .alert--error { background: rgba(244, 63, 94, .12); color: #fecdd3; border-color: rgba(244, 63, 94, .35); }
html[data-theme='dark'] .alert--success { background: rgba(16, 185, 129, .12); color: #a7f3d0; border-color: rgba(16, 185, 129, .35); }
html[data-theme='dark'] .note { background: rgba(245, 158, 11, .1); color: #fde68a; border-color: rgba(245, 158, 11, .3); }
html[data-theme='dark'] .cline__remove:hover { background: rgba(244, 63, 94, .14); }
html[data-theme='dark'] .order-hero__icon--warn { box-shadow: 0 0 0 12px rgba(245, 158, 11, .16); }

/* Compact header on phones (room for the theme toggle) */
.drawer__tools { display: flex; gap: 4px; }
@media (max-width: 640px) {
  .header__inner { gap: 10px; }
  .header__actions { gap: 0; }
  .header__actions .icon-btn { width: 38px; height: 38px; }
  .brand { gap: 9px; }
  .header .logo-mark { width: 38px; height: 38px; }
  .header .brand__name { font-size: 15.5px; letter-spacing: .08em; }
}
@media (max-width: 359px) {
  .header__actions .theme-btn { display: none; } /* still available inside the menu drawer */
  .header .brand__name { font-size: 14px; letter-spacing: .05em; }
}

/* ==========================================================================
   Article — editorial layout
   ========================================================================== */
.phero--article { padding-bottom: 150px; }
.apost__head { max-width: 900px; }
.apost__head .eyebrow { margin-top: 26px; }
.apost__title { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.08; margin-top: 14px; }
.apost__lead { color: #cfdcec; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; margin-top: 18px; max-width: 760px; }
.apost__head .article__meta { margin-top: 26px; gap: 10px 22px; }
.apost__badge { padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(236, 212, 155, .4); color: var(--gold-300); font-size: 13px; font-weight: 600; }
.apost__cover { margin: -118px auto 0; max-width: 1080px; border-radius: var(--radius-xl); overflow: hidden; position: relative; z-index: 2; box-shadow: 0 40px 80px -30px rgba(19, 7, 38, .6); border: 1px solid rgba(236, 212, 155, .25); aspect-ratio: 16 / 9; background: #072640; }
.apost__cover img { width: 100%; height: 100%; object-fit: cover; }
.apost { padding-top: 56px; }
.apost__grid { display: grid; grid-template-columns: 280px minmax(0, 760px); gap: 64px; justify-content: center; align-items: start; }
.apost__side { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 18px; order: 0; }
.apost__body { min-width: 0; }

.toc { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: 6px 6px 10px; }
.toc summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-600); cursor: pointer; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { counter-reset: toc; max-height: min(56vh, 520px); overflow-y: auto; padding: 0 4px; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 28px 1fr; gap: 4px; padding: 8px 10px; border-radius: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); transition: background .2s, color .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--gold); }
.toc a:hover { background: var(--bg-tint); color: var(--ink); }
.toc a.is-active { background: var(--tint); color: var(--fg-700); font-weight: 600; }

.expert-card { position: relative; overflow: hidden; padding: 22px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(260px 180px at 100% 0%, rgba(236, 212, 155, .28), transparent 60%), linear-gradient(160deg, #0b365c, #04162a); border: 1px solid rgba(236, 212, 155, .25); display: flex; flex-direction: column; gap: 10px; }
.expert-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--gold-grad); color: #2b1d07; }
.expert-card b { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.2; }
.expert-card p { color: #cfdcec; font-size: 14px; line-height: 1.55; margin-bottom: 4px; }
.expert-card__tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--gold-300); padding-top: 4px; }

/* long-form typography */
.prose--article { font-size: 18px; line-height: 1.8; }
.prose--article > p:first-child::first-letter { float: left; font-family: var(--font-display); font-size: 4.1em; line-height: .82; padding: .06em .12em 0 0; font-weight: 600; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-locale='zh'] .prose--article > p:first-child::first-letter { float: none; font-size: inherit; padding: 0; background: none; color: inherit; -webkit-background-clip: border-box; background-clip: border-box; }
.prose--article h2 { font-family: var(--font-display); font-size: clamp(27px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.005em; margin-top: 2em; padding-top: 18px; position: relative; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose--article h2::before { content: ''; position: absolute; left: 0; top: 0; width: 44px; height: 2px; background: var(--gold-grad); }
.prose--article h3 { font-size: 20px; margin-top: 1.6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose--article blockquote { font-size: 17px; border-left: 0; position: relative; padding: 22px 24px 22px 64px; background: linear-gradient(135deg, var(--tint), var(--bg-tint)); border-radius: 18px; }
.prose--article blockquote::before { content: '“'; position: absolute; left: 18px; top: 4px; font-family: var(--font-display); font-size: 64px; color: var(--gold); line-height: 1; }
.prose--article a { color: var(--fg-600); text-decoration-color: rgba(214, 181, 111, .7); text-decoration-thickness: 2px; }
.prose--article a:hover { color: var(--fg-800); text-decoration-color: var(--gold); }
.table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 520px; }
.prose th { text-align: left; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); background: var(--bg-tint); padding: 12px 16px; border-bottom: 1px solid var(--line-strong); }
.prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose tbody tr:hover td { background: var(--bg-soft); }

/* FAQ */
.faq { margin-top: 64px; scroll-margin-top: calc(var(--header-h) + 24px); }
.faq__title { font-family: var(--font-display); font-size: clamp(28px, 2.8vw, 36px); font-weight: 600; margin-bottom: 20px; }
.faq__item { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: rgba(214, 181, 111, .55); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 16.5px; color: var(--ink); cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform .3s var(--ease), background .2s; }
.faq__item summary i::before, .faq__item summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--fg-700); transform: translate(-50%, -50%); }
.faq__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq__item[open] summary i { background: var(--gold-grad); border-color: transparent; }
.faq__item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 22px 20px; font-size: 16px; color: var(--text); }

/* Author (E-E-A-T) */
.author-box { display: grid; grid-template-columns: 64px 1fr; gap: 18px; margin-top: 56px; padding: 24px; border-radius: var(--radius-lg); background: var(--bg-tint); border: 1px solid var(--line); }
.author-box__mark .logo-mark { width: 64px; height: 64px; }
.author-box small { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }
.author-box b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); margin: 2px 0 6px; }
.author-box p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.author-box__meta { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }

@media (max-width: 1023px) {
  .apost__grid { grid-template-columns: minmax(0, 760px); gap: 28px; }
  .apost__side { position: static; }
  .expert-card { display: none; }
  .apost__body + * { margin-top: 0; }
}
@media (max-width: 640px) {
  .phero--article { padding-bottom: 96px; }
  .apost__cover { margin-top: -72px; border-radius: 20px; }
  .prose--article { font-size: 17px; }
  .apost { padding-top: 36px; }
  .author-box { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Home — promise strip, handbook, FAQ
   ========================================================================== */
.promise { position: relative; background: linear-gradient(120deg, var(--p-950), #2a1250 55%, var(--p-950)); color: #fff; border-block: 1px solid rgba(236, 212, 155, .2); }
.promise__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.promise__item { display: flex; gap: 16px; align-items: flex-start; padding: 34px 26px; position: relative; }
.promise__item + .promise__item::before { content: ''; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: linear-gradient(transparent, rgba(236, 212, 155, .45), transparent); }
.promise__icon { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: var(--gold-grad); color: #2b1d07; box-shadow: 0 10px 24px -10px rgba(214, 181, 111, .8); }
.promise__item b { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.2; color: #fff; }
.promise__item small { display: block; margin-top: 6px; color: #c6d5e6; font-size: 14px; line-height: 1.5; }
@media (max-width: 1080px) { .promise__grid { grid-template-columns: repeat(2, 1fr); } .promise__item:nth-child(3)::before { display: none; } }
@media (max-width: 560px) { .promise__grid { grid-template-columns: 1fr; } .promise__item { padding: 22px 4px; } .promise__item::before { display: none; } .promise__item + .promise__item { border-top: 1px solid rgba(236, 212, 155, .15); } }

.guide__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: stretch; }
.guide__main { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.guide__main:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -28px rgba(11, 54, 92, .5); }
.guide__cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #072640; }
.guide__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.guide__main:hover .guide__cover img { transform: scale(1.04); }
.guide__body { display: flex; flex-direction: column; gap: 12px; padding: 28px 30px 30px; }
.guide__body .pill { align-self: flex-start; }
.guide__title { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; line-height: 1.15; color: var(--ink); }
.guide__excerpt { color: var(--muted); font-size: 16px; line-height: 1.6; }
.guide__meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-top: 4px; }
.guide__meta .link-arrow { margin-left: auto; }
.guide__list { display: flex; flex-direction: column; gap: 14px; }
.guide__list li { flex: 1; }
.guide__list a { height: 100%; display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.guide__list a:hover { border-color: rgba(214, 181, 111, .6); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.guide__num { font-family: var(--font-display); font-size: 40px; font-weight: 600; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.guide__list small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; margin-bottom: 4px; }
.guide__list b { display: block; font-size: 16.5px; line-height: 1.4; color: var(--ink); font-weight: 600; }
.guide__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.guide__chips > span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-right: 4px; }
.guide__chips a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--text); transition: .2s; }
.guide__chips a:hover { border-color: var(--gold); color: var(--fg-700); background: var(--tint); }
@media (max-width: 980px) { .guide__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .guide__body { padding: 22px; } .guide__list a { grid-template-columns: 44px 1fr; padding: 16px; } .guide__num { font-size: 32px; } }

.home-faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.home-faq__grid > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); }
.faq--home { margin-top: 0; }
@media (max-width: 980px) { .home-faq__grid { grid-template-columns: 1fr; gap: 28px; } .home-faq__grid > div:first-child { position: static; } }

/* Blog index */
.blog-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.blog-tools .topics { margin: 0; justify-content: flex-start; }
.blog-search { display: flex; align-items: center; gap: 10px; flex: 0 1 380px; height: 48px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.blog-search:focus-within { border-color: var(--p-500); box-shadow: var(--ring); }
.blog-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--text); }
.bfeature { display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 36px; }
.bfeature .guide__cover { aspect-ratio: auto; height: 100%; min-height: 320px; }
.bfeature .guide__body { justify-content: center; padding: 40px; }
.bfeature .guide__title { font-size: clamp(28px, 3vw, 40px); }
@media (max-width: 900px) { .bfeature { grid-template-columns: 1fr; } .bfeature .guide__cover { aspect-ratio: 16 / 9; min-height: 0; } .bfeature .guide__body { padding: 24px; } }
@media (max-width: 640px) { .blog-search { flex: 1 1 100%; } }
/* Generated covers carry their masthead on the left: crop from the right */
.bcard__media img[src*="/cover/"], .guide__cover img[src*="/cover/"] { object-position: 0% 50%; }

/* ==========================================================================
   Store layout — retail header, category menu, slider, policy strip, store cards
   (ocean blue first; purple kept only as a brand accent in the logo and "TÍM")
   ========================================================================== */
:root {
  --font-display: var(--font);
  --radius-lg: 16px;
  --radius-xl: 20px;
  --header-h: 134px;
  --price: #d92d20;
  --violet: #5b3aa6;
}
html[data-theme='dark'] { --price: #ff8a7a; --violet: #b49cf0; }

.section__title, .phero__title, .pd__title, .cta__copy h2, .apost__title, .err__code { font-weight: 700; letter-spacing: -.015em; }
.brand__name { font-family: var(--font); font-weight: 700; letter-spacing: .04em; }
.brand__name b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--violet); font-weight: 700; }
.brand--light .brand__name b, .footer .brand__name b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__tag { letter-spacing: .02em; }
.logo-mark { width: 48px; height: 48px; }

/* ---------- Header: logo · search · hotline · cart ---------- */
.header { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
.header__inner { height: 84px; gap: 26px; transition: height .25s var(--ease); }
.header.is-scrolled .header__inner { height: 66px; }
.header.is-scrolled .brand__tag { display: none; }
.hsearch { flex: 1; max-width: 580px; display: flex; height: 46px; border: 2px solid var(--p-600); border-radius: 999px; overflow: hidden; background: var(--surface); margin-inline: auto; }
.hsearch input { flex: 1; min-width: 0; border: 0; padding: 0 20px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; outline: none; }
.hsearch input::placeholder { color: var(--muted); }
.hsearch button { width: 60px; flex-shrink: 0; display: grid; place-items: center; background: var(--p-600); color: #fff; transition: background .2s; }
.hsearch button:hover { background: var(--p-700); }
.header__actions { gap: 10px; margin-left: 0; }
.hcall { display: flex; align-items: center; gap: 10px; color: var(--ink); padding-right: 6px; }
.hcall__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--fg-600); }
.hcall__text small { display: block; font-size: 12px; line-height: 1.2; color: var(--muted); }
.hcall__text b { display: block; font-size: 16.5px; line-height: 1.25; color: var(--price); font-weight: 700; white-space: nowrap; }
.hcart { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.hcart:hover { color: var(--fg-600); }
.hcart .cart-btn { pointer-events: none; }
.hsearch-btn { display: none; }

/* ---------- Main nav bar ---------- */
.mainnav { background: var(--p-700); color: #fff; }
.mainnav__inner { display: flex; align-items: stretch; height: 50px; gap: 6px; }
.mainnav .nav__list { display: flex; gap: 0; flex: 1; min-width: 0; }
.mainnav .nav__link { height: 50px; padding: 0 16px; border-radius: 0; color: rgba(255, 255, 255, .92); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.mainnav .nav__link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.mainnav .nav__link.is-active { color: #fff; font-weight: 700; background: rgba(255, 255, 255, .1); }
.mainnav .nav__link.is-active::after { left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold); }
.mainnav__quote { align-self: center; margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 18px; border-radius: 999px; background: var(--gold-grad); color: #2b1d07; font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.mainnav__quote:hover { filter: brightness(1.06); }

.catmenu { position: relative; width: 260px; flex-shrink: 0; }
.catmenu__btn { width: 100%; height: 100%; display: flex; align-items: center; gap: 12px; padding: 0 18px; background: var(--p-900); color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; }
.catmenu__list { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg); padding: 6px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.catmenu:hover .catmenu__list, .catmenu.is-open .catmenu__list, .catmenu:focus-within .catmenu__list { opacity: 1; visibility: visible; transform: none; }
.catmenu__list a, .shop-cats a { display: flex; align-items: center; gap: 12px; padding: 9px 16px; color: var(--text); font-size: 14.5px; font-weight: 500; transition: background .15s, color .15s; }
.catmenu__list a:hover, .shop-cats a:hover { background: var(--tint); color: var(--fg-700); }
.catmenu__list small { margin-left: auto; min-width: 24px; text-align: center; color: var(--muted); font-size: 12px; background: var(--bg-soft); border-radius: 999px; padding: 0 7px; }
.catmenu__ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--tint); color: var(--fg-600); flex-shrink: 0; }
.catmenu__list .catmenu__all, .shop-cats .catmenu__all { font-weight: 700; color: var(--fg-700); border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 12px; }
.catmenu__all > svg:last-child { margin-left: auto; }

/* ---------- Home hero: category sidebar · slider · side banners ---------- */
.shop-hero { padding: 18px 0 0; }
.shop-hero__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr) 250px; gap: 16px; }
.shop-cats { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.shop-cats ul { padding: 8px 0; }
.shop-cats a > svg:last-child { margin-left: auto; opacity: .35; }
.shop-cats a:hover > svg:last-child { opacity: 1; }

.slider { position: relative; min-height: 410px; border-radius: 16px; overflow: hidden; background: var(--p-900); isolation: isolate; }
.slider__track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 10px; padding: 36px 48px 52px; color: #fff; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; background: radial-gradient(circle at 76% 52%, color-mix(in srgb, var(--c) 60%, transparent) 0, transparent 58%), radial-gradient(circle at 10% 110%, rgba(214, 181, 111, .22), transparent 45%), linear-gradient(118deg, #04162a 0%, #0b365c 52%, #0f5f9e 100%); }
.slide.is-active { opacity: 1; visibility: visible; }
.slide::after { content: ''; position: absolute; inset: auto -10% -60px -10%; height: 140px; background: radial-gradient(ellipse at 50% 0, rgba(255, 255, 255, .08), transparent 70%); pointer-events: none; }
.slide__copy { position: relative; z-index: 1; }
.slide__tag { display: inline-flex; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(236, 212, 155, .35); font-size: 13px; font-weight: 600; color: var(--gold-300); }
.slide__title { margin: 16px 0 10px; color: #fff; font-family: var(--font); font-weight: 700; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.18; letter-spacing: -.015em; }
.slide__lead { margin: 0 0 24px; color: rgba(255, 255, 255, .82); font-size: 15.5px; max-width: 46ch; }
.slide__img { width: 100%; max-width: 330px; justify-self: center; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .45)); transform: translateY(14px) scale(.94); opacity: .4; transition: transform .9s var(--ease), opacity .9s; }
.slide.is-active .slide__img { transform: none; opacity: 1; }
.slider__nav { position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; opacity: 0; transition: opacity .2s, background .2s; }
.slider:hover .slider__nav, .slider__nav:focus-visible { opacity: 1; }
.slider__nav:hover { background: rgba(255, 255, 255, .3); }
.slider__nav--prev { left: 12px; }
.slider__nav--next { right: 12px; }
.slider__dots { position: absolute; left: 41px; bottom: 13px; z-index: 2; display: flex; gap: 0; }
/* 24×24 touch target (WCAG 2.5.8); the visible dot is the content box */
.slider__dots button { box-sizing: content-box; padding: 7px; background-clip: content-box; width: 10px; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .35); transition: width .3s, background .3s; }
.slider__dots button.is-active { width: 30px; background: var(--gold); }

.shop-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.shop-side__card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 150px; padding: 20px; border-radius: 16px; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(145deg, #1777bd, #0b365c); transition: transform .3s var(--ease), box-shadow .3s; }
.shop-side__card--2 { background: linear-gradient(145deg, #4a2f86, #172a55); }
.shop-side__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.shop-side__card::after { content: ''; position: absolute; z-index: -1; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 26px rgba(255, 255, 255, .04); }
.shop-side__icon { position: absolute; top: 18px; left: 20px; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: var(--gold-300); }
.shop-side__card b { font-size: 16.5px; line-height: 1.3; padding-right: 26px; }
.shop-side__card small { color: rgba(255, 255, 255, .8); font-size: 13px; line-height: 1.45; padding-right: 26px; }
.shop-side__card .link-arrow { position: absolute; right: 18px; bottom: 20px; color: var(--gold-300); }

/* ---------- Policy strip ---------- */
.policy { padding: 18px 0 0; }
.policy__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.policy__item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.policy__item + .policy__item { border-left: 1px solid var(--line); }
.policy__icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--p-300); color: var(--fg-600); background: var(--tint); }
.policy__item b { display: block; font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.policy__item small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--muted); margin-top: 2px; }

/* ---------- Store blocks & section heads ---------- */
.shop-block { padding: 46px 0; }
.shop-block--tint { background: var(--bg-soft); }
.shead { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 22px; border-bottom: 2px solid var(--line); }
.shead__title { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 -2px; padding-bottom: 12px; border-bottom: 3px solid var(--p-600); font-family: var(--font); font-size: 21px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; color: var(--fg-800); }
.shead__title svg { color: var(--gold-600); }
.shead__more { display: inline-flex; align-items: center; gap: 4px; padding-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--fg-600); }
.shead__more:hover { color: var(--price); }
.shead__tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; }
.shead__tabs button { padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--text); transition: .2s; }
.shead__tabs button:hover { border-color: var(--p-400); color: var(--fg-600); }
.shead__tabs button[aria-selected='true'] { background: var(--p-600); border-color: var(--p-600); color: #fff; }

.pgrid--5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pgrid__cell { display: flex; min-width: 0; }
.pgrid__cell > .pcard { flex: 1; min-width: 0; }
.pgrid__cell[hidden] { display: none; }

/* ---------- Store product card ---------- */
.pcard { border-radius: 14px; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--p-300); }
.pcard__media { background: var(--surface); }
.pcard__media .pill { left: 10px; top: 10px; }
.pcard__body { gap: 6px; padding: 12px 14px 14px; }
.pcard__meta { font-size: 11.5px; }
.pcard__meta > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard__title { font-size: 14.5px; font-weight: 600; line-height: 1.4; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__rating { display: flex; align-items: center; gap: 4px; }
.pcard__rating .stars { color: #f5a524; gap: 1px; }
.pcard__rating small { color: var(--muted); font-size: 12px; }
.pcard__price { margin-top: auto; }
.pcard__price small { color: var(--muted); font-size: 12px; }
.pcard__price strong { color: var(--price); font-size: 17.5px; font-weight: 700; }
.pcard__buy { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 40px; margin-top: 6px; border-radius: 10px; border: 1.5px solid var(--p-600); background: transparent; color: var(--fg-600); font-size: 14px; font-weight: 700; transition: background .2s, color .2s; }
.pcard__buy:hover { background: var(--p-600); color: #fff; }
.pcard__buy--quote { border-color: var(--line-strong); color: var(--text); }
.pcard__buy--quote:hover { background: var(--ink); border-color: var(--ink); color: var(--surface); }

/* ---------- Disease banner ---------- */
.dbanner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 24px; padding: 28px 32px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 92% 0, rgba(214, 181, 111, .22), transparent 40%), linear-gradient(118deg, #04162a, #0b365c 58%, #0f5f9e); }
.dbanner__copy { display: flex; align-items: flex-start; gap: 16px; }
.dbanner__icon { width: 58px; height: 58px; flex-shrink: 0; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--gold-300); }
.dbanner h2 { margin: 0 0 6px; color: #fff; font-size: 22px; font-weight: 700; }
.dbanner p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 14.5px; }
.dbanner__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dbanner__chips a { padding: 6px 13px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: 13px; }
.dbanner__chips a:hover { background: rgba(255, 255, 255, .18); }
.dbanner__cta { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Dark theme ---------- */
html[data-theme='dark'] .header { background: var(--surface); }
html[data-theme='dark'] .mainnav { background: #0a2238; }
html[data-theme='dark'] .catmenu__btn { background: #071828; }
html[data-theme='dark'] .hsearch { border-color: var(--p-500); }
html[data-theme='dark'] .hsearch button { background: var(--p-500); }
html[data-theme='dark'] .pcard__buy { border-color: var(--p-400); color: var(--fg-600); }
html[data-theme='dark'] .pcard__buy:hover { background: var(--p-500); color: #fff; }
html[data-theme='dark'] .shead__title { border-bottom-color: var(--p-400); }
html[data-theme='dark'] .shead__tabs button[aria-selected='true'] { background: var(--p-500); border-color: var(--p-500); }
html[data-theme='dark'] .policy__icon { border-color: #2a4a68; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .hcall__text { display: none; }
  .catmenu { width: 230px; }
  .mainnav .nav__link { padding: 0 12px; font-size: 13.5px; }
  .shop-hero__grid { grid-template-columns: 230px minmax(0, 1fr); }
  .shop-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .shop-side__card { min-height: 120px; padding-left: 86px; justify-content: center; }
  .shop-side__icon { top: 50%; margin-top: -24px; }
  .pgrid--5 { grid-template-columns: repeat(4, 1fr); }
  .dbanner { grid-template-columns: 1fr 1fr; }
  .dbanner__cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 1080px) {
  .mainnav__quote { display: none; }
  .mainnav .nav__link { padding: 0 10px; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .mainnav, .hsearch, .hcall { display: none; }
  .hsearch-btn { display: inline-grid; }
  .header__inner { height: 72px; justify-content: space-between; }
  .header.is-scrolled .header__inner { height: 64px; }
  .hcart__label { display: none; }
  .shop-hero__grid { grid-template-columns: 1fr; }
  .shop-cats { display: none; }
  .slider { min-height: 360px; }
  .policy__grid { grid-template-columns: 1fr 1fr; }
  .policy__item:nth-child(3) { border-left: 0; }
  .policy__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .pgrid--5 { grid-template-columns: repeat(3, 1fr); }
  .dbanner { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .header__inner, .header.is-scrolled .header__inner { height: 64px; gap: 8px; }
  .header__actions { gap: 0; }
  .header .container { padding-inline: 14px; }
  .logo-mark, .header .logo-mark { width: 40px; height: 40px; }
  .shop-hero { padding-top: 12px; }
  .slider { min-height: 300px; border-radius: 14px; }
  .slide { grid-template-columns: 1fr; align-content: center; padding: 24px 22px 48px; }
  .slide__copy { max-width: 64%; }
  .slide__title { font-size: 21px; margin: 12px 0 14px; }
  .slide__lead { display: none; }
  .slide__img { position: absolute; right: -14px; bottom: 6px; width: 46%; max-width: 220px; }
  .slide .btn { padding: 10px 16px; font-size: 14px; }
  .slider__dots { left: 15px; bottom: 9px; }
  .slider__nav { display: none; }
  .shop-side { grid-template-columns: 1fr; gap: 10px; }
  .shop-side__card { min-height: 92px; padding: 14px 16px 14px 78px; }
  .shop-side__icon { left: 16px; width: 44px; height: 44px; margin-top: -22px; }
  .policy__item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .policy__icon { width: 42px; height: 42px; }
  .policy__item small { display: none; }
  .shop-block { padding: 34px 0; }
  .shead__title { font-size: 17px; }
  .shead__tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .shead__tabs::-webkit-scrollbar { display: none; }
  .shead__tabs button { flex-shrink: 0; }
  .pgrid--5 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard__body { padding: 10px 10px 12px; }
  .pcard__meta .pcard__species { display: none; }
  .pcard__title { font-size: 13.5px; }
  .pcard__price strong { font-size: 15.5px; }
  .pcard__buy { height: 36px; font-size: 13px; gap: 6px; }
  .dbanner__copy { flex-direction: column; }
  .dbanner__cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* Store-style compact page banner (article pages keep their tall editorial hero) */
.phero:not(.phero--article) { padding: 34px 0 62px; }
.phero:not(.phero--article) .phero__waves { height: 60px; }
.phero:not(.phero--article) .phero__title { font-size: clamp(26px, 3vw, 38px); margin-top: 12px; }
.phero:not(.phero--article) .phero__lead { font-size: 16px; margin-top: 8px; }
@media (max-width: 640px) { .phero:not(.phero--article) { padding: 22px 0 46px; } }
.pgrid--shop { grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1200px) { .pgrid--shop { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .pgrid--shop { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ==========================================================================
   Reference store form — category list joined to the menu bar, flat policy
   strip, tab-style section heads, row carousels, plain store cards,
   two link banners, 3-column news, light footer
   ========================================================================== */

/* Header */
.topbar__hot { display: none !important; }
.hsearch { border-radius: 8px; }
.hcall__icon { background: var(--p-600); color: #fff; }

/* Home: the category list hangs straight under the "Danh mục" button */
@media (min-width: 961px) {
  .catmenu--home .catmenu__list { display: none; }
}
.shop-hero { padding: 0; }
.shop-hero__grid { grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.shop-cats { border-top: 0; border-radius: 0 0 10px 10px; }
.shop-cats ul { padding: 2px 0 4px; }
.shop-cats li + li a { border-top: 1px solid var(--line); }
.shop-cats a { padding: 8px 14px; }
.shop-cats .catmenu__all { margin-top: 0; padding-top: 10px; border-top-style: solid; }
.slider { margin-top: 20px; min-height: 380px; border-radius: 12px; }
.slider__dots button { border-radius: 10px; } /* inner (dot) radius = 10 − 7px padding = 3px */

/* Policy strip: flat, round filled icons, uppercase titles */
.policy { padding: 30px 0 4px; }
.policy__grid { background: none; border: 0; border-radius: 0; gap: 22px; }
.policy__item { padding: 0; }
.policy__item + .policy__item { border-left: 0; }
.policy__icon { width: 54px; height: 54px; border: 0; background: var(--p-600); color: #fff; box-shadow: 0 6px 14px -6px rgba(15, 95, 158, .6); }
.policy__item b { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.policy__item small { font-size: 13.5px; }

/* Section heads: filled tab + hairline */
.shop-block { padding: 34px 0 8px; }
.shead { align-items: flex-end; margin-bottom: 18px; border-bottom: 1px solid var(--line-strong); }
.shead__title { margin: 0 0 -1px; padding: 11px 26px 11px 16px; border: 0; border-radius: 8px 8px 0 0; background: var(--p-700); color: #fff; font-size: 16px; letter-spacing: .02em; }
.shead__title svg { color: var(--gold-300); }
.shead__more { padding-bottom: 10px; }
.shead__tabs { padding-bottom: 8px; gap: 4px; }
.shead__tabs button { padding: 5px 12px; font-size: 13px; }
html[data-theme='dark'] .shead__title { background: #0f4a7c; }

/* Row carousel: 5 cards in view, arrows on the sides */
.prow { position: relative; }
.prow__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 0 6px; }
.prow__track::-webkit-scrollbar { display: none; }
.prow__track > * { scroll-snap-align: start; min-width: 0; }
.prow__nav { position: absolute; top: 28%; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); box-shadow: var(--shadow-sm); transition: opacity .2s, background .2s, color .2s; }
.prow__nav:hover { background: var(--p-600); border-color: var(--p-600); color: #fff; }
.prow__nav--prev { left: -20px; }
.prow__nav--next { right: -20px; }
.prow__nav:disabled { opacity: 0; pointer-events: none; }
.prow.is-static .prow__nav { display: none; }

/* Plain store card: image, name, red price, small cart button */
.pcard, .pcard:hover { border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: none; overflow: visible; }
.pcard::after { display: none; }
.pcard__media { border-radius: 10px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s; }
.pcard:hover .pcard__media { border-color: var(--p-300); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__body { gap: 8px; padding: 12px 2px 4px; }
.pcard__title { font-size: 14.5px; font-weight: 500; line-height: 1.4; color: var(--ink); min-height: 2.8em; }
.pcard__title a:hover { color: var(--fg-600); }
.pcard__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.pcard__price { margin: 0; white-space: nowrap; }
.pcard__price strong { font-family: var(--font); font-size: 16.5px; font-weight: 700; color: var(--price); }
.pcard__buy { width: 36px; height: 36px; flex-shrink: 0; margin: 0; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg-600); }
.pcard__buy:hover { background: var(--p-600); border-color: var(--p-600); color: #fff; }
html[data-theme='dark'] .pcard__buy { border-color: var(--line-strong); }

/* Two link banners */
.duo { padding: 30px 0 6px; }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo__card { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 230px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.duo__menu { display: flex; flex-direction: column; padding: 18px 0 8px; background: var(--p-700); color: #fff; }
.duo__card--news .duo__menu { background: var(--gold-grad); color: #2b1d07; }
.duo__title { display: flex; align-items: center; gap: 8px; padding: 0 16px 12px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.duo__card--news .duo__title { border-bottom-color: rgba(43, 29, 7, .18); }
.duo__menu a { display: block; padding: 9px 16px; font-size: 13.5px; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid rgba(255, 255, 255, .12); transition: background .15s; }
.duo__card--news .duo__menu a { border-bottom-color: rgba(43, 29, 7, .12); }
.duo__menu a:hover { background: rgba(255, 255, 255, .12); }
.duo__media { position: relative; display: block; overflow: hidden; background: radial-gradient(circle at 70% 40%, rgba(90, 163, 214, .45), transparent 55%), linear-gradient(130deg, #04162a, #0b365c 55%, #1777bd); }
.duo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.duo__card--svc .duo__media img { position: absolute; right: 6%; top: 8%; width: auto; height: 84%; object-fit: contain; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .45)); }
.duo__card:hover .duo__media img { transform: scale(1.04); }
.duo__cap { position: absolute; left: 20px; bottom: 18px; max-width: 52%; color: #fff; }
.duo__cap b { display: block; font-size: 18px; line-height: 1.3; }
.duo__cap small { display: block; margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .8); }

/* News: 3 columns */
.news { padding-bottom: 40px; }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ncard__cover { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.ncard__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ncard:hover .ncard__cover img { transform: scale(1.04); }
.ncard__title { margin: 14px 0 8px; font-size: 16px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__title a:hover { color: var(--fg-600); }
.ncard__excerpt { margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }

/* Light footer with a blue base line */
.footer { background: var(--surface); color: var(--text); border-top: 1px solid var(--line); border-bottom: 5px solid var(--p-700); padding-top: 56px; }
.footer__glow { display: none; }
.footer h3 { color: var(--ink); }
.footer__col a:hover, .footer__contact a:hover { color: var(--fg-600); }
.footer .brand--light .brand__name { color: var(--fg-800); }
.footer .brand__name b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--violet); }
.footer .brand--light .brand__tag { color: var(--muted); }
.footer__contact .ico { color: var(--p-600); }
.footer .socials a { background: var(--tint); border-color: var(--line); color: var(--fg-700); }
.footer .socials a:hover { background: var(--p-600); border-color: var(--p-600); color: #fff; }
.footer .newsletter { background: var(--bg-soft); border-color: var(--line-strong); }
.footer .newsletter input { color: var(--ink); }
.footer .newsletter input::placeholder { color: var(--muted); }
.footer__bottom { border-top-color: var(--line); color: var(--muted); }
.footer__sample { color: var(--muted); }

/* Responsive */
@media (max-width: 1200px) {
  .shop-hero__grid { grid-template-columns: 230px minmax(0, 1fr); }
  .prow__track { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
  .prow__nav--prev { left: -8px; }
  .prow__nav--next { right: -8px; }
  .duo__card { grid-template-columns: 180px minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .topbar__hot { display: inline-flex !important; }
  .shop-hero__grid { grid-template-columns: 1fr; }
  .slider { margin-top: 14px; }
  .policy__grid { row-gap: 18px; }
  .policy__item:nth-child(n + 3) { border-top: 0; }
  .prow__track { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; }
  .duo__grid { grid-template-columns: 1fr; gap: 16px; }
  .news__grid { grid-template-columns: 1fr 1fr; }
  .news__grid > :nth-child(3) { display: none; }
}
@media (max-width: 640px) {
  .policy { padding-top: 22px; }
  .policy__grid { gap: 14px; }
  .policy__item { flex-direction: row; align-items: center; gap: 10px; padding: 0; }
  .policy__icon { width: 40px; height: 40px; }
  .policy__icon svg { width: 20px; height: 20px; }
  .policy__item b { font-size: 12.5px; }
  .shop-block { padding: 26px 0 6px; }
  .shead__title { font-size: 14.5px; padding: 9px 16px 9px 12px; }
  .shead--tabs .shead__title { border-radius: 8px 8px 0 0; }
  .prow__track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
  .prow__nav { display: none; }
  .pcard__body { padding: 10px 0 2px; }
  .pcard__title { font-size: 13.5px; }
  .pcard__price { white-space: normal; min-width: 0; }
  .pcard__price strong { font-size: 15px; }
  .pcard__buy { width: 32px; height: 32px; }
  .pcard__buy svg { width: 16px; height: 16px; }
  .duo__card { grid-template-columns: 1fr; }
  .duo__media { min-height: 170px; }
  .news__grid { grid-template-columns: 1fr; gap: 20px; }
  .news__grid > :nth-child(3) { display: block; }
  .footer { padding-top: 40px; }
}
.shop-block > .container > .shead__tabs { margin: -4px 0 18px; padding: 0; }
@media (max-width: 640px) { .shop-block > .container > .shead__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } }
.duo__card--svc .duo__media img { right: 5%; top: 14%; height: 72%; }
.duo__cap { z-index: 1; max-width: 50%; }
@media (max-width: 640px) {
  .shead { flex-wrap: nowrap; }
  .shead__title { white-space: normal; min-width: 0; }
  .shead__more { flex-shrink: 0; }
  .shead__more { font-size: 0; gap: 0; padding-bottom: 8px; }
  .shead__more svg { width: 22px; height: 22px; }
}
.catmenu__btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1200px) { .catmenu__btn { padding: 0 14px; gap: 10px; font-size: 13px; } }
@media (max-width: 1080px) { .policy__grid { grid-template-columns: 1fr 1fr; row-gap: 18px; } }

/* ==========================================================================
   Policies (Ministry of Industry and Trade set) and footer legal block
   ========================================================================== */
.footer__top { grid-template-columns: 1.3fr .75fr .75fr 1fr 1.3fr; gap: 36px; }
.footer__legal { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer__legaltext { display: grid; gap: 3px; }
.footer__legaltext b { color: var(--ink); font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.footer__bct img { display: block; height: 52px; width: auto; }

.legal-page { padding-top: 48px; }
.legal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal__side { position: sticky; top: calc(var(--header-h, 72px) + 20px); display: grid; gap: 18px; }
.legal__nav { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.legal__navtitle { display: block; padding: 13px 16px; background: var(--p-700); color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; }
.legal__nav ul { margin: 0; padding: 6px 0; list-style: none; }
.legal__nav a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 14.5px; color: var(--text); border-left: 3px solid transparent; transition: background .15s, color .15s; }
.legal__nav a svg { flex-shrink: 0; color: var(--p-600); }
.legal__nav a:hover { background: var(--bg-tint); color: var(--fg-600); }
.legal__nav a.is-active { border-left-color: var(--p-600); background: var(--bg-tint); color: var(--ink); font-weight: 700; }
.legal__help { padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-tint); display: grid; gap: 10px; }
.legal__help b { color: var(--ink); }
.legal__help p { margin: 0; font-size: 14px; color: var(--muted); }
.legal__doc { min-width: 0; padding: 32px 40px 36px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.legal__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.legal__meta span { display: inline-flex; align-items: center; gap: 6px; }
.legal__meta svg { color: var(--p-600); }
.legal__meta b { color: var(--ink); }
.legal__print { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: 13px; cursor: pointer; }
.legal__print:hover { border-color: var(--p-600); color: var(--fg-600); }
.legal__lang { margin: 0 0 20px; padding: 12px 16px; border-radius: 10px; background: var(--bg-tint); border-left: 4px solid var(--gold, #c99a2e); font-size: 14px; }
.legal__toc { margin: 0 0 26px; padding: 16px 20px; border-radius: 12px; background: var(--bg-tint); border: 1px solid var(--line); }
.legal__toc summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.legal__toc ol { margin: 10px 0 0; padding-left: 1.4em; columns: 2; column-gap: 32px; font-size: 14.5px; }
.legal__toc li { margin: 4px 0; break-inside: avoid; }
.legal__toc a { color: var(--fg-600); }
.legal__toc a:hover { text-decoration: underline; }
.legal__body { font-size: 16px; line-height: 1.75; }
.legal__body h2 { font-size: 21px; margin-top: 1.7em; padding-top: 2px; scroll-margin-top: calc(var(--header-h, 72px) + 20px); }
.legal__body > h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 17.5px; scroll-margin-top: calc(var(--header-h, 72px) + 20px); }
.legal__body .table-wrap { margin: 1.2em 0; border-radius: 10px; }
.legal__body table { min-width: 460px; }
.legal__body th:empty { display: none; }
.legal-page .faq { margin-top: 40px; }
.legal__pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal__pg { max-width: 48%; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--fg-600); font-weight: 600; font-size: 14px; }
.legal__pg:hover { border-color: var(--p-600); background: var(--bg-tint); }
.legal__pg--next { margin-left: auto; text-align: right; }
.legal__pg small { font-size: inherit; }

.legal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.legal-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s; }
.legal-card:hover { border-color: var(--p-300, #7fb6e0); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.legal-card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--p-600); color: #fff; margin-bottom: 6px; }
.legal-card b { color: var(--ink); font-size: 16px; line-height: 1.35; }
.legal-card small { color: var(--muted); font-size: 14px; line-height: 1.55; }
.legal-card__more { margin-top: auto; padding-top: 6px; color: var(--fg-600); font-weight: 600; font-size: 14px; }
.legal-info { display: grid; gap: 4px; margin-top: 32px; padding: 20px 24px; border-radius: 12px; border: 1px dashed var(--line-strong); font-size: 14px; color: var(--muted); }
.legal-info__name { color: var(--ink); text-transform: uppercase; }

@media (max-width: 1200px) {
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .legal-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .legal { grid-template-columns: 1fr; }
  .legal__side { position: static; order: 2; }
  .legal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .legal-page { padding-top: 28px; }
  .legal__doc { padding: 20px 16px 24px; border-radius: 12px; }
  .legal__toc ol { columns: 1; }
  .legal__body { font-size: 15.5px; }
  .legal__body h2 { font-size: 19px; }
  .legal-grid { grid-template-columns: 1fr; gap: 14px; }
  .legal__pg { max-width: none; flex: 1; }
}
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
@media print {
  .topbar, .header, .catmenu, .phero__bg, .legal__side, .legal__print, .legal__pager, .footer, .fab, .toast { display: none !important; }
  .phero { padding: 0 !important; background: none !important; color: #000 !important; }
  .phero__title, .phero__lead, .crumbs { color: #000 !important; }
  .legal { display: block; }
  .legal__doc { border: 0; padding: 0; }
}

/* Crisp logo: larger mark, tight shadow (a wide blur made the small shield look soft) */
.logo-mark { width: 52px; height: 52px; filter: drop-shadow(0 2px 3px rgba(7, 38, 64, .22)); }
html[data-theme='dark'] .logo-mark { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
.brand:hover .logo-mark { transform: scale(1.06); }
@media (max-width: 1200px) { .header .logo-mark { width: 46px; height: 46px; } }
@media (max-width: 640px) { .logo-mark, .header .logo-mark { width: 44px; height: 44px; } }
.author-box__mark .logo-mark { width: 64px; height: 64px; }

/* ==========================================================================
   Ocean Dive — fixed WebGL backdrop on the home page (public/js/ocean.js)
   ========================================================================== */
html.lenis, html.lenis body { height: auto; }
html.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

.ocean { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100vh; height: 100lvh; display: block; pointer-events: none; opacity: 0; transition: opacity .9s ease; }
html.ocean-on .ocean { opacity: 1; }
/* Fallback before WebGL starts / when it's unavailable: same palette as the shader */
html.has-ocean { background: linear-gradient(180deg, #edf7fb, #cae4f0) fixed; }
html.has-ocean[data-theme='dark'] { background: linear-gradient(180deg, #0b3f66, #04182c 55%, #01060d) fixed; }
html.has-ocean body { background: transparent; }
/* no backdrop blur over the live canvas: it re-blurs every frame (costly on phones) */
html.has-ocean .section--tint { background: color-mix(in srgb, var(--surface) 78%, transparent); }
html.has-ocean .policy__item,
html.has-ocean .shead,
html.has-ocean .news { text-shadow: 0 1px 0 color-mix(in srgb, var(--bg) 55%, transparent); }
html.has-ocean[data-theme='dark'] .policy__item,
html.has-ocean[data-theme='dark'] .shead,
html.has-ocean[data-theme='dark'] .news { text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
html.has-ocean .pcard, html.has-ocean .ncard__cover { box-shadow: var(--shadow); }
/* Readable panels over the moving water */
html.has-ocean .policy__grid,
html.has-ocean .pcard,
html.has-ocean .ncard { background: color-mix(in srgb, var(--surface) 86%, transparent); border-radius: 14px; box-shadow: var(--shadow-sm); }
html.has-ocean .policy__grid { padding: 18px 20px; }
html.has-ocean .pcard { padding: 8px 8px 6px; }
html.has-ocean .pcard__body { padding: 12px 6px 4px; }
html.has-ocean .ncard { padding: 10px 10px 16px; }
html.has-ocean .ncard > :not(.ncard__cover) { padding-inline: 6px; }

/* ==========================================================================
   v3.5 — Mini cart · instant search · dose calculator · recently viewed ·
   folding quick-contact · light underwater page heroes
   ========================================================================== */
/* ---- Slide-out mini cart ---- */
.mcart { position: fixed; inset: 0; z-index: 120; }
.mcart__scrim { position: absolute; inset: 0; background: rgba(4, 18, 32, .5); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.mcart__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column; background: var(--surface); box-shadow: -24px 0 60px -20px rgba(4, 18, 32, .45); transform: translateX(100%); transition: transform .32s var(--ease); overscroll-behavior: contain; }
.mcart.is-open .mcart__scrim { opacity: 1; }
.mcart.is-open .mcart__panel { transform: none; }
.mcart__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.mcart__head h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--ink); }
.mcart__count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--gold-grad); color: var(--p-900); font-size: 13px; font-weight: 700; display: inline-grid; place-items: center; }
.mcart__body { flex: 1; display: flex; flex-direction: column; min-height: 0; transition: opacity .2s; }
.mcart__body.is-loading { opacity: .55; pointer-events: none; }
.mcart__ship { padding: 14px 20px; background: var(--bg-tint); font-size: 14px; color: var(--text); }
.mcart__ship p { line-height: 1.5; }
.mcart__ship p svg { vertical-align: -4px; margin-right: 6px; color: var(--fg-600); }
.mcart__ship b { color: var(--fg-700); }
.mcart__ship.is-free p { color: #1d8a55; font-weight: 600; }
.mcart__bar { display: block; height: 6px; margin-top: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.mcart__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--p-500), var(--gold)); transition: width .5s var(--ease); }
.mcart__lines { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 6px 20px; }
.mline { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mline:last-child { border-bottom: 0; }
.mline__img img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: var(--bg-tint); }
.mline__info { min-width: 0; }
.mline__title { display: block; font-weight: 600; color: var(--ink); line-height: 1.35; }
.mline__variant { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.mline__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.mline__qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; }
.mline__qty button { width: 32px; height: 32px; display: grid; place-items: center; color: var(--fg-700); }
.mline__qty b { min-width: 24px; text-align: center; font-size: 14px; }
.mline__amount { color: var(--fg-800); font-size: 15px; }
.mline__rm { width: 32px; height: 32px; display: grid; place-items: center; color: var(--muted); border-radius: 8px; }
.mline__rm:hover { color: #c0392b; background: var(--bg-tint); }
.mcart__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--surface); }
.mcart__sum { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.mcart__sum b { font-size: 22px; color: var(--ink); }
.mcart__btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.mcart__btns .btn { justify-content: center; }
.mcart__empty { margin: auto; padding: 40px 24px; text-align: center; display: grid; justify-items: center; gap: 16px; color: var(--muted); }
.mcart__empty-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-tint); color: var(--fg-600); }

/* ---- Instant search suggestions ---- */
.hsearch[data-suggest] { position: relative; overflow: visible; }
.hsearch[data-suggest] > button { border-radius: 0 6px 6px 0; }
.search-overlay__box[data-suggest] { position: relative; }
.ssug { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 90; max-height: min(70vh, 460px); overflow-y: auto; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px -18px rgba(4, 18, 32, .35); text-align: left; animation: ssugIn .18s var(--ease); }
@keyframes ssugIn { from { opacity: 0; transform: translateY(-6px); } }
.ssug__head { padding: 6px 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.ssug__none { padding: 10px; color: var(--muted); font-size: 14px; }
.ssug__item { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; color: var(--ink); }
.ssug__item:hover, .ssug__item.is-active { background: var(--bg-tint); }
.ssug__item img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: var(--bg-soft); }
.ssug__item span { min-width: 0; display: grid; }
.ssug__item b { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ssug__item small { color: var(--muted); font-size: 12px; }
.ssug__item em { font-style: normal; font-weight: 700; color: var(--fg-700); font-size: 14px; white-space: nowrap; }
.ssug__all { display: block; width: 100%; margin-top: 4px; padding: 10px; border-top: 1px solid var(--line); text-align: center; font-weight: 600; font-size: 14px; color: var(--fg-700); }
.hsearch .ssug .ssug__all, .search-overlay__box .ssug .ssug__all { width: 100%; height: auto; background: none; color: var(--fg-700); border-radius: 0; }
.ssug__all:hover, .hsearch .ssug .ssug__all:hover { color: var(--gold-600); background: none; }
.ssug__item em, .rcard em { font-family: inherit; }

/* ---- Pond dose calculator ---- */
.dcalc { margin-top: 20px; padding: 22px; border-radius: var(--radius); background: linear-gradient(150deg, var(--p-900), #0b3f6b); color: #e7f0f8; position: relative; overflow: hidden; isolation: isolate; }
.dcalc::before { content: ''; position: absolute; inset: auto -60px -80px auto; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 181, 111, .28), transparent 70%); z-index: -1; }
.dcalc__head { display: flex; gap: 14px; align-items: flex-start; }
.dcalc__head h3 { color: #fff; font-size: 18px; }
.dcalc__head p { color: #b9cbdd; font-size: 14px; margin-top: 4px; }
.dcalc__ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-grad); color: var(--p-900); }
.dcalc__rules { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dcalc .chip { cursor: pointer; }
.dcalc .chip input { position: absolute; opacity: 0; pointer-events: none; }
.dcalc .chip span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); font-size: 13.5px; transition: background .2s, color .2s; }
.dcalc .chip input:checked + span { background: var(--gold-grad); color: var(--p-900); border-color: transparent; font-weight: 600; }
.dcalc .chip input:focus-visible + span { outline: 2px solid var(--gold-300); outline-offset: 2px; }
.dcalc__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.dcalc__f { display: grid; gap: 6px; font-size: 13px; color: #b9cbdd; }
.dcalc__f[hidden], .dcalc [data-for][hidden] { display: none; }
.dcalc__f input { height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .07); color: #fff; font: inherit; font-size: 17px; font-weight: 600; }
.dcalc__f input:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .11); }
.dcalc__out { display: grid; gap: 2px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(214, 181, 111, .35); }
.dcalc__out span { font-size: 13px; color: #b9cbdd; }
.dcalc__out b { font-size: clamp(24px, 3.2vw, 30px); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.25; }
.dcalc__out small { font-size: 13px; color: #9fb4c9; }

/* ---- Recently viewed ---- */
.recent { padding-top: 0; }
.recent .section__title { font-size: 22px; margin-bottom: 16px; }
.recent__row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rcard { flex: none; width: 260px; scroll-snap-align: start; display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease); }
.rcard:hover { border-color: var(--gold); transform: translateY(-2px); }
.rcard img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: var(--bg-tint); }
.rcard span { display: grid; gap: 4px; min-width: 0; }
.rcard b { font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.rcard em { font-style: normal; font-weight: 700; color: var(--fg-700); font-size: 14px; }

/* ---- Quick contact: one button that fans out on phones ---- */
.fab__toggle { display: none; background: linear-gradient(135deg, var(--p-500), var(--p-800)); }
.fab__ic-close { display: none; }
@media (max-width: 640px) {
  .fab__toggle { display: grid; order: 9; }
  .fab__btn--top { order: 8; transition: opacity .2s; }
  .fab > .fab__btn--messenger, .fab > .fab__btn--zalo, .fab > .fab__btn--call { position: absolute; right: 0; bottom: 0; opacity: 0; transform: translateY(0) scale(.5); pointer-events: none; animation: none; transition: opacity .2s, transform .28s var(--ease); }
  .fab.is-open > .fab__btn--call { opacity: 1; transform: translateY(-62px); pointer-events: auto; }
  .fab.is-open > .fab__btn--zalo { opacity: 1; transform: translateY(-124px); pointer-events: auto; }
  .fab.is-open > .fab__btn--messenger { opacity: 1; transform: translateY(-186px); pointer-events: auto; }
  .fab.is-open .fab__ic-open { display: none; }
  .fab.is-open .fab__ic-close { display: grid; }
  .fab.is-open .fab__btn--top { opacity: 0; pointer-events: none; }
}

/* ---- Light underwater page heroes (CSS only, no WebGL) ---- */
.phero__bg { overflow: hidden; }
.phero__bg::before { content: ''; position: absolute; inset: -20% -10% 0; background: repeating-linear-gradient(105deg, transparent 0 70px, rgba(180, 220, 255, .07) 70px 110px, transparent 110px 190px); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); animation: pheroRays 14s ease-in-out infinite alternate; will-change: transform; }
.phero__bg::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 200%; background-image: radial-gradient(circle at 12% 30%, rgba(255, 255, 255, .35) 0 2px, transparent 3px), radial-gradient(circle at 38% 70%, rgba(255, 255, 255, .25) 0 3px, transparent 4px), radial-gradient(circle at 63% 15%, rgba(255, 255, 255, .3) 0 1.5px, transparent 2.5px), radial-gradient(circle at 82% 55%, rgba(236, 212, 155, .35) 0 2.5px, transparent 3.5px), radial-gradient(circle at 92% 88%, rgba(255, 255, 255, .25) 0 2px, transparent 3px); background-size: 100% 50%; animation: pheroBubbles 22s linear infinite; will-change: transform; }
@keyframes pheroRays { from { transform: translateX(-3%) skewX(-2deg); } to { transform: translateX(3%) skewX(2deg); } }
@keyframes pheroBubbles { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .phero__bg::before, .phero__bg::after, .mcart__panel, .mcart__scrim { animation: none; transition: none; } }
/* Lenis: keep the map and video iframes clickable, only ignore them while the page is moving */
html.lenis { scroll-behavior: auto; }
.lenis.lenis-smooth iframe { pointer-events: auto; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* ===== Logo TIM (tỉ lệ vàng) ===== */
.logo-mark { filter: drop-shadow(0 4px 10px rgba(74, 4, 78, .18)); }
.brand:hover .logo-mark { transform: scale(1.06); }
html[data-theme='dark'] { --logo-c1: #f5d0fe; --logo-c2: #d8b4fe; --logo-c3: #a78bfa; }
html[data-theme='dark'] .logo-mark { filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .45)); }

/* ==========================================================================
   HỆ TỈ LỆ VÀNG φ & HẰNG SỐ π
   φ = 1.618 · √φ = 1.272 · φ^¼ = 1.128 · π = 3.1416
   - Cỡ chữ: thang nhân φ^¼ từ 16px (cứ 4 bậc = ×φ)
   - Khoảng cách: dãy Fibonacci / luỹ thừa φ (6 · 10 · 16 · 26 · 42 · 68 · 110)
   - Bố cục 2 cột: tỉ lệ φ : 1 (61,8% / 38,2%); cột phụ = 23,6% (φ⁻³)
   - Bo góc: bội số của π (3,14 · 6,28 · 9,42 · 12,57 · 18,85)
   - Thời gian chuyển động: π/2 · π · φ phần mười giây (157 · 314 · 618 ms)
   - Ảnh ngang: khung chữ nhật vàng φ : 1
   ========================================================================== */
:root {
  --phi: 1.618034; --pi: 3.141593;
  /* type scale ×φ^¼ */
  --fs--1: 14.18px; --fs-0: 16px; --fs-1: 18.04px; --fs-2: 20.35px; --fs-3: 22.95px; --fs-4: 25.89px;
  --fs-5: 29.2px; --fs-6: 32.94px; --fs-7: 37.15px; --fs-8: 41.89px; --fs-9: 47.25px; --fs-10: 53.29px; --fs-12: 67.77px; --fs-14: 86.2px;
  /* spacing ×φ */
  --sp-1: 6px; --sp-2: 10px; --sp-3: 16px; --sp-4: 26px; --sp-5: 42px; --sp-6: 68px; --sp-7: 110px;
  /* radius = n·π */
  --r-1: 3.14px; --r-2: 6.28px; --r-3: 9.42px; --r-4: 12.57px; --r-5: 15.71px; --r-6: 18.85px; --r-8: 25.13px;
  --radius-sm: var(--r-2); --radius: var(--r-3); --radius-lg: var(--r-4); --radius-xl: var(--r-6);
  /* motion */
  --dur-1: 157ms; --dur-2: 314ms; --dur-3: 618ms; --dur-4: 1000ms;
  --ease: cubic-bezier(.236, .618, .382, 1);
  --lh-body: 1.618; --lh-head: 1.236; --lh-tight: 1.118;
}

/* ----- Chữ ----- */
body { line-height: var(--lh-body); }
h1, h2, h3, h4 { line-height: var(--lh-head); }
.eyebrow { letter-spacing: .236em; gap: var(--sp-2); }
.eyebrow::before, .section__head:not(.section__head--split) .eyebrow::after { width: var(--sp-4); }
.section__title { font-size: clamp(var(--fs-6), 4.2vw, var(--fs-10)); line-height: var(--lh-tight); margin-top: var(--sp-3); }
.section__lead { font-size: var(--fs-1); line-height: var(--lh-body); margin-top: var(--sp-3); max-width: 61.8ch; }
.section__head:not(.section__head--split) .section__lead { margin-inline: auto; }
.phero__title { line-height: var(--lh-tight); }
.phero:not(.phero--article) .phero__title { font-size: clamp(var(--fs-4), 3vw, var(--fs-7)); }
.phero__lead { font-size: var(--fs-1); line-height: var(--lh-body); max-width: 61.8ch; }
.slide__title { line-height: var(--lh-tight); }
.shead__title { font-size: var(--fs-0); }
.dbanner h2 { font-size: var(--fs-3); line-height: var(--lh-head); }
.ncard__title { line-height: var(--lh-head); }
.pcard__title { line-height: 1.382; }
.prose { line-height: var(--lh-body); }
.prose > * + * { margin-top: .618em; }
.prose h2 { font-size: var(--fs-4); line-height: var(--lh-head); margin-top: 1.618em; }
.prose h3 { font-size: var(--fs-2); line-height: var(--lh-head); margin-top: 1.272em; }
.prose--article { font-size: var(--fs-1); line-height: var(--lh-body); }
.legal__body { line-height: var(--lh-body); }

/* ----- Nhịp dọc (Fibonacci) ----- */
.section { padding: var(--sp-7) 0; }
.section--tight { padding: var(--sp-6) 0; }
.shop-block { padding: var(--sp-5) 0 var(--sp-2); }
.shead { margin-bottom: var(--sp-4); }
.policy { padding: var(--sp-4) 0 var(--sp-1); }
.policy__grid { gap: var(--sp-4); }
.duo { padding: var(--sp-4) 0 var(--sp-1); }
.duo__grid, .news__grid, .bgrid, .dgrid, .testis, .cats { gap: var(--sp-4); }
.pgrid--5, .pgrid--shop { gap: var(--sp-3); }
.prow__track { gap: var(--sp-3); grid-auto-columns: calc((100% - 4 * var(--sp-3)) / 5); }
.faq { margin-top: var(--sp-6); }
.card, .info-card, .dd__block, .legal-card { padding: var(--sp-4); }
.form-card { padding: var(--sp-5); }
.footer__top { gap: var(--sp-5) var(--sp-4); }
@media (max-width: 1200px) { .prow__track { grid-auto-columns: calc((100% - 3 * var(--sp-3)) / 4); } }
@media (max-width: 960px) { .prow__track { grid-auto-columns: calc((100% - 2 * var(--sp-3)) / 3); } }
@media (max-width: 640px) {
  .section { padding: var(--sp-6) 0; }
  .section--tight { padding: var(--sp-5) 0; }
  .shop-block { padding: var(--sp-4) 0 var(--sp-1); }
  .form-card { padding: var(--sp-4); }
  .prow__track { gap: var(--sp-2); grid-auto-columns: calc((100% - var(--sp-2)) / 2); }
}

/* ----- Bố cục φ : 1 ----- */
@media (min-width: 1201px) {
  .catmenu { width: 23.6%; }
  .shop-hero__grid { grid-template-columns: 23.6% minmax(0, 1fr); gap: var(--sp-4); }
  .footer__top { grid-template-columns: 1.618fr 1fr 1fr 1fr 1.618fr; }
}
@media (min-width: 961px) {
  .slider { min-height: 382px; } /* 1000 / φ² */
  .slide { grid-template-columns: 1.618fr 1fr; }
  .pd { grid-template-columns: 1.272fr 1fr; gap: var(--sp-5); } /* √φ */
  .dd { grid-template-columns: minmax(0, 1.618fr) minmax(300px, 1fr); gap: var(--sp-5); }
}
@media (min-width: 1201px) { .dbanner { grid-template-columns: 1.618fr 1fr auto; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); } }
@media (min-width: 981px) { .shop { grid-template-columns: 23.6% minmax(0, 1fr); gap: var(--sp-5); } }
@media (min-width: 901px) { .bfeature { grid-template-columns: 1.618fr 1fr; } }
@media (min-width: 921px) { .science__inner { grid-template-columns: 1fr 1.618fr; gap: var(--sp-6); } }
@media (min-width: 881px) { .cta__box { grid-template-columns: 1.618fr 1fr; gap: var(--sp-5); padding: var(--sp-6) var(--sp-5); } }

/* ----- Khung ảnh chữ nhật vàng φ : 1 ----- */
.ncard__cover, .guide__cover, .apost__cover { aspect-ratio: 1.618 / 1; }
@media (max-width: 900px) { .bfeature .guide__cover { aspect-ratio: 1.618 / 1; } }

/* ----- Bo góc bội số π ----- */
.pcard { border-radius: var(--r-4); }
.slider { border-radius: var(--r-4); }
.shop-cats { border-radius: 0 0 var(--r-3) var(--r-3); }
.policy__grid, .shop-side__card { border-radius: var(--r-4); }
.dbanner { border-radius: var(--r-6); }
.ncard__cover { border-radius: var(--r-3); }
.shead__title { border-radius: var(--r-3) var(--r-3) 0 0; }
.chips a, .related-d a { border-radius: 999px; }
:focus-visible { border-radius: var(--r-2); }

/* ----- Nút: cao = 15π px, đệm ngang = 16φ px ----- */
.btn { --bh: 47.12px; padding: 0 var(--sp-4); transition-duration: var(--dur-2); }
.btn--lg { --bh: 53.29px; padding: 0 var(--fs-6); }

/* ----- Chuyển động π ----- */
.pcard { transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-3) var(--ease); }
.ncard__cover img, .duo__media img, .guide__cover img { transition-duration: var(--dur-3); }
.slide { transition-duration: var(--dur-3); }
.slide__img { transition-duration: var(--dur-4); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; } }
/* sửa tràn ngang trang sản phẩm trên điện thoại (thanh chip danh mục) */
.shop > * { min-width: 0; }

/* ==========================================================================
   Sân khấu thương hiệu (trang chủ): video hoàng hôn + nhạc, thư viện bao bì, phim giới thiệu.
   Khung hình φ: cao 61,8 vw tối thiểu 420 px, tối đa 618 px; cột chữ 61,8 %.
   ========================================================================== */
.stage { grid-template-columns: minmax(0, 1fr); position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #1c0b30; min-height: clamp(420px, 38.2vw, 618px); display: grid; align-items: center; }
.stage__media, .stage__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__video { object-fit: cover; object-position: 62% 50%; }
.stage__media { z-index: -1; }
.stage__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 6, 36, .6) 0%, rgba(20, 6, 36, .3) 38.2%, rgba(20, 6, 36, 0) 61.8%), linear-gradient(0deg, rgba(20, 6, 36, .45), rgba(20, 6, 36, 0) 38.2%); }
.stage__inner { position: relative; padding-block: var(--sp-6); }
.stage__copy { width: 100%; max-width: 61.8%; text-align: left; }
.stage__eyebrow { margin: 0 0 var(--sp-3); font-size: 13px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: #ecd49b; }
.stage__title { margin: 0; color: #fff; font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 5.2vw, 68px); line-height: 1.1; letter-spacing: -.005em; text-wrap: balance; }
.stage__title em { display: block; font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.stage__lead { margin: var(--sp-4) 0 var(--sp-4); max-width: 38em; font-size: clamp(16px, 1.6vw, 18px); color: rgba(255, 240, 236, .9); }
.stage__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.stage .btn--primary { background: var(--gold-grad); color: #1c1407; box-shadow: 0 10px 30px -10px rgba(214, 181, 111, .6); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .18); }
.stage__sound { position: absolute; right: max(16px, env(safe-area-inset-right)); bottom: var(--sp-4); display: inline-flex; align-items: center; gap: var(--sp-2); height: 42px; padding: 0 var(--sp-3); border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(20, 6, 36, .4); backdrop-filter: blur(8px); color: #fff; font-size: 13.5px; font-weight: 500; letter-spacing: .04em; }
.stage__sound:hover { background: rgba(20, 6, 36, .62); }
.stage__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.stage__bars i { display: block; width: 2px; height: 4px; border-radius: 1px; background: #ecd49b; }
.stage__sound[aria-pressed='true'] .stage__bars i { animation: stageBar var(--dur-3, 618ms) ease-in-out infinite alternate; }
.stage__sound[aria-pressed='true'] .stage__bars i:nth-child(2) { animation-delay: 157ms; }
.stage__sound[aria-pressed='true'] .stage__bars i:nth-child(3) { animation-delay: 314ms; }
@keyframes stageBar { to { height: 14px; } }
@media (max-width: 700px) {
  .stage { min-height: 520px; align-items: end; }
  .stage__copy { max-width: 100%; }
  .stage__media::after { background: linear-gradient(0deg, rgba(20, 6, 36, .82) 0%, rgba(20, 6, 36, .45) 61.8%, rgba(20, 6, 36, .1) 100%); }
  .stage__inner { padding-block: var(--sp-5) 78px; }
  .stage__sound { bottom: var(--sp-3); left: max(16px, env(safe-area-inset-left)); right: auto; }
}
@media (prefers-reduced-motion: reduce) { .stage__video { display: none; } .stage__media { background: url(/video/hoang-hon-1280.webp) 62% 50% / cover no-repeat; } .stage__bars i { animation: none !important; } }

.showcase-design { padding: var(--sp-6) 0 var(--sp-5); background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.sd__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); gap: var(--sp-5); align-items: center; }
.sd__head .section__lead { margin-inline: 0; }
.sd__film { margin: 0; border-radius: var(--r-6); overflow: hidden; background: #1c0b30; box-shadow: var(--shadow-lg); aspect-ratio: 1.618 / 1; position: relative; }
.sd__film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd__film figcaption { position: absolute; left: var(--sp-3); top: var(--sp-3); display: grid; gap: 2px; padding: 8px 14px; border-radius: var(--r-4); background: rgba(20, 6, 36, .55); backdrop-filter: blur(6px); color: #fff; font-size: 13px; pointer-events: none; }
.sd__film figcaption b { font-weight: 600; }
.sd__film video:not([controls]) + figcaption, .sd__film.is-playing figcaption { display: none; }
.sd__rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * var(--sp-3)) / 5); gap: var(--sp-3); margin-top: var(--sp-5); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: var(--sp-1); }
.sd__rail::-webkit-scrollbar { display: none; }
.sd__item { scroll-snap-align: start; display: grid; gap: var(--sp-2); text-align: center; font-size: 14px; font-weight: 600; color: var(--ink); }
.sd__item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-5); background: #efe9f3; transition: transform var(--dur-2, 314ms) var(--ease), box-shadow var(--dur-2, 314ms) var(--ease); }
.sd__item:hover img { transform: translateY(-4px); box-shadow: 0 18px 34px -18px var(--c, #6b1a75); }
@media (max-width: 960px) { .sd__grid { grid-template-columns: 1fr; gap: var(--sp-4); } .sd__rail { grid-auto-columns: calc((100% - 2 * var(--sp-3)) / 3); } }
@media (max-width: 560px) { .sd__rail { grid-auto-columns: 62%; } }

/* Ảnh minh họa trong thân bài */
.apost__fig { margin: 2em 0; }
.apost__fig img { width: 100%; height: auto; border-radius: var(--radius-lg, 16px); aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.apost__fig figcaption { margin-top: .6em; font-size: 13px; color: var(--muted, #6b5a70); text-align: center; }

/* Thanh báo giá dính (sản phẩm liên hệ báo giá) — φ: 10/16/26 */
.buybar--quote .buybar__price span { font-size: 16px; color: var(--fg-800); }
.buybar--quote .btn { white-space: nowrap; }

/* Danh sách sản phẩm: gợi ý tìm kiếm neo theo form; tiêu đề lọc */
.toolbar form { position: relative; }
.toolbar form .ssug { left: 0; right: auto; width: min(420px, 92vw); }
.seg a[aria-current='true'] { font-weight: 700; }

/* Trang sản phẩm: thông tin nhanh + phóng to ảnh — thang φ 6/10/16/26/42 */
.pd__spec { margin: 16px 0 0; display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.pd__spec > div { display: grid; grid-template-columns: 38.2% 61.8%; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.618; }
.pd__spec > div:first-child { border-top: 0; }
.pd__spec dt { color: var(--muted); }
.pd__spec dd { margin: 0; color: var(--ink); font-weight: 600; }
.pd__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pd__zoom:focus-visible, .lightbox__close:focus-visible { outline: 3px solid var(--p-500); outline-offset: -3px; }
.lightbox { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 26px; background: rgba(4, 18, 32, .86); animation: lbIn 262ms var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(100%, 1000px); max-height: 100%; width: auto; height: auto; border-radius: 16px; background: #fff; box-shadow: 0 26px 68px -20px rgba(0, 0, 0, .6); }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lightbox { animation: none; } }

/* Báo lỗi tại ô nhập — tương phản ≥ 4.5:1 */
.field__err { display: block; margin-top: 6px; font-size: 14px; line-height: 1.618; color: #b42318; font-weight: 600; }
.field input[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: #b42318; }
html[data-theme='dark'] .field__err { color: #ff8a80; }
html[data-theme='dark'] .field input[aria-invalid='true'], html[data-theme='dark'] .field textarea[aria-invalid='true'] { border-color: #ff8a80; }
/* ---------- Thẻ sản phẩm Thủy Sản Tím (tỷ lệ vàng φ): tên trên-trái · mô tả dưới-trái · giá · nút Chọn mua dưới-phải ---------- */
.pcard { --phi: 1.61803; }
.pcard__media img { object-fit: contain; }
.pcard__body { gap: 6px; padding: 16px 16px 16px; }
.pcard__title { min-height: 0; -webkit-line-clamp: 1; font-size: 16px; font-weight: 800; letter-spacing: .02em; text-align: left; }
.pcard__desc { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.618; text-align: left; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(3 * 1.618em); }
.pcard__row { align-items: center; flex-wrap: wrap; row-gap: 6px; padding-top: 10px; border-top: 1px dashed var(--line); }
.pcard__price { min-width: 0; }
.pcard__row .pcard__buy { margin-left: auto; }
.pcard__buy { display: inline-flex; align-items: center; justify-content: center; width: auto; height: 36px; padding: 0 14px; gap: 6px; border-radius: 999px; background: var(--p-600); border-color: var(--p-600); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pcard__buy:hover { background: var(--p-800); border-color: var(--p-800); color: #fff; }
.pcard__buy svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .pcard__desc { font-size: 12px; -webkit-line-clamp: 2; min-height: calc(2 * 1.618em); }
  .pcard__buy { width: auto; height: 32px; padding: 0 10px; font-size: 12px; }
  .pcard__price strong { font-size: 15px; }
}
/* Giá + nút Chọn mua cùng một hàng: giá đen, nút đỏ chữ trắng, gọn */
.pcard__row { flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 6px; }
.pcard__price { flex: 1 1 auto; min-width: 0; white-space: nowrap; }
.pcard__price strong { color: #111; font-size: 16px; font-weight: 800; }
html[data-theme='dark'] .pcard__price strong { color: #fff; }
.pcard__row .pcard__buy { margin-left: 0; flex: 0 0 auto; height: 30px; padding: 0 10px; gap: 4px; border-radius: 6px; background: #e11d2e; border: 0; color: #fff; font-size: 12.5px; font-weight: 700; box-shadow: 0 4px 10px -4px rgba(225, 29, 46, .6); }
.pcard__row .pcard__buy:hover { background: #b9111f; color: #fff; }
.pcard__row .pcard__buy svg { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .pcard__price strong { font-size: 14px; }
  .pcard__row .pcard__buy { height: 28px; padding: 0 8px; font-size: 11.5px; }
  .pcard__row .pcard__buy svg { display: none; }
}
.pcard, .pcard__body, .pcard__row { min-width: 0; }
.pcard__price strong { overflow: hidden; text-overflow: ellipsis; display: block; }
@media (max-width: 640px) {
  .pcard__body { padding: 12px 10px; }
  .pcard__price strong { font-size: 13px; overflow: visible; letter-spacing: -.01em; }
  .pcard__row .pcard__buy { height: 26px; padding: 0 7px; font-size: 11px; border-radius: 5px; }
}
@media (max-width: 400px) {
  .pcard__price strong { font-size: 12px; letter-spacing: -.02em; }
  .pcard__row { gap: 4px; }
  .pcard__row .pcard__buy { padding: 0 6px; font-size: 10.5px; }
}
/* Giá luôn hiện đủ số, không cắt "…" */
.pcard__price strong { overflow: visible; text-overflow: clip; white-space: nowrap; font-size: 15px; letter-spacing: -.01em; }
.pcard__price { flex: 0 1 auto; }
@media (max-width: 1100px) { .pcard__price strong { font-size: 13.5px; } .pcard__row .pcard__buy { padding: 0 8px; font-size: 11.5px; } }
@media (max-width: 400px) { .pcard__price strong { font-size: 12px; } .pcard__row .pcard__buy { padding: 0 6px; font-size: 10.5px; } .pcard__row .pcard__buy svg { display: none; } }
/* Cỡ chữ giá & nút co theo độ rộng thẻ (container query) để luôn hiện đủ số */
.pcard__body { container-type: inline-size; }
.pcard__price strong { font-size: clamp(11px, 8cqi, 16px) !important; letter-spacing: -.02em; }
.pcard__row .pcard__buy { font-size: clamp(10px, 6cqi, 12.5px) !important; padding: 0 clamp(5px, 3.5cqi, 10px) !important; height: clamp(24px, 15cqi, 30px) !important; }
@container (max-width: 200px) { .pcard__row .pcard__buy svg { display: none; } }
@container (max-width: 140px) { .pcard__row { flex-wrap: wrap !important; } .pcard__row .pcard__buy { margin-left: auto; } }
@media (max-width: 340px) { .pcard__row { flex-wrap: wrap !important; } .pcard__price { flex: 1 0 100%; } .pcard__row .pcard__buy { margin-left: auto; } }
