/* ============================================================
   Drug One — Design System
   Modern healthcare aesthetic: teal → royal-blue brand,
   airy whites, soft depth, rounded geometry.
   ============================================================ */

:root {
  /* Brand (from the Drug One logo mark) */
  --teal: #0fb3a1;
  --teal-600: #0c9a8b;
  --teal-700: #0a8074;
  --teal-50: #e9faf6;
  --teal-100: #cdf3ec;
  --blue: #1f56b8;
  --blue-600: #1b49a0;
  --blue-700: #163a82;
  --blue-50: #eef3fc;

  --grad: linear-gradient(135deg, var(--teal) 0%, #1587b0 45%, var(--blue) 100%);
  --grad-soft: linear-gradient(135deg, #e9faf6 0%, #eef3fc 100%);

  /* Ink & neutrals */
  --ink: #0d2b33;
  --ink-2: #33525b;
  --muted: #64798015;
  --text: #24383e;
  --text-soft: #5b6f76;
  --line: #e5eef0;
  --line-2: #d5e3e6;
  --bg: #ffffff;
  --bg-2: #f4faf9;
  --bg-3: #eef6f6;
  --white: #ffffff;

  --warn: #f4a340;
  --star: #f7b500;

  /* Shape */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-full: 999px;

  /* Depth */
  --sh-sm: 0 1px 2px rgba(13,43,51,.06), 0 1px 3px rgba(13,43,51,.05);
  --sh: 0 6px 18px -6px rgba(13,43,51,.12), 0 2px 6px rgba(13,43,51,.05);
  --sh-md: 0 16px 40px -12px rgba(13,43,51,.18), 0 4px 12px rgba(13,43,51,.06);
  --sh-lg: 0 30px 70px -20px rgba(16,86,120,.30);
  --sh-teal: 0 14px 30px -10px rgba(15,179,161,.45);

  --container: 1180px;
  --nav-h: 74px;

  --font-display: 'Prompt', 'Noto Sans Thai', system-ui, sans-serif;
  --font-body: 'Noto Sans Thai', 'Prompt', system-ui, -apple-system, sans-serif;
}

/* ------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* ------------------------------------------------------------ layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-sm { padding: clamp(40px, 6vw, 64px) 0; }
.bg-soft { background: var(--bg-2); }
.bg-mesh { background: var(--grad-soft); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  padding: 6px 14px; border-radius: var(--r-full);
}
.eyebrow svg { width: 16px; height: 16px; flex: none; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 54px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-top: 14px; }
.section-head p { color: var(--text-soft); font-size: 1.05rem; margin-top: 12px; }

/* ------------------------------------------------------------ buttons */
.btn {
  --_bg: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: var(--r-full);
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .2s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--sh-teal); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(15,179,161,.55); }
.btn-white { background: #fff; color: var(--blue-700); box-shadow: var(--sh); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn-outline { background: transparent; color: var(--teal-700); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-700); background: var(--teal-50); transform: translateY(-2px); }
.btn-ghost { background: var(--bg-3); color: var(--ink); }
.btn-ghost:hover { background: var(--teal-50); color: var(--teal-700); }
.btn-lg { padding: 16px 32px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(13,43,51,.2); }
.nav { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand img { width: 42px; height: 42px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.brand-name span { display: block; font-size: .66rem; font-weight: 500; letter-spacing: .18em; color: var(--teal-600); text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: .97rem; color: var(--ink-2);
  padding: 9px 14px; border-radius: var(--r-full); transition: color .18s, background .18s; position: relative;
}
.nav-links a:hover { color: var(--teal-700); background: var(--teal-50); }
.nav-links a.active { color: var(--teal-700); }
.nav-links a.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--grad); border-radius: 2px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink-2);
  background: var(--bg-3); border: 1px solid var(--line); padding: 8px 14px; border-radius: var(--r-full);
  transition: all .18s;
}
.lang-toggle:hover { color: var(--teal-700); border-color: var(--teal-100); background: var(--teal-50); }
.lang-toggle svg { width: 16px; height: 16px; }
.menu-btn { display: none; background: var(--bg-3); border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.drawer.open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(13,43,51,.45); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86%, 340px);
  background: #fff; box-shadow: var(--sh-lg); padding: 20px; overflow-y: auto;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-links { display: flex; flex-direction: column; gap: 2px; }
.drawer-links a { font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; color: var(--ink); padding: 13px 14px; border-radius: 12px; }
.drawer-links a:hover, .drawer-links a.active { background: var(--teal-50); color: var(--teal-700); }
.drawer-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px,7vw,86px) 0 clamp(56px,8vw,96px); background: var(--grad-soft); }
.hero::before { content:''; position:absolute; width:640px; height:640px; right:-160px; top:-220px; background: radial-gradient(circle, rgba(15,179,161,.20), transparent 62%); border-radius:50%; }
.hero::after { content:''; position:absolute; width:560px; height:560px; left:-180px; bottom:-240px; background: radial-gradient(circle, rgba(31,86,184,.16), transparent 62%); border-radius:50%; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); font-weight: 700; letter-spacing: -.025em; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-2); margin: 22px 0 30px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: clamp(18px,3vw,40px); margin-top: 42px; }
.hero-stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem,3vw,2.3rem); color: var(--blue-700); line-height: 1; }
.hero-stat .n span { color: var(--teal); }
.hero-stat .l { font-size: .9rem; color: var(--text-soft); margin-top: 6px; }
.hero-divider { width: 1px; background: linear-gradient(var(--line-2), transparent); }

