@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,600;0,700;0,900;1,400&family=Montserrat:wght@600;700;800;900&display=swap');

:root {
  /* Lucky Sun Brand Colors — Phối màu Chuẩn Ảnh Sản Phẩm (Đỏ Mặt Trời - Xanh Navy Đậm - Trắng Xám Lạnh) */
  --primary-color: #E31818;        /* Đỏ tươi Lucky Sun (Logo & Ruy-băng nổi bật) */
  --primary-bright: #FF1E1E;       /* Đỏ rực điểm nhấn */
  --primary-dark: #8F0808;         /* Đỏ đậm tai gấp ruy-băng */
  --navy-color: #0B2C5F;           /* Xanh Navy Công Nghiệp Đậm (Chữ tiêu đề, Menu, Nút Hotline, Ruy-băng chính) */
  --navy-dark: #061A3A;            /* Xanh Navy Sâu (Tai gấp ruy-băng Navy & Footer) */
  --navy-bright: #0D47A1;          /* Xanh Royal sáng (Dải lượn sóng góc phải ảnh mẫu) */
  --secondary-color: #EBF2FA;      /* Nền Xanh Băng Nhạt (Thay thế hoàn toàn màu vàng kem cũ) */
  --gold-color: #0B2C5F;           /* Đồng bộ viền sang Xanh Navy / Xám lạnh */
  --gold-bright: #E31818;          /* Điểm nhấn nhãn danh mục sang Đỏ Lucky Sun */
  --cable-yellow: #FFD100;         /* Vàng năng lượng của vỏ dây cáp (chỉ dùng cho ngôi sao/huy hiệu nhỏ trên nền tối) */
  --head-color: #0B2C5F;           /* Toàn bộ tiêu đề chuyển sang Xanh Navy Đậm #0B2C5F theo ảnh mẫu */
  --bg-page: #F2F5F9;              /* Nền Trắng Xám Lạnh Studio hiện đại, sạch sẽ */
  --bg-card: #FFFFFF;              /* Nền Khung Trắng Tinh Khiết */
  --text-main: #1E293B;
  --text-muted: #52637A;
  --border-card: 1px solid #D8E2EE;
  --border-box: 1px solid #E2E8F0;
  --shadow-box: 0 6px 24px rgba(11, 44, 95, 0.06);
  --shadow-hover: 0 12px 30px rgba(11, 44, 95, 0.14);
  --round-15px: 15px;
  --round-12px: 12px;
  --pd-20px: 24px;
  --linear-red: linear-gradient(135deg, #B80D0D 0%, #E31818 50%, #C81010 100%);
  --linear-navy: linear-gradient(135deg, #072146 0%, #0B2C5F 55%, #0D3C82 100%);
  --linear-bg: linear-gradient(135deg, #B80D0D 0%, #E31818 50%, #C81010 100%);
  --linear-gold: linear-gradient(135deg, #E31818 0%, #C81010 100%);
  --container-width: 1220px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", "Roboto", sans-serif;
  color: var(--navy-color);
  line-height: 1.35;
  font-weight: 800;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

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

/* =========================================================
   1. HEADER & TOP BAR (Phối màu A3: Top Bar Đỏ #E31818 + Header Trắng + Menu & Hotline Xanh Navy #0B2C5F)
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #ffffff;
  transition: all 0.3s ease;
}

.header.is-sticky {
  box-shadow: 0 8px 28px rgba(11, 44, 95, 0.14);
}

/* Top bar: Đỏ tươi Lucky Sun (#E31818) nổi bật, viền đáy Xanh Navy (#0B2C5F) */
#top-bar {
  background: linear-gradient(90deg, #B80D0D 0%, #E31818 50%, #C81010 100%);
  color: #ffffff;
  min-height: 42px;
  display: flex;
  align-items: center;
  font-size: 13px;
  border-bottom: 2px solid var(--navy-color);
}

.header.is-sticky #top-bar {
  display: none;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-nav li {
  display: flex;
  align-items: center;
}

.top-bar-nav li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.35);
  margin: 0 12px;
}

.top-bar-nav a {
  color: #ffffff;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.top-bar-nav a:hover {
  color: var(--cable-yellow);
  text-decoration: underline;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.top-bar-right span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-right span i {
  color: var(--cable-yellow);
}

/* Main Header (#masthead): Nền Trắng tinh khiết */
#masthead {
  background-color: #ffffff;
  height: 90px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #DCE4F0;
  transition: height 0.25s ease;
  position: relative;
}

/* Dải viền mảnh Đỏ - Xanh Navy dưới chân Header mô phỏng đường lượn ảnh mẫu */
#masthead::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-color) 0%, var(--navy-color) 65%, var(--primary-color) 85%, var(--navy-bright) 100%);
}

.header.is-sticky #masthead {
  height: 74px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#logo {
  width: 175px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

#logo img {
  max-height: 76px;
  width: auto;
  object-fit: contain;
  transition: max-height 0.25s ease;
}

.header.is-sticky #logo img {
  max-height: 58px;
}

