/* ===== TOKENS ===== */
:root {
  --primary: #0369A1;
  --primary-dark: #075985;
  --primary-50: #F0F9FF;
  --primary-100: #E0F2FE;

  --zalo: #0068FF;
  --zalo-dark: #0055CC;

  --orange: #EA580C;
  --orange-50: #FFF7ED;

  --green: #16A34A;
  --green-50: #F0FDF4;

  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --light: #94A3B8;

  --bg: #F8FAFC;
  --paper: #FFFFFF;
  --line: #E2E8F0;
  --line-2: #F1F5F9;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow: 0 4px 12px -2px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 24px -6px rgba(15,23,42,.12);

  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  --font: "Be Vietnam Pro", system-ui, sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
input, textarea, select { font: inherit; }

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

/* ===== TOP BAR ===== */
.topbar {
  background: var(--ink);
  color: #CBD5E1;
  font-size: 13px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  height: 36px;
  gap: 16px;
}
.topbar-left { display: flex; gap: 18px; align-items: center; }
.topbar-left .open {
  display: inline-flex; align-items: center; gap: 6px;
  color: #86EFAC;
  font-weight: 500;
}
.topbar-left .open::before {
  content: ""; width: 7px; height: 7px;
  background: #22C55E; border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,.25);
}
.topbar-right { display: flex; gap: 14px; }
.topbar-right a:hover { color: white; }

/* ===== HEADER ===== */
.header {
  background: white;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 76px;
  gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
/* WordPress custom logo (Site Identity) — keep it constrained to the header. */
.brand img.custom-logo {
  width: auto; height: 52px;
  max-height: 52px; max-width: 180px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ===== NAVIGATION MENU ===== */
.nav {
  display: flex; gap: 2px;
  justify-self: center;
  align-items: center;
}
.nav a {
  padding: 10px 16px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  transition: background .15s, color .15s;
  position: relative;
}
.nav a:hover { background: var(--primary-50); color: var(--primary); }
.nav a.active { color: var(--primary); }
.nav a.active::after {
  content: ""; position: absolute;
  bottom: -4px; left: 16px; right: 16px; height: 3px;
  background: var(--orange);
  border-radius: 2px;
}
.nav a.has-sub::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  margin-left: 2px;
  opacity: .55;
}
.nav-item {
  position: relative;
  /* Extend the hover zone 8px past the trigger so the mouse can travel into the
     submenu without crossing a dead gap that hides it mid-move. */
  padding-bottom: 8px;
  margin-bottom: -8px;
}
.nav-item:hover .nav-submenu { display: block; }
.nav-submenu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
  z-index: 31;
}
.nav-submenu a {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.nav-submenu a:hover { background: var(--primary-50); color: var(--primary); }
.nav-submenu a .ic {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--bg);
  display: grid; place-items: center;
  color: var(--primary);
  flex-shrink: 0;
}

.nav-mobile-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  align-items: center; justify-content: center;
}
.brand-logo {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: grid; place-items: center;
  color: white;
  position: relative;
  box-shadow: 0 6px 14px -4px rgba(3,105,161,.45);
}
.brand-logo::after {
  content: ""; position: absolute;
  bottom: -3px; right: -3px;
  width: 14px; height: 14px;
  background: var(--orange);
  border: 2.5px solid white;
  border-radius: 50%;
}
.brand-text { min-width: 0; }
.brand-text .name {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.1;
  white-space: nowrap;
}
.brand-text .name span { color: var(--primary); }
.brand-text .tag {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 500;
  white-space: nowrap;
}

.header-contact {
  display: flex;
  gap: 10px;
  align-items: center;
  grid-column: 3;
  justify-self: end;
}

