@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

/* ================================================================ */
/* CSS VARIABLES                                                      */
/* ================================================================ */
:root {
  --primary-red: #d9043d;
  --primary-red-hover: #e6003d;
  --navy-blue: #0e2b5c;
  --navy-blue-dark: #12376b;
  --accent-yellow: #fdb515;
  --light-gray: #f5f7fa;
  --text-dark: #1f2937;
  --text-muted: #374151;
  --white: #ffffff;
  --section-pad: 100px;
  --radius-card: 20px;
  --radius-btn: 50px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* ================================================================ */
/* BASE STYLES                                                        */
/* ================================================================ */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

body {
  font-family: "Noto Sans", sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  font-size: 16px;
  line-height: 1.7;
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

small,
.small {
  font-size: 0.9em !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--navy-blue);
  line-height: 1.3;
}

/* ================================================================ */
/* UTILITIES                                                          */
/* ================================================================ */
.text-primary {
  color: var(--primary-red) !important;
}

.text-navy {
  color: var(--navy-blue) !important;
}

.text-yellow {
  color: var(--accent-yellow) !important;
}

.bg-light-gray {
  background-color: var(--light-gray);
}

.bg-navy {
  background-color: var(--navy-blue);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}

.section-padding {
  padding: var(--section-pad) 0;
}

.bg-accent {
  background-color: var(--accent-yellow);
}

/* ================================================================ */
/* TYPOGRAPHY — Section Labels                                        */
/* ================================================================ */
.section-badge {
  display: inline-block;
  background: rgba(217, 4, 61, 0.08);
  color: var(--primary-red);
  border: 1px solid rgba(217, 4, 61, 0.2);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-badge-light {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-blue);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

a#btn-hotline-header {
  padding: 12px;
}

a#btn-quiz-header {
  padding: 10px 12px;
}

.product-image-name-link:hover h5.product-name,
.product-image-name-link:hover h5.product-name-new {
  text-decoration: underline;
}

a.product-image-name-link {
  text-decoration: none !important;
}

/* ================================================================ */
/* BUTTONS                                                            */
/* ================================================================ */
/* KEYFRAMES FOR PREMIUM DYNAMIC CTA ATTENTION GAINERS */
@keyframes cta-pulse-glow {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(217, 4, 61, 0.35);
  }

  50% {
    box-shadow:
      0 8px 25px rgba(217, 4, 61, 0.65),
      0 0 0 6px rgba(217, 4, 61, 0.15);
  }
}

@keyframes cta-secondary-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(14, 43, 92, 0.2);
    border-color: var(--navy-blue);
  }

  50% {
    box-shadow:
      0 4px 15px rgba(14, 43, 92, 0.15),
      0 0 0 6px rgba(14, 43, 92, 0.08);
    border-color: var(--primary-red);
  }
}

@keyframes cta-shine-sweep {
  0% {
    left: -120%;
  }

  15% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-red) 0%,
    var(--primary-red-hover) 100%
  );
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 20px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(217, 4, 61, 0.3);
  color: #fff;
  position: relative !important;
  overflow: hidden !important;
  animation: cta-pulse-glow 3s infinite ease-in-out;
}

.btn-primary::before,
.btn-quiz-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: cta-shine-sweep 4.5s infinite ease-in-out;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(217, 4, 61, 0.5);
  background: linear-gradient(
    135deg,
    var(--primary-red-hover) 0%,
    #c0002f 100%
  );
  color: #fff;
}

.btn-primary:hover::before,
.btn-quiz-cta:hover::before {
  animation: cta-shine-sweep 1.8s infinite ease-in-out;
}
.btn-secondary-2{
  background: var(--navy-blue);
  border: 2px solid var(--navy-blue);
  color: #fff ;
  border-radius: var(--radius-btn);
  border-color: var(--navy-blue) !important;
  padding: 10px 30px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative !important;
  animation: cta-secondary-pulse 4s infinite ease-in-out;
}
.btn-secondary {
  background: transparent;
  border: 2px solid var(--navy-blue);
  color: var(--navy-blue);
  border-radius: var(--radius-btn);
  padding: 10px 30px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative !important;
  animation: cta-secondary-pulse 4s infinite ease-in-out;
}

.btn-secondary:hover {
  background: var(--navy-blue);
  color: #fff !important;
  border-color: var(--navy-blue) !important;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 25px rgba(14, 43, 92, 0.2);
}

.btn-primary {
  font-size: 1rem;
}

.btn-outline-quiz {
  background: transparent;
  border: 2px solid var(--navy-blue);
  color: var(--navy-blue);
  border-radius: var(--radius-btn);
  padding: 10px 22px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-outline-quiz:hover {
  background: var(--navy-blue);
  color: #fff;
}

.btn-quiz-cta {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-red-hover)
  );
  color: #fff;
  border-radius: var(--radius-btn);
  padding: 14px 32px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(217, 4, 61, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative !important;
  overflow: hidden !important;
  animation: cta-pulse-glow 3s infinite ease-in-out;
  animation-delay: 1.5s;
}

.btn-quiz-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(217, 4, 61, 0.5);
  color: #fff;
}

/* ================================================================ */
/* NAVBAR                                                             */
/* ================================================================ */
.navbar {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  background: #fff !important;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 800;
  font-size: 22px;
  color: var(--navy-blue) !important;
  text-decoration: none;
}

.brand-logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.footer .brand-logo-img {
  height: 80px;
  display: flex;
  margin: 0 auto;
}

.nav-link {
  font-weight: 600;
  font-size: 16px;
  color: var(--navy-blue) !important;
  padding: 8px 12px !important;
  border-radius: 8px;
  transition: all 0.25s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-red) !important;
  background: rgba(217, 4, 61, 0.06);
}

.dropdown-toggle::after {
  display: inline-block !important;
  margin-left: 6px !important;
  vertical-align: middle !important;
  transition: transform 0.25s ease-in-out !important;
}

.dropdown-toggle.show::after {
  transform: rotate(180deg) !important;
}

.dropdown-menu {
  border-radius: 16px !important;
}

.dropdown-item {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: var(--light-gray);
  color: var(--primary-red);
}

.dropdown-item.active {
  background-color: rgba(14, 43, 92, 0.05) !important;
  color: var(--navy-blue) !important;
  font-weight: 600;
}