/* Main Navigation: Chữ màu Xanh Navy (#0B2C5F), hover có thanh gạch chân Đỏ (#E31818) giống ảnh mẫu */
.header-nav-wrap {
  flex: 1;
  display: flex;
  align-items: center;
}

.header-nav-main,
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav-main > li,
.main-nav > li {
  position: relative;
}

.header-nav-main > li > a,
.main-nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 15px;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--navy-color);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-radius: 6px;
  position: relative;
}

.header-nav-main > li > a::after,
.main-nav > li > a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary-color) 0%, rgba(227, 24, 24, 0.15) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.header-nav-main > li > a:hover,
.header-nav-main > li.active > a,
.main-nav > li > a:hover,
.main-nav > li.active > a {
  color: var(--primary-color);
  background: #F4F8FC;
}

.header-nav-main > li > a:hover::after,
.header-nav-main > li.active > a::after,
.main-nav > li > a:hover::after,
.main-nav > li.active > a::after {
  transform: scaleX(1);
}

.header-nav-main > li > a i.chevron,
.main-nav > li > a i.chevron {
  font-size: 11px;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.header-nav-main > li:hover > a i.chevron,
.main-nav > li:hover > a i.chevron {
  transform: rotate(180deg);
}

/* Standard Dropdown: Nền Trắng tinh khiết, viền trên Đỏ Lucky Sun #E31818 */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #ffffff;
  border-top: 3px solid var(--primary-color);
  border-bottom: 3px solid var(--navy-color);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 42px rgba(11, 44, 95, 0.16);
  padding: 12px 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s ease;
  z-index: 1100;
}

.header-nav-main > li:hover > .nav-dropdown,
.main-nav > li:hover > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-color);
  border-radius: 6px;
}

.nav-dropdown li a:hover {
  background: #F0F5FC;
  color: var(--primary-color);
  padding-left: 20px;
}

/* 3-Column Mega Menu: Nền Trắng Sáng, Tiêu đề cột Xanh Navy gạch chân Đỏ giống ảnh mẫu */
.mega-menu-3col {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  min-width: 840px !important;
  padding: 24px 20px !important;
  background: #ffffff !important;
  border-top: 3px solid var(--primary-color) !important;
  border-bottom: 4px solid var(--navy-color) !important;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 48px rgba(11, 44, 95, 0.18) !important;
}

.mega-menu-3col > .mega-col {
  flex: 1;
  padding: 0 16px;
  border-right: 1px solid #E2E8F0;
}

.mega-menu-3col > .mega-col:last-child {
  border-right: none;
}

.mega-col-title {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  color: var(--navy-color) !important;
  border-bottom: 2px solid #E2E8F0 !important;
  padding-bottom: 8px !important;
  margin-bottom: 12px !important;
  position: relative;
}

.mega-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 65px;
  height: 3px;
  background: var(--primary-color);
}

