/* =========================================================
   JADE'S SOLUTION — Design System
   Brand: BICH TRANG · Adhesive & Sealant
   Modern industrial · Clean technical · Lead-gen
   ========================================================= */

:root {
  --orange: #F5822A;
  --orange-hover: #E56F18;
  --orange-soft: #FFF4EB;
  --charcoal: #2F2F2F;
  --black: #050505;
  --off-white: #FAFAF7;
  --bg-blue: #EEF6F8;
  --bg-gray: #F3F5F6;
  --border: #E2E7EA;
  --text: #1F1F1F;
  --muted: #6B7280;
  --green: #16825D;
  --green-soft: #E8F5F0;
  --white: #FFFFFF;
  --danger: #C2410C;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --container: 1180px;
  --header-h: 72px;
  --util-h: 38px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, Helvetica, sans-serif;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

.lead { font-size: 1.0625rem; color: var(--muted); line-height: 1.7; max-width: 58ch; }
.text-muted { color: var(--muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
}

.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-hover); box-shadow: 0 6px 18px rgba(245, 130, 42, 0.35); }
.btn-secondary { background: var(--white); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--charcoal); background: var(--bg-gray); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--black); }
.btn-outline-orange { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline-orange:hover { background: var(--orange-soft); }
.btn-sm { padding: 8px 14px; font-size: 0.8125rem; border-radius: 8px; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Chips / Tags ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--bg-gray);
  color: var(--muted);
  border: 1px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}
.chip:hover, .chip.active {
  background: var(--orange-soft);
  color: var(--orange-hover);
  border-color: rgba(245, 130, 42, 0.25);
}
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--orange-soft);
  color: var(--orange-hover);
}
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-gray { background: var(--bg-gray); color: var(--muted); }

/* ---------- Utility bar + Header ---------- */
.util-bar {
  background: var(--charcoal);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  height: var(--util-h);
  display: flex;
  align-items: center;
}
.util-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.util-left, .util-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.util-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.util-bar a:hover { color: var(--orange); }
.util-bar i { color: var(--orange); font-size: 0.75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange) 0%, #f5a04a 100%);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  box-shadow: 0 4px 12px rgba(245, 130, 42, 0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-transform: uppercase;
}
.brand-tag {
  font-size: 0.6875rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}
.brand-parent {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
}
.brand-parent span {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-main a {
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.nav-main a:hover,
.nav-main a.active {
  color: var(--orange);
  background: var(--orange-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.search-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: background var(--transition), color var(--transition);
}
.search-toggle:hover { background: var(--bg-gray); color: var(--text); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--bg-gray);
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform var(--transition);
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5,5,5,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-nav.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: var(--white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a {
  padding: 14px 12px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  color: var(--text);
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--orange-soft);
  color: var(--orange);
}
.mobile-nav-cta { margin-top: auto; padding-top: 16px; }

/* ---------- Page heroes ---------- */
.page-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2F2F2F 55%, #3d342c 100%);
  color: var(--white);
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(245,130,42,0.18), transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(22,130,93,0.12), transparent 55%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--orange); }
.page-hero h1 { color: var(--white); margin: 12px 0 14px; max-width: 18ch; }
.page-hero .lead { color: rgba(255,255,255,0.72); max-width: 52ch; }
.page-hero-sm { padding: 40px 0 48px; }
.page-hero-sm h1 { max-width: 22ch; }

/* Home hero */
.home-hero {
  background: linear-gradient(120deg, #121212 0%, #252525 45%, #2a2118 100%);
  color: var(--white);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 85% 30%, rgba(245,130,42,0.22), transparent 55%),
    radial-gradient(ellipse 35% 45% at 5% 80%, rgba(22,130,93,0.1), transparent 50%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.012) 40px,
      rgba(255,255,255,0.012) 41px
    );
  pointer-events: none;
}
.home-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.home-hero .eyebrow {
  color: var(--orange);
  background: rgba(245,130,42,0.12);
  border: 1px solid rgba(245,130,42,0.28);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.home-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  max-width: 16ch;
}
.home-hero .lead {
  color: rgba(255,255,255,0.72);
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.hero-stat span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
}