/* ================================================================ */
/* DROPDOWN: Hover to open on desktop                                 */
/* ================================================================ */
@media (min-width: 992px) {
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-item.dropdown > .dropdown-menu {
    display: block;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease;
    margin-top: 0 !important;
  }

  .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

/* Navi Bình An - Soft Red background, Red text */
.dropdown-item.active[href="navi-binh-an.html"] {
  background-color: rgba(217, 4, 61, 0.08) !important;
  color: var(--primary-red) !important;
}

.dropdown-item.active[href="navi-binh-an.html"] i {
  color: var(--primary-red) !important;
}

/* Navi Safety - Soft Navy background, Navy text */
.dropdown-item.active[href="navi-safety.html"] {
  background-color: rgba(14, 43, 92, 0.08) !important;
  color: var(--navy-blue) !important;
}

.dropdown-item.active[href="navi-safety.html"] i {
  color: var(--navy-blue) !important;
}

/* Navi Guardian - Soft Green background, Green text */
.dropdown-item.active[href="navi-guardian.html"] {
  background-color: rgba(16, 185, 129, 0.08) !important;
  color: var(--guardian-green-dark, #059669) !important;
}

.dropdown-item.active[href="navi-guardian.html"] i {
  color: var(--guardian-green-dark, #059669) !important;
}

/* Navi Homage - Soft Orange background, Orange text */
.dropdown-item.active[href="navi-homage.html"] {
  background-color: rgba(226, 135, 67, 0.08) !important;
  color: var(--homage-orange-dark, #c96f2c) !important;
}

.dropdown-item.active[href="navi-homage.html"] i {
  color: var(--homage-orange-dark, #c96f2c) !important;
}

/* ================================================================ */
/* SECTION 2: QUIZ BANNER                                            */
/* ================================================================ */
.quiz-banner-section {
  background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
  border-top: 3px solid var(--accent-yellow);
  border-bottom: 3px solid var(--accent-yellow);
  padding: 18px 0;
  margin-top: 70px;
  /* Offset for fixed navbar */
}

.quiz-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.quiz-banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quiz-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--accent-yellow);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--navy-blue);
  flex-shrink: 0;
}

.quiz-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 2px;
}

.quiz-text p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

/* ================================================================ */
/* SECTION 3: HERO BANNER                                            */
/* ================================================================ */
.hero-section {
  padding: 140px 0 80px;
  /* Offset for fixed sticky navbar */
  background: linear-gradient(145deg, #f5f7fa 0%, #eaf0ff 50%, #fff5f7 100%);
  overflow: hidden;
}

.min-vh-75 {
  min-height: 75vh;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(14, 43, 92, 0.08);
  color: var(--navy-blue);
  border: 1px solid rgba(14, 43, 92, 0.15);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--navy-blue);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}

/* Compact features grid */
.hero-features-grid {
  margin-bottom: 24px;
}

.hero-features-grid .feature-text {
  font-weight: 600;
  color: var(--text-dark);
}

.check-icon {
  width: 24px;
  height: 24px;
  background: var(--navy-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-badge {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Hero Image */
.hero-image-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.hero-image {
  border-radius: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  width: 100%;
  object-fit: cover;
}

.hero-stat-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
  animation: float 3s ease-in-out infinite;
}

.hero-stat-top {
  top: 30px;
  right: -50px;
  animation-delay: 0s;
}

.hero-stat-card-home {
  bottom: 40px;
  left: -50px !important;
  animation-delay: 1.5s;
}

.hero-stat-bottom {
  bottom: 40px;
  left: -80px;
  animation-delay: 1.5s;
}

.stat-number {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-blue);
  line-height: 1.2;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ================================================================ */
/* SECTION 4: MEDIA PROOF                                            */
/* ================================================================ */
.media-proof-section {
  background: #fff;
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.media-label {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 24px;
}

.media-logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.media-logo-item {
  opacity: 0.75;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: transparent;
}

.media-logo-item:hover,
.media-logo-item.active {
  opacity: 1;
  transform: translateY(-4px);
}

.media-logo-item.active {
  border-color: var(--primary-red);
  background: rgba(217, 4, 61, 0.02);
  box-shadow: 0 8px 24px rgba(217, 4, 61, 0.08);
}

.media-logo-item svg,
.media-logo-img {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.media-proof-headline {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-blue);
  margin-top: 10px;
  margin-bottom: 12px;
}

.media-proof-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.media-trust-bar {
  margin-top: 40px;
  padding: 16px 24px;
  background: var(--light-gray);
  border-radius: 12px;
  border-left: 4px solid var(--primary-red);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.media-trust-quote {
  font-size: 15.5px;
  color: var(--navy-blue);
  font-style: italic;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.media-trust-quote span {
  line-height: 1.5;
}

.quote-link {
  color: var(--primary-red) !important;
  border: 1.5px solid var(--primary-red) !important;
  background: transparent !important;
  font-family: "Noto Sans", sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.5px !important;
  transition: all 0.25s ease !important;
  box-shadow: none !important;
}

.quote-link:hover {
  background: var(--primary-red) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(217, 4, 61, 0.25) !important;
}

/* ================================================================ */
/* SECTION 5: HOW IT WORKS — Steps                                   */
/* ================================================================ */
.step-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 30px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.step-card:hover,
.step-card.active {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-red);
}

.step-number-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-red-hover)
  );
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(217, 4, 61, 0.3);
}

.step-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(217, 4, 61, 0.08);
  color: var(--primary-red);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover .step-icon-wrap,
.step-card.active .step-icon-wrap {
  background: linear-gradient(
    135deg,
    var(--primary-red) 0%,
    var(--primary-red-hover) 100%
  );
  color: #fff;
  transform: scale(1.12) rotate(5deg);
  box-shadow: 0 8px 20px rgba(217, 4, 61, 0.35);
}

.step-card h5 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--navy-blue);
}

.step-card p {
  font-size: 15px;
  line-height: 1.6;
}

.service-slogan {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: block;
}

.service-points {
  margin-top: 16px;
  border-top: 1px dashed rgba(14, 43, 92, 0.08);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-points li {
  font-size: 14.5px;
  color: var(--text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
}

.service-points li i {
  color: var(--primary-red);
  font-size: 13px;
}

.how-connector {
  width: 65%;
  position: absolute;
  top: 50%;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-red), var(--accent-yellow));
  opacity: 0.3;
  z-index: 0;
}

