:root {
  --primary: #ed3324; /* Tone đỏ cam chuẩn nhận diện thương hiệu Minh Hoàng Mobile */
  --primary-hover: #d62719;
  --primary-light: #fff5f4;
  --primary-border: #fed7d2;
  --header-bg: #ff0a00; /* Màu nền đỏ cam rực rỡ chuẩn header mhm.vn */
  --header-search-btn: #ff6b6b; /* Nút tìm kiếm đỏ cam san hô chuẩn mhm.vn */
  --secondary: #ff6b6b;
  --price-color: #ed3324;
  --text-main: #0f172a;
  --text-muted: #475569;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-subtle: #f1f5f9;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 10px;
  --font-mhm: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Be Vietnam Pro", "Plus Jakarta Sans", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Plus Jakarta Sans", "Inter", "Be Vietnam Pro", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

button, input, select, textarea {
  font-family: inherit;
}

body {
  font-family: var(--font-mhm);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.price, .sale-price, .flash-sale-price, .kpi-val, .badge-percent {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Dynamic Campaign & Countdown Strip (Hero placement) */
.campaign-strip-hero {
  background: linear-gradient(135deg, #b81a0e 0%, #ed3324 60%, #d62719 100%);
  color: #fff;
  border-radius: 12px;
  padding: 11px 18px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(237, 51, 36, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.campaign-strip-hero .campaign-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.campaign-strip-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.campaign-badge-live {
  background: #facc15;
  color: #854d0e;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  animation: pulseBadge 1.5s infinite;
}
@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.campaign-strip-title {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.countdown-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.25);
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.countdown-label {
  color: #fef08a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.countdown-digits-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fef2f1;
}
.countdown-digit {
  background: #000;
  color: #facc15;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 13.5px;
  font-weight: 900;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

/* Main Header */
.main-header {
  background: var(--header-bg, #ff0a00);
  color: #fff;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(237, 51, 36, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}
.brand-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}
.brand-badge {
  display: none !important; /* Handled smoothly inside .header-badge-slot */
}

/* ==================== FIXED SLOT: BRAND BADGE <-> CATEGORY BUTTON (NO SEARCH JITTER) ==================== */
.header-badge-slot {
  position: relative;
  width: 144px;
  min-width: 144px;
  max-width: 144px;
  height: 32px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  z-index: 210;
  overflow: visible;
}

.slot-slider-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-badge-slot.scrolled:hover .slot-slider-viewport,
.header-badge-slot.menu-open .slot-slider-viewport {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.slot-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #ffffff;
  font-family: inherit;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0 6px;
  box-sizing: border-box;
  user-select: none;
  transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s ease, color 0.2s ease;
}

/* 1. Badge "SỬA CHỮA & BẢO HÀNH": Visible at top, slides UP when scrolled */
.slot-badge {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.header-badge-slot.scrolled .slot-badge {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* 2. Button "DANH MỤC": Hidden at bottom, slides UP into frame when scrolled */
.slot-btn {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  font-size: 11.5px;
}

.header-badge-slot.scrolled .slot-btn {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.header-badge-slot.scrolled:hover .slot-btn,
.header-badge-slot.menu-open .slot-btn {
  color: #ed3324;
}

.cat-menu-icon {
  flex-shrink: 0;
}

.cat-btn-arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.header-badge-slot.scrolled:hover .cat-btn-arrow,
.header-badge-slot.menu-open .cat-btn-arrow {
  transform: rotate(180deg);
}

/* Mega Menu Popup Container */
.header-mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 840px;
  max-width: 92vw;
  height: 380px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 1000;
  overflow: hidden;
  text-align: left;
}

/* Invisible bridge so mouse moving from button to dropdown doesn't lose hover */
.header-mega-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.header-badge-slot.scrolled:hover .header-mega-menu,
.header-badge-slot.menu-open .header-mega-menu,
.header-mega-menu.is-open {
  display: flex;
  animation: headerMegaFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes headerMegaFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Left Sidebar in Mega Menu (220px) */
.header-mega-sidebar {
  width: 220px;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  height: 100%;
  overflow-y: auto;
  padding: 6px 0;
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.header-mega-sidebar::-webkit-scrollbar {
  width: 4px;
}
.header-mega-sidebar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.header-mega-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  border-left: 3px solid transparent;
}
.header-mega-item:hover,
.header-mega-item.active {
  background: #ffffff;
  color: #ed3324;
  border-left-color: #ed3324;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.hmi-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hmi-icon {
  font-size: 15px;
}
.hmi-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hmi-arrow {
  color: #94a3b8;
  font-size: 15px;
  font-weight: 700;
}
.header-mega-item:hover .hmi-arrow,
.header-mega-item.active .hmi-arrow {
  color: #ed3324;
}

/* Right Content in Mega Menu */
.header-mega-content {
  flex: 1;
  background: #ffffff;
  height: 100%;
  overflow-y: auto;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.header-mega-content::-webkit-scrollbar {
  width: 4px;
}
.header-mega-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.hmc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.hmc-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #ed3324;
  letter-spacing: -0.2px;
}
.hmc-hint {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
}
.hmc-hint:hover {
  color: #ed3324;
  text-decoration: underline;
}

.hmc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  flex: 1;
}

.hmc-col-title {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid #fee2e2;
  letter-spacing: 0.2px;
}
.hmc-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hmc-link-item {
  margin-bottom: 4px;
}
.hmc-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #475569;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.hmc-link-btn:hover {
  background: #fef2f1;
  color: #ed3324;
  font-weight: 700;
  transform: translateX(3px);
}
.hmc-badge-hot {
  font-size: 9.5px;
  background: #ef4444;
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 800;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .header-mega-menu {
    width: 680px;
  }
  .hmc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-badge-slot {
    display: none !important;
  }
}

/* Search Bar */
.search-box {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.search-input-wrapper {
  position: relative;
  width: 100%;
}
.search-input {
  width: 100%;
  padding: 10px 48px 10px 16px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  background: #fff;
  color: #111;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.search-icon-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--header-search-btn, #ff6b6b);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.search-icon-btn:hover {
  background: var(--primary, #ed3324);
}
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-height: 400px;
  overflow-y: auto;
  z-index: 200;
  display: none;
}
.search-result-item {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}
.search-result-item:hover {
  background: #fef2f1;
}

/* Header Right Group & Contact Links (Chuẩn mhm.vn) */
.header-right-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.header-contact-link:hover {
  background: rgba(255, 255, 255, 0.12);
}
.header-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-contact-meta {
  display: flex;
  flex-direction: column;
}
.contact-sub {
  font-size: 10.5px;
  opacity: 0.85;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.contact-main {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.header-btn:hover {
  background: #fff;
  color: var(--primary);
}
.btn-booking-header {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.btn-booking-header:hover {
  background: #fef2f1;
  color: var(--primary-hover);
}

/* Sub-nav / Category Pills */
.sub-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.sub-nav-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.sub-nav-inner::-webkit-scrollbar {
  display: none;
}
.nav-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-pill:hover, .nav-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Trust Bar (Cam Kết Vàng 4 Cột — Gắn liền mạch bên dưới thanh Header) */
.trust-bar-section {
  margin: 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  padding: 6px 0;
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  border-right: 1px solid #f1f5f9;
}
.trust-item:last-child {
  border-right: none;
}
.trust-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fef2f1;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.trust-info {
  display: flex;
  flex-direction: column;
}
.trust-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.25;
}
.trust-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.2;
  margin-top: 1px;
}
.nav-pill:hover, .nav-pill.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
}

/* Hero Section (3 Cột Chuẩn Điện Thoại Vui / CellphoneS) */
.hero-section {
  padding: 12px 0 16px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 240px 1fr 320px;
  gap: 16px;
  align-items: stretch;
  position: relative;
}

/* Cột 1: Menu Danh Mục Dọc Cuộn Mượt */
.category-sidebar {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 350px;
  position: relative;
  z-index: 40;
}
.sidebar-header {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border-radius: var(--radius) var(--radius) 0 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.sidebar-header svg {
  color: var(--primary);
}
.sidebar-menu-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.sidebar-menu-scroll::-webkit-scrollbar {
  width: 4px;
}
.sidebar-menu-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.sidebar-menu-scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.sidebar-item {
  display: flex;
  align-items: center;
  padding: 6.5px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  text-decoration: none;
  color: #334155;
  user-select: none;
  font-size: 12.5px;
  font-weight: 600;
}
.sidebar-item:hover, .sidebar-item.active {
  background: #fef2f1;
  color: var(--primary);
  font-weight: 700;
}
.sidebar-item .item-icon {
  font-size: 15px;
  width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  flex-shrink: 0;
}
.sidebar-item .item-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-item .item-arrow {
  font-size: 15px;
  color: #94a3b8;
  font-weight: 700;
  transition: transform 0.15s ease, color 0.15s ease;
}
.sidebar-item:hover .item-arrow, .sidebar-item.active .item-arrow {
  color: var(--primary);
  transform: translateX(3px);
}

/* MEGA MENU FLYOUT (Bay sang phải khi hover) */
.mega-menu-flyout {
  position: absolute;
  left: 100%;
  top: 0;
  width: 620px;
  height: 350px;
  background: #fff;
  z-index: 100;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 12px 6px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  border-left: 2px solid var(--primary);
  padding: 20px 24px;
  overflow-y: auto;
  display: none;
}
.mega-menu-flyout::-webkit-scrollbar {
  width: 4px;
}
.mega-menu-flyout::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.mega-menu-header {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mega-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mega-group-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid #fee2e2;
  letter-spacing: 0.3px;
}
.mega-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-link-item {
  margin-bottom: 4px;
}
.mega-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #475569;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
}
.mega-link-btn:hover {
  background: #fef2f1;
  color: var(--primary);
  font-weight: 700;
  transform: translateX(3px);
}
.mega-badge-hot {
  font-size: 9.5px;
  background: #ef4444;
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Cột 2: Slideshow Carousel Banner (Tối đa 6 ảnh, tự động chuyển 4s) */
.hero-slideshow-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: 350px;
  box-shadow: var(--shadow-md);
  background: #0f172a;
  user-select: none;
}
.slideshow-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.slideshow-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
  background: #1e293b;
}
.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.slideshow-slide:hover .slide-img {
  transform: scale(1.015);
}
.slide-caption-overlay {
  display: none; /* Keep mhm.vn banner graphics 100% clean and unobscured */
}
.slide-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #334155;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 20;
  opacity: 0.88;
}
.hero-slideshow-card:hover .slide-nav-btn {
  opacity: 1;
}
.slide-nav-btn:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: rgba(237, 51, 36, 0.25);
  box-shadow: 0 4px 14px rgba(237, 51, 36, 0.22);
  transform: translateY(-50%) scale(1.1);
}
.slide-nav-btn.prev-btn {
  left: 12px;
}
.slide-nav-btn.next-btn {
  right: 12px;
}
.slideshow-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 20;
  background: rgba(0, 0, 0, 0.28);
  padding: 4px 8px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.25s ease;
}
.dot.active {
  width: 22px;
  background: #ffffff;
}

/* Quick Finder Box */
.finder-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px;
  box-shadow: var(--shadow-md);
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.finder-card h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.finder-field {
  margin-bottom: 6px;
}
.finder-label {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 2px;
  display: block;
}
.finder-select {
  width: 100%;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-size: 12.5px;
  font-family: inherit;
  outline: none;
  background: #fff;
  color: #1e293b;
}
.finder-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(237, 51, 36, 0.1);
}
.btn-finder-search {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 8px;
  border-radius: 6px;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  margin-top: 4px;
}
.btn-finder-search:hover {
  background: var(--primary-hover);
}

/* ==================== KHUNG SALE 3D PHONG CÁCH ĐIỆN THOẠI VUI (TONE ĐỎ CAM MINH HOÀNG MOBILE) ==================== */
.flash-sale-section {
  margin-top: 48px;
  margin-bottom: 28px;
  overflow: visible;
}

.dtv-stage-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  padding-top: 16px;
}

/* 3D Top Shelf (Mặt trên bục sân khấu 3D dạng mặt phẳng vát nghiêng) */
.dtv-stage-top-shelf {
  position: relative;
  height: 48px;
  margin: 0 24px -8px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  z-index: 3;
}

.dtv-stage-top-shelf::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #b91c1c 0%, #991b1b 100%);
  border-radius: 16px 16px 0 0;
  clip-path: polygon(1.5% 0%, 98.5% 0%, 100% 100%, 0% 100%);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25);
  z-index: 1;
}

/* 3D Floating Header Pill Badge (Viên thuốc 3D nhô lên trên mép bục không bao giờ bị cắt) */
.dtv-stage-pill {
  position: relative;
  top: -10px;
  background: linear-gradient(135deg, #ff0a00 0%, #ed3324 50%, #d62719 100%);
  color: #ffffff;
  padding: 8px 28px;
  border-radius: 999px;
  border: 3px solid #ff7b6b;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  user-select: none;
  max-width: 90%;
  white-space: nowrap;
}

.dtv-pill-icon {
  font-size: 18px;
  animation: fsPulse 1.5s infinite ease-in-out;
}

.dtv-pill-text {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.dtv-pill-mascot {
  font-size: 18px;
}

@keyframes fsPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Floating Gifts on the 3D shoulders */
.dtv-stage-gift {
  position: absolute;
  top: -14px;
  font-size: 30px;
  z-index: 6;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  animation: giftFloat 3s infinite ease-in-out;
  line-height: 1;
}
.dtv-stage-gift.gift-left {
  left: 20px;
}
.dtv-stage-gift.gift-right {
  right: 20px;
  animation-delay: 1.5s;
}
@keyframes giftFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(6deg); }
}

/* Main 3D Stage Box Face (Tone đỏ cam MHM rực rỡ) */
.dtv-stage-box {
  background: linear-gradient(180deg, #ea3a18 0%, #ed3324 35%, #d82617 100%);
  border-radius: 18px;
  padding: 18px 16px 20px 16px;
  box-shadow: 0 16px 40px rgba(237, 51, 36, 0.28), 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 3px solid #ff4d36;
  position: relative;
  overflow: hidden;
}

/* Stage Controls (Tabs on left, Countdown & Arrows on right) */
.dtv-stage-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.dtv-stage-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dtv-stage-tabs::-webkit-scrollbar {
  display: none;
}

.fs-tab-btn {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.fs-tab-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}
.fs-tab-btn.active {
  background: #ffffff;
  color: #ed3324;
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dtv-stage-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.dtv-stage-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dtv-cd-label {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.dtv-cd-digits {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dtv-cd-box {
  background: #ffffff;
  color: #ed3324;
  font-size: 15px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 5px;
  min-width: 28px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.dtv-cd-colon {
  color: #ffffff;
  font-weight: 900;
  font-size: 15px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* Nav arrows column-by-column */
.fs-nav-arrows {
  display: flex;
  gap: 6px;
}
.fs-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #ed3324;
  border: none;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  line-height: 1;
}
.fs-nav-btn:hover:not(:disabled) {
  background: #fef2f1;
  transform: scale(1.1);
  color: #b81a0e;
}
.fs-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

/* Viewport and Carousel Track */
.flash-sale-viewport {
  overflow: hidden;
  position: relative;
  padding: 4px 0 0 0;
  background: transparent;
}
.flash-sale-track {
  display: flex;
  gap: 12px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Column: 1 item per column, 5 columns visible on desktop */
.fs-col {
  flex: 0 0 calc((100% - 4 * 12px) / 5);
  display: flex;
  box-sizing: border-box;
}

.fs-dtv-card {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1px solid #fee2e2;
  position: relative;
  overflow: hidden;
}
.fs-dtv-card:hover {
  border-color: #f87171;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  transform: translateY(-3px);
}

.dtv-stage-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #ed3324;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 0 0 8px 0;
  z-index: 2;
  line-height: 1.2;
}

.dtv-card-event-note {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: #475569;
  line-height: 1.45;
  min-height: 44px;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.fs-dtv-card:hover {
  border-color: #ef4444;
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.16);
}

.fs-dtv-card .fs-progress-wrap {
  margin-top: auto;
  margin-bottom: 6px;
  position: relative;
  background: #fee2e2;
  height: 16px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-dtv-card .fs-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(90deg, #ff0a00 0%, #ed3324 100%);
  border-radius: 8px;
  transition: width 0.3s;
}

.fs-dtv-card .fs-progress-label {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  letter-spacing: 0.2px;
  padding: 0 4px;
}

@media (max-width: 1200px) {
  .fs-col {
    flex: 0 0 calc((100% - 3 * 12px) / 4);
  }
}

@media (max-width: 992px) {
  .fs-col {
    flex: 0 0 calc((100% - 2 * 10px) / 3);
  }
}

@media (max-width: 640px) {
  .fs-col {
    flex: 0 0 calc((100% - 8px) / 2);
  }
  .fs-dtv-card .fs-progress-wrap {
    height: 14px;
    margin-bottom: 4px;
  }
  .fs-dtv-card .fs-progress-label {
    font-size: 8.5px;
  }
}

/* Main Content Layout */
.section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}
.section-title {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  position: relative;
  padding-left: 14px;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* Filter Bar */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filter-btn {
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--border);
  color: #334155;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Services Grid (5 Columns on Desktop) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #fca5a5;
}
.card-header-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 4px;
}
.badge-service-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 8px;
  border-radius: 4px;
}
.badge-warranty {
  font-size: 11px;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: 4px;
}
.badge-event-promo {
  width: 100%;
  font-size: 11px;
  font-weight: 800;
  color: #d62719;
  background: #fef2f1;
  border: 1px solid #fed7d2;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 4px;
  text-align: center;
}
.service-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 10px;
  min-height: 40px;
}
.service-tier-tag {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.price-box {
  background: #f8fafc;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.price-sale {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary);
}
.price-orig {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-left: 6px;
}
.price-promo-tag {
  display: block;
  font-size: 11px;
  color: #ea580c;
  font-weight: 700;
  margin-top: 3px;
}
.card-actions {
  display: flex;
  gap: 8px;
}
.btn-card-book {
  flex: 1;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}
.btn-card-book:hover {
  background: var(--primary-hover);
}
.btn-card-detail {
  background: #fff;
  border: 1px solid var(--border);
  color: #475569;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-card-detail:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

/* Transparency & Process Section */
.process-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.process-step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 16px;
  border-radius: 8px;
  position: relative;
}
.step-num {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}
.step-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.step-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

/* ==================== 10 CHI NHÁNH TẠI HẢI PHÒNG (DỄ NHÌN, DỄ ĐỌC, DỄ THAO TÁC) ==================== */
.branches-section {
  scroll-margin-top: 85px;
  margin-top: 24px;
  margin-bottom: 48px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.branch-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.branch-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.branch-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  letter-spacing: -0.3px;
}

.branch-title-bar {
  width: 4px;
  height: 22px;
  background: var(--primary);
  border-radius: 2px;
  display: inline-block;
}

.branch-section-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}

.branch-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Toolbar: District Tabs & Quick Search */
.branch-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.branch-district-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.branch-tab-btn {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 7px 15px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.branch-tab-btn:hover {
  background: #fee2e2;
  color: #ed3324;
  border-color: #fca5a5;
}

.branch-tab-btn.active {
  background: #ed3324;
  color: #ffffff;
  border-color: #ed3324;
  box-shadow: 0 3px 10px rgba(237, 51, 36, 0.28);
}

.branch-tab-count {
  font-size: 11.5px;
  opacity: 0.85;
  background: rgba(0, 0, 0, 0.08);
  padding: 1px 6px;
  border-radius: 10px;
}

.branch-tab-btn.active .branch-tab-count {
  background: rgba(255, 255, 255, 0.25);
}

/* Search bar */
.branch-search-box {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.branch-search-input {
  width: 100%;
  padding: 9px 38px 9px 36px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13.5px;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.branch-search-input:focus {
  background: #fff;
  border-color: #ed3324;
  box-shadow: 0 0 0 3px rgba(237, 51, 36, 0.12);
}

.branch-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #94a3b8;
  pointer-events: none;
}

.branch-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 2px 6px;
}

.branch-search-clear:hover {
  color: #0f172a;
}

/* Branches Grid: 2 balanced columns on desktop (5x2 = 10, perfectly filled!) */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 860px) {
  .branches-grid {
    grid-template-columns: 1fr;
  }
}

/* Branch Card */
.branch-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.branch-card:hover {
  border-color: #fca5a5;
  box-shadow: 0 8px 24px rgba(237, 51, 36, 0.08);
  transform: translateY(-2px);
}

/* Card Header */
.branch-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.branch-badge-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.branch-badge-cs {
  background: #fee2e2;
  color: #ed3324;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.branch-district-pill {
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.branch-status-open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

/* Card Body */
.branch-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.branch-street-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.branch-full-addr {
  font-size: 13px;
  color: #475569;
  line-height: 1.4;
}

.branch-meta-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
  padding-top: 6px;
  border-top: 1px dashed #e2e8f0;
}

/* Google Review Widget Below Address */
.branch-google-review {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px 10px;
  margin: 2px 0 6px 0;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  width: fit-content;
  max-width: 100%;
}

.branch-google-review:hover {
  background: #f8fafc;
  border-color: #3b82f6;
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.15);
  transform: translateY(-1px);
}

.google-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.google-rating-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: #0f172a;
}

.google-score {
  font-weight: 800;
  color: #0f172a;
  font-size: 13px;
}

.google-stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: -0.5px;
  display: inline-block;
  line-height: 1;
}

.google-count {
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.google-view-action {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  padding-left: 8px;
  border-left: 1px solid #e2e8f0;
  transition: color 0.18s;
  white-space: nowrap;
}

.branch-google-review:hover .google-view-action {
  color: #1d4ed8;
  text-decoration: underline;
}

.branch-meta-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #475569;
}

.branch-meta-row strong {
  color: #0f172a;
}

.branch-meta-link {
  color: #ed3324;
  font-weight: 700;
  text-decoration: none;
}

.branch-meta-link:hover {
  text-decoration: underline;
}

.branch-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.amenity-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Action Buttons */
.branch-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 6px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

@media (max-width: 520px) {
  .branch-card-actions {
    grid-template-columns: 1fr 1fr;
  }
  .btn-branch-book {
    grid-column: 1 / -1;
  }
}

.btn-branch-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-branch-map:hover {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 3px 8px rgba(29, 78, 216, 0.25);
}

.btn-branch-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-branch-call:hover {
  background: #15803d;
  color: #ffffff;
  border-color: #15803d;
  box-shadow: 0 3px 8px rgba(21, 128, 61, 0.25);
}

.btn-branch-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #ed3324;
  color: #ffffff;
  border: 1px solid #ed3324;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-branch-book:hover {
  background: #d62719;
  border-color: #d62719;
  box-shadow: 0 3px 10px rgba(237, 51, 36, 0.35);
}