.hero-showcase {
  position: relative;
  min-height: 380px;
}
/* Option C: construction photo stage */
.hero-showcase-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #1a1a1a;
}
.hero-showcase-photo .hero-photo-frame {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, #2a2118 0%, #1a1a1a 100%);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}
.hero-showcase-photo.has-photo .hero-photo-frame {
  background-color: #1a1a1a;
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center;
}
.hero-showcase-photo:hover .hero-photo-frame {
  transform: scale(1.05);
}
.hero-photo-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.55) 100%),
    linear-gradient(90deg, rgba(18,18,18,0.35) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.hero-card-main {
  position: relative;
  z-index: 2;
}
/* Overlay card sits bottom-left on the photo */
.hero-card-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  max-width: 320px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}
.hero-card-overlay .hero-card-meta {
  gap: 8px;
}
.hero-card-overlay h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
}
.hero-card-overlay .text-muted {
  margin: 0;
}
.hero-card-cta {
  align-self: flex-start;
  margin-top: 4px;
}
/* Legacy can visual kept for non-photo fallback only */
.hero-product-visual {
  height: 200px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, #EEF6F8 0%, #e0e8ea 100%);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.hero-product-visual::after {
  content: '';
  position: absolute;
  width: 90px;
  height: 140px;
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(180deg, var(--orange) 0%, #d96a18 100%);
  box-shadow: 0 12px 28px rgba(245,130,42,0.4);
}
.hero-product-visual .can-label {
  position: absolute;
  z-index: 1;
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  width: 70px;
}
.hero-card-meta { display: flex; flex-direction: column; gap: 6px; }
.hero-card-meta h3 { font-size: 1.05rem; }
.hero-float {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  z-index: 4;
}
.hero-float i {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.85rem;
}
.hero-float-1 { top: 18px; right: 14px; }
.hero-float-2 { top: 78px; right: 14px; }
.hero-float-2 i { background: var(--orange-soft); color: var(--orange); }
/* Mobile chips (photo USP) */
.hero-mobile-chips {
  display: none;
  position: relative;
  z-index: 3;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
  margin-top: auto;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.95);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
.hero-chip i {
  color: var(--orange);
  font-size: 0.8rem;
}
/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-head h2 { margin-top: 8px; }
.section-head .lead { margin-top: 10px; }
.bg-white { background: var(--white); }
.bg-blue { background: var(--bg-blue); }
.bg-gray { background: var(--bg-gray); }
.bg-dark {
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  color: var(--white);
}
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-dark .lead, .bg-dark .text-muted { color: rgba(255,255,255,0.65); }

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.cat-card:hover {
  border-color: rgba(245,130,42,0.35);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: var(--orange-soft);
  color: var(--orange);
}
.cat-card h3 { font-size: 1.05rem; }
.cat-card p { font-size: 0.875rem; color: var(--muted); flex: 1; line-height: 1.55; }
.cat-card .link-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.cat-card:hover .link-arrow { gap: 10px; }

/* ---------- Why choose ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  opacity: 0;
  transition: opacity var(--transition);
}
.why-card:hover::before { opacity: 1; }
.why-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.why-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.why-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: rgba(245,130,42,0.25);
}
.product-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  min-height: 0;
  background: linear-gradient(160deg, #EEF6F8 0%, #e4ecee 100%);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.product-img::before {
  content: '';
  width: 64px;
  height: 100px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--can-color, var(--orange)) 0%, color-mix(in srgb, var(--can-color, var(--orange)) 70%, black) 100%);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}
.product-img[data-tone="green"] { --can-color: #16825D; }
.product-img[data-tone="blue"] { --can-color: #2B6CB0; }
.product-img[data-tone="gray"] { --can-color: #4A5568; }
.product-img[data-tone="teal"] { --can-color: #0D9488; }
.product-img[data-tone="amber"] { --can-color: #D97706; }
.product-img[data-tone="red"] { --can-color: #C2410C; }
.product-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-body h3 {
  font-size: 1rem;
  line-height: 1.35;
}
.product-body p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.product-pack {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}
.product-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.product-card:hover .product-link { gap: 8px; }

/* ---------- Article cards ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.article-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.article-thumb {
  height: 160px;
  background:
    linear-gradient(135deg, rgba(47,47,47,0.5), rgba(245,130,42,0.35)),
    linear-gradient(160deg, #3a3a3a, #5a5048);
  position: relative;
}
.article-thumb[data-tone="green"] {
  background: linear-gradient(135deg, rgba(22,130,93,0.55), rgba(47,47,47,0.4)), linear-gradient(160deg, #1a3a2e, #2a5040);
}
.article-thumb[data-tone="blue"] {
  background: linear-gradient(135deg, rgba(43,108,176,0.5), rgba(47,47,47,0.4)), linear-gradient(160deg, #1a2a3a, #2a4050);
}
.article-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.article-body h3 {
  font-size: 1.02rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-body p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- Support / tech section ---------- */
.tech-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.tech-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 28px;
}
.tech-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}
.tech-list li i {
  color: var(--orange);
  margin-top: 3px;
  flex-shrink: 0;
}
.tech-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tech-panel a {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 18px 16px;
  transition: background var(--transition), border-color var(--transition);
}
.tech-panel a:hover {
  background: rgba(245,130,42,0.12);
  border-color: rgba(245,130,42,0.35);
}
.tech-panel a strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.tech-panel a span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange) 0%, #e56f18 55%, #c95a10 100%);
  color: var(--white);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 100% 50%, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}