/* ================================================================ */
/* SECTION 6: PRODUCT FINDER BANNER                                  */
/* ================================================================ */
.finder-banner-section {
  background: linear-gradient(
    135deg,
    var(--navy-blue) 0%,
    var(--navy-blue-dark) 100%
  );
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.finder-banner-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(253, 181, 21, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.finder-feature {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
}

.finder-feature i {
  color: var(--accent-yellow);
}

.finder-phone-img {
  max-height: 360px;
  object-fit: cover;
}

/* ================================================================ */
/* SECTION 7: PRODUCT CARDS                                          */
/* ================================================================ */
.product-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.35s ease;
  border: 2px solid transparent;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-card.featured {
  border-color: var(--primary-red);
}

.product-badge-wrap {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.product-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 50px;
}

.product-card {
  position: relative;
}

.product-img-wrap {
  background: var(--light-gray);
  padding: 30px;
  text-align: center;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img {
  max-height: 160px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-body {
  padding: 24px;
}

.product-name {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy-blue);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 15px;
  margin-bottom: 14px;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 70px;
}

.product-features span {
  background: var(--light-gray);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 13.5px;
  font-weight: 600;
  height: 31px;
}

.product-price {
  margin-bottom: 16px;
}

.price-main {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-red);
}

.bg-navy {
  background-color: var(--navy-blue) !important;
}

/* ================================================================ */
/* SECTION 8: TESTIMONIALS                                           */
/* ================================================================ */
.stat-block {
  padding: 24px;
}

.stat-big-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-big-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  min-height: 281px;
  height: 100%;
  border-left: 4px solid var(--primary-red);
}

.stars {
  color: var(--accent-yellow);
  font-size: 18px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

/* Swiper custom */
.testimonial-swiper .swiper-pagination-bullet,
.news-swiper .swiper-pagination-bullet {
  background: var(--navy-blue);
  width: 10px;
  height: 10px;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.testimonial-swiper .swiper-pagination-bullet-active,
.news-swiper .swiper-pagination-bullet-active {
  background: var(--primary-red) !important;
  width: 24px;
  border-radius: 5px;
  opacity: 1;
}

/* News swiper styling */
.news-swiper-outer {
  position: relative;
  max-width: 100%;
}

.news-swiper {
  overflow: hidden !important;
  padding: 15px 5px 64px 5px !important;
  margin: -15px -5px 0 -5px !important;
  height: auto !important;
  min-height: 0 !important;
}

.news-swiper .swiper-wrapper {
  align-items: stretch;
  height: auto !important;
  min-height: 0 !important;
}

.news-swiper .swiper-slide {
  height: auto;
  min-height: 0 !important;
  display: flex;
}

.news-swiper .swiper-pagination {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 18px !important;
  height: 16px;
  line-height: 16px;
  margin: 0 !important;
  transform: none !important;
}

/* Custom News Navigation Buttons */
.news-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-80%);
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-blue) !important;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-nav-btn i {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.news-nav-btn:hover {
  background: var(--navy-blue);
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(14, 43, 92, 0.25);
}

.news-nav-prev {
  left: -24px;
}

.news-nav-prev:hover i {
  transform: translateX(-2px);
}

.news-nav-next {
  right: -24px;
}

.news-nav-next:hover i {
  transform: translateX(2px);
}

/* ================================================================ */
/* SECTION 9: CERTIFICATIONS                                         */
/* ================================================================ */
.certifications-section {
  background: var(--light-gray);
  padding: var(--section-pad) 0;
}

.cert-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  height: 100%;
  border-top: 4px solid transparent;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary-red);
}

.cert-img-wrap {
  width: 100%;
  height: 160px;
  background: var(--light-gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.cert-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.cert-card:hover .cert-img-wrap {
  background: #fff;
  border-color: rgba(217, 4, 61, 0.1);
}

.cert-card:hover .cert-img {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(14, 43, 92, 0.1);
}

/* ================================================================ */
/* CERTIFICATE LIGHTBOX MODAL                                       */
/* ================================================================ */
.cert-lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(14, 43, 92, 0.95);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}

.cert-lightbox-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  margin: auto;
  text-align: center;
}

.cert-slide {
  display: none;
}

.cert-slide.active {
  display: block;
}

.cert-slide img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  background: #fff;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-slide-caption {
  color: #fff;
}

.cert-slide-caption h5 {
  color: var(--accent-yellow) !important;
  font-weight: 800;
  margin-bottom: 4px;
  font-size: 20px;
}

.cert-slide-caption p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* Close Button */
.cert-lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 50px;
  font-weight: 300;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000;
}

.cert-lightbox-close:hover {
  color: var(--primary-red);
}

/* Prev & Next Arrows */
.cert-lightbox-prev,
.cert-lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 45%;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s ease;
  user-select: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.cert-lightbox-prev {
  left: -80px;
}

.cert-lightbox-next {
  right: -80px;
}

.cert-lightbox-prev:hover,
.cert-lightbox-next:hover {
  background-color: var(--primary-red);
  color: #fff;
}

/* Dots */
.cert-lightbox-dots {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.cert-lightbox-dot {
  cursor: pointer;
  height: 8px;
  width: 8px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.cert-lightbox-dot.active,
.cert-lightbox-dot:hover {
  background-color: var(--primary-red);
  width: 20px;
  border-radius: 4px;
}

@media only screen and (max-width: 768px) {
  .cert-lightbox-prev {
    left: 10px;
  }

  .cert-lightbox-next {
    right: 10px;
  }

  .cert-lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 40px;
  }

  section#certifications {
    padding: 50px 0px;
  }

  .mt-5 {
    margin-top: 1rem !important;
  }

  .px-5 {
    padding: 1rem !important;
  }

  .py-5 {
    padding: 1rem 0 !important;
  }

  .btn-primary {
    font-size: 1rem;
  }

  .footer {
    padding: 40px 0px 0px !important;
  }

  .product-detail-hero {
    padding: 40px 0 !important;
  }

  .product-gallery {
    padding: 15px !important;
  }

  .thumbs-track {
    padding-bottom: 15px !important;
  }

  .product-article h2 {
    margin-top: 0px;
  }

  .video-section {
    padding: 20px !important;
  }
}

/* ================================================================ */
/* SECTION 10: BENEFITS / KEY FEATURES                               */
/* ================================================================ */
.feature-card,
.benefit-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover,
.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(253, 181, 21, 0.12);
  color: var(--navy-blue);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.benefit-card:hover .icon-wrapper {
  background: var(--navy-blue);
  color: #fff;
}

.benefit-card h5,
.feature-card h5 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--navy-blue);
}

.benefit-card p,
.feature-card p {
  font-size: 15px;
  line-height: 1.6;
}

.showcase-img {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  width: 100%;
}

/* ================================================================ */
/* SECTION 11: FAQ                                                   */
/* ================================================================ */
.faq-accordion .faq-item {
  background: #fff;
  border: none !important;
  border-radius: 14px !important;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-weight: 700;
  font-size: 17px;
  color: var(--navy-blue);
  background: #fff;
  padding: 20px 24px;
  box-shadow: none !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-red);
  background: rgba(217, 4, 61, 0.03);
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D9043D'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
  background-size: 11px !important;
  background-color: rgba(217, 4, 61, 0.06) !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  background-color: var(--primary-red) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
  transform: rotate(-180deg) !important;
}

.faq-accordion .accordion-body {
  padding: 10px 24px 20px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

/* ================================================================ */
/* SECTION 12: NEWS CARDS                                            */
/* ================================================================ */
.news-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.35s ease;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.news-card-link {
  display: flex;
  color: inherit !important;
  text-decoration: none !important;
  height: 100%;
  min-height: 0;
  width: 100%;
}

.news-card-link:hover {
  color: inherit !important;
  text-decoration: none !important;
}

.news-card-link:hover .news-card,
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.news-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
  flex: 0 0 200px;
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card-link:hover .news-img,
.news-card:hover .news-img {
  transform: scale(1.06);
}

.news-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 50px;
}

