/*
Theme Name: Tuấn Huyền Industrial
Theme URI: https://khinentuanhuyen.vn
Author: Tuấn Huyền
Description: Giao diện website thiết bị công nghiệp Tuấn Huyền – khí nén và gas.
Version: 1.0
Text Domain: tuanhuyên
*/

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --primary: #2D1B12;
  --primary-light: #4D2E1F;
  --accent: #C0302A;
  --accent-dark: #9A2420;
  --gold: #C9A843;
  --light: #F8F5F2;
  --white: #FFFFFF;
  --dark: #1A1A1A;
  --gray: #4B5563;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow: 0 2px 12px rgba(0,0,0,0.09);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.28s ease;
  --max-width: 1200px;
  --font: 'Source Sans 3', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

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

.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  padding: 7px 0;
  max-height: 60px;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
  opacity: 1;
}
#site-header.scrolled .top-bar {
  max-height: 0;
  opacity: 0;
  padding: 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-item { display: flex; align-items: center; gap: 5px; }
.top-bar-item svg { width: 13px; height: 13px; fill: var(--gold); flex-shrink: 0; }
.top-bar a { color: rgba(255,255,255,0.82); transition: color var(--transition); }
.top-bar a:hover { color: var(--gold); }
.top-bar-social { display: flex; gap: 10px; }
.top-bar-social a { width: 24px; height: 24px; border-radius: 4px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.top-bar-social a:hover { background: var(--accent); }
.top-bar-social svg { width: 13px; height: 13px; fill: rgba(255,255,255,0.82); }

#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.35s ease;
}
#site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.18); }

.header {
  background: var(--white);
  box-shadow: var(--shadow);
}
.header .container { display: flex; align-items: center; gap: 24px; padding: 10px 20px; transition: padding 0.35s ease; }
#site-header.scrolled .header .container { padding: 6px 20px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 54px; width: auto; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 1.2rem; font-weight: 900; color: var(--primary); letter-spacing: 0.01em; }
.logo-name span { color: var(--accent); }
.logo-sub { font-size: 0.6rem; color: var(--gray); letter-spacing: 0.09em; text-transform: uppercase; margin-top: 2px; }

.header-search { flex: 1; max-width: 500px; }
.search-wrap { display: flex; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color var(--transition); }
.search-wrap:focus-within { border-color: var(--accent); }
.search-wrap input { flex: 1; padding: 10px 16px; border: none; outline: none; font-size: 0.88rem; color: var(--dark); background: transparent; }
.search-wrap input::placeholder { color: #9CA3AF; }
.search-wrap button { background: var(--accent); color: var(--white); padding: 0 18px; font-size: 0.85rem; font-weight: 700; transition: background var(--transition); display: flex; align-items: center; gap: 6px; }
.search-wrap button:hover { background: var(--accent-dark); }
.search-wrap button svg { width: 16px; height: 16px; fill: currentColor; }

.header-contact { text-align: right; flex-shrink: 0; }
.header-contact .lbl { font-size: 0.68rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; }
.header-contact .phone { font-size: 1.15rem; font-weight: 800; color: var(--accent); white-space: nowrap; }
.header-contact .phone svg { display: inline; width: 16px; height: 16px; fill: currentColor; vertical-align: middle; margin-right: 4px; }

.navbar { background: var(--accent); }
.navbar .container { display: flex; align-items: stretch; position: relative; }

.nav-list { display: flex; align-items: stretch; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 14px 18px; color: var(--white);
  font-weight: 700; font-size: 0.88rem; letter-spacing: 0.02em;
  transition: background var(--transition); white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.active {
  background: rgba(0,0,0,0.18); border-bottom-color: var(--gold);
}
.nav-chevron { width: 11px; height: 11px; fill: currentColor; transition: transform var(--transition); opacity: 0.8; }
.nav-item:hover > .nav-link .nav-chevron { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  position: absolute; top: 100%; left: 0;
  width: 700px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(0,0,0,0.16);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 28px 28px 24px;
  display: none; z-index: 100;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  animation: menuFadeIn 0.2s ease;
}
@keyframes menuFadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.nav-item:hover .mega-menu { display: grid; }

.mega-col-head {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  padding-bottom: 10px; border-bottom: 2px solid var(--accent);
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.mega-col-head svg { width: 15px; height: 15px; fill: currentColor; }

.mega-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 5px;
  font-size: 0.855rem; color: var(--dark);
  transition: all var(--transition); cursor: pointer;
}
.mega-item:hover { background: var(--light); color: var(--accent); padding-left: 15px; }
.mega-item::before { content: '›'; color: var(--accent); font-size: 1.1rem; line-height: 1; }

.mega-sub-items { margin: 2px 0 6px 28px; }
.mega-sub-item { display: block; padding: 4px 8px; font-size: 0.8rem; color: var(--gray); border-radius: 4px; transition: all var(--transition); }
.mega-sub-item:hover { color: var(--accent); background: rgba(192,48,42,0.05); }

.mega-cta {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  grid-column: 1 / -1;
}
.mega-cta-text { font-size: 0.82rem; color: var(--gray); }
.mega-cta-link { font-size: 0.82rem; font-weight: 700; color: var(--accent); display: flex; align-items: center; gap: 4px; }
.mega-cta-link svg { width: 14px; height: 14px; fill: currentColor; }
.mega-cta-link:hover { text-decoration: underline; }

/* Mobile toggle */
.nav-toggle { display: none; color: var(--white); padding: 14px 16px; }
.nav-toggle svg { width: 22px; height: 22px; fill: currentColor; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius);
  font-weight: 700; font-size: 0.9rem;
  transition: all var(--transition); letter-spacing: 0.02em; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; fill: currentColor; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,48,42,0.38); }