.branch-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
}

.branch-no-results h4 {
  font-size: 16px;
  font-weight: 700;
  color: #334155;
  margin: 0 0 6px 0;
}

.branch-no-results p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 14px 0;
}


/* Footer */
.main-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 32px 0 20px 0;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* Footer Branch Pill Button */
.footer-branch-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(237, 51, 36, 0.16);
  border: 1.5px solid rgba(248, 113, 113, 0.45);
  padding: 8px 16px;
  border-radius: 24px;
  color: #fed7d2;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-branch-pill-btn:hover {
  background: #ed3324;
  border-color: #ed3324;
  color: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(237, 51, 36, 0.4);
}

.footer-branch-pill-btn .fbp-icon {
  font-size: 15px;
}

.footer-branch-pill-btn .fbp-text {
  letter-spacing: -0.1px;
}

.footer-branch-pill-btn .fbp-arrow {
  color: #f87171;
  font-weight: 800;
  transition: transform 0.2s;
}

.footer-branch-pill-btn:hover .fbp-arrow {
  color: #ffffff;
  transform: translateX(4px);
}
/* ==================== MOBILE SPECIFIC COMPONENTS ==================== */
/* 1. Hamburger button on header */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  line-height: 1;
}
.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* 2. Mobile Drawer Menu (A1) */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(3px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 84%;
  max-width: 330px;
  background: #ffffff;
  z-index: 1510;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 10px 0 25px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}