.news-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.news-date {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.news-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt {
  font-size: 15px;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-read-more {
  color: var(--primary-red);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-top: auto !important;
}

.btn-read-more i {
  transition: transform 0.2s ease;
}

.news-card-link:hover .btn-read-more i {
  transform: translateX(4px);
}

/* ================================================================ */
/* SECTION 13: CTA / CONSULTATION FORM                              */
/* ================================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy-blue) 0%, #1a3a70 100%);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 500;
}

.cta-benefit-item i {
  font-size: 18px;
  flex-shrink: 0;
}

.hotline-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px 24px;
  backdrop-filter: blur(10px);
}

.hotline-card i {
  font-size: 28px;
}

.hotline-number {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
}

.consultation-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.consultation-form-card .form-control {
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 15px;
  padding: 12px 18px;
  transition: border-color 0.2s;
}

.consultation-form-card .form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(217, 4, 61, 0.08);
}

.form-label {
  color: var(--text-dark);
  margin-bottom: 6px;
}

/* ================================================================ */
/* FOOTER                                                            */
/* ================================================================ */
.footer {
  background: var(--navy-blue);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 0;
}

.footer-heading {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--accent-yellow);
}

.footer-contact li {
  font-size: 15px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s;
}

.social-link:hover {
  background: var(--primary-red);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
}

/* ================================================================ */
/* FLOATING BUTTONS                                                   */
/* ================================================================ */

.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.btn-float {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.btn-float svg {
  display: block;
}

.btn-float-img {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain;
  display: block;
}

/* Trạng thái mặc định: Ẩn các nút liên hệ phụ */
.floating-contact .btn-float:not(.float-trigger) {
  opacity: 0;
  transform: scale(0.4) translateY(30px);
  pointer-events: none;
  visibility: hidden;
  height: 0;
  width: 0;
  margin: 0;
  box-shadow: none;
  transition-delay: 0s !important;
  /* Khi đóng thì thu về lập tức, không bị trễ nhịp */
}

/* Trạng thái mở: Bung ra và hiển thị đậm nét hơn (opacity 0.85) để dễ thấy và nhấn */
.floating-contact.active .btn-float:not(.float-trigger) {
  opacity: 0.85;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  visibility: visible;
  height: 50px;
  width: 50px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Hiệu ứng mở từ dưới lên lần lượt (Staggered Animation) cho các nút phụ */
.floating-contact.active .float-youtube {
  transition-delay: 0s;
}

.floating-contact.active .float-facebook {
  transition-delay: 0.05s;
}

.floating-contact.active .float-messenger {
  transition-delay: 0.1s;
}

.floating-contact.active .float-zalo {
  transition-delay: 0.15s;
}

.floating-contact.active .float-hotline {
  transition-delay: 0.2s;
}

/* Khi hover vào nút phụ đã mở rộng: Sẽ hiển thị rõ nét hoàn toàn (opacity 1) */
.floating-contact.active .btn-float:not(.float-trigger):hover {
  opacity: 1 !important;
  transform: scale(1.1) translateY(0);
  transition-delay: 0s !important;
  /* Phản hồi hover lập tức */
}

/* Nút bấm kích hoạt (Trigger Button) có màu đỏ chủ đạo đậm nét */
.float-trigger {
  background: var(--primary-red) !important;
  border: none;
  outline: none;
  cursor: pointer;
  z-index: 1001;
  opacity: 0.95;
  order: 999;
  /* Luôn ở dưới cùng trong flex column */
}

.float-trigger:hover {
  opacity: 1 !important;
  transform: scale(1.08);
}

.float-trigger i {
  transition: transform 0.35s ease;
}

/* Xoay icon dấu + thành dấu X đóng khi mở (Font Awesome icon) */
.floating-contact.active .float-trigger i {
  transform: rotate(135deg);
}

/* Toggle SVG icons cho float-trigger dùng SVG (navi-binh-an.html) */
.float-trigger .icon-plus {
  display: block;
  transition:
    opacity 0.25s ease,
    transform 0.3s ease;
}

.float-trigger .icon-close {
  display: none;
  transition:
    opacity 0.25s ease,
    transform 0.3s ease;
}

.floating-contact.active .float-trigger .icon-plus {
  display: none;
}

.floating-contact.active .float-trigger .icon-close {
  display: block;
}

.float-label {
  position: absolute;
  right: 70px;
  background: rgba(14, 43, 92, 0.95);
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(15px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
}

.float-label::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: rgba(14, 43, 92, 0.95);
}

.btn-float:hover {
  transform: scale(1.12);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn-float:hover .float-label {
  opacity: 1;
  transform: translateX(0);
}

/* Kích hoạt nền tròn có màu cho Zalo và Messenger để có kích thước và hình khối đồng bộ với các icon khác */
.float-zalo {
  background: #0068ff !important;
}

.float-messenger {
  background: #ffffff !important;
}

.float-facebook {
  background: #1877f2;
}

.float-youtube {
  background: #ff0000;
}

.float-hotline {
  background: var(--primary-red);
}

/* Mobile CTA Bar */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 10px 16px;
  display: flex;
  gap: 10px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 998;
}

.mobile-cta .btn {
  flex: 1;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
}

/* ================================================================ */
/* PULSATE ANIMATION                                                  */
/* ================================================================ */
.pulsate {
  animation: pulsate 2s ease-in-out infinite;
}

@keyframes pulsate {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(217, 4, 61, 0.35);
  }

  50% {
    box-shadow:
      0 4px 25px rgba(217, 4, 61, 0.65),
      0 0 0 8px rgba(217, 4, 61, 0.08);
  }
}

/* ================================================================ */
/* PROMO BARS — Fixed side promotional cards with fade slider         */
/* ================================================================ */

/* Container — hidden by default, shown at wide viewports */
.promo-bar {
  display: none;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 168px;
  z-index: 900;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.13),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.promo-bar:hover {
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 16px 48px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.07);
  transform: translateY(calc(-50% - 3px));
}

@media (min-width: 992px) {
  .promo-bar {
    display: block;
    width: 130px;
  }

  .promo-card__link {
    height: 300px;
  }

  .promo-bar--left {
    left: 6px !important;
  }

  .promo-bar--right {
    right: 6px !important;
  }
}

@media (min-width: 1200px) {
  .promo-bar {
    width: 110px;
  }

  .promo-card__link {
    height: 320px;
  }

  .promo-bar--left {
    left: 10px !important;
  }

  .promo-bar--right {
    right: 10px !important;
  }
}

@media (min-width: 1400px) {
  .promo-bar {
    width: 130px;
  }

  .promo-card__link {
    height: 360px;
  }

  .promo-bar--left {
    left: 12px !important;
  }

  .promo-bar--right {
    right: 12px !important;
  }
}

@media (min-width: 1680px) {
  .promo-bar {
    width: 180px;
  }

  .promo-card__link {
    height: 420px;
  }

  .promo-bar--left {
    left: 16px !important;
  }

  .promo-bar--right {
    right: 16px !important;
  }
}

@media (min-width: 1880px) {
  .promo-bar {
    width: 192px;
  }

  .promo-card__link {
    height: 460px;
  }
}

/* Constrain Bootstrap container max-widths on laptop screens to ensure safe spacing for side banners */
@media (min-width: 992px) and (max-width: 1199px) {
  /* .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 740px !important;
  } */
}

@media (min-width: 1200px) and (max-width: 1399px) {
  /* .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 920px !important;
  } */
}

@media (min-width: 1400px) and (max-width: 1679px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1080px !important;
  }
}