.mega-col ul li a {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #2D3B4E !important;
  padding: 7px 10px !important;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-col ul li a:hover {
  background: #F0F5FC !important;
  color: var(--primary-color) !important;
  padding-left: 16px !important;
}

.mega-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: #EBF2FA;
  color: var(--navy-color);
  border: 1px solid #CBD5E1;
}

/* Search button & Header Hotline CTA (.btn-header): Nút Hotline màu Xanh Navy (#0B2C5F) theo phương án A3 */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.search-trigger {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  background: #F4F7FA;
  color: var(--navy-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-trigger:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.btn-header {
  background: var(--linear-navy);
  border: 1.5px solid var(--navy-color);
  padding: 11px 22px !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 15.5px !important;
  letter-spacing: 0.4px;
  box-shadow: 0 5px 16px rgba(11, 44, 95, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-header .phone-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(227, 24, 24, 0.4);
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(227, 24, 24, 0.3);
  background: var(--linear-red);
  border-color: var(--primary-color);
}

.btn-header:hover .phone-icon {
  background: #ffffff;
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  background: #fff;
  color: var(--navy-color);
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}

/* =========================================================
   2. HERO SLIDER (Đầu trang - Phối Xanh Navy #0B2C5F & Đỏ #E31818)
   ========================================================= */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy-dark);
  border-bottom: 4px solid var(--primary-color);
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 540px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9);
  transform: scale(1.02);
  transition: transform 6s ease;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 26, 58, 0.9) 0%, rgba(11, 44, 95, 0.58) 52%, rgba(11, 44, 95, 0.12) 100%);
  display: flex;
  align-items: center;
}

.hero-content-box {
  max-width: 650px;
  color: #ffffff;
  padding: 34px;
  border-left: 5px solid var(--primary-color);
  background: rgba(6, 26, 58, 0.65);
  backdrop-filter: blur(8px);
  border-radius: 0 16px 16px 0;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.hero-title {
  color: #ffffff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.22;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-desc {
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--linear-red);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(227, 24, 24, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  background: var(--linear-navy);
  box-shadow: 0 10px 25px rgba(11, 44, 95, 0.45);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  border: 1.5px solid #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 8px;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--navy-color) !important;
}

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
  background: rgba(6, 26, 58, 0.55);
  padding: 6px 12px;
  border-radius: 20px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--primary-color);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.hero-arrow:hover {
  background: var(--primary-color);
  color: #fff;
}

.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

/* =========================================================
   3. SECTIONS & FLOATING RIBBON HEADERS (.ss-hp-1 & .ss-hp-2)
   Phương án A1 & A2:
   - Nền Trắng tinh khiết trên nền trang Trắng Xám lạnh (#F2F5F9)
   - Chữ Tiêu đề màu Xanh Navy Đậm (#0B2C5F) kèm thanh gạch ngang Đỏ (#E31818) giống ảnh mẫu
   - Ruy-băng xen kẽ: Khối chính dùng Xanh Navy (#0B2C5F), khối sản phẩm/báo giá/khuyến mãi dùng Đỏ (#E31818)
   ========================================================= */
.section-block {
  padding: 24px 0;
}

.card-frame {
  background: var(--bg-card);
  border: 1px solid #D5E0EE;
  border-radius: var(--round-15px);
  padding: 28px 24px;
  box-shadow: var(--shadow-box);
  position: relative;
}

/* Viền chân khung Card mô phỏng dải sóng Đỏ - Xanh Navy ở góc phải dưới của ảnh mẫu */
.card-frame::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--navy-color) 0%, var(--navy-bright) 70%, var(--primary-color) 100%);
  opacity: 0.85;
}

/* ss-hp-1: Intro Block & 4 Circular Feature Icons */
.ss-hp-1 .intro-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 30px;
}

.ss-hp-1 .intro-header h1 {
  font-size: 25px;
  font-weight: 900;
  color: var(--navy-color);
  margin-bottom: 18px;
  padding-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  position: relative;
}

/* Thanh gạch đỏ chuyển sắc dưới chữ "DÂY ĐIỆN LUCKY SUN" giống hệt ảnh mẫu */
.ss-hp-1 .intro-header h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #FF4D4D 70%, rgba(227, 24, 24, 0.1) 100%);
}