.mobile-drawer.active {
  transform: translateX(0);
}
.mobile-drawer-header {
  background: #0f172a;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--primary);
}
.mobile-drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}
.mobile-drawer-hotline {
  background: #fef2f1;
  border-bottom: 1px solid #fee2e2;
  padding: 10px 16px;
}
.drawer-hotline-btn {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: block;
}
.mobile-drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px 30px 16px;
}
.drawer-section-title {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.mobile-cat-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.15s ease;
}
.mobile-cat-item:hover, .mobile-cat-item:active {
  background: #fef2f1;
  border-color: #fed7d2;
  color: var(--primary);
  transform: translateX(3px);
}
.mobile-cat-item .cat-icon {
  font-size: 16px;
  margin-right: 8px;
}
.mobile-cat-item .cat-text {
  flex: 1;
}
.mobile-cat-item .cat-arrow {
  color: #94a3b8;
  font-weight: 800;
}
.mobile-quick-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav-link {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}
.mobile-nav-link:hover, .mobile-nav-link:active {
  background: var(--primary);
  color: #fff;
}

/* 3. Bottom Sheet Picker (A2) */
.bottom-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(2px);
  z-index: 1600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.bottom-sheet-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 75vh;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  z-index: 1610;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}
.bottom-sheet.active {
  transform: translateY(0);
}
.bottom-sheet-handle {
  width: 44px;
  height: 5px;
  background: #cbd5e1;
  border-radius: 99px;
  margin: 10px auto 2px auto;
  flex-shrink: 0;
}
.bottom-sheet-header {
  padding: 10px 18px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}
