/* ============================================
   SHARED NAVBAR CSS - Đồng bộ với trang chủ
   Dùng cho tất cả trang sản phẩm (sp1-sp16)
   ============================================ */

/* === Variables === */
:root {
  --brand: #0ea5e9;
  --brand-2: #0284c7;
  --accent: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --txt: #1e293b;
  --muted: #64748b;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --radius: 18px;
  --radius-sm: 12px;
  --container-width: 1200px;
  --glass: rgba(255, 255, 255, .9);
  --glass-border: rgba(0, 0, 0, .08);
}

/* === Fix sticky: override SP page CSS that breaks position:sticky === */
html {
  height: auto !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

/* === Header Fixed Container === */
.header-fixed-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  background: #fff;
}

/* === Top Header === */
.top-header-wrap {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 4px 0;
  font-size: 14px;
}

.top-header-wrap .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-header-logo {
  display: flex;
  align-items: center
}

.top-header-logo img {
  height: 25px
}

.top-award {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center
}

.award-carousel {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden
}

.award-item {
  flex-shrink: 0;
  text-align: center
}

.award-item img {
  height: 41px;
  width: auto;
  max-width: 254px
}

/* Top header menu */
.top-header-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-header-menu a {
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.top-header-menu a:hover {
  color: var(--brand);
  background: rgba(14, 165, 233, 0.08);
}

.top-header-menu i {
  font-size: 16px
}

/* Notifications */
.cart-notify {
  position: relative
}

.cart-notify.check-out::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
}

.notifications {
  position: relative
}

.notifications-length {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  min-width: 300px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.dropdown-menu.show {
  display: block
}

.dropdown-header {
  padding: 12px 16px;
  border-bottom: 1px solid #e9ecef;
  font-weight: 600;
  color: #495057
}

.notifications-item {
  border-bottom: 1px solid #f8f9fa
}

.notifications-item:last-child {
  border-bottom: none
}

.notifications-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #495057
}

.notifications-item a:hover {
  background: #f8f9fa
}

.notifications-content img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px
}

.notifications-content .ntfct-header {
  font-size: 13px;
  line-height: 1.4
}

/* === Mobile Language Bar === */
.mobile-lang-bar {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e6fba, #2563eb);
  width: 430px;
  max-width: 100%;
  height: 33px;
  padding: 0;
  margin: 0 auto;
}

.mobile-lang-bar .lang-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 2px 4px;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}

.mobile-lang-bar .lang-link.active {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* === Header / Navigation === */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--glass);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--blue-dark);
}

.logo img {
  height: 42px;
  width: 42px;
  border-radius: 10px
}

.logo span {
  font-size: 1.5rem;
  font-weight: 900;
  display: inline-block;
  line-height: 1;
  background: linear-gradient(to right,
      #ff0000 0%, #ff0000 40%, var(--c1, #ff7f00) 45%,
      var(--c2, #ffff00) 50%, var(--c1, #ff7f00) 55%,
      #ff0000 60%, #ff0000 100%);
  background-size: 400% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoShine 4s ease-in-out infinite alternate;
  white-space: nowrap;
}

@keyframes logoShine {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 100% center;
  }
}

/* Hide mobile-logo on desktop */
.logo.mobile-logo {
  display: none;
}

/* === Festive Effects === */
.festive-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99;
  overflow: hidden;
}

.festive-particle {
  position: absolute;
  top: -20px;
  animation: festiveFall linear forwards;
  opacity: 0.6;
  user-select: none;
  pointer-events: none;
}

@keyframes festiveFall {
  0% {
    transform: translateY(-20px) rotate(0deg);
    opacity: 0;
  }

  15% {
    opacity: 0.9;
  }

  100% {
    transform: translateY(200px) rotate(360deg);
    opacity: 0;
  }
}

/* === Menu === */
.menu {
  display: flex;
  gap: 10px;
  align-items: center;
}

.menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--brand-2);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: color .3s ease;
}

.menu a:hover {
  color: var(--brand);
}

/* Underline hover */
.menu-item>a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  width: 0;
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
  transition: width .3s ease;
}

.menu-item:hover>a::after {
  width: calc(100% - 24px);
}