.ss-hp-1 .intro-header p {
  font-size: 15.5px;
  color: #334155;
  line-height: 1.75;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.usp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 14px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.usp-item:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: var(--navy-color);
  box-shadow: 0 10px 24px rgba(11, 44, 95, 0.1);
}

.usp-icon-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--linear-navy);
  border: 3px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 30px;
  box-shadow: 0 8px 20px rgba(11, 44, 95, 0.22);
  transition: background 0.25s ease;
}

.usp-item:hover .usp-icon-circle {
  background: var(--linear-red);
  border-color: var(--navy-color);
}

.usp-icon-circle img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.usp-title {
  font-weight: 800;
  font-size: 15.5px;
  color: var(--navy-color);
  margin-bottom: 5px;
}

.usp-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* ss-hp-2: Floating Ribbon Title — XEN KẼ XANH NAVY (#0B2C5F) & ĐỎ LUCKY SUN (#E31818) (Phương án A2) */
.ss-hp-2 .ribbon-header {
  text-align: center;
  margin-top: -48px;
  margin-bottom: 28px;
  position: relative;
  z-index: 3;
}

/* Mặc định (Khối chính / lẻ): Ruy-băng Xanh Navy Đậm (#0B2C5F) + Viền đáy Đỏ (#E31818) */
.ss-hp-2 .ribbon-header h2 {
  display: inline-block;
  font-size: 17.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: var(--linear-navy);
  color: #ffffff;
  padding: 12px 44px;
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;
  border-bottom: 3px solid var(--primary-color);
  position: relative;
  box-shadow: 0 6px 18px rgba(11, 44, 95, 0.25);
}

.ss-hp-2 .ribbon-header h2::before,
.ss-hp-2 .ribbon-header h2::after {
  content: "";
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: var(--navy-dark);
  z-index: -1;
  border-radius: 50px;
}

.ss-hp-2 .ribbon-header h2::before {
  left: -8px;
}

.ss-hp-2 .ribbon-header h2::after {
  right: -8px;
}

/* Xen kẽ các khối chẵn (.ss-hp-2:nth-of-type(even) hoặc .ribbon-red): Ruy-băng Đỏ tươi Lucky Sun (#E31818) + Viền đáy Xanh Navy (#0B2C5F) */
.ss-hp-2:nth-of-type(odd) .ribbon-header h2,
.ss-hp-2.ribbon-red .ribbon-header h2 {
  background: var(--linear-red);
  border-bottom: 3px solid var(--navy-color);
  box-shadow: 0 6px 18px rgba(227, 24, 24, 0.28);
}

.ss-hp-2:nth-of-type(odd) .ribbon-header h2::before,
.ss-hp-2:nth-of-type(odd) .ribbon-header h2::after,
.ss-hp-2.ribbon-red .ribbon-header h2::before,
.ss-hp-2.ribbon-red .ribbon-header h2::after {
  background-color: var(--primary-dark);
}

/* Giữ khối đầu tiên (4 DÒNG SẢN PHẨM CHỦ LỰC - nth-of-type(2) vì ss-hp-1 là section 2) là Xanh Navy, và xen kẽ tự nhiên Đỏ - Xanh Navy */

.section-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 22px;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid #CBD5E1;
  background: #F4F7FA;
  color: var(--navy-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--navy-color);
  color: #ffffff;
  border-color: var(--navy-color);
  box-shadow: 0 4px 12px rgba(11, 44, 95, 0.22);
}

/* =========================================================
   4. PRODUCT CARDS & CATEGORY GRID (Nền trắng sáng, chữ Xanh Navy #0B2C5F, nhãn Đỏ #E31818)
   ========================================================= */
.product-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: #ffffff;
  border: 1px solid #DCE4F0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.28s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--navy-color);
  box-shadow: 0 14px 30px rgba(11, 44, 95, 0.14);
}