.bottom-sheet-close {
  background: #f1f5f9;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}
.bottom-sheet-body {
  padding: 14px 16px 26px 16px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.sheet-model-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sheet-model-card:hover, .sheet-model-card:active {
  background: #fef2f1;
  border-color: var(--primary);
  transform: scale(1.02);
}
.sheet-model-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.sheet-model-meta {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

/* ==================== 4. FLOATING ACTION BUTTONS (GÓC PHẢI) ==================== */
.mhm-fab-group {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mhm-fab-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mhm-fab-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
}

.mhm-fab-btn:active {
  transform: scale(0.92);
}

/* 1. Nút Scroll to Top (Đỏ) - Mặc định ẩn trên đầu trang, hiện khi cuộn */
.mhm-fab-scrolltop {
  background: #ed3324;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.28s ease, background 0.2s ease;
}

.mhm-fab-scrolltop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mhm-fab-scrolltop:hover {
  background: #d62719;
}

/* 2. Nút Gọi Hotline (Đỏ) - Luôn hiển thị */
.mhm-fab-phone {
  background: #ed3324;
  color: #ffffff;
}

.mhm-fab-phone:hover {
  background: #d62719;
}

.mhm-fab-phone .mhm-fab-pulse {
  position: absolute;
  inset: -4px;
  border: 2px solid #ed3324;
  border-radius: 50%;
  animation: mhmPhonePulse 2.2s infinite;
  opacity: 0;
  pointer-events: none;
}

@keyframes mhmPhonePulse {
  0% { transform: scale(0.9); opacity: 0.85; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* 3. Nút Chat Zalo (Xanh Zalo) - Luôn hiển thị */
.mhm-fab-zalo {
  background: #0068ff;
  color: #ffffff;
  overflow: hidden;
  padding: 0;
}

.mhm-fab-zalo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@media (max-width: 768px) {
  .mhm-fab-group {
    right: 14px;
    bottom: 20px;
    gap: 10px;
  }
  .mhm-fab-group.with-bottom-bar,
  body:has(.pdp-mobile-sticky-bar) .mhm-fab-group {
    bottom: 74px;
  }
  .mhm-fab-btn {
    width: 44px;
    height: 44px;
  }
  .mhm-fab-scrolltop svg,
  .mhm-fab-phone svg {
    width: 20px;
    height: 20px;
  }
}

/* ==================== RESPONSIVE MEDIA QUERIES ==================== */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 220px 1fr;
  }
  .finder-card {
    grid-column: 1 / -1;
    height: auto;
  }
  .mega-menu-flyout {
    width: 500px;
  }
}
@media (max-width: 1024px) {
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fs-col {
    flex: 0 0 calc((100% - 2 * 10px) / 3);
  }
}
@media (max-width: 768px) {
  /* Header */
  .mobile-menu-btn {
    display: flex;
  }
  .header-inner {
    flex-wrap: wrap;
    padding: 8px 12px;
    gap: 8px;
  }
  .brand-logo {
    height: 34px;
  }
  .brand-badge {
    display: none;
  }
  .search-box {
    order: 3;
    width: 100%;
    margin-top: 4px;
  }
  .search-input {
    font-size: 13px;
    padding: 8px 36px 8px 12px;
  }
  .header-right-group {
    gap: 6px;
  }
  .header-contact-link .header-contact-meta {
    display: none;
  }
  .header-contact-link {
    padding: 6px;
  }
  .header-actions {
    display: none; /* Moved to FAB and Drawer for maximum clean view */
  }

  /* Trust Bar: Gắn sát dưới thanh ngang Header, nền trắng, 4 mục nhỏ gọn vừa đọc */
  .trust-bar-section {
    margin: 0;
    padding: 5px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
  }
  .trust-bar-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px 8px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .trust-item {
    border-right: none;
    padding: 2px 0;
    gap: 6px;
    align-items: center;
  }
  .trust-icon-box {
    width: 22px;
    height: 22px;
    font-size: 12px;
    border-radius: 5px;
    background: #fef2f1;
    flex-shrink: 0;
  }
  .trust-title {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .trust-desc {
    display: none;
  }

  /* Hero Section: Gọn gàng lên trên */
  .hero-section {
    padding: 10px 0 14px 0;
  }

  /* Campaign Strip */
  .campaign-strip-hero .campaign-strip-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 8px 12px;
  }
  .campaign-title-group {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
  .countdown-timer-box {
    justify-content: center;
  }

  /* Hero Section: A1 & A4 implementation */
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto;
  }
  /* Hide sidebar on mobile (grouped into Hamburger Menu ☰) */
  .category-sidebar {
    display: none !important;
  }
  .mega-menu-flyout {
    display: none !important;
  }
  /* Slideshow takes top spot with 200px height */
  .hero-slideshow-card {
    height: 200px;
    width: 100%;
    border-radius: 10px;
  }
  .slide-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .slide-nav-btn.prev-btn {
    left: 8px;
  }
  .slide-nav-btn.next-btn {
    right: 8px;
  }
  .slideshow-dots {
    bottom: 8px;
    padding: 3px 6px;
  }

  /* Price Finder full width below banner */
  .finder-card {
    height: auto;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
  }

  /* Flash Sale 3D Stage Section (Mobile) */
  .flash-sale-section {
    margin-top: 24px;
    margin-bottom: 20px;
  }
  .dtv-stage-top-shelf {
    height: 32px;
    margin: 0 10px;
  }
  .dtv-stage-pill {
    top: -12px;
    padding: 5px 16px;
    gap: 6px;
  }
  .dtv-pill-icon,
  .dtv-pill-mascot {
    font-size: 14px;
  }
  .dtv-pill-text {
    font-size: 12.5px;
  }
  .dtv-stage-gift {
    font-size: 18px;
    top: -6px;
  }
  .dtv-stage-gift.gift-left {
    left: 10px;
  }
  .dtv-stage-gift.gift-right {
    right: 10px;
  }
  .dtv-stage-box {
    padding: 12px 8px 14px 8px;
    border-radius: 14px;
    border-width: 2px;
  }
  .dtv-stage-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 12px;
  }
  .dtv-stage-tabs {
    width: 100%;
    padding-bottom: 2px;
  }
  .fs-tab-btn {
    font-size: 11.5px;
    padding: 5px 12px;
  }
  .dtv-stage-meta {
    width: 100%;
    justify-content: space-between;
  }
  .dtv-cd-label {
    font-size: 11px;
  }
  .dtv-cd-box {
    font-size: 12.5px;
    min-width: 24px;
    padding: 1px 5px;
  }
  .dtv-card-event-note {
    font-size: 9.5px;
    padding: 3px 5px;
    margin-bottom: 4px;
  }
  .flash-sale-viewport {
    padding: 0;
  }
  .flash-sale-track {
    gap: 8px;
  }
  .fs-col {
    flex: 0 0 calc((100% - 8px) / 2);
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .service-card {
    padding: 12px;
  }

  /* Modals: bottom-sheet style on phone */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal-box {
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    width: 100%;
    max-width: 100%;
  }


  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .bottom-sheet-body {
    grid-template-columns: 1fr;
  }
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-col p {
  line-height: 1.6;
  margin-bottom: 8px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 6px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}
.modal-box {
  background: #fff;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.modal-header {
  background: var(--primary);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-title {
  font-size: 16px;
  font-weight: 800;
}
.modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.modal-body {
  padding: 20px;
  overflow-y: auto;
}
.form-group {
  margin-bottom: 14px;
}
.form-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
  display: block;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 9px 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(237, 51, 36, 0.1);
}
.form-hint {
  font-size: 11px;
  color: #64748b;
  margin-top: 3px;
}
.modal-footer {
  padding: 12px 20px;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.btn-submit-booking {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.btn-submit-booking:hover {
  background: var(--primary-hover);
}

/* Lucky Reward Box */
.lucky-reward-card {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px dashed #f59e0b;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  margin: 16px 0;
}
.lucky-reward-icon {
  font-size: 36px;
  margin-bottom: 6px;
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.lucky-reward-title {
  font-size: 15px;
  font-weight: 900;
  color: #92400e;
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  font-weight: 600;
  z-index: 2000;
  display: none;
}

/* ==================== PRODUCT DETAIL PAGE (PDP) STYLES ==================== */
.pdp-body {
  background-color: #f1f5f9;
  color: #1e293b;
  font-family: var(--font-mhm);
  margin: 0;
  padding-bottom: 70px;
}

/* Breadcrumbs */
.pdp-breadcrumb-wrap {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 0;
  margin-bottom: 20px;
}
.pdp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}
.pdp-breadcrumb a {
  color: #64748b;
  text-decoration: none;
}
.pdp-breadcrumb a:hover {
  color: #ed3324;
}
.pdp-breadcrumb span {
  color: #94a3b8;
}
.pdp-breadcrumb li.active {
  color: #0f172a;
  font-weight: 600;
}

/* PDP Hero 2-Column Grid */
.pdp-hero-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 24px;
  align-items: start;
}
.pdp-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
}

/* Left Column: Image & Badges */
.pdp-image-card {
  position: relative;
  text-align: center;
  padding: 24px 20px;
}
.pdp-badge-promo {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #ef4444 0%, #d62719 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
  letter-spacing: 0.5px;
  z-index: 2;
}
.pdp-image-container {
  width: 100%;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #f8fafc 40%, #edf2f7 100%);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid #f1f5f9;
}
.pdp-main-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.06));
}
.pdp-image-card:hover .pdp-main-img {
  transform: scale(1.04);
}
.pdp-image-caption {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
}
.pdp-caption-tag {
  background: #f8fafc;
  color: #047857;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Commitments Box */
.pdp-commit-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 10px;
}
.pdp-commit-header h4 {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.pdp-commit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pdp-commit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
}
.pdp-commit-list li strong {
  display: block;
  color: #1e293b;
  font-size: 13px;
  margin-bottom: 2px;
}
.pdp-commit-list li span {
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.4;
}
.pdp-commit-list .c-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Gift Card */
.pdp-gift-card {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
}
.pdp-gift-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #b45309;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pdp-gift-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #78350f;
}