/* Search icon button (same shape as cart) */
.btn-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg, #F1F5F9);
  color: var(--ink, #0F172A);
  border: none;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn-search:hover { background: #E2E8F0; }
.btn-search:active { transform: scale(0.96); }

/* Search overlay */
.vts-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .55);
  z-index: 9998;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 16px;
  animation: vts-fade-in .15s ease;
}
.vts-search-overlay[hidden] { display: none !important; }
@keyframes vts-fade-in { from { opacity: 0; } to { opacity: 1; } }
.vts-search-panel {
  width: 100%;
  max-width: 680px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  overflow: hidden;
}
.vts-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 14px 18px;
}
.vts-search-icon {
  color: var(--muted, #64748B);
  display: inline-flex;
  flex-shrink: 0;
}
.vts-search-form input {
  flex: 1;
  border: none;
  font-size: 16px;
  padding: 8px 0;
  background: transparent;
  outline: none;
  font-family: inherit;
  color: var(--ink, #0F172A);
  min-width: 0;
}
.vts-search-form button[type="submit"] {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 11px 20px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}
.vts-search-form button[type="submit"]:hover { background: var(--primary-dark); }
.vts-search-close {
  width: 36px;
  height: 36px;
  border: none;
  background: #F1F5F9;
  border-radius: 8px;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vts-search-close:hover { background: #E2E8F0; }
.btn-call, .btn-zalo {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn-call {
  background: var(--orange);
  color: white;
  box-shadow: 0 6px 14px -4px rgba(234,88,12,.45);
}
.btn-call:hover { transform: translateY(-1px); box-shadow: 0 10px 18px -4px rgba(234,88,12,.5); }
.btn-zalo {
  background: var(--zalo);
  color: white;
  box-shadow: 0 6px 14px -4px rgba(0,104,255,.4);
}
.btn-zalo:hover { transform: translateY(-1px); background: var(--zalo-dark); }
.btn-call .col, .btn-zalo .col { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-call .col small, .btn-zalo .col small { font-size: 11px; opacity: 0.85; font-weight: 500; }
.btn-call .col b, .btn-zalo .col b { font-size: 15px; }

/* Floating contact popup (all screens, bottom-right) */
.contact-mobile {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 55;
}
.btn-contact-mobile {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--zalo);
  color: #fff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -4px rgba(0,104,255,.5);
  animation: pulse-zalo 2.5s ease-in-out infinite;
  transition: transform .15s ease, background .15s ease;
}
.btn-contact-mobile:hover { background: var(--zalo-dark); }
.btn-contact-mobile:active { transform: scale(0.96); }
.contact-mobile-pop {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15,23,42,.22);
  padding: 6px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-mobile-pop[hidden] { display: none; }
.contact-mobile-pop .row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}
.contact-mobile-pop .row:hover { background: var(--bg); }
.contact-mobile-pop .row .ic {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.contact-mobile-pop .row.call .ic { background: var(--orange); }
.contact-mobile-pop .row.zalo .ic { background: var(--zalo); }
.contact-mobile-pop .row small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
}
.contact-mobile-pop .row b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

/* ===== HERO BANNER ===== */
.hero {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-content { position: relative; z-index: 2; }

/* HERO VISUAL */
.hero-visual {
  position: relative;
  height: 460px;
  display: grid; place-items: center;
}
.hero-image-frame {
  position: relative;
  width: 88%;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  background: white;
  box-shadow:
    0 30px 60px -15px rgba(0,0,0,.45),
    0 0 0 8px rgba(255,255,255,.08);
  transform: rotate(-2deg);
  transition: transform .4s ease;
}
.hero-image-frame:hover { transform: rotate(0deg) scale(1.02); }
.hero-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}

/* Decorative dots pattern behind */
.hero-visual::before {
  content: "";
  position: absolute;
  width: 140px; height: 140px;
  right: -10px; top: 20px;
  background-image: radial-gradient(circle, rgba(255,255,255,.18) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  z-index: 0;
}
.hero-visual::after {
  content: "";
  position: absolute;
  width: 100px; height: 100px;
  left: -10px; bottom: 30px;
  background-image: radial-gradient(circle, rgba(252,211,77,.35) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  z-index: 0;
}

/* Floating cards */
.hero-card {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 18px 36px -10px rgba(0,0,0,.4);
  display: flex; align-items: center; gap: 12px;
  z-index: 3;
  color: var(--ink);
}
.hero-card.top-left {
  top: 30px; left: -10px;
  animation: float-card 4s ease-in-out infinite;
}
.hero-card.bottom-right {
  bottom: 24px; right: -10px;
  animation: float-card 4s ease-in-out infinite 2s;
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-card .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero-card.top-left .ic { background: var(--green-50); color: var(--green); }
.hero-card.bottom-right .ic { background: var(--orange-50); color: var(--orange); }
.hero-card .info { display: flex; flex-direction: column; line-height: 1.2; }
.hero-card .info .lbl {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.hero-card .info .v {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}
.hero-card .info .v.price {
  color: var(--orange);
  font-size: 15px;
}
.hero-card .stars {
  display: flex; gap: 1px; color: #FBBF24;
}

/* Small thumb collage */
.hero-thumb {
  position: absolute;
  width: 88px; height: 88px;
  border-radius: 14px;
  overflow: hidden;
  background: white;
  box-shadow: 0 14px 28px -8px rgba(0,0,0,.35);
  border: 4px solid white;
  z-index: 3;
}
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-thumb.tl {
  top: -8px; right: 30px;
  transform: rotate(6deg);
  animation: float-card 5s ease-in-out infinite 1s;
}
.hero-thumb.br {
  bottom: -10px; left: 30px;
  transform: rotate(-8deg);
  animation: float-card 5s ease-in-out infinite 3s;
}
.hero::before {
  content: ""; position: absolute;
  right: -100px; top: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 60%);
}
.hero::after {
  content: ""; position: absolute;
  left: -60px; bottom: -100px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(234,88,12,.18), transparent 60%);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.22);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}
.hero-tag::before {
  content: "★"; color: #FCD34D;
}
.hero h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
  max-width: 700px;
}
.hero p {
  font-size: 15.5px;
  color: rgba(255,255,255,.85);
  max-width: 580px;
  margin-bottom: 22px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-actions .btn-white {
  background: white;
  color: var(--primary);
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s;
}
.hero-actions .btn-white:hover { transform: translateY(-1px); }
.hero-actions .btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,.35);
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s;
}
.hero-actions .btn-outline:hover { background: rgba(255,255,255,.1); }

.hero-features {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-features .item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
}
.hero-features .item svg { color: #FCD34D; flex-shrink: 0; }

/* ===== CATEGORY TABS ===== */
.cats-wrap {
  background: white;
  border-bottom: 1px solid var(--line);
}
.cats {
  display: flex; gap: 6px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cats::-webkit-scrollbar { display: none; }
.cat-tab {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg);
  border: 1.5px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 7px;
  transition: all .15s;
}
.cat-tab:hover { background: var(--primary-50); color: var(--primary); }
.cat-tab.active {
  background: var(--primary);
  color: white;
}
.cat-tab .count {
  background: rgba(0,0,0,.08);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.cat-tab.active .count { background: rgba(255,255,255,.22); }

/* ===== SECTION ===== */
section { padding: 36px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.section-head h2 .accent {
  width: 5px; height: 26px;
  background: var(--orange);
  border-radius: 3px;
}
.section-head .sub {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
}
.section-head a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex; align-items: center; gap: 4px;
}

/* ===== PRODUCT GRID ===== */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
/* Homepage 'Tất cả' default: cap desktop at 7×4 = 28 cards. JS overrides via
   inline display:block when a category filter is active, so all matching
   cards surface even from beyond the cap. Mobile cap (28) is set in the
   <=640px block further down. */
#products .products .product:nth-child(n+29) { display: none; }
.products-footer {
  margin-top: 24px;
  text-align: center;
}
.products-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 14px;
  transition: background .2s, transform .2s;
}
.products-footer a:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.product {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.product:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.product-img {
  aspect-ratio: 1 / 1;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product:hover .product-img img { transform: scale(1.05); }

.product-tag {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product-tag.hot { background: var(--orange); color: white; }
.product-tag.new { background: var(--green); color: white; }
.product-tag.sale { background: #DC2626; color: white; }

.product-info {
  padding: 14px;
  display: flex; flex-direction: column;
  flex: 1;
}
.product-cat {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.product-name {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 8px;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-meta {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.product-meta span {
  font-size: 11.5px;
  background: var(--bg);
  color: var(--ink-2);
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 500;
}
.product-price {
  display: flex; align-items: baseline; gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.product-price .now {
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.015em;
}
.product-price .was {
  font-size: 12.5px;
  color: var(--light);
  text-decoration: line-through;
}
.product-price .ask {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  margin-top: 10px;
}
.btn-buy {
  background: var(--primary);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .15s;
}
.btn-buy:hover { background: var(--primary-dark); }
.btn-zalo-sm {
  background: var(--zalo);
  color: white;
  width: 38px;
  border-radius: 8px;
  display: grid; place-items: center;
  transition: background .15s;
}
.btn-zalo-sm:hover { background: var(--zalo-dark); }

/* ===== COMMITMENTS ===== */
.commits {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.commit-item {
  display: flex; gap: 14px; align-items: center;
}
.commit-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.commit-item.orange .commit-icon { background: var(--orange-50); color: var(--orange); }
.commit-item.green .commit-icon { background: var(--green-50); color: var(--green); }
.commit-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--ink);
}
.commit-item p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* ===== ORDER FORM ===== */
.order-section {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--ink) 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: 38px;
  margin: 50px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.order-section::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(234,88,12,.25), transparent 60%);
}
.order-section .left { position: relative; z-index: 1; }
.order-section h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.order-section h2 span { color: #FCD34D; }
.order-section p {
  font-size: 14.5px;
  color: rgba(255,255,255,.8);
  margin-bottom: 22px;
  max-width: 420px;
}
.order-features { display: grid; gap: 10px; }
.order-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.9);
}
.order-features li::before {
  content: "";
  width: 22px; height: 22px;
  background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/13px no-repeat;
  border-radius: 50%;
  flex-shrink: 0;
}

.order-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.3);
}
.order-form h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.order-form .desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.form-field { margin-bottom: 12px; }
.form-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  background: white;
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-100);
}
.form-field textarea { resize: vertical; min-height: 70px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-submit {
  width: 100%;
  background: var(--orange);
  color: white;
  padding: 13px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  margin-top: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s, transform .15s;
}
.btn-submit:hover { background: #C2410C; transform: translateY(-1px); }

/* ===== ADDRESS / MAP ===== */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}
.contact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex; gap: 14px; align-items: flex-start;
}
.contact-card .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-card.orange .ic { background: var(--orange-50); color: var(--orange); }
.contact-card.zalo .ic { background: #E0F2FE; color: var(--zalo); }
.contact-card .lbl {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 2px;
}
.contact-card .v {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.contact-card .v a { color: var(--primary); }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: #94A3B8;
  padding: 40px 0 20px;
  margin-top: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 30px;
}
.footer .brand-text .name { color: white; }
.footer .brand-text .name span { color: #FCD34D; }
.footer-about p {
  font-size: 13.5px;
  line-height: 1.6;
  margin: 14px 0;
  max-width: 360px;
}
.footer-socials { display: flex; gap: 8px; margin-top: 14px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
  color: white;
  transition: background .15s, transform .15s;
}
.footer-socials a:hover { background: var(--primary); transform: translateY(-2px); }
.footer h5 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer ul { display: grid; gap: 8px; }
.footer ul li { font-size: 13.5px; line-height: 1.5; }
.footer ul a { transition: color .15s; }
.footer ul a:hover { color: white; }
.footer ul.info li { display: flex; gap: 8px; align-items: flex-start; }
.footer ul.info svg { color: #FCD34D; margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  text-align: center;
  font-size: 12.5px;
}

/* ===== STICKY MOBILE BAR ===== */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid var(--line);
  padding: 10px 12px;
  z-index: 50;
  gap: 8px;
  box-shadow: 0 -4px 12px rgba(15,23,42,.08);
}
.mobile-bar a {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  color: white;
}
.mobile-bar .call { background: var(--orange); }
.mobile-bar .zalo { background: var(--zalo); }
.mobile-bar .msg { background: var(--ink); }

@keyframes pulse-zalo {
  0%, 100% { box-shadow: 0 10px 24px -4px rgba(0,104,255,.5), 0 0 0 0 rgba(0,104,255,.5); }
  50% { box-shadow: 0 10px 24px -4px rgba(0,104,255,.5), 0 0 0 16px rgba(0,104,255,0); }
}

/* ===== STATS STRIP ===== */
.stats {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  display: flex; flex-direction: column;
  position: relative;
  padding-right: 24px;
}
.stat:not(:last-child)::after {
  content: ""; position: absolute;
  right: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: var(--line);
}
.stat-num {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.stat-num span {
  font-size: 18px;
  color: var(--orange);
  font-weight: 700;
}
.stat-lbl {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
}
.stat-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid; place-items: center;
  margin-bottom: 12px;
}
.stat:nth-child(2) .stat-icon { background: var(--orange-50); color: var(--orange); }
.stat:nth-child(3) .stat-icon { background: var(--green-50); color: var(--green); }
.stat:nth-child(4) .stat-icon { background: #FEF3C7; color: #D97706; }

/* ===== SECTION COMMON ===== */
.eyebrow {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow.orange { background: var(--orange-50); color: var(--orange); }
.eyebrow.green { background: var(--green-50); color: var(--green); }
.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head.center .sub { max-width: 540px; margin: 8px auto 0; }

/* ===== PROCESS ===== */
.process { background: white; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 60px; left: 14%; right: 14%; height: 2px;
  background-image: linear-gradient(90deg, var(--primary) 50%, transparent 50%);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  z-index: 0;
  opacity: .4;
}
.process-step {
  background: white;
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
  text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.step-num {
  display: inline-flex;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.step-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid; place-items: center;
}
.process-step:nth-child(2) .step-num { background: var(--orange); }
.process-step:nth-child(2) .step-icon { background: var(--orange-50); color: var(--orange); }
.process-step:nth-child(3) .step-num { background: #7C3AED; }
.process-step:nth-child(3) .step-icon { background: #F3E8FF; color: #7C3AED; }
.process-step:nth-child(4) .step-num { background: var(--green); }
.process-step:nth-child(4) .step-icon { background: var(--green-50); color: var(--green); }
.process-step h4 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.process-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--bg); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testi-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testi-card.featured {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-color: transparent;
}
.testi-card.featured::before {
  content: '"';
  position: absolute;
  top: -10px; right: 24px;
  font-size: 100px;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(255,255,255,.15);
  font-weight: 700;
}
.testi-card .stars {
  color: #FBBF24;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testi-card.featured .stars { color: #FCD34D; }
.testi-card blockquote {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 22px;
  flex: 1;
}
.testi-card.featured blockquote { color: rgba(255,255,255,.95); font-size: 15px; }
.testi-author {
  display: flex; gap: 12px; align-items: center;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.testi-card.featured .testi-author { border-top-color: rgba(255,255,255,.2); }
.testi-author .avatar {
  width: 55px; height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.testi-author .avatar.avatar-img {
  background-size: cover;
  background-position: center;
  color: transparent;
}
.testi-card.featured .testi-author .avatar {
  background: white;
  color: var(--primary);
}
.testi-card.featured .testi-author .avatar.avatar-img {
  background-color: transparent;
  outline: 2px solid rgba(255,255,255,0.4);
  outline-offset: 1px;
}
.testi-author .name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.testi-card.featured .testi-author .name { color: white; }
.testi-author .role {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 1px;
}
.testi-card.featured .testi-author .role { color: rgba(255,255,255,.75); }

/* ===== BLOG ===== */
.blog { background: white; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.blog-img {
  aspect-ratio: 16/9;
  display: grid; place-items: center;
  color: rgba(255,255,255,.92);
  position: relative;
  overflow: hidden;
}
.blog-img svg { width: 60px; height: 60px; z-index: 1; }
.blog-img::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 20px 20px;
}
.blog-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 5px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.blog-card:nth-child(1) .blog-cat { color: var(--primary); background: var(--primary-50); }
.blog-card:nth-child(2) .blog-cat { color: var(--orange); background: var(--orange-50); }
.blog-card:nth-child(3) .blog-cat { color: var(--green); background: var(--green-50); }
.blog-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-meta {
  display: flex; gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  font-size: 12px;
  color: var(--muted);
  margin-top: auto;
}
.blog-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* ===== BRANDS ===== */
.brands {
  background: var(--bg);
  padding: 56px 0;
}
.brands-head {
  text-align: center;
  margin-bottom: 32px;
}
.brands-head h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 6px;
}
.brands-head p {
  font-size: 13.5px;
  color: var(--muted);
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.brand-item {
  height: 64px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 0 12px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  transition: all .2s;
  cursor: pointer;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.brand-item .brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-logo-img {
  max-width: 100%;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.brand-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ===== FAQ ===== */
.faq { background: white; }
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.faq-head {
  position: sticky; top: 100px;
}
.faq-head h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.15;
}
.faq-head h2 span { color: var(--orange); }
.faq-head p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.6;
}
.faq-head .btn-zalo {
  padding: 12px 20px;
  font-size: 14px;
}
.faq-list {
  display: flex; flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.faq-item.open {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px -2px rgba(3,105,161,.12);
}
.faq-q {
  width: 100%;
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-align: left;
  transition: color .15s;
}
.faq-q:hover { color: var(--primary); }
.faq-item.open .faq-q { color: var(--primary); }
.faq-toggle {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: white;
  color: var(--primary);
  display: grid; place-items: center;
  font-size: 22px;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform .3s ease, background .15s;
  line-height: 1;
}
.faq-item.open .faq-toggle {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-a {
  max-height: 400px;
}
.faq-a-inner {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .nav a { padding: 9px 11px; font-size: 13.5px; }
  .nav a.has-sub::after { display: none; }
  .header-inner { gap: 16px; }
  .hero-visual { height: 380px; }
  .hero-image-frame { width: 92%; }
  .hero-card { padding: 10px 13px; }
  .hero-card .info .v { font-size: 13px; }
  .hero-thumb { width: 72px; height: 72px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .stat:nth-child(2)::after { display: none; }
  .stat:nth-child(odd) { padding-right: 24px; }
  .stat:nth-child(even) { padding-right: 0; }

  .testi-grid { grid-template-columns: 1fr 1fr; }
  .testi-card.featured { grid-column: span 2; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .faq-head { position: static; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero-content { text-align: left; }
  .hero-visual { height: 320px; max-width: 380px; margin: 0 auto; width: 100%; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .commits { grid-template-columns: 1fr 1fr; }
  .order-section { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .contact-block { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-about { grid-column: span 2; }
  .hero-features .item { font-size: 13px; }
  .header-contact .btn-call .col,
  .header-contact .btn-zalo .col { display: none; }
  .btn-call, .btn-zalo { padding: 11px 14px; }

  .process-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .process-grid::before { display: none; }
}
@media (max-width: 640px) {
  /* Single product: stack image above info on mobile */
  .single-product-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 18px !important;
  }
  .single-product-grid h1 { font-size: 22px !important; }

  .topbar .container { font-size: 11.5px; height: 32px; gap: 8px; }
  .topbar-right a:not(:first-child) { display: none; }
  /* Allow the address pill to truncate so the working-hours pill stays visible on the left */
  .topbar-right a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }
  .topbar-left { gap: 8px; min-width: 0; }

  .header-inner { height: 64px; gap: 10px; }
  .brand-logo { width: 44px; height: 44px; }
  .brand img.custom-logo { height: 40px; max-width: 140px; }
  .brand-text .name { font-size: 16px; }
  .brand-text .tag { font-size: 11px; }
  .nav-mobile-toggle { width: 38px; height: 38px; }
  /* Mobile header: only cart + menu. Contact lives in the floating FAB. */
  .header-contact .btn-call,
  .header-contact .btn-zalo { display: none; }

  .hero { padding: 32px 0 36px; }
  .hero .container { gap: 28px; }
  .hero-visual { height: 280px; max-width: 320px; }
  .hero-card { padding: 8px 11px; gap: 8px; }
  .hero-card .ic { width: 32px; height: 32px; }
  .hero-card .info .lbl { font-size: 10px; }
  .hero-card .info .v { font-size: 12px; }
  .hero-thumb { width: 60px; height: 60px; }
  .hero p { font-size: 14px; }
  .hero-features { gap: 12px; margin-top: 22px; padding-top: 18px; }
  .hero-features .item { font-size: 12.5px; }
  section { padding: 26px 0; }
  .section-head h2 { font-size: 19px; }

  .products { grid-template-columns: 1fr 1fr; gap: 10px; }
  /* Homepage only: cap mobile preview at 14 rows × 2 = 28 cards.
     CSS-only — JS category filter uses inline display:block to override
     this when a specific category is active. */
  #products .products .product:nth-child(n+29) { display: none; }
  .product-info { padding: 10px; }
  .product-name { font-size: 13.5px; min-height: 36px; }
  .product-price .now { font-size: 16px; }
  .btn-zalo-sm { width: 36px; }

  .commits { grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; }
  .commit-item { gap: 10px; }
  .commit-icon { width: 42px; height: 42px; }
  .commit-item h4 { font-size: 13.5px; }
  .commit-item p { font-size: 11.5px; }

  .order-section { padding: 22px; }
  .order-section h2 { font-size: 22px; }
  .order-form { padding: 18px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-about { grid-column: span 1; }

  body { padding-bottom: 0; }
  /* Shrink the floating contact button a touch on phones */
  .contact-mobile { right: 18px; bottom: 18px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .stat { padding-right: 14px; }
  .stat:nth-child(odd) { padding-right: 14px; }
  .stat-num { font-size: 28px; }
  .stat-num span { font-size: 14px; }
  .stat-lbl { font-size: 12px; }
  .stat-icon { width: 32px; height: 32px; margin-bottom: 10px; }

  .process-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-card.featured { grid-column: span 1; }
  .testi-card { padding: 22px; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-body { padding: 18px; }
  .blog-card h3 { font-size: 16px; }

  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-item { height: 52px; font-size: 13px; }
  .brands { padding: 40px 0; }

  .faq-head h2 { font-size: 22px; }
  .faq-q { padding: 16px 18px; font-size: 14px; }
  .faq-a-inner { padding: 0 18px 18px; font-size: 13.5px; }
}

/* Mobile drawer menu */
.mobile-drawer {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15,23,42,.6);
  z-index: 60;
}
.mobile-drawer.show { display: block; }
.mobile-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 280px;
  background: white;
  padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: -10px 0 30px rgba(0,0,0,.2);
  animation: slide-in .25s ease;
}
@keyframes slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.mobile-drawer-close {
  align-self: flex-end;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg);
  display: grid; place-items: center;
  margin-bottom: 8px;
}
.mobile-drawer-panel a {
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
}
.mobile-drawer-panel a:hover { background: var(--primary-50); color: var(--primary); }
.mobile-drawer-panel a.active { background: var(--primary-50); color: var(--primary); }

/* Modal */
.modal-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15,23,42,.6);
  z-index: 100;
  align-items: center; justify-content: center;
  padding: 16px;
}
.modal-backdrop.show { display: flex; }
.modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  max-width: 380px;
  width: 100%;
  text-align: center;
}
.modal .icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green);
  display: grid; place-items: center;
  margin: 0 auto 14px;
}
.modal h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.modal p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.modal button {
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
}
/* ===== Single post / blog typography ===== */
.entry-content { color: var(--ink-2); }

.entry-content > * + * { margin-top: 14px; }

.entry-content h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 40px 0 14px;
  padding-top: 8px;
}
.entry-content h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 28px 0 10px;
}
.entry-content h2:first-child,
.entry-content h3:first-child { margin-top: 0; }

.entry-content p {
  margin: 0 0 16px;
  line-height: 1.75;
}
.entry-content p:last-child { margin-bottom: 0; }

.entry-content strong { font-weight: 700; color: var(--ink); }

.entry-content ul,
.entry-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.entry-content ul li,
.entry-content ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.entry-content ul li:last-child,
.entry-content ol li:last-child { margin-bottom: 0; }

.entry-content h2 + p,
.entry-content h3 + p,
.entry-content h2 + ul,
.entry-content h2 + ol,
.entry-content h3 + ul,
.entry-content h3 + ol { margin-top: 0; }

.entry-content figure {
  margin: 28px 0;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
.entry-content table th,
.entry-content table td {
  padding: 10px 12px;
  border: 1px solid var(--line);
}
.entry-content table th {
  background: #F1F5F9;
  font-weight: 700;
  text-align: left;
}

.entry-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.entry-content a:hover { color: var(--primary-dark); }

/* ===== Single product gallery slider ===== */
.vts-product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vts-gallery-main {
  position: relative;
  background: var(--bg);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.vts-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .15s ease;
}
.vts-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.vts-gallery-thumbs::-webkit-scrollbar { height: 6px; }
.vts-gallery-thumbs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.vts-gallery-thumb-btn {
  flex: 0 0 70px;
  width: 70px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color .15s ease, transform .12s ease;
}
.vts-gallery-thumb-btn:hover { transform: translateY(-1px); }
.vts-gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vts-gallery-thumb-btn.active {
  border-color: var(--primary);
}
@media (max-width: 640px) {
  .vts-gallery-thumb-btn { flex: 0 0 58px; width: 58px; }
}