.cta-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band .container > div:first-child {
  flex: 1 1 280px;
  min-width: min(100%, 280px);
}
.cta-band h2 { color: var(--white); max-width: 18ch; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 42ch; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
  align-items: center;
}
.cta-band .btn-secondary {
  background: var(--white);
  color: var(--orange-hover);
  border-color: var(--white);
}
.cta-band .btn-ghost { border-color: rgba(255,255,255,0.5); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.72);
  padding: 56px 0 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-mark { margin-bottom: 14px; }
.footer-brand .brand-name { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.footer-brand p {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  max-width: 32ch;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--orange); }
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.footer-contact i {
  color: var(--orange);
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.7);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover {
  background: var(--orange);
  color: var(--white);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Floating contact ---------- */
.float-actions {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.float-btn:hover { transform: scale(1.06); }
.float-phone { background: var(--orange); }
.float-zalo { background: #0068FF; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* ---------- Filter bar ---------- */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.search-box {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.9rem;
}
.search-box input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg-gray);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.search-box input:focus {
  border-color: var(--orange);
  background: var(--white);
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Product detail ---------- */
.pd-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.pd-gallery {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.pd-main-img {
  height: 360px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #EEF6F8, #e0e8ea);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  position: relative;
}
.pd-main-img::before {
  content: '';
  width: 110px;
  height: 170px;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, var(--orange) 0%, #c95a10 100%);
  box-shadow: 0 16px 36px rgba(245,130,42,0.35);
}
.pd-thumbs {
  display: flex;
  gap: 10px;
}
.pd-thumbs button {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg-blue);
  transition: border-color var(--transition);
}
.pd-thumbs button.active,
.pd-thumbs button:hover { border-color: var(--orange); }

.pd-info .tag { margin-bottom: 12px; }
.pd-info h1 { margin-bottom: 12px; font-size: clamp(1.5rem, 3vw, 2rem); }
.pd-info .lead { margin-bottom: 20px; }
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.feature-chips .chip {
  background: var(--bg-blue);
  color: var(--charcoal);
  cursor: default;
}
.feature-chips .chip i { color: var(--green); }
.app-list {
  margin-bottom: 22px;
}
.app-list h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 10px;
}
.app-list ul { display: flex; flex-direction: column; gap: 8px; }
.app-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.app-list li i { color: var(--green); font-size: 0.8rem; }
.pack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.pack-chips .chip {
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
}
.pack-chips .chip.active {
  border-color: var(--orange);
  background: var(--orange-soft);
  color: var(--orange-hover);
}
.pd-tags .tag-chips {
  margin-bottom: 0;
}
.pd-tags .tag-chip {
  background: var(--bg-gray);
  color: var(--muted);
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
}
.pd-tags .tag-chip:hover {
  background: var(--orange-soft);
  color: var(--orange-hover);
  border-color: rgba(245, 130, 42, 0.25);
}
.pd-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Tabs */
.tabs {
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin-bottom: 28px;
}
.tab-btn {
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  text-transform: none; /* sentence case — never uppercase/capitalize */
  letter-spacing: normal;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel h3 { margin: 24px 0 12px; }
.tab-panel h3:first-child { margin-top: 0; }
.tab-panel p { color: var(--muted); margin-bottom: 12px; line-height: 1.7; }
.tab-panel ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 20px;
}
.tab-panel ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.9375rem;
}
.tab-panel ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 8px;
  flex-shrink: 0;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.spec-table th {
  width: 40%;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--bg-gray);
}
.spec-table td { color: var(--muted); }