/* Right Column: Title & Info */
.pdp-title-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.badge-model {
  background: #f1f5f9;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.pdp-title {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 10px 0;
}
.pdp-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.pdp-score {
  font-weight: 800;
  color: #d97706;
}
.pdp-reviews-count {
  color: #64748b;
  margin-left: 4px;
}
.pdp-code {
  color: #94a3b8;
  font-weight: 600;
  font-size: 12px;
}
.pdp-divider {
  border: none;
  border-top: 1px solid #f1f5f9;
  margin: 16px 0;
}

/* Variant Selector (Core Điện Thoại Vui) */
.pdp-variants-section {
  margin-bottom: 20px;
}
.pdp-variants-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 6px;
}
.pdp-variants-title span {
  font-size: 13.5px;
  font-weight: 800;
  color: #1e293b;
}
.pdp-variants-title small {
  font-size: 12px;
  color: #64748b;
}
.pdp-variants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.pdp-variant-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  outline: none;
}
.pdp-variant-btn:hover {
  border-color: #ed3324;
  background: #fffafa;
}
.pdp-variant-btn.active {
  border-color: #ed3324;
  background: #fef2f1;
  box-shadow: 0 0 0 2px rgba(237, 51, 36, 0.15);
}
.pdp-variant-btn .v-check {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ed3324;
  color: #ffffff;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.pdp-variant-btn .v-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  line-height: 1.3;
}
.pdp-variant-btn.active .v-name {
  color: #ed3324;
}
.pdp-variant-btn .v-price {
  font-size: 14px;
  font-weight: 800;
  color: #ed3324;
}
.pdp-variant-btn .v-warranty {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

/* Price Showcase Box */
.pdp-price-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.pdp-price-sale {
  font-size: 28px;
  font-weight: 900;
  color: #ed3324;
}
.pdp-price-orig {
  font-size: 16px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}
.pdp-discount-tag {
  background: #fee2e2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}
.pdp-price-note {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
}

/* Specifications Grid */
.pdp-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.pdp-spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 6px;
}
.pdp-spec-item .spec-icon {
  font-size: 20px;
}
.spec-label {
  font-size: 11.5px;
  color: #64748b;
}
.spec-value {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

/* Action Buttons */
.pdp-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.btn-pdp-book {
  background: linear-gradient(135deg, #ed3324 0%, #d62719 100%);
  color: #ffffff;
  border: none;
  padding: 16px 20px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 15px rgba(237, 51, 36, 0.35);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.btn-pdp-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 51, 36, 0.45);
}
.btn-pdp-book-text {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.btn-pdp-book-sub {
  font-size: 12px;
  opacity: 0.9;
  font-weight: 500;
}
.pdp-actions-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.btn-pdp-call, .btn-pdp-zalo {
  padding: 12px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-pdp-call {
  background: #ffffff;
  color: #ed3324;
  border: 1.5px solid #ed3324;
}
.btn-pdp-call:hover {
  background: #fef2f1;
}
.btn-pdp-zalo {
  background: #0068ff;
  color: #ffffff;
  border: 1.5px solid #0068ff;
}
.btn-pdp-zalo:hover {
  background: #0054cc;
}
.pdp-branch-hint {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  background: #f1f5f9;
  padding: 10px 14px;
  border-radius: 6px;
}

/* Sections below Hero */
.pdp-section {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.pdp-section-header {
  margin-bottom: 20px;
}
.pdp-section-title {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 6px 0;
}
.pdp-section-sub {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}

/* Comparison Table */
.pdp-table-wrap {
  overflow-x: auto;
}
.pdp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.pdp-table th, .pdp-table td {
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  text-align: left;
}
.pdp-table th {
  background: #f8fafc;
  color: #1e293b;
  font-weight: 800;
}
.pdp-table .highlight-col {
  background: #fff1f2;
  border-left: 2px solid #ed3324;
  border-right: 2px solid #ed3324;
  font-weight: 600;
  color: #b81a0e;
}

/* 4-Step Process */
.pdp-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pdp-process-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px;
  position: relative;
}
.pdp-process-card .process-num {
  font-size: 32px;
  font-weight: 900;
  color: #cbd5e1;
  position: absolute;
  top: 12px;
  right: 14px;
  line-height: 1;
}
.pdp-process-card .process-icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.process-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}
.process-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Related Services */
.pdp-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.pdp-related-card {
  display: flex;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  align-items: center;
  transition: all 0.2s;
}
.pdp-related-card:hover {
  border-color: #ed3324;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.pdp-related-card .rel-thumb {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pdp-related-card .rel-thumb img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}
.pdp-related-card .rel-info {
  flex: 1;
  min-width: 0;
}
.rel-type {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}
.rel-title {
  margin: 2px 0 6px 0;
  font-size: 12.5px;
  line-height: 1.35;
}
.rel-title a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 700;
}
.rel-title a:hover {
  color: #ed3324;
}
.rel-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rel-price {
  font-size: 13.5px;
  font-weight: 800;
  color: #ed3324;
}
.rel-btn {
  font-size: 11.5px;
  color: #ed3324;
  text-decoration: none;
  font-weight: 700;
}

/* FAQ Accordion */
.pdp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdp-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
}
.pdp-faq-q {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.pdp-faq-q:hover {
  background: #f1f5f9;
}
.faq-toggle {
  font-size: 11px;
  color: #64748b;
  transition: transform 0.2s;
}
.pdp-faq-item.open .faq-toggle {
  transform: rotate(180deg);
}
.pdp-faq-a {
  padding: 0 18px 14px 18px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  display: none;
}
.pdp-faq-item.open .pdp-faq-a {
  display: block;
}

/* Mobile Sticky Bottom Action Bar */
.pdp-mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  padding: 8px 12px;
  z-index: 1000;
  align-items: center;
  gap: 8px;
}
.pdp-msb-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 10px;
  min-width: 58px;
  cursor: pointer;
  text-decoration: none;
  color: #334155;
}
.pdp-msb-icon {
  font-size: 16px;
}
.pdp-msb-label {
  font-size: 10px;
  font-weight: 700;
  margin-top: 2px;
}
.pdp-msb-book {
  flex: 1;
  background: linear-gradient(135deg, #ed3324 0%, #d62719 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(237, 51, 36, 0.3);
}
.pdp-msb-book-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.pdp-msb-book-price {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.95;
}

/* Responsive adjustments for PDP */
@media (max-width: 992px) {
  .pdp-hero-grid {
    grid-template-columns: 1fr;
  }
  .pdp-image-container {
    height: 240px;
  }
  .pdp-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .pdp-mobile-sticky-bar {
    display: flex;
  }
  .pdp-title {
    font-size: 19px;
  }
  .pdp-price-sale {
    font-size: 24px;
  }
  .pdp-specs-grid {
    grid-template-columns: 1fr;
  }
  .pdp-process-grid {
    grid-template-columns: 1fr;
  }
  .pdp-actions-sub {
    grid-template-columns: 1fr;
  }
}

/* ==================== ĐIỆN THOẠI VUI STYLE CATEGORY SHOWCASE (5x2) ==================== */
.category-showcase-section {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  margin-top: 28px;
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.showcase-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.showcase-icon {
  font-size: 24px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fef2f1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(237, 51, 36, 0.08);
}

.showcase-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  line-height: 1.25;
}

.showcase-subtitle {
  display: none !important;
}

.showcase-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.showcase-subtags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.showcase-tag-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.showcase-tag-btn:hover, .showcase-tag-btn.active {
  background: #fef2f1;
  border-color: #fca5a5;
  color: #ed3324;
}

.btn-showcase-viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #ed3324;
  border: 1.5px solid #ed3324;
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-showcase-viewall:hover {
  background: #ed3324;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(237, 51, 36, 0.25);
  transform: translateY(-1px);
}

/* 5x2 Services Grid */
.services-grid-5x2 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

/* ĐIỆN THOẠI VUI STANDARD PRODUCT CARD (SQUARE 1:1 IMAGE & COMPACT PROFILE) */
.dtv-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  cursor: pointer;
  height: 100%;
}

.dtv-card:hover {
  border-color: #f87171;
  box-shadow: 0 10px 24px rgba(237, 51, 36, 0.12);
  transform: translateY(-3px);
}

/* Image container with 1:1 square aspect ratio like Dien Thoai Vui */
.dtv-card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border-bottom: 1px solid #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 12px;
  box-sizing: border-box;
}