/* hero visual */
.hero-visual { position: relative; }
.hero-card {
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: 30px;
  border: 1px solid rgba(255,255,255,.7); position: relative; overflow: hidden;
}
.hero-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero-card-logo { width: 58px; height: 58px; border-radius: 16px; background: var(--grad-soft); display: grid; place-items: center; box-shadow: var(--sh-sm); }
.hero-card-logo img { width: 40px; height: 40px; }
.hero-card h3 { font-size: 1.16rem; }
.hero-card .muted { font-size: .86rem; color: var(--text-soft); }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 500; color: var(--teal-700); background: var(--teal-50); border: 1px solid var(--teal-100); padding: 6px 12px; border-radius: var(--r-full); }
.pill svg { width: 14px; height: 14px; }
.hero-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.hero-mini > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.hero-mini .ic { width: 38px; height: 38px; border-radius: 11px; background: #fff; display: grid; place-items: center; color: var(--teal-600); box-shadow: var(--sh-sm); margin-bottom: 10px; }
.hero-mini .ic svg { width: 20px; height: 20px; }
.hero-mini b { font-family: var(--font-display); font-size: .98rem; color: var(--ink); }
.hero-mini p { font-size: .8rem; color: var(--text-soft); }
.float-badge {
  position: absolute; background: #fff; border-radius: var(--r); box-shadow: var(--sh-md);
  padding: 12px 16px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line);
}
.float-badge svg { width: 22px; height: 22px; }
.float-badge b { font-family: var(--font-display); font-size: .95rem; color: var(--ink); display: block; line-height: 1.1; }
.float-badge small { font-size: .76rem; color: var(--text-soft); }
.fb-1 { top: -22px; right: 12px; animation: floaty 5s ease-in-out infinite; }
.fb-2 { bottom: -20px; left: -18px; animation: floaty 6s ease-in-out infinite .6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ------------------------------------------------------------ cards grids */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .22s ease, box-shadow .22s ease, border-color .22s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }

/* value card */
.value-card { padding: 28px; }
.value-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--grad-soft); display: grid; place-items: center; color: var(--teal-700); margin-bottom: 18px; box-shadow: inset 0 0 0 1px rgba(15,179,161,.12); }
.value-ic svg { width: 28px; height: 28px; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value-card p { color: var(--text-soft); font-size: .96rem; }

/* category card */
.cat-card { overflow: hidden; display: flex; flex-direction: column; }
.cat-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--grad-soft); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.cat-card:hover .cat-media img { transform: scale(1.07); }
.cat-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,43,51,.32), transparent 55%); }
.cat-card .cat-ic { position: absolute; left: 16px; bottom: 14px; z-index: 2; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: var(--sh-teal); }
.cat-card .cat-ic svg { width: 26px; height: 26px; }
.cat-soon { position: absolute; top: 14px; right: 14px; z-index: 2; font-family: var(--font-display); font-weight: 600; font-size: .74rem; color: #b76e00; background: rgba(255,255,255,.92); backdrop-filter: blur(4px); padding: 5px 12px; border-radius: var(--r-full); }
.cat-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.cat-card h3 { font-size: 1.2rem; }
.cat-card .cat-th { font-size: .84rem; color: var(--text-soft); font-family: var(--font-body); font-weight: 400; margin-top: 2px; }
.cat-card p { color: var(--text-soft); font-size: .92rem; margin-top: 10px; flex: 1; }
.cat-card .go { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--teal-700); }
.cat-card .go svg { width: 17px; height: 17px; transition: transform .2s; }
.cat-card:hover .go svg { transform: translateX(4px); }

/* product card */
.prod-card { overflow: hidden; display: flex; flex-direction: column; }
.prod-media { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; padding: 22px; }
.prod-media .brand-tag { position: absolute; top: 12px; left: 12px; font-size: .72rem; font-weight: 600; font-family: var(--font-display); color: var(--blue-700); background: rgba(255,255,255,.9); padding: 4px 10px; border-radius: var(--r-full); box-shadow: var(--sh-sm); }
.prod-body { padding: 16px 18px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; flex: 1; }
.prod-cat { font-size: .76rem; font-weight: 600; color: var(--teal-700); text-transform: uppercase; letter-spacing: .04em; }
.prod-body h3 { font-size: 1rem; margin: 7px 0 8px; line-height: 1.35; font-weight: 600; }
.prod-body h3 a:hover { color: var(--teal-700); }
.prod-body p { font-size: .87rem; color: var(--text-soft); flex: 1; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.prod-size { font-size: .8rem; color: var(--text-soft); }
.prod-link { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-display); font-weight: 600; font-size: .86rem; color: var(--teal-700); }
.prod-link svg { width: 15px; height: 15px; }