.promo-bar--left {
  left: 12px;
}

.promo-bar--right {
  right: 12px;
}

/* ── Promo Card (each slide) ─────────────────────────────────── */
.promo-card {
  display: none;
  /* hidden by default */
  flex-direction: column;
  background: #fff;
  overflow: hidden;
}

.promo-card--active {
  display: flex;
  /* show the active slide */
  animation: promo-fade-in 0.45s ease forwards;
}

.promo-card__link {
  display: block;
  width: 100%;
  height: 380px;
  overflow: hidden;
  position: relative;
}

.promo-card__full-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-card:hover .promo-card__full-img {
  transform: scale(1.05);
}

/* ── Close Button on Banner ──────────────────────────────────── */
.promo-bar__close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(14, 43, 92, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  font-size: 11px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-bar__close-btn:hover {
  background: #d9043d;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(217, 4, 61, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ── Overlay Dots on Banner ──────────────────────────────────── */
.promo-bar__overlay-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
  background: rgba(14, 43, 92, 0.3);
  /* Nền mờ navy nhẹ */
  padding: 4px 8px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
}

.promo-bar__overlay-dots .promo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.promo-bar__overlay-dots .promo-dot.active {
  background: #ffffff;
  width: 15px;
  border-radius: 4px;
}

@keyframes promo-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Top image area ──────────────────────────────────────────── */
.promo-card__top {
  position: relative;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.promo-card__top--red {
  background: linear-gradient(150deg, #fff2f5 0%, #ffd6e4 100%);
}

.promo-card__top--navy {
  background: linear-gradient(150deg, #eef3ff 0%, #d0dfff 100%);
}

.promo-card__top--gold {
  background: linear-gradient(150deg, #fffaed 0%, #ffedb5 100%);
}

/* White scallop bottom edge that blends top → body */
.promo-card__top::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 20px;
  background: #fff;
  border-radius: 20px 20px 0 0;
}

.promo-card__img {
  width: 80%;
  height: 85%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.15));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

.promo-card--active:hover .promo-card__img {
  transform: scale(1.06) translateY(-4px);
}

/* Badge chip floating top-center */
.promo-card__badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary-red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 10px 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(217, 4, 61, 0.4);
}

.promo-card__badge--navy {
  background: var(--navy-blue);
  box-shadow: 0 2px 8px rgba(14, 43, 92, 0.4);
}

.promo-card__badge--gold {
  background: #b88200;
  box-shadow: 0 2px 8px rgba(184, 130, 0, 0.4);
}

.promo-card__badge i {
  font-size: 8px;
}

/* ── Text body ───────────────────────────────────────────────── */
.promo-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  background: #fff;
}

.promo-card__product {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy-blue);
  margin: 0;
  line-height: 1.2;
}

.promo-card__tagline {
  font-size: 10.5px;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
  line-height: 1.3;
}

.promo-card__price {
  font-size: 11px;
  color: var(--text-muted);
  margin: 2px 0 5px;
  line-height: 1;
}

.promo-card__price strong {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-red);
  display: block;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.promo-card__price span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.promo-card__price--navy strong {
  color: var(--navy-blue);
}

.promo-card__price--gold strong {
  color: #9a6b00;
}

/* CTA button */
.promo-card__btn {
  display: block;
  width: 100%;
  padding: 7px 12px;
  text-align: center;
  background: var(--primary-red);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 3px 10px rgba(217, 4, 61, 0.28);
  transition: all 0.22s ease;
  white-space: nowrap;
}

.promo-card__btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(217, 4, 61, 0.4);
  background: #b5002e;
}

.promo-card__btn--navy {
  background: var(--navy-blue);
  box-shadow: 0 3px 10px rgba(14, 43, 92, 0.25);
}

.promo-card__btn--navy:hover {
  background: #0a2049;
  box-shadow: 0 5px 16px rgba(14, 43, 92, 0.38);
}

.promo-card__btn--gold {
  background: #b88200;
  box-shadow: 0 3px 10px rgba(184, 130, 0, 0.28);
}

.promo-card__btn--gold:hover {
  background: #9a6c00;
  box-shadow: 0 5px 16px rgba(184, 130, 0, 0.38);
}

/* ── Controls bar (dots + link) ──────────────────────────────── */
.promo-bar__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 9px;
  background: #f6f6f8;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  gap: 8px;
}

.promo-bar__dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.promo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  padding: 0;
  transition: all 0.28s ease;
  flex-shrink: 0;
}

.promo-dot.active {
  background: var(--primary-red);
  width: 16px;
  border-radius: 4px;
}

.promo-bar__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  color: var(--primary-red);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.promo-bar__cta-link:hover {
  opacity: 0.7;
  color: var(--primary-red);
}

.promo-bar__cta-link--navy {
  color: var(--navy-blue);
}

.promo-bar__cta-link--navy:hover {
  color: var(--navy-blue);
}

.promo-bar__cta-link i {
  font-size: 9px;
}