/* Top-left hanging badge: Đỏ tươi Lucky Sun (#E31818) */
.product-badge {
  position: absolute;
  top: 0;
  left: 14px;
  z-index: 3;
  min-width: 48px;
  padding: 6px 11px 10px;
  background: var(--linear-red);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  box-shadow: 0 4px 10px rgba(227, 24, 24, 0.3);
}

.product-thumb-wrap {
  position: relative;
  padding-top: 82%;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FA 100%);
  overflow: hidden;
  border-bottom: 1px solid #E2E8F0;
}

.product-thumb-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform 0.35s ease;
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.06);
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat-label {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-color);
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.product-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy-color);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a:hover {
  color: var(--primary-color);
}

.product-specs-mini {
  font-size: 12.5px;
  color: #475569;
  margin-bottom: 12px;
  flex: 1;
}

.product-specs-mini li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs-mini li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.product-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed #CBD5E1;
  gap: 8px;
}

.product-price-tag {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary-color);
}

.btn-detail-sm {
  padding: 6px 13px;
  border-radius: 50px;
  background: #EBF2FA;
  color: var(--navy-color);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.product-card:hover .btn-detail-sm {
  background: var(--navy-color);
  color: #ffffff;
}

/* Category Showcase Cards (4 nhóm sản phẩm chủ lực) */
.cat-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cat-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 250px;
  border: 2px solid #DCE4F0;
  box-shadow: var(--shadow-box);
}

.cat-card:hover {
  border-color: var(--primary-color);
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cat-card:hover img {
  transform: scale(1.08);
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 26, 58, 0.08) 0%, rgba(11, 44, 95, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #ffffff;
}

.cat-card-count {
  display: inline-block;
  width: max-content;
  background: var(--primary-color);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 11px;
  border-radius: 30px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.cat-card-title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.cat-card-desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.88);
}

/* =========================================================
   5. TIN TỨC & VIDEOS SECTION (ss-hp-blog của yeunem.com)
   Tiêu đề Xanh Navy (#0B2C5F) + Thanh gạch ngang Đỏ (#E31818) giống ảnh mẫu
   ========================================================= */
.ss-hp-blog .blog-video-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.col-section-heading {
  font-size: 21px;
  font-weight: 900;
  color: var(--navy-color);
  text-transform: uppercase;
  padding-bottom: 10px;
  margin-bottom: 20px;
  position: relative;
  border-bottom: 2px solid #DCE4F0;
}

.col-section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #FF4D4D 100%);
}

.news-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Featured Large Overlay Post (Left of TIN TỨC) */
.news-featured-overlay {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 315px;
  height: 100%;
  box-shadow: 0 6px 18px rgba(11, 44, 95, 0.1);
  display: flex;
  align-items: flex-end;
  border: 1px solid #DCE4F0;
}

.news-featured-overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-featured-overlay:hover img {
  transform: scale(1.05);
}

.news-featured-overlay .overlay-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 26, 58, 0.08) 0%, rgba(11, 44, 95, 0.92) 100%);
}

.news-featured-overlay .box-text {
  position: relative;
  z-index: 2;
  padding: 22px 20px;
  text-align: center;
  width: 100%;
  color: #ffffff;
}

.news-featured-overlay .post-title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
}

.news-featured-overlay .post-title a:hover {
  color: var(--cable-yellow);
}

.news-featured-overlay .is-divider {
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  margin: 0 auto 8px;
}