/* SALE badge */
.nav-badge-sale {
  display: inline-block;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  margin-left: 5px;
  letter-spacing: 0.5px;
  line-height: 1.3;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(220, 38, 38, .3);
  animation: salePulse 2s ease-in-out infinite;
}

@keyframes salePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* === Dropdown / Submenu === */
.menu-item {
  position: static;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-arrow {
  font-size: 10px;
  color: #bbb;
  transition: .3s;
  margin-left: 0;
}

.menu-item:hover .nav-arrow {
  transform: rotate(180deg);
  color: var(--brand);
}

.menu-item:hover .submenu,
.menu-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu,
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12), 0 1px 3px rgba(0, 0, 0, .06);
  padding: 32px 40px 36px;
  opacity: 0;
  visibility: hidden;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  z-index: 100;
  transform: translateY(8px);
  border-top: 2px solid var(--brand);
}

.mega-dropdown {
  position: static;
}

.mega-menu {
  padding: 24px 28px 28px;
}

.mega-menu .submenu-content {
  gap: 28px;
}

.mega-menu .submenu-section h4 {
  margin-bottom: 10px;
  font-size: 12px;
  padding-left: 10px;
}

.mega-menu .submenu-section h4::after {
  display: none;
}

.mega-menu .submenu-items {
  gap: 2px;
}

.mega-menu .submenu-item {
  padding: 7px 8px;
  gap: 10px;
  border-radius: 8px;
}

.mega-menu .submenu-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 15px;
}

.mega-menu .submenu-item-content h5 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.mega-menu .submenu-item-content p {
  font-size: 11px;
  line-height: 1.2;
  max-width: 200px;
}

.mega-menu .submenu-item:hover {
  transform: scale(1.04);
  background: linear-gradient(135deg, #f0f7ff, #e8f4fd);
  box-shadow: 0 4px 16px rgba(14, 165, 233, .12);
  z-index: 10;
  position: relative;
}

.mega-menu .submenu-item:hover .submenu-item-content h5 {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: none;
  color: var(--brand);
}

.mega-menu .submenu-item:hover .submenu-item-content p {
  white-space: normal;
  overflow: visible;
  max-width: none;
}

/* Submenu content */
.submenu-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.submenu-section {
  animation: megaSlideUp .5s ease backwards;
}

.submenu-section:nth-child(1) {
  animation-delay: .1s;
}

.submenu-section:nth-child(2) {
  animation-delay: .2s;
}

.submenu-section:nth-child(3) {
  animation-delay: .3s;
}

@keyframes megaSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.submenu-section h4 {
  margin: 0 0 16px 0;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--brand);
  padding-left: 14px;
  border-left: 3px solid var(--brand);
  line-height: 1;
  position: relative;
}

.submenu-section h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 14px;
  width: 30px;
  height: 2px;
  background: var(--brand);
  transition: width .3s;
}

.submenu-section:hover h4::after {
  width: 60px;
}

.submenu-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.submenu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 8px;
  transition: all .25s ease;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
}

.submenu-item:hover {
  background: linear-gradient(135deg, #f0f7ff, #e8f4fd);
  transform: translateX(4px);
  border-color: rgba(14, 165, 233, .1);
  box-shadow: 0 4px 12px rgba(14, 165, 233, .06);
}

.submenu-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f0f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--brand);
  flex-shrink: 0;
  transition: all .3s ease;
}

.submenu-item:hover .submenu-icon {
  background: var(--brand);
  color: white;
  transform: rotate(360deg) scale(1.05);
  box-shadow: 0 4px 12px rgba(14, 165, 233, .2);
}

.submenu-item-content h5 {
  margin: 0 0 1px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--txt);
  transition: color .3s;
}

.submenu-item:hover .submenu-item-content h5 {
  color: var(--brand);
}

.submenu-item-content p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.2;
}

/* Badges */
.badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  color: white;
  font-weight: 700;
  margin-left: 8px;
  flex-shrink: 0;
  letter-spacing: 0.3px;
  line-height: 1;
}

.badge-hot {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 2px 6px rgba(220, 38, 38, .25);
}

