/* ================================================================
   IN HOÀNG GIA – DESIGN V2
   Minimalist · Modern · Blue-centric
   Loads last — overrides main.css selectively.
   ================================================================ */

/* ── 0. UTM Avo Font (self-hosted, subset tiếng Việt, ~36KB tổng) ── */
@font-face {
  font-family: 'UTM Avo';
  src: url('../fonts/UTM-Avo.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UTM Avo';
  src: url('../fonts/UTM-AvoItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'UTM Avo';
  src: url('../fonts/UTM-AvoBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UTM Avo';
  src: url('../fonts/UTM-AvoBold-Italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ── 1. Variable Overrides ── */
:root {
  --font-main:   'UTM Avo', system-ui, sans-serif;
  --bg:          #f4f7fd;
  --bg-card:     #ffffff;
  --border:      rgba(24, 53, 101, .09);
  --shadow-sm:   0 1px 4px rgba(24,53,101,.06);
  --shadow-md:   0 4px 16px rgba(24,53,101,.09);
  --shadow-lg:   0 8px 32px rgba(24,53,101,.12);
  --radius:      6px;
  --radius-lg:   10px;
}

/* ── 2. Button System ── */

/* Primary: navy, sharp, uppercase */
.btn-primary {
  background: var(--primary);
  border-radius: 4px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 13px 32px;
  gap: 10px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(24,53,101,.22);
}
.btn-primary:hover {
  background: #0e2448;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(24,53,101,.28);
}

/* Outline: crisp navy */
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  border-radius: 4px;
  font-size: 13.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 11px 28px;
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: none; }

/* White outline (on dark bg) */
.btn-outline--white {
  border-color: rgba(255,255,255,.5);
  color: #fff !important;
  background: transparent;
  backdrop-filter: none;
}
.btn-outline--white:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

/* Báo giá nav button */
.btn-baogia {
  background: var(--primary);
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.btn-baogia:hover { background: #0e2448; transform: none; }

/* CTA "arrow" style — used sitewide for secondary actions */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 3px;
  transition: gap .2s, border-color .2s, color .2s;
}
.btn-arrow:hover { gap: 16px; color: var(--gold); border-color: var(--gold); }
.btn-arrow i { font-size: 13px; transition: transform .2s; }
.btn-arrow:hover i { transform: translateX(4px); }

/* ── 3. Section Headings ── */
.section-header { margin-bottom: 48px; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(24,53,101,.07);
  border: 1px solid rgba(24,53,101,.14);
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  flex-shrink: 0;
}
.section-eyebrow--light {
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
}
.section-eyebrow--light::before { background: var(--gold); }

.section-title {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--dark);
}
.section-title--light { color: #fff; }

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Divider accent line under headings */
.section-line {
  width: 40px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.section-line--center { margin: 12px auto 0; }

/* ── 4. Navbar ── */
.nav-list > li > a.nav-top-link:hover,
.nav-list > li.current-menu-item > a.nav-top-link {
  color: var(--primary);
}
.nav-dropdown { border-top-color: var(--primary); border-radius: 4px; }
.nav-dropdown li a:hover { color: var(--primary); background: #f0f4fc; padding-left: 26px; }
.header-action-btn:hover { background: #f0f4fc; color: var(--primary); }
.cart-count { background: var(--primary); }
.topbar-item--phone { color: var(--gold); font-weight: 700; }
.topbar-item--phone:hover { color: #fff; }

/* ── 4b. Hero: full-bleed machine image + text on left ── */
.homepage1__slide {
  min-height: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Text container: centered */
.homepage1__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.homepage1__inner--split { display: flex; grid-template-columns: none; }
.homepage1__content {
  max-width: 680px;
  margin: 0 auto;
}
.homepage1__ctas { justify-content: center; }

@media (max-width: 960px) {
  .homepage1__slide { min-height: 360px; }
  .homepage1__inner { padding: 72px 0; }
}

/* ── 5. Trust Bar ── */
.homepage1__trustbar {
  background: var(--primary);
  border-bottom: none;
  box-shadow: none;
}
.homepage1__trustitems { justify-content: center; }
.homepage1__trustitem {
  color: rgba(255,255,255,.88);
  border-right-color: rgba(255,255,255,.12);
  padding: 18px 28px;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.homepage1__trustitem:hover { background: rgba(255,255,255,.06); }
.homepage1__trustitem:last-child { border-right: none; }
.homepage1__trustitem i {
  width: 34px; height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,.12);
  font-size: 15px;
  color: var(--gold);
  border: 1px solid rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* ── 6. Stats Section (homepage2) ── */
.homepage2__section {
  background: #f4f7fd;
  position: relative;
  overflow: visible;
}
.homepage2__section::before,
.homepage2__section::after { display: none; }
.homepage2__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: rgba(24,53,101,.08);
  border: 1px solid rgba(24,53,101,.08);
  border-radius: 8px;
  overflow: hidden;
}
.homepage2__item {
  text-align: center;
  color: var(--dark);
  padding: 48px 20px;
  border-right: none;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: background .2s;
}
.homepage2__item::before {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.homepage2__item:hover { background: #fafcff; }
.homepage2__item:hover::before { transform: scaleX(1); }
.homepage2__item:last-child { border-right: none; }
.homepage2__icon {
  width: 52px; height: 52px; border-radius: 8px;
  background: rgba(24,53,101,.07);
  border: 1px solid rgba(24,53,101,.1);
  color: var(--primary);
  font-size: 20px;
  margin: 0 auto 16px;
  transition: background .2s, color .2s;
}
.homepage2__item:hover .homepage2__icon {
  background: var(--primary);
  color: #fff;
  transform: none;
}
.homepage2__num {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -.03em;
}
.homepage2__plus {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
}
.homepage2__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: .02em;
}

/* ── 7. About Section (homepage3) ── */
.homepage3__section { padding: 88px 0; background: #f4f7fd; }
.homepage3__imgMain { border-radius: 6px; }
.homepage3__imgMain img { height: 440px; border-radius: 6px; }
.homepage3__imgSub { border-radius: 6px; border-width: 4px; }
.homepage3__yearbadge {
  background: var(--primary);
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(24,53,101,.25);
}
.homepage3__yearbadge-num { font-size: 2rem; }
.homepage3__feature-icon {
  width: 40px; height: 40px;
  border-radius: 6px;
  background: var(--primary);
  font-size: 16px;
}
.homepage3__feature-body h4 { font-size: 13.5px; }
.homepage3__feature-body p  { font-size: 13px; }
/* About CTA */
.homepage3__content > .btn-primary {
  margin-top: 4px;
}

/* ── 8. Video / Stats Section (homepage4) ── */
.homepage4__section {
  background: var(--primary);
  padding: 88px 0;
}
.homepage4__bg-overlay {
  background: rgba(10,24,52,.6);
}
.homepage4__video-wrap { border-radius: 6px; }
.homepage4__play-btn {
  width: 72px; height: 72px;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 0 0 10px rgba(255,255,255,.15);
}
.homepage4__play-btn:hover {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 0 0 14px rgba(255,255,255,.12);
  transform: scale(1.05);
}
.homepage4__stat-num { color: var(--gold); }
.homepage4__stat-label { font-size: 12.5px; }

/* ── 9. Product Categories (homepage5) ── */
.homepage5__section { padding: 88px 0; background: #fff; }
.homepage5__grid { gap: 16px; }
.homepage5__catcard { border-radius: 6px; box-shadow: none; border: 1px solid rgba(24,53,101,.08); }
.homepage5__catcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.homepage5__catcard-overlay {
  background: linear-gradient(to top, rgba(10,24,52,.75) 0%, rgba(10,24,52,.1) 55%, transparent 100%);
}
.homepage5__catcard-name { font-size: 14px; font-weight: 700; }
.homepage5__catcard-count { font-size: 11.5px; }

/* ── 9b. Portfolio Load More button ── */
.homepage6__loadmore-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.homepage6__loadmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 36px;
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.homepage6__loadmore:hover { background: var(--primary); color: #fff; }
.homepage6__loadmore i { transition: transform .2s; }
.homepage6__loadmore:hover i { transform: translateY(2px); }

/* ── 10. Portfolio (homepage6) ── */
.homepage6__section { padding: 88px 0; background: #f4f7fd; }
.homepage6__tab {
  border-radius: 3px;
  font-size: 13px;
  letter-spacing: .03em;
  border-color: rgba(24,53,101,.15);
  background: #fff;
  transition: .15s;
}
.homepage6__tab:hover,
.homepage6__tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.homepage6__grid { gap: 12px; }
.homepage6__item { border-radius: 4px; }
.homepage6__item-overlay { background: rgba(10,24,52,.7); }

/* ── 11. Process Steps (homepage7) ── */
.homepage7__section { padding: 88px 0; background: #fff; }
.homepage7__steps::before {
  background: rgba(24,53,101,.15);
  height: 1px;
  top: 48px;
}
.homepage7__step-badge {
  width: 64px; height: 64px;
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(24,53,101,.12);
}
.homepage7__step:hover .homepage7__step-badge {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(24,53,101,.22);
}
.homepage7__step-badge .homepage7__step-num {
  background: var(--primary);
  font-size: 9px;
  width: 22px; height: 22px;
  border-color: #fff;
  border-width: 2px;
}
.homepage7__step:hover .homepage7__step-badge .homepage7__step-num {
  background: var(--gold);
}
.homepage7__step-title { font-size: 13.5px; margin-bottom: 6px; }
.homepage7__step-desc  { font-size: 12.5px; }

/* ── 12. Testimonials (homepage8) ── */
.homepage8__section {
  padding: 88px 0;
  background: #f4f7fd;
}
.homepage8__card {
  border-radius: 6px;
  border: 1px solid rgba(24,53,101,.08);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  gap: 14px;
}
.homepage8__card:hover { box-shadow: var(--shadow-md); }
.homepage8__stars { color: var(--gold); font-size: 13px; }
.homepage8__content {
  font-size: 14.5px;
  color: #3a4558;
  font-style: normal;
  line-height: 1.7;
}
.homepage8__avatar {
  background: var(--primary);
  border-radius: 6px;
  width: 46px; height: 46px;
  font-size: 22px;
}
.homepage8__author-info strong { font-size: 13.5px; color: var(--dark); }
.homepage8__author-info span   { font-size: 12px; color: var(--text-muted); }
.homepage8__pagination .swiper-pagination-bullet-active { background: var(--primary); }

/* ── 13. Partners (homepage9) ── */
.homepage9__section { padding: 64px 0; background: #fff; }
.homepage9__partner-item {
  border-radius: 4px;
  border-color: rgba(24,53,101,.08);
  background: #fafbfe;
  transition: border-color .2s, box-shadow .2s;
}
.homepage9__partner-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(24,53,101,.08);
  background: #fff;
}
.homepage9__machine-item {
  background: rgba(24,53,101,.05);
  border-color: rgba(24,53,101,.12);
  border-radius: 3px;
}

/* ── 14. FAQ (homepage10) ── */
.homepage10__section { padding: 88px 0; background: #f4f7fd; }
.homepage10__faq-item {
  border-radius: 4px;
  border-color: rgba(24,53,101,.1);
  box-shadow: none;
  transition: box-shadow .2s, border-color .2s;
}
.homepage10__faq-item.active,
.homepage10__faq-item:focus-within {
  box-shadow: 0 2px 12px rgba(24,53,101,.08);
  border-color: var(--primary);
}
.homepage10__faq-q {
  font-size: 14.5px;
  font-weight: 600;
  padding: 17px 20px;
}
.homepage10__faq-q i { color: var(--primary); }
.homepage10__faq-a { padding: 0 20px 16px; }
.homepage10__faq-a p { font-size: 14px; }

/* ── 15. Blog Cards on Homepage ── */
.homepage-blog { padding: 88px 0; background: #fff; }
.homepage-blog__card {
  border-radius: 6px;
  border-color: rgba(24,53,101,.08);
  box-shadow: none;
  transition: transform .25s, box-shadow .25s;
}
.homepage-blog__card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.homepage-blog__card-meta i { color: var(--primary); }
.homepage-blog__card-title a:hover { color: var(--primary); }
.homepage-blog__card-more { color: var(--primary); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.homepage-blog__card-more:hover { color: var(--primary); gap: 10px; }

/* ── 16. Hero Slider ── */
.homepage1__slide--1 {
  background: linear-gradient(135deg, #020c1e 0%, #0c2252 50%, #1a4285 100%);
}
.homepage1__slide--2 {
  background: linear-gradient(135deg, #040e22 0%, #0e2245 50%, #163870 100%);
}
/* Remove orange glow orb */
.homepage1__slide::after { display: none; }

/* Eyebrow in hero */
.homepage1__eyebrow {
  color: var(--gold);
  background: rgba(200,155,57,.12);
  border-color: rgba(200,155,57,.3);
}
/* Highlight word in title */
.homepage1__title span { color: var(--gold); }

/* Swiper nav */
.hp-hero-prev:hover, .hp-hero-next:hover {
  background: rgba(200,155,57,.85) !important;
  border-color: var(--gold) !important;
}
.hp-hero-pagination .swiper-pagination-bullet-active {
  background: var(--gold);
}

/* ── 17. NEW CTA Sections ── */

/* Full-width split CTA bar */
.hg-cta-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background: var(--primary);
  padding: 48px 60px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.hg-cta-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hg-cta-bar::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(200,155,57,.12);
  pointer-events: none;
}
.hg-cta-bar__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.hg-cta-bar__title {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 6px;
}
.hg-cta-bar__desc {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin: 0;
}
.hg-cta-bar__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.hg-cta-bar__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.hg-cta-bar__btn-primary:hover { background: #b8890f; color: #fff !important; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.hg-cta-bar__btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.85) !important;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.hg-cta-bar__btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff !important; }

@media (max-width: 780px) {
  .hg-cta-bar { grid-template-columns: 1fr; padding: 36px 28px; }
  .hg-cta-bar__actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}

/* Inline CTA strip (section-footer style) */
.section-footer-cta {
  text-align: center;
  margin-top: 40px;
}
.section-footer-cta .btn-primary { font-size: 13px; padding: 13px 36px; }

/* ── 18. Contact page location card icons ── */
.lienhe1__loccard-icon {
  background: var(--primary);
  border-radius: 6px;
}
.lienhe1__loccard:hover { border-top-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.lienhe1__loccard--hq { border-top-color: var(--gold); }

/* ── 19. Blog archive ── */
.blog2__badge { background: var(--primary); border-radius: 3px; font-size: 10.5px; }
.blog2__card { border-radius: 6px; border-color: rgba(24,53,101,.08); }
.blog2__card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog2__cardTitle a:hover { color: var(--primary); }
.blog2__readmore { color: var(--primary); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.blog2__readmore:hover { color: var(--primary); }
.blog2__sidebarTitle { border-bottom-color: var(--primary); font-size: 12px; letter-spacing: .08em; }
.blog2__catList li a:hover { color: var(--primary); }
.blog2__catList .count,
.blog2__catList .children li a .count { background: var(--primary); }
.hg-pagination li a:hover,
.hg-pagination li.active span { background: var(--primary); border-color: var(--primary); }

/* ── 20. Post content headings ── */
.post-content h1 {
  background: var(--primary);
  border-left-color: var(--gold);
  border-radius: 4px;
}
.post-content h2 {
  background: linear-gradient(135deg, var(--primary) 0%, #1e4a8a 100%);
  border-left-color: var(--gold);
  border-radius: 4px;
}
.post-content h3 {
  background: linear-gradient(90deg, rgba(24,53,101,.06) 0%, transparent 100%);
  border-left-color: var(--primary);
}
.post-content h4 { border-left-color: var(--primary); }
.post-content ul > li::before { color: var(--primary); }
.post-content table th { background: var(--primary); }
.post-share-bar { border-left-color: var(--primary); }
.post-tags a { background: #edf1fc; border-color: #c5d0ec; color: var(--primary); }
.post-tags a:hover { background: var(--primary); color: #fff !important; }
.post-hero__cats a { background: var(--primary); border-radius: 3px; }
.nav-label { color: var(--primary); }
.post-nav__item:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(24,53,101,.12); }
.related-card:hover .related-card__title { color: var(--primary); }
.related-card__more { color: var(--primary); }
.related-card:hover { box-shadow: var(--shadow-md); }

/* ── 21. Floating contact – hiện số trên desktop ── */
.fc-btn--phone { background: var(--secondary); }
.scroll-top:hover { background: var(--primary); }

/* Desktop: pill với số để copy */
@media (min-width: 850px) {
  .floating-contact {
    align-items: flex-end;
    gap: 10px;
  }
  .fc-btn {
    width: auto;
    height: 46px;
    border-radius: 30px;
    padding: 0 18px 0 14px;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    user-select: text; /* cho phép bôi đen copy */
  }
  .fc-btn i   { font-size: 18px; flex-shrink: 0; }
  .fc-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
  .fc-label   { display: inline; white-space: nowrap; }

  /* Tắt tooltip ::before trên desktop vì đã có label */
  .fc-btn::before { display: none; }
}

/* Mobile: ẩn label, giữ icon tròn */
@media (max-width: 849px) {
  .fc-label { display: none; }
}

/* ── 22. Search / Mobile ── */
.search-drawer button { background: var(--primary); }
.search-drawer button:hover { background: #0e2448; }
.mobile-menu-contact a { background: var(--primary); }
.mobile-nav-list > li > a:hover { color: var(--primary); }

/* ── 23. WooCommerce archive hero — compact, dark navy, đủ breadcrumb ── */
.woo-archive-hero {
  background: linear-gradient(115deg, #04142d 0%, #183565 100%) !important;
  background-image: none !important;
  padding: 20px 0 18px !important;
  overflow: hidden;
}
.woo-archive-hero__overlay { display: none !important; }
.woo-archive-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 0;
  padding-bottom: 0;
}
.woo-archive-hero__inner .hg-breadcrumbs { margin-bottom: 6px; }
.woo-archive-hero__title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem) !important;
  margin-bottom: 0 !important;
}

/* spd-hero (single product breadcrumb) */
.spd-hero {
  background: linear-gradient(115deg, #04142d 0%, #183565 100%) !important;
  padding: 16px 0 !important;
}
.spd-hero__overlay { display: none !important; }

/* ── 24. General layout helpers ── */
.hg-section-head { text-align: center; margin-bottom: 48px; }

/* Breadcrumbs accent */
.hg-breadcrumbs span:last-child { color: var(--gold); }

/* ── 25. Content padding: sát lề 4mm trên PC ── */

/* Bài viết */
.post-content {
  padding: 32px 15px;
  border-radius: 4px;
}

/* Căn giữa ảnh bài viết – mọi trường hợp, mọi thiết bị */
.post-content img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  clear: both !important;
}
/* Wrapper figure / wp-caption / block-image */
.post-content figure,
.post-content .wp-caption,
.post-content .wp-block-image,
.post-content .wp-block-image figure {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}
/* Đoạn <p> bọc ảnh: center ảnh nhưng không center text */
.post-content p > img:only-child {
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Sản phẩm – mô tả & tabs */
.spd-desc-inner {
  padding: 24px 15px;
  border-radius: 4px;
}
.spd-tabs-section .container,
.spd-tabs-section--inner .container,
.spd-tabs-section--inner .container-inner { padding-left: 0; padding-right: 0; }

/* Page (giới thiệu, liên hệ v.v.) */
.page-main { padding: 32px 15px; border-radius: 4px; }

/* ── 26. Responsive adjustments ── */
@media (max-width: 860px) {
  .homepage2__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 520px) {
  .homepage2__grid { grid-template-columns: repeat(2,1fr); }
  .homepage2__item { padding: 36px 14px; }
  .hg-cta-bar { padding: 28px 20px; gap: 24px; }
}

/* ── 27. Footer redesign — sang trọng, chữ sáng ── */

/* Base */
.hgf {
  background: linear-gradient(180deg, #0a1628 0%, #0d1e35 100%);
  color: rgba(255,255,255,.82);
}

/* Top: logo + tagline */
.hgf__top {
  padding: 64px 0 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(200,155,57,.06) 0%, transparent 100%);
}
.hgf__logo-card {
  padding: 10px 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  backdrop-filter: blur(4px);
}
.hgf__tagline {
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.8;
}
.hgf__tagline strong { color: var(--gold); }

/* CTA bar: hotline + zalo buttons */
.hgf__cta-bar {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.18);
}
.hgf__hotline-label {
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hgf__hotline-label i { font-size: 14px; }
.hgf__hotline {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: .06em;
}
.hgf__hotline:hover { color: var(--gold); }
.hgf__address {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-top: 10px;
}
.hgf__address i { color: var(--secondary); }

.hgf__subscribe-label {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  margin-bottom: 16px;
}
.hgf__subscribe-label strong { color: #fff; }
.hgf__cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hgf__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, background .2s;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.hgf__cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.hgf__cta-btn--zalo {
  background: #0068FF;
  color: #fff !important;
}
.hgf__cta-btn--zalo:hover { background: #0052cc; }
.hgf__cta-btn--call {
  background: var(--secondary);
  color: #fff !important;
}
.hgf__cta-btn--call:hover { background: #e07520; }

/* Nav columns */
.hgf__nav {
  padding: 52px 0 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hgf__col-heading {
  color: #fff;
  font-size: 13px;
  letter-spacing: .1em;
  border-bottom-color: var(--gold);
}
.hgf__col-menu li a {
  color: rgba(255,255,255,.72);
  font-size: 14px;
}
.hgf__col-menu li a::before { color: var(--gold); }
.hgf__col-menu li a:hover { color: #fff; }

/* Social column */
.hgf__social-desc {
  color: rgba(255,255,255,.65);
  font-size: 13.5px;
}
.hgf__social {
  width: 42px; height: 42px;
  border-radius: 8px;
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.07);
  font-size: 16px;
}
.hgf__social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.hgf__mst {
  color: rgba(255,255,255,.55);
  font-size: 12px;
}
.hgf__mst strong { color: rgba(255,255,255,.8); }

/* Bottom bar */
.hgf__bottom {
  background: rgba(0,0,0,.35);
  padding: 20px 0;
  border-top: 1px solid rgba(200,155,57,.2);
}
.hgf__bottom-inner p {
  color: rgba(255,255,255,.55);
  font-size: 12.5px;
}
.hgf__bottom-inner strong { color: rgba(255,255,255,.85); }

/* ── 28. Form disabled notice ── */
.hg-form-notice {
  text-align: center;
  padding: 32px 20px;
  background: #f0f5ff;
  border-radius: 8px;
  border: 1.5px dashed rgba(24,53,101,.2);
}
.hg-form-notice__icon {
  font-size: 36px;
  color: #0068FF;
  margin-bottom: 12px;
}
.hg-form-notice__msg {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
}
.hg-form-notice__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0068FF;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s;
  margin-bottom: 12px;
}
.hg-form-notice__btn:hover { background: #0052cc; color: #fff !important; }
.hg-form-notice__btn svg { flex-shrink: 0; }
.hg-form-notice__tel {
  display: block;
  font-size: 13px;
  color: var(--primary);
  margin-top: 10px;
  text-decoration: none;
}
.hg-form-notice__tel:hover { text-decoration: underline; }

/* ── 28. Mobile: mẫu đã in cách lề 2mm + ảnh mô tả full width ── */
@media (max-width: 768px) {
  /* Samples grid: padding 8px (~2mm) cách lề màn hình */
  .spd-tabs-section .container,
  .spd-panel[data-panel="samples"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .spd-samples-grid {
    gap: 6px;
    padding: 0 !important;
  }
  .spd-sample-item {
    border-radius: 4px;
  }

  /* Ảnh trong mô tả sản phẩm: full width */
  .spd-desc-content img {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 4px;
    margin: 1em 0 !important;
  }
  .spd-desc-content .wp-block-image,
  .spd-desc-content figure {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ── 29. Ẩn giá — CHỈ trên trang chi tiết sản phẩm, không ảnh hưởng danh mục ── */
.single-product .spd-price,
.single-product .price,
.single-product .woocommerce-Price-amount,
.woocommerce div.product p.price,
.woocommerce div.product span.price { display: none !important; }