.news-featured-overlay .post-excerpt {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Vertical List of Horizontal News / Video Cards */
.vertical-post-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.box-vertical-post {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F8FAFC;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(11, 44, 95, 0.03);
  transition: all 0.25s ease;
}

.box-vertical-post:hover {
  background: #ffffff;
  border-color: var(--navy-color);
  transform: translateX(3px);
  box-shadow: 0 6px 16px rgba(11, 44, 95, 0.1);
}

.box-vertical-post .box-image {
  width: 34%;
  flex-shrink: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.box-vertical-post .box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.box-vertical-post:hover .box-image img {
  transform: scale(1.06);
}

/* Play icon overlay for VIDEOS column */
.overlay-play-icon {
  position: absolute;
  inset: 0;
  background: rgba(11, 44, 95, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.overlay-play-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(227, 24, 24, 0.45);
  transition: transform 0.25s ease, background 0.25s ease;
}

.box-vertical-post:hover .overlay-play-circle {
  transform: scale(1.15);
  background: var(--navy-color);
  color: #ffffff;
}

.box-vertical-post .box-text {
  flex: 1;
  min-width: 0;
}

.box-vertical-post .post-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy-color);
  line-height: 1.38;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.box-vertical-post .post-title a:hover {
  color: var(--primary-color);
}

.box-vertical-post .is-divider {
  width: 32px;
  height: 2.5px;
  background: var(--primary-color);
}

.box-vertical-post .post-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* =========================================================
   6. VỀ LUCKY SUN & STATS & CERTIFICATES & REVIEWS
   (Bỏ hoàn toàn màu vàng kem cũ, dùng Trắng Xám Lạnh + Xanh Navy #0B2C5F + Đỏ #E31818)
   ========================================================= */
.stats-banner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.stat-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F5FC 100%);
  border: 1px solid #CBD5E1;
  border-top: 3px solid var(--navy-color);
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(11, 44, 95, 0.1);
}

.stat-card img {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  object-fit: contain;
}

.stat-num {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--navy-color);
  text-transform: uppercase;
}

/* About 2-Image + Rich Text */
.about-two-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.about-img-box {
  border-radius: 12px;
  overflow: hidden;
  height: 310px;
  border: 2px solid #DCE4F0;
}

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

.about-img-box:hover img {
  transform: scale(1.04);
}

.about-rich-content h2 {
  font-size: 21px;
  color: var(--navy-color);
  margin-bottom: 12px;
  padding-bottom: 10px;
  position: relative;
  border-bottom: 2px solid #DCE4F0;
}

.about-rich-content h2::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #FF4D4D 100%);
}

.about-rich-content h3 {
  font-size: 17px;
  color: var(--navy-color);
  margin: 16px 0 8px;
}

.about-rich-content p {
  margin-bottom: 12px;
  color: #334155;
}

.about-rich-content ul {
  margin-bottom: 14px;
  padding-left: 18px;
}

.about-rich-content ul li {
  list-style: disc;
  margin-bottom: 6px;
  color: #334155;
}

/* Customer Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cus-review-card {
  background: #F8FAFC;
  border: 1px solid #DCE4F0;
  border-top: 3px solid var(--navy-color);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-box);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.cus-review-card:hover {
  background: #ffffff;
  border-top-color: var(--primary-color);
  transform: translateY(-3px);
}

.cus-gallery-header {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.cus-gal-avatar {
  width: 48px;
  height: 48px;
  background: var(--linear-navy);
  color: #ffffff;
  border: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 800;
  margin-right: 14px;
  flex-shrink: 0;
}

.cus-gal-name {
  font-weight: 800;
  color: var(--navy-color);
  font-size: 15.5px;
}

.cus-gal-location {
  font-size: 12.5px;
  color: var(--text-muted);
}

.review-stars {
  color: #FFB800;
  font-size: 14px;
  margin-bottom: 10px;
}

.review-quote {
  font-size: 14px;
  color: #334155;
  font-style: italic;
  margin-bottom: 12px;
}

/* Certificates & Partners Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.cert-item {
  background: #fff;
  border: 1px solid #DCE4F0;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  transition: all 0.25s ease;
}

.cert-item:hover {
  border-color: var(--navy-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(11, 44, 95, 0.1);
}

.cert-item img {
  height: 150px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 6px;
}

.cert-item span {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-color);
  display: block;
}

.partner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed #CBD5E1;
}

.partner-logo-box {
  background: #fff;
  border: 1px solid #DCE4F0;
  border-radius: 10px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;
}

.partner-logo-box img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

/* =========================================================
   7. SPECIFICATION TABLE (.cus-specs-table)
   Đổi nền dòng lẻ từ vàng kem sang Xanh Băng Nhạt (#F0F5FC)
   ========================================================= */