.badge-new {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 2px 6px rgba(22, 163, 74, .25);
}

.badge-sale {
  background: linear-gradient(135deg, #f97316, #ea580c);
  box-shadow: 0 2px 6px rgba(234, 88, 12, .25);
}

/* CTA / buttons */
.header-fixed-container .cta {
  font-family: "Poppins", Inter, sans-serif;
  padding: 8px 10px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  border: none;
  border-radius: 14px;
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow);
  cursor: pointer;
  height: 40px;
  min-width: 120px;
  line-height: 10px;
}

.lang-select {
  padding: 8px 10px;
  border: 1px solid var(--brand-2);
  border-radius: 14px;
  font-size: 14px;
  background: #fff;
  color: var(--brand-2);
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  height: 40px;
  min-width: 80px;
}

.lang-select:hover {
  background: rgba(14, 165, 233, .08)
}

.hamb {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* === Mobile Responsive === */
@media (max-width: 900px) {
  .mobile-lang-bar {
    display: flex;
  }

  .top-header-wrap {
    display: none;
  }

  .lang-select {
    display: none !important;
  }

  .nav .cta {
    display: none !important;
  }

  .menu {
    display: none;
  }

  .mobile-logo {
    display: flex !important;
  }

  .mobile-logo.logo span {
    font-size: 18px !important;
    font-family: 'Montserrat', Inter, sans-serif !important;
  }

  .mobile-logo.logo img {
    width: 34px !important;
    height: 34px !important;
  }

  .nav {
    padding: 0 12px 0 4px;
    height: 52px;
    align-items: center;
  }

  .mobile-logo.logo {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    line-height: 1;
  }

  .mobile-logo.logo img {
    display: inline-block;
    vertical-align: middle;
  }

  .mobile-logo.logo span {
    line-height: 1;
    vertical-align: middle;
  }

  .hamb {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    line-height: 1;
  }
}

/* === Mobile ≤768px — Đồng bộ với trang chủ === */
@media (max-width: 768px) {
  .hamb {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--brand-2);
    cursor: pointer;
    padding: 10px;
  }

  /* Fullscreen overlay mobile menu — giống trang chủ */
  /* Old #mobileMenu styles removed — now using .mobile-menu-dropdown class */

  /* Header nav layout */
  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
  }

  .nav>div:last-child {
    display: none;
  }

  .top-header-wrap {
    display: none;
  }
}

/* ═══════════════════════════════════════════
   MOBILE MENU DROPDOWN — Premium Card Style
   ═══════════════════════════════════════════ */
.mobile-menu-dropdown {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: #f8fafc;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  overflow-y: auto;
  overflow-x: hidden
}

.mobile-menu-dropdown.open {
  opacity: 1;
  pointer-events: auto
}

.mob-menu-header-wrap {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  margin: 0;
  padding: 0
}

.mobile-menu-dropdown .mobile-lang-bar {
  margin: 0 auto;
  border-radius: 0;
}

.mobile-menu-dropdown .mobile-lang-bar .lang-link {
  color: rgba(255, 255, 255, 0.7) !important;
}

.mobile-menu-dropdown .mobile-lang-bar .lang-link.active {
  color: #fff !important;
}

/* Fix Liên hệ card — force inline layout */
.mobile-menu-dropdown .mob-card-link {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

/* Fix social icons — force perfect circles like homepage */
.mobile-menu-dropdown .mob-social-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  aspect-ratio: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  color: #fff !important;
  text-decoration: none !important;
  overflow: hidden !important;
}
.mobile-menu-dropdown .mob-social-zalo {
  background: #0068ff !important;
  box-shadow: 0 3px 10px rgba(0,104,255,.3) !important;
}
.mobile-menu-dropdown .mob-social-phone {
  background: #10b981 !important;
  box-shadow: 0 3px 10px rgba(16,185,129,.3) !important;
}
.mobile-menu-dropdown .mob-social-email {
  background: #f59e0b !important;
  box-shadow: 0 3px 10px rgba(245,158,11,.3) !important;
}

.mob-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px)
}

.mob-menu-header .logo img {
  height: 36px;
  width: auto
}

