/* ════════════════════════════════════════════════════════════════
   STYLE-DECAL.CSS
   Style cho trang sản phẩm Decal / Tem Nhãn
   Đồng bộ phong cách với style-datalogic.css
   - Custom cursor, header scroll, hero anim, search bar
   - Review system, sticky mobile footer, FAQ toggle
   ════════════════════════════════════════════════════════════════ */

/* ─── RESET & VARIABLES ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #f0f2f4;
  --bg-dark:   #0d1117;
  --bg-panel:  #ffffff;
  --bg-soft:   #f8f9fa;
  --ink:       #111318;
  --ink-mid:   #44484f;
  --ink-light: #8a8f99;
  --rule:      #d4d8df;
  --rule-soft: #e2e8f0;
  --accent:    #034AA6;   /* Blue primary (đồng bộ Datalogic) */
  --accent-2:  #023d8a;
  --accent2:   #048ABF;   /* Blue secondary */
  --accent3:   #1a3a5c;
  --orange:    #e85d1a;
  --gold:      #c9a96e;
  --green-soft: #dcfce7;
  --green-ink:  #15803d;
  --blue-soft:  #dbeafe;
  --blue-ink:   #1d4ed8;
  --orange-soft:#ffedd5;
  --orange-ink: #c2410c;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ─── CUSTOM CURSOR ─────────────────────────────────────────── */
.cursor {
  position: fixed; width: 7px; height: 7px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .25s, height .25s, background .25s;
}
.cursor-ring {
  position: fixed; width: 30px; height: 30px;
  border: 1px solid var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s, opacity .3s;
  opacity: .4;
}

/* ─── HEADER ────────────────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 52px;
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(240,242,244,.94);
  backdrop-filter: blur(16px);
  padding: 14px 52px;
  border-bottom-color: var(--rule);
}

.logo-wrap {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; }
.logo-text {
  font-family: var(--serif);
  font-size: 15px; font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-size: 9px; font-weight: 300; font-style: italic;
  letter-spacing: .18em; color: var(--ink-light);
}

.header-nav, nav { display: flex; gap: 36px; list-style: none; align-items: center; }
.header-nav a, nav a {
  font-size: 10px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mid); text-decoration: none;
  transition: color .2s;
}
.header-nav a:hover, nav a:hover { color: var(--accent); }

.nav-cta {
  font-size: 9.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--bg-panel); text-decoration: none;
  background: var(--accent);
  padding: 10px 22px;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); }

.header-right { display: flex; align-items: center; gap: 16px; }

/* ─── PRODUCT INTRO BANNER ──────────────────────────────────── */
.product-intro {
  background: var(--accent2);
  padding: 18px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 84px;
}
.product-intro-text {
  font-size: 13px; line-height: 1.7;
  color: rgba(255,255,255,.85);
  font-weight: 400; letter-spacing: .01em;
  max-width: 780px;
}
.product-intro-text strong { color: #ffffff; font-weight: 600; }
.product-intro-badge { display: flex; gap: 10px; flex-shrink: 0; align-items: center; flex-wrap: wrap; }
.intro-tag {
  font-size: 8.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  padding: 6px 12px; white-space: nowrap;
  border: 1px solid rgba(255,255,255,.2);
}

/* ─── BREADCRUMB ────────────────────────────────────────────── */
.breadcrumb {
  background: #ffffff;
  border-bottom: 1px solid var(--rule-soft);
  padding: 12px 52px;
  font-size: 12px;
  color: var(--ink-light);
  letter-spacing: .04em;
}
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--accent); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--accent2); }
.breadcrumb .sep { color: var(--rule); }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

/* ─── HERO PRODUCT (2 cột Gallery + Info) ───────────────────── */
.section-hero-product {
  background: #ffffff;
  padding: 48px 52px 60px;
  border-bottom: 1px solid var(--rule-soft);
}
.hero-product-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 56px;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
}

/* Gallery */
.gallery-main {
  border: 1px solid var(--rule-soft);
  background: var(--bg-soft);
  padding: 24px;
  margin-bottom: 12px;
  position: relative;
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  animation: fadeUp .8s .1s both ease;
}
.gallery-main img {
  width: 100%; max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.08));
  transition: transform .5s ease;
}
.gallery-main img:hover { transform: scale(1.04); }