.side-banner {
  display: none;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  z-index: 900;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.side-banner:hover {
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 20px 60px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  transform: translateY(calc(-50% - 4px));
}

/* Show only on screens wide enough to have whitespace */
@media (min-width: 1400px) {
  .side-banner {
    display: block;
  }
}

@media (min-width: 1600px) {
  .side-banner {
    width: 176px;
  }
}

@media (min-width: 1800px) {
  .side-banner {
    width: 190px;
  }
}

/* Positioning — hug the viewport edges */
.side-banner--left {
  left: 10px;
}

.side-banner--right {
  right: 10px;
}

@media (min-width: 1500px) {
  .side-banner--left {
    left: 14px;
  }

  .side-banner--right {
    right: 14px;
  }
}

/* ── Inner layout ─────────────────────────────────────────────── */
.side-banner__inner {
  display: flex;
  flex-direction: column;
}

/* ── Header ───────────────────────────────────────────────────── */
.side-banner__header {
  background: linear-gradient(135deg, var(--primary-red) 0%, #c70039 100%);
  padding: 9px 12px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

/* subtle diagonal stripe pattern */
.side-banner__header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 6px,
    rgba(255, 255, 255, 0.05) 6px,
    rgba(255, 255, 255, 0.05) 12px
  );
}

.side-banner__header:has(.side-banner__tag--navy) {
  background: linear-gradient(135deg, #0e2b5c 0%, #1a4482 100%);
}

.side-banner__tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.side-banner__tag i {
  font-size: 11px;
  animation: tag-pulse 1.6s ease-in-out infinite alternate;
}

@keyframes tag-pulse {
  from {
    transform: scale(1);
    opacity: 1;
  }

  to {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* ── Slider ───────────────────────────────────────────────────── */
.side-banner__slider {
  overflow: hidden;
  position: relative;
  height: 276px;
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 1600px) {
  .side-banner__slider {
    height: 296px;
  }
}

@media (min-width: 1800px) {
  .side-banner__slider {
    height: 310px;
  }
}

/* Track scrolls horizontally */
.side-banner__track {
  display: flex;
  flex-direction: row;
  /* ← ngang */
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── Individual Slide ─────────────────────────────────────────── */
.side-banner__slide {
  flex: 0 0 100%;
  /* ← chiếm đúng 100% width container */
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1600px) {
  .side-banner__slide {
    height: 296px;
  }
}

@media (min-width: 1800px) {
  .side-banner__slide {
    flex: 0 0 310px;
    height: 310px;
  }
}

/* ── Image Area (top 55% of slide) ───────────────────────────── */
.side-banner__img-wrap {
  position: relative;
  height: 152px;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #fff0f3 0%, #ffe0ea 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-banner__img-wrap--blue {
  background: linear-gradient(145deg, #eff4ff 0%, #dae6ff 100%);
}

.side-banner__img-wrap--gold {
  background: linear-gradient(145deg, #fffaec 0%, #ffefc0 100%);
}

/* gradient fade at bottom of image → blends into content */
.side-banner__img-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
}

.side-banner__img-wrap img {
  width: 82%;
  height: 88%;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

.side-banner__slide:hover .side-banner__img-wrap img {
  transform: scale(1.08) translateY(-4px);
}

/* ── Text Content ─────────────────────────────────────────────── */
.side-banner__content {
  flex: 1;
  padding: 10px 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  gap: 4px;
}

/* Product label / badge */
.side-banner__label {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary-red);
  background: rgba(217, 4, 61, 0.08);
  border-radius: 30px;
  padding: 3px 10px;
  border: 1px solid rgba(217, 4, 61, 0.12);
}

.side-banner__label--navy {
  color: var(--navy-blue);
  background: rgba(14, 43, 92, 0.07);
  border-color: rgba(14, 43, 92, 0.1);
}

.side-banner__label--gold {
  color: #875c00;
  background: rgba(253, 181, 21, 0.12);
  border-color: rgba(253, 181, 21, 0.25);
}

/* Promo sub-line */
.side-banner__promo {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
  font-weight: 500;
}

/* Price / highlight value */
.side-banner__price {
  font-size: 21px;
  font-weight: 900;
  color: var(--primary-red);
  line-height: 1;
  display: block;
  letter-spacing: -0.5px;
}

.side-banner__price small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.85;
}

.side-banner__price--navy {
  color: var(--navy-blue);
}

.side-banner__price--gold {
  color: #875c00;
}

/* CTA link-button */
.side-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: var(--primary-red);
  border-radius: 30px;
  padding: 5px 14px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  width: 100%;
  box-shadow: 0 3px 10px rgba(217, 4, 61, 0.28);
  margin-top: 2px;
}

.side-banner__btn:hover {
  background: #b5002e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 4, 61, 0.38);
}

.side-banner__btn--navy {
  background: var(--navy-blue);
  box-shadow: 0 3px 10px rgba(14, 43, 92, 0.25);
}

.side-banner__btn--navy:hover {
  background: #0a2049;
  box-shadow: 0 6px 18px rgba(14, 43, 92, 0.35);
}

.side-banner__btn--gold {
  background: #d49a00;
  color: #fff;
  box-shadow: 0 3px 10px rgba(212, 154, 0, 0.28);
}

.side-banner__btn--gold:hover {
  background: #b88400;
  box-shadow: 0 6px 18px rgba(212, 154, 0, 0.38);
}

/* ── Dots ─────────────────────────────────────────────────────── */
.side-banner__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 7px 0 6px;
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.side-banner__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.14);
  cursor: pointer;
  transition: all 0.28s ease;
  flex-shrink: 0;
}

.side-banner__dot.active {
  background: var(--primary-red);
  width: 18px;
  border-radius: 4px;
}

/* ── Footer CTA ───────────────────────────────────────────────── */
.side-banner__footer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 10px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary-red) 0%, #c70039 100%);
  transition: filter 0.25s ease;
  position: relative;
  overflow: hidden;
}

.side-banner__footer-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: skewX(-20deg);
  animation: side-banner-shine 3.5s infinite ease-in-out;
}

@keyframes side-banner-shine {
  0% {
    left: -60%;
  }

  35% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

.side-banner__footer-cta:hover {
  filter: brightness(1.12);
  color: #fff;
}

.side-banner__footer-cta--navy {
  background: linear-gradient(135deg, #0e2b5c 0%, #1a4482 100%);
}

.side-banner__footer-cta i {
  font-size: 12px;
  flex-shrink: 0;
}

/* ── Flicker animation ────────────────────────────────────────── */
@keyframes flicker {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0.75;
    transform: scale(1.15);
  }
}

/* ================================================================ */
/* SB-* NEW SLIDE CARD DESIGN                                         */
/* ================================================================ */

/* Color themes per slide */
.sb-red {
  background: linear-gradient(160deg, #fff0f3 0%, #ffd6e0 60%, #ffbccc 100%);
}

.sb-navy {
  background: linear-gradient(160deg, #eef3ff 0%, #d5e2ff 60%, #bacaff 100%);
}

.sb-gold {
  background: linear-gradient(160deg, #fffbec 0%, #fff0c0 60%, #ffe49a 100%);
}

/* Badge chip at top of each slide */
.sb-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary-red);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(217, 4, 61, 0.35);
  z-index: 2;
}

.sb-badge--navy {
  background: var(--navy-blue);
  box-shadow: 0 2px 8px rgba(14, 43, 92, 0.35);
}

.sb-badge--gold {
  background: #c48a00;
  box-shadow: 0 2px 8px rgba(196, 138, 0, 0.35);
}

/* Product image area */
.sb-img {
  flex: 0 0 158px;
  height: 158px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding-top: 28px;
  /* space for badge */
}

.sb-img img {
  width: 88%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.14));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-banner__slide:hover .sb-img img {
  transform: scale(1.07) translateY(-5px);
}

/* Text body at bottom */
.sb-body {
  flex: 1;
  background: #fff;
  padding: 10px 12px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  border-top: none;
  position: relative;
}

/* Curved top edge — connects image to body */
.sb-body::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: #fff;
  border-radius: 14px 14px 0 0;
}

.sb-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy-blue);
  margin: 0;
  line-height: 1.2;
}

.sb-sub {
  font-size: 10.5px;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

.sb-price {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-red);
  line-height: 1.1;
  margin: 2px 0 4px;
  letter-spacing: -0.5px;
}

.sb-price span {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.8;
  letter-spacing: 0;
}