.mob-menu-header .logo span {
  font-size: 15px;
  font-weight: 800
}

.mob-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease
}

.mob-close-btn:hover,
.mob-close-btn:active {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: rotate(90deg)
}

.mob-accordion-nav {
  padding: 6px 16px 8px
}

.mob-accordion {
  margin-bottom: 8px
}

.mob-card-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  transition: all .2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04)
}

.mob-card-btn:hover,
.mob-card-btn:active {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
  transform: translateY(-1px)
}

.mob-accordion.active .mob-card-btn {
  border-color: #93c5fd;
  box-shadow: 0 4px 16px rgba(14, 165, 233, .12);
  background: linear-gradient(135deg, #f0f9ff, #fff)
}

.mob-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0
}

.mob-icon-blue {
  background: #dbeafe
}

.mob-icon-green {
  background: #d1fae5
}

.mob-icon-orange {
  background: #ffedd5
}

.mob-icon-purple {
  background: #ede9fe
}

.mob-icon-red {
  background: #fee2e2
}

.mob-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0
}

.mob-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3
}

.mob-card-desc {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
  line-height: 1.3
}

.mob-card-arrow {
  font-size: 12px;
  color: #94a3b8;
  transition: transform .25s ease, color .25s ease;
  flex-shrink: 0
}

.mob-accordion.active .mob-card-arrow {
  transform: rotate(90deg);
  color: #0ea5e9
}

.mob-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  animation: mob-badge-pulse 2s ease-in-out infinite;
  flex-shrink: 0
}

@keyframes mob-badge-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .85;
    transform: scale(1.05)
  }
}

.mob-card-link {
  text-decoration: none;
  color: inherit
}

.mob-card-link:hover,
.mob-card-link:active {
  color: inherit
}

.mob-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 8px
}

.mob-accordion.active .mob-accordion-panel {
  max-height: 1200px;
  padding-top: 8px
}

.mob-sub-heading {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 0 4px;
  margin-top: 4px
}

.mob-sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  font-size: 13px;
  color: #334155;
  text-decoration: none;
  border-radius: 10px;
  transition: all .15s ease
}

.mob-sub-item:hover,
.mob-sub-item:active {
  background: #f1f5f9;
  transform: translateX(4px)
}

.mob-sub-icon {
  font-size: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 8px;
  flex-shrink: 0
}

.mob-menu-bottom {
  padding: 12px 16px 20px;
  text-align: center
}

.mob-cta-btn {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 4px 16px rgba(14, 165, 233, .3);
  letter-spacing: .3px
}

.mob-cta-btn:hover,
.mob-cta-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(14, 165, 233, .4)
}

.mob-social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px
}

.mob-social-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  transition: all .2s ease;
  overflow: hidden;
  padding: 0;
}

.mob-social-icon:hover {
  transform: scale(1.1)
}

.mob-social-zalo {
  background: #0068ff;
  box-shadow: 0 3px 10px rgba(0, 104, 255, .3)
}

.mob-social-phone {
  background: #10b981;
  box-shadow: 0 3px 10px rgba(16, 185, 129, .3)
}

.mob-social-email {
  background: #f59e0b;
  box-shadow: 0 3px 10px rgba(245, 158, 11, .3)
}

.mob-contact-info {
  margin-top: 10px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500
}

/* ============================================
   SHARED FOOTER
   ============================================ */