.gallery-corner-tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 8.5px; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 700;
  background: var(--accent); color: #fff;
  padding: 5px 10px;
}

.gallery-thumbs {
  display: flex; gap: 8px;
}
.gallery-thumbs button {
  width: 80px; height: 80px;
  border: 2px solid var(--rule-soft);
  background: #fff;
  padding: 6px;
  cursor: none;
  transition: border-color .2s;
}
.gallery-thumbs button.active,
.gallery-thumbs button:hover { border-color: var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }

/* Info column */
.product-info { animation: fadeUp .8s .25s both ease; }

.product-eyebrow {
  font-size: 9px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
}
.product-eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 2px; background: var(--accent);
}

.product-h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 12px;
}
.product-h1 em { font-style: italic; color: var(--accent2); font-weight: 500; }

.product-meta {
  font-size: 12px; color: var(--ink-light);
  margin-bottom: 18px;
  letter-spacing: .03em;
}
.product-meta strong { color: var(--ink); font-weight: 600; }

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pill-badge {
  display: inline-block;
  font-size: 10px; font-weight: 600;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: 20px;
}
.pill-badge.green { background: var(--green-soft); color: var(--green-ink); }
.pill-badge.blue  { background: var(--blue-soft);  color: var(--blue-ink); }
.pill-badge.orange{ background: var(--orange-soft); color: var(--orange-ink); }

/* Price block */
.price-block {
  background: linear-gradient(135deg,#fef3c7 0%,#fff7ed 100%);
  border: 1px solid #fde68a;
  padding: 18px 22px;
  margin-bottom: 22px;
}
.price-label {
  font-size: 9px; letter-spacing: .22em;
  text-transform: uppercase;
  color: #92400e; font-weight: 700;
}
.price-value {
  font-family: var(--serif);
  font-size: 32px; font-weight: 600;
  color: var(--orange);
  line-height: 1.2;
  margin: 4px 0;
  letter-spacing: -.01em;
}
.price-note {
  font-size: 12px; color: #78350f;
}
.price-note strong { color: #1e293b; }
.price-extra { font-size: 12px; color: #92400e; margin-top: 4px; }

/* Quick specs grid */
.qspec-title {
  font-size: 9px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-mid);
  font-weight: 700;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.qspec-title::after {
  content: ''; flex: 1; height: 1px; background: var(--rule);
}
.qspec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 22px;
}
.qspec {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--rule-soft);
  padding: 9px 12px;
}
.qspec-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--rule-soft);
  color: var(--accent);
}
.qspec-icon svg { width: 14px; height: 14px; }
.qspec-key {
  font-size: 10px; color: var(--ink-light);
  letter-spacing: .03em;
  display: block;
}
.qspec-val {
  font-size: 12.5px; color: var(--ink);
  font-weight: 600;
  display: block;
}

/* CTA buttons */
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, transform .2s, border-color .2s, color .2s;
  cursor: none;
  border: none;
}
.btn svg { width: 14px; height: 14px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-zalo { background: #0068ff; color: #fff; }
.btn-zalo:hover { background: #0056d6; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--accent2);
  border: 2px solid var(--accent2);
}
.btn-outline:hover { background: var(--accent2); color: #fff; }

/* Trust bar */
.trust-bar {
  display: flex; flex-wrap: wrap; gap: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-soft);
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink);
}
.trust-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* ─── SECTION HEADERS ───────────────────────────────────────── */
.section { padding: 80px 52px; }
.section.alt { background: var(--bg-soft); }
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-heading {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}
.section-heading em { font-style: italic; color: var(--accent); }

.section-lede {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-mid);
  max-width: 880px;
  margin: 18px 0 28px;
}