.sb-price--navy {
  color: var(--navy-blue);
}

.sb-price--gold {
  color: #9a6b00;
}

/* CTA button */
.sb-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 6px 12px;
  background: var(--primary-red);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 3px 10px rgba(217, 4, 61, 0.3);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.sb-cta:hover {
  background: #b5002e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(217, 4, 61, 0.4);
}

.sb-cta--navy {
  background: var(--navy-blue);
  box-shadow: 0 3px 10px rgba(14, 43, 92, 0.28);
}

.sb-cta--navy:hover {
  background: #0a2049;
  box-shadow: 0 5px 16px rgba(14, 43, 92, 0.38);
}

.sb-cta--gold {
  background: #c48a00;
  box-shadow: 0 3px 10px rgba(196, 138, 0, 0.28);
}

.sb-cta--gold:hover {
  background: #a87600;
  box-shadow: 0 5px 16px rgba(196, 138, 0, 0.38);
}

/* Dots + footer row */
.sb-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px 8px;
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  gap: 8px;
}

.sb-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--primary-red);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.sb-footer-link:hover {
  opacity: 0.75;
  color: var(--primary-red);
}

.sb-footer-link--navy {
  color: var(--navy-blue);
}

.sb-footer-link--navy:hover {
  color: var(--navy-blue);
}

.sb-footer-link i {
  font-size: 10px;
}

/* ================================================================ */
/* PRODUCT DETAIL PAGE STYLES                                       */
/* ================================================================ */
.breadcrumb-container {
  padding: 20px 0;
  background: var(--light-gray);
  margin-top: 80px;
  /* Offset fixed nav */
  font-size: 14px;
}