.footer {
  background: linear-gradient(180deg, #0b1628, #0f1d32);
  color: #e5e7eb;
  padding: 52px 0 0;
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 15px;
}

.footer p,
.footer li {
  font-size: 14px;
  line-height: 1.8;
  color: #94a3b8;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul a {
  color: #94a3b8;
  transition: color .2s;
  display: block;
  padding: 2px 0;
  text-decoration: none;
}

.footer ul a:hover {
  color: #0ea5e9;
}

.footer-bottom {
  margin-top: 28px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 18px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: #64748b;
}

.footer-address,
.footer-hours {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

.footer-contact {
  margin-top: 10px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.footer-contact a {
  color: #94a3b8;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  transition: color .2s;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #0ea5e9;
}

/* ============================================
   SHARED FLOATING BUTTONS
   ============================================ */
.floating-btns {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  color: #fff;
}

.float-btn:hover {
  transform: scale(1.12);
}

.float-zalo {
  background: #0068ff;
  box-shadow: 0 4px 14px rgba(0, 104, 255, 0.35);
}

.float-zalo:hover {
  box-shadow: 0 6px 20px rgba(0, 104, 255, 0.5);
}

.float-hotline {
  background: #e53e3e;
  box-shadow: 0 0 0 6px rgba(66, 153, 225, 0.35), 0 4px 14px rgba(229, 62, 62, 0.3);
  animation: ring-pulse 2s ease-in-out infinite;
}

.float-hotline:hover {
  box-shadow: 0 0 0 8px rgba(66, 153, 225, 0.5), 0 6px 20px rgba(229, 62, 62, 0.4);
}

.float-hotline i {
  animation: phone-shake 1.5s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% {
    box-shadow: 0 0 0 6px rgba(66, 153, 225, 0.35), 0 4px 14px rgba(229, 62, 62, 0.3);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(66, 153, 225, 0.15), 0 4px 14px rgba(229, 62, 62, 0.3);
  }
}

@keyframes phone-shake {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-12deg); }
  20% { transform: rotate(12deg); }
  30% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  50%, 100% { transform: rotate(0deg); }
}

.float-scroll {
  background: #0ea5e9;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: scale(0);
}

.float-scroll.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.float-scroll:hover {
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

/* ============================================
   SHARED LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

/* ============================================
   SHARED CTA BAND (SP1 style)
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0284c7 100%);
  border-radius: 18px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  box-shadow: 0 8px 28px rgba(3, 105, 161, .25);
}

.cta-band .cta-desc h3,
.cta-band-header h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.cta-band .cta-desc .muted,
.cta-band .cta-desc p,
.cta-band-header .muted {
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
}

.cta-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cta-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.cta-input-group i {
  position: absolute;
  left: 10px;
  color: rgba(255, 255, 255, .4);
  font-size: 12px;
  pointer-events: none;
  z-index: 2;
}

.cta-form input,
.cta-band input {
  padding: 10px 14px 10px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  transition: all .2s ease;
  width: 160px;
}

.cta-form input::placeholder,
.cta-band input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.cta-form input:focus,
.cta-band input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .15);
}

.cta-submit,
.cta-band button[type="submit"],
.cta-band .cta {
  background: #fff !important;
  color: #0369a1 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
}

.cta-submit:hover,
.cta-band button[type="submit"]:hover,
.cta-band .cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}

/* CTA band responsive */
@media (max-width: 768px) {
  .cta-band {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    gap: 16px;
  }
  .cta-form {
    justify-content: center;
    width: 100%;
  }
  .cta-form input,
  .cta-band input {
    width: 100%;
    max-width: 300px;
  }
}

/* ============================================
   SHARED COMMON STYLES
   ============================================ */
.callout {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1fcff;
  border: 1px dashed #9bd9f7;
  border-radius: 12px;
  padding: 10px 12px;
  color: #0b3045;
  margin-top: 10px;
}

/* Footer responsive */
@media (max-width: 768px) {
  .fgrid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer {
    padding: 36px 0 0;
  }
}

/* ============================================
   SHARED HERO - Light Premium
   ============================================ */
.hero {
  position: relative !important;
  background: linear-gradient(165deg, #eef6ff 0%, #f0f9ff 40%, #f8fafc 100%) !important;
  padding: 60px 0 50px !important;
  overflow: hidden !important;
  color: #0b1a2e !important;
}

.hero::before {
  content: '' !important;
  position: absolute !important;
  top: -40% !important;
  right: -15% !important;
  width: 500px !important;
  height: 500px !important;
  background: radial-gradient(circle, rgba(14, 165, 233, .12) 0%, transparent 70%) !important;
  pointer-events: none !important;
}

.hero::after {
  content: '' !important;
  position: absolute !important;
  bottom: -30% !important;
  left: -10% !important;
  width: 400px !important;
  height: 400px !important;
  background: radial-gradient(circle, rgba(6, 182, 212, .08) 0%, transparent 70%) !important;
  pointer-events: none !important;
  display: block !important;
}

.hero-bg {
  display: none !important;
}

.hero-inner {
  position: relative !important;
  z-index: 2 !important;
  padding: 20px 0 !important;
  color: #0b1a2e !important;
  text-align: left !important;
}

.pill {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px !important;
  border: 1px solid rgba(14, 165, 233, .25) !important;
  border-radius: 999px !important;
  color: #0369a1 !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  background: rgba(14, 165, 233, .06) !important;
  backdrop-filter: blur(4px) !important;
}

.pill i {
  color: #f59e0b !important;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 44px) !important;
  line-height: 1.12 !important;
  margin-bottom: 16px !important;
  font-weight: 900 !important;
  color: #0b1a2e !important;
  text-shadow: none !important;
}

.hero h1 span {
  background: linear-gradient(90deg, #0369a1, #0ea5e9) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.hero .lead {
  color: #475569 !important;
  font-size: clamp(14px, 1.5vw, 16px) !important;
  margin-bottom: 22px !important;
  max-width: 600px !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
}

.hero-actions {
  display: flex !important;
  gap: 12px !important;
  margin-top: 22px !important;
  flex-wrap: wrap !important;
}

.cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
  border: none;
  border-radius: 12px;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(14, 165, 233, .3);
  transition: all .25s ease;
  text-decoration: none;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, .45);
}

.ghost {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  color: #0b1a2e !important;
  border-radius: 12px;
  padding: 13px 24px;
  font-weight: 700;
  font-size: 15px;
  transition: all .25s ease;
  text-decoration: none;
}

.ghost:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0369a1 !important;
}

.hero-stats {
  display: flex !important;
  gap: 12px !important;
  margin-top: 28px !important;
  flex-wrap: wrap !important;
}

.hero-stats div,
.hero-stats .stat {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06) !important;
  padding: 14px 20px !important;
  border-radius: 14px !important;
  text-align: center !important;
  color: #0b1a2e !important;
  transition: all .3s ease !important;
}