.dtv-card-img-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.dtv-card:hover .dtv-card-img-wrap img {
  transform: scale(1.06);
}

.dtv-badge-discount {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #ed3324;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(237, 51, 36, 0.3);
  z-index: 2;
  line-height: 1.2;
}

.dtv-badge-t3nl {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ea580c;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
  line-height: 1.2;
}

.dtv-card-body {
  padding: 10px 10px 6px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dtv-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  min-height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0 0 6px 0;
}

.dtv-card-title a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 700;
}

.dtv-card-title a:hover {
  color: #ed3324;
}

.dtv-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.dtv-price-sale {
  font-size: 16px;
  font-weight: 700;
  color: #d70018;
  line-height: 1.2;
}

.dtv-price-orig {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
  text-decoration: line-through;
}

.dtv-gift-tag {
  font-size: 11.5px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px dashed #fca5a5;
  padding: 3px 6px;
  border-radius: 4px;
  font-weight: 500;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dtv-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-size: 11.5px;
  color: #475569;
  margin-top: auto;
  margin-bottom: 6px;
}

.dtv-warranty-badge {
  font-size: 11.5px;
  font-weight: 600;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.dtv-rating-tag {
  font-size: 11.5px;
  font-weight: 500;
  color: #b45309;
  white-space: nowrap;
}

.dtv-card-footer {
  padding: 0 10px 10px 10px;
  display: flex;
  gap: 6px;
}

.btn-dtv-detail {
  flex: 1;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-dtv-detail:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #ed3324;
}

.btn-dtv-book {
  flex: 1.3;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  background: #ed3324;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 2px 6px rgba(237, 51, 36, 0.25);
}

.btn-dtv-book:hover {
  background: #dc2626;
  box-shadow: 0 4px 10px rgba(237, 51, 36, 0.35);
}

/* Responsive Grid Breakdown for 5x2 & Services Grid */
@media (max-width: 1200px) {
  .services-grid,
  .services-grid-5x2 {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}
@media (max-width: 992px) {
  .services-grid,
  .services-grid-5x2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .category-showcase-section {
    padding: 16px 14px;
  }
  .showcase-title {
    font-size: 15px;
  }
  .showcase-icon {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}
@media (max-width: 640px) {
  .services-grid,
  .services-grid-5x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .dtv-card {
    border-radius: 8px;
  }
  .dtv-card-img-wrap {
    aspect-ratio: 1 / 1;
    padding: 8px;
  }
  .dtv-card-body {
    padding: 8px 8px 4px 8px;
  }
  .dtv-card-footer {
    padding: 0 8px 8px 8px;
    gap: 4px;
  }
  .dtv-card-title {
    font-size: 12px;
    height: 32px;
    -webkit-line-clamp: 2;
    margin-bottom: 4px;
  }
  .dtv-price-sale {
    font-size: 14px;
  }
  .dtv-gift-tag {
    font-size: 10px;
    padding: 2px 4px;
    margin-bottom: 4px;
  }
  .dtv-meta-row {
    font-size: 10px;
    margin-bottom: 4px;
  }
  .dtv-warranty-badge {
    font-size: 10px;
    padding: 1px 4px;
  }
  .btn-dtv-detail,
  .btn-dtv-book {
    height: 28px;
    font-size: 11px;
    padding: 0 4px;
  }
  .showcase-actions {
    width: 100%;
    justify-content: space-between;
  }
  .showcase-subtags {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
  }
  .showcase-tag-btn {
    white-space: nowrap;
  }
  .btn-showcase-viewall {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }
}

/* ==================== DEDICATED CATEGORY PAGE STYLES ==================== */
.cat-page-hero {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.cat-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.cat-hero-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cat-hero-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fef2f1;
  border: 1px solid #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.cat-hero-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.3px;
}

.cat-hero-desc {
  display: none !important;
}

/* Category Quick Switcher */
.cat-switcher-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 18px;
  -webkit-overflow-scrolling: touch;
}

.cat-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.15s ease;
}

.cat-switcher-btn:hover {
  background: #f1f5f9;
  color: #ed3324;
  border-color: #cbd5e1;
}

.cat-switcher-btn.active {
  background: #ed3324;
  color: #ffffff;
  border-color: #ed3324;
  box-shadow: 0 2px 6px rgba(237, 51, 36, 0.25);
}

/* Multi-Faceted Filter Box */
.cat-filter-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.cat-filter-row {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed #f1f5f9;
  gap: 16px;
}

.cat-filter-row:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}