/* ---------- Support page ---------- */
.support-hero-search {
  margin-top: 28px;
  max-width: 560px;
}
.support-hero-search .search-box input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 14px 16px 14px 44px;
}
.support-hero-search .search-box input::placeholder { color: rgba(255,255,255,0.45); }
.support-hero-search .search-box input:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--orange);
}
.support-hero-search .search-box i { color: rgba(255,255,255,0.5); }

.featured-guide {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}
.featured-guide-img {
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(245,130,42,0.4), rgba(47,47,47,0.55)),
    linear-gradient(160deg, #3a3228, #5a4a38);
}
.featured-guide-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.featured-guide-body h2 { font-size: 1.4rem; }
.featured-guide-body p { color: var(--muted); line-height: 1.65; }

.support-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
}
.sidebar-card h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  color: var(--charcoal);
}
.sidebar-card ul { display: flex; flex-direction: column; gap: 10px; }
.sidebar-card a {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}
.sidebar-card a:hover { color: var(--orange); }
.sidebar-cta {
  background: linear-gradient(145deg, #1f1f1f, #2f2f2f);
  color: var(--white);
  border: none;
}
.sidebar-cta h4 { color: var(--white); }
.sidebar-cta p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
  line-height: 1.55;
}

/* ---------- Article detail ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 48px;
  justify-content: space-between;
  align-items: start;
}
.article-header { margin-bottom: 28px; }
.article-header h1 {
  margin: 12px 0 16px;
  max-width: 22ch;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
}
.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.article-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-featured-img {
  height: 360px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(47,47,47,0.35), rgba(245,130,42,0.4)),
    linear-gradient(160deg, #3a3228, #6a5840);
  margin-bottom: 36px;
}
.article-content h2 {
  font-size: 1.35rem;
  margin: 36px 0 14px;
}
.article-content p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.article-content ol {
  list-style: none;
  counter-reset: step;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-content ol li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.article-content ol li::before {
  content: counter(step);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--orange-soft);
  color: var(--orange-hover);
  font-weight: 700;
  font-size: 0.875rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.article-content ul {
  margin: 12px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-content ul li {
  display: flex;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
}
.article-content ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 9px;
  flex-shrink: 0;
}
.step-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 18px 0 28px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 16px;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--orange);
  color: white;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.step-card h4 { margin-bottom: 4px; }
.step-card p { font-size: 0.875rem; color: var(--muted); margin: 0; }
.inline-cta {
  background: var(--bg-blue);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.inline-cta h3 { font-size: 1.1rem; margin-bottom: 4px; }
.inline-cta p { font-size: 0.875rem; color: var(--muted); margin: 0; }
.toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.toc a {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 6px 0;
  display: block;
  border-left: 2px solid var(--border);
  padding-left: 12px;
  transition: color var(--transition), border-color var(--transition);
}
.toc a:hover, .toc a.active {
  color: var(--orange);
  border-left-color: var(--orange);
}
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.article-nav a {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  transition: border-color var(--transition);
}
.article-nav a:hover { border-color: var(--orange); }
.article-nav span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.article-nav strong { font-size: 0.9rem; line-height: 1.35; }
.article-nav .next { text-align: right; }

/* ---------- Contact ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
}
.contact-card i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  font-size: 1.05rem;
}
.contact-card h3 { font-size: 0.9rem; margin-bottom: 6px; }
.contact-card p, .contact-card a {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}
.contact-card a:hover { color: var(--orange); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}
.form-card, .info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.form-card h2, .info-card h2 { font-size: 1.25rem; margin-bottom: 6px; }
.form-card > p, .info-card > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg-gray);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dept-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.dept-item {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-gray);
}
.dept-item strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.dept-item span { font-size: 0.8125rem; color: var(--muted); }
.store-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.store-links a {
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: border-color var(--transition), color var(--transition);
}
.store-links a:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.map-placeholder {
  margin-top: 32px;
  height: 280px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #dfe8ea, #cfd8da);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  gap: 8px;
}
.map-placeholder i { font-size: 2rem; color: var(--orange); display: block; margin-bottom: 8px; }

/* ---------- About ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.about-visual {
  height: 380px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(47,47,47,0.4), rgba(245,130,42,0.35)),
    linear-gradient(160deg, #2a2a2a, #4a4038);
  position: relative;
  overflow: hidden;
}
.about-visual::after {
  content: 'BICH TRANG';
  position: absolute;
  bottom: 24px;
  left: 24px;
  color: white;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  opacity: 0.7;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
}
.stat-card strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.stat-card span {
  font-size: 0.8125rem;
  color: var(--muted);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
}
.value-card i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 1.1rem;
}
.value-card h3 { margin-bottom: 8px; }
.value-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 720px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}
.timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange-soft);
  border: 2px solid var(--orange);
  flex-shrink: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--orange-hover);
}
.timeline-item h4 { margin-bottom: 4px; }
.timeline-item p { font-size: 0.875rem; color: var(--muted); }

/* ---------- Category overview (products) ---------- */
.cat-overview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cat-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.cat-row:hover {
  border-color: rgba(245,130,42,0.3);
  box-shadow: var(--shadow-sm);
}
.cat-row-img {
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--bg-blue), #dce8ea);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  color: var(--orange);
}
.cat-row h3 { margin-bottom: 4px; }
.cat-row p { font-size: 0.875rem; color: var(--muted); }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
}
.pagination button,
.pagination a {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  display: grid;
  place-items: center;
  transition: all var(--transition);
}
.pagination button.active,
.pagination a.active,
.pagination button:hover,
.pagination a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