/* ─── BENEFITS GRID ─────────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.benefit-card {
  background: #fff;
  border: 1px solid var(--rule-soft);
  border-left: 4px solid var(--accent);
  padding: 24px 26px;
  transition: transform .2s, box-shadow .2s;
}
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.06);
}
.benefit-card h4 {
  font-size: 16px; font-weight: 700;
  color: var(--accent3);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.benefit-card h4 .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  font-weight: 400;
}
.benefit-card p {
  font-size: 13.5px; line-height: 1.7;
  color: var(--ink-mid);
}

/* ─── SPEC TABLE ────────────────────────────────────────────── */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.spec-photo {
  background: var(--bg-soft);
  border: 1px solid var(--rule-soft);
  padding: 36px 28px;
  display: flex; align-items: center; justify-content: center;
  min-height: 380px;
  position: relative;
}
.spec-photo img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.10));
}
.spec-photo-caption {
  position: absolute;
  bottom: 14px; left: 14px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.spec-photo-tag {
  font-size: 8.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  background: #fff; color: var(--ink-mid);
  border: 1px solid var(--rule);
  padding: 5px 9px;
}

.spec-table-wrap { padding-top: 4px; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.spec-table thead th {
  background: var(--accent3);
  color: #fff;
  padding: 11px 16px;
  text-align: left;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}
.spec-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink);
  vertical-align: middle;
}
.spec-table tbody td:first-child {
  font-weight: 600;
  color: var(--ink-mid);
  font-size: 12.5px;
  width: 38%;
}
.spec-table tbody tr:nth-child(even) td { background: var(--bg-soft); }
.spec-table tbody tr:hover td { background: rgba(3,74,166,.04); }

/* Compatible printers tags */
.compat-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
}
.compat-tag {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 500;
}

/* ─── USECASE GRID ──────────────────────────────────────────── */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.usecase-card {
  background: #fff;
  border: 1px solid var(--rule-soft);
  padding: 26px 24px;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.usecase-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rule);
  transition: background .2s;
}
.usecase-card:hover {
  transform: translateY(-3px);
  border-color: var(--rule);
}
.usecase-card:hover::before { background: var(--accent); }
.usecase-num {
  font-family: var(--serif);
  font-size: 36px; font-style: italic;
  font-weight: 300;
  color: rgba(17,19,24,.08);
  line-height: 1;
  margin-bottom: 12px;
}
.usecase-card h4 {
  font-size: 14px; font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent3);
  margin-bottom: 10px;
}
.usecase-card p {
  font-size: 13px; line-height: 1.7;
  color: var(--ink-mid);
}