.cat-filter-label {
  min-width: 120px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  padding-top: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.cat-filter-pill {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.cat-filter-pill:hover {
  border-color: #cbd5e1;
  color: #0f172a;
  background: #f1f5f9;
}

.cat-filter-pill.active {
  background: #fef2f1;
  color: #ed3324;
  border-color: #ed3324;
  font-weight: 700;
}

.cat-select-inline {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  font-size: 12.5px;
  color: #334155;
  background: #fff;
  outline: none;
  cursor: pointer;
}

.cat-select-inline:focus {
  border-color: #ed3324;
}

/* Category Toolbar (Search + Active Filters + Sort) */
.cat-toolbar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.cat-search-inline-wrap {
  position: relative;
  width: 300px;
  max-width: 100%;
}

.cat-search-inline {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  outline: none;
  transition: all 0.15s;
}

.cat-search-inline:focus {
  border-color: #ed3324;
  box-shadow: 0 0 0 3px rgba(237, 51, 36, 0.08);
}

.cat-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.cat-active-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fee2e2;
  color: #d62719;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.cat-chip-remove {
  cursor: pointer;
  font-weight: 900;
  margin-left: 2px;
  opacity: 0.7;
}

.cat-chip-remove:hover {
  opacity: 1;
}

.btn-cat-clear-all {
  font-size: 12px;
  font-weight: 600;
  color: #ed3324;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 6px;
}

.cat-sort-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.cat-sort-select {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
  cursor: pointer;
  outline: none;
}

.cat-sort-select:focus {
  border-color: #ed3324;
}

/* Category Results Header */
.cat-results-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cat-results-count {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.cat-results-count span {
  color: #ed3324;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .cat-hero-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .cat-filter-row {
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
  }
  .cat-filter-label {
    min-width: auto;
    padding-top: 0;
  }
  .cat-toolbar-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .cat-search-inline-wrap {
    width: 100%;
  }
  .cat-sort-group {
    justify-content: space-between;
    width: 100%;
  }
}

/* Mobile Horizontal Scroll for Filter Rows to save vertical height */
@media (max-width: 768px) {
  .cat-filter-card {
    padding: 12px 14px;
  }
  .cat-filter-row {
    flex-direction: column;
    gap: 6px;
    padding: 6px 0;
  }
  .cat-filter-label {
    font-size: 12px;
  }
  .cat-filter-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    width: 100%;
    scrollbar-width: none;
  }
  .cat-filter-pills::-webkit-scrollbar {
    display: none;
  }
  .cat-filter-pill {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 5px 12px;
    font-size: 12px;
  }
  .cat-page-hero {
    padding: 16px 14px;
  }
  .cat-hero-title {
    font-size: 16px;
  }
  .cat-hero-icon {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }
}