/* ---------- Misc ---------- */
.share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0;
}
.share-row span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}
.share-row a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all var(--transition);
}
.share-row a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 300;
  background: var(--charcoal);
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  max-width: 320px;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast.success { border-left: 3px solid var(--green); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cat-grid,
  .why-grid,
  .product-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .util-bar { display: none; }
  .nav-main, .header-actions .btn-primary { display: none; }
  .menu-toggle { display: flex; }
  .home-hero .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-showcase { min-height: 300px; max-width: 420px; margin: 0 auto; width: 100%; }\n  .hero-showcase-photo { max-width: 420px; }
  .pd-hero,
  .tech-split,
  .about-intro,
  .contact-grid,
  .support-layout,
  .article-layout,
  .featured-guide {
    grid-template-columns: 1fr;
  }
  .featured-guide-img { min-height: 200px; }
  .article-featured-img { height: 220px; }
  .pd-main-img { height: 280px; }
  .cat-row { grid-template-columns: 100px 1fr; }
  .cat-row .btn { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .tech-panel { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .home-hero, .page-hero { padding: 44px 0 52px; }
  .float-actions { bottom: 16px; left: 12px; }
  .float-btn { width: 48px; height: 48px; }
  .toc { position: static; }
}

@media (max-width: 600px) {
  .cat-grid,
  .why-grid,
  .product-grid,
  .product-grid-4,
  .contact-cards,
  .stats-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .hero-float-1, .hero-float-2 { display: none; }\n  .hero-mobile-chips { display: flex; }\n  .hero-showcase-photo { min-height: 320px; display: flex; flex-direction: column; }\n  .hero-card-overlay { position: relative; left: auto; right: auto; bottom: auto; max-width: none; margin: 0 14px 0; width: auto; }\n  .hero-showcase { min-height: 0; }
  .brand-divider, .brand-parent { display: none; }
  .cta-band { padding: 36px 0; }
  .cta-band .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cta-band .container > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    width: 100%;
  }
  .cta-band h2 {
    max-width: none;
    margin-bottom: 6px;
  }
  .cta-band p {
    max-width: none;
    margin: 0;
  }
  .cta-band .cta-actions {
    margin-top: 0;
    width: 100%;
    gap: 10px;
  }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { text-align: left; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  h1 { font-size: 1.7rem; }
}

/* ---------- Color chart (Bảng màu) ---------- */
.color-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 20px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}
.color-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.color-legend i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
}
.color-family {
  margin-bottom: 40px;
}
.color-family-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.color-family-head h2 {
  font-size: 1.25rem;
}
.color-family-head p {
  font-size: 0.875rem;
  color: var(--muted);
}
.color-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.color-swatch {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 0;
  font-family: inherit;
  color: inherit;
}
.color-swatch:hover,
.color-swatch.active {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: rgba(245,130,42,0.4);
}
.color-swatch.active {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}
.swatch-chip {
  height: 88px;
  position: relative;
}
.swatch-chip.glossy::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.28) 0%, transparent 45%, rgba(0,0,0,0.06) 100%);
  pointer-events: none;
}
.swatch-body {
  padding: 12px 12px 14px;
}
.swatch-body strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.3;
}
.swatch-code {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.swatch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}
.swatch-meta span {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--bg-gray);
  color: var(--muted);
}
.color-preview {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}
.color-preview-chip {
  min-height: 180px;
  position: relative;
}
.color-preview-chip.glossy::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.28) 0%, transparent 45%, rgba(0,0,0,0.08) 100%);
}
.color-preview-body {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.color-preview-body h3 {
  font-size: 1.35rem;
}
.color-preview-body .hex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted);
}
.color-preview-body .hex-row code {
  background: var(--bg-gray);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.8125rem;
}
.color-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.finish-guide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.finish-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
}
.finish-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.finish-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.finish-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .color-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 920px) {
  .color-preview { grid-template-columns: 1fr; }
  .color-preview-chip { min-height: 140px; }
  .color-preview-body { padding: 20px; }
  .finish-guide { grid-template-columns: 1fr; }
  .color-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .color-grid { grid-template-columns: repeat(2, 1fr); }
  .swatch-chip { height: 72px; }
}