.btn-outline { border: 2px solid rgba(255,255,255,0.7); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white { background: var(--white); color: var(--accent); }
.btn-white:hover { background: var(--gold); color: var(--primary); box-shadow: 0 4px 16px rgba(201,168,67,0.4); }
.btn-ghost { border: 2px solid rgba(255,255,255,0.5); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-gold { background: var(--gold); color: var(--primary); }
.btn-gold:hover { background: #b8952e; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

.hero { position: relative; overflow: hidden; background: var(--primary); min-height: 520px; }
.hero-slider-track { display: flex; transition: transform 0.65s cubic-bezier(0.4,0,0.2,1); }
.hero-slide {
  min-width: 100%; display: grid;
  grid-template-columns: 1fr 480px;
  align-items: center; gap: 40px; padding: 0;
}
.hero-content { color: var(--white); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(201,168,67,0.18); border: 1px solid rgba(201,168,67,0.4);
  color: var(--gold); font-size: 0.72rem; font-weight: 700;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 18px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-badge svg { width: 12px; height: 12px; fill: currentColor; }
.hero-title { font-size: 2.6rem; font-weight: 900; line-height: 1.18; margin-bottom: 16px; }
.hero-title .hl { color: var(--gold); }
.hero-desc { font-size: 0.97rem; color: rgba(255,255,255,0.72); margin-bottom: 32px; line-height: 1.75; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { display: flex; justify-content: center; align-items: center; padding-right: 20px; }
.hero-visual svg { width: 100%; max-width: 420px; height: auto; }

.hero-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: all var(--transition); border: none; }
.hero-dot.active { background: var(--white); width: 28px; border-radius: 4px; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  color: var(--white); width: 29px; height: 29px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); z-index: 10;
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero-arrow svg { width: 13px; height: 13px; fill: currentColor; }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

.stats-bar { background: var(--accent); padding: 22px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; color: var(--white); padding: 8px 16px; border-right: 1px solid rgba(255,255,255,0.22); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2.1rem; font-weight: 900; line-height: 1; }
.stat-num span { font-size: 1.3rem; }
.stat-lbl { font-size: 0.78rem; opacity: 0.85; margin-top: 3px; letter-spacing: 0.02em; }

section { padding: 68px 0; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-label { display: inline-block; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.section-title { font-size: 2rem; font-weight: 900; color: var(--primary); margin-bottom: 12px; line-height: 1.25; }
.section-desc { color: var(--gray); max-width: 560px; margin: 0 auto; font-size: 0.94rem; line-height: 1.7; }
.section-line { width: 52px; height: 4px; background: var(--accent); margin: 14px auto 0; border-radius: 2px; }
.view-all { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 0.88rem; margin-top: 36px; transition: gap var(--transition); }
.view-all svg { width: 16px; height: 16px; fill: currentColor; }
.view-all:hover { gap: 10px; }
.section-footer { text-align: center; }

.categories-sec { background: var(--light); }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.cat-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow); transition: all var(--transition);
  position: relative; overflow: hidden; cursor: pointer;
  border: 1px solid var(--border);
}
.cat-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(192,48,42,0.2); }
.cat-card:hover::after { transform: scaleX(1); }

.cat-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.cat-icon { width: 62px; height: 62px; background: rgba(192,48,42,0.08); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-icon svg { width: 34px; height: 34px; fill: var(--accent); }
.cat-title { font-size: 1.08rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; line-height: 1.3; }
.cat-count { font-size: 0.75rem; color: var(--gray); }

.sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.sub-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 14px 8px;
  border-radius: 10px; border: 1.5px solid var(--border);
  transition: all var(--transition); cursor: pointer; gap: 7px;
}
.sub-item:hover { border-color: var(--accent); background: rgba(192,48,42,0.04); transform: translateY(-2px); }
.sub-item svg { width: 28px; height: 28px; fill: var(--accent); }
.sub-item span { font-size: 0.73rem; color: var(--dark); font-weight: 600; line-height: 1.3; }

.cat-brands { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.brand-chip {
  background: var(--light); border: 1px solid var(--border);
  font-size: 0.73rem; font-weight: 700; padding: 4px 11px;
  border-radius: 20px; color: var(--gray); letter-spacing: 0.04em;
  transition: all var(--transition);
}
.brand-chip:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.cat-footer-link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-weight: 700; font-size: 0.84rem; transition: gap var(--transition); }
.cat-footer-link:hover { gap: 10px; }
.cat-footer-link svg { width: 15px; height: 15px; fill: currentColor; }

.products-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 38px; flex-wrap: wrap; }
.tab-btn { padding: 9px 22px; border-radius: 24px; font-size: 0.87rem; font-weight: 700; color: var(--gray); border: 2px solid var(--border); transition: all var(--transition); }
.tab-btn.active, .tab-btn:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: all var(--transition); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(192,48,42,0.25); }

.product-img-wrap {
  width: 100%; aspect-ratio: 1 / 1; background: var(--light);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; position: relative; overflow: hidden;
}
.product-img-wrap svg { width: 90px; height: 90px; fill: var(--accent); opacity: 0.55; transition: all var(--transition); }
.product-card:hover .product-img-wrap svg { opacity: 0.85; transform: scale(1.08); }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: var(--white); font-size: 0.68rem; font-weight: 800; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.product-badge.badge-new { background: #16A34A; }
.product-badge.badge-hot { background: var(--accent); }

.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-brand { font-size: 0.68rem; font-weight: 800; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 5px; }
.product-name { font-size: 0.9rem; font-weight: 700; color: var(--primary); margin-bottom: 7px; line-height: 1.45; flex: 1; }
.product-desc { font-size: 0.78rem; color: var(--gray); margin-bottom: 12px; line-height: 1.55; }
.product-price { font-size: 0.82rem; color: var(--accent); font-weight: 700; margin-bottom: 14px; }

.product-actions { display: flex; gap: 8px; }
.btn-quote { flex: 1; padding: 9px 8px; background: var(--accent); color: var(--white); border-radius: var(--radius); font-size: 0.8rem; font-weight: 700; text-align: center; transition: all var(--transition); display: flex; align-items: center; justify-content: center; gap: 5px; }
.btn-quote:hover { background: var(--accent-dark); }
.btn-quote svg { width: 14px; height: 14px; fill: currentColor; }
.btn-detail { padding: 9px 12px; border: 2px solid var(--border); border-radius: var(--radius); color: var(--gray); font-size: 0.8rem; font-weight: 700; transition: all var(--transition); display: flex; align-items: center; justify-content: center; }
.btn-detail:hover { border-color: var(--accent); color: var(--accent); }
.btn-detail svg { width: 14px; height: 14px; fill: currentColor; }

.product-panel { display: none; }
.product-panel.active { display: grid; }

.brands-sec { background: var(--light); }
.brands-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: start; }
.brands-caption { text-align: center; font-size: 0.82rem; color: var(--gray); margin-top: 20px; letter-spacing: 0.03em; min-height: 1.2em; }
.brand-card {
  background: var(--white); border-radius: var(--radius); padding: 18px 12px;
  text-align: center; border: 1.5px solid var(--border);
  transition: all var(--transition);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.brand-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.brand-name-text { font-size: 1.08rem; font-weight: 900; color: var(--primary); letter-spacing: 0.06em; }
.brand-origin { font-size: 0.65rem; color: var(--gray); letter-spacing: 0.04em; }
.brand-logo-img { width: 100%; height: 56px; object-fit: contain; display: block; }

/* ── Partner ticker (about page) ── */
.partners-section { margin-top: 64px; }
.partners-intro { max-width: 680px; margin: 0 auto 48px; text-align: center; font-size: 0.95rem; color: var(--gray); line-height: 1.85; }
.partners-ticker { overflow: hidden; position: relative; padding: 8px 0; }
.partners-ticker::before,
.partners-ticker::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.partners-ticker::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.partners-ticker::after  { right: 0; background: linear-gradient(to left,  var(--white), transparent); }
.partners-track { display: flex; gap: 24px; width: max-content; animation: partners-scroll 28s linear infinite; }
.partners-track:hover { animation-play-state: paused; }
.partner-logo { flex-shrink: 0; width: 180px; height: 90px; background: var(--light); border: 1.5px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 8px 10px; transition: border-color var(--transition), box-shadow var(--transition); }
.partner-logo:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
@keyframes partners-scroll { to { transform: translateX(-50%); } }

.why-sec { background: #ffffff; border-top: 1px solid #ede8e3; }
.why-sec .section-label { color: var(--accent); }
.why-sec .section-line { background: var(--accent); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; overflow: hidden; }
.why-card { padding: 36px 28px; text-align: center; background: var(--white); border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition); min-width: 0; }
.why-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.why-icon { width: 68px; height: 68px; background: rgba(201,168,67,0.10); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; transition: background var(--transition); }
.why-card:hover .why-icon { background: rgba(192,48,42,0.10); }
.why-icon svg { width: 32px; height: 32px; fill: var(--gold); transition: fill var(--transition); }
.why-card:hover .why-icon svg { fill: var(--accent); }
.why-title { font-size: 1.05rem; font-weight: 800; color: var(--primary); margin-bottom: 10px; letter-spacing: -0.01em; }
.why-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.7; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: all var(--transition); display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-thumb { height: 185px; background: var(--light); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.news-thumb svg { width: 70px; height: 70px; fill: var(--accent); opacity: 0.2; }
.news-thumb-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #f0ebe6, #e8ddd5); }
.news-cat-badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--white); font-size: 0.68rem; font-weight: 800; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.04em; }
.news-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.news-date { font-size: 0.75rem; color: var(--gray); display: flex; align-items: center; gap: 4px; }
.news-date svg { width: 12px; height: 12px; fill: currentColor; }
.news-title { font-size: 0.95rem; font-weight: 800; color: var(--primary); margin-bottom: 9px; line-height: 1.5; flex: 1; transition: color var(--transition); }
.news-title:hover { color: var(--accent); }
.news-excerpt { font-size: 0.8rem; color: var(--gray); line-height: 1.65; margin-bottom: 14px; }
.news-read-more { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 0.8rem; font-weight: 700; transition: gap var(--transition); }
.news-read-more:hover { gap: 9px; }
.news-read-more svg { width: 14px; height: 14px; fill: currentColor; }

.cta-banner { background: linear-gradient(135deg, var(--accent) 0%, #8B1A15 100%); padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-content .cta-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.cta-content h2 { font-size: 2rem; font-weight: 900; color: var(--white); margin-bottom: 10px; line-height: 1.2; }
.cta-content p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

.footer { background: var(--primary); color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.6fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }

.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { height: 46px; object-fit: contain; }
.footer-logo-text .fn { font-size: 1.1rem; font-weight: 900; color: var(--white); }
.footer-logo-text .fn span { color: var(--gold); }
.footer-logo-text .fs { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 2px; }
.footer-desc { font-size: 0.84rem; line-height: 1.75; color: rgba(255,255,255,0.6); margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.social-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.social-icon:hover { background: var(--accent); transform: translateY(-2px); }
.social-icon svg { width: 17px; height: 17px; fill: rgba(255,255,255,0.8); }

.footer-col-title { font-size: 0.82rem; font-weight: 800; color: var(--white); letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.footer-col-title::after { content: ''; flex: 1; height: 2px; background: var(--accent); border-radius: 1px; }

.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 0.84rem; color: rgba(255,255,255,0.6); transition: all var(--transition); display: flex; align-items: center; gap: 7px; }
.footer-links a::before { content: '›'; color: var(--accent); }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact-icon { width: 32px; height: 32px; background: rgba(192,48,42,0.25); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.footer-contact-icon svg { width: 15px; height: 15px; fill: var(--gold); }
.footer-contact-label { font-size: 0.7rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.footer-contact-value { font-size: 0.85rem; color: rgba(255,255,255,0.8); font-weight: 600; }

.footer-bottom { padding: 16px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.38); }
.footer-bottom a { color: rgba(255,255,255,0.38); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

.float-contact { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 900; }
.float-btn {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25); transition: all var(--transition);
  position: relative; text-decoration: none;
}
.float-btn:hover { transform: scale(1.12); }
.float-btn svg { width: 23px; height: 23px; fill: var(--white); }
.float-zalo { background: #0068ff; }
.float-phone { background: var(--accent); animation: ring 2.5s ease infinite; }
@keyframes ring {
  0%, 85%, 100% { box-shadow: 0 4px 16px rgba(192,48,42,0.4); }
  90% { box-shadow: 0 0 0 8px rgba(192,48,42,0.2), 0 4px 16px rgba(192,48,42,0.4); }
}
.float-fb { background: #1877F2; }
.float-tooltip {
  position: absolute; right: 58px;
  background: var(--dark); color: var(--white);
  font-size: 0.75rem; font-weight: 600; padding: 5px 10px;
  border-radius: 5px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.float-tooltip::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-right: none; border-left-color: var(--dark); }
.float-btn:hover .float-tooltip { opacity: 1; }

.back-top {
  position: fixed; bottom: 24px; right: 20px;
  width: 42px; height: 42px; background: var(--accent); color: var(--white);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: all var(--transition); z-index: 900;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--accent-dark); transform: translateY(-3px); }
.back-top svg { width: 18px; height: 18px; fill: currentColor; }

.page-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); padding: 48px 0; }
.page-hero-inner { display: flex; justify-content: space-between; align-items: flex-end; }
.page-hero h1 { font-size: 1.9rem; font-weight: 900; color: var(--white); margin-bottom: 8px; }
.breadcrumb { display: flex; gap: 7px; align-items: center; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

.product-page-wrap { padding: 48px 0; }
.product-page-layout { display: grid; grid-template-columns: 268px 1fr; gap: 32px; align-items: start; }

.sidebar { position: sticky; top: 130px; }
.sidebar-block { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: 18px; overflow: hidden; border: 1px solid var(--border); }
.sidebar-head { background: var(--primary); color: var(--white); padding: 13px 18px; font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; display: flex; align-items: center; gap: 8px; }
.sidebar-head svg { width: 14px; height: 14px; fill: var(--gold); }
.sidebar-body { padding: 8px 0; }
.sidebar-link { display: flex; align-items: center; justify-content: space-between; padding: 9px 18px; font-size: 0.86rem; color: var(--dark); transition: all var(--transition); border-left: 3px solid transparent; }
.sidebar-link:hover, .sidebar-link.active { background: var(--light); color: var(--accent); border-left-color: var(--accent); padding-left: 22px; }
.sidebar-link .count { font-size: 0.72rem; background: var(--light); border-radius: 10px; padding: 1px 7px; color: var(--gray); }
.sidebar-sub { padding-left: 14px; border-left: 2px solid var(--border); margin: 0 18px 6px; }
.sidebar-sub a { display: block; padding: 5px 6px; font-size: 0.8rem; color: var(--gray); border-radius: 4px; transition: color var(--transition); }
.sidebar-sub a:hover { color: var(--accent); }

.product-listing-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.listing-title { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.listing-count { font-size: 0.82rem; color: var(--gray); margin-top: 2px; }
.listing-controls { display: flex; align-items: center; gap: 12px; }
.filter-select { padding: 8px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.84rem; font-family: var(--font); color: var(--dark); background: var(--white); cursor: pointer; transition: border-color var(--transition); }
.filter-select:focus { outline: none; border-color: var(--accent); }

.products-listing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.about-section { padding: 68px 0; }
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 0; }
.about-visual { background: linear-gradient(135deg, var(--light) 0%, #f0e8e0 100%); border-radius: 20px; height: 400px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.about-content h2 { font-size: 2.1rem; font-weight: 900; color: var(--primary); line-height: 1.25; margin-bottom: 16px; }
.about-content p { font-size: 0.94rem; color: var(--gray); line-height: 1.8; margin-bottom: 14px; }
.about-title { font-size: 2.1rem; font-weight: 900; color: var(--primary); line-height: 1.25; margin-bottom: 16px; text-wrap: balance; }
.about-desc { font-size: 0.94rem; color: var(--gray); line-height: 1.8; margin-bottom: 14px; text-align: justify; }

/* ── About stats strip ── */
.about-stats-strip { padding: 52px 0 72px; margin-bottom: 80px; }
.about-stats-divider { height: 1px; background: var(--border); margin-bottom: 52px; }
.about-stats-row { display: flex; justify-content: space-around; align-items: flex-start; }
.about-stat { flex: 1; text-align: center; padding: 0 24px; border-right: 1px solid var(--border); }
.about-stat:last-child { border-right: none; }
.about-stat-num { display: block; font-size: 4.5rem; font-weight: 900; line-height: 1; letter-spacing: -0.03em; background: linear-gradient(135deg, #E8C84A 0%, #C9A843 40%, #A8832A 70%, #C9A843 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-stat-label { display: block; font-size: 0.82rem; color: var(--primary); margin-top: 14px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }

/* ── Core values alternating layout ── */
.core-values { margin-bottom: 80px; }
.cv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--border); }
.cv-row:last-child { border-bottom: none; padding-bottom: 0; }
.cv-row--flip .cv-text { order: 2; }
.cv-row--flip .cv-visual { order: 1; }
.cv-index { display: block; font-size: 5.5rem; font-weight: 900; color: var(--light); line-height: 1; margin-bottom: -12px; letter-spacing: -0.03em; }
.cv-title { font-size: 2.4rem; font-weight: 900; color: var(--primary); letter-spacing: 0.06em; margin-bottom: 20px; text-transform: uppercase; }
.cv-body { font-size: 0.94rem; color: var(--gray); line-height: 1.95; margin-bottom: 28px; text-align: justify; }
.cv-highlight { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 700; color: var(--primary); border-left: 3px solid var(--gold); padding-left: 14px; }
.cv-highlight svg { width: 18px; height: 18px; fill: var(--gold); flex-shrink: 0; }
.cv-visual { overflow: hidden; border-radius: var(--radius-lg); }
.cv-visual img { width: 100%; height: 400px; object-fit: cover; display: block; transition: transform 0.7s ease; }
.cv-visual:hover img { transform: scale(1.04); }

.news-page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 36px; padding: 48px 0; }
.news-list { display: flex; flex-direction: column; gap: 28px; }
.news-list-item {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  display: grid; grid-template-columns: 240px 1fr;
  transition: all var(--transition);
}
.news-list-item:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.news-list-thumb { background: var(--light); display: flex; align-items: center; justify-content: center; min-height: 160px; }
.news-list-thumb svg { width: 60px; height: 60px; fill: var(--accent); opacity: 0.2; }
.news-list-body { padding: 22px 26px; display: flex; flex-direction: column; justify-content: center; }
.news-list-title { font-size: 1.05rem; font-weight: 800; color: var(--primary); margin-bottom: 10px; line-height: 1.45; }
.news-list-excerpt { font-size: 0.84rem; color: var(--gray); line-height: 1.7; margin-bottom: 14px; }

.news-sidebar { display: flex; flex-direction: column; gap: 24px; }
.news-sidebar-block { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; }
.news-sidebar-title { background: var(--primary); color: var(--white); padding: 12px 18px; font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.news-sidebar-body { padding: 14px; }
.recent-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.recent-item:last-child { border-bottom: none; }
.recent-thumb { width: 56px; height: 56px; border-radius: 6px; background: var(--light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.recent-title { font-size: 0.8rem; font-weight: 700; color: var(--primary); line-height: 1.4; margin-bottom: 3px; }
.recent-date { font-size: 0.72rem; color: var(--gray); }

.contact-page { padding: 68px 0; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 52px; }

.contact-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-form-title { font-size: 1.5rem; font-weight: 900; color: var(--primary); margin-bottom: 8px; }
.contact-form-sub { font-size: 0.88rem; color: var(--gray); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.84rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.form-label .req { color: var(--accent); }
.form-control {
  width: 100%; padding: 11px 14px;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 0.88rem; font-family: var(--font); color: var(--dark);
  background: var(--white); transition: border-color var(--transition); outline: none;
}
.form-control:focus { border-color: var(--accent); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-submit { width: 100%; padding: 14px; background: var(--accent); color: var(--white); border-radius: var(--radius); font-size: 0.95rem; font-weight: 800; letter-spacing: 0.02em; transition: all var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-submit:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,48,42,0.35); }
.form-submit svg { width: 18px; height: 18px; fill: currentColor; }

.contact-info-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon { width: 46px; height: 46px; background: rgba(192,48,42,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-icon svg { width: 22px; height: 22px; fill: var(--accent); }
.ci-label { font-size: 0.72rem; font-weight: 800; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.ci-value { font-size: 0.9rem; font-weight: 600; color: var(--primary); line-height: 1.5; }
.ci-value a { color: var(--accent); }


/* ── Desktop (≤1100px) ── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-slide { grid-template-columns: 1fr 380px; }
}

/* ── Tablet ngang (≤900px) ── */
@media (max-width: 900px) {
  /* Header: ẩn Zalo, giữ Hotline */
  .header-contact:last-of-type { display: none; }
  .logo img { height: 46px; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .cv-row { grid-template-columns: 1fr; gap: 36px; padding: 52px 0; }
  .cv-row--flip .cv-text { order: 0; }
  .cv-row--flip .cv-visual { order: 1; }
  .cv-index { font-size: 4rem; }
  .cv-title { font-size: 1.9rem; }
  .cv-visual img { height: 300px; }
  .product-page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .products-listing { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .news-page-layout { grid-template-columns: 1fr; }
  .news-sidebar { display: none; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
}

/* ── Tablet dọc & mobile lớn (≤768px) ── */
@media (max-width: 768px) {
  .header .container {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 10px 16px;
  }
  .logo { flex: 1 1 auto; min-width: 0; }
  .logo img { height: 40px; }
  .logo-name { font-size: 1rem; }
  .header-contact { display: none; }
  .header-search {
    order: 10;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    display: block;
  }

  .top-bar .top-bar-left { display: none; }

  /* Nav mobile */
  .nav-toggle { display: flex; align-items: center; margin-left: auto; }
  .nav-list {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--primary); padding: 8px 0;
    box-shadow: 0 10px 32px rgba(0,0,0,0.25); z-index: 100;
    max-height: calc(100vh - 130px); overflow-y: auto;
  }
  .nav-list.is-open { display: flex; }
  .nav-link { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .mega-menu { position: static; width: 100%; box-shadow: none; border-top: none; border-radius: 0; background: rgba(0,0,0,0.2); animation: none; display: none; grid-template-columns: 1fr; padding: 12px 16px; }
  .nav-item:hover .mega-menu { display: none; }
  .nav-item.menu-open .mega-menu { display: grid; }
  .nav-item.menu-open > .nav-link { background: rgba(0,0,0,0.2); }
  .mega-item { color: rgba(255,255,255,0.85); }
  .mega-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
  .mega-sub-item { color: rgba(255,255,255,0.55); }
  .mega-sub-item:hover { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.06); }
  .mega-cta { display: none; }

  /* Section & spacing */
  section { padding: 44px 0; }
  .section-title { font-size: 1.65rem; }
  .section-head { margin-bottom: 36px; }

  /* Page hero */
  .page-hero { padding: 32px 0; }
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero-inner { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Hero slider */
  .hero { min-height: auto; }
  .hero-slide { grid-template-columns: 1fr; padding: 44px 0; }
  .hero-visual { display: none; }
  .hero-title { font-size: 2rem; }

  /* CTA banner */
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .cta-content h2 { font-size: 1.6rem; }

  /* Grids */
  .cat-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* News page */
  .news-page-layout { padding: 28px 0; }
  .news-list-item { grid-template-columns: 1fr; }
  .news-list-thumb { display: none; }

  /* About */
  .about-section { padding: 44px 0; }
  .about-intro-grid { margin-bottom: 0; }
  .about-stats-strip { padding: 40px 0 56px; margin-bottom: 48px; }
  .about-stats-divider { margin-bottom: 36px; }
  .about-stat-num { font-size: 3.2rem; }
  .about-stat { padding: 0 12px; }

  /* Contact */
  .contact-page { padding: 40px 0; }
  .contact-form-wrap { padding: 28px 24px; }
}

/* ── Mobile (≤520px — iPhone) ── */
@media (max-width: 520px) {
  /* Grids */
  .products-grid, .products-listing { grid-template-columns: 1fr; }
  .brands-sec { overflow: hidden; }
  .brands-ticker-wrap { position: relative; overflow: hidden; margin: 0 -20px; padding: 6px 0; }
  .brands-ticker-wrap::before,
  .brands-ticker-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 48px; z-index: 2; pointer-events: none; }
  .brands-ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--light), transparent); }
  .brands-ticker-wrap::after  { right: 0; background: linear-gradient(to left,  var(--light), transparent); }
  .brands-grid { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; }
  .brands-grid::-webkit-scrollbar { display: none; }
  .brands-grid.is-ticker { overflow-x: visible; width: max-content; animation: brand-ticker 20s linear infinite; }
  .brand-card { width: 132px; flex-shrink: 0; flex-grow: 0; padding: 10px 14px; gap: 5px; overflow: hidden; }
  .brand-logo-img { width: 100%; height: 38px; object-fit: contain; }
  .brand-origin { font-size: 0.62rem; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 24px 20px; }
  .sub-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cv-title { font-size: 1.6rem; }
  .cv-index { font-size: 3.2rem; }
  .cv-visual img { height: 240px; }
  .about-stats-row { flex-direction: column; gap: 32px; align-items: stretch; }
  .about-stat { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 32px; text-align: center; }
  .about-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .about-stat-num { font-size: 2.8rem; }
  .about-title { font-size: 1.6rem; }
  .about-desc { font-size: 0.88rem; text-wrap: pretty; }

  /* Section & spacing */
  section { padding: 36px 0; }
  .section-title { font-size: 1.45rem; }
  .section-head { margin-bottom: 28px; }

  /* Page hero */
  .page-hero { padding: 24px 0; }
  .page-hero h1 { font-size: 1.3rem; }

  /* Hero */
  .hero-title { font-size: 1.7rem; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { padding: 10px 18px; font-size: 0.84rem; width: 100%; justify-content: center; }

  /* Contact */
  .contact-form-wrap { padding: 20px 16px; }

  /* Header */
  .logo img { height: 34px; }
  .logo-name { font-size: 0.9rem; }
  .search-wrap input { padding: 8px 10px; font-size: 0.82rem; }
  .search-wrap button { padding: 0 10px; }

  /* Float contact */
  .float-contact { right: 10px; }
  .float-btn { width: 44px; height: 44px; }
  .float-btn svg { width: 20px; height: 20px; }
}

@keyframes brand-ticker { to { transform: translateX(-50%); } }


.pd-page { padding: 52px 0 72px; }

/* ── Top grid: gallery + info ─────────────────────────────── */
.pd-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 60px;
}

/* Gallery */
.pd-gallery { display: flex; flex-direction: column; gap: 12px; }

.pd-main-wrap {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--light);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-main-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.pd-no-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--border);
}
.pd-no-img svg { width: 72px; height: 72px; fill: var(--border); }
.pd-no-img span { font-size: .82rem; color: var(--gray); }

.pd-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pd-thumb {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--light);
  padding: 4px;
  cursor: pointer;
  transition: border-color var(--transition);
}
.pd-thumb:hover,
.pd-thumb.active { border-color: var(--accent); }

/* Info panel */
.pd-info { display: flex; flex-direction: column; gap: 20px; }

.pd-brand-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  color: var(--accent);
  background: rgba(192,48,42,.08);
  padding: 3px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.pd-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.3;
  margin: 0;
}

/* Meta: Model / Xuất xứ */
.pd-meta {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.pd-meta-row {
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  font-size: .88rem;
  border-bottom: 1px solid var(--border);
}
.pd-meta-row:last-child { border-bottom: none; }
.pd-meta-key {
  font-weight: 700;
  color: var(--primary);
  min-width: 90px;
  flex-shrink: 0;
}
.pd-meta-val { color: var(--dark); }

/* Variants */
.pd-variants {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pd-variants-head {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray);
}
.pd-variant-group { display: flex; flex-direction: column; gap: 8px; }
.pd-variant-lbl { font-size: .8rem; font-weight: 700; color: var(--primary); }
.pd-variant-boxes { display: flex; flex-wrap: wrap; gap: 8px; }

.pd-vbox {
  padding: 6px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font);
  font-size: .84rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.pd-vbox:hover { border-color: var(--accent); color: var(--accent); }
.pd-vbox.active { border-color: var(--accent); background: var(--accent); color: var(--white); }

/* Color boxes — slightly larger */
.pd-cbox { padding: 6px 16px; }

/* CTA button */
.pd-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(192,48,42,.3);
  width: fit-content;
}
.pd-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ── Bottom: Description + Specs ──────────────────────────── */
.pd-bottom {
  border-top: 2px solid var(--border);
  padding-top: 40px;
}

.pd-section-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
}

.pd-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}
.pd-tab {
  padding: 12px 28px;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.pd-tab:hover { color: var(--primary); }
.pd-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.pd-panel { display: none; }
.pd-panel.active { display: block; }

/* Description */
.pd-desc-body {
  font-size: .92rem;
  color: var(--dark);
  line-height: 1.85;
  max-width: 780px;
}
.pd-desc-body p { margin-bottom: 1em; }
.pd-desc-body h2, .pd-desc-body h3 { color: var(--primary); font-weight: 800; margin: 1.4em 0 .6em; }
.pd-desc-body ul, .pd-desc-body ol { padding-left: 1.4em; margin-bottom: 1em; }
.pd-desc-body li { margin-bottom: .4em; }
.pd-desc-body img { max-width: 100%; border-radius: var(--radius); }

/* Specs table */
.pd-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  max-width: 720px;
}
.pd-specs-table .tr-even { background: var(--light); }
.pd-specs-table .tr-odd  { background: var(--white); }
.pd-specs-table td { padding: 11px 16px; border: 1px solid var(--border); }
.spec-key {
  font-weight: 700;
  color: var(--primary);
  width: 40%;
  white-space: nowrap;
}
.spec-val { color: var(--dark); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .pd-top { grid-template-columns: 1fr; gap: 32px; }
  .pd-main-wrap { max-width: 480px; }
}
@media (max-width: 520px) {
  .pd-page { padding: 32px 0 52px; }
  .pd-title { font-size: 1.25rem; }
  .pd-cta { width: 100%; justify-content: center; }
  .pd-tab { padding: 10px 16px; font-size: .82rem; }
  .spec-key { white-space: normal; }
}


/* Override the 2-column grid for image slides */
.hero-slide--img {
  display: block;
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
  min-height: 520px;
  position: relative;
}

/* Dark gradient overlay for text readability */
.hero-slide--img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(45,27,18,.88) 0%,
    rgba(45,27,18,.65) 50%,
    rgba(45,27,18,.25) 100%
  );
  pointer-events: none;
}

/* Container sits above overlay */
.hero-slide--img .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding-top: 60px;
  padding-bottom: 60px;
  max-width: 1200px;
}

/* Constrain text width so it doesn't run across the full image */
.hero-slide--img .hero-content {
  max-width: 600px;
}

@media (max-width: 768px) {
  .hero-slide--img { min-height: 400px; }
  .hero-slide--img .container { min-height: 400px; padding: 44px 24px; }
  .hero-slide--img .hero-content { max-width: 100%; }
}

@media (max-width: 520px) {
  .hero-slide--img { min-height: 340px; }
  .hero-slide--img .container { min-height: 340px; }
}