.cus-specs-table {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #DCE4F0;
  overflow: hidden;
  margin-bottom: 24px;
}

.cus-spec-row-frontend {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #E2E8F0;
  background-color: #F4F8FC;
  padding: 16px 22px;
}

.cus-spec-row-frontend:nth-child(2n) {
  background-color: #ffffff;
}

.cus-spec-row-frontend:last-child {
  border-bottom: none;
}

.cus-spec-heading {
  flex: 0 0 32%;
  font-weight: 800;
  color: var(--navy-color);
  display: flex;
  align-items: center;
  padding-right: 15px;
}

.cus-spec-content {
  flex: 1;
  color: #334155;
}

.cus-spec-badge {
  background-color: #EBF2FA;
  color: var(--navy-color);
  border: 1px solid #B8CCE4;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 8px;
  margin-bottom: 4px;
}

/* Technical data tables from luckysun.com.vn */
.tech-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
}

.tech-table-wrap table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 13.5px;
}

.tech-table-wrap th,
.tech-table-wrap td {
  padding: 10px 12px !important;
  border: 1px solid #CBD5E1 !important;
  text-align: center !important;
}

.tech-table-wrap thead tr,
.tech-table-wrap tr.row-1,
.tech-table-wrap tr.row-2 {
  background: var(--navy-color) !important;
  color: #ffffff !important;
}

/* =========================================================
   8. FOOTER 3 TẦNG (Phối Xanh Navy #0B2C5F & Đỏ Lucky Sun #E31818)
   ========================================================= */
.ss-footer-1 {
  background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy-color) 60%, var(--primary-color) 100%);
  color: #ffffff;
  padding: 28px 0;
  border-top: 4px solid var(--primary-color);
}

.footer-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.footer-cta-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-cta-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  flex-shrink: 0;
}

.footer-cta-info h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 4px;
}

.footer-cta-info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.footer-cta-form {
  background: rgba(255, 255, 255, 0.16);
  padding: 10px;
  border-radius: 10px;
  display: flex;
  gap: 8px;
}

.footer-cta-form input {
  flex: 1;
  padding: 11px 14px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  outline: none;
}

.footer-cta-form button {
  background: var(--primary-color);
  color: #ffffff;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: 6px;
  border: 1px solid #ffffff;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-cta-form button:hover {
  transform: translateY(-1px);
  background: var(--navy-dark);
}

.ss-footer-2 {
  background: #ffffff;
  padding: 44px 0 36px;
  border-top: 1px solid #DCE4F0;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-col-title {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-color);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #DCE4F0;
  position: relative;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

.footer-company-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #334155;
}

.footer-company-list li i {
  color: var(--primary-color);
  margin-top: 4px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.footer-links-list li {
  border-bottom: 1px solid #F1F5F9;
}

.footer-links-list li:last-child {
  border-bottom: none;
}

.footer-links-list a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: #334155;
}

.footer-links-list a:hover {
  color: var(--primary-color);
  padding-left: 6px;
}

.ss-footer-3 {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.88);
  padding: 14px 0;
  text-align: center;
  font-size: 13.5px;
}

/* =========================================================
   9. FLOATING CONTACT BUTTONS (.frame-button-contact)
   ========================================================= */
.frame-button-contact {
  position: fixed;
  right: 16px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.contact-fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: transform 0.25s ease;
}

.contact-fab:hover {
  transform: scale(1.1);
}

.contact-fab.fab-phone {
  background: var(--linear-red);
  border: 2px solid #ffffff;
  animation: pulse-ring 2s infinite;
}

.contact-fab.fab-zalo {
  background: #0068ff;
}

.contact-fab.fab-map {
  background: var(--navy-color);
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(227, 24, 24, 0.65); }
  70% { box-shadow: 0 0 0 14px rgba(227, 24, 24, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 24, 24, 0); }
}