.hero-stats div:hover,
.hero-stats .stat:hover {
  border-color: rgba(14, 165, 233, .35) !important;
  box-shadow: 0 8px 24px rgba(14, 165, 233, .12) !important;
  transform: translateY(-3px) !important;
}

.hero-stats div strong,
.hero-stats strong,
.hero-stats .stat strong {
  display: block !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #0369a1 !important;
  -webkit-text-fill-color: #0369a1 !important;
  background: none !important;
  line-height: 1.2 !important;
}

.hero-stats div span,
.hero-stats .stat span {
  font-size: 12px !important;
  color: #64748b !important;
  font-weight: 600 !important;
}

/* Hero visual (image column) */
.hero-visual {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
  position: relative;
  width: 100%;
  height: 400px;
  margin: 0 auto;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.hero-visual:hover img {
  transform: scale(1.08);
}

/* Sections shared */
.section {
  padding: 56px 0;
}

.section-title {
  font-size: 28px;
  margin-bottom: 16px;
  color: #0b3045;
}

/* ============================================
   HERO RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero {
    padding: 36px 0 40px !important;
  }

  .hero-inner {
    grid-template-columns: 1fr !important;
    text-align: left !important;
  }

  .hero h1 {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }

  .hero .lead {
    font-size: 14px !important;
    margin: 0 0 18px !important;
    max-width: 100% !important;
  }

  .hero-actions {
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 18px !important;
  }

  .hero-actions .cta,
  .hero-actions .ghost {
    width: 100% !important;
    justify-content: center !important;
    min-height: 44px !important;
    border-radius: 14px !important;
  }

  .hero-stats {
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 20px !important;
  }

  .hero-stats div,
  .hero-stats .stat {
    flex: 1 1 calc(50% - 8px) !important;
    min-width: 100px !important;
    padding: 10px 12px !important;
  }

  .hero-stats div strong,
  .hero-stats .stat strong {
    font-size: 20px !important;
  }

  .hero-visual {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    margin: 20px 0 0;
  }

  .section-title {
    font-size: 24px;
  }
}