/* Print */
@media print {
  .util-bar, .site-header, .float-actions, .mobile-nav { display: none !important; }
  body { background: white; }
}


/* Real product thumbnails: hide prototype can placeholder ::before */
html body.jade-design-active .product-img.has-image::before,
html body.jade-design-active .jade-shop-main .product-img.has-image::before,
html body.jade-design-active .product-card .product-img.has-image::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  box-shadow: none !important;
  background: none !important;
}
html body.jade-design-active .product-img.has-image,
html body.jade-design-active .jade-shop-main .product-img.has-image {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
/* If inline background-image exists without class (fallback) */
html body.jade-design-active .product-img[style*="background-image"]::before {
  content: none !important;
  display: none !important;
}
/* =========================================================
   Footer lists — kill theme indent (ul/ol padding-left)
   ========================================================= */
html body.jade-design-active .site-footer ul,
html body.jade-design-active .site-footer ol,
html body.jade-design-active #xpro-theme-builder-footer ul,
html body.jade-design-active #xpro-theme-builder-footer ol,
html body.jade-design-active .site-footer .footer-col ul,
html body.jade-design-active .site-footer .footer-col ol,
html body.jade-design-active .site-footer .footer-contact ul,
html body.jade-design-active .site-footer .footer-brand ul {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 0 !important;
  padding-inline-start: 0 !important;
  margin-left: 0 !important;
  margin-inline-start: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

html body.jade-design-active .site-footer li,
html body.jade-design-active #xpro-theme-builder-footer li,
html body.jade-design-active .site-footer .footer-col li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

html body.jade-design-active .site-footer .footer-col ul li::before,
html body.jade-design-active .site-footer .footer-col ul li::marker,
html body.jade-design-active .site-footer ul li::marker {
  content: none !important;
  display: none !important;
}

/* Contact rows keep icon+text gap from prototype, no extra indent */
html body.jade-design-active .site-footer .footer-contact li {
  display: flex !important;
  gap: 10px !important;
  align-items: flex-start !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
}
html body.jade-design-active .site-footer .footer-contact ul {
  gap: 0 !important; /* li already has margin-bottom */
}

/* Link list flush left under headings */
html body.jade-design-active .site-footer .footer-col a {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Astra widget lists sometimes inject .widget styles into footer markup */
html body.jade-design-active .site-footer .widget ul,
html body.jade-design-active .site-footer .widget ol,
html body.jade-design-active #xpro-theme-builder-footer .elementor-widget ul,
html body.jade-design-active #xpro-theme-builder-footer .elementor-widget ol {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 0 !important;
  padding-inline-start: 0 !important;
}
/* float-actions removed by request */
html body .float-actions{display:none!important;visibility:hidden!important;pointer-events:none!important;}
