/* CellDerm Pharmaceutical — bố cục theo bloomedpharma.com, màu theo logo CellDerm */
:root {
  --primary: #233a6b;        /* navy, chữ "Cell" */
  --primary-dark: #18294d;
  --secondary: #4a88c7;      /* xanh dương, chữ "erm" */
  --accent: #e8552b;         /* cam đỏ, chữ "D" */
  --accent-light: #f39a2b;
  --btn-grad: linear-gradient(90deg, #f39a2b 0%, #e5482d 100%);
  --bg-light: #eef4fa;
  --bg-soft: #f5f7fa;
  --text: #1c314e;
  --muted: #5d6f86;
  --line: #dbe5ef;
  --white: #fff;
  --shadow: 0 4px 8px rgba(31, 34, 39, .08);
  --shadow-lg: 0 10px 30px rgba(35, 58, 107, .12);
  --radius: 12px;
  --header-h: 120px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  padding-top: var(--header-h);
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { color: var(--primary); line-height: 1.3; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section { padding: 80px 0; }
.section--light { background: var(--bg-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.section-title { font-size: 34px; }
.section-title::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 2px;
  background: var(--btn-grad); margin: 14px auto 0;
}
.section-head p { color: var(--muted); }

/* ---------- Nút (pill như Bloomed) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 28px; border-radius: 25px; border: 0;
  font: 700 15px/1 var(--font); cursor: pointer; transition: all .3s;
  white-space: nowrap;
}
.btn-primary { background: var(--btn-grad); color: var(--white); box-shadow: 0 6px 16px rgba(232, 85, 43, .25); }
.btn-primary:hover { color: var(--white); filter: brightness(1.06); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 995;
  background: var(--white); box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  transition: transform .3s;
}
.topbar { background: var(--primary); color: #dbe6f5; font-size: 14px; }
.topbar .container { display: flex; justify-content: flex-end; gap: 28px; height: 40px; align-items: center; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--accent-light); }
.topbar i { color: var(--accent-light); margin-right: 6px; }

.mainbar .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 56px; width: auto; }

.nav-menu { display: flex; gap: 4px; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 6px; padding: 10px 16px;
  font-weight: 600; font-size: 16px; color: var(--primary);
}
.nav-menu > li > a:hover, .nav-menu > li.active > a { color: var(--accent); }
.nav-menu .chev { font-size: 11px; transition: transform .3s; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px 0;
  background: var(--white); border-radius: 8px; box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--accent);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.submenu a { display: block; padding: 10px 20px; font-size: 15px; color: var(--text); }
.submenu a:hover, .submenu li.active a { color: var(--accent); background: var(--bg-light); }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub:hover .chev { transform: rotate(180deg); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; position: relative; z-index: 1001;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--primary);
  border-radius: 2px; transition: all .3s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.nav-overlay { display: none; }

/* ---------- Banner trang chủ ---------- */
.home-banner { position: relative; }
.home-banner .swiper-slide { position: relative; height: clamp(420px, 62vh, 620px); overflow: hidden; }
.home-banner .slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-banner .slide-bg--right { object-position: 70% center; }
.home-banner .swiper-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(24, 41, 77, .88) 0%, rgba(24, 41, 77, .6) 45%, rgba(24, 41, 77, .05) 80%);
}
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.slide-text { max-width: 560px; color: var(--white); }
.slide-text .tag {
  display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .3); margin-bottom: 18px;
}
.slide-text h2 { color: var(--white); font-size: 44px; margin-bottom: 16px; }
.slide-text p { font-size: 18px; color: #e3ebf6; margin-bottom: 28px; }
.slide-boxes {
  position: absolute; right: 4%; bottom: 100px; z-index: 2; display: flex; align-items: flex-end; gap: 0;
  width: min(42%, 520px);
}
.slide-boxes { background: #fff; border-radius: 20px; padding: 18px 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.slide-boxes img { width: 48.5%; }
.slide-boxes img + img { margin-left: 3%; }
.home-banner .swiper-horizontal > .swiper-pagination-bullets { bottom: 80px; }
.home-banner .swiper-pagination-bullet { width: 12px; height: 12px; background: #fff; opacity: .6; }
.home-banner .swiper-pagination-bullet-active { background: var(--accent); opacity: 1; width: 28px; border-radius: 6px; }
.home-banner .swiper-button-prev, .home-banner .swiper-button-next {
  color: #fff; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .15);
}
.home-banner .swiper-button-prev::after, .home-banner .swiper-button-next::after { font-size: 18px; font-weight: 700; }

/* ---------- Giá trị cốt lõi ---------- */
.values { margin-top: -60px; position: relative; z-index: 5; padding-bottom: 20px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 32px 24px; text-align: center; transition: transform .3s;
}
.value-card:hover { transform: scale(1.05); }
.value-icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-size: 28px; color: var(--white); background: var(--btn-grad);
}
.value-card:nth-child(even) .value-icon { background: linear-gradient(135deg, var(--secondary), var(--primary)); }
.value-card h3 { font-size: 19px; margin-bottom: 8px; }
.value-card p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Giới thiệu 2 cột ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: 16px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-img::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 16px;
  border: 3px solid var(--accent-light); z-index: -1;
}
.about-text .eyebrow { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }
.about-text h2 { font-size: 32px; margin-top: 8px; }
.about-text p { color: var(--muted); }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.check-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  font-size: 11px; display: grid; place-items: center; color: #fff; background: var(--accent);
}
.about-text .check-list { margin: 0 0 28px; }

/* ---------- Thẻ danh mục ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 960px; margin: 0 auto; }
.cat-card {
  position: relative; display: block; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); background: var(--white); transition: transform .3s, box-shadow .3s;
}
.cat-card:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); color: inherit; }
.cat-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-light); position: relative; }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-thumb img { transform: scale(1.06); }
.cat-thumb--derm {
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #fff 0, #f8e9df 40%, #f3d6c4 100%);
}
.cat-thumb--derm i { font-size: 72px; color: var(--accent); opacity: .85; }
.cat-body { padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cat-body h3 { margin: 0; font-size: 22px; }
.cat-body p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.cat-arrow {
  flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-light); color: var(--primary); transition: all .3s;
}
.cat-card:hover .cat-arrow { background: var(--accent); color: #fff; }

/* ---------- Chứng nhận ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 980px; margin: 0 auto; }
.cert-item { display: block; background: var(--white); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); transition: transform .3s; }
.cert-item:hover { transform: scale(1.05); color: inherit; }
.cert-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 6px; }
.cert-item span { display: block; text-align: center; font-weight: 600; font-size: 15px; color: var(--primary); margin-top: 12px; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(110deg, var(--primary) 0%, #2f5596 100%); color: #fff; padding: 56px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: 28px; }
.cta-band p { margin: 0; color: #d4e0f1; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Breadcrumb + banner trang con ---------- */
.breadcrumb { background: var(--bg-soft); font-size: 14px; }
.breadcrumb .container { padding-top: 12px; padding-bottom: 12px; color: var(--muted); }
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb .sep { margin: 0 8px; color: #9aa9bb; }
.page-banner { position: relative; height: 260px; display: flex; align-items: center; overflow: hidden; }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(24, 41, 77, .72); z-index: 1; }
.page-banner .container { position: relative; z-index: 2; text-align: center; }
.page-banner h1 { color: #fff; font-size: 42px; margin: 0; text-transform: uppercase; letter-spacing: .04em; }
.page-banner p { color: #d4e0f1; margin: 8px 0 0; }

/* ---------- Trang giới thiệu ---------- */
.intro-text { max-width: 860px; margin: 0 auto; text-align: center; font-size: 18px; color: var(--muted); }
.intro-text strong { color: var(--primary); }
.intro-text--cat { margin: -24px auto 48px; font-size: 16px; }
.why-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-block + .why-block { margin-top: 72px; }
.why-block--rev .why-media { order: 2; }
.why-media img { border-radius: 16px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.why-media--boxes { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 16px; padding: 32px; display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; }
.why-media--boxes img { box-shadow: none; aspect-ratio: auto; width: 48%; border-radius: 0; }
.why-media--boxes img + img { margin-left: 4%; }
.why-content h2 { font-size: 28px; }
.why-points li { display: flex; gap: 16px; margin-bottom: 22px; }
.why-points .ico {
  flex: 0 0 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-light); color: var(--accent); font-size: 20px;
}
.why-points h3 { font-size: 18px; margin: 0 0 4px; }
.why-points p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Trang sản phẩm ---------- */
.cat-tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.cat-tabs a {
  padding: 12px 28px; border-radius: 25px; font-weight: 600; background: var(--bg-light); color: var(--primary);
  border: 2px solid transparent;
}
.cat-tabs a:hover { border-color: var(--accent); color: var(--accent); }
.cat-tabs a.active { background: var(--btn-grad); color: #fff; }

.product-block { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.product-block + .product-block { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line); }
.product-gallery { position: sticky; top: calc(var(--header-h) + 24px); min-width: 0; }
.gallery-main { border-radius: 16px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.gallery-main .swiper-slide a { display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; padding: 28px; }
.gallery-main .swiper-slide img { max-height: 100%; width: auto; object-fit: contain; }
.gallery-main .swiper-slide img.cover { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.gallery-main .swiper-slide a.full { padding: 0; }
.gallery-main .swiper-slide a.full img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.gallery-nav { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.gallery-thumbs { flex: 1; min-width: 0; }
.gallery-thumbs .swiper-slide {
  aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer;
  border: 2px solid var(--line); opacity: .65; transition: all .25s; display: grid; place-items: center; padding: 6px;
}
.gallery-thumbs .swiper-slide img { max-height: 100%; object-fit: contain; }
.gallery-thumbs .swiper-slide img.cover { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.gallery-thumbs .swiper-slide-thumb-active { border-color: var(--accent); opacity: 1; }
.g-prev, .g-next {
  flex: 0 0 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--primary); cursor: pointer; display: grid; place-items: center; transition: all .25s;
}
.g-prev:hover, .g-next:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.product-info .p-title { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.product-info .p-title img { width: 36px; height: 36px; }
.product-info h2 { font-size: 34px; margin: 0; }
.p-sub { color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.p-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.p-meta span { background: var(--bg-light); color: var(--primary); font-size: 14px; padding: 6px 12px; border-radius: 6px; }
.p-meta i { color: var(--secondary); margin-right: 6px; }
.p-section { margin-bottom: 22px; }
.p-section h3 {
  font-size: 17px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px;
  padding-left: 12px; border-left: 4px solid var(--accent);
}
.p-section p { margin: 0; }
.p-section .check-list li { margin-bottom: 8px; }
.ingredients { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.p-reg {
  font-size: 14px; color: var(--muted); background: var(--bg-soft); border-radius: 8px; padding: 14px 16px; margin-bottom: 22px;
}
.p-reg strong { color: var(--primary); }
.p-reg .disclaimer { display: block; margin-top: 6px; font-style: italic; color: var(--text); }
.p-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.p-note { font-size: 14px; color: var(--muted); margin-top: 14px; }

.empty-cat { text-align: center; max-width: 620px; margin: 0 auto; padding: 40px 24px; background: var(--bg-light); border-radius: 16px; }
.empty-cat .ico {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  background: var(--btn-grad); color: #fff; font-size: 36px;
}
.empty-cat h2 { font-size: 26px; }
.empty-cat p { color: var(--muted); }

/* ---------- Liên hệ ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.contact-info, .contact-form-box { background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 36px; }
.contact-info { background: var(--primary); color: #dbe6f5; }
.contact-info h2 { color: #fff; font-size: 22px; }
.contact-info .company { color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 20px; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-list .ico {
  flex: 0 0 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); color: var(--accent-light);
}
.contact-list small { display: block; color: #9fb3d1; font-size: 13px; }
.contact-list a, .contact-list span.v { color: #fff; font-weight: 600; }
.contact-list a:hover { color: var(--accent-light); }
.contact-form-box h2 { font-size: 24px; }
.contact-form-box > p { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--primary); }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px;
  font: 15px var(--font); color: var(--text); background: var(--bg-soft); transition: border-color .25s, background .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--secondary); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.ok { color: #1c8a4a; }
.form-status.err { color: #c62828; }
.form-fallback { display: none; }
.form-disabled form { display: none; }
.form-disabled .form-fallback { display: block; }
.form-fallback .p-actions { margin-top: 18px; }
.map-wrap { margin-top: 48px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-dark); color: #b9c7dc; font-size: 15px; }
.footer-main { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr; gap: 40px; padding: 64px 16px 48px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 16px; margin-bottom: 20px; }
.footer-logo img { height: 48px; width: auto; }
.footer-col h4 { color: #fff; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 20px; }
.footer-col h4::after { content: ""; display: block; width: 40px; height: 3px; border-radius: 2px; background: var(--accent); margin-top: 10px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; }
.footer-contact i { color: var(--accent-light); margin-top: 5px; width: 16px; }
.footer-company { color: #fff; font-weight: 700; margin-bottom: 14px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 10px; color: var(--accent-light); }
.site-footer a:hover { color: var(--accent-light); }
.footer-map iframe { width: 100%; height: 210px; border: 0; border-radius: 12px; display: block; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }

/* ---------- Nút nổi (Gọi, Zalo, Bản đồ, Lên đầu) ---------- */
.tool-fixed-cta { position: fixed; right: 20px; bottom: 24px; z-index: 990; display: flex; flex-direction: column; gap: 14px; }
.fab {
  position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 20px; box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
}
.fab:hover { color: #fff; transform: scale(1.08); }
.fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1;
  animation: fab-pulse 2s infinite;
}
.fab-phone { background: var(--accent); }
.fab-zalo { background: #0068ff; font: 800 13px/1 var(--font); letter-spacing: .02em; }
.fab-fb { background: #1877f2; }
.fab-map { background: var(--secondary); }
.fab-top { background: var(--primary); opacity: 0; visibility: hidden; transition: all .3s; border: 0; cursor: pointer; }
.fab-top::before { display: none; }
.fab-top.show { opacity: 1; visibility: visible; }
@keyframes fab-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 100px 16px; }
.notfound .code { font-size: 120px; font-weight: 800; line-height: 1; background: var(--btn-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1299px) {
  .home-banner .swiper-button-prev, .home-banner .swiper-button-next { display: none; }
}
@media (max-width: 1199px) {
  .slide-text h2 { font-size: 38px; }
}
@media (max-width: 991px) {
  :root { --header-h: 72px; }
  .topbar { display: none; }
  .mainbar .container { height: 72px; }
  .logo img { height: 46px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 84vw); background: #fff; z-index: 1000;
    padding: 88px 0 24px; overflow-y: auto; transform: translateX(-100%); transition: transform .35s;
    box-shadow: 4px 0 24px rgba(0, 0, 0, .15);
  }
  .nav-open .main-nav { transform: translateX(0); }
  .nav-overlay { display: block; position: fixed; inset: 0; background: rgba(10, 20, 40, .5); z-index: 994; opacity: 0; visibility: hidden; transition: all .3s; }
  .nav-open .nav-overlay { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu > li > a { padding: 14px 24px; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0; display: none; background: var(--bg-soft); }
  .has-sub.open .submenu { display: block; }
  .has-sub:hover .chev { transform: none; }
  .has-sub.open .chev { transform: rotate(180deg); }
  .submenu a { padding: 12px 40px; border-bottom: 1px solid var(--line); }

  .section { padding: 60px 0; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .why-block, .product-block, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-block--rev .why-media { order: 0; }
  .product-gallery { position: static; max-width: 520px; width: 100%; margin: 0 auto; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-map { grid-column: 1 / -1; }
  .slide-boxes { width: 52%; right: 2%; }
}
@media (max-width: 767px) {
  .section-title { font-size: 28px; }
  .home-banner .swiper-slide { height: 560px; }
  .home-banner .swiper-slide::before { background: linear-gradient(180deg, rgba(24, 41, 77, .9) 0%, rgba(24, 41, 77, .65) 55%, rgba(24, 41, 77, .2) 100%); }
  .slide-content { align-items: flex-start; padding-top: 48px; }
  .slide-text h2 { font-size: 30px; }
  .slide-text p { font-size: 16px; }
  .slide-boxes { width: 78%; left: 50%; right: auto; transform: translateX(-50%); bottom: 64px; }
  .cat-grid, .cert-grid { grid-template-columns: 1fr; }
  .cert-grid { max-width: 360px; }
  .page-banner { height: 200px; }
  .page-banner h1 { font-size: 30px; }
  .product-info h2 { font-size: 28px; }
  .ingredients { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-info, .contact-form-box { padding: 26px 20px; }
  .about-img::before { display: none; }
}
@media (max-width: 575px) {
  .values { margin-top: -40px; }
  .home-banner .swiper-horizontal > .swiper-pagination-bullets { bottom: 50px; }
  .slide-boxes { bottom: 78px; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .value-card { padding: 22px 14px; }
  .value-icon { width: 56px; height: 56px; font-size: 22px; }
  .value-card h3 { font-size: 16px; }
  .value-card p { font-size: 13px; }
  .footer-main { grid-template-columns: 1fr; padding-top: 48px; }
  .btn { padding: 0 22px; }
  .cta-band h2 { font-size: 24px; }
  .tool-fixed-cta { right: 12px; bottom: 16px; gap: 10px; }
  .fab { width: 44px; height: 44px; font-size: 18px; }
  .fab-zalo { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fab::before { animation: none; }
}

/* ---------- Trang sản phẩm riêng: link, hỏi đáp ---------- */
.product-info h2 a { color: inherit; }
.product-info h2 a:hover { color: var(--accent); }
.p-more { margin: 16px 0 0; font-weight: 600; }
.p-more a { color: var(--secondary); }
.submenu li.sub2 a { padding-left: 36px; font-size: 14px; }
.submenu li.sub2 a::before { content: "\2013"; margin-right: 8px; color: #9aa9bb; }
.faq { max-width: 860px; }
.faq-item { background: #fff; border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 14px; padding: 0 22px; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--primary); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0; padding: 0 0 18px; color: var(--muted); }
.faq-other { text-align: center; margin-top: 24px; color: var(--muted); }
.faq-other a { color: var(--secondary); font-weight: 600; }
.why-points p a { color: var(--secondary); font-weight: 600; }
@media (max-width: 575px) {
  .slide-text .cta-actions { flex-wrap: nowrap; gap: 10px; }
  .slide-text .cta-actions .btn { height: 44px; padding: 0 16px; font-size: 14px; }
}