/* ─── DO / DON'T ─────────────────────────────────────────────── */
.compat-twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}
.compat-col {
  background: #fff;
  border: 1px solid var(--rule-soft);
  padding: 22px 24px;
}
.compat-col.no { border-top: 4px solid var(--accent); }
.compat-col.yes { border-top: 4px solid #15803d; }
.compat-col h4 {
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 14px;
}
.compat-col.no h4 { color: var(--accent); }
.compat-col.yes h4 { color: #15803d; }
.compat-col ul { list-style: none; padding: 0; }
.compat-col li {
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
  display: flex; gap: 10px; align-items: flex-start;
}
.compat-col li:last-child { border-bottom: none; }
.compat-col li::before {
  font-weight: 700;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.4;
}
.compat-col.yes li::before { content: '✓'; color: #15803d; }
.compat-col.no  li::before { content: '✕'; color: var(--accent); }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-list { margin-top: 22px; }
.faq-item {
  border: 1px solid var(--rule-soft);
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
}
.faq-q {
  background: var(--bg-soft);
  padding: 14px 20px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--accent3);
  display: flex; justify-content: space-between; align-items: center;
  cursor: none;
}
.faq-q::after {
  content: '+';
  font-size: 22px; font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  padding: 0 20px;
  font-size: 13.5px; line-height: 1.75;
  color: var(--ink-mid);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a {
  padding: 16px 20px 18px;
  max-height: 600px;
}
.faq-a strong { color: var(--ink); font-weight: 600; }

/* ─── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--accent2) 0%, var(--accent) 100%);
  color: #fff;
  padding: 44px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-banner h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  margin-bottom: 8px;
  color: #fff;
}
.cta-banner h3 em { font-style: italic; color: var(--gold); }
.cta-banner p {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  max-width: 540px;
}
.cta-banner-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-white {
  background: #fff; color: var(--accent);
  padding: 14px 26px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, transform .2s;
}
.btn-white:hover { background: var(--gold); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  padding: 13px 26px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: #fff; }

/* ─── FOOTER CTA ─────────────────────────────────────────────── */
.footer-cta {
  background: var(--accent2);
  padding: 90px 52px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.footer-cta-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 300; line-height: 1.06;
  letter-spacing: -.01em; color: #ffffff;
}
.footer-cta-title em { font-style: italic; color: var(--gold); }
.footer-cta-body {
  font-size: 14px; line-height: 1.85;
  color: rgba(255,255,255,.7); margin-bottom: 28px;
  letter-spacing: .01em;
}
.contact-info { margin-bottom: 28px; }
.contact-row {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,.55);
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.contact-row strong {
  color: #fff; min-width: 90px;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700;
}
.btn-contact {
  display: inline-block;
  font-size: 10px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent2); background: #fff;
  text-decoration: none; padding: 16px 36px;
  transition: background .2s, transform .2s;
  margin-right: 12px;
}
.btn-contact:hover { background: var(--gold); transform: translateY(-2px); }
.btn-outline-white {
  display: inline-block;
  font-size: 10px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.3);
  text-decoration: none; padding: 15px 30px;
  transition: border-color .2s, color .2s;
}
.btn-outline-white:hover { border-color: #fff; color: #fff; }

footer {
  background: var(--bg-dark);
  padding: 40px 52px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo {
  font-family: var(--serif); font-size: 17px;
  font-style: italic; font-weight: 300;
  color: rgba(255,255,255,.35); letter-spacing: .1em;
}
.footer-logo strong { font-style: normal; font-weight: 600; color: rgba(255,255,255,.7); }
.footer-links { display: flex; gap: 26px; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.25);
  text-decoration: none; transition: color .2s;
}
.footer-links a:hover { color: rgba(255,255,255,.7); }
.footer-copy {
  font-size: 9px; letter-spacing: .1em;
  color: rgba(255,255,255,.18); text-transform: uppercase;
}

/* ─── ANIMATIONS / REVEAL ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-product-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-main { min-height: 320px; }
  .spec-grid { grid-template-columns: 1fr; gap: 32px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr 1fr; }
  .compat-twocol { grid-template-columns: 1fr; }
  .footer-cta { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
  header { padding: 14px 20px; }
  header.scrolled { padding: 12px 20px; }
  .product-intro { padding: 14px 20px; flex-direction: column; align-items: flex-start; margin-top: 72px; }
  .breadcrumb { padding: 10px 20px; }
  .section-hero-product { padding: 32px 20px 40px; }
  .section { padding: 56px 20px; }
  .qspec-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .footer-cta { padding: 60px 20px; }
  footer { padding: 30px 20px; flex-direction: column; gap: 18px; text-align: center; }
  .header-nav, nav { display: none; }
  .cta-banner { padding: 30px 24px; }
}

/* ─── SEARCH & TAILWIND POLYFILL ───────────────────────────────────────── */
.search-input-container { position: relative; display: flex; align-items: center; transition: all 0.3s ease; }
.search-input-container.w-0 { width: 0; opacity: 0; pointer-events: none; }
.search-input-container.w-64 { width: 220px; opacity: 1; margin-right: 12px; pointer-events: auto; }
.search-input { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--ink-mid); padding: 4px 8px; font-family: var(--sans); font-size: 11px; color: var(--ink); outline: none; }
.search-input::placeholder { color: var(--ink-light); }
.search-btn { background: transparent; border: 1px solid var(--rule); border-radius: 50%; padding: 8px; cursor: none; color: var(--ink); display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.search-btn:hover { background: rgba(17,19,24,.05); border-color: var(--ink-mid); }
#searchResults { position: absolute; top: calc(100% + 15px); right: 0; width: 320px; background: var(--bg-panel); border: 1px solid var(--rule); border-radius: 8px; font-family: var(--sans); z-index: 1000; box-shadow: 0 12px 40px rgba(0,0,0,0.1); display: none; text-align: left; }
#searchResults:not(.hidden) { display: block; }
#resultsList { max-height: 350px; overflow-y: auto; }
#resultsList .p-3 { padding: 12px 16px; border-bottom: 1px solid var(--rule); display: flex; align-items: center; gap: 14px; cursor: pointer; transition: background 0.2s; text-decoration: none; }
#resultsList .p-3:last-child { border-bottom: none; }
#resultsList .p-3:hover { background: rgba(17,19,24,.03); }
#resultsList .w-10 { width: 44px; flex-shrink: 0; }
#resultsList .h-10 { height: 44px; }
#resultsList .rounded-md { border-radius: 6px; overflow: hidden; background: #fff; border: 1px solid var(--rule); }
#resultsList img { width: 100%; height: 100%; object-fit: contain; }
#resultsList .text-white { color: var(--ink) !important; font-size: 13px; font-weight: 600; margin-bottom: 2px; line-height: 1.3; }
#resultsList .text-gray-400 { color: var(--ink-light); font-size: 11px; margin: 0; }
#resultsList .group:hover p.group-hover\:text-cyan-400 { color: var(--accent) !important; }


/* ─── REVIEW SYSTEM (Tailwind giả lập) ──────────────────────── */
.relative { position: relative; }
.z-20 { z-index: 20; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-12 { margin-bottom: 3rem; }
.glass-panel { background: rgba(0, 0, 0, 0.03); backdrop-filter: blur(10px); border: 1px solid rgba(0, 0, 0, 0.1); }
.p-8 { padding: 2rem; }
.rounded-2xl { border-radius: 1rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.font-bold { font-weight: 700; }
.text-white { color: #000; }
.text-white-btn { color: #fff; }
.mb-6 { margin-bottom: 1.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-white\/40 { color: rgba(0, 0, 0, 0.5); }
.italic { font-style: italic; }
.bg-black\/20 { background-color: rgba(0, 0, 0, 0.05); }
.p-6 { padding: 1.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.border-white\/5 { border-color: rgba(0, 0, 0, 0.1); }
.border { border-width: 1px; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.mb-4 { margin-bottom: 1rem; }
.block { display: block; }
.text-white\/60 { color: rgba(0, 0, 0, 0.7); }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.flex { display: flex; }
.gap-2 { gap: 0.5rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.cursor-pointer { cursor: pointer; }
.star-btn { color: #d1d5db; transition: color 150ms; }
.star-btn:hover, .star-btn.active { color: #facc15; }
.grid { display: grid; }
.gap-4 { gap: 1rem; }
@media (min-width: 768px) { .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .md\:w-auto { width: auto; } }
.w-full { width: 100%; box-sizing: border-box; }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.8); }
.border-white\/10 { border-color: rgba(0, 0, 0, 0.15); }
.rounded-lg { border-radius: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.focus\:outline-none:focus { outline: none; border-color: #4ade80; }
.transition-colors { transition: all 150ms; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.bg-green-500 { background-color: #22c55e; border: none; cursor: pointer; }
.hover\:bg-green-600:hover { background-color: #16a34a; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.shadow-green-500\/20 { box-shadow: 0 10px 15px -3px rgba(34,197,94,0.2); }


/* ─── STICKY MOBILE FOOTER ──────────────────────────────────── */
.sticky-mobile-footer {
    position: fixed; bottom: 0; left: 0; width: 100%; z-index: 50;
    display: none; grid-template-columns: repeat(2, minmax(0, 1fr));
    background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) { .sticky-mobile-footer { display: grid; } }
.sticky-mobile-footer a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 0.75rem; color: white; text-decoration: none;
    transition: all 0.3s ease;
}
.sticky-mobile-footer a:first-child { border-right: 1px solid rgba(255, 255, 255, 0.1); }
.sticky-mobile-footer a:hover { background-color: rgba(255, 255, 255, 0.1); }
.sticky-mobile-footer a:active { transform: scale(0.95); }
.sticky-mobile-footer i { font-size: 1.25rem; margin-bottom: 0.25rem; }
.text-green-400 { color: #4ade80; }
.text-blue-400 { color: #60a5fa; }
.sticky-font-btn { font-size: 0.75rem; font-weight: bold; font-family: sans-serif; }