.breadcrumb-item a {
  color: var(--navy-blue);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-item a:hover {
  color: var(--primary-red);
}

.breadcrumb-item.active {
  color: var(--text-muted);
}

.product-detail-hero {
  padding: 60px 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.product-gallery {
  position: sticky;
  top: 100px;
  background: var(--light-gray);
  border-radius: var(--radius-card);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s;
}

.product-gallery:hover {
  box-shadow: var(--shadow-hover);
}

.product-gallery__img {
  max-height: 400px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-gallery:hover .product-gallery__img {
  transform: scale(1.03);
}

.product-info__badge {
  display: inline-block;
  background: rgba(14, 43, 92, 0.08);
  color: var(--navy-blue);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 15px;
}

.product-info__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.product-info__subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.product-info__price-box {
  background: rgba(219, 4, 61, 0.03);
  border: 1px solid rgba(219, 4, 61, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
}

.price-box__rent {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-red);
}

.price-box__buy {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 5px;
}

.product-info__bullets {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.product-info__bullets li {
  margin-bottom: 12px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-info__bullets i {
  color: var(--primary-red);
  font-size: 16px;
}

/* Article style (.product-article) */
.product-article {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

.product-article h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-blue);
  margin-top: 35px;
  margin-bottom: 15px;
  border-left: 4px solid var(--primary-red);
  padding-left: 12px;
}

.product-article h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-blue);
  margin-top: 25px;
  margin-bottom: 12px;
}

.product-article p {
  margin-bottom: 20px;
  text-align: justify;
}

.product-article ul,
.product-article ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.product-article li {
  margin-bottom: 8px;
}

.product-article blockquote {
  background: var(--light-gray);
  border-left: 4px solid var(--navy-blue);
  padding: 15px 20px;
  font-style: italic;
  margin: 25px 0;
  border-radius: 0 8px 8px 0;
}

.product-article img {
  max-width: 100%;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Technical specs table */
.specs-card {
  border: 1px solid #eef0f3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #fff;
}

.specs-header {
  background: var(--navy-blue);
  color: #fff;
  padding: 15px 20px;
  font-weight: 700;
}

.specs-table {
  width: 100%;
  margin-bottom: 0;
}

.specs-table td {
  padding: 12px 20px;
  font-size: 14px;
  vertical-align: middle;
}

.specs-table tr:nth-child(even) {
  background-color: var(--light-gray);
}

.specs-table td.label-cell {
  font-weight: 600;
  color: var(--navy-blue);
  width: 40%;
}

/* Video Section */
.video-section {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 30px;
  margin-top: 40px;
  border: 1px solid #eee;
}

.video-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* ================================================================ */
/* PRODUCT DETAIL - GALLERY THUMBNAIL SLIDER                        */
/* ================================================================ */
.product-gallery__thumbs-slider {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 43, 92, 0.15) transparent;
  margin-top: 15px;
}

/* Custom sleek webkit scrollbars */
.product-gallery__thumbs-slider::-webkit-scrollbar {
  height: 6px;
}

.product-gallery__thumbs-slider::-webkit-scrollbar-track {
  background: transparent;
}

.product-gallery__thumbs-slider::-webkit-scrollbar-thumb {
  background: rgba(14, 43, 92, 0.15);
  border-radius: 10px;
}

.product-gallery__thumbs-slider::-webkit-scrollbar-thumb:hover {
  background: rgba(226, 135, 67, 0.6);
}

.thumbs-track {
  display: flex;
  padding: 4px 2px 8px;
}

.thumb-item {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 10px;
  background: #fff;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.thumb-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.thumb-item.active {
  border-color: #e28743;
  /* Active Gold theme matching flagship label */
  box-shadow: 0 4px 15px rgba(226, 135, 67, 0.25);
  background: #fff;
}

.thumb-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.thumb-item:hover img {
  transform: scale(1.05);
}

/* ================================================================ */
/* ACCESSORY CARD SECTION                                           */
/* ================================================================ */
.accessory-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.accessory-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(14, 43, 92, 0.08) !important;
  border-color: rgba(226, 135, 67, 0.2) !important;
}

.accessory-img-wrap {
  position: relative;
  background: radial-gradient(
    circle,
    rgba(253, 181, 21, 0.05) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 16px;
  padding: 10px;
  transition: all 0.4s ease;
}

.accessory-card:hover .accessory-img-wrap {
  background: radial-gradient(
    circle,
    rgba(253, 181, 21, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
}

.accessory-img-wrap img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accessory-card:hover .accessory-img-wrap img {
  transform: scale(1.06) translateY(-4px);
}

/* Sidebar Quiz Recommendation Button */
.btn-quiz-recommend {
  box-shadow: 0 4px 15px rgba(253, 181, 21, 0.2);
}

.btn-quiz-recommend:hover {
  background-color: #ffca18 !important;
  color: var(--navy-blue) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 181, 21, 0.35);
}

/* Product Gallery Main Showcase Area */
.product-gallery__main {
  height: 480px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

@media (max-width: 991px) {
  .product-gallery__main {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .product-gallery__main {
    height: 320px;
  }
}

.product-gallery__img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-gallery__main:hover .product-gallery__img {
  transform: scale(1.05);
}

/* ================================================================ */
/* PREMIUM CUSTOM MULTI-SELECT DROPDOWN STYLING                      */
/* ================================================================ */
.custom-multiselect .dropdown-menu {
  border: 1px solid rgba(14, 43, 92, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 30px rgba(14, 43, 92, 0.08) !important;
  padding: 8px !important;
  overflow-x: hidden !important;
}

/* Custom Elegant Thin Scrollbar */
.custom-multiselect .dropdown-menu::-webkit-scrollbar {
  width: 6px !important;
}

.custom-multiselect .dropdown-menu::-webkit-scrollbar-track {
  background: rgba(14, 43, 92, 0.02) !important;
  border-radius: 12px !important;
}

.custom-multiselect .dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(14, 43, 92, 0.15) !important;
  border-radius: 12px !important;
  transition: background 0.3s ease !important;
}

.custom-multiselect .dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(14, 43, 92, 0.3) !important;
}

.custom-multiselect .dropdown-item {
  display: flex !important;
  align-items: center !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  margin-bottom: 2px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  white-space: normal !important;
  /* Allow option text wrapping to prevent horizontal scroll */
  overflow-x: hidden !important;
}

.custom-multiselect .dropdown-item:hover {
  background-color: rgba(14, 43, 92, 0.04) !important;
}

.custom-multiselect .form-check-input {
  border-color: rgba(14, 43, 92, 0.3) !important;
  margin-top: 0 !important;
  position: static !important;
  flex-shrink: 0 !important;
}

.custom-multiselect .form-check-input:checked {
  background-color: var(--navy-blue) !important;
  border-color: var(--navy-blue) !important;
}

.custom-multiselect .dropdown-header {
  font-size: 11.5px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  margin-top: 4px !important;
  margin-bottom: 4px !important;
}

.custom-multiselect .dropdown-divider {
  border-top: 1px dashed rgba(14, 43, 92, 0.1) !important;
}
/* Article Page Enhancements */
.article-hero-section {
  background: #f8fafc;
  padding: 120px 0 40px;
  border-bottom: 1px solid #f1f5f9;
}

.article-hero-section .breadcrumb {
  margin-bottom: 24px !important;
}

.article-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
  margin-top: 12px;
}

@media (max-width: 768px) {
  .article-main-title {
    font-size: 1.7rem;
  }
}

.article-body {
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
}

.article-body strong {
  color: #1e293b;
}

/* Table of Contents Accordion */
.article-toc-accordion {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.article-toc-accordion:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(14, 43, 92, 0.03);
}

.toc-accordion-btn {
  background: none;
  border: none;
  padding: 16px 20px;
  font-size: 15px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.toc-accordion-btn:focus {
  outline: none;
}

.toc-chevron-icon {
  font-size: 12px;
  color: #64748b;
  transition: transform 0.25s ease;
}

.toc-accordion-btn.open .toc-chevron-icon {
  transform: rotate(180deg);
}

.toc-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 20px;
}

.toc-accordion-content.open {
  max-height: 500px;
  transition: max-height 0.3s ease-in-out;
  padding: 0 20px 20px;
}

.article-toc-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px dashed #e2e8f0;
  padding-top: 16px;
}

.toc-inner-link {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.toc-inner-link:hover {
  color: var(--red) !important;
  padding-left: 4px;
}

/* Mobile Enhancements for Blog Detail */
@media (max-width: 767px) {
  .article-hero-section {
    padding: 85px 0 16px !important;
  }

  .article-hero-section .breadcrumb {
    margin-bottom: 8px !important;
    font-size: 11.5px !important;
  }

  .article-hero-section .d-flex.align-items-center.gap-3.mb-3 {
    gap: 6px 12px !important;
    margin-bottom: 8px !important;
  }

  .news-category-badge {
    font-size: 10px !important;
    padding: 4px 10px !important;
  }

  .article-hero-section .text-muted {
    font-size: 11px !important;
  }

  .article-main-title {
    font-size: 1.25rem !important;
    /* Tiêu đề gọn gàng & nhỏ hơn trên mobile */
    line-height: 1.35 !important;
    margin-top: 6px !important;
    margin-bottom: 12px !important;
    font-weight: 800 !important;
  }

  .article-hero-section .border-top {
    margin-top: 12px !important;
    padding-top: 10px !important;
    gap: 12px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .article-hero-section .border-top > div:first-child {
    width: 100% !important;
    margin-bottom: 4px !important;
  }

  .article-hero-section .border-top > span.small.text-muted {
    display: inline-flex !important;
    align-items: center !important;
    margin-top: 2px !important;
  }

  .article-hero-section .border-top > div:last-child {
    margin-left: auto !important;
  }

  .article-author-avatar {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 11px !important;
  }

  .article-hero-section .article-author-avatar + div span.fw-bold {
    font-size: 13px !important;
  }

  .article-hero-section .article-author-avatar + div span.text-muted {
    font-size: 11px !important;
  }

  .article-share-btn {
    width: 30px !important;
    height: 30px !important;
    font-size: 11.5px !important;
    border-radius: 6px !important;
  }

  .article-share-strip .article-share-btn {
    width: auto !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .article-content-wrap {
    padding: 22px 16px !important;
    border-radius: 16px !important;
  }

  .article-body h2 {
    font-size: 1.25rem;
    margin-top: 28px;
    margin-bottom: 12px;
    padding-bottom: 6px;
  }

  .article-body p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.65;
  }

  /* Highlight key stats box mobile layout */
  .article-highlight-box {
    padding: 18px 14px !important;
  }

  .article-highlight-box .row {
    flex-direction: column;
    gap: 16px;
  }

  .article-highlight-box .row > div {
    width: 100% !important;
  }

  .article-stat-item {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    padding-bottom: 12px;
  }

  .article-highlight-box .row > div:last-child .article-stat-item {
    border-bottom: none;
    padding-bottom: 0;
  }

  .article-stat-num {
    font-size: 26px !important;
  }

  .article-stat-label {
    font-size: 11.5px !important;
    margin-top: 2px;
  }

  /* Cause cards & steps mobile optimization */
  .article-cause-card {
    padding: 12px !important;
    gap: 10px !important;
  }

  .article-step {
    padding: 12px !important;
    gap: 12px !important;
  }

  .article-step-num {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 14px !important;
  }

  .article-alert-box {
    padding: 12px 14px !important;
    font-size: 13.5px !important;
  }

  /* Author bio card alignment and stacking */
  .article-author-bio {
    padding: 18px 16px !important;
  }

  .article-author-bio .d-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .article-author-avatar-lg {
    width: 56px !important;
    height: 56px !important;
    font-size: 16px !important;
  }

  /* Sidebar styling fallback for tablet/mobile where it isn't hidden but could show below */
  .article-sidebar {
    margin-top: 30px;
  }

  /* Reduce section paddings globally for this page */
  section#article-body {
    padding-top: 16px !important;
    padding-bottom: 24px !important;
  }

  #related-mobile {
    padding: 36px 0 !important;
  }

  .news-card .p-4 {
    padding: 18px 16px !important;
  }
}