/* product thumbnail (generated visual per type) */
.thumb { width: 100%; height: 100%; border-radius: var(--r); display: grid; place-items: center; }
.thumb svg { width: 54%; height: 54%; }
/* real product photo */
.thumb-img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.prod-media.has-photo { background: #fff; }
.thumb-ico { place-items: center; }

/* coming soon */
.coming-soon { text-align: center; max-width: 540px; margin: 10px auto; padding: 44px 24px; }
.coming-soon .cs-ic { width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 22px; background: var(--grad-soft); display: grid; place-items: center; color: var(--teal-700); }
.coming-soon .cs-ic svg { width: 40px; height: 40px; }
.coming-soon h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.coming-soon p { color: var(--text-soft); margin-bottom: 26px; }
.soon-tag { display: inline-block; font-family: var(--font-body); font-size: .6rem; font-weight: 700; letter-spacing: .04em; vertical-align: middle; color: #b76e00; background: #fff5e9; border: 1px solid #ffe2bf; padding: 2px 8px; border-radius: var(--r-full); }

/* article card */
.art-card { overflow: hidden; display: flex; flex-direction: column; }
.art-media { aspect-ratio: 16/10; position: relative; display: grid; place-items: center; overflow: hidden; }
.art-media svg.illus { width: 42%; height: 42%; }
.art-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.art-card:hover .art-img { transform: scale(1.05); }
.art-hero-img { width: 100%; height: 100%; object-fit: cover; }
.art-cat { position: absolute; top: 14px; left: 14px; font-size: .74rem; font-weight: 600; font-family: var(--font-display); color: #fff; background: rgba(13,43,51,.45); backdrop-filter: blur(4px); padding: 5px 12px; border-radius: var(--r-full); }
.art-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.art-body h3 { font-size: 1.16rem; margin-bottom: 9px; }
.art-body h3 a:hover { color: var(--teal-700); }
.art-body p { color: var(--text-soft); font-size: .92rem; flex: 1; }
.art-more { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--teal-700); }
.art-more svg { width: 16px; height: 16px; transition: transform .2s; }
.art-card:hover .art-more svg { transform: translateX(4px); }

/* branch card */
.branch-card { padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.branch-pin { flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--grad-soft); display: grid; place-items: center; color: var(--teal-700); }
.branch-pin svg { width: 24px; height: 24px; }
.branch-card h3 { font-size: 1.08rem; }
.branch-card .b-en { font-size: .85rem; color: var(--text-soft); }
.branch-card .b-area { font-size: .88rem; color: var(--ink-2); margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.branch-card .b-area svg { width: 15px; height: 15px; color: var(--teal-600); }
.hq-tag { display: inline-block; font-size: .72rem; font-weight: 600; font-family: var(--font-display); color: #fff; background: var(--grad); padding: 3px 10px; border-radius: var(--r-full); margin-top: 8px; }

/* ------------------------------------------------------------ CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--grad); border-radius: var(--r-xl); padding: clamp(38px,6vw,64px); color: #fff; }
.cta-band::before { content:''; position:absolute; width:420px; height:420px; right:-120px; top:-160px; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 60%); border-radius:50%; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem,3.4vw,2.4rem); }
.cta-band p { color: rgba(255,255,255,.9); margin: 12px 0 26px; font-size: 1.08rem; max-width: 40em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }

/* ------------------------------------------------------------ page hero (inner) */
.page-hero { background: var(--grad-soft); padding: clamp(24px,3.5vw,40px) 0 clamp(32px,4.5vw,52px); position: relative; overflow: hidden; }
.page-hero::before { content:''; position:absolute; width:480px; height:480px; right:-140px; top:-200px; background: radial-gradient(circle, rgba(15,179,161,.16), transparent 62%); border-radius:50%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .88rem; color: var(--text-soft); margin-bottom: 16px; position: relative; z-index: 1; }
.crumbs a:hover { color: var(--teal-700); }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.page-hero h1 { font-size: clamp(2rem,4.4vw,3rem); position: relative; z-index: 1; }
.page-hero .lead { font-size: 1.1rem; color: var(--ink-2); margin-top: 14px; max-width: 46em; position: relative; z-index: 1; }

/* ------------------------------------------------------------ filters / toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line-2); padding: 8px 16px; border-radius: var(--r-full); transition: all .16s;
}
.chip:hover { border-color: var(--teal); color: var(--teal-700); }
.chip.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--sh-teal); }
.search-box { position: relative; min-width: 240px; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-soft); }
.search-box input { width: 100%; padding: 11px 16px 11px 42px; border: 1px solid var(--line-2); border-radius: var(--r-full); font-family: var(--font-body); font-size: .95rem; color: var(--text); background: #fff; }
.search-box input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-50); }
.result-count { font-size: .9rem; color: var(--text-soft); margin-bottom: 18px; }
.empty { text-align: center; padding: 60px 20px; color: var(--text-soft); }

/* ------------------------------------------------------------ product detail */
.pd-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px,5vw,56px); align-items: start; }
.pd-media { position: sticky; top: calc(var(--nav-h) + 20px); border-radius: var(--r-xl); aspect-ratio: 1/1; display: grid; place-items: center; padding: 40px; box-shadow: var(--sh); }
.pd-media .thumb svg { width: 46%; height: 46%; }
.pd-brand { display: inline-block; font-family: var(--font-display); font-weight: 600; color: var(--blue-700); background: var(--blue-50); padding: 6px 14px; border-radius: var(--r-full); font-size: .86rem; }
.pd-info h1 { font-size: clamp(1.5rem,3vw,2.1rem); margin: 16px 0; }
.pd-desc { font-size: 1.08rem; color: var(--ink-2); }
.pd-meta { margin: 26px 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pd-meta div { display: flex; justify-content: space-between; padding: 13px 18px; font-size: .95rem; }
.pd-meta div + div { border-top: 1px solid var(--line); }
.pd-meta dt { color: var(--text-soft); }
.pd-meta dd { font-weight: 600; color: var(--ink); font-family: var(--font-display); }
.note-box { background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: var(--r); padding: 16px 18px; font-size: .92rem; color: var(--teal-700); display: flex; gap: 12px; }
.note-box svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

/* ------------------------------------------------------------ article detail */
.article { max-width: 760px; margin-inline: auto; }
.article-hero-media { aspect-ratio: 21/9; border-radius: var(--r-xl); display: grid; place-items: center; margin-bottom: 34px; overflow: hidden; box-shadow: var(--sh); }
.article-hero-media svg.illus { width: 26%; height: 26%; }
.article .meta { display: flex; gap: 14px; align-items: center; color: var(--text-soft); font-size: .9rem; margin-bottom: 14px; }
.prose p { font-size: 1.1rem; color: var(--text); margin-bottom: 1.3em; line-height: 1.85; }
.prose p:first-of-type { font-size: 1.2rem; color: var(--ink-2); }

/* ------------------------------------------------------------ forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px,4vw,40px); box-shadow: var(--sh); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 500; font-size: .92rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--text); background: var(--bg-2); transition: all .16s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px var(--teal-50); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .86rem; color: var(--text-soft); margin-top: 14px; display: flex; gap: 9px; align-items: flex-start; }
.form-note svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--teal-600); }
.benefit-list li { display: flex; gap: 13px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.benefit-list li:last-child { border-bottom: none; }
.benefit-list .bic { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; }
.benefit-list .bic svg { width: 17px; height: 17px; }

/* rating (survey) */
.rating { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.rating input { position: absolute; opacity: 0; width: 0; }
.rating label { cursor: pointer; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: .9rem; font-family: var(--font-display); color: var(--ink-2); transition: all .16s; }
.rating label:hover { border-color: var(--teal); color: var(--teal-700); }
.rating input:checked + label { background: var(--grad); color: #fff; border-color: transparent; }
.form-success { display: none; text-align: center; padding: 30px; }
.form-success.show { display: block; }
.form-success .ok-ic { width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; }
.form-success .ok-ic svg { width: 34px; height: 34px; }

/* contact info list */
.info-list { display: flex; flex-direction: column; gap: 8px; }
.info-item { display: flex; gap: 15px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: all .2s; }
.info-item:hover { border-color: var(--teal-100); box-shadow: var(--sh); }
.info-item .ic { flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--grad-soft); color: var(--teal-700); display: grid; place-items: center; }
.info-item .ic svg { width: 22px; height: 22px; }
.info-item .lbl { font-size: .82rem; color: var(--text-soft); }
.info-item .val { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.info-item a.val:hover { color: var(--teal-700); }

/* ------------------------------------------------------------ footer */
.site-footer { background: #0c2b33; color: #b7cdd2; padding: clamp(48px,6vw,72px) 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand img { width: 44px; height: 44px; }
/* Full footer logo lockup — keep its natural 474:300 ratio, don't square it. */
.footer-logo { display: inline-flex; }
.footer-brand .footer-logo img { width: auto; height: 84px; }
.footer-brand p { margin-top: 16px; font-size: .94rem; max-width: 30em; color: #93b0b6; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #cfe3e7; transition: all .18s; }
.footer-social a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: .92rem; color: #9fbabf; transition: color .16s; }
.footer-col a:hover { color: var(--teal); }
.footer-contact div { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .92rem; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .84rem; color: #7d9ba1; }
.footer-bottom .disclaimer { max-width: 52em; }

/* ------------------------------------------------------------ reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .float-badge { animation: none; } html { scroll-behavior: auto; } }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .pd-media { position: static; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .pd-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .lang-toggle .lt-text { display: none; }
}
@media (max-width: 520px) {
  .grid-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .prod-grid.grid-3, .grid-3 { grid-template-columns: 1fr 1fr; }
  .brand-name { font-size: 1.12rem; }
  .hero h1 { font-size: 2rem; }
  .btn { padding: 12px 20px; }
}
@media (max-width: 400px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================ Hero slider */
.hero-slider { position: relative; width: 100%; overflow: hidden; background: #eef6f6; }
.hero-slider .slides { position: relative; width: 100%; aspect-ratio: 1919 / 785; }
.hero-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.hero-slider .slide.active { opacity: 1; pointer-events: auto; }
.hero-slider picture, .hero-slider img { display: block; width: 100%; height: 100%; }
.hero-slider img { object-fit: cover; object-position: center; }
.hero-slider .slide.active img { animation: kenburns 8s ease-out both; }
@keyframes kenburns { from { transform: scale(1.07); } to { transform: scale(1); } }
.slide-nav { position: absolute; top: 44%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.7); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.6); display: grid; place-items: center; color: var(--ink); box-shadow: var(--sh); z-index: 3; transition: background .2s, transform .2s, color .2s; }
.slide-nav:hover { background: #fff; color: var(--teal-700); transform: translateY(-50%) scale(1.07); }
.slide-nav svg { width: 24px; height: 24px; }
.slide-nav.prev { left: 18px; } .slide-nav.next { right: 18px; }
.slide-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 3; }
.slide-dots .dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: none; background: rgba(13,43,51,.28); cursor: pointer; transition: all .25s; }
.slide-dots .dot.active { background: var(--teal); width: 28px; border-radius: 6px; }

/* trust strip under hero */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 22px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.trust-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-stats { display: flex; gap: clamp(20px, 3vw, 44px); flex-wrap: wrap; }

/* about visual (real photo) */
.about-visual { position: relative; }
.about-photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/3; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; left: -18px; bottom: -20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: 14px 20px 14px 14px; display: flex; align-items: center; gap: 13px; }
.about-badge .ab-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-teal); }
.about-badge .ab-ic svg { width: 26px; height: 26px; }
.about-badge b { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); display: block; line-height: 1.1; }
.about-badge small { font-size: .82rem; color: var(--text-soft); }

/* ============================================================ Floating contact button (FAB) */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; opacity: 0; transform: translateY(12px) scale(.96); transform-origin: bottom right; pointer-events: none; transition: opacity .22s ease, transform .22s ease; }
.fab.open .fab-menu { opacity: 1; transform: none; pointer-events: auto; }
.fab-item { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-full); padding: 10px 16px 10px 12px; box-shadow: var(--sh-md); font-family: var(--font-display); font-weight: 500; font-size: .92rem; color: var(--ink); transition: transform .16s, box-shadow .16s; white-space: nowrap; }
.fab-item:hover { transform: translateX(-3px); box-shadow: var(--sh-lg); }
.fab-item svg { width: 20px; height: 20px; flex: none; }
.fab-item.fab-line { color: #06c755; } .fab-item.fab-phone { color: var(--blue); }
.fab-item.fab-mail { color: var(--teal-700); } .fab-item.fab-contact { color: var(--ink); }
.fab-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 6px 0 22px; border: none; border-radius: var(--r-full); background: var(--grad); color: #fff; box-shadow: var(--sh-teal); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.fab-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(15,179,161,.6); }
.fab-bubble { font-family: var(--font-display); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.fab-btn .fab-ic-open, .fab-btn .fab-ic-close { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; }
.fab-btn svg { width: 24px; height: 24px; }
.fab-btn .fab-ic-close { display: none; }
.fab.open .fab-btn .fab-ic-open { display: none; }
.fab.open .fab-btn .fab-ic-close { display: grid; }
.fab.open .fab-btn { background: var(--blue-700); }
.fab.open .fab-bubble { display: none; }
.fab-pulse { position: absolute; inset: 0; border-radius: var(--r-full); box-shadow: 0 0 0 0 rgba(15,179,161,.5); animation: fabpulse 2.4s infinite; }
@keyframes fabpulse { 0% { box-shadow: 0 0 0 0 rgba(15,179,161,.45); } 70% { box-shadow: 0 0 0 16px rgba(15,179,161,0); } 100% { box-shadow: 0 0 0 0 rgba(15,179,161,0); } }

/* ============================================================ responsive for new pieces */
@media (max-width: 900px) {
  .trust-strip .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .hero-slider .slides { aspect-ratio: 1528 / 2000; max-height: 78vh; }
  .slide-nav { width: 40px; height: 40px; }
  .slide-nav.prev { left: 10px; } .slide-nav.next { right: 10px; }
  .about-badge { left: 10px; bottom: -16px; padding: 10px 16px 10px 10px; }
  .fab { right: 14px; bottom: 14px; }
  .fab-btn { height: 56px; padding: 0 6px; }
  .fab-bubble { display: none; }
  .trust-stats { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider .slide.active img { animation: none; }
  .fab-pulse { animation: none; }
}

/* ============================================================ Shop / channel icons */
.shop-links { display: flex; align-items: center; gap: 7px; }
.shop-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--sh-sm); transition: transform .16s, box-shadow .16s; }
.shop-ic:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.shop-ic img { width: 19px; height: 19px; object-fit: contain; }
.shop-lz { background: #1a2c8f; }          /* Lazada */
.shop-sp { background: #ee4d2d; }          /* Shopee */
.shop-ln { background: #06c755; }          /* LINE */
@media (max-width: 1024px) { .nav-actions .shop-links { display: none; } }  /* header icons hidden on small — shown in drawer */
.drawer-shop { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }

/* footer social: real store logos on brand circles */
.footer-social .fs-line { background: #06c755 !important; color: #fff; }
.footer-social .fs-line:hover { background: #05b34c !important; }
.footer-social .fs-img { padding: 0; }
.footer-social .fs-img img { width: 20px; height: 20px; object-fit: contain; }
.footer-social .fs-lz { background: #1a2c8f !important; }
.footer-social .fs-lz:hover { background: #142275 !important; transform: translateY(-2px); }
.footer-social .fs-sp { background: #ee4d2d !important; }
.footer-social .fs-sp:hover { background: #d8401f !important; transform: translateY(-2px); }

/* ============================================================ Product detail — rich content + buy buttons */
.pd-buy { margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.pd-buy-label { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.pd-buy-label svg { width: 18px; height: 18px; color: var(--teal-700); }
.pd-buy-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.buy-btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border-radius: var(--r-full); font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: #fff; transition: transform .18s, box-shadow .18s; flex: 1; justify-content: center; min-width: 130px; }
.buy-btn img { width: 22px; height: 22px; object-fit: contain; }
.buy-btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.buy-lz { background: #1a2c8f; } .buy-lz:hover { background: #142275; }
.buy-sp { background: #ee4d2d; } .buy-sp:hover { background: #d8401f; }

.pd-detail { margin-top: 56px; max-width: 860px; }
.pd-detail-title { font-size: 1.5rem; padding-bottom: 14px; border-bottom: 2px solid var(--teal-100); margin-bottom: 22px; }
.pd-detail-body { color: var(--text); }
.pd-lead-en { font-family: var(--font-display); font-weight: 600; color: var(--blue-700); font-size: 1.08rem; margin-bottom: 14px; }
.pd-detail-body .pd-sub { font-size: 1.06rem; color: var(--teal-700); margin: 22px 0 8px; padding-left: 14px; border-left: 3px solid var(--teal); }
.pd-detail-body .pd-line { font-size: 1rem; color: var(--ink-2); margin: 0 0 8px; padding-left: 14px; position: relative; line-height: 1.75; }
.pd-detail-body .pd-line::before { content: ''; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); opacity: .5; }

/* ============================================================ Nav dropdowns */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item .nav-top { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-display); font-weight: 500; font-size: .97rem; color: var(--ink-2); padding: 9px 14px; border-radius: var(--r-full); transition: color .18s, background .18s; cursor: pointer; }
.nav-item .nav-top svg { width: 15px; height: 15px; transition: transform .2s; }
.nav-item:hover .nav-top { color: var(--teal-700); background: var(--teal-50); }
.nav-item:hover .nav-top svg { transform: rotate(180deg); }
.nav-top.active { color: var(--teal-700); }
.nav-item::before { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.nav-drop { position: absolute; top: calc(100% + 8px); left: 0; min-width: 232px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-md); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 120; }
.nav-item:hover .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-drop a { display: block; padding: 9px 14px; border-radius: 10px; font-family: var(--font-display); font-weight: 500; font-size: .94rem; color: var(--ink-2); white-space: nowrap; }
.nav-drop a:hover { background: var(--teal-50); color: var(--teal-700); }
.nav-drop a:first-child { color: var(--teal-700); font-weight: 600; border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; margin-bottom: 4px; padding-bottom: 11px; }
.drawer-sub { display: flex; flex-direction: column; margin: 2px 0 2px 14px; padding-left: 12px; border-left: 2px solid var(--teal-100); }
.drawer-sub a { font-size: .96rem !important; font-weight: 400 !important; padding: 9px 12px !important; color: var(--text-soft) !important; }
.drawer-sub a:hover { color: var(--teal-700) !important; background: var(--teal-50) !important; }

/* ============================================================ Contact channels grid + map */
.chan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chan { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: transform .16s, box-shadow .16s, border-color .16s; }
.chan:hover { transform: translateY(-2px); box-shadow: var(--sh); border-color: var(--teal-100); }
.chan .chan-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.chan .chan-ic svg { width: 22px; height: 22px; }
.chan .chan-ic img { width: 22px; height: 22px; object-fit: contain; }
.chan-lbl { font-size: .78rem; color: var(--text-soft); }
.chan-val { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.2; word-break: break-word; }
.ic-phone { background: var(--grad); } .ic-mail { background: #0c9a8b; } .ic-fb { background: #1877f2; }
.ic-line { background: #06c755; } .ic-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.ic-tt { background: #010101; } .ic-lz { background: #1a2c8f; } .ic-sp { background: #ee4d2d; }
.contact-map { margin-top: 26px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); border: 1px solid var(--line); }
.contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }
@media (max-width: 560px) { .chan-grid { grid-template-columns: 1fr; } .contact-map iframe { height: 300px; } }

/* ============================================================ Branch cards with maps */
.branch-card { overflow: hidden; display: flex; flex-direction: column; padding: 0; gap: 0; align-items: stretch; }
.branch-map { position: relative; aspect-ratio: 16/10; background: var(--bg-3); }
.branch-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.branch-hq { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--font-display); font-weight: 600; font-size: .74rem; color: #fff; background: var(--grad); padding: 5px 12px; border-radius: var(--r-full); box-shadow: var(--sh-teal); }
.branch-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.branch-body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.branch-addr { display: flex; gap: 8px; font-size: .9rem; color: var(--text-soft); line-height: 1.55; }
.branch-addr svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--teal-600); }
.branch-phone { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; color: var(--teal-700); font-size: .92rem; margin-top: 10px; }
.branch-phone svg { width: 15px; height: 15px; }
.branch-dir { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--blue); }
.branch-dir svg { width: 16px; height: 16px; }
.branch-dir svg:last-child { transition: transform .2s; }
.branch-card:hover .branch-dir svg:last-child { transform: translateX(4px); }