/* Page Banner for Subpages: Nền Xanh Navy Đậm kết hợp dải sóng Đỏ giống góc dưới ảnh mẫu */
.page-hero-banner {
  background: linear-gradient(125deg, var(--navy-dark) 0%, var(--navy-color) 65%, var(--primary-color) 100%);
  color: #ffffff;
  padding: 44px 0;
  border-bottom: 4px solid var(--primary-color);
  margin-bottom: 24px;
}

.page-hero-banner h1 {
  color: #ffffff;
  font-size: 30px;
  margin-bottom: 8px;
}

.breadcrumb-nav {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-nav a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}

/* Modals (Search & Video Player) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 26, 58, 0.78);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active,
.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 860px;
  width: 100%;
  padding: 24px;
  position: relative;
  border-top: 4px solid var(--primary-color);
  border-bottom: 4px solid var(--navy-color);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #F1F5F9;
  color: var(--navy-color);
  font-size: 20px;
  cursor: pointer;
}

/* Product Detail Page Layout */
.product-detail-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}

.product-detail-gallery {
  background: #ffffff;
  border: 1px solid #DCE4F0;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  box-shadow: 0 6px 20px rgba(11, 44, 95, 0.06);
}

.product-detail-gallery img {
  max-height: 340px;
  object-fit: contain;
}

.product-detail-summary h1,
.product-detail-summary .product-detail-name {
  font-size: 26px;
  color: var(--navy-color);
  margin: 8px 0 14px;
}

.product-detail-price-box {
  background: linear-gradient(135deg, #F0F5FC 0%, #FFF5F5 100%);
  border: 1px solid #CBD5E1;
  border-left: 5px solid var(--primary-color);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 18px;
}

.product-detail-price-box .price-big {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color);
  margin: 4px 0;
}

.product-overview-list {
  padding-left: 18px;
  color: #334155;
  line-height: 1.7;
}

.product-overview-list li {
  list-style: disc;
  margin-bottom: 6px;
}

.spec-html-wrapper {
  margin-top: 24px;
  overflow-x: auto;
}

.spec-html-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 13.5px;
}

.spec-html-wrapper table td,
.spec-html-wrapper table th {
  border: 1px solid #CBD5E1;
  padding: 8px 10px;
}

.spec-html-wrapper table tr:first-child td,
.spec-html-wrapper table tr:first-child th {
  background: var(--navy-color);
  color: #ffffff;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
  .header-nav-wrap { display: none; }
  .header-nav-wrap.mobile-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 18px 20px;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    z-index: 1500;
  }
  .header-nav-wrap.mobile-open .main-nav,
  .header-nav-wrap.mobile-open .header-nav-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .mobile-menu-btn { display: inline-flex; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-grid-4, .cat-showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .ss-hp-blog .blog-video-layout { grid-template-columns: 1fr; }
  .stats-banner-grid, .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-cta-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  #top-bar { display: none; }
  .hero-slides { height: 420px; }
  .hero-title { font-size: 24px; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid-4, .cat-showcase-grid, .reviews-grid, .about-two-images, .news-inner-grid {
    grid-template-columns: 1fr;
  }
  .stats-banner-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-cta-form { flex-direction: column; }
  .ss-hp-2 .ribbon-header { margin-top: -26px; }
  .ss-hp-2 .ribbon-header h2 {
    font-size: 14.5px;
    padding: 10px 20px;
    border-radius: 10px;
  }
  .ss-hp-2 .ribbon-header h2::before,
  .ss-hp-2 .ribbon-header h2::after { display: none; }
  .cus-spec-row-frontend { flex-direction: column; gap: 6px; }
}

/* ===== Thông báo form báo giá ===== */
.lead-notice{display:flex;gap:10px;align-items:flex-start;padding:12px 16px;border-radius:10px;font-size:14.5px;line-height:1.55;margin:0 0 14px}
.lead-notice i{margin-top:3px}
.lead-notice-ok{background:#ECFDF3;border:1px solid #86EFAC;color:#14532D}
.lead-notice-err{background:#FEF2F2;border:1px solid #FCA5A5;color:#7F1D1D}
#form-bao-gia:empty{display:none}
footer #form-bao-gia{margin-top:14px}