/* ==================== DROPDOWN FILTER POPOVER SYSTEM ==================== */
.dropdown-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  position: relative;
  z-index: 50;
}

.filter-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.filter-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  white-space: nowrap;
}

.filter-dropdown-trigger:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.filter-dropdown-trigger.open {
  border-color: #ed3324;
  box-shadow: 0 0 0 3px rgba(237, 51, 36, 0.12);
}

.filter-dropdown-trigger.active {
  border-color: #ed3324;
  color: #ed3324;
  background: #fef2f1;
  font-weight: 700;
}

.filter-dropdown-trigger .trigger-arrow {
  font-size: 11px;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.filter-dropdown-trigger.open .trigger-arrow {
  transform: rotate(180deg);
  color: #ed3324;
}

.filter-quick-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #ed3324;
  background: #fff5f4;
  border: 1px solid #fed7d2;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.filter-quick-toggle:hover {
  background: #fee2e2;
}

.filter-quick-toggle.active {
  background: #ed3324;
  color: #ffffff;
  border-color: #ed3324;
}

/* Floating Popover Container */
.filter-dropdown-popover {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  max-width: 520px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0,0,0,0.05);
  z-index: 100;
  overflow: hidden;
  animation: popoverFadeIn 0.15s ease-out;
}

.filter-dropdown-popover.popover-wide {
  min-width: 440px;
  max-width: 580px;
}

@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.popover-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: -0.2px;
}

.popover-close {
  background: none;
  border: none;
  font-size: 20px;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
}

.popover-close:hover {
  color: #0f172a;
}

.popover-body {
  padding: 14px 16px;
  max-height: 380px;
  overflow-y: auto;
}

.popover-section-label {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.popover-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.popover-pill {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.popover-pill:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #0f172a;
}

.popover-pill.active {
  background: #ed3324;
  color: #ffffff;
  border-color: #ed3324;
  font-weight: 700;
}

/* Search Box inside Popover */
.popover-search-box {
  position: relative;
  margin-bottom: 12px;
}

.popover-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #94a3b8;
}

.popover-search-input {
  width: 100%;
  padding: 8px 12px 8px 30px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 12.5px;
  outline: none;
  background: #fff;
}

.popover-search-input:focus {
  border-color: #ed3324;
  box-shadow: 0 0 0 2px rgba(237, 51, 36, 0.1);
}

.popover-models-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 8px;
  background: #fafafa;
}

.popover-model-item {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #334155;
  background: #fff;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.1s;
}

.popover-model-item:hover {
  background: #f1f5f9;
  color: #ed3324;
  border-color: #fca5a5;
}

.popover-model-item.active {
  background: #fef2f1;
  color: #ed3324;
  font-weight: 700;
  border-color: #ed3324;
}

/* Mobile Popover adjustments */
@media (max-width: 768px) {
  .dropdown-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    gap: 8px;
    scrollbar-width: none;
  }
  .dropdown-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-dropdown-trigger {
    padding: 6px 12px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .filter-quick-toggle {
    padding: 6px 12px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .filter-dropdown-popover,
  .filter-dropdown-popover.popover-wide {
    position: fixed;
    top: auto;
    bottom: 60px;
    left: 10px;
    right: 10px;
    min-width: auto;
    max-width: none;
    max-height: 70vh;
    border-radius: 16px;
    z-index: 1000;
  }
  .popover-models-list {
    grid-template-columns: 1fr;
  }
}

/* ==================== 5. STICKY BOTTOM BAR (MOBILE ONLY) ==================== */
.mhm-sticky-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .mhm-sticky-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    z-index: 9998;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08);
    padding: 6px 10px;
    gap: 8px;
    align-items: center;
  }
  body {
    padding-bottom: 60px !important;
  }
  .mhm-fab-group {
    bottom: 70px !important;
    right: 14px !important;
  }
  .sbb-item {
    flex: 1;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    padding: 0 6px;
    box-sizing: border-box;
    transition: transform 0.15s ease, opacity 0.15s ease;
  }
  .sbb-item:active {
    transform: scale(0.96);
  }
  .sbb-call {
    background: #f8fafc;
    color: #0f172a;
    border: 1.5px solid #cbd5e1;
  }
  .sbb-zalo {
    background: #0284c7;
    color: #ffffff;
  }
  .sbb-book {
    flex: 1.35;
    background: #ed3324;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(237, 51, 36, 0.35);
    padding: 0 10px;
    gap: 8px;
  }
  .sbb-book .sbb-book-icon {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .sbb-book-text {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
    text-align: center;
  }
  .sbb-book-title {
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: -0.2px;
  }
  .sbb-book-sub {
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0.95;
    letter-spacing: -0.2px;
  }
  @media (max-width: 350px) {
    .mhm-sticky-bottom-bar {
      padding: 4px 6px;
      gap: 5px;
    }
    .sbb-item {
      font-size: 11px;
      gap: 4px;
      padding: 0 4px;
    }
    .sbb-book-title {
      font-size: 11.5px;
    }
    .sbb-book-sub {
      font-size: 10px;
    }
  }
}

